cmGlobalVisualStudio10IA64Generator.cxx 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. }
  18. //----------------------------------------------------------------------------
  19. void cmGlobalVisualStudio10IA64Generator
  20. ::GetDocumentation(cmDocumentationEntry& entry) const
  21. {
  22. entry.Name = this->GetName();
  23. entry.Brief = "Generates Visual Studio 10 Itanium project files.";
  24. entry.Full = "";
  25. }
  26. //----------------------------------------------------------------------------
  27. void cmGlobalVisualStudio10IA64Generator
  28. ::AddPlatformDefinitions(cmMakefile* mf)
  29. {
  30. this->cmGlobalVisualStudio10Generator::AddPlatformDefinitions(mf);
  31. mf->AddDefinition("CMAKE_FORCE_IA64", "TRUE");
  32. }
  33. //----------------------------------------------------------------------------
  34. void cmGlobalVisualStudio10IA64Generator
  35. ::EnableLanguage(std::vector<std::string> const& languages,
  36. cmMakefile* mf, bool optional)
  37. {
  38. if(this->IsExpressEdition() && !this->Find64BitTools(mf))
  39. {
  40. return;
  41. }
  42. this->cmGlobalVisualStudio10Generator
  43. ::EnableLanguage(languages, mf, optional);
  44. }