Discussion:
about the cmakelist.txt file in the project
李杨
2014-10-19 10:36:09 UTC
Permalink
i have a question about the qgis project oragnize. Is those CMakelists.txt
file is write by hand? Not generated by some software.

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?

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.

thanks.
--
Yang Li
Tim Sutton
2014-10-19 21:52:15 UTC
Permalink
Hi
Post by 李杨
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.
Post by 李杨
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.
Post by 李杨
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
Post by 李杨
thanks.
--
Yang Li
_______________________________________________
Qgis-developer mailing list
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
Loading...