mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update cmake_build.py
This commit is contained in:
parent
689db5b032
commit
9affb3a214
@ -7,7 +7,12 @@ assert os.system("python prebuild.py") == 0
|
|||||||
if not os.path.exists("build"):
|
if not os.path.exists("build"):
|
||||||
os.mkdir("build")
|
os.mkdir("build")
|
||||||
|
|
||||||
config = 'Release'
|
assert len(sys.argv) <= 2
|
||||||
|
|
||||||
|
if len(sys.argv) == 2:
|
||||||
|
config = sys.argv[1]
|
||||||
|
else:
|
||||||
|
config = 'Release'
|
||||||
|
|
||||||
os.chdir("build")
|
os.chdir("build")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user