Changeset 331 in pacpusframework for branches/0.1.x/src/PacpusSensor
- Timestamp:
- Dec 4, 2014, 12:33:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.1.x/src/PacpusSensor/CMakeLists.txt
r151 r331 13 13 # ======================================== 14 14 add_definitions( 15 15 ${QT_DEFINITIONS} 16 16 ) 17 17 … … 20 20 # ======================================== 21 21 include_directories( 22 23 22 ${PROJECT_BINARY_DIR} 23 ${QT_INCLUDE_DIR} 24 24 ) 25 25 # ======================================== … … 27 27 # ======================================== 28 28 link_directories( 29 30 29 ${PROJECT_BINARY_DIR}/../PacpusLib 30 ${PROJECT_BINARY_DIR}/../FileLib 31 31 ${PROJECT_BINARY_DIR}/../RoadTime 32 32 ) … … 36 36 # ======================================== 37 37 set( 38 39 40 41 38 PROJECT_SRCS 39 src/ui/pacpusmainwindow.cpp 40 src/ui/pacpusmainwindow.h 41 src/main.cpp 42 42 ) 43 43 … … 51 51 qt_wrap_cpp(SENSOR_MOC_SOURCES ${SENSOR_MOC_CLASSES}) 52 52 53 source_group(Main_ui FILES ${PROJECT_SRCS} 54 source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H} 53 source_group(Main_ui FILES ${PROJECT_SRCS}) 54 source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H}) 55 55 56 56 # ======================================== … … 58 58 # ======================================== 59 59 pacpus_add_executable( 60 ${PROJECT_NAME} 61 ./src/main.cpp 62 ./src/ui/pacpusmainwindow.cpp 63 ./src/ui/pacpusmainwindow.h 64 ${SENSOR_MOC_SOURCES} 65 ${SENSOR_UI_CLASSES} 60 ${PROJECT_NAME} 61 ./src/main.cpp 62 ./src/ui/pacpusmainwindow.cpp 63 ./src/ui/pacpusmainwindow.h 64 ../ico/heudiasycIco.rc 65 ${SENSOR_MOC_SOURCES} 66 ${SENSOR_UI_CLASSES} 66 67 ) 67 68 … … 71 72 72 73 set(OPT_LIBRARIES 73 74 74 optimized FileLib debug FileLib_d 75 optimized PacpusLib debug PacpusLib_d 75 76 ) 76 77 77 78 # Windows platform 78 79 if(WIN32) 79 80 81 80 LIST(APPEND OPT_LIBRARIES 81 optimized ROAD_TIME debug ROAD_TIME_d 82 Winmm 82 83 ) 83 84 endif() 84 85 85 86 if(UNIX) 86 87 88 87 LIST(APPEND OPT_LIBRARIES 88 pthread 89 ) 89 90 endif() 90 91 91 92 # All the platform 92 93 target_link_libraries( 93 94 95 96 94 ${PROJECT_NAME} 95 ${PACPUS_DEPENDENCIES_LIB} 96 ${OPT_LIBRARIES} 97 ${QT_LIBRARIES} 97 98 ) 98 99
Note:
See TracChangeset
for help on using the changeset viewer.