aboutsummaryrefslogtreecommitdiff
path: root/projects/wolfssl_override.props
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-08-06 02:08:58 -0400
committerSteve Holme <steve_holme@hotmail.com>2015-08-06 18:02:19 +0100
commitbb6b521f69c0508276f6f5af46c4576dc0b9e1e3 (patch)
tree935bbe93c69995bbcf3e0f4b700150250cc5ef7a /projects/wolfssl_override.props
parent8279dd7d3975fe9aaeabcf9a79ad117c1cfdfef8 (diff)
build: Added wolfSSL build script for Visual Studio projects
Added the wolfSSL build script, based on build-openssl.bat, as well as the property sheet and header file required for the upcoming additions to the Visual Studio project files.
Diffstat (limited to 'projects/wolfssl_override.props')
-rw-r--r--projects/wolfssl_override.props35
1 files changed, 35 insertions, 0 deletions
diff --git a/projects/wolfssl_override.props b/projects/wolfssl_override.props
new file mode 100644
index 000000000..191ae92d8
--- /dev/null
+++ b/projects/wolfssl_override.props
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+We use this file to override some properties of the wolfSSL project files.
+
+In build-wolfssl when we call msbuild to build wolfSSL we pass in this props
+file by using the CustomAfterMicrosoftCommonTargets property.
+-->
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);
+ </PreprocessorDefinitions>
+ <!--
+ Our options file wolfssl_options.h is copied by build-wolfssl to
+ $(SolutionDir)\wolfssl\options.h. It includes all the options we need
+ to build wolfSSL for compatibility. See wolfssl_options.h for more info.
+ -->
+ <ForcedIncludeFiles>%(ForcedIncludeFiles);
+ $(SolutionDir)\wolfssl\options.h;
+ </ForcedIncludeFiles>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <!--
+ The project GUID for wolfssl.vcxproj is 73973223-5EE8-41CA-8E88-1D60E89A237B.
+ Since we have are using certain options like fast math (TFM) in our options
+ file we must compile the corresponding units in wolfssl.vcxproj. If the user
+ disables such an option the unit can still be compiled it just won't be used.
+ -->
+ <ItemGroup Condition="'$(ProjectGuid)'=='{73973223-5EE8-41CA-8E88-1D60E89A237B}'">
+ <ClCompile Include="wolfcrypt\src\chacha.c" />
+ <ClCompile Include="wolfcrypt\src\chacha20_poly1305.c" />
+ <ClCompile Include="wolfcrypt\src\poly1305.c" />
+ <ClCompile Include="wolfcrypt\src\tfm.c" />
+ </ItemGroup>
+</Project>