]> git.cworth.org Git - vogl/blob - src/voglreplay/CMakeLists.txt
voglcore: Add pthread as link library
[vogl] / src / voglreplay / CMakeLists.txt
1 project(voglreplay)
2 cmake_minimum_required(VERSION 2.8)
3
4 include("${SRC_DIR}/build_options.cmake")
5
6
7 include_directories(
8     ${CMAKE_CURRENT_BINARY_DIR}
9     )
10
11
12 include_directories(
13     ${SRC_DIR}/voglcore
14     ${SRC_DIR}/voglinc
15     ${SRC_DIR}/voglcommon
16         ${SRC_DIR}/libtelemetry
17         ${SRC_DIR}/extlib/loki/include/loki
18     )
19
20 set(SRC_LIST
21     ${SRC_LIST}
22     vogl_replay_tool.cpp
23 #    vogl_remote.cpp
24 #    ../common/channel.cpp
25 )
26
27 # add_compiler_flag("-DVOGL_REMOTING")
28
29 add_executable(${PROJECT_NAME} ${SRC_LIST})
30
31 target_link_libraries(${PROJECT_NAME}
32     ${TELEMETRY_LIBRARY}
33     backtrace
34     voglcommon
35     dl
36     X11
37     pthread
38     voglcore
39     rt
40     )
41
42 build_options_finalize()
43