Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# - build library
|
||||
|
||||
link_directories (${GEANT4_LIBRARY_DIR})
|
||||
|
||||
if(GEANT4_HAS_GDML)
|
||||
add_definitions(-DENABLE_GDML)
|
||||
endif()
|
||||
|
||||
# library
|
||||
set(_TARGET pyG4gdml)
|
||||
add_library(
|
||||
${_TARGET} SHARED
|
||||
pyG4GDMLParser.cc
|
||||
pymodG4g4gdml.cc
|
||||
)
|
||||
|
||||
set_target_properties(${_TARGET} PROPERTIES PREFIX "")
|
||||
set_target_properties(${_TARGET} PROPERTIES OUTPUT_NAME "G4gdml")
|
||||
set_target_properties(${_TARGET}
|
||||
PROPERTIES INSTALL_RPATH
|
||||
${GEANT4_LIBRARY_DIR}
|
||||
BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
|
||||
target_link_libraries (${_TARGET}
|
||||
${GEANT4_LIBRARIES_WITH_VIS} boost_python)
|
||||
|
||||
# install
|
||||
install(TARGETS ${_TARGET} LIBRARY DESTINATION ${G4MODULES_INSTALL_DIR})
|
||||
@@ -1,5 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.4 2008-12-01 09:20:25 kmura Exp $
|
||||
# $Name: not supported by cvs2svn $
|
||||
# $Id: GNUmakefile 76884 2013-11-18 12:54:03Z gcosmo $
|
||||
# ===========================================================
|
||||
# Makefile for building Geant4Py modules
|
||||
# ===========================================================
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4GDMLParser.cc,v 1.5 2010-12-02 08:24:22 kmura Exp $
|
||||
// $Name: not supported by cvs2svn $
|
||||
// $Id: pyG4GDMLParser.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// ====================================================================
|
||||
// pyG4GDMLParser.cc
|
||||
//
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pymodG4g4gdml.cc,v 1.3 2008-12-03 06:54:39 kmura Exp $
|
||||
// $Name: not supported by cvs2svn $
|
||||
// $Id: pymodG4g4gdml.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// ====================================================================
|
||||
// pymodG4g4gdml.cc [Geant4Py module]
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user