forked from tildearrow/input-modifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
35 lines (26 loc) · 776 Bytes
/
CMakeLists.txt
File metadata and controls
35 lines (26 loc) · 776 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
27
28
29
30
31
32
33
34
35
cmake_minimum_required(VERSION 2.8)
project(input-modifier)
set(CMAKE_CXX_STANDARD 11)
add_executable(imodd
src/daemon/log.cpp
src/daemon/time.cpp
src/daemon/names.c
src/daemon/scanner.cpp
src/daemon/listener.cpp
src/daemon/device.cpp
src/daemon/state.cpp
src/daemon/command.cpp
src/daemon/socket.cpp
src/daemon/plugin.cpp
src/daemon/main.cpp)
add_executable(imod-cli
src/cli/cli.c)
add_executable(imod-newcli
src/cli/main.cpp)
add_subdirectory(src/daemon/plugin/test)
add_subdirectory(src/daemon/plugin/razer)
target_link_libraries(imodd dl pthread)
target_compile_definitions(imodd PUBLIC _PREFIX="${CMAKE_INSTALL_PREFIX}")
install(TARGETS imodd RUNTIME DESTINATION bin)
install(TARGETS imod-cli RUNTIME DESTINATION bin)
install(DIRECTORY lib/udev DESTINATION lib)