]> O.S.I.I.S - jp/vkvg.git/commitdiff
Update windows_build_tutorial.md
authorJoão Oliveira <44142506+Joaopmoliveira@users.noreply.github.com>
Tue, 5 May 2020 09:56:14 +0000 (10:56 +0100)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 09:56:14 +0000 (10:56 +0100)
doc/windows_build_tutorial.md

index 4971237a286f47e324f9f555910b07c36f0b2f61..ec93a5baca0b272ab2f3ad692f1320c50decc8ec 100644 (file)
@@ -61,12 +61,10 @@ On the command line to get out of the **vcpkg** directory and then write:<br>
 ```\r
 To download the code to a local repository<br>\r
 \r
-6 - To generate the .sln file which can be processed by visual studio go to the CMake IDE and lauch it. Select the directory which contains the source code (it should be something like <i>'C:\...\vkvg'</i>). Now select the folder where you want to generate the project to. For this test build try creating the directory <i>'C:\...\vkvg\bin'</i> and selected that file.<br>\r
+6 - To generate the .sln file which can be processed by visual studio go to the CMake IDE and lauch it. Select the directory which contains the source code (it should be something like <i>'C:\...\vkvg'</i>). Now select the folder where you want to generate the project to. For this test build create the <i>'C:\...\vkvg\bin'</i> directory and selected it as the destination of the binaries.<br>\r
 \r
-7 - Now configure the project. This action generated a window where you can select the target build you want, in our case it is <i>Visual Studio 15 2017 Win64</i> and we must specify the toolchain file for cross-compiling (because it is the vcpkg program which knowns where all the libraries we previously downloaded currently are). It should be a file located in <i>'C:\...\vcpkg\scripts\buildsystems\vcpkg.cmake'</i> which contains information to be used by cmake.<br>\r
+7 - Now configure the project. This action generated a window where you can select the target build you want, if you are using VS17 it should be something like <i>Visual Studio 15 2017 Win64</i>, and the toolchain file for cross-compiling must be specified (because vcpkg generates a file which simplifies the use of the libraries previously downloaded). It should be a file located in <i>'C:\...\vcpkg\scripts\buildsystems\vcpkg.cmake'</i> which contains information used by cmake.<br>\r
 \r
-8 - Now we can finish the project and if everything went well we can now select the options of the project for this specific build. On the bottom of the GUI there are some options related with the VKVG libraries. You will unselect the <strong>VKVG_LCD_FONT_FILTER</strong> because we did not compile the FreeType library with this option enabled. Now press generate project and then procede to press open project. This should open the Visual Studio IDE.<br>\r
+8 - If everything went well it is time to select the options of the project for this specific build. On the bottom of the GUI there are some options related with the VKVG librarie. Unselect the <strong>VKVG_LCD_FONT_FILTER</strong> because **vcpkg** does not build FreeType with this option enabled. Now generate the sln project and procede to open the project with Visual Studio.<br>\r
 \r
-9 - Now you can see the the possible built configurations.To build the project (the <strong>ALL BUILD</strong> should be the Start Up project) press F7 or press build (top of the screen) and then build solution. If everything goes well we now have a .lib and .dll folder to use in our projects.<br>\r
-\r
-10 - The project is compiled and if you go to the <i>'C:\...\vkvg\bin\CMakeFiles\Debug'</i> directory you will find all the .dlls and .libs files to integrate in your projects.<br>\r
+9 - To build the project (the <strong>ALL BUILD</strong> project should be the Start Up project) press F7 or press build (top of the screen) and then press build solution. If everything goes well you finally have the .lib and .dll files to use in our projects. These files can be found in the <i>'C:\...\vkvg\bin\CMakeFiles\Debug'</i> directory (this directory is dependent of the folders created on step 6) <br>\r