Skip to content

Commit 25ac241

Browse files
author
bfulgham
committed
Updates for VS2010
git-svn-id: http://svn.code.sf.net/p/opencflite/code/trunk@248 e824114e-66b8-4a2a-92bd-c737042b8df8
1 parent feec84c commit 25ac241

31 files changed

+512
-630
lines changed

CFLite.sln

+14-44
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,31 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 10.00
3-
# Visual Studio 2008
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
44
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{60C062B2-DAC0-4361-9D92-9654183AFD72}"
55
EndProject
6-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WritePListExample", "examples\WritePListExample\WritePListExample.vcproj", "{AD525151-D756-44E6-AEA7-12052F4F43E2}"
7-
ProjectSection(ProjectDependencies) = postProject
8-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
9-
EndProjectSection
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WritePListExample", "examples\WritePListExample\WritePListExample.vcxproj", "{AD525151-D756-44E6-AEA7-12052F4F43E2}"
107
EndProject
11-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReadPListExample", "examples\ReadPListExample\ReadPListExample.vcproj", "{CDF7218C-AE33-4367-B6F9-5728AE3C7F6E}"
12-
ProjectSection(ProjectDependencies) = postProject
13-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
14-
EndProjectSection
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReadPListExample", "examples\ReadPListExample\ReadPListExample.vcxproj", "{CDF7218C-AE33-4367-B6F9-5728AE3C7F6E}"
159
EndProject
16-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StringExample", "examples\StringExample\StringExample.vcproj", "{4E98FDA7-54AE-4A8E-847A-8665DEF6BBE1}"
17-
ProjectSection(ProjectDependencies) = postProject
18-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
19-
EndProjectSection
10+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StringExample", "examples\StringExample\StringExample.vcxproj", "{4E98FDA7-54AE-4A8E-847A-8665DEF6BBE1}"
2011
EndProject
21-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AllocatorExample", "examples\Allocator\Allocator.vcproj", "{2A4D3906-539D-4D1E-9C97-47ABD83FD999}"
22-
ProjectSection(ProjectDependencies) = postProject
23-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
24-
EndProjectSection
12+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AllocatorExample", "examples\Allocator\Allocator.vcxproj", "{2A4D3906-539D-4D1E-9C97-47ABD83FD999}"
2513
EndProject
26-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CFLite", "windows\CFLiteLib.vcproj", "{EC99198F-4CDD-4D85-AE6F-F837FF6CC372}"
14+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CFLite", "windows\CFLiteLib.vcxproj", "{EC99198F-4CDD-4D85-AE6F-F837FF6CC372}"
2715
EndProject
28-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DisplayURL", "examples\DisplayURL\DisplayURL.vcproj", "{6816B34F-DE8C-48EC-8F31-11176DA5FE11}"
29-
ProjectSection(ProjectDependencies) = postProject
30-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
31-
EndProjectSection
16+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DisplayURL", "examples\DisplayURL\DisplayURL.vcxproj", "{6816B34F-DE8C-48EC-8F31-11176DA5FE11}"
3217
EndProject
33-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DNSServiceMetaQuery", "examples\DNSServiceMetaQuery\DNSServiceMetaQuery.vcproj", "{B5F7F4D9-DCA9-4CCD-8776-D2EAF45E4BE9}"
34-
ProjectSection(ProjectDependencies) = postProject
35-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
36-
EndProjectSection
18+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DNSServiceMetaQuery", "examples\DNSServiceMetaQuery\DNSServiceMetaQuery.vcxproj", "{B5F7F4D9-DCA9-4CCD-8776-D2EAF45E4BE9}"
3719
EndProject
38-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CFRunLoopTimerExample", "examples\CFRunLoopTimerExample\CFRunLoopTimerExample.vcproj", "{6EC2C74D-B79D-4B8D-B14B-94ED3F08EB28}"
39-
ProjectSection(ProjectDependencies) = postProject
40-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
41-
EndProjectSection
20+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CFRunLoopTimerExample", "examples\CFRunLoopTimerExample\CFRunLoopTimerExample.vcxproj", "{6EC2C74D-B79D-4B8D-B14B-94ED3F08EB28}"
4221
EndProject
43-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "objc", "objc4\objc.vcproj", "{B3408263-0CF1-47BE-83CC-56070EFC9BC1}"
22+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "objc", "objc4\objc.vcxproj", "{B3408263-0CF1-47BE-83CC-56070EFC9BC1}"
4423
EndProject
45-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "objcrt", "objc4\objcrt\objcrt.vcproj", "{E38C1996-8B3D-4050-A4B2-DC85957B047D}"
46-
ProjectSection(ProjectDependencies) = postProject
47-
{B3408263-0CF1-47BE-83CC-56070EFC9BC1} = {B3408263-0CF1-47BE-83CC-56070EFC9BC1}
48-
EndProjectSection
24+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "objcrt", "objc4\objcrt\objcrt.vcxproj", "{E38C1996-8B3D-4050-A4B2-DC85957B047D}"
4925
EndProject
50-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BundleExample", "examples\BundleExample\BundleExample.vcproj", "{4E98FDA7-54AE-4A8E-847A-86651EF6BBE1}"
51-
ProjectSection(ProjectDependencies) = postProject
52-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
53-
EndProjectSection
26+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BundleExample", "examples\BundleExample\BundleExample.vcxproj", "{4E98FDA7-54AE-4A8E-847A-86651EF6BBE1}"
5427
EndProject
55-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PLConvertExample", "examples\PLConvertExample\PLConvertExample.vcproj", "{9DF7218C-AE33-4387-B6F9-5728AE3C7F6E}"
56-
ProjectSection(ProjectDependencies) = postProject
57-
{EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
58-
EndProjectSection
28+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PLConvertExample", "examples\PLConvertExample\PLConvertExample.vcxproj", "{9DF7218C-AE33-4387-B6F9-5728AE3C7F6E}"
5929
EndProject
6030
Global
6131
GlobalSection(SolutionConfigurationPlatforms) = preSolution

examples/Allocator/Allocator.vcxproj

+8-26
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,26 @@
3131
</ImportGroup>
3232
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
3333
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
34+
<Import Project="..\..\props\common.props" />
35+
<Import Project="..\..\props\release.props" />
3436
</ImportGroup>
3537
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
3638
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
39+
<Import Project="..\..\props\common.props" />
40+
<Import Project="..\..\props\debug.props" />
3741
</ImportGroup>
3842
<PropertyGroup Label="UserMacros" />
3943
<PropertyGroup>
4044
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
4145
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\dist\bin\$(Configuration)\</OutDir>
4246
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
4347
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
44-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)\dist\bin\$(Configuration)\</OutDir>
45-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
46-
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
47-
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
48-
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
49-
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
50-
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
51-
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
52-
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
5348
</PropertyGroup>
5449
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
5550
<ClCompile>
5651
<Optimization>Disabled</Optimization>
5752
<AdditionalIncludeDirectories>$(SolutionDir)\dist\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
58-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;DEPLOYMENT_TARGET_WIN32;_WIN32_WINNT=0x0501;WINVER=0x0501;WINDOWS_LEAN_AND_MEAN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
53+
<PreprocessorDefinitions>_CONSOLE;DEPLOYMENT_TARGET_WIN32;WINDOWS_LEAN_AND_MEAN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
5954
<MinimalRebuild>true</MinimalRebuild>
6055
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
6156
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -82,26 +77,13 @@
8277
</ItemDefinitionGroup>
8378
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
8479
<ClCompile>
85-
<AdditionalIncludeDirectories>$(SolutionDir)\dist\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
86-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;DEPLOYMENT_TARGET_WIN32;_WIN32_WINNT=0x0501;WINVER=0x0501;%(PreprocessorDefinitions)</PreprocessorDefinitions>
87-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
88-
<PrecompiledHeader>
89-
</PrecompiledHeader>
90-
<WarningLevel>Level3</WarningLevel>
91-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
80+
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
81+
<PreprocessorDefinitions>_CONSOLE;DEPLOYMENT_TARGET_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
9282
</ClCompile>
9383
<Link>
9484
<OutputFile>$(SolutionDir)\dist\bin\$(ProjectName)_$(Configuration).exe</OutputFile>
95-
<AdditionalLibraryDirectories>$(SolutionDir)\dist\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
96-
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
97-
<GenerateDebugInformation>true</GenerateDebugInformation>
85+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
9886
<SubSystem>Console</SubSystem>
99-
<OptimizeReferences>true</OptimizeReferences>
100-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
101-
<RandomizedBaseAddress>false</RandomizedBaseAddress>
102-
<DataExecutionPrevention>
103-
</DataExecutionPrevention>
104-
<TargetMachine>MachineX86</TargetMachine>
10587
</Link>
10688
<Bscmake>
10789
<OutputFile>$(SolutionDir)\dist\bin\$(ProjectName)_$(Configuration).bsc</OutputFile>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
</ItemGroup>
13+
<PropertyGroup Label="Globals">
14+
<ProjectGuid>{4E98FDA7-54AE-4A8E-847A-86651EF6BBE1}</ProjectGuid>
15+
<RootNamespace>StringExample</RootNamespace>
16+
<Keyword>Win32Proj</Keyword>
17+
</PropertyGroup>
18+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
20+
<ConfigurationType>Application</ConfigurationType>
21+
<CharacterSet>Unicode</CharacterSet>
22+
<WholeProgramOptimization>true</WholeProgramOptimization>
23+
</PropertyGroup>
24+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
25+
<ConfigurationType>Application</ConfigurationType>
26+
<CharacterSet>Unicode</CharacterSet>
27+
</PropertyGroup>
28+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
29+
<ImportGroup Label="ExtensionSettings">
30+
</ImportGroup>
31+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
32+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
33+
<Import Project="..\..\props\common.props" />
34+
<Import Project="..\..\props\release.props" />
35+
</ImportGroup>
36+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
37+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38+
<Import Project="..\..\props\common.props" />
39+
<Import Project="..\..\props\debug.props" />
40+
</ImportGroup>
41+
<PropertyGroup Label="UserMacros" />
42+
<PropertyGroup>
43+
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
44+
</PropertyGroup>
45+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
46+
<ClCompile>
47+
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
48+
<PreprocessorDefinitions>_CONSOLE;DEPLOYMENT_TARGET_WIN32;WINDOWS_LEAN_AND_MEAN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
49+
</ClCompile>
50+
<Link>
51+
<AdditionalDependencies>CFLite_$(Configuration).lib;MSVCRTD.LIB;MSVCPRTD.LIB;%(AdditionalDependencies)</AdditionalDependencies>
52+
<OutputFile>$(SolutionDir)\dist\bin\$(ProjectName)_$(Configuration).exe</OutputFile>
53+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
54+
<SubSystem>Console</SubSystem>
55+
</Link>
56+
<Bscmake>
57+
<OutputFile>$(SolutionDir)\dist\bin\$(ProjectName)_$(Configuration).bsc</OutputFile>
58+
</Bscmake>
59+
</ItemDefinitionGroup>
60+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61+
<ClCompile>
62+
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
63+
<PreprocessorDefinitions>_CONSOLE;DEPLOYMENT_TARGET_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
64+
</ClCompile>
65+
<Link>
66+
<OutputFile>$(SolutionDir)\dist\bin\$(ProjectName)_$(Configuration).exe</OutputFile>
67+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
68+
<SubSystem>Console</SubSystem>
69+
</Link>
70+
<Bscmake>
71+
<OutputFile>$(SolutionDir)\dist\bin\$(ProjectName)_$(Configuration).bsc</OutputFile>
72+
</Bscmake>
73+
</ItemDefinitionGroup>
74+
<ItemGroup>
75+
<ClCompile Include="BundleExample.c" />
76+
</ItemGroup>
77+
<ItemGroup>
78+
<ProjectReference Include="..\..\windows\CFLiteLib.vcxproj">
79+
<Project>{ec99198f-4cdd-4d85-ae6f-f837ff6cc372}</Project>
80+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
81+
</ProjectReference>
82+
</ItemGroup>
83+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
84+
<ImportGroup Label="ExtensionTargets">
85+
</ImportGroup>
86+
</Project>

0 commit comments

Comments
 (0)