Changeset 58 in pacpusframework for trunk/src/DBITEPlayerLib
- Timestamp:
- Jan 9, 2013, 10:35:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/DBITEPlayerLib/CMakeLists.txt
r28 r58 13 13 # ======================================== 14 14 if(QT4_FOUND) 15 set(QT_USE_QTXML true)16 set(QT_USE_QTNETWORK TRUE)17 include(${QT_USE_FILE})15 set(QT_USE_QTXML true) 16 set(QT_USE_QTNETWORK TRUE) 17 include(${QT_USE_FILE}) 18 18 else() 19 message(ERROR "Qt4 needed")19 message(ERROR "Qt4 needed") 20 20 endif(QT4_FOUND) 21 21 … … 24 24 # ======================================== 25 25 add_definitions( 26 -DDBITE_PLAYER_EXPORTS27 ${QT_DEFINITIONS}26 -DDBITE_PLAYER_EXPORTS 27 ${QT_DEFINITIONS} 28 28 ) 29 29 … … 32 32 # ======================================== 33 33 include_directories( 34 ${CMAKE_BINARY_DIR}/DBITEPlayer35 ${QT_INCLUDE_DIR}34 ${CMAKE_BINARY_DIR}/DBITEPlayer 35 ${QT_INCLUDE_DIR} 36 36 ) 37 37 … … 40 40 # ======================================== 41 41 set( 42 PROJECT_SRCS43 ./DbtPlyEngine.cpp44 ./DbtPlyUserInterface.cpp45 ./DbtPlyEngineStateChart.cpp46 ./DbtPlyFileManager.cpp47 ./DbtPlyTrigger.cpp48 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyEngine.h49 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyFileManager.h50 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyTrigger.h51 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyEngineStateChart.h52 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyUserInterface.h42 PROJECT_SRCS 43 ./DbtPlyEngine.cpp 44 ./DbtPlyUserInterface.cpp 45 ./DbtPlyEngineStateChart.cpp 46 ./DbtPlyFileManager.cpp 47 ./DbtPlyTrigger.cpp 48 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyEngine.h 49 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyFileManager.h 50 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyTrigger.h 51 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyEngineStateChart.h 52 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyUserInterface.h 53 53 ) 54 54 … … 57 57 # ======================================== 58 58 set( 59 FILES_TO_MOC60 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyEngine.h61 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyFileManager.h62 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyTrigger.h63 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyUserInterface.h59 FILES_TO_MOC 60 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyEngine.h 61 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyFileManager.h 62 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyTrigger.h 63 ${PACPUS_INCLUDE_DIR}/Pacpus/DbitePlayer/DbtPlyUserInterface.h 64 64 ) 65 65 … … 68 68 # ======================================== 69 69 qt4_wrap_cpp( 70 PROJECT_MOC_SRCS71 ${FILES_TO_MOC}70 PROJECT_MOC_SRCS 71 ${FILES_TO_MOC} 72 72 ) 73 73 … … 82 82 # ======================================== 83 83 pacpus_add_library( 84 ${PROJECT_NAME} SHARED85 ${PROJECT_SRCS}86 ${PROJECT_MOC_SRCS}84 ${PROJECT_NAME} SHARED 85 ${PROJECT_SRCS} 86 ${PROJECT_MOC_SRCS} 87 87 ) 88 88 … … 92 92 # All platform 93 93 target_link_libraries( 94 ${PROJECT_NAME}95 FileLib96 PacpusTools97 ${QT_LIBRARIES}94 ${PROJECT_NAME} 95 FileLib 96 PacpusTools 97 ${QT_LIBRARIES} 98 98 ) 99 99 # Windows platform 100 if 101 target_link_libraries(102 ${PROJECT_NAME}103 ROAD_TIME104 Winmm105 )100 if(WIN32) 101 target_link_libraries( 102 ${PROJECT_NAME} 103 ROAD_TIME 104 Winmm 105 ) 106 106 endif() 107 107
Note:
See TracChangeset
for help on using the changeset viewer.