24 lines
464 B
Python
Executable File
24 lines
464 B
Python
Executable File
# import and create a copy of the environment so we don't change
|
|
# anyone else's env.
|
|
Import('irdb_env')
|
|
myenv = irdb_env.Clone()
|
|
|
|
#
|
|
# set input files and output program name
|
|
#
|
|
files = Glob(Dir('.').srcnode().abspath+"/*.cpp")
|
|
pgm_name = "initialize_stack.exe"
|
|
|
|
#
|
|
# build, install and return the program by default.
|
|
#
|
|
pgm = irdb_env.Program(pgm_name, files)
|
|
install = myenv.Install("$INSTALL_PATH/", pgm)
|
|
Default(install)
|
|
|
|
|
|
#
|
|
# and we're done
|
|
#
|
|
Return('install')
|