Accomodate for setting a different CMAKE_GENERATOR in the environment.
This makes sure the right build utility is called, depending on the value of the CMAKE_GENERATOR environment.
This commit is contained in:
@ -134,7 +134,7 @@ def build_libraries():
|
|||||||
subprocess.check_call(["cmake", '-B', BUILD_DIR, "-DCMAKE_BUILD_TYPE=" + conf])
|
subprocess.check_call(["cmake", '-B', BUILD_DIR, "-DCMAKE_BUILD_TYPE=" + conf])
|
||||||
os.chdir(BUILD_DIR)
|
os.chdir(BUILD_DIR)
|
||||||
threads = os.getenv("THREADS", "4")
|
threads = os.getenv("THREADS", "4")
|
||||||
subprocess.check_call(["make", "-j" + threads])
|
subprocess.check_call(["cmake", "--build", ".", "-j" + threads])
|
||||||
|
|
||||||
shutil.copy(LIBRARY_FILE, LIBS_DIR)
|
shutil.copy(LIBRARY_FILE, LIBS_DIR)
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user