diff --git a/.gitignore b/.gitignore index c04c75a..357c080 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ reconstruction_benchmarks NPDet DD4hep Catch2 +afterburner juggler ip6 @@ -46,3 +47,4 @@ hepmc .ruby-version Gemfile.lock tags +.DS_Store diff --git a/build.sh b/build.sh index c800e0d..5045936 100755 --- a/build.sh +++ b/build.sh @@ -66,6 +66,7 @@ export CMAKE_PREFIX_PATH=$prefix:$CMAKE_PREFIX_PATH # module-specific options and preparation genOpts="" function genOpt() { genOpts+="-D$* "; } +sourcepath=$module case $module in EDM4eic) genOpt BUILD_DATA_MODEL=ON @@ -118,6 +119,10 @@ case $module in ;; Catch2) ;; + afterburner) + sourcepath=$module/cpp + genOpt HEPMC3_ROOTIO=ON + ;; esac ######################################## @@ -127,7 +132,7 @@ esac genOpt CMAKE_INSTALL_PREFIX=$prefix genOpts+=$extraOpts buildSys=$module/build -cmakeGen="cmake -S $module -B $buildSys $genOpts" +cmakeGen="cmake -S $sourcepath -B $buildSys $genOpts" # set build command buildOpts="-j $nproc"