forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
34 lines (28 loc) · 1.43 KB
/
CMakeLists.txt
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
# **************************************************************************
# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
# * *
# * Author: The ALICE Off-line Project. *
# * Contributors are mentioned in the code where appropriate. *
# * *
# * Permission to use, copy, modify and distribute this software and its *
# * documentation strictly for non-commercial purposes is hereby granted *
# * without fee, provided that the above copyright notice appears in all *
# * copies and that both the copyright notice and this permission notice *
# * appear in the supporting documentation. The authors make no claims *
# * about the suitability of this software for any purpose. It is *
# * provided "as is" without express or implied warranty. *
# **************************************************************************
add_subdirectory(TOFbase)
add_subdirectory(TOFrec)
add_subdirectory(TOFsim)
if(DA)
add_subdirectory(DA)
endif(DA)
# Install the data folder
install(DIRECTORY macros DESTINATION TOF)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/data)
install (DIRECTORY data DESTINATION TOF)
elseif(FATAL_IF_MISSING)
message(FATAL_ERROR "data is missing")
endif()
message(STATUS "TOF enabled")