[Qgis-developer] about the cmakelist.txt file in the project

Tim Sutton tim at kartoza.com
Sun Oct 19 14:52:15 PDT 2014


Hi

On Sun, Oct 19, 2014 at 12:36 PM, 李杨 <gisyangli at gmail.com> wrote:

>  i have a question about the qgis project oragnize. Is those
> CMakelists.txt file is write by hand? Not generated by some software.
>

Correct - we generate CMakeLists.txt by hand and that saves us from
generating Makefiles by hand.


>
> Is the process is like that? first developer write the cmakelist.txt file,
> the other developer can use the cmakelist.txt file under CMAKE to configure
> and generate project for different platform. then compile the whole
> project. Is my statement right?
>

Yes.

>
> SO my question appears, If i need make some custom modification basing
> qgis. Is my right process would be like that:   first write some similar
> cmakelist.txt file for my custom qgis project. then using cmake to
> generate, then build the project.
>

Yes. And if you need to build a custom standalone app that links to QGIS,
you can use the handy cmake/FindQGIS.cmake to let your build process find
QGIS for you.

Regards

Tim

>
> thanks.
>
> --
> Yang Li
>
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
------------------------------------------------------------------------------------------
Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------
Kartoza is a merger between Linfiniti and Afrispatial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141019/e83aa17e/attachment.html>


More information about the Qgis-developer mailing list