Changeset 123 in pacpusframework for branches


Ignore:
Timestamp:
Jul 24, 2013, 10:38:37 AM (11 years ago)
Author:
morasjul
Message:

fix CMakeLists for windows

Location:
branches/2.0-beta1
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/CMakeLists.txt

    r89 r123  
    1010project(Pacpus)
    1111cmake_minimum_required(VERSION 2.8)
    12 
     12 cmake_policy(SET CMP0020  NEW) # for QT5.1 on windows
    1313# ========================================
    1414# Pacpus version
  • branches/2.0-beta1/src/DBITEPlayer/CMakeLists.txt

    r120 r123  
    3131    ${PROJECT_BINARY_DIR}/../FileLib
    3232    ${PROJECT_BINARY_DIR}/../DBITEPlayerLib
     33        ${PROJECT_BINARY_DIR}/../PacpusTools
     34        ${PROJECT_BINARY_DIR}/../RoadTime
    3335)
    3436
  • branches/2.0-beta1/src/PacpusLib/CMakeLists.txt

    r121 r123  
    6565    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/inputOutputInterface.h
    6666    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusEvent.h
    67     ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpusStruct.h
     67 #   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpusStruct.h
    6868
    6969    ./ComponentBase.cpp
     
    7575    ./XmlConfigFile.cpp
    7676    ./inputOutputBase.cpp
    77     ./pacpusStruct.cpp
     77 #   ./pacpusStruct.cpp
    7878)
    7979
  • branches/2.0-beta1/src/PacpusSensor/CMakeLists.txt

    r120 r123  
    2929    ${PROJECT_BINARY_DIR}/../PacpusLib
    3030    ${PROJECT_BINARY_DIR}/../FileLib
    31     ${PROJECT_BINARY_DIR}/../PacpusTools
     31        ${PROJECT_BINARY_DIR}/../RoadTime
    3232)
    3333
     
    7373        optimized FileLib debug FileLib_d
    7474        optimized PacpusLib debug PacpusLib_d
    75         optimized PacpusTools debug PacpusTools_d
    7675)
    7776
  • branches/2.0-beta1/src/PacpusTools/CMakeLists.txt

    r120 r123  
    2727link_directories(
    2828    ${PROJECT_BINARY_DIR}/../PacpusLib
     29        ${PROJECT_BINARY_DIR}/../RoadTime
    2930)
    3031
     
    9899# Libraries
    99100# ========================================
     101
     102set(OPT_LIBRARIES
     103        optimized PacpusLib debug PacpusLib_d
     104)
     105
     106# Windows platform
     107if(WIN32)
     108    LIST(APPEND OPT_LIBRARIES
     109        optimized ROAD_TIME debug ROAD_TIME_d
     110)
     111endif()
     112
    100113target_link_libraries(
    101114    ${PROJECT_NAME}
    102115    ${QT_LIBRARIES}
    103116    ${PACPUS_DEPENDENCIES_LIB}
    104     optimized PacpusLib debug PacpusLib_d
     117    ${OPT_LIBRARIES}
    105118)
    106119
Note: See TracChangeset for help on using the changeset viewer.