diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-19 16:21:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-19 17:54:57 (GMT) |
commit | 6f439b30cb0b1a76c8e7ee8f169a0415a8a47c70 (patch) | |
tree | 90741f846b81f40885aa14523d5df33304eb9287 /Source/cmGlobalVisualStudio9IA64Generator.cxx | |
parent | 5170a8800ff4613dd41f6995e8efd43df36a40bd (diff) | |
download | CMake-6f439b30cb0b1a76c8e7ee8f169a0415a8a47c70.zip CMake-6f439b30cb0b1a76c8e7ee8f169a0415a8a47c70.tar.gz CMake-6f439b30cb0b1a76c8e7ee8f169a0415a8a47c70.tar.bz2 |
VS: Remove AddPlatformDefinitions from platform-specific generators
Move the logic for handling platform specific defines from the
subclasses into the cmGlobalVisualStudioGenerator base class.
Diffstat (limited to 'Source/cmGlobalVisualStudio9IA64Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9IA64Generator.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmGlobalVisualStudio9IA64Generator.cxx b/Source/cmGlobalVisualStudio9IA64Generator.cxx index c56413b..6b0ed60 100644 --- a/Source/cmGlobalVisualStudio9IA64Generator.cxx +++ b/Source/cmGlobalVisualStudio9IA64Generator.cxx @@ -17,6 +17,7 @@ cmGlobalVisualStudio9IA64Generator::cmGlobalVisualStudio9IA64Generator() { this->ArchitectureId = "Itanium"; + this->AdditionalPlatformDefinition = "CMAKE_FORCE_IA64"; } //---------------------------------------------------------------------------- @@ -27,11 +28,3 @@ void cmGlobalVisualStudio9IA64Generator entry.Brief = "Generates Visual Studio 9 2008 Itanium project files."; entry.Full = ""; } - -//---------------------------------------------------------------------------- -void cmGlobalVisualStudio9IA64Generator -::AddPlatformDefinitions(cmMakefile* mf) -{ - cmGlobalVisualStudio9Generator::AddPlatformDefinitions(mf); - mf->AddDefinition("CMAKE_FORCE_IA64", "TRUE"); -} |