25 lines
838 B
CMake
25 lines
838 B
CMake
|
|
################################################################################
|
|
##### Vtk/HEP/Detectors - VTK wrappers for HEP Detectors objects ##############
|
|
################################################################################
|
|
|
|
## Sources and headers are exported to parent scope so they get compiled
|
|
## into the single mutomVtk shared library.
|
|
|
|
set(HEP_DETECTORS_SOURCES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vtkMuonScatter.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vtkMuonEvent.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vtkDetectorChamber.cxx
|
|
PARENT_SCOPE)
|
|
|
|
set(HEP_DETECTORS_HEADERS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vtkMuonScatter.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vtkMuonEvent.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vtkDetectorChamber.h
|
|
PARENT_SCOPE)
|
|
|
|
if(BUILD_TESTING)
|
|
include(uLibTargetMacros)
|
|
add_subdirectory(testing)
|
|
endif()
|