Added more logging to setup.py

This commit is contained in:
Davis King 2018-01-17 07:37:21 -05:00
parent 63f430abfc
commit d984a1f42d
1 changed files with 2 additions and 1 deletions

View File

@ -147,8 +147,9 @@ class CMakeBuild(build_ext):
if not os.path.exists(build_folder):
os.makedirs(build_folder)
print("Invoking CMake: '{}'".format(['cmake', ext.sourcedir] + cmake_args))
print("Invoking CMake setup: '{}'".format(['cmake', ext.sourcedir] + cmake_args))
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=build_folder)
print("Invoking CMake build: '{}'".format(['cmake', '--build', '.'] + build_args))
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=build_folder)