File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
generate/templates/templates Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 7
7
"macOS_deployment_target" : "10.11"
8
8
},
9
9
10
+ 'target_defaults' : {
11
+ 'default_configuration' : 'Debug' ,
12
+ 'configurations' : {
13
+ 'Debug' : {
14
+ 'defines' : [ 'DEBUG' , '_DEBUG' ],
15
+ },
16
+ 'Release' : {
17
+ 'defines' : [ 'NDEBUG' ],
18
+ 'cflags' : [ '-flto' ],
19
+ 'xcode_settings' : {
20
+ 'LLVM_LTO' : 'YES'
21
+ },
22
+ 'msvs_settings' : {
23
+ 'VCCLCompilerTool' : {
24
+ 'WholeProgramOptimization' : 'true'
25
+ },
26
+ 'VCLibrarianTool' : {
27
+ },
28
+ 'VCLinkerTool' : {
29
+ 'LinkTimeCodeGeneration' : 1
30
+ }
31
+ }
32
+ }
33
+ }
34
+ },
35
+
10
36
"targets" : [
11
37
{
12
38
"target_name" : "acquireOpenSSL" ,
Original file line number Diff line number Diff line change 13
13
"electron_openssl_root%" : "<!(node ../utils/getElectronOpenSSLRoot.js <(module_root_dir))" ,
14
14
"electron_openssl_static%" : "<!(node -p \" process.platform !== 'linux' || process.env.NODEGIT_OPENSSL_STATIC_LINK === '1' ? 1 : 0\" )" ,
15
15
},
16
+ 'target_defaults' : {
17
+ 'default_configuration' : 'Debug' ,
18
+ 'configurations' : {
19
+ 'Debug' : {
20
+ 'defines' : [ 'DEBUG' , '_DEBUG' ],
21
+ },
22
+ 'Release' : {
23
+ 'defines' : [ 'NDEBUG' ],
24
+ 'cflags' : [ '-flto' ],
25
+ 'xcode_settings' : {
26
+ 'LLVM_LTO' : 'YES'
27
+ },
28
+ 'msvs_settings' : {
29
+ 'VCCLCompilerTool' : {
30
+ 'WholeProgramOptimization' : 'true'
31
+ },
32
+ 'VCLibrarianTool' : {
33
+ },
34
+ 'VCLinkerTool' : {
35
+ 'LinkTimeCodeGeneration' : 1
36
+ }
37
+ }
38
+ }
39
+ }
40
+ },
16
41
"targets" : [
17
42
{
18
43
"target_name" : "libgit2" ,
You can’t perform that action at this time.
0 commit comments