Makefile/README updates

This commit is contained in:
Nick Fisher
2023-11-09 12:24:22 +08:00
parent a1f2b245ff
commit 76f723c497
2 changed files with 8 additions and 11 deletions

View File

@@ -1,17 +1,18 @@
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(dir $(mkfile_path))
parent_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/../..)
parent_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..)
filament_build_out := $(parent_dir)/filament/out/cmake-release
# building on MacOS, we currently just delete the macos/include
# and macos/src directories and copy from iOS
macos:
rm -rf ${current_dir}include
cp -R ${current_dir}../ios/include ${current_dir}
rm -rf ${current_dir}macos/src
cp -R ${current_dir}../ios/src ${current_dir}
sync-macos: FORCE
rm -rf ${current_dir}macos/include ${current_dir}macos/src
cp -R ${current_dir}ios/include ${current_dir}macos
cp -R ${current_dir}ios/src ${current_dir}macos
FORCE: ;
# We use a single material (no lighting and no transparency) for background images
#

View File

@@ -390,13 +390,9 @@ Project structure:
e.g.
```
cd macos && make
make sync-macos
```
- Android keeps a separate copy of ALL headers (because it's currently running a different version of Filament, earlier versions have some texture filtering issues)
-- can't symlink either?
--- IMPORTANT - current version only works on Flutter 3.15.0-15.2.pre / Filament v1.43.1
- Note also need to specifically build imageio/png/tinyexr
- if release build, then need to comment out -fno-exceptions