summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-11-12 18:16:33 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2015-11-12 18:16:33 +0800
commitdbe430f6ec1dbc699c8a5963310226e69db2d266 (patch)
tree2fda5976c4d8e67fd70705180d26546a1a07fcfd /build
parent97b44e02a9e6eb1d258d48b13561a1eef79a4099 (diff)
downloadgtk+-dbe430f6ec1dbc699c8a5963310226e69db2d266.tar.gz
MSVC builds: Use /opt:ref for release builds
glib-compile-resources have been updated to ensure that the symbols generated are referred to, so that they will not be optimized out by the linker in release builds. We can change from /opt:noref to /opt:ref, which should improve optimization a bit.
Diffstat (limited to 'build')
-rw-r--r--build/win32/vs10/gtk3-demo-application.vcxprojin4
-rw-r--r--build/win32/vs10/gtk3-demo.vcxprojin4
-rw-r--r--build/win32/vs10/gtk3-icon-browser.vcxprojin4
-rw-r--r--build/win32/vs9/gtk3-demo-application.vcprojin4
-rw-r--r--build/win32/vs9/gtk3-demo.vcprojin4
-rw-r--r--build/win32/vs9/gtk3-icon-browser.vcprojin4
6 files changed, 12 insertions, 12 deletions
diff --git a/build/win32/vs10/gtk3-demo-application.vcxprojin b/build/win32/vs10/gtk3-demo-application.vcxprojin
index 1d7d9af4ac..6ff02c81bc 100644
--- a/build/win32/vs10/gtk3-demo-application.vcxprojin
+++ b/build/win32/vs10/gtk3-demo-application.vcxprojin
@@ -105,7 +105,7 @@
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
- <OptimizeReferences>false</OptimizeReferences>
+ <OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
@@ -149,7 +149,7 @@
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
- <OptimizeReferences>false</OptimizeReferences>
+ <OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
diff --git a/build/win32/vs10/gtk3-demo.vcxprojin b/build/win32/vs10/gtk3-demo.vcxprojin
index 45a7cb25ab..0abda49169 100644
--- a/build/win32/vs10/gtk3-demo.vcxprojin
+++ b/build/win32/vs10/gtk3-demo.vcxprojin
@@ -112,7 +112,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<FunctionLevelLinking>false</FunctionLevelLinking>
- <OptimizeReferences>false</OptimizeReferences>
+ <OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
@@ -160,7 +160,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<FunctionLevelLinking>false</FunctionLevelLinking>
- <OptimizeReferences>false</OptimizeReferences>
+ <OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
diff --git a/build/win32/vs10/gtk3-icon-browser.vcxprojin b/build/win32/vs10/gtk3-icon-browser.vcxprojin
index 80fd216e79..f705ef7e82 100644
--- a/build/win32/vs10/gtk3-icon-browser.vcxprojin
+++ b/build/win32/vs10/gtk3-icon-browser.vcxprojin
@@ -107,7 +107,7 @@
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
- <OptimizeReferences>false</OptimizeReferences>
+ <OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
@@ -153,7 +153,7 @@
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
- <OptimizeReferences>false</OptimizeReferences>
+ <OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
diff --git a/build/win32/vs9/gtk3-demo-application.vcprojin b/build/win32/vs9/gtk3-demo-application.vcprojin
index 3c718f0950..2d8a85db36 100644
--- a/build/win32/vs9/gtk3-demo-application.vcprojin
+++ b/build/win32/vs9/gtk3-demo-application.vcprojin
@@ -73,7 +73,7 @@
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
- OptimizeReferences="1"
+ OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
@@ -134,7 +134,7 @@
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
- OptimizeReferences="1"
+ OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
/>
diff --git a/build/win32/vs9/gtk3-demo.vcprojin b/build/win32/vs9/gtk3-demo.vcprojin
index 9818e00ab9..f8aef24a23 100644
--- a/build/win32/vs9/gtk3-demo.vcprojin
+++ b/build/win32/vs9/gtk3-demo.vcprojin
@@ -111,7 +111,7 @@
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
- OptimizeReferences="1"
+ OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
@@ -144,7 +144,7 @@
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
- OptimizeReferences="1"
+ OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
diff --git a/build/win32/vs9/gtk3-icon-browser.vcprojin b/build/win32/vs9/gtk3-icon-browser.vcprojin
index 33fbb49e6f..08580b5670 100644
--- a/build/win32/vs9/gtk3-icon-browser.vcprojin
+++ b/build/win32/vs9/gtk3-icon-browser.vcprojin
@@ -77,7 +77,7 @@
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
- OptimizeReferences="1"
+ OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
@@ -142,7 +142,7 @@
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
- OptimizeReferences="1"
+ OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
/>