diff --git a/jenkins/create_build.sh b/jenkins/create_build.sh index 7b9a5f6..05cd3d8 100755 --- a/jenkins/create_build.sh +++ b/jenkins/create_build.sh @@ -39,9 +39,9 @@ function compile_native() { check_err_exit ${project_name} "Failed to enter build directory!" local _arguments="" - [[ ! -z "$module_path" ]] && _arguments="${_arguments} -DCMAKE_MODULE_PATH=\"$module_path\"" - [[ ! -z "$platform_include" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$platform_include\"" - [[ ! -z "$library_path" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$library_path\"" + [[ ! -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\"" cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments} check_err_exit ${project_name} "Failed create build targets!"