2025-02-26 18:48:49 +01:00

37 lines
864 B
Python
Executable File

import os
#
# import the environment and clone it so we can make changes.
#
Import('env')
irdb_env = env.Clone()
#
# These settings are recommended, but you can choose what you like
#
# be strict about syntax/warnings
irdb_env.Append(CXXFLAGS=" -Wall -Werror -fmax-errors=2 ")
# link against core and transform libraries
irdb_env.Append(LIBS=Split("irdb-core irdb-transform"))
# be able to include the SDK files
irdb_env.Append(CPPPATH=" $IRDB_SDK/include ")
# this is where the libraries are.
irdb_env.Append(LIBPATH=Split(" $IRDB_LIBS "))
# this is where to place plugins.
irdb_env.Replace(INSTALL_PATH=os.environ['PWD']+"/plugins_install")
#
# export the new environment for children sub-conscripts
#
Export('irdb_env')
#
# include the children sconscript files.
#
libs = irdb_env.SConscript("./transforms/SConscript")
#
# And we are done
#
Return('libs')