Skip to content
Snippets Groups Projects
Commit d4084b10 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Removed template stuff from CMake

	modified:   CMakeLists.txt
	modified:   bin/make_dawn_views
parent 9eb4f637
No related branches found
No related tags found
No related merge requests found
...@@ -13,12 +13,6 @@ find_package( DD4hep REQUIRED COMPONENTS DDCore DDG4 ) ...@@ -13,12 +13,6 @@ find_package( DD4hep REQUIRED COMPONENTS DDCore DDG4 )
#----------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------
set(a_lib_name reference_detector) set(a_lib_name reference_detector)
if("${PROJECT_NAME}" STREQUAL "reference_detector")
message(WARNING "
Current project and library is named reference_detector!
Please rename library to match corresponding detector implmentation.")
endif()
dd4hep_configure_output() dd4hep_configure_output()
dd4hep_add_plugin(${a_lib_name} SOURCES src/*.cpp dd4hep_add_plugin(${a_lib_name} SOURCES src/*.cpp
......
...@@ -35,7 +35,7 @@ SKIP_EVENTS=0 ...@@ -35,7 +35,7 @@ SKIP_EVENTS=0
DETECTOR_ONLY=0 DETECTOR_ONLY=0
FILE_TAG="view" FILE_TAG="view"
DAWN_RUN_DIR="scripts/view1" DAWN_RUN_DIR="scripts/view1"
DETECTOR_FILE="detector_template.xml" DETECTOR_FILE="reference_detector.xml"
POSITIONAL=() POSITIONAL=()
while [[ $# -gt 0 ]] while [[ $# -gt 0 ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment