Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida

This commit is contained in:
Felipe Magno de Almeida 2020-09-09 19:30:58 -07:00 committed by www-data
parent 1c265362e9
commit b145db664f
1 changed files with 2 additions and 6 deletions

View File

@ -109,21 +109,17 @@ To manage dependencies with vcpkg:
This way vcpkg will download, setup and install all of those dependencies.
4.3. Send vcpkg toolchain file to meson
4.3. Set vcpkg toolchain file for meson
The cmake found by meson still has to find the dependencies, but vcpkg's installed libraries aren't found by default. For that, [vcpkg's docummentation](https://github.com/microsoft/vcpkg#using-vcpkg-with-cmake) recommends using the cmake argument ''CMAKE_TOOLCHAIN_FILE'' to point to vcpkg's toolchain file. In current EFL build, to do that, you may set the variable ''VCPKG_TOOLCHAIN_FILE'' which is automatically sent to meson when calling ''configure.bat''.
<note>
**[Hint]**
You can create an environment ''env.bat'' file in EFL's root (e.g. ''C:/Users/Someone/efl/env.bat'') before calling ''configure.bat'', containing for example (considering vcpkg is installed in ''C:/Users/Someone/vcpkg''):
Create an environment ''env.bat'' file in EFL's root (e.g. ''C:/Users/Someone/efl/env.bat'') before calling ''configure.bat'', containing for example (considering vcpkg is installed in ''C:/Users/Someone/vcpkg''):
<code>
set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake
</code>
This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables.
</note>
----