DXGL r646 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r645‎ | r646 | r647 >
Date:23:35, 23 January 2016
Author:admin
Status:new
Tags:
Comment:
Disable SSE2 requirement in compiler.
Modified paths:
  • /cfgmgr/cfgmgr.vcxproj (modified) (history)
  • /ddraw/ddraw.vcxproj (modified) (history)
  • /dxglcfg/dxglcfg.vcxproj (modified) (history)
  • /dxglcfg2/dxglcfg2.vcxproj (modified) (history)
  • /dxgltest/dxgltest.vcxproj (modified) (history)
  • /minhook-1.3/build/DXGL/libMinHook.vcxproj (modified) (history)
  • /minilibc/minilibc.vcxproj (modified) (history)
  • /sha512-nsis/sha512-nsis.vcxproj (modified) (history)

Diff [purge]

Index: cfgmgr/cfgmgr.vcxproj
@@ -85,6 +85,7 @@
8686 <WarningLevel>Level3</WarningLevel>
8787 <Optimization>Disabled</Optimization>
8888 <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 89+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
8990 </ClCompile>
9091 <Link>
9192 <SubSystem>Windows</SubSystem>
@@ -96,6 +97,7 @@
9798 <WarningLevel>Level3</WarningLevel>
9899 <Optimization>Disabled</Optimization>
99100 <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 101+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
100102 </ClCompile>
101103 <Link>
102104 <SubSystem>Windows</SubSystem>
@@ -107,6 +109,7 @@
108110 <WarningLevel>Level3</WarningLevel>
109111 <Optimization>Disabled</Optimization>
110112 <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 113+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
111114 </ClCompile>
112115 <Link>
113116 <SubSystem>Windows</SubSystem>
@@ -120,6 +123,7 @@
121124 <FunctionLevelLinking>true</FunctionLevelLinking>
122125 <IntrinsicFunctions>true</IntrinsicFunctions>
123126 <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 127+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
124128 </ClCompile>
125129 <Link>
126130 <SubSystem>Windows</SubSystem>
@@ -135,6 +139,7 @@
136140 <FunctionLevelLinking>true</FunctionLevelLinking>
137141 <IntrinsicFunctions>true</IntrinsicFunctions>
138142 <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 143+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
139144 </ClCompile>
140145 <Link>
141146 <SubSystem>Windows</SubSystem>
Index: ddraw/ddraw.vcxproj
@@ -121,6 +121,7 @@
122122 <AdditionalIncludeDirectories>../include;../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
123123 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
124124 <ExceptionHandling>Async</ExceptionHandling>
 125+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
125126 </ClCompile>
126127 <Link>
127128 <SubSystem>Windows</SubSystem>
@@ -144,6 +145,7 @@
145146 <AdditionalIncludeDirectories>../include;../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
146147 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
147148 <ExceptionHandling>Async</ExceptionHandling>
 149+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
148150 </ClCompile>
149151 <Link>
150152 <SubSystem>Windows</SubSystem>
@@ -167,6 +169,7 @@
168170 <AdditionalIncludeDirectories>../include;../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
169171 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
170172 <ExceptionHandling>Async</ExceptionHandling>
 173+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
171174 </ClCompile>
172175 <Link>
173176 <SubSystem>Windows</SubSystem>
@@ -191,6 +194,7 @@
192195 <AdditionalIncludeDirectories>../include;../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
193196 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
194197 <ExceptionHandling>Async</ExceptionHandling>
 198+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
195199 </ClCompile>
196200 <Link>
197201 <SubSystem>Windows</SubSystem>
@@ -219,6 +223,7 @@
220224 <AdditionalIncludeDirectories>../include;../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
221225 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
222226 <ExceptionHandling>Async</ExceptionHandling>
 227+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
223228 </ClCompile>
224229 <Link>
225230 <SubSystem>Windows</SubSystem>
@@ -247,6 +252,7 @@
248253 <AdditionalIncludeDirectories>../include;../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
249254 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
250255 <ExceptionHandling>Async</ExceptionHandling>
 256+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
