Changeset 617
- Timestamp:
- Mar 1, 2010, 9:38:12 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.cmd
r590 r617 292 292 G.CFG_SEPARATE_DEBUG_INFO = "auto" 293 293 G.CFG_IPV6 = "auto" 294 /* @todo do we really need this?295 294 G.CFG_MMX = "auto" 296 295 G.CFG_3DNOW = "auto" 297 296 G.CFG_SSE = "auto" 298 297 G.CFG_SSE2 = "auto" 299 G.CFG_IWMMXT = "no" 298 /* @todo do we really need this? 300 299 G.CFG_CLOCK_GETTIME = "auto" 301 300 G.CFG_CLOCK_MONOTONIC = "auto" … … 970 969 if (G.CFG_GRAPHICS_SYSTEM == "default") then G.CFG_GRAPHICS_SYSTEM = "raster" 971 970 971 if (G.CFG_MMX == "auto") then G.CFG_MMX = "yes" 972 if (G.CFG_3DNOW == "auto") then G.CFG_3DNOW = "yes" 973 if (G.CFG_SSE == "auto") then G.CFG_SSE = "yes" 974 if (G.CFG_SSE2 == "auto") then G.CFG_SSE2 = "yes" 975 972 976 if (G.CFG_SM == "auto") then G.CFG_SM = "yes" 973 977 if (G.CFG_STL == "auto") then G.CFG_STL = "yes" … … 1058 1062 G.CFG_IPV6 = "no" 1059 1063 1064 if (G.CFG_MMX == "yes") then 1065 G.QTCONFIG_CONFIG = Join(G.QTCONFIG_CONFIG, "mmx") 1066 if (G.CFG_3DNOW == "yes") then 1067 G.QTCONFIG_CONFIG = Join(G.QTCONFIG_CONFIG, "3dnow") 1068 if (G.CFG_SSE == "yes") then 1069 G.QTCONFIG_CONFIG = Join(G.QTCONFIG_CONFIG, "sse") 1070 if (G.CFG_SSE2 == "yes") then 1071 G.QTCONFIG_CONFIG = Join(G.QTCONFIG_CONFIG, "sse2") 1060 1072 /* @todo do we really need this? 1061 if (G.CFG_MMX == "yes") then1062 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "mmx")1063 if (G.CFG_3DNOW == "yes") then1064 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "3dnow")1065 if (G.CFG_SSE == "yes") then1066 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "sse")1067 if (G.CFG_SSE2 == "yes") then1068 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "sse2")1069 if (G.CFG_IWMMXT == "yes") then1070 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "iwmmxt")1071 1073 if (G.CFG_CLOCK_GETTIME == "yes") then 1072 1074 G.QT_CONFIG = Join(G.QT_CONFIG, "clock-gettime") … … 1819 1821 call SayLog "STL support ......... "G.CFG_STL 1820 1822 call SayLog "PCH support ......... "G.CFG_PRECOMPILE 1821 /* @todo do we really need this? 1822 call SayLog "MMX/3DNOW/SSE/SSE2.. "G.CFG_MMX}"/"G.CFG_3DNOW"/"G.CFG_SSE"/"G.CFG_SSE2 1823 */ 1823 call SayLog "MMX/3DNOW/SSE/SSE2.. "G.CFG_MMX"/"G.CFG_3DNOW"/"G.CFG_SSE"/"G.CFG_SSE2 1824 1824 call SayLog "Graphics System ..... "G.CFG_GRAPHICS_SYSTEM 1825 1825 call SayLog "IPv6 support ........ "G.CFG_IPV6 -
trunk/src/gui/painting/painting.pri
r573 r617 244 244 win32-g++|!win32:!*-icc* { 245 245 mmx { 246 mmx_compiler.commands = $$QMAKE_CXX -c -Winline 246 os2:mmx_compiler.commands = $$QMAKE_RUN_CXX -Winline 247 else:mmx_compiler.commands = $$QMAKE_CXX -c -Winline 247 248 248 249 mac { … … 253 254 } 254 255 255 mmx_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 256 os2 { 257 mmx_compiler.commands = $$replace(mmx_compiler.commands, \\$src, ${QMAKE_FILE_IN}) 258 mmx_compiler.commands = $$replace(mmx_compiler.commands, \\$obj, ${QMAKE_FILE_OUT}) 259 } else { 260 mmx_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 261 } 256 262 mmx_compiler.dependency_type = TYPE_C 257 263 mmx_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} … … 263 269 } 264 270 3dnow { 265 mmx3dnow_compiler.commands = $$QMAKE_CXX -c -Winline 271 os2:mmx3dnow_compiler.commands = $$QMAKE_RUN_CXX -Winline 272 else:mmx3dnow_compiler.commands = $$QMAKE_CXX -c -Winline 266 273 267 274 mac { … … 272 279 } 273 280 274 mmx3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 281 os2 { 282 mmx3dnow_compiler.commands = $$replace(mmx3dnow_compiler.commands, \\$src, ${QMAKE_FILE_IN}) 283 mmx3dnow_compiler.commands = $$replace(mmx3dnow_compiler.commands, \\$obj, ${QMAKE_FILE_OUT}) 284 } else { 285 mmx3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 286 } 275 287 mmx3dnow_compiler.dependency_type = TYPE_C 276 288 mmx3dnow_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} … … 281 293 QMAKE_EXTRA_COMPILERS += mmx3dnow_compiler 282 294 sse { 283 sse3dnow_compiler.commands = $$QMAKE_CXX -c -Winline 295 os2:sse3dnow_compiler.commands = $$QMAKE_RUN_CXX -Winline 296 else:sse3dnow_compiler.commands = $$QMAKE_CXX -c -Winline 284 297 285 298 mac { … … 290 303 } 291 304 292 sse3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 305 os2 { 306 sse3dnow_compiler.commands = $$replace(sse3dnow_compiler.commands, \\$src, ${QMAKE_FILE_IN}) 307 sse3dnow_compiler.commands = $$replace(sse3dnow_compiler.commands, \\$obj, ${QMAKE_FILE_OUT}) 308 } else { 309 sse3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 310 } 293 311 sse3dnow_compiler.dependency_type = TYPE_C 294 312 sse3dnow_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} … … 301 319 } 302 320 sse { 303 sse_compiler.commands = $$QMAKE_CXX -c -Winline 321 os2:sse_compiler.commands = $$QMAKE_RUN_CXX -Winline 322 else:sse_compiler.commands = $$QMAKE_CXX -c -Winline 304 323 305 324 mac { … … 310 329 } 311 330 312 sse_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 331 os2 { 332 sse_compiler.commands = $$replace(sse_compiler.commands, \\$src, ${QMAKE_FILE_IN}) 333 sse_compiler.commands = $$replace(sse_compiler.commands, \\$obj, ${QMAKE_FILE_OUT}) 334 } else { 335 sse_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 336 } 313 337 sse_compiler.dependency_type = TYPE_C 314 338 sse_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} … … 320 344 } 321 345 sse2 { 322 sse2_compiler.commands = $$QMAKE_CXX -c -Winline 346 os2:sse2_compiler.commands = $$QMAKE_RUN_CXX -Winline 347 else:sse2_compiler.commands = $$QMAKE_CXX -c -Winline 323 348 324 349 mac { … … 329 354 } 330 355 331 sse2_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 356 os2 { 357 sse2_compiler.commands = $$replace(sse2_compiler.commands, \\$src, ${QMAKE_FILE_IN}) 358 sse2_compiler.commands = $$replace(sse2_compiler.commands, \\$obj, ${QMAKE_FILE_OUT}) 359 } else { 360 sse2_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 361 } 332 362 sse2_compiler.dependency_type = TYPE_C 333 363 sse2_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} … … 339 369 } 340 370 iwmmxt { 341 iwmmxt_compiler.commands = $$QMAKE_CXX -c -Winline 371 os2:iwmmxt_compiler.commands = $$QMAKE_RUN_CXX -Winline 372 else:iwmmxt_compiler.commands = $$QMAKE_CXX -c -Winline 342 373 iwmmxt_compiler.commands += -mcpu=iwmmxt 343 iwmmxt_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 374 os2 { 375 iwmmxt_compiler.commands = $$replace(iwmmxt_compiler.commands, \\$src, ${QMAKE_FILE_IN}) 376 iwmmxt_compiler.commands = $$replace(iwmmxt_compiler.commands, \\$obj, ${QMAKE_FILE_OUT}) 377 } else { 378 iwmmxt_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} 379 } 344 380 iwmmxt_compiler.dependency_type = TYPE_C 345 381 iwmmxt_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
Note:
See TracChangeset
for help on using the changeset viewer.