| [comment encoding = UTF-8 /] |
| [comment] |
| /***************************************************************************** |
| * Copyright (c) 2013 INTEMPORA S.A. |
| * |
| * This software is a computer program whose purpose is to transform RobotML models |
| * into RTMaps diagrams and RTMaps components via source code generation techniques. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Nicolas DU LAC (INTEMPORA) - Initial API and implementation |
| * |
| *****************************************************************************/ |
| [/comment] |
| [module generate_rtmaps_vc2010_project_vcxproj_filters('http://www.eclipse.org/uml2/3.0.0/UML', 'http://Papyrus/RobotML/1')] |
| |
| [import org::eclipse::papyrus::robotml::generators::common::mmqueries::GeneralQueries /] |
| [import org::eclipse::papyrus::robotml::generators::common::mmqueries::ArchitectureQueries /] |
| |
| [template public generateRTMapsVC2010ProjectVCXPROJFILTERS(model : Model)] |
| |
| [file ('user_sdk/'+ model.name + '.u/rtmaps_' + model.name + '_vc2010.vcxproj.filters', false, 'UTF-8')] |
| <?xml version="1.0" encoding="utf-8"?> |
| <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| <ItemGroup> |
| <None Include="rtmaps_[model.name/].pckinfo" /> |
| </ItemGroup> |
| <ItemGroup> |
| <Filter Include="src"> |
| <UniqueIdentifier>{a5b9c083-844e-4bea-8deb-c0868258cf6f}</UniqueIdentifier> |
| </Filter> |
| <Filter Include="local_interfaces"> |
| <UniqueIdentifier>{d76a366c-814b-4fe2-b85b-e9e2bab377c3}</UniqueIdentifier> |
| </Filter> |
| </ItemGroup> |
| <ItemGroup> |
| [for (elt: NamedElement | getComponentModels(model))] |
| [if (isMacroComponent(elt.oclAsType(Class)) = false)] |
| <ClCompile Include="src\maps_[elt.name/].cpp"> |
| <Filter>src</Filter> |
| </ClCompile> |
| [/if] |
| [/for] |
| </ItemGroup> |
| <ItemGroup> |
| [for (elt: NamedElement | getComponentModels(model))] |
| [if (isMacroComponent(elt.oclAsType(Class)) = false)] |
| <ClInclude Include="local_interfaces\maps_[elt.name/].h"> |
| <Filter>local_interfaces</Filter> |
| </ClInclude> |
| [/if] |
| [/for] |
| </ItemGroup> |
| </Project> |
| |
| [/file] |
| [/template] |