blob: e19b921699f02743521979f3bd67381170bd8cc3 [file] [log] [blame]
[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_vc2005_project_vcproj('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 generateRTMapsVC2005ProjectVCPROJ(model : Model)]
[file ('user_sdk/'+ model.name + '.u/rtmaps_' + model.name + '_vc2005.vcproj', false, 'UTF-8')]
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="rtmaps_[model.name/]"
ProjectGUID="{A36E0705-729F-4AFD-8DE7-EF205F5FBCEE}"
RootNamespace="rtmaps_[model.name/]"
SccLocalPath="."
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Release|Win32"
ConfigurationType="2"
InheritedPropertySheets="$(RTMAPS_SDKDIR)\templates.u\RTMaps_x86_Release_vc2005.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<!-- [protected ('Additional includes - Release Win32')]
-->
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\include"
/>
<!-- [/protected]
-->
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<!-- [protected ('Additional libs - Release Win32')]
-->
<Tool
Name="VCLinkerTool"
AdditionalDependencies="msvcprt.lib"
AdditionalLibraryDirectories=""
/>
<!-- [/protected]
-->
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|Win32"
ConfigurationType="2"
InheritedPropertySheets="$(RTMAPS_SDKDIR)\templates.u\RTMaps_x86_Debug_vc2005.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<!-- [protected ('Additional includes - Debug Win32')]
-->
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\include"
/>
<!-- [/protected]
-->
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<!-- [protected ('Additional libs - Debug Win32')]
-->
<Tool
Name="VCLinkerTool"
AdditionalDependencies="msvcprt.lib"
AdditionalLibraryDirectories=""
/>
<!-- [/protected]
-->
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="src"
>
[for (elt: NamedElement | getComponentModels(model))]
[if (isMacroComponent(elt.oclAsType(Class)) = false)]
<File RelativePath=".\src\maps_[elt.name/].cpp"/>
[/if]
[/for]
</Filter>
<Filter
Name="local_interfaces"
>
[for (elt: NamedElement | getComponentModels(model))]
[if (isMacroComponent(elt.oclAsType(Class)) = false)]
<File RelativePath=".\local_interfaces\maps_[elt.name/].h"/>
[/if]
[/for]
</Filter>
<File
RelativePath=".\[model.name/].pckinfo"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
[/file]
[/template]