Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets

- prebuilt library zip files now downloaded directly from Cloudflare to
  .dart_tool/dart_filament
- for Windows compatibility, we need to depend on a fork of
  native_toolchain_c (to support linking against non-import libs when
  creating a DLL)
This commit is contained in:
Nick Fisher
2024-06-09 00:06:09 +10:00
244 changed files with 96 additions and 382 deletions

View File

@@ -69,16 +69,11 @@ if(USE_ANGLE)
set_property(TARGET GLESv2 PROPERTY IMPORTED_IMPLIB_RELEASE "${CMAKE_SOURCE_DIR}/../../../../dart_filament/native/lib/windows/x86_64/mt/angle/libGLESv2.dll.lib")
else()
list(APPEND GL_LIBS
bluegl
opengl32
dwmapi
comctl32
)
set(ANGLE_OR_OPENGL_DIR opengl)
add_library(bluegl SHARED IMPORTED)
set_property(TARGET bluegl PROPERTY IMPORTED_IMPLIB_DEBUG "${CMAKE_SOURCE_DIR}/../../../../dart_filament/native/lib/windows/x86_64/mdd/bluegl.lib")
set_property(TARGET bluegl PROPERTY IMPORTED_IMPLIB_PROFILE "${CMAKE_SOURCE_DIR}/../../../../dart_filament/native/lib/windows/x86_64/mt/bluegl.lib")
set_property(TARGET bluegl PROPERTY IMPORTED_IMPLIB_RELEASE "${CMAKE_SOURCE_DIR}/../../../../dart_filament/native/lib/windows/x86_64/mt/bluegl.lib")
endif()
include_directories(

View File

@@ -1,6 +1,7 @@
#pragma comment(lib, "dxgi.lib")
#pragma comment(lib, "d3d11.lib")
#pragma comment(lib, "Shlwapi.lib")
#pragma comment(lib, "opengl32.lib")
#include "flutter_filament_plugin.h"