/[projects]/smsdaemon/CMakeLists.txt
ViewVC logotype

Contents of /smsdaemon/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45 - (show annotations) (download)
Wed Jun 11 09:00:56 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 557 byte(s)
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