1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00

Add newline to cmake arguments

This commit is contained in:
Elias Steurer 2022-11-04 16:31:26 +01:00
parent dc773094e6
commit 04e34f9358

View File

@ -253,7 +253,8 @@ def build(build_config: BuildConfig, build_result: BuildResult) -> BuildResult:
-G "CodeBlocks - Ninja" \ -G "CodeBlocks - Ninja" \
-B.' -B.'
print(f"\n\n⚙️ CMake configure:\n{cmake_configure_command}\n\n") print(f"\n⚙️ CMake configure:\n", cmake_configure_command.replace(
"-D", "\n-D").replace("-G", "\n-G"), "\n")
run(cmake_configure_command, cwd=build_config.build_folder) run(cmake_configure_command, cwd=build_config.build_folder)
print(f"\n\n⚙️ CMake build:\n\n") print(f"\n\n⚙️ CMake build:\n\n")
run("cmake --build . --target all", cwd=build_config.build_folder) run("cmake --build . --target all", cwd=build_config.build_folder)