Hi all,

After reading the recently added wiki
doc<http://www.cmake.org/Wiki/CMake:Improving_Find*_Modules>about
improving CMake Find* modules, I have a style question. In the section
that discusses finding packages in unusual locations, it is suggested that
"Each module should have an environment variable that is looked at first...
Once the module finds the package based on the environment variable, a CMake
cache variable of the same name should be created". Is there a naming
convention for this environment variable?. I was thinking that
<PackageName>_ROOT would be a good idea, since it would go along nicely with
existing CMake variables such as BOOST_ROOT.

I'm currently overhauling a bunch of custom-made Find* packages, and would
like to adhere as much as possible to the existing naming conventions.

Thanks in advance,

-- 
Adolfo Rodríguez Tsouroukdissian

Robotics engineer
PAL ROBOTICS S.L
http://www.pal-robotics.com
Tel. +34.93.414.53.47
Fax.+34.93.209.11.09
_______________________________________________
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