251257 </ClCompile>
252258 <Link>
253259 <SubSystem>Windows</SubSystem>
Index: dxglcfg/dxglcfg.vcxproj
@@ -107,6 +107,7 @@
108108 <Optimization>Disabled</Optimization>
109109 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110110 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 111+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
111112 </ClCompile>
112113 <Link>
113114 <SubSystem>Windows</SubSystem>
@@ -122,6 +123,7 @@
123124 <Optimization>Disabled</Optimization>
124125 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
125126 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 127+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
126128 </ClCompile>
127129 <Link>
128130 <SubSystem>Windows</SubSystem>
@@ -138,6 +140,7 @@
139141 <Optimization>Disabled</Optimization>
140142 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
141143 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 144+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
142145 </ClCompile>
143146 <Link>
144147 <SubSystem>Windows</SubSystem>
@@ -155,6 +158,7 @@
156159 <IntrinsicFunctions>true</IntrinsicFunctions>
157160 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
158161 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 162+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
159163 </ClCompile>
160164 <Link>
161165 <SubSystem>Windows</SubSystem>
@@ -174,6 +178,7 @@
175179 <IntrinsicFunctions>true</IntrinsicFunctions>
176180 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
177181 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 182+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
178183 </ClCompile>
179184 <Link>
180185 <SubSystem>Windows</SubSystem>
Index: dxglcfg2/dxglcfg2.vcxproj
@@ -107,6 +107,7 @@
108108 <Optimization>Disabled</Optimization>
109109 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110110 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 111+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
111112 </ClCompile>
112113 <Link>
113114 <SubSystem>Windows</SubSystem>
@@ -122,6 +123,7 @@
123124 <Optimization>Disabled</Optimization>
124125 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
125126 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 127+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
126128 </ClCompile>
127129 <Link>
128130 <SubSystem>Windows</SubSystem>
@@ -138,6 +140,7 @@
139141 <Optimization>Disabled</Optimization>
140142 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
141143 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 144+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
142145 </ClCompile>
143146 <Link>
144147 <SubSystem>Windows</SubSystem>
@@ -155,6 +158,7 @@
156159 <IntrinsicFunctions>true</IntrinsicFunctions>
157160 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
158161 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 162+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
159163 </ClCompile>
160164 <Link>
161165 <SubSystem>Windows</SubSystem>
@@ -174,6 +178,7 @@
175179 <IntrinsicFunctions>true</IntrinsicFunctions>
176180 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
177181 <AdditionalIncludeDirectories>../glew/glew-1.6.0/include</AdditionalIncludeDirectories>
 182+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
178183 </ClCompile>
179184 <Link>
180185 <SubSystem>Windows</SubSystem>
Index: dxgltest/dxgltest.vcxproj
@@ -113,6 +113,7 @@
114114 <PreprocessorDefinitions>WIN32;_CRT_NON_CONFORMING_SWPRINTFS;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115115 <EnablePREfast>false</EnablePREfast>
116116 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
 117+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
117118 </ClCompile>
118119 <Link>
119120 <SubSystem>Windows</SubSystem>
@@ -129,6 +130,7 @@
130131 <PreprocessorDefinitions>WIN32;_CRT_NON_CONFORMING_SWPRINTFS;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131132 <EnablePREfast>false</EnablePREfast>
132133 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
 134+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
133135 </ClCompile>
134136 <Link>
135137 <SubSystem>Windows</SubSystem>
@@ -146,6 +148,7 @@
147149 <PreprocessorDefinitions>WIN32;_CRT_NON_CONFORMING_SWPRINTFS;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
148150 <EnablePREfast>false</EnablePREfast>
149151 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
 152+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
150153 </ClCompile>
151154 <Link>
152155 <SubSystem>Windows</SubSystem>
@@ -163,6 +166,7 @@
164167 <IntrinsicFunctions>true</IntrinsicFunctions>
165168 <PreprocessorDefinitions>WIN32;_CRT_NON_CONFORMING_SWPRINTFS;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
166169 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
 170+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
167171 </ClCompile>
168172 <Link>
169173 <SubSystem>Windows</SubSystem>
@@ -181,6 +185,7 @@
182186 <IntrinsicFunctions>true</IntrinsicFunctions>
183187 <PreprocessorDefinitions>WIN32;_CRT_NON_CONFORMING_SWPRINTFS;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
184188 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
 189+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
185190 </ClCompile>
186191 <Link>
187192 <SubSystem>Windows</SubSystem>
Index: minhook-1.3/build/DXGL/libMinHook.vcxproj
@@ -84,6 +84,7 @@
8585 <WholeProgramOptimization>false</WholeProgramOptimization>
8686 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
8787 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 88+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
8889 </ClCompile>
8990 <Lib />
9091 </ItemDefinitionGroup>
@@ -119,6 +120,7 @@
120121 </DebugInformationFormat>
121122 <WholeProgramOptimization>true</WholeProgramOptimization>
122123 <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
 124+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
123125 </ClCompile>
124126 <Lib />
125127 </ItemDefinitionGroup>
Index: minilibc/minilibc.vcxproj
@@ -48,6 +48,7 @@
4949 <PrecompiledHeader>Use</PrecompiledHeader>
5050 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
5151 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
 52+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
5253 </ClCompile>
5354 <Link>
5455 <SubSystem>Windows</SubSystem>
@@ -71,6 +72,7 @@
7273 <PrecompiledHeader>Use</PrecompiledHeader>
7374 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
7475 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
 76+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
7577 </ClCompile>
7678 <Link>
7779 <SubSystem>Windows</SubSystem>
Index: sha512-nsis/sha512-nsis.vcxproj
@@ -56,6 +56,7 @@
5757 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SHA512NSIS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
5858 <BufferSecurityCheck>false</BufferSecurityCheck>
5959 <BasicRuntimeChecks>Default</BasicRuntimeChecks>
 60+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
6061 </ClCompile>
6162 <Link>
6263 <SubSystem>Windows</SubSystem>
@@ -73,6 +74,7 @@
7475 <FunctionLevelLinking>true</FunctionLevelLinking>
7576 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SHA512NSIS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
7677 <BufferSecurityCheck>false</BufferSecurityCheck>
 78+ <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
7779 </ClCompile>
7880 <Link>
7981 <SubSystem>Windows</SubSystem>