Skip to content

Commit

Permalink
[fix] Fixed code generation nuget package and extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmorato committed May 20, 2021
1 parent f17fdf9 commit b99c7ad
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 343 deletions.
314 changes: 0 additions & 314 deletions OpenDDSharp.CppCli.sln

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>OpenDDSharp.IdlGenerator</id>
<version>0.6.21111.1-alpha1</version>
<version>1.0.0.0</version>
<title>OpenDDSharp IDL Generator</title>
<authors>Jose Morato</authors>
<owners>Jose Morato</owners>
Expand Down Expand Up @@ -31,10 +31,12 @@
<file src=".\bin\Win32\Release\openddsharp_idl.exe" target="tools" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\lib_x86\ACE.dll" target="tools" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\lib_x86\TAO_IDL_FE.dll" target="tools" />
<file src="..\..\ext\OpenDDS\lib_x86\OpenDDS_Util.dll" target="tools" />

<file src="..\..\ext\OpenDDS\bin_x86\opendds_idl.exe" target="tools\DDS\bin" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\lib_x86\ACE.dll" target="tools\DDS\bin" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\lib_x86\TAO_IDL_FE.dll" target="tools\DDS\bin" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\lib_x86\TAO_IDL_FE.dll" target="tools\DDS\bin" />
<file src="..\..\ext\OpenDDS\lib_x86\OpenDDS_Util.dll" target="tools\DDS\bin" />

<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\bin_x86\tao_idl.exe" target="tools\ACE\bin" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\bin_x86\ace_gperf.exe" target="tools\ACE\bin" />
Expand All @@ -56,6 +58,8 @@
<file src="..\..\ext\OpenDDS\dds\**\*.inl" target="tools\DDS\dds" />
<file src="..\..\ext\OpenDDS\dds\**\*.idl" target="tools\DDS\dds" />
<file src="..\..\ext\OpenDDS\dds\**\*.pidl" target="tools\DDS\dds" />
<file src="..\..\ext\OpenDDS\FACE\**\*.h" target="tools\DDS\FACE" />
<file src="..\..\ext\OpenDDS\FACE\**\*.hpp" target="tools\DDS\FACE" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\ace\**\*.h" target="tools\ACE\ace" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\ace\**\*.inl" target="tools\ACE\ace" />
<file src="..\..\ext\OpenDDS\ACE_TAO\ACE\ace\**\*.cpp" target="tools\ACE\ace" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
<Target Name="CustomBeforeClean" Inputs="@(IdlFiles)" Outputs="AlwaysExecuteDummy">
<Message Text="Cleaning %(IdlFiles.FileName).idl auto-generated files..." Importance="High" />
<Delete Files="%(RootDir)%(Directory)%(IdlFiles.FileName)TypeSupport.cpp;%(RootDir)%(Directory)%(IdlFiles.FileName)TypeSupport.h;" ContinueOnError="true" />
<RemoveDir Directories="$([System.IO.Path]::GetFullPath('$(IntDir)'))\$(ProjectName)" />
<RemoveDir Directories="$([System.IO.Path]::GetFullPath('$(IntDir)'))$(ProjectName)" />
</Target>

<!--Set environment variables-->
<UsingTask TaskName="OpenDDSharp.BuildTasks.SetEnvVar" AssemblyFile="$(MSBuildThisFileDirectory)..\tools\OpenDDSharp.BuildTasks.dll" />
<Target Name="SetEnvVarTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)%(filename)TypeSupport.cpp')">
<Target Name="SetEnvVarTarget" BeforeTargets="PreBuildEvent">
<SetEnvVar Variable="DDS_ROOT" Value="$(DDS_ROOT)" />
<SetEnvVar Variable="ACE_ROOT" Value="$(ACE_ROOT)" />
<SetEnvVar Variable="TAO_ROOT" Value="$(TAO_ROOT)" />
</Target>

