File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ if(ARROW_FOUND)
66add_subdirectory (ArrowTests )
77endif ()
88add_subdirectory (DebugGUI )
9+ add_subdirectory (Foundation )
Original file line number Diff line number Diff line change 1+ # Copyright CERN and copyright holders of ALICE O2. This software is
2+ # distributed under the terms of the GNU General Public License v3 (GPL
3+ # Version 3), copied verbatim in the file "COPYING".
4+ #
5+ # See http://alice-o2.web.cern.ch/ for full licensing information.
6+ #
7+ # In applying this license CERN does not waive the privileges and immunities
8+ # granted to it by virtue of its status as an Intergovernmental Organization
9+ # or submit itself to any jurisdiction.
10+
11+ set (MODULE_NAME "FrameworkFoundation" )
12+
13+ set (MODULE_BUCKET_NAME O2FrameworkFoundation_bucket)
14+
Original file line number Diff line number Diff line change 1+ ## O2 Framework Foundation
2+
3+ Nothing but pure C++ helpers go here. No dependencies allowed.
Original file line number Diff line number Diff line change 1+ // Copyright CERN and copyright holders of ALICE O2. This software is
2+ // distributed under the terms of the GNU General Public License v3 (GPL
3+ // Version 3), copied verbatim in the file "COPYING".
4+ //
5+ // See http://alice-o2.web.cern.ch/license for full licensing information.
6+ //
7+ // In applying this license CERN does not waive the privileges and immunities
8+ // granted to it by virtue of its status as an Intergovernmental Organization
9+ // or submit itself to any jurisdiction.
10+
11+ // Compatibility layer for a few common builtins found in different compilers.
12+ // These are trivial and the goal is to make sure we can compile on non GCC /
13+ // clang compilers if requested.
14+
15+ #if __GNUC__
16+ #define O2_BUILTIN_UNREACHABLE __builtin_unreachable
17+ #elif __clang__
18+ #define O2_BUILTIN_UNREACHABLE __builtin_unreachable
19+ #else
20+ #define O2_BUILTIN_UNREACHABLE
21+ #endif
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ o2_define_bucket(
172172 glfw_bucket
173173
174174 DEPENDENCIES
175+ O2FrameworkFoundation_bucket
175176 ${GLFW_LIBRARIES}
176177
177178 INCLUDE_DIRECTORIES
@@ -181,6 +182,9 @@ o2_define_bucket(
181182o2_define_bucket (
182183 NAME
183184 headless_bucket
185+
186+ DEPENDENCIES
187+ O2FrameworkFoundation_bucket
184188)
185189
186190o2_define_bucket (
@@ -289,12 +293,21 @@ o2_define_bucket(
289293 ${InfoLogger_INCLUDE_DIRS}
290294)
291295
296+ o2_define_bucket (
297+ NAME
298+ O2FrameworkFoundation_bucket
299+
300+ INCLUDE_DIRECTORIES
301+ ${CMAKE_SOURCE_DIR} /Framework/Foundation/include
302+ )
303+
292304o2_define_bucket (
293305 NAME
294306 O2FrameworkCore_bucket
295307
296308 DEPENDENCIES
297309 arrow_bucket
310+ O2FrameworkFoundation_bucket
298311 O2DeviceApplication_bucket
299312 common_utils_bucket
300313 ROOTDataFrame
You can’t perform that action at this time.
0 commit comments