From 2642dec04c4b5454990a1da7fbc331633cd8e680 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 6 Jul 2019 20:49:31 +0200 Subject: [PATCH] Added generator for Windows --- jenkins/create_build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jenkins/create_build.sh b/jenkins/create_build.sh index 6b631bb..3dd53a4 100755 --- a/jenkins/create_build.sh +++ b/jenkins/create_build.sh @@ -57,7 +57,10 @@ function compile_native() { [[ ! -z "$tearoot_cmake_config" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$tearoot_cmake_config\"" [[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\"" - _command="cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}" + local _generator="" + [[ ${build_oy_type} ]] && _generator='-G"Visual Studio 15 2017 Win64"' + + _command="cmake ../../ ${_generator} -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}" echo "Executing cmake command $_command" eval ${_command} @@ -105,4 +108,4 @@ install_npm compile_scripts compile_native package_client -deploy_client \ No newline at end of file +deploy_client