2016-03-25 09:01:07 +11:00
|
|
|
include_directories(
|
|
|
|
${WLC_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
2015-12-02 16:57:53 +11:00
|
|
|
add_library(sway-common
|
|
|
|
ipc-client.c
|
|
|
|
list.c
|
|
|
|
log.c
|
2015-12-15 03:16:38 +11:00
|
|
|
util.c
|
2015-12-02 16:57:53 +11:00
|
|
|
readline.c
|
|
|
|
stringop.c
|
|
|
|
)
|
2015-12-22 10:32:41 +11:00
|
|
|
|
|
|
|
if(Backtrace_FOUND)
|
|
|
|
set_target_properties(sway-common
|
|
|
|
PROPERTIES
|
|
|
|
COMPILE_FLAGS "-include ${Backtrace_HEADER}"
|
|
|
|
)
|
|
|
|
endif()
|