summaryrefslogtreecommitdiff
path: root/Modules/CompilerId
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2013-08-04 17:47:29 +0200
committerPatrick Gansterer <paroga@paroga.com>2013-08-05 13:38:19 +0200
commitdfbfe6f16629a9bb859b25eacbeeca56513e65df (patch)
tree3398faab5dada050be710c6133e86b88b1f7c65f /Modules/CompilerId
parentc3592649485ad9eacfefbc555583fc05b8a52b09 (diff)
downloadcmake-dfbfe6f16629a9bb859b25eacbeeca56513e65df.tar.gz
VS6: Hardcode id_machine_6 for compiler detection
id_machine6 is never set to an other value than x86. So it is safe to remove the replacements with "x86" directly.
Diffstat (limited to 'Modules/CompilerId')
-rw-r--r--Modules/CompilerId/VS-6.dsp.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CompilerId/VS-6.dsp.in b/Modules/CompilerId/VS-6.dsp.in
index 4f7e676135..48c9a236ba 100644
--- a/Modules/CompilerId/VS-6.dsp.in
+++ b/Modules/CompilerId/VS-6.dsp.in
@@ -1,7 +1,7 @@
# Microsoft Developer Studio Project File - Name="CompilerId@id_lang@" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# TARGTYPE "Win32 (@id_machine_6@) Application" 0x0101
+# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=CompilerId@id_lang@ - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
@@ -16,7 +16,7 @@ CFG=CompilerId@id_lang@ - Win32 Debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "CompilerId@id_lang@ - Win32 Debug" (based on "Win32 (@id_machine_6@) Application")
+!MESSAGE "CompilerId@id_lang@ - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
@@ -29,7 +29,7 @@ CPP=cl.exe
# PROP Target_Dir ""
# ADD CPP /nologo /MDd /c
LINK32=link.exe
-# ADD LINK32 /nologo /version:0.0 /subsystem:console /machine:@id_machine_6@ /out:"CompilerId@id_lang@.exe" /IGNORE:4089
+# ADD LINK32 /nologo /version:0.0 /subsystem:console /machine:x86 /out:"CompilerId@id_lang@.exe" /IGNORE:4089
# Begin Special Build Tool
SOURCE="$(InputPath)"
PostBuild_Cmds=for %%i in (@id_cl@) do @echo CMAKE_@id_lang@_COMPILER=%%~$PATH:i