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
33 lines (25 loc) · 707 Bytes
/
CMakeLists.txt
File metadata and controls
33 lines (25 loc) · 707 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
# @author Barthélémy von Haller
set(MODULE_NAME "ExampleModule2")
O2_SETUP(NAME ${MODULE_NAME})
# Define the source and header files of the library
set(SRCS
src/Foo.cxx
)
set(NO_DICT_SRCS # sources not for the dictionary
src/Bar.cxx
)
set(HEADERS # needed for the dictionary generation
src/Bar.h
include/${MODULE_NAME}/Foo.h
)
set(LIBRARY_NAME ${MODULE_NAME})
set(BUCKET_NAME ExampleModule2_bucket)
set(LINKDEF src/ExampleLinkDef.h) # needed for the dictionary generation
O2_GENERATE_LIBRARY()
# Define application
O2_GENERATE_EXECUTABLE(
EXE_NAME runExampleModule2
SOURCES src/main.cxx
MODULE_LIBRARY_NAME ${LIBRARY_NAME}
BUCKET_NAME ${BUCKET_NAME}
)