Files
geant4/examples/extended/biasing/B01/CMakeLists.txt
T
2016-06-09 16:46:55 +02:00

12 lines
387 B
CMake

cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(exampleB01)
find_package(Geant4 REQUIRED)
include(${Geant4_USE_FILE})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${Geant4_INCLUDE_DIR})
file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cc)
add_executable(exampleB01 EXCLUDE_FROM_ALL exampleB01.cc ${sources})
target_link_libraries(exampleB01 ${Geant4_LIBRARIES})