Skip to content

Commit 05e7a43

Browse files
committed
logging for cmake
1 parent ea0daf9 commit 05e7a43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lowtran/cmake.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import shutil
33
from pathlib import Path
44
import os
5+
import logging
56

67
__all__ = ["build"]
78

@@ -23,9 +24,9 @@ def build(source_dir: Path, build_dir: Path) -> None:
2324

2425
# %% Configure
2526
cmd = [cmake, f"-B{build_dir}", f"-S{source_dir}", f"-G{gen}"]
26-
27+
logging.info(" ".join(cmd))
2728
subprocess.check_call(cmd)
2829
# %% Build
2930
cmd = [cmake, "--build", str(build_dir), "--parallel"]
30-
31+
logging.info(" ".join(cmd))
3132
subprocess.check_call(cmd)

0 commit comments

Comments
 (0)