CMakeLists.txt 1.08 KB
Newer Older
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
#--- Tests for continuous builds
add_subdirectory(run)
add_subdirectory(mcbm)
add_subdirectory(mvd)
add_subdirectory(much)
add_subdirectory(tof)
add_subdirectory(beamtime)
add_subdirectory(include)
 

#--- Additional tests for nightly builds
If($ENV{ctest_model} MATCHES Nightly)
  add_subdirectory(field)
  add_subdirectory(C2F)
  add_subdirectory(dimuon)
  Message("Additional Nightly tests")
EndIf($ENV{ctest_model}  MATCHES Nightly)

#--- Additional tests for weekly builds
If($ENV{ctest_model} MATCHES Weekly)
  add_subdirectory(KF)
  add_subdirectory(field)
  add_subdirectory(C2F)
  add_subdirectory(dimuon)
  Message("Additional long running Weekly tests")
EndIf()

# Install in any case
Install(FILES KF/DecayConfig.C KF/registerGeantDecays.C KF/registerLightIons.C KF/registerPythiaDecays.C
              KF/kf_kfparticle.C KF/kf_thermal_signal_generator.C  KF/kf_transport.C
        DESTINATION share/cbmroot/macro/KF
       )
Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/KF/data)")

#--- Deprecated (not running)
#add_subdirectory(trd)
#add_subdirectory(littrack)