blob: 2d6b80beb50c67585feb6b98d5a90fae97a6d62b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
project(opentrack-user-interface)
if(MSVC OR (NOT SDK_CONSOLE_DEBUG AND WIN32))
set(console "")
else()
set(console WIN32-CONSOLE)
endif()
if(WIN32)
SET(SDK_CONSOLE_DEBUG FALSE CACHE BOOL "Console window visible at runtime")
endif()
opentrack_boilerplate(opentrack-user-interface EXECUTABLE BIN ${console})
set_target_properties(opentrack-user-interface PROPERTIES
SUFFIX "${opentrack-binary-suffix}"
OUTPUT_NAME "opentrack"
)
target_link_libraries(opentrack-user-interface
opentrack-migration
opentrack-logic
opentrack-spline-widget
opentrack-pose-widget
opentrack-version
)
if(APPLE)
# for process detector
target_link_libraries(opentrack-user-interface proc)
endif()
if(LINUX)
target_link_libraries(opentrack-user-interface dl)
# for process detector
target_link_libraries(opentrack-user-interface procps)
endif()
|