Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: João Reis <reis@janeasystems.com>
  • Loading branch information
dennisameling and joaocgreis authored Aug 11, 2020
commit d9b0d279051ed8520a0206c5733d6e55aa056539
2 changes: 0 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,6 @@ Optional requirements to build the MSI installer package:

Optional requirements for compiling for Windows 10 on ARM (ARM64):

* ARM64 or x64 Windows build machine
* ARM64 builds can be created on a x64 host by running `.\vcbuild arm64`
* Visual Studio 15.9.0 or newer
* Visual Studio optional components
* Visual C++ compilers and libraries for ARM64
Expand Down
4 changes: 3 additions & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@ if errorlevel 1 echo Failed to sign exe&goto exit
@rem Skip license.rtf generation if not requested.
if not defined licensertf goto stage_package

if "%target_arch%"=="arm64" if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
set "use_x64_node_exe=false"
if "%target_arch%"=="arm64" if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set "use_x64_node_exe=true"
if "%use_x64_node_exe%"=="true" (
echo Cross-compilation to ARM64 detected. We'll use the x64 Node executable for license2rtf.
if not defined "%x64_node_exe%" set "x64_node_exe=temp-vcbuild\node-x64-cross-compiling.exe"
if not exist "%x64_node_exe%" (
Expand Down