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

Contents of /smsdaemon/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 54 - (show annotations) (download)
Wed Jun 11 12:57:26 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 680 byte(s)
Moving Plugin and PluginManager back to the main library because ... because I can !!!


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 SHARED GsmModem.cpp PosixSignalDispatcher.cpp Sms.cpp common.cpp util.cpp SerialPort.cpp TaskManager.cpp daemon.cpp kbhit.cpp PluginManager.cpp Plugin.cpp)
14
15 add_executable(smsdaemon main.cpp)
16
17 target_link_libraries(smsdaemon smsdaemoncore plugins)
18
19
20 add_executable(tester tester.cpp)
21 target_link_libraries(tester smsdaemoncore plugins)

  ViewVC Help
Powered by ViewVC 1.1.20