Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Commit

Permalink
Always build Wayland support
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Hertel <[email protected]>
  • Loading branch information
jlHertel committed Jan 27, 2020
1 parent 3c170ed commit 4aea0ba
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 104 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ project(adriconf)

set(CMAKE_CXX_STANDARD 14)

option(ENABLE_XWAYLAND "Enable XWayland support" ON)
option(ENABLE_UNIT_TESTS "Enables building Unit tests" ON)
set(TOP_CMAKE_WAS_CALLED TRUE)

Expand Down Expand Up @@ -102,8 +101,6 @@ set(SHARED_SOURCE_FILES
${CMAKE_SOURCE_DIR}/adriconf/Utils/ConfigurationResolverInterface.h
${CMAKE_SOURCE_DIR}/adriconf/Utils/DRIQuery.cpp
${CMAKE_SOURCE_DIR}/adriconf/Utils/DRIQuery.h
${CMAKE_SOURCE_DIR}/adriconf/Utils/HelpersWayland.cpp
${CMAKE_SOURCE_DIR}/adriconf/Utils/HelpersWayland.h
${CMAKE_SOURCE_DIR}/adriconf/Utils/WriterInterface.h
${CMAKE_SOURCE_DIR}/adriconf/Utils/ConfigurationLoaderInterface.h
${CMAKE_SOURCE_DIR}/adriconf/Utils/PCIDatabaseQuery.cpp
Expand Down
4 changes: 0 additions & 4 deletions adriconf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ endif ()
target_link_libraries(adriconf ${EGL_LIBRARIES})
target_include_directories(adriconf PUBLIC ${EGL_INCLUDE_DIRS})

if (ENABLE_XWAYLAND)
target_compile_definitions(adriconf PRIVATE ENABLE_XWAYLAND)
endif ()

target_compile_options(adriconf PRIVATE -Wall -Wextra -pedantic)

add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/adriconf/resources.c
Expand Down
1 change: 0 additions & 1 deletion adriconf/Utils/DRIQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "../ValueObject/DriverConfiguration.h"
#include "Parser.h"
#include "../ValueObject/GPUInfo.h"
#include "HelpersWayland.h"
#include "../Logging/LoggerInterface.h"
#include "PCIDatabaseQueryInterface.h"
#include "GBMDeviceFactoryInterface.h"
Expand Down
57 changes: 0 additions & 57 deletions adriconf/Utils/HelpersWayland.cpp

This file was deleted.

34 changes: 0 additions & 34 deletions adriconf/Utils/HelpersWayland.h

This file was deleted.

2 changes: 1 addition & 1 deletion flatpak/br.com.jeanhertel.adriconf.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
{
"name": "adriconf",
"buildsystem": "cmake-ninja",
"config-opts": ["-DENABLE_XWAYLAND=1", "-DENABLE_UNIT_TESTS=0"],
"config-opts": ["-DENABLE_UNIT_TESTS=0"],
"sources": [
{
"type": "git",
Expand Down
4 changes: 0 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,4 @@ endif ()
target_link_libraries(runUnitTests ${EGL_LIBRARIES})
target_include_directories(runUnitTests PUBLIC ${EGL_INCLUDE_DIRS})

if (ENABLE_XWAYLAND)
target_compile_definitions(runUnitTests PRIVATE ENABLE_XWAYLAND)
endif ()

target_compile_options(runUnitTests PRIVATE -Wall -Wextra -pedantic)

0 comments on commit 4aea0ba

Please sign in to comment.