Changeset 58 in pacpusframework for trunk/src/PacpusTools
- Timestamp:
- Jan 9, 2013, 10:35:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusTools/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(QT4_FOUND) 20 20 … … 23 23 # ======================================== 24 24 add_definitions( 25 ${QT_DEFINITIONS}25 ${QT_DEFINITIONS} 26 26 ) 27 27 … … 30 30 # ======================================== 31 31 include_directories( 32 ${QT_INCLUDE_DIR}32 ${QT_INCLUDE_DIR} 33 33 ) 34 34 … … 37 37 # ======================================== 38 38 set( 39 PROJECT_SRCS40 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/matrice.h41 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/BinaryDecoder.h42 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PosixShMem.h43 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/ShMem.h44 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/geodesie.h45 ./src/matrice.cpp46 ./src/geodesie.cpp47 ./src/AsyncWorkerBase.cpp48 ./src/PeriodicWorker.cpp39 PROJECT_SRCS 40 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/matrice.h 41 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/BinaryDecoder.h 42 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PosixShMem.h 43 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/ShMem.h 44 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/geodesie.h 45 ./src/matrice.cpp 46 ./src/geodesie.cpp 47 ./src/AsyncWorkerBase.cpp 48 ./src/PeriodicWorker.cpp 49 49 ) 50 50 … … 53 53 # ======================================== 54 54 set( 55 FILES_TO_MOC56 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/AsyncWorkerBase.h57 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h55 FILES_TO_MOC 56 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/AsyncWorkerBase.h 57 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h 58 58 ) 59 59 … … 62 62 # ======================================== 63 63 qt4_wrap_cpp( 64 PROJECT_MOC_SRCS65 ${FILES_TO_MOC}64 PROJECT_MOC_SRCS 65 ${FILES_TO_MOC} 66 66 ) 67 67 … … 71 71 # Unix 72 72 if(UNIX) 73 list(74 APPEND PROJECT_SRCS75 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PosixShMem.h76 src/PosixShMem.cpp77 )73 list( 74 APPEND PROJECT_SRCS 75 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PosixShMem.h 76 src/PosixShMem.cpp 77 ) 78 78 endif() 79 79 # Windows 80 80 if(WIN32) 81 list(82 APPEND PROJECT_SRCS83 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/Win32ShMem.h84 src/Win32ShMem.cpp85 )81 list( 82 APPEND PROJECT_SRCS 83 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/Win32ShMem.h 84 src/Win32ShMem.cpp 85 ) 86 86 endif() 87 87 … … 90 90 # ======================================== 91 91 pacpus_add_library( 92 ${PROJECT_NAME} 93 ${PROJECT_SRCS} 94 ${PROJECT_MOC_SRCS} 95 ) 96 97 # ======================================== 98 # Properties 99 # ======================================== 100 set_target_properties( 101 ${PROJECT_NAME} 102 PROPERTIES DEBUG_POSTFIX "_d" 92 ${PROJECT_NAME} 93 ${PROJECT_SRCS} 94 ${PROJECT_MOC_SRCS} 103 95 ) 104 96
Note:
See TracChangeset
for help on using the changeset viewer.