diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 091f0205..e8a5e0f0 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -27,23 +27,6 @@ qt_standard_project_setup() if(IOS) 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() # silent builds on CI env @@ -344,8 +327,6 @@ if(IOS) add_compile_definitions(MVPN_IOS) - message("shahzain ${CMAKE_CURRENT_LIST_DIR}") - set(HEADERS ${HEADERS} ${CMAKE_CURRENT_LIST_DIR}/protocols/ios_vpnprotocol.h ${CMAKE_CURRENT_LIST_DIR}/platforms/ios/iosnotificationhandler.h diff --git a/client/scripts/openvpn.sh b/client/scripts/openvpn.sh index e6af6f36..2da9e1e8 100644 --- a/client/scripts/openvpn.sh +++ b/client/scripts/openvpn.sh @@ -13,9 +13,9 @@ EOF cd 3rd/OpenVPNAdapter 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 - killProcess "OpenVPNAdapter build failed" + echo "OpenVPNAdapter build failed" fi cd ../../