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