Updated build script
This commit is contained in:
parent
2ac12a77b8
commit
ca8b46b590
@ -45,9 +45,11 @@ function compile_native() {
|
|||||||
[[ ! -z "$tearoot_cmake_module" ]] && _arguments="${_arguments} -DCMAKE_MODULE_PATH=\"$tearoot_cmake_module\""
|
[[ ! -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 "$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\""
|
||||||
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!"
|
check_err_exit ${project_name} "Failed create build targets!"
|
||||||
|
|
||||||
cmake --build `pwd` --target teaclient_connection -- -j 12
|
cmake --build `pwd` --target teaclient_connection -- -j 12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user