Commit adb358ee authored by Chad Lantz's avatar Chad Lantz
Browse files

Replaced individual Utils file install commands with install Utils directory command

parent 6af0532f
......@@ -46,6 +46,7 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmakeModules/)
#Root support
find_package (ROOT REQUIRED)
include_directories (${ROOT_INCLUDE_DIR})
set(ROOT_LIBRARIES "${ROOT_LIBRARIES} -lGenVector;")
#Xerces-C support
find_package (Xerces REQUIRED)
......@@ -59,7 +60,6 @@ TARGET_LINK_LIBRARIES(test_JZCaPA ${ROOT_LIBRARIES})
TARGET_LINK_LIBRARIES(test_JZCaPA ${XERCESC_LIBRARY})
#Subdirectory structure
#Analysis libraries and user functions
add_subdirectory(Analysis)
......@@ -76,24 +76,15 @@ endif (${JZCaPA_ENABLE_MC} MATCHES "YES")
install(TARGETS test_JZCaPA RUNTIME DESTINATION bin)
#Install doxygen files
install(FILES doxygen/JZCaPA_doxy.cnf DESTINATION doxygen)
install(FILES Utils/ConfigFile2018.xml DESTINATION Utils)
install(FILES Utils/Alignment_2018.xml DESTINATION Utils)
install(FILES Utils/ConfigFile2021.xml DESTINATION Utils)
install(FILES Utils/Alignment_2021.xml DESTINATION Utils)
install(FILES Utils/Survey_2018.xml DESTINATION Utils)
install(FILES Utils/ConfigFileMC.xml DESTINATION Utils)
install(FILES Utils/Alignment_MC.xml DESTINATION Utils)
install(FILES Utils/PurgMag3D.TABLE DESTINATION Utils)
install(FILES Utils/eposPTneut.root DESTINATION Utils)
install(FILES Utils/ZDC_AvsC.root DESTINATION Utils)
install(FILES Utils/calib_0234_2G_0.dat DESTINATION Utils)
install(FILES Utils/calib_10684_2G_1.dat DESTINATION Utils)
#Install MonteCarlo files
install(FILES MonteCarlo/geometry.mac DESTINATION bin)
install(FILES MonteCarlo/run1.mac DESTINATION bin)
install(FILES MonteCarlo/init_vis.mac DESTINATION bin)
install(FILES MonteCarlo/vis.mac DESTINATION bin)
install(FILES Utils/jcapa_env_lxplus.sh DESTINATION Utils)
install(FILES Utils/jzcapa_env_uiuc.sh DESTINATION Utils)
#Install Utilities folder
install(DIRECTORY Utils DESTINATION .)
#Create a results folder
install(DIRECTORY DESTINATION results)
install(DIRECTORY Utils/Timing_data DESTINATION Utils)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment