Skip to content

Commit

Permalink
Ticket #290 Add support for Virtualization on Windows
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/tcnopen/trdp/trunk@2124 3b5a3598-5f4e-4449-9e63-bd40438bfec0
  • Loading branch information
andersoberg committed Nov 13, 2019
1 parent 90ea968 commit b228ae8
Show file tree
Hide file tree
Showing 2 changed files with 191 additions and 4 deletions.
110 changes: 106 additions & 4 deletions trdp/VSExpress2015/TRDP_DLL/TRDP_DLL.vcxproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="DebugSim|Win32">
<Configuration>DebugSim</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DebugSim|x64">
<Configuration>DebugSim</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
Expand All @@ -23,6 +31,7 @@
<Keyword>TRDPProj</Keyword>
<RootNamespace>TRDP_DLL</RootNamespace>
<ProjectName>TRDP_DLL</ProjectName>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Expand All @@ -31,12 +40,24 @@
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
Expand All @@ -57,9 +78,15 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
Expand All @@ -72,11 +99,23 @@
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
<TargetName>Sim$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
<TargetName>$(ProjectName)Sim</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
Expand All @@ -103,6 +142,21 @@
<PostBuildEvent>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;MD_SUPPORT=1;L_ENDIAN;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_DEBUG;DLL_EXPORT;TSN_SUPPORT;_LIB;SIM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\src\api;..\..\src\vos\api;..\..\src\vos\windows;$(SIMTECC_SDK_PATH)\inc;$(SIMTECC_SDK_PATH)\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
Expand All @@ -119,6 +173,21 @@
<PostBuildEvent>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugSim|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN64;MD_SUPPORT=1;L_ENDIAN;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_DEBUG;DLL_EXPORT;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\src\api;..\..\src\vos\api;..\..\src\vos\windows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
Expand Down Expand Up @@ -174,9 +243,39 @@
<ClCompile Include="..\..\src\common\trdp_xml.c" />
<ClCompile Include="..\..\src\vos\common\vos_mem.c" />
<ClCompile Include="..\..\src\vos\common\vos_utils.c" />
<ClCompile Include="..\..\src\vos\windows\vos_shared_mem.c" />
<ClCompile Include="..\..\src\vos\windows\vos_sock.c" />
<ClCompile Include="..\..\src\vos\windows\vos_thread.c" />
<ClCompile Include="..\..\src\vos\windows\vos_shared_mem.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows\vos_sock.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows\vos_thread.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_shared_mem.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_sock.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_sockTSN.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_thread.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\api\iec61375-2-3.h" />
Expand All @@ -202,7 +301,10 @@
<ClInclude Include="..\..\src\vos\api\vos_thread.h" />
<ClInclude Include="..\..\src\vos\api\vos_types.h" />
<ClInclude Include="..\..\src\vos\api\vos_utils.h" />
<ClInclude Include="..\..\src\vos\windows\vos_private.h" />
<ClInclude Include="..\..\src\vos\windows\vos_private.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSim|Win32'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\..\src\vos\windows_sim\vos_private.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
85 changes: 85 additions & 0 deletions trdp/VSExpress2015/TRDP_DLL/TRDP_DLL.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\src\common\tau_ctrl.c" />
<ClCompile Include="..\..\src\common\tau_dnr.c" />
<ClCompile Include="..\..\src\common\tau_marshall.c" />
<ClCompile Include="..\..\src\common\tau_so_if.c" />
<ClCompile Include="..\..\src\common\tau_tti.c" />
<ClCompile Include="..\..\src\common\tau_xml.c" />
<ClCompile Include="..\..\src\common\tlc_if.c" />
<ClCompile Include="..\..\src\common\tlm_if.c" />
<ClCompile Include="..\..\src\common\tlp_if.c" />
<ClCompile Include="..\..\src\common\trdp_dllmain.c" />
<ClCompile Include="..\..\src\common\trdp_mdcom.c" />
<ClCompile Include="..\..\src\common\trdp_pdcom.c" />
<ClCompile Include="..\..\src\common\trdp_stats.c" />
<ClCompile Include="..\..\src\common\trdp_utils.c" />
<ClCompile Include="..\..\src\common\trdp_xml.c" />
<ClCompile Include="..\..\src\vos\common\vos_mem.c" />
<ClCompile Include="..\..\src\vos\common\vos_utils.c" />
<ClCompile Include="..\..\src\vos\windows\vos_shared_mem.c">
<Filter>vos_windows</Filter>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows\vos_sock.c">
<Filter>vos_windows</Filter>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows\vos_thread.c">
<Filter>vos_windows</Filter>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_shared_mem.c">
<Filter>vos_windowsSim</Filter>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_sock.c">
<Filter>vos_windowsSim</Filter>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_sockTSN.c">
<Filter>vos_windowsSim</Filter>
</ClCompile>
<ClCompile Include="..\..\src\vos\windows_sim\vos_thread.c">
<Filter>vos_windowsSim</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\api\iec61375-2-3.h" />
<ClInclude Include="..\..\src\api\tau_ctrl.h" />
<ClInclude Include="..\..\src\api\tau_dnr.h" />
<ClInclude Include="..\..\src\api\tau_marshall.h" />
<ClInclude Include="..\..\src\api\tau_so_if.h" />
<ClInclude Include="..\..\src\api\tau_tti.h" />
<ClInclude Include="..\..\src\api\tau_xml.h" />
<ClInclude Include="..\..\src\api\trdp_if_light.h" />
<ClInclude Include="..\..\src\api\trdp_serviceRegistry.h" />
<ClInclude Include="..\..\src\api\trdp_tsn_def.h" />
<ClInclude Include="..\..\src\api\trdp_types.h" />
<ClInclude Include="..\..\src\common\tlc_if.h" />
<ClInclude Include="..\..\src\common\trdp_mdcom.h" />
<ClInclude Include="..\..\src\common\trdp_pdcom.h" />
<ClInclude Include="..\..\src\common\trdp_private.h" />
<ClInclude Include="..\..\src\common\trdp_stats.h" />
<ClInclude Include="..\..\src\common\trdp_utils.h" />
<ClInclude Include="..\..\src\vos\api\vos_mem.h" />
<ClInclude Include="..\..\src\vos\api\vos_shared_mem.h" />
<ClInclude Include="..\..\src\vos\api\vos_sock.h" />
<ClInclude Include="..\..\src\vos\api\vos_thread.h" />
<ClInclude Include="..\..\src\vos\api\vos_types.h" />
<ClInclude Include="..\..\src\vos\api\vos_utils.h" />
<ClInclude Include="..\..\src\vos\windows_sim\vos_private.h">
<Filter>vos_windowsSim</Filter>
</ClInclude>
<ClInclude Include="..\..\src\vos\windows\vos_private.h">
<Filter>vos_windows</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<Filter Include="vos_windowsSim">
<UniqueIdentifier>{b0d65c8f-ed6d-492d-8f5e-4c19c38f6ed0}</UniqueIdentifier>
</Filter>
<Filter Include="vos_windows">
<UniqueIdentifier>{5492f8a2-1247-4412-8615-9c0928efc84a}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

0 comments on commit b228ae8

Please sign in to comment.