[CMake] FindXYZ Macros

David Cole david.cole at kitware.com
Tue Oct 18 08:34:19 EDT 2005


For any FindXYZ.cmake (where XYZ is your project of interest) in that 
Modules directory, cmake will process that file and attempt its "find" 
operation for that project if you use:

FIND_PACKAGE(XYZ)

in your CMakeLists.txt file... Use "cmake --help-command FIND_PACKAGE" 
for more info. And read the comments and the code in the Find*.cmake 
files you're using. Each one is different.


HTH,
David

Kim Rasmussen wrote:

> Martin Baumann wrote:
>
>> I read on the Wiki 
>> (http://www.cmake.org/Wiki/CMake_User_Contributed_Macros) that Cmake 
>> comes with a lot of FindXYZ Macros.
>> Where can I find them?
>
>
> In the Modules subdirectory of your CMake installation. On Unices, 
> e.g. in /usr/share/cmake/Modules.
>
> Cheers,
>    Kim
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
>



More information about the CMake mailing list