mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
21 lines
281 B
CMake
21 lines
281 B
CMake
project(swaygrab)
|
|
|
|
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
|
|
)
|