Wiki page Compiling_the_native_Windows_EFL changed with summary [Add instructinos for vcpkg toolchain file] by Joo Paulo Taylor Ienczak Zanette
This commit is contained in:
parent
c1759254ba
commit
4a28003194
|
@ -101,6 +101,20 @@ 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
|
||||
|
||||
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, 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>
|
||||
</note>
|
||||
|
||||
----
|
||||
|
||||
=== 7 Windows Environment Variables ===
|
||||
|
@ -110,7 +124,7 @@ To manage dependencies with vcpkg:
|
|||
==Python==
|
||||
|
||||
<note important>
|
||||
**[OBS:]**
|
||||
**[OBS]**
|
||||
|
||||
Python paths in this tutorial consider that the current installed Python version is 3.8. Don't forget to check the respective paths according to the location of your current Python installation.
|
||||
</note>
|
||||
|
|
Loading…
Reference in New Issue