aboutsummaryrefslogtreecommitdiff
path: root/swaygrab/CMakeLists.txt
blob: 8bc8ed8bc5d7f59cf365f935638fd9141cb06580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
project(swaygrab)

set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/)

FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
FILE(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)

add_executable(swaygrab
  ${sources}
  ${common}
)

TARGET_LINK_LIBRARIES(swaygrab rt)

install(
  TARGETS   swaygrab
  RUNTIME   DESTINATION bin
  COMPONENT runtime)