4 #if you don't want the full compiler output, remove the following line
5 SET(CMAKE_VERBOSE_MAKEFILE ON)
7 #add definitions, compiler switches, etc.
8 #ADD_DEFINITIONS(-Wall -O3)
9 ADD_DEFINITIONS(-Wall -g)
11 LIST(APPEND event_loop_sources
14 beacon/detail/future_event_base.cpp
15 beacon/detail/quick_wait.cpp
18 LIST(APPEND fast_signal_sources
21 beacon/detail/future_event_base.cpp
23 beacon/reference_countable.cpp
24 beacon/detail/future_event_base.cpp
25 beacon/detail/quick_wait.cpp
26 beacon/detail/signal_base.cpp
29 INCLUDE_DIRECTORIES(. ./beacon/atomic_ptr/i686)
31 LINK_DIRECTORIES(/usr/lib/)
33 #list all source files here
34 ADD_EXECUTABLE(event-loop-test ${event_loop_sources})
36 TARGET_LINK_LIBRARIES(event-loop-test atomic_ops boost_thread)
38 ADD_EXECUTABLE(test test.cpp beacon/reference_countable.cpp)
40 TARGET_LINK_LIBRARIES(test atomic_ops)
42 ADD_EXECUTABLE(fast-signal-test ${fast_signal_sources})
44 TARGET_LINK_LIBRARIES(fast-signal-test atomic_ops boost_thread)