Changeset 101 in pacpusframework for trunk


Ignore:
Timestamp:
Jun 3, 2013, 3:02:22 PM (11 years ago)
Author:
DHERBOMEZ Gérald
Message:

Modifications of the build system.
Improvement of the FindPacpus.cmake package.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/FindPacpus.cmake

    r91 r101  
    1414    if(NOT ENV{PACPUS_ROOT} STREQUAL "")
    1515        set(PACPUS_ROOT $ENV{PACPUS_ROOT})
     16                string (REPLACE "\\" "/" PACPUS_ROOT ${PACPUS_ROOT})
    1617        message(STATUS "Detected PACPUS_ROOT in environment, set to '${PACPUS_ROOT}'")
    1718    else()
     
    2425    endif()
    2526else()
    26         message(STATUS "Detected PACPUS_ROOT as argument with the path: '${PACPUS_ROOT}'")
     27        string (REPLACE "\\" "/" PACPUS_ROOT ${PACPUS_ROOT})
     28        message(STATUS "Detected PACPUS_ROOT as argument with the path: '${PACPUS_ROOT}'")
    2729endif()
    2830
  • trunk/src/PacpusLib/CMakeLists.txt

    r88 r101  
    7575    ${QT_LIBRARIES}
    7676    ${PACPUS_DEPENDENCIES_LIB}
    77    
    7877)
    7978
  • trunk/src/PacpusTools/CMakeLists.txt

    r91 r101  
    9191# Build a library
    9292# ========================================
    93 pacpus_add_library(
    94     ${PROJECT_NAME}
     93pacpus_add_library( 
     94    ${PROJECT_NAME} SHARED
    9595    ${PROJECT_SRCS}
    9696    ${PROJECT_MOC_SRCS}
    9797)
     98
     99# ========================================
     100# Libraries
     101# ========================================
     102target_link_libraries(
     103    ${PROJECT_NAME}
     104    ${QT_LIBRARIES}
     105    ${PACPUS_DEPENDENCIES_LIB}
     106        PacpusLib
     107)
     108
    98109
    99110# ========================================
Note: See TracChangeset for help on using the changeset viewer.