mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
2ef7cf9e97
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)
|