<div class="gmail_quote">On Fri, Mar 27, 2009 at 12:29 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">I think I have to object here.</div></div>
AFAIK the CMake devs prefer to basically use mark_as_advanced() by default for<br>
all results from find_library/program/path/file() in find-modules, and only<br>
keep those entries visible in the simple view which should be<br>
user-adjustable.<br>
E.g. for FindQt4.cmake I think the only non-advanced variable is<br>
QT_QMAKE_EXECUTABLE, since this is the one which basically decides about all<br>
other variables.<br>
Or options which adjust how the project will be built should be non-advanced.</blockquote><div><br></div><div>You are correct. A quote from the /Modules/readme.txt:</div><div><br></div><b><i>"For tidiness's sake, try to keep as many options as possible out of the cache, leaving at least one option which can be used to disable use of the module, or locate a not-found library (e.g. XXX_ROOT_DIR). For the same reason, mark most cache options as advanced."</i></b></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">This readme.txt can be found here:</div><div class="gmail_quote"><a href="http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup">http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup</a><br>
<br> </div>