Use more modern -S for specifying CMake source dir

This commit is contained in:
Chris Thrasher
2025-04-26 10:59:42 -06:00
parent 8cfca70ae8
commit 5c97a8583d
6 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ import subprocess
def configure_and_build(source_path: str, project_path: str, options: List[Tuple[str, str]]):
base_configure_cmd = ['cmake',
'-B{}'.format(project_path),
'-H{}'.format(source_path),
'-S{}'.format(source_path),
'-DCMAKE_BUILD_TYPE=Debug',
'-DCATCH_DEVELOPMENT_BUILD=ON']
for option, value in options: