Skip to content

Commit b9a838f

Browse files
author
timlinux
committed
Added notes for using cmake and starting the initial msvc build (for windows simplified install)
git-svn-id: http://svn.osgeo.org/qgis/trunk@7632 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5a68c34 commit b9a838f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

INSTALL.t2t

+27
Original file line numberDiff line numberDiff line change
@@ -1847,10 +1847,37 @@ Press 'p' to accept and the svn checkout will commence.
18471847

18481848
== Create Makefiles using cmakesetup.exe ==
18491849

1850+
I wont be giving a detailed description of the build process, because the process is explained in the first section (where you manually build all dependencies) of the windows build notes in this document. Just skip past the parts where you need to build GDAL etc, since this simplified install process does all the dependency provisioning for you.
1851+
18501852
```
18511853
cd qgis
1854+
mkdir build
1855+
cd build
1856+
cmakesetup ..
18521857
```
18531858

1859+
Cmakesetup should find all dependencies for you automatically (it uses the
1860+
LIB_DIR environment to find them all in c:\dev\cpp\qgislibs-release).
1861+
Press configure again after the cmakesetup gui appears and when all the red
1862+
fields are gone, and you have made any personalisations to the setup, press
1863+
ok to close the cmake gui.
1864+
1865+
Now open Visual Studio Express and do:
1866+
1867+
File -> Open -> Project / Solution
1868+
1869+
Now open the cmake generated QGIS solution which should be in :
1870+
1871+
```
1872+
c:\dev\cpp\qgis\build\qgisX.X.X.sln
1873+
```
1874+
1875+
Where X.X.X represents the current version number of QGIS. Currently I
1876+
have only made release built dependencies for QGIS (debug versions will follow
1877+
in future), so you need to be sure to select 'Release' from the solution
1878+
configurations toolbar.
1879+
1880+
Next right click on ALL_BUILD in the solution browser, and then choose build.
18541881

18551882

18561883
= Authors and Acknowledgments =

0 commit comments

Comments
 (0)