Some more progress in cmake

Still have errors, currently not using apple-compile.sh building completely using cmake.
This commit is contained in:
Shahzain Ali 2022-12-02 22:26:10 +05:00
parent 008592f13b
commit c8dd12eb20
6 changed files with 306 additions and 22 deletions

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "wireguard-go-version.h"
#include "3rd/wireguard-apple/Sources/WireGuardKitGo/wireguard-go-version.h"
#include "3rd/wireguard-apple/Sources/WireGuardKitC/WireGuardKitC.h"
#include <stdbool.h>

View file

@ -37,7 +37,7 @@ public class Logger {
appVersion += " (\(appBuild))"
}
let goBackendVersion = WIREGUARD_GO_VERSION
let goBackendVersion = "1"
Logger.global?.log(message: "App version: \(appVersion); Go backend version: \(goBackendVersion)")
}
}