mirror of
https://github.com/swaywm/sway.git
synced 2025-02-26 19:54:50 +01:00

This needs to be multithreaded to have any sort of realistic expectation of performance, due to issues with syncronous I/O.
18 lines
353 B
CMake
18 lines
353 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}
|
|
)
|
|
|
|
TARGET_LINK_LIBRARIES(swaygrab rt)
|
|
|
|
install(
|
|
TARGETS swaygrab
|
|
RUNTIME DESTINATION bin
|
|
COMPONENT runtime)
|