<!--Generate native OpenDDS project-->
<UsingTask TaskName="OpenDDSharp.BuildTasks.GenerateNativeProjectTask" AssemblyFile="$(MSBuildThisFileDirectory)..\tools\OpenDDSharp.BuildTasks.dll" />
<Target Name="GenerateNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)%(filename)TypeSupport.cpp')">
<Target Name="GenerateNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)$(IntDir)$(ProjectName)\%(filename).idl')">
<GenerateNativeProjectTask IntDir="$([System.IO.Path]::GetFullPath('$(IntDir)'))$(ProjectName)" OriginalProjectName="$(ProjectName)" IdlFiles="@(IdlFiles)" TemplatePath="$(MSBuildThisFileDirectory)..\tools\native_project_tempate\NativeIdlProjectTemplate.vstemplate" Configuration="$(Configuration)" Platform="$(Platform)" />
</Target>

Expand Down
8 changes: 4 additions & 4 deletions Sources/OpenDDSharp.IdlProjectTemplate/Test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<Optimization>Disabled</Optimization>
<SDLCheck>false</SDLCheck>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>.;$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>.;$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;$(DDS_ROOT)\FACE;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDLL;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
Expand All @@ -136,7 +136,7 @@
<Optimization>Disabled</Optimization>
<SDLCheck>false</SDLCheck>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>.;$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>.;$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;$(DDS_ROOT)\FACE;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_AMD64_;_WIN64;_DEBUG;_WINDLL;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
Expand All @@ -160,7 +160,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;$(DDS_ROOT)\FACE;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDLL;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CallingConvention>
</CallingConvention>
Expand All @@ -185,7 +185,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(IntDir)\$(ProjectName);$(ACE_ROOT);$(TAO_ROOT);$(DDS_ROOT);$(DDS_ROOT)\dds;$(DDS_ROOT)\FACE;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_AMD64_;_WIN64;NDEBUG;_WINDLL;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CallingConvention>
</CallingConvention>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"OpenDDSharp.IdlGenerator": "0.5.1"
"OpenDDSharp.IdlGenerator": "1.0.0.0"
},
"frameworks": {
"net472": {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="OpenDDSharp.IdlTemplates.f81de387-81a9-402b-a3c7-9e3861ee4190" Version="1.7" Language="en-US" Publisher="Jose Morato" />
<Identity Id="OpenDDSharp.IdlTemplates.f81de387-81a9-402b-a3c7-9e3861ee4190" Version="1.0.0.0" Language="en-US" Publisher="Jose Morato" />
<DisplayName>OpenDDSharp IDL Templates</DisplayName>
<Description xml:space="preserve">OpenDDSharp IDL Templates</Description>
<MoreInfo>htpp://www.openddsharp.com</MoreInfo>
Expand Down
6 changes: 3 additions & 3 deletions Sources/OpenDDSharp/AssemblyInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ along with OpenDDSharp. If not, see <http://www.gnu.org/licenses/>.
#define Assembly_Product L"OpenDDSharp"
#define Assembly_Copyright L"Copyright © Jose Morato 2018-2020. All rights reserved"
#define Assembly_Description L".NET wrapper for OpenDDS"
#define File_Version 0,5,1,0
#define File_Version_Str "0.5.1.0"
#define Assembly_Version L"0.5.1.0"
#define File_Version 1,0,0,0
#define File_Version_Str "1.0.0.0"
#define Assembly_Version L"1.0.0.0"
2 changes: 1 addition & 1 deletion Sources/OpenDDSharp/OpenDDSharp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>OpenDDSharp</id>
<version>0.6.21111.1-alpha1</version>
<version>1.0.0.0</version>
<title>OpenDDSharp</title>
<authors>Jose Morato</authors>
<owners>Jose Morato</owners>
Expand Down
4 changes: 2 additions & 2 deletions Tests/TestIdl/TestIdl.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
</Target>
<!-- Set environment variables -->
<UsingTask TaskName="OpenDDSharp.BuildTasks.SetEnvVar" AssemblyFile="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.BuildTasks\bin\$(Configuration)\OpenDDSharp.BuildTasks.dll" />
<Target Name="SetEnvVarTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)%(filename)TypeSupport.cpp')">
<Target Name="SetEnvVarTarget" BeforeTargets="PreBuildEvent">
<Message Text="Set the enviroment variables:" Importance="High" />
<Message Text="DDS_ROOT=$(DDS_ROOT)" Importance="High" />
<Message Text="ACE_ROOT=$(ACE_ROOT)" Importance="High" />
Expand All @@ -245,7 +245,7 @@
</Target>
<!-- Generate native OpenDDS project -->
<UsingTask TaskName="OpenDDSharp.BuildTasks.GenerateNativeProjectTask" AssemblyFile="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.BuildTasks\bin\$(Configuration)\OpenDDSharp.BuildTasks.dll" />
<Target Name="GenerateNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)%(filename)TypeSupport.cpp')">
<Target Name="GenerateNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)$(IntDir)$(ProjectName)\%(filename).idl')">
<GenerateNativeProjectTask IntDir="$([System.IO.Path]::GetFullPath('$(IntDir)'))$(ProjectName)" OriginalProjectName="$(ProjectName)" IdlFiles="@(IdlFiles)" TemplatePath="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.IdlGenerator\NativeIdlProjectTemplate.vstemplate" Configuration="$(Configuration)" Platform="$(Platform)" />
</Target>
<!-- Generate OpenDDSharp IDL files-->
Expand Down
28 changes: 16 additions & 12 deletions Tests/TestIdlStandard/TestIdlStandard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@

<!-- Add VC++ to the PATH -->
<UsingTask TaskName="OpenDDSharp.BuildTasks.AddPathVC" AssemblyFile="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.BuildTasks\bin\$(Configuration)\OpenDDSharp.BuildTasks.dll" />
<Target Name="AddPathVCTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Target Name="AddPathVCTarget" BeforeTargets="PreBuildEvent">
<Message Text="Add Visual C++ to the PATH..." Importance="High" />
<AddPathVC Platform="$(Platform)" />
</Target>

<!-- Set Windos environment variables -->
<UsingTask TaskName="OpenDDSharp.BuildTasks.SetEnvVar" AssemblyFile="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.BuildTasks\bin\$(Configuration)\OpenDDSharp.BuildTasks.dll" />
<Target Name="SetEnvVarTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Message Text="Set the environment variables:" Importance="High" />
<Target Name="SetEnvVarTarget" BeforeTargets="PreBuildEvent">
<Message Text="Set Windows environment variables:" Importance="High" />
<Message Text="DDS_ROOT=$(DDS_ROOT)" Importance="High" />
<Message Text="ACE_ROOT=$(ACE_ROOT)" Importance="High" />
<Message Text="TAO_ROOT=$(TAO_ROOT)" Importance="High" />
Expand All @@ -82,18 +82,20 @@

<!-- Generate Windows native OpenDDS project -->
<UsingTask TaskName="OpenDDSharp.BuildTasks.GenerateNativeProjectTask" AssemblyFile="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.BuildTasks\bin\$(Configuration)\OpenDDSharp.BuildTasks.dll" />
<Target Name="GenerateNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Target Name="GenerateNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\$(IntermediateOutputPath)NativeProject\%(filename).idl')">
<Message Text="Generate Windows Native OpenDDS project" Importance="High" />
<GenerateNativeProjectTask IntDir="$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)NativeProject'))" OriginalProjectName="$(ProjectName)" IdlFiles="@(IdlFiles)" TemplatePath="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.IdlGenerator\NativeIdlProjectTemplate.vstemplate" Configuration="$(Configuration)" Platform="$(Platform)" IsStandard="True" />
</Target>

<!-- Generate Windows wrapper C project -->
<Target Name="GenerateWrapperProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Target Name="GenerateWrapperProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\$(IntermediateOutputPath)WrapperProject\%(filename).idl')">
<Message Text="Generate Windows Wrapper OpenDDS project" Importance="High" />
<GenerateNativeProjectTask IntDir="$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)WrapperProject'))" OriginalProjectName="$(ProjectName)" IdlFiles="@(IdlFiles)" TemplatePath="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.IdlGenerator\StandardWrapperIdlProject.vstemplate" Configuration="$(Configuration)" Platform="$(Platform)" IsStandard="True" IsWrapper="True" />
</Target>

<!-- Set Linux environment variables -->
<Target Name="SetLinuxEnvVarTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')" Condition="'$(IsLinux)'=='true'">
<Message Text="Set the Linux environment variables:" Importance="High" />
<Target Name="SetLinuxEnvVarTarget" BeforeTargets="PreBuildEvent" Condition="'$(IsLinux)'=='true'">
<Message Text="Set Linux environment variables:" Importance="High" />
<Message Text="DDS_ROOT=$(DDS_ROOT_LINUX)" Importance="High" />
<Message Text="ACE_ROOT=$(ACE_ROOT_LINUX)" Importance="High" />
<Message Text="TAO_ROOT=$(TAO_ROOT_LINUX)" Importance="High" />
Expand All @@ -103,7 +105,8 @@
</Target>

<!-- Generate Linux native OpenDDS project -->
<Target Name="GenerateLinuxNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')" Condition="'$(IsLinux)'=='true'">
<Target Name="GenerateLinuxNativeProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\$(IntermediateOutputPath)LinuxNativeProject\%(filename).idl')" Condition="'$(IsLinux)'=='true'">
<Message Text="Generate Linux Native OpenDDS project" Importance="High" />
<ItemGroup>
<HToCopy Include="$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)NativeProject'))\*.h" />
<CPPToCopy Include="$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)NativeProject'))\*.cpp" />
Expand All @@ -116,7 +119,8 @@
</Target>

<!-- Generate Linux wrapper C project -->
<Target Name="GenerateLinuxWrapperProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')" Condition="'$(IsLinux)'=='true'">
<Target Name="GenerateLinuxWrapperProjectTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\$(IntermediateOutputPath)LinuxWrappreProject\%(filename).idl')" Condition="'$(IsLinux)'=='true'">
<Message Text="Generate Linux Wrapper OpenDDS project" Importance="High" />
<ItemGroup>
<HWrapperToCopy Include="$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)WrapperProject'))\*.h" />
<CPPWrapperToCopy Include="$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)WrapperProject'))\*.cpp" />
Expand All @@ -127,7 +131,7 @@
</Target>

<!-- Set environment variables -->
<Target Name="ReSetEnvVarTarget" BeforeTargets="PreBuildEvent" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Target Name="ReSetEnvVarTarget" BeforeTargets="PreBuildEvent">
<Message Text="Set the environment variables:" Importance="High" />
<Message Text="DDS_ROOT=$(DDS_ROOT)" Importance="High" />
<Message Text="ACE_ROOT=$(ACE_ROOT)" Importance="High" />
Expand All @@ -139,11 +143,11 @@

<!-- Generate OpenDDSharp IDL files-->
<Target Name="OpenDDSharpIdlx64" BeforeTargets="PreBuildEvent" Condition="'$(Platform)'=='x64'" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Message Text="Generating %(IdlFiles.Identity) code..." Importance="High" />
<Message Text="Generating OpenDDSharp %(IdlFiles.Identity) code..." Importance="High" />
<Exec Command="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.IdlGenerator\bin\x64\$(Configuration)\openddsharp_idl.exe &quot;%(IdlFiles.Identity)&quot; -csharp -P$(ProjectName)" IgnoreExitCode="false" ContinueOnError="false" />
</Target>
<Target Name="OpenDDSharpIdlx86" BeforeTargets="PreBuildEvent" Condition="'$(Platform)'=='x86'" Inputs="@(IdlFiles)" Outputs="@(IdlFiles->'%(RootDir)%(Directory)..\%(filename)TypeSupport.cs')">
<Message Text="Generating %(IdlFiles.Identity) code..." Importance="High" />
<Message Text="Generating OpenDDSharp %(IdlFiles.Identity) code..." Importance="High" />
<Exec Command="$(MSBuildThisFileDirectory)..\..\Sources\OpenDDSharp.IdlGenerator\bin\Win32\$(Configuration)\openddsharp_idl.exe &quot;%(IdlFiles.Identity)&quot; -csharp -P$(ProjectName)" IgnoreExitCode="false" ContinueOnError="false" />
</Target>

Expand Down

0 comments on commit b99c7ad

Please sign in to comment.