From 5aaf212d9a9761b9c2b0ddc565d18b61924c78a9 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Fri, 28 Mar 2025 14:17:18 +0800 Subject: [PATCH] update swift bindings output dir --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cc60302b..51710da3 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,12 @@ flutter-example-web: dart-web-clean dart-web flutter-example-macos: cd thermion_flutter_federated/thermion_flutter/example/web && flutter run -d macos swift-bindings: - swiftc -c thermion_flutter/thermion_flutter/macos/Classes/ThermionTexture.swift -module-name swift_module -emit-objc-header-path thermion_dart/native/include/generated/ThermionTextureSwiftObjCAPI.h -emit-library -o thermion_dart/test/libThermionTextureSwift.dylib + swiftc -c thermion_dart/native/macos/ThermionTexture.swift -module-name swift_module -emit-objc-header-path thermion_dart/native/include/generated/ThermionTextureSwiftObjCAPI.h -emit-library -o thermion_dart/test/libThermionTextureSwift.dylib cd thermion_dart/ && dart --enable-experiment=native-assets run ffigen --config ffigen/swift.yaml bindings: cd thermion_dart/ && dart --enable-experiment=native-assets run ffigen --config ffigen/native.yaml +shared: + cd thermion_dart/native && make # We compile a small set of custom materials for various helpers (background image, gizmo, etc) # You must specify the `FILAMENT_PATH` environment variable, either the path /out/release @@ -46,4 +48,4 @@ else done endif -FORCE: ; \ No newline at end of file +FORCE: ;