[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=9845ade2327a236de7766569c54d217ec859d7ed commit 9845ade2327a236de7766569c54d217ec859d7ed Author: Felipe Magno de Almeida Date: Wed Sep 9 23:00:38 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 681e533e0..bb059b683 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -90,7 +90,9 @@ Vcpkg is not strictly necessary, since you could install each of the dependencie To manage dependencies with vcpkg: -4.1. Follow the **Vcpkg Installation Guide** in [[https://github.com/microsoft/vcpkg|Vcpkg's Github Repository]]. +4.1. Follow the **Vcpkg Installation Guide** in [[https://github.com/microsoft/vcpkg|Vcpkg's Github Repository]]. You should checkout a tag before bootstrapping like this: + +c:\vcpkg-path> git checkout 2020.07 4.2. Install the following dependencies for x64 windows: @@ -103,7 +105,7 @@ To manage dependencies with vcpkg: - Zlib. -c:\path-to-vcpkg> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows libjpeg-turbo:x64-windows curl:x64-windows +c:\vcpkg-path> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows libjpeg-turbo:x64-windows curl:x64-windows This way vcpkg will download, setup and install all of those dependencies. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=538fa4d2002004235dba6f9d62a749dc84dc48af commit 538fa4d2002004235dba6f9d62a749dc84dc48af Author: Felipe Magno de Almeida Date: Wed Sep 9 22:53:48 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 4 1 file changed, 4 insertions(+) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 07eda410e..681e533e0 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -139,3 +139,7 @@ Then we can configure and build and install c:\efl-path> configure.bat --prefix=C:\efl c:\efl-path> build.bat c:\efl-path> install.bat + +c:\efl-path> cd efl-prefix-path +c:\efl-prefix-path> cd bin +c:\efl-prefix-path\bin> .\elementary_test.exe \ No newline at end of file --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=65e824be3c94a4ae0d74031fd3fe35800d3a3957 commit 65e824be3c94a4ae0d74031fd3fe35800d3a3957 Author: Felipe Magno de Almeida Date: Wed Sep 9 22:35:55 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 287f7ec02..07eda410e 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -125,7 +125,7 @@ The cmake found by meson still has to find the dependencies, but vcpkg's install 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''): -c:\efl-path> echo "set vcpkg_toolchain_file=C:\vcpkg-path\scripts\buildsystems\vcpkg.cmake" > env.bat +c:\efl-path> echo set vcpkg_toolchain_file=C:\vcpkg-path\scripts\buildsystems\vcpkg.cmake > env.bat This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=75f00fadc4f89540c59b7f7aa5fde591cdda95d9 commit 75f00fadc4f89540c59b7f7aa5fde591cdda95d9 Author: Felipe Magno de Almeida Date: Wed Sep 9 22:33:53 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 7745d6adf..287f7ec02 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -15,7 +15,6 @@ Except for topic 6 (Environment variables) that can be consulted during the proc - Meson - LLVM - Vcpkg -- Environment variables - Compiling the EFL @@ -133,7 +132,7 @@ This file is run everytime by ''configure.bat'' as a special way to set local cu It is necessary to add the vcpkg-installed dependencies to PATH environment variable so EFL binaries built and used in efl's build can find its dependencies. -c:\efl-path> set "PATH=%PATH%;C:\path-to-vcpkg\installed\x64-windows\bin" +c:\efl-path> set "PATH=%PATH%;C:\path-to-vcpkg\installed\x64-windows\debug\bin;C:\path-to-vcpkg\installed\x64-windows\bin" Then we can configure and build and install --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=6968eb5684d16b2126965f7d46ad1a8013520ef3 commit 6968eb5684d16b2126965f7d46ad1a8013520ef3 Author: Felipe Magno de Almeida Date: Wed Sep 9 21:48:17 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 18487f9f6..7745d6adf 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -95,6 +95,7 @@ To manage dependencies with vcpkg: 4.2. Install the following dependencies for x64 windows: + - Curl; - OpenSSL; - Freetype; - Check; @@ -103,7 +104,7 @@ To manage dependencies with vcpkg: - Zlib. -c:\path-to-vcpkg> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows libjpeg-turbo:x64-windows +c:\path-to-vcpkg> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows libjpeg-turbo:x64-windows curl:x64-windows This way vcpkg will download, setup and install all of those dependencies. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=10803d5bd464cbb72db95b1e1a600a2bd2ceb175 commit 10803d5bd464cbb72db95b1e1a600a2bd2ceb175 Author: Felipe Magno de Almeida Date: Wed Sep 9 21:45:30 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 93b3ca44e..18487f9f6 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -99,10 +99,11 @@ To manage dependencies with vcpkg: - Freetype; - Check; - Libpng; + - Libjpeg-turbo; - Zlib. -c:\path-to-vcpkg> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows +c:\path-to-vcpkg> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows libjpeg-turbo:x64-windows This way vcpkg will download, setup and install all of those dependencies. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=a5724d669fc69bb34834b06fbf0c3d31c3dc0481 commit a5724d669fc69bb34834b06fbf0c3d31c3dc0481 Author: Felipe Magno de Almeida Date: Wed Sep 9 20:37:17 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 578f9a4a9..93b3ca44e 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -121,10 +121,10 @@ The cmake found by meson still has to find the dependencies, but vcpkg's install ''configure.bat'' uses the ''vcpkg_toolchain_file'' environment variable to pass the toolset as parameter to CMake from Meson. -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''): -c:\efl-path> echo "set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake" > env.bat +c:\efl-path> echo "set vcpkg_toolchain_file=C:\vcpkg-path\scripts\buildsystems\vcpkg.cmake" > env.bat This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=fe8db9f225b9b9ec0392dca2fa2686c2dc3501b7 commit fe8db9f225b9b9ec0392dca2fa2686c2dc3501b7 Author: Felipe Magno de Almeida Date: Wed Sep 9 20:34:36 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index cce756f27..578f9a4a9 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -93,7 +93,7 @@ To manage dependencies with vcpkg: 4.1. Follow the **Vcpkg Installation Guide** in [[https://github.com/microsoft/vcpkg|Vcpkg's Github Repository]]. -4.2. Install the following dependencies: +4.2. Install the following dependencies for x64 windows: - OpenSSL; - Freetype; @@ -101,10 +101,8 @@ To manage dependencies with vcpkg: - Libpng; - Zlib. - Or, in a single command line (considering vcpkg is in your PATH or that you're inside vcpkg's directory): - - > vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows +c:\path-to-vcpkg> vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows This way vcpkg will download, setup and install all of those dependencies. @@ -133,7 +131,7 @@ This file is run everytime by ''configure.bat'' as a special way to set local cu It is necessary to add the vcpkg-installed dependencies to PATH environment variable so EFL binaries built and used in efl's build can find its dependencies. -efl-path> set "PATH=%PATH%;C:\path-to-vcpkg\installed\x64-windows\bin" +c:\efl-path> set "PATH=%PATH%;C:\path-to-vcpkg\installed\x64-windows\bin" Then we can configure and build and install --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=ca6954a5c4ca1e0d635a11324b5a148a42c2e8df commit ca6954a5c4ca1e0d635a11324b5a148a42c2e8df Author: Felipe Magno de Almeida Date: Wed Sep 9 20:28:34 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 3e498c45f..cce756f27 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -126,7 +126,7 @@ The cmake found by meson still has to find the dependencies, but vcpkg's install 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''): -path-to-efl> echo "set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake" > env.bat +c:\efl-path> echo "set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake" > env.bat This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. @@ -137,6 +137,6 @@ It is necessary to add the vcpkg-installed dependencies to PATH environment vari Then we can configure and build and install -efl-path> configure.bat --prefix=C:\efl -efl-path> build.bat -efl-path> install.bat +c:\efl-path> configure.bat --prefix=C:\efl +c:\efl-path> build.bat +c:\efl-path> install.bat --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=62a3d52f3b7537a8cc207ab6033143b1439dd2d2 commit 62a3d52f3b7537a8cc207ab6033143b1439dd2d2 Author: Felipe Magno de Almeida Date: Wed Sep 9 20:19:27 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index cb32dda80..3e498c45f 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -131,5 +131,12 @@ path-to-efl> echo "set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/build This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. +It is necessary to add the vcpkg-installed dependencies to PATH environment variable so EFL binaries built and used in efl's build can find its dependencies. + +efl-path> set "PATH=%PATH%;C:\path-to-vcpkg\installed\x64-windows\bin" + +Then we can configure and build and install + efl-path> configure.bat --prefix=C:\efl efl-path> build.bat +efl-path> install.bat --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=9080b57a95bc09e1ef36e6d549628ed6b0ae3542 commit 9080b57a95bc09e1ef36e6d549628ed6b0ae3542 Author: Felipe Magno de Almeida Date: Wed Sep 9 20:09:41 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 5a8c67933..cb32dda80 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -109,7 +109,7 @@ To manage dependencies with vcpkg: This way vcpkg will download, setup and install all of those dependencies. -Check that all dependencies were installed at ''installed\ +Check that all dependencies were installed at ''installed\x64-windows\bin''. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=ba124fd62f39a71704c3658c0f99a39a8de63879 commit ba124fd62f39a71704c3658c0f99a39a8de63879 Author: Felipe Magno de Almeida Date: Wed Sep 9 20:00:24 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 96cd06c6d..5a8c67933 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -104,11 +104,13 @@ To manage dependencies with vcpkg: Or, in a single command line (considering vcpkg is in your PATH or that you're inside vcpkg's directory): - > vcpkg install openssl freetype check libpng zlib + > vcpkg install openssl:x64-windows freetype:x64-windows check:x64-windows libpng:x64-windows zlib:x64-windows This way vcpkg will download, setup and install all of those dependencies. +Check that all dependencies were installed at ''installed\ + === 7 - Compiling EFL === --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=635eeb48cb09ebaca1396342b579b87b8341ddbe commit 635eeb48cb09ebaca1396342b579b87b8341ddbe Author: Felipe Magno de Almeida Date: Wed Sep 9 19:52:13 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 0e8546ea1..96cd06c6d 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -109,9 +109,17 @@ To manage dependencies with vcpkg: This way vcpkg will download, setup and install all of those dependencies. -4.3. Set vcpkg toolchain file for meson + + +=== 7 - Compiling EFL === + +Clone the [[https://github.com/expertisesolutions/efl.git|EFL Native Windows Repository]] repository. + + +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. -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''. +''configure.bat'' uses the ''vcpkg_toolchain_file'' environment variable to pass the toolset as parameter to CMake from Meson. + 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''): @@ -121,18 +129,5 @@ path-to-efl> echo "set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/build This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. - - -=== 7 - Compiling EFL === - -* Choose a directory to clone **EFL** repository; -* Clone the [[https://github.com/expertisesolutions/efl.git|EFL Native Windows Repository]] repository. -* Open Visual Studio's **Developer Command Prompt** in the EFL directory and run the following command: -* > configure.bat -* If an error occurs in this step, it is generally due to opening a regular Command Prompt (instead of VS's Developer Command Prompt). In that case, you may manually setup the developer prompt by entering the following command: -* > "C:\Program Files (x86)\Microsoft Visual Studio\\\VC\Auxiliary\Build\vcvars64.bat" -* If it still does not work, try to: - - Delete the ''build'' directory; - - Delete every subdirectory inside ''subprojects'' (**NOTE: Do NOT delete the .wrap files!**) -* After you finish, rerun **configure.bat**, execute **build.bat**: - * > build.bat \ No newline at end of file +efl-path> configure.bat --prefix=C:\efl +efl-path> build.bat --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=3908d445aeef3842dbba4c5cf937848f6b0a0869 commit 3908d445aeef3842dbba4c5cf937848f6b0a0869 Author: Felipe Magno de Almeida Date: Wed Sep 9 19:41:55 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 201be5edf..0e8546ea1 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -116,7 +116,7 @@ The cmake found by meson still has to find the dependencies, but vcpkg's install 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''): -set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake +path-to-efl> echo "set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake" > env.bat This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=c28568dc5331d4bc807a3c04d154ecf6baa8586d commit c28568dc5331d4bc807a3c04d154ecf6baa8586d Author: Felipe Magno de Almeida Date: Wed Sep 9 19:32:26 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 32 -- 1 file changed, 32 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index cfb95b9ad..201be5edf 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -123,38 +123,6 @@ This file is run everytime by ''configure.bat'' as a special way to set local cu -=== 7 Windows Environment Variables === - - * This module aims to check environment variables. - -==Python== - - -**[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. - - -During python installation, you can select the option to add python environment variables automatically. If there is a problem with Meson, check the existing variables and add as shown below: -* Open the windows environment variable editor, for the variables corresponding to the user, locate **''path''** and double-click it (or click the Edit button). In the next window, click the "New" button and add the following directories: -* C:\Users\\AppData\Roaming\Python\Python38\Scripts -* C:\Python38 -* C:\Python38\Scripts - -==OpenSSL== - -In case you're using a custom OpenSSL installation (not the one from vcpkg), you may want to set ''OPENSSL_DIR'' environment variable in order to EFL search for your installation instead of vcpkg's. For this: -* Open the windows environment variable editor. In user's variable list, click **New**: -* Set **Variable name** to: -* OPENSSL_DIR -* Set **Variable value** to your OpenSSL installation path, for example: -* C:\Users\\AppData\Local\efl\openssl -* For clarification: ''OPENSSL_DIR'' must point to the directory where the file ''libssl.lib'' and the directory ''include/'' are located. - -The current build system will also warn you about this file. - - - === 7 - Compiling EFL === * Choose a directory to clone **EFL** repository; --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=b145db664f067945ea7e05f70543c1ada0e3fbce commit b145db664f067945ea7e05f70543c1ada0e3fbce Author: Felipe Magno de Almeida Date: Wed Sep 9 19:30:58 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 9c0d0ddf4..cfb95b9ad 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -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''. - -**[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''): set vcpkg_toolchain_file=C:/Users/Someone/vcpkg/scripts/buildsystems/vcpkg.cmake This file is run everytime by ''configure.bat'' as a special way to set local custom environment variables. - --
[EGIT] [website/www-content] master 01/01: Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=1c265362e911ca9f787c18d10e9246f3edf83154 commit 1c265362e911ca9f787c18d10e9246f3edf83154 Author: Felipe Magno de Almeida Date: Wed Sep 9 19:06:09 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [] by Felipe Magno de Almeida --- pages/Compiling_the_native_Windows_EFL.txt | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index 9d9cef857..9c0d0ddf4 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -32,9 +32,17 @@ Except for topic 6 (Environment variables) that can be consulted during the proc -=== 2 - Meson === +=== 2 - Python === -2.1. Install [[https://pypi.org/project/meson/|Meson]] using the following command on the terminal (CMD or Developer Command Prompt from Visual Studio): +Meson depends on Python, so we need to install Python first. + +Go to Python website and download the latest Python installation for Windows. + +When installing it, select the option to add python to environment variables so it can be used in command-line. + +=== 3 - Meson === + +3.1. Install [[https://pypi.org/project/meson/|Meson]] using the following command on the terminal (CMD or Developer Command Prompt from Visual Studio): > pip install --user meson @@ -46,7 +54,7 @@ Except for topic 6 (Environment variables) that can be consulted during the proc > Check the python version installed on your Windows. In this tutorial we are > using Python 3.8 - 2.2. At the end of the previous step, open a new terminal, type the command below and press enter: + 3.2. At the end of the previous step, open a new terminal, type the command below and press enter: > meson --version --