# Set AliRoot variables
set(CMAKE_VERBOSE_MAKEFILES OFF)
+#fix for MACOSX
+SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem")
+SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem")
+
set(ALICE_INSTALL $ENV{ALICE_INSTALL})
set(ALICE_ROOT $ENV{ALICE_ROOT})
set(ALICE_STATIC_BUILD OFF CACHE BOOL "Build also statics libs")
option (THYDJET "Build THydjet" OFF)
option (SHUTTLE "Build SHUTTLE" OFF)
-
+
+add_custom_target(STEER-all)
+add_custom_target(PHOS-all)
+add_custom_target(TRD-all)
+add_custom_target(TPC-all)
+add_custom_target(ZDC-all)
+add_custom_target(MUON-all)
+add_custom_target(PMD-all)
+add_custom_target(FMD-all)
+add_custom_target(TOF-all)
+add_custom_target(ITS-all)
+add_custom_target(ACORDE-all)
+add_custom_target(HMPID-all)
+add_custom_target(T0-all)
+add_custom_target(BCM-all)
+add_custom_target(STRUCT-all)
+add_custom_target(EVGEN-all)
+add_custom_target(RALICE-all)
+add_custom_target(VZERO-all)
+add_custom_target(THijing-all)
+add_custom_target(THbtp-all)
+add_custom_target(EMCAL-all)
+add_custom_target(THerwig-all)
+add_custom_target(TEPEMGEN-all)
+add_custom_target(FASTSIM-all)
+add_custom_target(TPHIC-all)
+add_custom_target(RAW-all)
+add_custom_target(MONITOR-all)
+add_custom_target(ANALYSIS-all)
+add_custom_target(JETAN-all)
+add_custom_target(HLT-all)
+add_custom_target(LHC-all)
+add_custom_target(ESDCheck-all)
+add_custom_target(STAT-all)
+add_custom_target(TTherminator-all)
+add_custom_target(CORRFW-all)
+add_custom_target(DPMJET-all)
+add_custom_target(TDPMjet-all)
+add_custom_target(PWG0-all)
+add_custom_target(PWG1-all)
+add_custom_target(PWG2-all)
+add_custom_target(PWG3-all)
+add_custom_target(PWG4-all)
+add_custom_target(TRIGGER-all)
+add_custom_target(TUHKMgen-all)
+add_custom_target(EPOS-all)
+add_custom_target(PYTHIA8-all)
+add_custom_target(EVE-all)
+add_custom_target(TFluka-all)
+add_custom_target(THydjet-all)
+add_custom_target(SHUTTLE-all)
+add_custom_target(LHAPDF-all)
+add_custom_target(HIJING-all)
+add_custom_target(MICROCERN-all)
+add_custom_target(HERWIG-all)
+add_custom_target(PYTHIA6-all)
+add_custom_target(ALIROOT-all)
+
+
+
# 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.