Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /JETSCAPE/external_packages/trento/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Compile everything except the main source file into a static lib to be linked
0002 # to both the main executable and the tests.
0003 add_library(${LIBRARY_NAME} STATIC
0004   collider.cxx
0005   event.cxx
0006   hdf5_utils.cxx
0007   nucleon.cxx
0008   nucleus.cxx
0009   output.cxx
0010   random.cxx
0011 )
0012 set_target_properties(${LIBRARY_NAME} PROPERTIES PREFIX "")
0013 
0014 # Compile the actual executable.
0015 set(MAIN trento.cxx)
0016 set_source_files_properties(${MAIN} PROPERTIES
0017   COMPILE_DEFINITIONS "TRENTO_VERSION_STRING=\"${PROJECT_VERSION}\"")
0018 add_executable(${PROJECT_NAME} ${MAIN})
0019 target_link_libraries(${PROJECT_NAME} ${LIBRARY_NAME} ${Boost_LIBRARIES} ${HDF5_LIBRARIES} ${GSL_LIBRARIES} ${GSLCBLAS_LIBRARIES})
0020 
0021 install(TARGETS ${PROJECT_NAME} DESTINATION bin)