Updated build script #2
This commit is contained in:
parent
1d450d51f3
commit
732b956fd8
@ -39,9 +39,9 @@ function compile_native() {
|
|||||||
check_err_exit ${project_name} "Failed to enter build directory!"
|
check_err_exit ${project_name} "Failed to enter build directory!"
|
||||||
|
|
||||||
local _arguments=""
|
local _arguments=""
|
||||||
[[ ! -z "$module_path" ]] && _arguments="${_arguments} -DCMAKE_MODULE_PATH=\"$module_path\""
|
[[ ! -z "$tearoot_cmake_module" ]] && _arguments="${_arguments} -DCMAKE_MODULE_PATH=\"$tearoot_cmake_module\""
|
||||||
[[ ! -z "$platform_include" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$platform_include\""
|
[[ ! -z "$tearoot_cmake_config" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$tearoot_cmake_config\""
|
||||||
[[ ! -z "$library_path" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$library_path\""
|
[[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\""
|
||||||
cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}
|
cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}
|
||||||
check_err_exit ${project_name} "Failed create build targets!"
|
check_err_exit ${project_name} "Failed create build targets!"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user