Re: [CMake] module contribution?

2011-01-09 Thread Eric Noulard
2011/1/9 Nico Schlömer nico.schloe...@gmail.com:
 Quick question here:

 I have a couple of libraries here which all need NetCDF, so I was
 thinking the cleanest solution would be to write one FindNetCDF.cmake
 and use it everywhere. What's the policy of including modules into the
 official CMake branch?

http://www.cmake.org/Wiki/CMake:Module_Maintainers




-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
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


Re: [CMake] module contribution?

2011-01-09 Thread John Drescher
On Sat, Jan 8, 2011 at 7:55 PM, Nico Schlömer nico.schloe...@gmail.com wrote:
 Quick question here:

 I have a couple of libraries here which all need NetCDF, so I was
 thinking the cleanest solution would be to write one FindNetCDF.cmake
 and use it everywhere. What's the policy of including modules into the
 official CMake branch?


BTW, I am not sure if you know but you can append your own module path
to the CMAKE one so that you can add modules per project without
copying files to the CMake installation folders.

Here is what I do in my projects.
# The following line will add additional finders to CMake without the
need to be placed in the CMake install path
LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake/Modules)

John

John
___
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