examples/CANOpenShell/CANOpenShell.vc10.vcxproj
author Robert Lehmann <robert.lehmann@sitec-systems.de>
Tue, 28 Jul 2015 16:36:55 +0200
changeset 793 72e9e1064432
parent 731 c4793e10e04f
permissions -rw-r--r--
timers_unix: Fix termination problem of WaitReceiveTaskEnd

The function pthread_kill sends the Signal thread and to the own process.
If you use this construct than the application which calls uses the
canfestival api will terminate at the call of canClose. To avoid that
use pthread_cancel instead of pthread_kill. To use the pthread_cancel call
you need to set the cancel ability in the thread function. That means
you need to call pthread_setcancelstate and pthread_setcanceltype.
For the termination of the thread at any time it is important to set the
cancel type to PTHREAD_CANCEL_ASYNCHRONOUS.
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     2
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     3
  <ItemGroup Label="ProjectConfigurations">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     4
    <ProjectConfiguration Include="Debug|Win32">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     5
      <Configuration>Debug</Configuration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     6
      <Platform>Win32</Platform>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     7
    </ProjectConfiguration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     8
    <ProjectConfiguration Include="Release|Win32">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     9
      <Configuration>Release</Configuration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    10
      <Platform>Win32</Platform>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    11
    </ProjectConfiguration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    12
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    13
  <PropertyGroup Label="Globals">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    14
    <ProjectName>CANOpenShell</ProjectName>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    15
    <ProjectGuid>{06B3C378-9EE4-4C56-A519-775FF499DAB5}</ProjectGuid>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    16
    <RootNamespace>CANOpenShell</RootNamespace>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    17
    <Keyword>Win32Proj</Keyword>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    18
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    19
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    20
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    21
    <ConfigurationType>Application</ConfigurationType>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    22
    <CharacterSet>Unicode</CharacterSet>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    23
    <WholeProgramOptimization>true</WholeProgramOptimization>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    24
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    25
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    26
    <ConfigurationType>Application</ConfigurationType>
731
c4793e10e04f VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 725
diff changeset
    27
    <CharacterSet>MultiByte</CharacterSet>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    28
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    29
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    30
  <ImportGroup Label="ExtensionSettings">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    31
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    32
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    33
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    34
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    35
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    36
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    37
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    38
  <PropertyGroup Label="UserMacros" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    39
  <PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    40
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    41
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    42
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    43
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    44
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    45
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    46
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    47
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    48
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    49
    <ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    50
      <Optimization>Disabled</Optimization>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    51
      <AdditionalIncludeDirectories>..\..\include;..\..\include\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    52
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    53
      <MinimalRebuild>true</MinimalRebuild>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    54
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    55
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    56
      <PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    57
      </PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    58
      <WarningLevel>Level3</WarningLevel>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    59
      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
725
54b0c6de4e15 Win32 VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 720
diff changeset
    60
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    61
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    62
    <Link>
720
09dd61317f0f Win32 fixes:
Christian Taedcke <hacking@taedcke.com>
parents: 709
diff changeset
    63
      <GenerateDebugInformation>true</GenerateDebugInformation>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    64
      <SubSystem>Console</SubSystem>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    65
      <TargetMachine>MachineX86</TargetMachine>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    66
    </Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    67
  </ItemDefinitionGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    68
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    69
    <ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    70
      <Optimization>MaxSpeed</Optimization>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    71
      <IntrinsicFunctions>true</IntrinsicFunctions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    72
      <AdditionalIncludeDirectories>..\..\include;..\..\include\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    73
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    74
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    75
      <FunctionLevelLinking>true</FunctionLevelLinking>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    76
      <PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    77
      </PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    78
      <WarningLevel>Level3</WarningLevel>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    79
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    80
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    81
    <Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    82
      <GenerateDebugInformation>true</GenerateDebugInformation>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    83
      <SubSystem>Console</SubSystem>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    84
      <OptimizeReferences>true</OptimizeReferences>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    85
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    86
      <TargetMachine>MachineX86</TargetMachine>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    87
    </Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    88
  </ItemDefinitionGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    89
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    90
    <ClCompile Include="CANOpenShell.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    91
    <ClCompile Include="CANOpenShellMasterOD.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    92
    <ClCompile Include="CANOpenShellSlaveOD.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    93
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    94
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    95
    <ClInclude Include="CANOpenShell.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    96
    <ClInclude Include="CANOpenShellMasterOD.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    97
    <ClInclude Include="CANOpenShellSlaveOD.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    98
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    99
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   100
    <None Include="ReadMe.txt" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   101
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   102
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   103
    <ProjectReference Include="..\..\CanFestival-3.vc10.vcxproj">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   104
      <Project>{50ef2507-9b87-4525-8b19-80eb42e67079}</Project>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   105
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   106
    </ProjectReference>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   107
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   108
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   109
  <ImportGroup Label="ExtensionTargets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   110
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   111
</Project>