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