Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#----------------------------------------------------------------------------
|
||||
# Setup the project
|
||||
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.8...3.18)
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.12)
|
||||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
||||
endif()
|
||||
set(name microelectronics)
|
||||
project(${name})
|
||||
|
||||
@@ -27,7 +30,7 @@ include(${Geant4_USE_FILE})
|
||||
include_directories(${PROJECT_SOURCE_DIR}/include ${Geant4_INCLUDE_DIR})
|
||||
|
||||
file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
|
||||
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
|
||||
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the executable, and link it to the Geant4 libraries
|
||||
@@ -42,7 +45,7 @@ target_link_libraries(${name} ${Geant4_LIBRARIES})
|
||||
#
|
||||
set(MICROELECTRONICS_SCRIPTS
|
||||
microelectronics.mac
|
||||
microelectronics.in
|
||||
microelectronics.in
|
||||
vis.mac
|
||||
plot.C
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user