-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
26 lines (23 loc) · 944 Bytes
/
CMakeLists.txt
File metadata and controls
26 lines (23 loc) · 944 Bytes
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
######################################################################################
# Proxynect Persistent Kinect Library
######################################################################################
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib/proxynect)
add_library (proxynect SHARED proxynect.c proxyutils.c)
set_target_properties (proxynect PROPERTIES
VERSION ${PROJECT_VER}
SOVERSION ${PROJECT_APIVER}
OUTPUT_NAME freenect)
target_link_libraries(proxynect rt)
install (TARGETS proxynect
DESTINATION "${PROJECT_LIBRARY_INSTALL_DIR}/proxynect")
add_executable(proxydaemon proxydaemon.c proxyutils.c)
target_link_libraries(proxydaemon freenect m rt)
install (TARGETS proxydaemon
DESTINATION bin)
CONFIGURE_FILE("proxynect.sh.in"
"proxynect.sh"
IMMEDIATE @ONLY)
install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/proxynect.sh
DESTINATION bin
RENAME proxynect)