|
|
(28 intermediate revisions by 14 users not shown) |
Line 1: |
Line 1: |
| '''User Contributed Macros'''
| | {{CMake/Template/Moved}} |
|
| |
|
| == Find Modules ==
| | This page has moved [https://gitlab.kitware.com/cmake/community/wikis/Contrib here]. |
| 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.
| |
| | |
| #[[CMakeUserFindAUTOPACK | Find Autopack]]
| |
| #[[CMakeUserFindDirectShow | Find DirectShow]]
| |
| #[[CMakeUserFindPARMETIS | Find ParMetis]]
| |
| #[[CMakeUserFindVLD| Find VLD - Visual Leak Debugger]]
| |
| #[[CMakeUserUseLATEX| Use LaTeX - Build LaTeX Documents]]
| |
| | |
| | |
| [[CMake|Home]] [[CMake_User_Contributed_Macros|Back]]
| |
| | |
| == Make Equivalents ==
| |
| While attempting to convert a gnu makefile to Cmake, there was
| |
| a need to provide some macros to provide equivalent functionality.
| |
| | |
| #[[CMakeMacroFilterOut | FILTER_OUT (filter-out)]]
| |
| #[[CMakeMacroLibtoolFile | CREATE_LIBTOOL_FILE (create a libtool archive file)]]
| |
| | |
| [[CMake|Home]] [[CMake_User_Contributed_Macros|Back]]
| |
| | |
| == Some helpers along the way ==
| |
| #[[CMakeCopyIfDifferent | COPY_IF_DIFFERENT]]
| |
| #[[CMakeMacroMerge | MERGE]] --- Merges two sorted lists into a single sorted list. Useful to keep source and header files next to each other.
| |
| #[[CMakeMacroCreateFinalFile | CREATE_FINAL_FILE]] -- create a KDE style final file, which includes all source files, so that the compilation will be noticable faster.
| |
| #[[CMakeMacroListOperations | List Operations]] -- A compilation of some helpful list operations.
| |
| #[[CMakeMacroParseArguments | PARSE_ARGUMENTS]] -- A macro to help parse arguments for other macros.
| |
| | |
| | |
| [[CMake|Home]]
| |
| [[CMake_User_Contributed_Macros|Back]]
| |
| | |
| {{CMake/Template/Footer}}
| |