Skip to content
Snippets Groups Projects
Commit acf6973b authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

scripts; add cmake make_system_version option to define windows sdk version

Change-Id: I0a148e07d4a252715f1f2ffdf71feb92e2bfba44
parent ba5ba76b
Branches
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ def getVSEnvCmd(arch='x64', platform='', version=''):
def make_daemon(pkg_info, force, sdk_version, toolset):
cmake_script = 'cmake -DCMAKE_CONFIGURATION_TYPES="ReleaseLib_win32" -DCMAKE_VS_PLATFORM_NAME="x64" -G ' + getCMakeGenerator(getLatestVSVersion()) + ' -T $(DefaultPlatformToolset) -S ../../ -B ../../build-local'
cmake_script = 'cmake -DCMAKE_CONFIGURATION_TYPES="ReleaseLib_win32" -DCMAKE_SYSTEM_VERSION=' + sdk_version + ' -DCMAKE_VS_PLATFORM_NAME="x64" -G ' + getCMakeGenerator(getLatestVSVersion()) + ' -T $(DefaultPlatformToolset) -S ../../ -B ../../build-local'
root_logger.warning("Cmake generating vcxproj files")
result = getSHrunner().exec_batch(cmake_script)
if result[0] is not 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment