CMake User Contributed Macros: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
|||
Line 16: | Line 16: | ||
#[[CMakeMacroFilterOut | FILTER_OUT (filter-out)]] | #[[CMakeMacroFilterOut | FILTER_OUT (filter-out)]] | ||
#[[CMakeMacroLibtoolFile | CREATE_LIBTOOL_FILE (create-filter-file)]] | |||
#[[CMakeMacroCreateFinalFile | CREATE_FINAL_FILE (create-final-file)]] | |||
[[CMake|Home]] [[CMake_User_Contributed_Macros|Back]] | [[CMake|Home]] [[CMake_User_Contributed_Macros|Back]] |
Revision as of 21:01, 12 December 2005
User Contributed Macros
Find Modules
While CMake comes with a whole bunch of FindXXX macros, there is a large number of packages there are not covered. The hope is that these user-contributed macros will eventually make their way into the official distribution.
Make Equivalents
While attempting to convert a gnu makefile to Cmake, there was a need to provide some macros to provide equivalent functionality.
- FILTER_OUT (filter-out)
- CREATE_LIBTOOL_FILE (create-filter-file)
- CREATE_FINAL_FILE (create-final-file)
Some helpers along the way
- COPY_IF_DIFFERENT
- MERGE --- Merges two sorted lists into a single sorted list. Useful to keep source and header files next to each other.