forked from atom/atom
-
Notifications
You must be signed in to change notification settings - Fork 4
/
dist.bat
executable file
·21 lines (14 loc) · 965 Bytes
/
dist.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
title Building Atom-ng
echo Building Atom-ng for Windows...
set CFLAGS=-DNDEBUG /O2 /arch:AVX -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-cast-function-type
set CXXFLAGS=-DNDEBUG /O2 /arch:AVX -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-cast-function-type
set CPPFLAGS=-DNDEBUG /O2 /arch:AVX -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-cast-function-type
set LDFLAGS=-Wl,-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -s
mkdir %USERPROFILE%\.atom\.node-gyp
copy gitconfig %USERPROFILE%\.atom\.node-gyp\.gitconfig
set MSVS_VERSION=2019
set GYP_MSVS_VERSION=2019
set ELECTRON_CACHE=%~dp0%electron\bin
set electron_config_cache=%~dp0%electron\bin
script\build.cmd --compress-artifacts --create-windows-installer