CMake User Contributed Macros: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Line 6: | Line 6: | ||
#[[CMakeUserFindAUTOPACK | Find Autopack]] | #[[CMakeUserFindAUTOPACK | Find Autopack]] | ||
#[[CMakeUserFindPARMETIS | Find ParMetis]] | #[[CMakeUserFindPARMETIS | Find ParMetis]] | ||
#[[CMakeUserFindDirectShow | Find DirectShow]] | |||
#[[CMakeUserFindVLD| Find VLD - Visual Leak Debugger]] | #[[CMakeUserFindVLD| Find VLD - Visual Leak Debugger]] | ||
#[[CMakeUserUseLATEX| Use LaTeX - Build LaTeX Documents]] | #[[CMakeUserUseLATEX| Use LaTeX - Build LaTeX Documents]] |
Revision as of 21:00, 12 March 2006
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.
- Find Autopack
- Find ParMetis
- Find DirectShow
- Find VLD - Visual Leak Debugger
- Use LaTeX - Build LaTeX Documents
Make Equivalents
While attempting to convert a gnu makefile to Cmake, there was a need to provide some macros to provide equivalent functionality.
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.
- CREATE_FINAL_FILE -- create a KDE style final file, which includes all source files, so that the compilation will be noticable faster.
- List Operations -- A compilation of some helpful list operations.
- PARSE_ARGUMENTS -- A macro to help parse arguments for other macros.