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,6 +7,11 @@ assert os.system("python prebuild.py") == 0
|
||||
if not os.path.exists("build"):
|
||||
os.mkdir("build")
|
||||
|
||||
assert len(sys.argv) <= 2
|
||||
|
||||
if len(sys.argv) == 2:
|
||||
config = sys.argv[1]
|
||||
else:
|
||||
config = 'Release'
|
||||
|
||||
os.chdir("build")
|
||||
|
Loading…
x
Reference in New Issue
Block a user