1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
# ------------------------------------------------------------------------------
import os
import sys
# ------------------------------------------------------------------------------
pathToRoot = "../../.."
sys.path.append(pathToRoot)
from BuildSupport import *
buildPath = buildDir()
binPath = join(buildPath, os.path.basename(os.getcwd()))
# ------------------------------------------------------------------------------
Import("env")
appEnv = env.Clone()
setupEnv(appEnv, pathToRoot)
addField3DInstall(appEnv, pathToRoot)
appEnv.VariantDir(buildPath, ".", duplicate = 0)
files = Glob(join(buildPath, "*.cpp"))
app = appEnv.Program(binPath, files)
appEnv.Default(app)
# ------------------------------------------------------------------------------
|