Skip to content
This repository has been archived by the owner on Nov 18, 2018. It is now read-only.

Commit

Permalink
Relative paths
Browse files Browse the repository at this point in the history
Make the code build with super builds where there is a master
CMakeLists.txt file and all repositories as subdirectories, thus we
need to reference relative paths.

Also quote paths to avoid problems with long names with spaces.
  • Loading branch information
plfiorini committed Sep 18, 2016
1 parent f4d04d2 commit 6b2a7b6
Show file tree
Hide file tree
Showing 27 changed files with 250 additions and 248 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ endif()

# Wayland protocols
if(USE_LOCAL_WAYLAND_PROTOCOLS)
set(WAYLAND_PROTOCOLS_DIR "${CMAKE_SOURCE_DIR}/data/wayland-protocols")
set(WAYLAND_PROTOCOLS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/data/wayland-protocols")
else()
pkg_check_modules(Wayland_Protocols REQUIRED wayland-protocols)
add_feature_info("Wayland-Protocols" Wayland_Protocols_FOUND "Required for protocols")
Expand Down
4 changes: 2 additions & 2 deletions compositor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../headers/GreenIsland"
)

set(SOURCES
Expand Down
4 changes: 2 additions & 2 deletions declarative/compositor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ foreach(_mod Qml Quick)
endforeach()

include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${Qt5Qml_PRIVATE_INCLUDE_DIRS}
${Qt5Quick_PRIVATE_INCLUDE_DIRS}
Expand Down
6 changes: 3 additions & 3 deletions declarative/xwayland/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ endif()


include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
${CMAKE_BINARY_DIR}/headers/GreenIsland/QtWaylandCompositor
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland/QtWaylandCompositor"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${Qt5Qml_PRIVATE_INCLUDE_DIRS}
${Qt5Quick_PRIVATE_INCLUDE_DIRS}
Expand Down
4 changes: 3 additions & 1 deletion launcher/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include_directories(${CMAKE_BINARY_DIR}/headers)
include_directories(
"${CMAKE_CURRENT_BINARY_DIR}/../headers"
)

set(SOURCES
main.cpp
Expand Down
4 changes: 2 additions & 2 deletions plugins/egldeviceintegration/brcm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/egldeviceintegration/kms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ set_package_properties(gbm PROPERTIES
PURPOSE "Required for DRM/KMS support")

include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/egldeviceintegration/mali/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/egldeviceintegration/viv/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/egldeviceintegration/wayland/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
find_package(Qt5PlatformSupport REQUIRED)
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5PlatformSupport_INCLUDE_DIR}
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
Expand Down
4 changes: 2 additions & 2 deletions plugins/egldeviceintegration/x11/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ find_package(XCB REQUIRED COMPONENTS XCB)
find_package(X11_XCB REQUIRED)

include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down
4 changes: 2 additions & 2 deletions qpa/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include(ECMSetupVersion)
include(ECMGenerateHeaders)

ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX GREENISLAND
VERSION_HEADER "${CMAKE_BINARY_DIR}/headers/greenisland_version.h"
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/../headers/greenisland_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/GreenIslandConfigVersion.cmake"
SOVERSION ${PROJECT_SOVERSION})

Expand All @@ -22,7 +22,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/GreenIslandConfig.cmake"
DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
COMPONENT Devel)

install(FILES ${CMAKE_BINARY_DIR}/headers/greenisland_version.h
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/../headers/greenisland_version.h"
DESTINATION ${HAWAII_INCLUDEDIR} COMPONENT Devel)

include(GenerateHeaders)
Expand Down
80 changes: 40 additions & 40 deletions src/client/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_directories(
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
Expand Down Expand Up @@ -35,33 +35,33 @@ set(SOURCES
)

greenisland_add_client_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/wayland/wayland.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/../../data/protocols/wayland/wayland.xml"
BASENAME wayland
PREFIX wl_
)
greenisland_add_client_protocol(SOURCES
PROTOCOL ${WAYLAND_PROTOCOLS_DIR}/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml
PROTOCOL "${WAYLAND_PROTOCOLS_DIR}/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml"
BASENAME fullscreen-shell-unstable-v1
PREFIX zwp_
)
greenisland_add_client_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/greenisland/greenisland-screencaster.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/../../data/protocols/greenisland/greenisland-screencaster.xml"
BASENAME greenisland-screencaster
PREFIX greenisland_
)
greenisland_add_client_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/greenisland/greenisland-screenshooter.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/../../data/protocols/greenisland/greenisland-screenshooter.xml"
BASENAME greenisland-screenshooter
PREFIX greenisland_
)
greenisland_add_client_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/greenisland/greenisland-outputmanagement.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/../../data/protocols/greenisland/greenisland-outputmanagement.xml"
BASENAME greenisland-outputmanagement
PREFIX greenisland_
)

