diff options
author | Minmin Gong <minmin.gong@gmail.com> | 2012-05-09 08:08:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-05-09 13:12:13 (GMT) |
commit | 0fa3d093693642a2b6535b93ea99344397f79267 (patch) | |
tree | 097012fc1239c1e2000da07fe027ae9044a5c434 /Source/cmGlobalVisualStudio11ARMGenerator.cxx | |
parent | c5a67a7fec2dde8caba8044de3699331a89db020 (diff) | |
download | CMake-0fa3d093693642a2b6535b93ea99344397f79267.zip CMake-0fa3d093693642a2b6535b93ea99344397f79267.tar.gz CMake-0fa3d093693642a2b6535b93ea99344397f79267.tar.bz2 |
VS11: Add ARM architecture generator (#13077)
Diffstat (limited to 'Source/cmGlobalVisualStudio11ARMGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio11ARMGenerator.cxx | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio11ARMGenerator.cxx b/Source/cmGlobalVisualStudio11ARMGenerator.cxx new file mode 100644 index 0000000..fef1aba --- /dev/null +++ b/Source/cmGlobalVisualStudio11ARMGenerator.cxx @@ -0,0 +1,32 @@ +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2000-2011 Kitware, Inc., Insight Software Consortium + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ +#include "cmGlobalVisualStudio11ARMGenerator.h" +#include "cmMakefile.h" +#include "cmake.h" + +//---------------------------------------------------------------------------- +void cmGlobalVisualStudio11ARMGenerator +::GetDocumentation(cmDocumentationEntry& entry) const +{ + entry.Name = this->GetName(); + entry.Brief = "Generates Visual Studio 11 ARM project files."; + entry.Full = ""; +} + +//---------------------------------------------------------------------------- +void cmGlobalVisualStudio11ARMGenerator +::AddPlatformDefinitions(cmMakefile* mf) +{ + this->cmGlobalVisualStudio11Generator::AddPlatformDefinitions(mf); + mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "ARM"); + mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "ARM"); +} |