Set(ALIROOT_INSTALL_DIR ${ALICE_INSTALL}/${ALICE_TARGET})
# Setup GEANT3
-find_package(GEANT3 REQUIRED)
+find_package(GEANT3)
# Setup RuleChecker
find_package(RuleChecker)
execute_process(COMMAND root-config --features OUTPUT_VARIABLE FEATURES)
string(REGEX MATCH "pythia6" PYTHIA6 ${FEATURES})
string(REGEX MATCH "pythia8" PYTHIA8 ${FEATURES})
+string(REGEX MATCH "opengl" OPENGL ${FEATURES})
if(PYTHIA6)
message(STATUS "Pythia6 enabled")
endif(PYTHIA6)
if(PYTHIA8)
message(STATUS "Pythia8 enabled")
endif(PYTHIA8)
-
+if(OPENGL)
+ message(STATUS "OpenGL enabled")
+endif(OPENGL)
+option (TFLUKA "Build TFluka" OFF)
+option (THYDJET "Build THydjet" OFF)
+option (SHUTTLE "Build SHUTTLE" OFF)
+
+
# Recurse into the given subdirectories. This does not actually
# cause another cmake executable to run. The same process will walk through
# the project's entire directory structure.
-
-
-#Add_subdirectory(TFluka)
-#Add_subdirectory(THydjet)
-
Add_subdirectory(ACORDE)
Add_subdirectory(ANALYSIS)
Add_subdirectory(BCM)
Add_subdirectory(EMCAL)
Add_subdirectory(EPOS)
Add_subdirectory(ESDCheck)
+if(OPENGL)
Add_subdirectory(EVE)
+endif(OPENGL)
Add_subdirectory(EVGEN)
Add_subdirectory(FASTSIM)
Add_subdirectory(FMD)
Add_subdirectory(PYTHIA8)
endif(PYTHIA8)
Add_subdirectory(RAW)
+if(SHUTTLE)
+message("SHUTTLE")
+Add_subdirectory(SHUTTLE)
+endif(SHUTTLE)
Add_subdirectory(STAT)
Add_subdirectory(STEER)
Add_subdirectory(STRUCT)
Add_subdirectory(THbtp)
Add_subdirectory(THerwig)
Add_subdirectory(THijing)
-#Add_subdirectory(TIsajet)
+if(TFLUKA)
+Add_subdirectory(TFluka)
+endif(TFLUKA)
+if(THYDJET)
+Add_subdirectory(THydjet)
+endif(THYDJET)
Add_subdirectory(TOF)
Add_subdirectory(TPC)
Add_subdirectory(TRD)
#copy testing files
execute_process(COMMAND "cmake" "-E" "copy_directory" "${ALICE_ROOT}/test" "${ALICE_INSTALL}/test")
-message("Note : In order for the warnings test to execute successfully you need to log your make build output to make.log in the ALICE_INSTALL Directory using this command \n make -k > make.log 2>&1")
\ No newline at end of file
+message("Note : In order for the warnings test to execute successfully you need to log your make build output to make.log in the ALICE_INSTALL Directory using this command \n make -k > make.log 2>&1")
add_test("Violations" cmake -P Violation.cmake)
EndIf(RULE_CHECKER_FOUND)
add_subdirectory(gun)
-add_subdirectory(ppbench)
\ No newline at end of file
+add_subdirectory(ppbench)
+add_subdirectory(genkine)
+add_subdirectory(merge)
+add_subdirectory(pploadlibs)
+add_subdirectory(PbPbbench)
+add_subdirectory(pileup)
+