1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
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"
16 //----------------------------------------------------------------------------
17 void cmGlobalVisualStudio11Win64Generator
18 ::GetDocumentation(cmDocumentationEntry& entry) const
20 entry.Name = this->GetName();
21 entry.Brief = "Generates Visual Studio 11 Win64 project files.";
25 //----------------------------------------------------------------------------
26 void cmGlobalVisualStudio11Win64Generator
27 ::AddPlatformDefinitions(cmMakefile* mf)
29 this->cmGlobalVisualStudio11Generator::AddPlatformDefinitions(mf);
30 mf->AddDefinition("CMAKE_FORCE_WIN64", "TRUE");
31 mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "x64");
32 mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "x64");