input system rework
This commit is contained in:
1 parent
4efe80bb5a
commit
02b5ac4cc3
27 files changed
+293
-786
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#!/bin/env python3
|
||||
|
||||
from subprocess import getoutput, run
|
||||
from os import getcwd
|
||||
from os.path import expandvars
|
||||
from pathlib import Path
|
||||
from sys import argv
|
||||
@@ -22,6 +23,7 @@ cmake += ["-B", "build"]
|
||||
# TODO: have it --fast instead, where separate --no-debug would mean stripping the debug info
|
||||
if "--release" in argv:
|
||||
cmake += ["-DCMAKE_BUILD_TYPE=Release"]
|
||||
cmake += [f"-DTWN_OUT_DIR={getcwd()}"]
|
||||
# pass arbitrary arguments over
|
||||
if "--" in argv:
|
||||
cmake += argv[argv.index("--")+1:]
|
||||
|
||||
Reference in new issue
Block a user