From ca8b46b59082ab6d52120cef865224046b813af5 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 5 Jul 2019 21:26:44 +0200 Subject: [PATCH] Updated build script --- jenkins/create_build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkins/create_build.sh b/jenkins/create_build.sh index aa79fe5..1603bbe 100755 --- a/jenkins/create_build.sh +++ b/jenkins/create_build.sh @@ -45,9 +45,11 @@ function compile_native() { [[ ! -z "$tearoot_cmake_module" ]] && _arguments="${_arguments} -DCMAKE_MODULE_PATH=\"$tearoot_cmake_module\"" [[ ! -z "$tearoot_cmake_config" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$tearoot_cmake_config\"" [[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\"" - echo "Native arguments: ${_arguments:1}" - cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments:1} + _command="cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}" + echo "Executing cmake command $_command" + + eval ${_command} check_err_exit ${project_name} "Failed create build targets!" cmake --build `pwd` --target teaclient_connection -- -j 12