forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
56 lines (52 loc) · 2.32 KB
/
CMakeLists.txt
File metadata and controls
56 lines (52 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
# This software is distributed under the terms of the GNU General Public
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
#
# In applying this license CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.
# Given GCC 7.3 does not provide std::filesystem we use Boost instead
# Drop this once we move to GCC 8.2+
o2_add_library(FrameworkGUISupport
SOURCES src/Plugin.cxx
src/FrameworkGUIDebugger.cxx
src/FrameworkGUIDevicesGraph.cxx
src/FrameworkGUIDeviceInspector.cxx
src/FrameworkGUIDataRelayerUsage.cxx
src/PaletteHelpers.cxx
src/SpyService.cxx
src/SpyServiceHelpers.cxx
src/InspectorHelpers.cxx
PRIVATE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR}/src
PUBLIC_LINK_LIBRARIES O2::Framework AliceO2::DebugGUI)
if (NOT APPLE)
set (DEBUG_GUI_TESTS_WORKFLOW
CustomGUIGL
CustomGUISokol
SimpleTracksED
)
endif()
foreach(w
${DEBUG_GUI_TESTS_WORKFLOW}
)
o2_add_test(${w} NAME test_Framework_test_${w}
SOURCES test/test_${w}.cxx
COMPONENT_NAME Framework
LABELS framework workflow
PUBLIC_LINK_LIBRARIES O2::Framework AliceO2::DebugGUI
TIMEOUT 30
NO_BOOST_TEST
COMMAND_LINE_ARGS ${DPL_WORKFLOW_TESTS_EXTRA_OPTIONS} --run --shm-segment-size 20000000)
endforeach()
# TODO: investigate the problem with the two unit tests, maybe setup of the CI
# environment assertion fired X11: The DISPLAY environment variable is missing
# glfw-3.2.1/src/window.c:579: glfwGetFramebufferSize: Assertion `window !=
# ((void *)0)' failed.
if(NOT APPLE AND BUILD_TESTING)
set_property(TEST test_Framework_test_SimpleTracksED PROPERTY DISABLED TRUE)
set_property(TEST test_Framework_test_CustomGUIGL PROPERTY DISABLED TRUE)
set_property(TEST test_Framework_test_CustomGUISokol PROPERTY DISABLED TRUE)
endif()