2
0

wolfssl_override.props 2.0 KB

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