Skip to content

Commit

Permalink
cmake: don't run ls -R on configuration (#601)
Browse files Browse the repository at this point in the history
This avoids polluted logs. Users can be directed to use `ls -R`, `find
.` or `cmake --trace` instead.
  • Loading branch information
veprbl authored Apr 14, 2023
1 parent 0fa3877 commit 11e728d
Show file tree
Hide file tree
Showing 63 changed files with 0 additions and 140 deletions.
12 changes: 0 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,10 @@ set(EICRECON_VERBOSE_CMAKE OFF)

# Add CMake additional functionality:
include(cmake/print_functions.cmake) # Helpers to print fancy headers, file names, etc
include(cmake/print_subdirectory_tree.cmake) # Prints processed subdirectories
include(cmake/jana_plugin.cmake) # Add common settings for plugins
list (APPEND CMAKE_MODULE_PATH ${EICRECON_SOURCE_DIR}/cmake) # Find Find<Modules>.cmake


# ------------------------------------------------------------------
print_grand_header(" B U I L D E I C R E C O N P A R T S ")
# ------------------------------------------------------------------
add_subdirectory( src/services )
add_subdirectory( src/algorithms )
add_subdirectory( src/benchmarks )
Expand All @@ -134,14 +130,6 @@ add_subdirectory( src/scripts )
add_subdirectory( src/tests )
add_subdirectory( src/utilities )



# Print what we had built
print_header("CMake processed subdirectories:")
print_subdirectory_tree()
message(STATUS "\n-------------------------------")


# Install all cmake helpers
include(CMakePackageConfigHelpers)
configure_package_config_file(cmake/EICreconConfig.cmake.in cmake/EICreconConfig.cmake INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/EICrecon)
Expand Down
7 changes: 0 additions & 7 deletions cmake/jana_plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ macro(plugin_glob_all _name)
message(STATUS "plugin_glob_all:${_name}: PLUGIN_RLTV_PATH ${PLUGIN_RELATIVE_PATH}")
endif()

# To somehow control GLOB lets at least PRINT files we are going to compile:
message(STATUS "Source files:")
print_file_names(" " ${PLUGIN_SRC_FILES}) # Prints source files
message(STATUS "Plugin-main file is: ${PLUGIN_CC_FILE}")
message(STATUS "Header files:")
print_file_names(" " ${HEADER_FILES}) # Prints header files

endmacro()


Expand Down
25 changes: 0 additions & 25 deletions cmake/print_subdirectory_tree.cmake

This file was deleted.

1 change: 0 additions & 1 deletion docs/design/cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Recommended CMake for a plugin:
cmake_minimum_required(VERSION 3.16)
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing
# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
1 change: 0 additions & 1 deletion docs/howto/make_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ cmake_minimum_required(VERSION 3.16)
# Automatically set plugin name the same as the direcotry name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing
# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
2 changes: 0 additions & 2 deletions src/algorithms/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
cmake_minimum_required(VERSION 3.16)

print_header(">>>> D I R E C T O R Y : algorithms <<<<") # Fancy printing

add_subdirectory( calorimetry )
add_subdirectory( tracking )
add_subdirectory( digi )
Expand Down
1 change: 0 additions & 1 deletion src/algorithms/calorimetry/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.16)

set(PLUGIN_NAME "algorithms_calorimetry")
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
1 change: 0 additions & 1 deletion src/algorithms/digi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.16)

set(PLUGIN_NAME "algorithms_digi")
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
1 change: 0 additions & 1 deletion src/algorithms/reco/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.16)

set(PLUGIN_NAME "algorithms_reco")
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
1 change: 0 additions & 1 deletion src/algorithms/tracking/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.16)

set(PLUGIN_NAME "algorithms_tracking")
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
2 changes: 0 additions & 2 deletions src/benchmarks/detectors/BEMCcheck/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(BEMCcheck)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
2 changes: 0 additions & 2 deletions src/benchmarks/detectors/RPOTScheck/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(RPOTScheck)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
2 changes: 0 additions & 2 deletions src/benchmarks/reconstruction/TRACKINGcheck/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(TRACKINGcheck)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
1 change: 0 additions & 1 deletion src/benchmarks/reconstruction/femc_studies/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically set plugin name the same as the directory name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically set plugin name the same as the directory name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically set plugin name the same as the directory name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically set plugin name the same as the directory name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically set plugin name the same as the directory name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/B0ECAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(B0ECAL)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/B0TRK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/BEMC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(BEMC)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
1 change: 0 additions & 1 deletion src/detectors/BHCAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ project(BHCAL)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/BTOF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/BTRK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/BVTX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/DRICH/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/ECGEM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/ECTOF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/ECTRK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/EEMC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ cmake_minimum_required(VERSION 3.16)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
1 change: 0 additions & 1 deletion src/detectors/EHCAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ project(EHCAL)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
1 change: 0 additions & 1 deletion src/detectors/FEMC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ project(FEMC)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/FHCAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(FHCAL)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/FOFFMTRK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/MPGD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME})
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/RPOTS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(RPOTS)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
2 changes: 0 additions & 2 deletions src/detectors/ZDC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(ZDC)
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)

print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} )
Expand Down
1 change: 0 additions & 1 deletion src/examples/log_example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically set plugin name the same as the directory name
# Don't forget string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in its name
get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy printing

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
Expand Down
13 changes: 0 additions & 13 deletions src/examples/track_matching/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,6 @@ endif()
# Add CMake additional functionality:
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) # Find Find<Modules>.cmake


# ------------------------------------------------------------------
print_grand_header(" B U I L D E I C R E C O N P A R T S ")
# ------------------------------------------------------------------


# Print what we had built
print_header("CMake processed subdirectories:")
print_subdirectory_tree()
message(STATUS "\n-------------------------------")



# include logging by default
find_package(spdlog REQUIRED)
find_package(fmt REQUIRED)
Expand Down
2 changes: 0 additions & 2 deletions src/global/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
cmake_minimum_required(VERSION 3.16)

print_header(">>>> D I R E C T O R Y : global <<<<") # Fancy printing

#add_subdirectory( calorimetry )
add_subdirectory( tracking )
add_subdirectory( digi )
Expand Down
Loading

0 comments on commit 11e728d

Please sign in to comment.