removed unused stuff in in_loop_invoke.hpp
[beacon-ss.git] / CMakeLists.txt
blobe05d2c5bfe758c4fe9057900939eb5d97bdfe8c5
2 PROJECT(beacon)
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
12     event_loop_test.cpp
13     beacon/event_loop.cpp
14     beacon/detail/future_event_base.cpp
15     beacon/detail/quick_wait.cpp
18 LIST(APPEND fast_signal_sources
19     fast_signal_test.cpp
20     beacon/event_loop.cpp
21     beacon/detail/future_event_base.cpp
22     beacon/trackable.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)