Clean debug print and make it compatible with python3.5

This commit is contained in:
mio 2021-10-05 13:48:26 +02:00
parent d6993e02c4
commit aff9c9dc48
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 1 additions and 2 deletions

View File

@ -123,8 +123,7 @@ def build_libraries():
if not os.path.exists(BUILD_DIR):
os.mkdir(BUILD_DIR)
subprocess.call(['cmake', '-B', BUILD_DIR, '-G', "Visual Studio 16 2019", "-A", plat, f"-DCMAKE_BUILD_TYPE={conf}"])
print(BUILD_DIR)
subprocess.call(['cmake', '-B', BUILD_DIR, '-G', "Visual Studio 16 2019", "-A", plat, "-DCMAKE_BUILD_TYPE=" + conf])
subprocess.call(['msbuild', 'unicorn.sln', '-m', '-p:Platform=' + plat, '-p:Configuration=' + conf], cwd=BUILD_DIR)
obj_dir = os.path.join(BUILD_DIR, conf)