Import Geant4 10.0.0 source tree
This commit is contained in:
+20
-23
@@ -1,4 +1,4 @@
|
||||
#------------------------------------------------------------------------------
|
||||
#-----------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4gl2ps
|
||||
# Package: Geant4.src.G4visualization..G4gl2ps
|
||||
@@ -11,50 +11,47 @@
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
# $Id: sources.cmake,v 1.5 2010-12-01 16:59:36 bmorgan Exp $
|
||||
# GEANT4 Tag $Name: not supported by cvs2svn $
|
||||
# $Id: sources.cmake 70646 2013-06-03 15:07:58Z gcosmo $
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/externals/zlib/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
|
||||
|
||||
# Must have GL headers available
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
|
||||
#
|
||||
# We need to add definitions depending on what GL drivers are built
|
||||
#
|
||||
if(GEANT4_USE_OPENGL)
|
||||
ADD_DEFINITIONS(-DG4VIS_BUILD_OPENGL_DRIVER)
|
||||
add_definitions(-DG4VIS_BUILD_OPENGL_DRIVER)
|
||||
endif()
|
||||
|
||||
if(GEANT4_USE_INVENTOR)
|
||||
ADD_DEFINITIONS(-DG4VIS_BUILD_OI_DRIVER)
|
||||
add_definitions(-DG4VIS_BUILD_OI_DRIVER)
|
||||
endif()
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4gl2ps
|
||||
HEADERS
|
||||
G4OpenGL2PSAction.hh
|
||||
Geant4_gl2ps.h
|
||||
gl2ps.h
|
||||
SOURCES
|
||||
G4OpenGL2PSAction.cc
|
||||
gl2ps.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4zlib
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4zlib
|
||||
LINK_LIBRARIES
|
||||
${OPENGL_LIBRARIES}
|
||||
)
|
||||
HEADERS
|
||||
G4OpenGL2PSAction.hh
|
||||
Geant4_gl2ps.h
|
||||
gl2ps.h
|
||||
SOURCES
|
||||
G4OpenGL2PSAction.cc
|
||||
gl2ps.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
GLOBAL_DEPENDENCIES
|
||||
LINK_LIBRARIES
|
||||
${ZLIB_LIBRARIES}
|
||||
${OPENGL_LIBRARIES}
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user