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