]> git.cworth.org Git - apitrace/commit
Add ENABLE_GUI option to control GUI builds and dependency checks
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 27 Jul 2011 23:32:54 +0000 (00:32 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 27 Jul 2011 23:42:57 +0000 (00:42 +0100)
commite68c87f287e9cf7317db5b62f85303b2f918f968
treeaab552a4664fa5848c50447e5327c59f9c1116ac
parenta00b90e690995d5df78cce6f2f1dd5239d021a6b
Add ENABLE_GUI option to control GUI builds and dependency checks

Invoking cmake with -DENABLE_GUI=ON will require QT/QJSON.  Setting it
to OFF will never build the GUI, even if QT and QJSON is available.  The
default setting is AUTO, whereby QT/QJSON will be used if available (ie.
the current behavior).

Inspired on Tim Harder's patch for Gentoo and the information on
http://www.gentoo.org/proj/en/qa/automagic.xmltest , but modified to not
change the current default automagic behavior.
CMakeLists.txt