cmGlobalVisualStudio10IA64Generator.cxx 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 "cmGlobalVisualStudio10IA64Generator.h"
  11. #include "cmMakefile.h"
  12. #include "cmake.h"
  13. //----------------------------------------------------------------------------
  14. cmGlobalVisualStudio10IA64Generator::cmGlobalVisualStudio10IA64Generator()
  15. {
  16. this->ArchitectureId = "x64";
  17. this->AdditionalPlatformDefinition = "CMAKE_FORCE_IA64";
  18. }
  19. //----------------------------------------------------------------------------
  20. void cmGlobalVisualStudio10IA64Generator
  21. ::GetDocumentation(cmDocumentationEntry& entry)
  22. {
  23. entry.Name = cmGlobalVisualStudio10IA64Generator::GetActualName();
  24. entry.Brief = "Generates Visual Studio 10 Itanium project files.";
  25. entry.Full = "";
  26. }
  27. //----------------------------------------------------------------------------
  28. void cmGlobalVisualStudio10IA64Generator
  29. ::EnableLanguage(std::vector<std::string> const& languages,
  30. cmMakefile* mf, bool optional)
  31. {
  32. if(this->IsExpressEdition() && !this->Find64BitTools(mf))
  33. {
  34. return;
  35. }
  36. this->cmGlobalVisualStudio10Generator
  37. ::EnableLanguage(languages, mf, optional);
  38. }