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
42 lines (31 loc) · 761 Bytes
/
CMakeLists.txt
File metadata and controls
42 lines (31 loc) · 761 Bytes
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
# @author Barthélémy von Haller
set(MODULE_NAME "ExampleModule1")
O2_SETUP(NAME ${MODULE_NAME})
# Define the source and header files
set(SRCS
src/Foo.cxx
src/Bar.cxx
)
# HEADERS is not needed if we don't generate a dictionary.
#set(HEADERS
# include/${MODULE_NAME}/Foo.h
# src/Bar.h
# )
set(LIBRARY_NAME ${MODULE_NAME})
set(BUCKET_NAME ExampleModule1_bucket)
O2_GENERATE_LIBRARY()
# Define application
O2_GENERATE_EXECUTABLE(
EXE_NAME runExampleModule1
SOURCES src/main.cxx
MODULE_LIBRARY_NAME ${LIBRARY_NAME}
BUCKET_NAME ${BUCKET_NAME}
)
set(TEST_SRCS
test/testExampleModule1.cxx
)
O2_GENERATE_TESTS(
MODULE_LIBRARY_NAME ${LIBRARY_NAME}
BUCKET_NAME ${BUCKET_NAME}
TEST_SRCS ${TEST_SRCS}
)