Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -1,7 +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()
|
||||
project(B1)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
@@ -23,7 +25,6 @@ endif()
|
||||
include(${Geant4_USE_FILE})
|
||||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Locate sources and headers for this project
|
||||
# NB: headers are included so they will show up in IDEs
|
||||
@@ -69,5 +70,3 @@ add_custom_target(B1 DEPENDS exampleB1)
|
||||
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
|
||||
#
|
||||
install(TARGETS exampleB1 DESTINATION bin)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user