aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/utils.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/project/utils.py b/project/utils.py
index a766f90..9d986b0 100644
--- a/project/utils.py
+++ b/project/utils.py
@@ -42,6 +42,10 @@ def run(cmd_line):
return subprocess.run(cmd_line, check=True)
+def run_cmake(cmake_args):
+ return run(['cmake'] + cmake_args)
+
+
def on_windows():
return platform.system() == 'Windows'