Added generator for Windows
This commit is contained in:
parent
301dfd2e7c
commit
2642dec04c
@ -57,7 +57,10 @@ function compile_native() {
|
|||||||
[[ ! -z "$tearoot_cmake_config" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$tearoot_cmake_config\""
|
[[ ! -z "$tearoot_cmake_config" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$tearoot_cmake_config\""
|
||||||
[[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\""
|
[[ ! -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"
|
echo "Executing cmake command $_command"
|
||||||
|
|
||||||
eval ${_command}
|
eval ${_command}
|
||||||
|
Loading…
Reference in New Issue
Block a user