Changeset 190 in pacpusframework for trunk/src/_NewComponent/CMakeLists.txt.in
- Timestamp:
- Oct 24, 2013, 3:01:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/_NewComponent/CMakeLists.txt.in
r147 r190 1 1 project(@PACPUS_COMPONENT_NAME@) 2 3 set(${PROJECT_NAME}_VERSION_MAJOR 0) 4 set(${PROJECT_NAME}_VERSION_MINOR 1) 2 5 3 6 ################################################################################ 4 7 create_export(EXPORT_HDR ${PROJECT_NAME}) 8 pacpus_plugin(PLUGIN_CPP PLUGIN_HDR ${PROJECT_NAME}) 5 9 6 10 ################################################################################ … … 27 31 ${PACPUS_LIB_DIR} 28 32 ) 29 pacpus_plugin(PLUGIN_CPP PLUGIN_H ${PROJECT_NAME})30 33 31 34 ################################################################################ … … 37 40 38 41 set(SRCS 42 ${PLUGIN_CPP} 39 43 @PACPUS_COMPONENT_NAME@.cpp 40 ${PLUGIN_CPP}41 44 ) 42 45 43 46 set(MOC_FILES 47 ${PLUGIN_HDR} 44 48 #@PACPUS_COMPONENT_NAME@.h 45 ${PLUGIN_H}46 49 ) 47 50 … … 67 70 ) 68 71 69 ################################################################################70 72 # LIBS 71 message(STATUS ${PACPUS_DEPENDENCIES_LIB})72 73 73 set(LIBS 74 74 ${PACPUS_LIBRARIES} 75 ${PACPUS_DEPENDENCIES_LIB} 75 76 ${QT_LIBRARIES} 76 ${PACPUS_DEPENDENCIES_LIB}77 optimized FileLib debug FileLib_d78 optimized PacpusLib debug PacpusLib_d79 optimized PacpusTools debug PacpusTools_d80 77 ) 81 if (WIN32) 82 list(APPEND LIBS 83 optimized ROAD_TIME debug ROAD_TIME_d 84 ) 85 endif() 78 79 # LINK 80 target_link_libraries(${PROJECT_NAME} ${LIBS}) 86 81 87 82 ################################################################################ 88 # LINK89 target_link_libraries(${PROJECT_NAME} ${LIBS})90 # PROPERTIES91 set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d")92 83 # FOLDERS 93 84 pacpus_folder(${PROJECT_NAME} "components")
Note:
See TracChangeset
for help on using the changeset viewer.