[CMake] Find*.cmake variable naming

Andreas Pakulat apaku at gmx.de
Thu Jan 17 15:11:29 EST 2008


On 14.01.08 23:40:39, Andreas Schneider wrote:
> Rodolfo Schulz de Lima wrote:
> > Hi, I'd like to comment on the Find*.cmake variable naming procedure
> > adopted by cmake. Right now I have to look at some Find*.cmake files to
> > see what are the output variables they create. Some packages create a
> > *_LIBRARY, others *_LIBRARIES, others *_INCLUDE_DIRS and others
> > *_INCLUDE_DIR. The Modules/readme.txt procedure isn't being used for
> > some packages.
> > 
> > Also the vast majority creates upcased (is this an adjective?) variable
> > names, BUT Boost and wxWidgets. There two define Boost_FOUND,
> > Boost_LIBRARIES, wxWidgets_FOUND, wxWidgets_LIBRARIES. It should be
> > better if they were BOOST_FOUND, WXWIDGETS_FOUND etc.
> 
> For much better FindBoost.cmake module take a look at

I've just reported a bug for CMake with an updated/combined version of
that FindBoost and the one from Mike Jackson.

http://www.cmake.org/Bug/view.php?id=6257

Andreas

-- 
You will forget that you ever knew me.


More information about the CMake mailing list