-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[win32] add vs2022 build helper scripts + ASAN (#99)
* [win32] add vs2022 build helper scripts * [win32] simplify ASAN detection on MSVC * [cmake] add ASAN_OPTIONS for bin2c not to be crashed by ASAN
- Loading branch information
Showing
5 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
scripts/run/windows/build-vs2019-arm64.ps1 → scripts/run/windows/build-vs2022-arm64.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# Set-ExecutionPolicy RemoteSigned -Scope Process | ||
|
||
$env:NANOEM_DISABLE_BUILD_SENTRY_NATIVE=1 | ||
$env:NANOEM_DISABLE_BUILD_TBB=1 | ||
$env:NANOEM_TARGET_ARCHITECTURES="arm64" | ||
$env:NANOEM_TARGET_COMPILER="vs2019" | ||
$env:NANOEM_TARGET_GENERATOR="Visual Studio 16 2019" | ||
$env:NANOEM_TARGET_COMPILER="vs2022" | ||
$env:NANOEM_TARGET_GENERATOR="Visual Studio 17 2022" | ||
$build_cmake_path = (Join-Path $PSScriptRoot ../../build.cmake) | ||
|
||
cmake -P $build_cmake_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Set-ExecutionPolicy RemoteSigned -Scope Process | ||
|
||
$env:NANOEM_TARGET_ARCHITECTURES="x86_64" | ||
$env:NANOEM_TARGET_COMPILER="vs2022" | ||
$env:NANOEM_TARGET_GENERATOR="Visual Studio 17 2022" | ||
$build_cmake_path = (Join-Path $PSScriptRoot ../../build.cmake) | ||
|
||
cmake -P $build_cmake_path |