Much of the repetitive logic was put into mk/Common.props, mk/Windows.props, and mk/WindowsTest.props. There is still a lot of repetitive logic in the test project files that should be moved to WindowsTest.props in the future. (In fact, it would be better if the build system were modified in the future to work like CMake does, (re-)generating the necessary project files during the build.) Regular (OPENSSL_NO_ASM) mode will come in a later commit. I've marked the Visual Studio files as eol=crlf in .gitattributes for now. This should be the least painful option, since it any CRLF conversion would create problems for for people sharing a source tree across platforms (e.g. a shared folder in a VM), and because Visual Studio IDE resets the files back to CR/LF line endings whenever a change to project or solution settings is made using its GUI. There is no license comment in these files because Visual Studio strips comments when changes are made using the GUI.
20 lines
923 B
XML
20 lines
923 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
</PropertyGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="Windows.props" />
|
|
</ImportGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>libring.lib;libring-test.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(SolutionDir)build\$(Platform)-$(Configuration)\lib;$(SolutionDir)build\obj\$(Platform)-$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
</Project>
|