Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
parser = argparse.ArgumentParser('Configures the project.')
parser.add_argument('--spcomp-dir',
help = 'Directory with the SourcePawn compiler. Will check PATH if not specified.')
parser.add_argument('--build-dir',
help = 'Directory to put build files. Will be ./build if not specified.')

args = parser.parse_args()

Expand Down Expand Up @@ -60,7 +62,7 @@
vars = {
'configure_args': sys.argv[1:],
'root': '.',
'builddir': 'build',
'builddir': args.build_dir or 'build',
'spcomp': spcomp,
'spcflags': [ '-i${root}/scripting/include', '-h', '-v0' ]
}
Expand Down