2016-03-25 09:01:07 +11:00
|
|
|
include_directories(
|
|
|
|
${WLC_INCLUDE_DIRS}
|
2016-04-29 04:08:41 +10:00
|
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
2016-03-25 09:01:07 +11:00
|
|
|
)
|
|
|
|
|
2016-04-29 04:13:26 +10:00
|
|
|
add_library(sway-common STATIC
|
2015-12-02 16:57:53 +11:00
|
|
|
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()
|