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 (43 loc) · 1.02 KB
/
CMakeLists.txt
File metadata and controls
56 lines (43 loc) · 1.02 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
# @author Matthias Richter
# @brief cmake setup for module Algorithm
set(MODULE_NAME "Algorithm")
O2_SETUP(NAME ${MODULE_NAME})
set(SRCS
)
set(LIBRARY_NAME ${MODULE_NAME})
set(BUCKET_NAME Algorithm_bucket)
# no library for the moment
#O2_GENERATE_LIBRARY()
Set(Exe_Names
)
set(Exe_Source
)
list(LENGTH Exe_Names _length)
if (LENGTH)
math(EXPR _length ${_length}-1)
ForEach (_file RANGE 0 ${_length})
list(GET Exe_Names ${_file} _name)
list(GET Exe_Source ${_file} _src)
O2_GENERATE_EXECUTABLE(
EXE_NAME ${_name}
SOURCES ${_src}
MODULE_LIBRARY_NAME ${LIBRARY_NAME}
BUCKET_NAME ${BUCKET_NAME}
)
EndForEach (_file RANGE 0 ${_length})
endif()
set(TEST_SRCS
test/o2formatparser.cxx
test/headerstack.cxx
test/parser.cxx
test/tableview.cxx
test/pageparser.cxx
test/test_mpl_tools.cxx
test/test_RangeTokenizer.cxx
)
O2_GENERATE_TESTS(
BUCKET_NAME ${BUCKET_NAME}
TEST_SRCS ${TEST_SRCS}
)
O2_GENERATE_MAN(NAME Algorithm SECTION 3)
O2_GENERATE_MAN(NAME algorithm_parser SECTION 3)