Visual Studio 2015 build improvements.

This commit is contained in:
Bart House
2017-08-29 22:27:57 -07:00
committed by Pasi Kallinen
parent 98266801b6
commit 77bd37b435
5 changed files with 40 additions and 6 deletions

View File

@@ -4,4 +4,5 @@
*.db
record
*.user
*.opendb

View File

@@ -34,5 +34,8 @@
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
</Project>

View File

@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="config.props" />
<PropertyGroup Label="Globals">
<ProjectGuid>{6813477F-64B6-4B97-B230-438D0D233385}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>nhdefkey</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="default_dll.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -15,17 +13,18 @@
<Import Project="common.props" />
<Import Project="dirs.props" />
<Import Project="files.props" />
<PropertyGroup>
<OutDir>$(BinDir)</OutDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>NHDEFKEY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(IncDir);$(SysWinntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<ModuleDefinitionFile>nhdefkey.def</ModuleDefinitionFile>
<ImportLibrary>$(ToolsDir)$(TargetName).lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="$(SysWinntDir)nhdefkey.c" />
</ItemGroup>

View File

@@ -1,5 +1,9 @@
Changes made to vs2015 build
To Do
1. Build other key handler DLLs.
2. Ensure Release build does not have unexpected files after clean build.
Changes
1. Removed the use of /FS.
2. Allow multi-processor compilation.