cmGlobalVisualStudio10Win64Generator.cxx 1.5 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 "cmGlobalVisualStudio10Win64Generator.h"
  11. #include "cmMakefile.h"
  12. #include "cmake.h"
  13. //----------------------------------------------------------------------------
  14. cmGlobalVisualStudio10Win64Generator::cmGlobalVisualStudio10Win64Generator()
  15. {
  16. this->PlatformName = "x64";
  17. }
  18. //----------------------------------------------------------------------------
  19. void cmGlobalVisualStudio10Win64Generator
  20. ::GetDocumentation(cmDocumentationEntry& entry) const
  21. {
  22. entry.Name = this->GetName();
  23. entry.Brief = "Generates Visual Studio 10 Win64 project files.";
  24. entry.Full = "";
  25. }
  26. //----------------------------------------------------------------------------
  27. void cmGlobalVisualStudio10Win64Generator::EnableLanguage(
  28. std::vector<std::string> const& lang, cmMakefile *mf, bool optional)
  29. {
  30. mf->AddDefinition("CMAKE_FORCE_WIN64", "TRUE");
  31. cmGlobalVisualStudio10Generator::EnableLanguage(lang, mf, optional);
  32. }