|
|
@ -8,7 +8,7 @@ add_definitions('-DFALLBACK_CONFIG_DIR=\"${FALLBACK_CONFIG_DIR}\"')
|
|
|
|
|
|
|
|
|
|
|
|
set(CMAKE_C_FLAGS "-g")
|
|
|
|
set(CMAKE_C_FLAGS "-g")
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
|
|
SET(CMAKE_C_EXTENSIONS OFF)
|
|
|
|
set(CMAKE_C_EXTENSIONS OFF)
|
|
|
|
set(CMAKE_CURRENT_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/bin")
|
|
|
|
set(CMAKE_CURRENT_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/bin")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
add_definitions("-Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE")
|
|
|
|
add_definitions("-Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE")
|
|
|
@ -50,8 +50,8 @@ find_package(PCRE REQUIRED)
|
|
|
|
find_package(Wayland REQUIRED)
|
|
|
|
find_package(Wayland REQUIRED)
|
|
|
|
find_package(JsonC REQUIRED)
|
|
|
|
find_package(JsonC REQUIRED)
|
|
|
|
|
|
|
|
|
|
|
|
FILE(GLOB sources ${PROJECT_SOURCE_DIR}/sway/*.c)
|
|
|
|
file(GLOB sources ${PROJECT_SOURCE_DIR}/sway/*.c)
|
|
|
|
FILE(GLOB common ${PROJECT_SOURCE_DIR}/common/*.c)
|
|
|
|
file(GLOB common ${PROJECT_SOURCE_DIR}/common/*.c)
|
|
|
|
|
|
|
|
|
|
|
|
include(Wayland)
|
|
|
|
include(Wayland)
|
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-desktop-shell "${PROJECT_SOURCE_DIR}/protocols/desktop-shell.xml" desktop-shell)
|
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-desktop-shell "${PROJECT_SOURCE_DIR}/protocols/desktop-shell.xml" desktop-shell)
|
|
|
|