Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
This commit is contained in:
parent
1c265362e9
commit
b145db664f
|
@ -109,21 +109,17 @@ To manage dependencies with vcpkg:
|
||||||
|
|
||||||
This way vcpkg will download, setup and install all of those dependencies.
|
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''.
|
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>
|
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''):
|
||||||
**[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''):
|
|
||||||
|
|
||||||
<code>
|
<code>
|
||||||
set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake
|
set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables.
|
This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables.
|
||||||
</note>
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue