getting openvpn.sh script message.
This commit is contained in:
parent
48fa3c8aec
commit
ad3bbaedb3
2 changed files with 2 additions and 21 deletions
|
@ -27,23 +27,6 @@ qt_standard_project_setup()
|
||||||
if(IOS)
|
if(IOS)
|
||||||
execute_process(COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/scripts/openvpn.sh)
|
execute_process(COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/scripts/openvpn.sh)
|
||||||
|
|
||||||
# add_custom_command(
|
|
||||||
# # On Visual Studio Generators, run before any other rules are executed within the target. On other generators, run just before PRE_LINK commands
|
|
||||||
# OUTPUT ${TEST_FILE}
|
|
||||||
# PRE_BUILD
|
|
||||||
|
|
||||||
# COMMAND echo -e ${CMAKE_CURRENT_LIST_DIR}/scripts/openvpn.sh
|
|
||||||
# COMMENT "This command will be executed before building bar"
|
|
||||||
# VERBATIM # to support \t for example
|
|
||||||
# )
|
|
||||||
## ADD_CUSTOM_COMMAND(
|
|
||||||
## OUTPUT ${TEST_FILE}
|
|
||||||
## COMMAND ${CMAKE_CURRENT_LIST_DIR}/scripts/openvpn.sh
|
|
||||||
## COMMENT "Building OpenVPN"
|
|
||||||
## )
|
|
||||||
|
|
||||||
message(STATUS "${openvpnlogs}")
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# silent builds on CI env
|
# silent builds on CI env
|
||||||
|
@ -344,8 +327,6 @@ if(IOS)
|
||||||
|
|
||||||
add_compile_definitions(MVPN_IOS)
|
add_compile_definitions(MVPN_IOS)
|
||||||
|
|
||||||
message("shahzain ${CMAKE_CURRENT_LIST_DIR}")
|
|
||||||
|
|
||||||
set(HEADERS ${HEADERS}
|
set(HEADERS ${HEADERS}
|
||||||
${CMAKE_CURRENT_LIST_DIR}/protocols/ios_vpnprotocol.h
|
${CMAKE_CURRENT_LIST_DIR}/protocols/ios_vpnprotocol.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/platforms/ios/iosnotificationhandler.h
|
${CMAKE_CURRENT_LIST_DIR}/platforms/ios/iosnotificationhandler.h
|
||||||
|
|
|
@ -13,9 +13,9 @@ EOF
|
||||||
|
|
||||||
cd 3rd/OpenVPNAdapter
|
cd 3rd/OpenVPNAdapter
|
||||||
if $XCODEBUILD -scheme OpenVPNAdapter -configuration Release -xcconfig Configuration/amnezia.xcconfig -sdk iphoneos -destination 'generic/platform=iOS' -project OpenVPNAdapter.xcodeproj ; then
|
if $XCODEBUILD -scheme OpenVPNAdapter -configuration Release -xcconfig Configuration/amnezia.xcconfig -sdk iphoneos -destination 'generic/platform=iOS' -project OpenVPNAdapter.xcodeproj ; then
|
||||||
print Y "OpenVPNAdapter built successfully"
|
echo "OpenVPNAdapter built successfully"
|
||||||
else
|
else
|
||||||
killProcess "OpenVPNAdapter build failed"
|
echo "OpenVPNAdapter build failed"
|
||||||
fi
|
fi
|
||||||
cd ../../
|
cd ../../
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue