On Friday 10 April 2009, Robert Dailey wrote:
> I'm reading the guidelines for find package modules here:
> http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view
>=markup
>
> No where in here do I see any mention of "uppercase" variable names. For
> example, if my find package is:
>
> FindFoo.cmake
>
> My return variables are:
>
> Foo_LIBRARIES
> Foo_INCLUDE_DIRS
> Foo_FOUND
>
> However, FindPackageHandleStandardArgs.cmake makes the FOUND variable all
> upper case, like so:
>
> FOO_FOUND
>
> What am I supposed to do? Uppercase or not? I notice that some pre-packaged
> find modules (like boost) do not use uppercase names, while others (like
> OpenGL) do use uppercase.

Use uppercase, it's the majority of modules.

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to