Fixed build paths for windows

This commit is contained in:
WolverinDEV 2019-07-06 21:47:28 +02:00
parent b8dc9a698a
commit 005c67bb51

View File

@ -58,7 +58,7 @@ function compile_native() {
[[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\"" [[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\""
local _generator="" local _generator=""
[[ ${build_oy_type} == "win32" ]] && _generator='-G"Visual Studio 15 2017 Win64"' [[ ${build_os_type} == "win32" ]] && _generator='-G"Visual Studio 15 2017 Win64"'
_command="cmake ../../ ${_generator} -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}" _command="cmake ../../ ${_generator} -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}"
echo "Executing cmake command $_command" echo "Executing cmake command $_command"
@ -104,8 +104,8 @@ function deploy_client() {
end_task "${project_name}_package" "Client successfully deployed!" end_task "${project_name}_package" "Client successfully deployed!"
} }
install_npm #install_npm
compile_scripts #compile_scripts
compile_native compile_native
package_client package_client
deploy_client deploy_client