Files
geant4/examples/extended/parallel/TBB/CMakeLists.txt
T
2021-12-10 16:15:15 +00:00

13 lines
364 B
CMake

#---Adding examples subdirectories explicitly
# and a custom target to for building all basic examples -------------
cmake_minimum_required(VERSION 3.16...3.21)
if(GEANT4_BUILD_MULTITHREADED)
add_subdirectory(B2b)
add_custom_target(g4tbb DEPENDS exampleB2bTBB)
else()
message("-- G4 Examples: tbb examples require multithreaded build, disable")
endif()