summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Win64Generator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-19 16:21:47 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-19 17:54:57 (GMT)
commit6f439b30cb0b1a76c8e7ee8f169a0415a8a47c70 (patch)
tree90741f846b81f40885aa14523d5df33304eb9287 /Source/cmGlobalVisualStudio8Win64Generator.cxx
parent5170a8800ff4613dd41f6995e8efd43df36a40bd (diff)
downloadCMake-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/cmGlobalVisualStudio8Win64Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Win64Generator.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmGlobalVisualStudio8Win64Generator.cxx b/Source/cmGlobalVisualStudio8Win64Generator.cxx
index 4482303..a84e44c 100644
--- a/Source/cmGlobalVisualStudio8Win64Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Win64Generator.cxx
@@ -20,6 +20,7 @@
cmGlobalVisualStudio8Win64Generator::cmGlobalVisualStudio8Win64Generator()
{
this->ArchitectureId = "x64";
+ this->AdditionalPlatformDefinition = "CMAKE_FORCE_WIN64";
}
//----------------------------------------------------------------------------
@@ -30,11 +31,3 @@ void cmGlobalVisualStudio8Win64Generator
entry.Brief = "Generates Visual Studio 8 2005 Win64 project files.";
entry.Full = "";
}
-
-//----------------------------------------------------------------------------
-void cmGlobalVisualStudio8Win64Generator
-::AddPlatformDefinitions(cmMakefile* mf)
-{
- this->cmGlobalVisualStudio8Generator::AddPlatformDefinitions(mf);
- mf->AddDefinition("CMAKE_FORCE_WIN64", "TRUE");
-}