1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3We use this file to override some properties of the wolfSSL project files. 4 5In build-wolfssl when we call msbuild to build wolfSSL we pass in this props 6file by using the CustomAfterMicrosoftCommonTargets property. 7--> 8<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 9 <ItemDefinitionGroup> 10 <ClCompile> 11 <PreprocessorDefinitions>%(PreprocessorDefinitions);</PreprocessorDefinitions> 12 <!-- 13 Our options file wolfssl_options.h is copied by build-wolfssl to 14 $(SolutionDir)\wolfssl\options.h. It includes all the options we need 15 to build wolfSSL for compatibility. See wolfssl_options.h for more info. 16 --> 17 <ForcedIncludeFiles>$(SolutionDir)\wolfssl\options.h;%(ForcedIncludeFiles);</ForcedIncludeFiles> 18 <!-- 19 Do not use the Unicode character set since their MinGW config does not. 20 Do not use their IDE\WIN\user_settings.h since we have wolfssl_options.h. 21 --> 22 <UndefinePreprocessorDefinitions>_UNICODE;UNICODE;WOLFSSL_USER_SETTINGS;CYASSL_USER_SETTINGS;%(UndefinePreprocessorDefinitions);</UndefinePreprocessorDefinitions> 23 </ClCompile> 24 <ResourceCompile> 25 <UndefinePreprocessorDefinitions>_UNICODE;UNICODE;%(UndefinePreprocessorDefinitions);</UndefinePreprocessorDefinitions> 26 </ResourceCompile> 27 </ItemDefinitionGroup> 28 <!-- 29 The project GUID for wolfssl.vcxproj is 73973223-5EE8-41CA-8E88-1D60E89A237B. 30 Since we have are using certain options like fast math (TFM) in our options 31 file we must compile the corresponding units in wolfssl.vcxproj. If the user 32 disables such an option the unit can still be compiled it just won't be used. 33 --> 34 <ItemGroup Condition="'$(ProjectGuid)'=='{73973223-5EE8-41CA-8E88-1D60E89A237B}'"> 35 <ClCompile Include="wolfcrypt\src\chacha.c" /> 36 <ClCompile Include="wolfcrypt\src\chacha20_poly1305.c" /> 37 <ClCompile Include="wolfcrypt\src\poly1305.c" /> 38 <ClCompile Include="wolfcrypt\src\tfm.c" /> 39 </ItemGroup> 40</Project> 41