-
Ole Hansen authored
- installation support (to SCONS_INSTALL_PREFIX, default $HOME/.local) - RPATH handling, similar to CMake, with option to install with RPATH - macOS support (linkflags, RPATH) - library versioning - support for decoder standalone test/example programs - support building against installation location - SCons support for SDK and plugins User plugins now use a standard SConstruct that should not need to be modified, and a minimal SConscript.py - Improved EVIO local build * removed platform dependences * cleaned up lots of bad Python * build as part of decoder build, similar to CMake
Ole Hansen authored- installation support (to SCONS_INSTALL_PREFIX, default $HOME/.local) - RPATH handling, similar to CMake, with option to install with RPATH - macOS support (linkflags, RPATH) - library versioning - support for decoder standalone test/example programs - support building against installation location - SCons support for SDK and plugins User plugins now use a standard SConstruct that should not need to be modified, and a minimal SConscript.py - Improved EVIO local build * removed platform dependences * cleaned up lots of bad Python * build as part of decoder build, similar to CMake
SConscript.py 726 B
###### Hall A SDK Main SConscript File #####
### Modify 'libname' and the list of source files 'src' as needed
from podd_util import build_library
Import ('baseenv')
# Library name (lib<libname>.so will be built)
libname = 'User'
# Sources (each must have a corresponding .h header file)
# This must be a space-separated string, not a Python list
src = """
UserApparatus.cxx UserDetector.cxx UserEvtHandler.cxx UserModule.cxx
UserScintillator.cxx SkeletonModule.cxx
"""
# Tell SCons to build this library from these sources.
# A ROOT dictionary, defined in <libname>_LinkDef.h, will be built as well.
# For more info, see the documention in $ANALYZER/site_scons/podd_util.py
build_library(baseenv, libname, src)