mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 11:21:28 +00:00
2ef7cf9e97
This needs to be multithreaded to have any sort of realistic expectation of performance, due to issues with syncronous I/O.
19 lines
353 B
CMake
19 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)
|