cmGlobalVisualStudio9Win64Generator.cxx 1.3 KB

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