Skip to content
Snippets Groups Projects
Commit 2fe9e7b4 authored by Yessica Dominguez's avatar Yessica Dominguez
Browse files

Upload New File

parent 50363d4b
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(Simulation)
find_package(Geant4 REQUIRED ui_all vis_all)
include(${Geant4_USE_FILE})
file(GLOB sources ${PROJECT_SOURCE_DIR}/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/*.hh)
add_executable(sim sim.cc ${sources} ${headers})
target_link_libraries(sim ${Geant4_LIBRARIES})
file(GLOB MACRO_FILES
"*.mac"
)
file(COPY ${MACRO_FILES} DESTINATION ${PROJECT_BINARY_DIR})
file(GLOB DATA_FILES
"*.dat"
"salidasimu.shw.bz2"
#"pruebaSalida.shw.bz2"
"input.in"
)
file(COPY ${DATA_FILES} DESTINATION ${PROJECT_BINARY_DIR})
add_custom_target(Simulation DEPENDS sim)
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