Changeset 58 in pacpusframework for trunk/src/PacpusLib
- Timestamp:
- Jan 9, 2013, 10:35:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/CMakeLists.txt
r28 r58 13 13 # ======================================== 14 14 if(QT4_FOUND) 15 set(QT_USE_QTXML true)16 include(${QT_USE_FILE})15 set(QT_USE_QTXML true) 16 include(${QT_USE_FILE}) 17 17 else() 18 message(ERROR "Qt4 needed")18 message(ERROR "Qt4 needed") 19 19 endif() 20 20 … … 23 23 # ======================================== 24 24 add_definitions( 25 -DPACPUSLIB_EXPORTS26 -DQT_NO_KEYWORDS27 ${QT_DEFINITIONS}25 -DPACPUSLIB_EXPORTS 26 -DQT_NO_KEYWORDS 27 ${QT_DEFINITIONS} 28 28 ) 29 29 … … 32 32 # ======================================== 33 33 include_directories( 34 ${QT_INCLUDE_DIR}34 ${QT_INCLUDE_DIR} 35 35 ) 36 36 … … 39 39 # ======================================== 40 40 set( 41 PROJECT_SRCS42 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/cstdint.h43 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentBase.h44 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactory.h45 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactoryBase.h46 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentManager.h47 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/Log.h48 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h49 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h50 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h51 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlConfigFile.h52 ./ComponentBase.cpp53 ./ComponentFactoryBase.cpp54 ./ComponentManager.cpp55 ./Log.cpp56 ./XmlComponentConfig.cpp57 ./XmlConfigFile.cpp41 PROJECT_SRCS 42 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/cstdint.h 43 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentBase.h 44 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactory.h 45 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactoryBase.h 46 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentManager.h 47 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/Log.h 48 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h 49 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h 50 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h 51 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlConfigFile.h 52 ./ComponentBase.cpp 53 ./ComponentFactoryBase.cpp 54 ./ComponentManager.cpp 55 ./Log.cpp 56 ./XmlComponentConfig.cpp 57 ./XmlConfigFile.cpp 58 58 ) 59 59 … … 62 62 # ======================================== 63 63 pacpus_add_library( 64 ${PROJECT_NAME} SHARED65 ${PROJECT_SRCS}64 ${PROJECT_NAME} SHARED 65 ${PROJECT_SRCS} 66 66 ) 67 67 … … 70 70 # ======================================== 71 71 target_link_libraries( 72 ${PROJECT_NAME}73 ${QT_LIBRARIES}74 ${PACPUS_DEPENDENCIES_LIB}72 ${PROJECT_NAME} 73 ${QT_LIBRARIES} 74 ${PACPUS_DEPENDENCIES_LIB} 75 75 ) 76 76
Note:
See TracChangeset
for help on using the changeset viewer.