cmGlobalVisualStudio11ARMGenerator.cxx 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2011 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 "cmGlobalVisualStudio11ARMGenerator.h"
  11. #include "cmMakefile.h"
  12. #include "cmake.h"
  13. //----------------------------------------------------------------------------
  14. void cmGlobalVisualStudio11ARMGenerator
  15. ::GetDocumentation(cmDocumentationEntry& entry) const
  16. {
  17. entry.Name = this->GetName();
  18. entry.Brief = "Generates Visual Studio 11 ARM project files.";
  19. entry.Full = "";
  20. }
  21. //----------------------------------------------------------------------------
  22. void cmGlobalVisualStudio11ARMGenerator
  23. ::AddPlatformDefinitions(cmMakefile* mf)
  24. {
  25. this->cmGlobalVisualStudio11Generator::AddPlatformDefinitions(mf);
  26. mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "ARM");
  27. mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "ARM");
  28. }