]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/sim/CMakeLists.txt
New CMake build implementation
[u/mrichter/AliRoot.git] / HLT / sim / CMakeLists.txt
index 7535aa4ee63896cc41eb50de228652bc24b59d35..5e7b93c0c5f076609b68c36de78e95c68bee416b 100644 (file)
@@ -33,9 +33,7 @@ include_directories(${ROOT_INCLUDE_DIRS}
 
 # Sources in alphabetical order
 set(SRCS
-    AliHLTSimulation.cxx
     AliHLTAgentSim.cxx
-    AliHLTOUTComponent.cxx
    )
 
 # Headers from sources
@@ -48,7 +46,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
 # Dependecies
-set(LIBDEPS STEERBase STEER ESD CDB RAWDatabase RAWDatarec HLTbase AliHLTHOMER)
+set(LIBDEPS HLTbase)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
 set(LIBHLTSIM_VERSION "1")
@@ -58,7 +56,8 @@ add_definitions("-DLIBHLTSIM_VERSION=${LIBHLTSIM_VERSION}")
 add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
 
 # Additional compilation flags
-set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "")
+target_link_libraries(${MODULE} HLTbase)
 
 # System dependent: Modify the way the library is build
 if(${CMAKE_SYSTEM} MATCHES Darwin)