Skip to content

Commit 79c7787

Browse files
committed
SConstruct updated
1 parent 97931d7 commit 79c7787

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

SConstruct

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ os.environ["PKG_CONFIG_PATH"] = pkgpath
66
dirfile = "universal-pddl-parser/"
77

88
paths = [
9-
"bin/",
9+
"src/",
1010
dirfile,
1111
]
1212

1313
mains = [
14-
"bin/compile.cpp",
15-
"bin/compile_variable.cpp",
14+
"src/compile.cpp",
15+
"src/compile_variable.cpp",
1616
"main.cpp",
17+
"main_nir.cpp",
18+
"main_performance.cpp",
1719
dirfile + "Domain.cpp",
1820
]
1921

@@ -30,6 +32,7 @@ env = Environment( tools=["default"] )
3032
def print_cmd_line( commandline, target, source, env ) :
3133
sys.stdout.write( "\033[33m%s\033[0m\n"%commandline )
3234
sys.stdout.flush()
35+
3336
env['PRINT_CMD_LINE_FUNC'] = print_cmd_line
3437

3538
env.AppendUnique(
@@ -46,13 +49,20 @@ env.AppendUnique(
4649
)
4750

4851
fastdownward = env.Command( 'fast-downward.out',[], './PLANNERS/fast-downward/src/build_all' )
49-
compile = env.Program( "bin/compile", sources + ["bin/compile.cpp"] )
50-
compileVariable = env.Program( "bin/compile_variable", sources + ["bin/compile_variable.cpp"] )
52+
compile = env.Program( "bin/compile", sources + ["src/compile.cpp"] )
53+
compileVariable = env.Program( "bin/compile_variable", sources + ["src/compile_variable.cpp"] )
5154
main = env.Program( "main", sources + ["main.cpp"] )
55+
main_nir = env.Program( "main_nir", sources + ["main_nir.cpp"] )
56+
main_perf = env.Program( "main_perf", sources + ["main_performance.cpp"] )
5257
uniparser = env.Program("universal-pddl-parser/Domain", sources + ["universal-pddl-parser/Domain.cpp"] )
58+
#clean = env.Command('src/*.o',[],'rm src/*.o *.o')
5359

5460
env.AlwaysBuild( fastdownward )
5561
env.AlwaysBuild( compile )
5662
env.AlwaysBuild( compileVariable )
5763
env.AlwaysBuild( main )
64+
env.AlwaysBuild( main_nir )
65+
env.AlwaysBuild( main_perf )
5866
env.AlwaysBuild( uniparser )
67+
#env.AlwaysBuild( clean )
68+

0 commit comments

Comments
 (0)