2015-11-28 01:53:50 +11:00
|
|
|
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}
|
|
|
|
)
|
|
|
|
|
2015-11-28 06:21:38 +11:00
|
|
|
TARGET_LINK_LIBRARIES(swaygrab rt)
|
|
|
|
|
2015-11-28 01:53:50 +11:00
|
|
|
install(
|
|
|
|
TARGETS swaygrab
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
COMPONENT runtime)
|