diff options
author | Patrick Gansterer <paroga@paroga.com> | 2010-08-22 21:23:11 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-08-26 16:39:01 -0400 |
commit | ef4394defa22ba4288731ae65285c2f33e9e360a (patch) | |
tree | 09d288877891df1cef4e702b40ec263d0dd75596 /Source/cmGlobalVisualStudio9Generator.cxx | |
parent | 4fec681fa7cdc89a4aa40c95fa0156c566ff8722 (diff) | |
download | cmake-ef4394defa22ba4288731ae65285c2f33e9e360a.tar.gz |
VS: Add ArchitectureId to VS 8 and 9 generators
Avoid duplicate architecture string literals.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 98acf0f899..f8ceea0b0a 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -25,8 +25,8 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator() //---------------------------------------------------------------------------- void cmGlobalVisualStudio9Generator::AddPlatformDefinitions(cmMakefile* mf) { - mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "X86"); - mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "X86"); + mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", this->ArchitectureId); + mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", this->ArchitectureId); mf->AddDefinition("MSVC90", "1"); } |