@@ -298,6 +298,7 @@ string AndroidHome
298
298
. AssertZeroExitCode ( ) ;
299
299
InheritedShell ( build , GLFWPath )
300
300
. AssertZeroExitCode ( ) ;
301
+
301
302
CopyAll ( @out . GlobFiles ( "src/Release/glfw3.dll" ) , runtimes / "win-x64" / "native" ) ;
302
303
303
304
EnsureCleanDirectory ( @out ) ;
@@ -308,6 +309,15 @@ string AndroidHome
308
309
. AssertZeroExitCode ( ) ;
309
310
310
311
CopyAll ( @out . GlobFiles ( "src/Release/glfw3.dll" ) , runtimes / "win-x86" / "native" ) ;
312
+
313
+ EnsureCleanDirectory ( @out ) ;
314
+
315
+ InheritedShell ( $ "{ prepare } -A arm64", GLFWPath )
316
+ . AssertZeroExitCode ( ) ;
317
+ InheritedShell ( build , GLFWPath )
318
+ . AssertZeroExitCode ( ) ;
319
+
320
+ CopyAll ( @out . GlobFiles ( "src/Release/glfw3.dll" ) , runtimes / "win-arm64" / "native" ) ;
311
321
}
312
322
else if ( OperatingSystem . IsLinux ( ) )
313
323
{
@@ -345,40 +355,40 @@ string AndroidHome
345
355
Target VulkanLoader => CommonTarget
346
356
(
347
357
x => x . Before ( Compile )
348
- . After ( Clean )
349
- . Executes
350
- (
351
- ( ) =>
352
- {
353
- var @out = VulkanLoaderPath / "build" ;
354
- EnsureCleanDirectory ( @out ) ;
355
- var abi = OperatingSystem . IsWindows ( ) ? " -DCMAKE_GENERATOR_PLATFORM=Win32" : string . Empty ;
356
- InheritedShell
357
- (
358
- $ "cmake -S. -Bbuild -DUPDATE_DEPS=On -DCMAKE_BUILD_TYPE=Release{ abi } ",
359
- VulkanLoaderPath
360
- )
361
- . AssertZeroExitCode ( ) ;
362
- InheritedShell ( $ "cmake --build build --config Release{ JobsArg } ", VulkanLoaderPath )
363
- . AssertZeroExitCode ( ) ;
364
- var runtimes = RootDirectory / "src" / "Native" / "Silk.NET.Vulkan.Loader.Native" / "runtimes" ;
365
- if ( OperatingSystem . IsWindows ( ) )
366
- {
367
- CopyAll ( @out . GlobFiles ( "loader/Release/vulkan-1.dll" ) , runtimes / "win-x64" / "native" ) ;
368
- CopyAll ( @out . GlobFiles ( "loader/Release/vulkan-1.dll" ) , runtimes / "win-x86" / "native" ) ;
369
- }
370
- else
371
- {
372
- CopyAll
373
- (
374
- @out . GlobFiles ( "loader/libvulkan.so" , "loader/libvulkan.dylib" ) ,
375
- runtimes / ( OperatingSystem . IsMacOS ( ) ? "osx-x64" : "linux-x64" ) / "native"
376
- ) ;
377
- }
378
-
379
- PrUpdatedNativeBinary ( "Vulkan Loader" ) ;
380
- }
381
- )
358
+ . After ( Clean )
359
+ . Executes
360
+ (
361
+ ( ) =>
362
+ {
363
+ var @out = VulkanLoaderPath / "build" ;
364
+ EnsureCleanDirectory ( @out ) ;
365
+ var abi = OperatingSystem . IsWindows ( ) ? " -DCMAKE_GENERATOR_PLATFORM=Win32" : string . Empty ;
366
+ InheritedShell
367
+ (
368
+ $ "cmake -S. -Bbuild -DUPDATE_DEPS=On -DCMAKE_BUILD_TYPE=Release{ abi } ",
369
+ VulkanLoaderPath
370
+ )
371
+ . AssertZeroExitCode ( ) ;
372
+ InheritedShell ( $ "cmake --build build --config Release{ JobsArg } ", VulkanLoaderPath )
373
+ . AssertZeroExitCode ( ) ;
374
+ var runtimes = RootDirectory / "src" / "Native" / "Silk.NET.Vulkan.Loader.Native" / "runtimes" ;
375
+ if ( OperatingSystem . IsWindows ( ) )
376
+ {
377
+ CopyAll ( @out . GlobFiles ( "loader/Release/vulkan-1.dll" ) , runtimes / "win-x64" / "native" ) ;
378
+ CopyAll ( @out . GlobFiles ( "loader/Release/vulkan-1.dll" ) , runtimes / "win-x86" / "native" ) ;
379
+ }
380
+ else
381
+ {
382
+ CopyAll
383
+ (
384
+ @out . GlobFiles ( "loader/libvulkan.so" , "loader/libvulkan.dylib" ) ,
385
+ runtimes / ( OperatingSystem . IsMacOS ( ) ? "osx-x64" : "linux-x64" ) / "native"
386
+ ) ;
387
+ }
388
+
389
+ PrUpdatedNativeBinary ( "Vulkan Loader" ) ;
390
+ }
391
+ )
382
392
) ;
383
393
384
394
AbsolutePath AssimpPath => RootDirectory / "build" / "submodules" / "Assimp" ;
0 commit comments