Skip to content

Commit

Permalink
running handy migration script provided by SciSoft team
Browse files Browse the repository at this point in the history
  • Loading branch information
chilge committed Dec 8, 2022
1 parent 1b20a8a commit 4bc7352
Show file tree
Hide file tree
Showing 11 changed files with 575 additions and 198 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message(STATUS "")

set(CMAKE_MODULE_PATH $ENV{CANVAS_ROOT_IO_DIR}/Modules
$ENV{CETBUILDTOOLS_DIR}/Modules
${CMAKE_MODULE_PATH})
${CMAKE_MODULE_PATH}) ### MIGRATE-ACTION-RECOMMENDED (migrate-3.20.00) - prefer find_package() to find external CMake modules

include(CetCMakeEnv)
cet_cmake_env()
Expand Down
4 changes: 2 additions & 2 deletions sbnci/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cet_find_library( BOOST_SERIALIZATION NAMES boost_serialization PATHS ENV BOOST_LIB NO_DEFAULT_PATH )
cet_find_library( BOOST_DATE_TIME NAMES boost_date_time PATHS ENV BOOST_LIB NO_DEFAULT_PATH )
cet_find_library( BOOST_SERIALIZATION NAMES boost_serialization PATHS ENV BOOST_LIB NO_DEFAULT_PATH ) ### MIGRATE-ACTION-REQUIRED (migrate-3.20.00) - avoid: use find_package() with custom Find<pkg>.cmake for Spack compatibility
cet_find_library( BOOST_DATE_TIME NAMES boost_date_time PATHS ENV BOOST_LIB NO_DEFAULT_PATH ) ### MIGRATE-ACTION-REQUIRED (migrate-3.20.00) - avoid: use find_package() with custom Find<pkg>.cmake for Spack compatibility

add_subdirectory(Common)
if(SBND)
Expand Down
2 changes: 1 addition & 1 deletion sbnci/ICARUS/PlottingScripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set( ${product}_script_dir "${product}/${version}/ICARUS/scripts" )
set( ${product}_script_dir "ICARUS/scripts" ) ### MIGRATE-CHANGED (migrate-3.20.00) - ${product}/+${version}/* -> ""
FILE( GLOB plot_scripts sbnciplot*.C )
install( FILES ${plot_scripts} DESTINATION ${${product}_script_dir} )
2 changes: 1 addition & 1 deletion sbnci/ICARUS/thresholds/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set( ${product}_threshold_dir "${product}/${version}/ICARUS/thresholds" )
set( ${product}_threshold_dir "ICARUS/thresholds" ) ### MIGRATE-CHANGED (migrate-3.20.00) - ${product}/+${version}/* -> ""
FILE( GLOB threshold_files *ComparisonChiSquareTh.txt )
install( FILES ${threshold_files} DESTINATION ${${product}_threshold_dir} )
2 changes: 1 addition & 1 deletion sbnci/SBND/PlottingScripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set( ${product}_script_dir "${product}/${version}/SBND/scripts" )
set( ${product}_script_dir "SBND/scripts" ) ### MIGRATE-CHANGED (migrate-3.20.00) - ${product}/+${version}/* -> ""
FILE( GLOB plot_scripts sbnciplot*.C )
install( FILES ${plot_scripts} DESTINATION ${${product}_script_dir} )
2 changes: 1 addition & 1 deletion sbnci/SBND/thresholds/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set( ${product}_threshold_dir "${product}/${version}/SBND/thresholds" )
set( ${product}_threshold_dir "SBND/thresholds" ) ### MIGRATE-CHANGED (migrate-3.20.00) - ${product}/+${version}/* -> ""
FILE( GLOB threshold_files *ComparisonChiSquareTh.txt )
install( FILES ${threshold_files} DESTINATION ${${product}_threshold_dir} )
5 changes: 0 additions & 5 deletions ups/CMakeLists.txt

This file was deleted.

11 changes: 0 additions & 11 deletions ups/product-config.cmake.in

This file was deleted.

0 comments on commit 4bc7352

Please sign in to comment.