add_library(GreenIslandClient SHARED ${SOURCES})
generate_export_header(GreenIslandClient EXPORT_FILE_NAME ${CMAKE_BINARY_DIR}/headers/GreenIsland/client/greenislandclient_export.h)
generate_export_header(GreenIslandClient EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland/client/greenislandclient_export.h")
add_library(GreenIsland::Client ALIAS GreenIslandClient)

target_link_libraries(GreenIslandClient
Expand Down Expand Up @@ -109,44 +109,44 @@ ecm_generate_headers(GreenIslandClient_CamelCase_HEADERS
PREFIX
Client
OUTPUT_DIR
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
REQUIRED_HEADERS
GreenIslandClient_HEADERS
)

private_headers(GreenIslandClient_PRIVATE_HEADERS
HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/buffer_p.h
${CMAKE_CURRENT_SOURCE_DIR}/clientconnection_p.h
${CMAKE_CURRENT_SOURCE_DIR}/cursortheme_p.h
${CMAKE_CURRENT_SOURCE_DIR}/keyboard_p.h
${CMAKE_CURRENT_SOURCE_DIR}/fullscreenshell_p.h
${CMAKE_CURRENT_SOURCE_DIR}/output_p.h
${CMAKE_CURRENT_SOURCE_DIR}/outputconfiguration_p.h
${CMAKE_CURRENT_SOURCE_DIR}/outputmanagement_p.h
${CMAKE_CURRENT_SOURCE_DIR}/pointer_p.h
${CMAKE_CURRENT_SOURCE_DIR}/region_p.h
${CMAKE_CURRENT_SOURCE_DIR}/registry_p.h
${CMAKE_CURRENT_SOURCE_DIR}/screencaster_p.h
${CMAKE_CURRENT_SOURCE_DIR}/screenshooter_p.h
${CMAKE_CURRENT_SOURCE_DIR}/seat_p.h
${CMAKE_CURRENT_SOURCE_DIR}/shm_p.h
${CMAKE_CURRENT_SOURCE_DIR}/shmformats_p.h
${CMAKE_CURRENT_SOURCE_DIR}/shmpool_p.h
${CMAKE_CURRENT_SOURCE_DIR}/surface_p.h
${CMAKE_CURRENT_SOURCE_DIR}/touch_p.h
${CMAKE_CURRENT_BINARY_DIR}/qwayland-wayland.h
${CMAKE_CURRENT_BINARY_DIR}/qwayland-fullscreen-shell-unstable-v1.h
${CMAKE_CURRENT_BINARY_DIR}/qwayland-greenisland-outputmanagement.h
${CMAKE_CURRENT_BINARY_DIR}/qwayland-greenisland-screencaster.h
${CMAKE_CURRENT_BINARY_DIR}/qwayland-greenisland-screenshooter.h
${CMAKE_CURRENT_BINARY_DIR}/wayland-wayland-client-protocol.h
${CMAKE_CURRENT_BINARY_DIR}/wayland-fullscreen-shell-client-protocol.h
${CMAKE_CURRENT_BINARY_DIR}/wayland-greenisland-outputmanagement-client-protocol.h
${CMAKE_CURRENT_BINARY_DIR}/wayland-greenisland-screencaster-client-protocol.h
${CMAKE_CURRENT_BINARY_DIR}/wayland-greenisland-screenshooter-client-protocol.h
"${CMAKE_CURRENT_SOURCE_DIR}/buffer_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/clientconnection_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/cursortheme_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/keyboard_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/fullscreenshell_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/output_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/outputconfiguration_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/outputmanagement_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/pointer_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/region_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/registry_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/screencaster_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/screenshooter_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/seat_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/shm_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/shmformats_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/shmpool_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/surface_p.h"
"${CMAKE_CURRENT_SOURCE_DIR}/touch_p.h"
"${CMAKE_CURRENT_BINARY_DIR}/qwayland-wayland.h"
"${CMAKE_CURRENT_BINARY_DIR}/qwayland-fullscreen-shell-unstable-v1.h"
"${CMAKE_CURRENT_BINARY_DIR}/qwayland-greenisland-outputmanagement.h"
"${CMAKE_CURRENT_BINARY_DIR}/qwayland-greenisland-screencaster.h"
"${CMAKE_CURRENT_BINARY_DIR}/qwayland-greenisland-screenshooter.h"
"${CMAKE_CURRENT_BINARY_DIR}/wayland-wayland-client-protocol.h"
"${CMAKE_CURRENT_BINARY_DIR}/wayland-fullscreen-shell-client-protocol.h"
"${CMAKE_CURRENT_BINARY_DIR}/wayland-greenisland-outputmanagement-client-protocol.h"
"${CMAKE_CURRENT_BINARY_DIR}/wayland-greenisland-screencaster-client-protocol.h"
"${CMAKE_CURRENT_BINARY_DIR}/wayland-greenisland-screenshooter-client-protocol.h"
OUTPUT_DIR
${CMAKE_BINARY_DIR}/headers/GreenIsland/client
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland/client"
)


Expand All @@ -159,7 +159,7 @@ install(FILES ${GreenIslandClient_CamelCase_HEADERS}

install(
FILES
${CMAKE_BINARY_DIR}/headers/GreenIsland/client/greenislandclient_export.h
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland/client/greenislandclient_export.h"
${GreenIslandClient_HEADERS}
DESTINATION
${GREENISLAND_INCLUDEDIR}/client
Expand Down
14 changes: 7 additions & 7 deletions src/hardwareintegration/brcm-egl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/src
${CMAKE_BINARY_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_SOURCE_DIR}/.."
"${CMAKE_CURRENT_SOURCE_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/.."
"${CMAKE_CURRENT_BINARY_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../headers/GreenIsland"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)

Expand All @@ -17,7 +17,7 @@ set(SOURCES
)

greenisland_add_server_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/qt/brcm.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/data/protocols/qt/brcm.xml"
BASENAME brcm
PREFIX qt_
)
Expand Down
12 changes: 6 additions & 6 deletions src/hardwareintegration/wayland-egl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/src
${CMAKE_BINARY_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_SOURCE_DIR}/.."
"${CMAKE_CURRENT_SOURCE_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/.."
"${CMAKE_CURRENT_BINARY_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)

Expand Down
12 changes: 6 additions & 6 deletions src/hardwareintegration/xcomposite-egl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/src
${CMAKE_BINARY_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_SOURCE_DIR}/.."
"${CMAKE_CURRENT_SOURCE_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/.."
"${CMAKE_CURRENT_BINARY_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${X11_X11_INCLUDE_PATH}
${X11_Xcomposite_INCLUDE_PATH}
Expand Down
12 changes: 6 additions & 6 deletions src/hardwareintegration/xcomposite-glx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/src
${CMAKE_BINARY_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_SOURCE_DIR}/.."
"${CMAKE_CURRENT_SOURCE_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/.."
"${CMAKE_CURRENT_BINARY_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${X11_X11_INCLUDE_PATH}
${X11_Xcomposite_INCLUDE_PATH}
Expand Down
16 changes: 8 additions & 8 deletions src/hardwareintegration/xcomposite_share/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ include("${CMAKE_CURRENT_SOURCE_DIR}/../../server/GreenIslandServerConfigExtrasL
include("${CMAKE_CURRENT_SOURCE_DIR}/../../server/GreenIslandServerMacros.cmake")

include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/src
${CMAKE_BINARY_DIR}/src/waylandcompositor
${CMAKE_BINARY_DIR}/headers
${CMAKE_BINARY_DIR}/headers/GreenIsland
"${CMAKE_CURRENT_SOURCE_DIR}/.."
"${CMAKE_CURRENT_SOURCE_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/.."
"${CMAKE_CURRENT_BINARY_DIR}/../waylandcompositor"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers"
"${CMAKE_CURRENT_BINARY_DIR}/../../../headers/GreenIsland"
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)

Expand All @@ -17,12 +17,12 @@ set(SOURCES
)

greenisland_add_server_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/wayland/wayland.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/../../../data/protocols/wayland/wayland.xml"
BASENAME wayland
PREFIX wl_
)
greenisland_add_server_protocol(SOURCES
PROTOCOL ${CMAKE_SOURCE_DIR}/data/protocols/qt/xcomposite.xml
PROTOCOL "${CMAKE_CURRENT_SOURCE_DIR}/../../../data/protocols/qt/xcomposite.xml"
BASENAME xcomposite
PREFIX qt_
)
Expand Down
Loading

0 comments on commit 6b2a7b6

Please sign in to comment.