Parent Directory | Revision Log
CMakeLists.txt added a smsdaemon core library in order to ease testing. The other changes is to make this new library work correctly
1 | torben | 45 | project(SMSDAEMON CXX) |
2 | torben | 27 | |
3 | torben | 28 | #set(CMAKE_VERBOSE_MAKEFILE 1) |
4 | set(CMAKE_BUILD_TYPE DEBUG) | ||
5 | torben | 30 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -Wall") |
6 | torben | 28 | |
7 | torben | 27 | add_subdirectory(plugins) |
8 | |||
9 | torben | 45 | link_directories( ${SMSDAEMON_BINARY_DIR} ${SMSDAEMON_BINARY_DIR}/plugins) |
10 | torben | 27 | include_directories( ${SMSDAEMON_SOURCE_DIR} ${SMSDAEMON_SOURCE_DIR}/plugins) |
11 | |||
12 | |||
13 | torben | 45 | add_library(smsdaemoncore GsmModem.cpp PosixSignalDispatcher.cpp Sms.cpp common.cpp util.cpp SerialPort.cpp TaskManager.cpp daemon.cpp kbhit.cpp) |
14 | torben | 27 | |
15 | torben | 45 | add_executable(smsdaemon main.cpp) |
16 | |||
17 | target_link_libraries(smsdaemon smsdaemoncore plugins) |
ViewVC Help | |
Powered by ViewVC 1.1.20 |