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 | project(SMSDAEMON CXX) |
2 | |
3 | #set(CMAKE_VERBOSE_MAKEFILE 1) |
4 | set(CMAKE_BUILD_TYPE DEBUG) |
5 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -Wall") |
6 | |
7 | add_subdirectory(plugins) |
8 | |
9 | link_directories( ${SMSDAEMON_BINARY_DIR} ${SMSDAEMON_BINARY_DIR}/plugins) |
10 | include_directories( ${SMSDAEMON_SOURCE_DIR} ${SMSDAEMON_SOURCE_DIR}/plugins) |
11 | |
12 | |
13 | add_library(smsdaemoncore GsmModem.cpp PosixSignalDispatcher.cpp Sms.cpp common.cpp util.cpp SerialPort.cpp TaskManager.cpp daemon.cpp kbhit.cpp) |
14 | |
15 | add_executable(smsdaemon main.cpp) |
16 | |
17 | target_link_libraries(smsdaemon smsdaemoncore plugins) |
ViewVC Help | |
Powered by ViewVC 1.1.20 |