Imported Upstream version 2.8.10.2
[platform/upstream/cmake.git] / Source / cmGlobalVisualStudio11Win64Generator.cxx
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
8   This software is distributed WITHOUT ANY WARRANTY; without even the
9   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   See the License for more information.
11 ============================================================================*/
12 #include "cmGlobalVisualStudio11Win64Generator.h"
13 #include "cmMakefile.h"
14 #include "cmake.h"
15
16 //----------------------------------------------------------------------------
17 cmGlobalVisualStudio11Win64Generator::cmGlobalVisualStudio11Win64Generator()
18 {
19   this->ArchitectureId = "x64";
20 }
21
22 //----------------------------------------------------------------------------
23 void cmGlobalVisualStudio11Win64Generator
24 ::GetDocumentation(cmDocumentationEntry& entry) const
25 {
26   entry.Name = this->GetName();
27   entry.Brief = "Generates Visual Studio 11 Win64 project files.";
28   entry.Full = "";
29 }
30
31 //----------------------------------------------------------------------------
32 void cmGlobalVisualStudio11Win64Generator
33 ::AddPlatformDefinitions(cmMakefile* mf)
34 {
35   this->cmGlobalVisualStudio11Generator::AddPlatformDefinitions(mf);
36   mf->AddDefinition("CMAKE_FORCE_WIN64", "TRUE");
37 }