mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
17 lines
317 B
CMake
17 lines
317 B
CMake
|
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}
|
||
|
)
|
||
|
|
||
|
install(
|
||
|
TARGETS swaygrab
|
||
|
RUNTIME DESTINATION bin
|
||
|
COMPONENT runtime)
|