2015-11-27 15:53:50 +01:00
|
|
|
project(swaygrab)
|
|
|
|
|
|
|
|
set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/)
|
|
|
|
|
2015-12-01 19:35:10 +01:00
|
|
|
file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
|
|
|
|
file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
|
2015-11-27 15:53:50 +01:00
|
|
|
|
|
|
|
add_executable(swaygrab
|
2015-12-01 20:46:10 +01:00
|
|
|
${sources}
|
|
|
|
${common}
|
2015-11-27 15:53:50 +01:00
|
|
|
)
|
|
|
|
|
2015-12-01 20:05:46 +01:00
|
|
|
target_link_libraries(swaygrab
|
2015-12-01 20:46:10 +01:00
|
|
|
rt
|
2015-12-01 20:05:46 +01:00
|
|
|
)
|
2015-11-27 20:21:38 +01:00
|
|
|
|
2015-11-27 15:53:50 +01:00
|
|
|
install(
|
2015-12-01 20:46:10 +01:00
|
|
|
TARGETS swaygrab
|
|
|
|
RUNTIME
|
|
|
|
DESTINATION bin
|
|
|
|
COMPONENT runtime
|
2015-12-01 20:05:46 +01:00
|
|
|
)
|