... | @@ -17,34 +17,34 @@ distribution. Before contributing, please have your FindXXX package |
... | @@ -17,34 +17,34 @@ distribution. Before contributing, please have your FindXXX package |
|
conform to the [CMake Module
|
|
conform to the [CMake Module
|
|
Guidelines](http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup).
|
|
Guidelines](http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup).
|
|
|
|
|
|
1. [Find Autopack](CMakeUserFindAUTOPACK "wikilink")
|
|
1. [Find Autopack](contrib/modules/FindAUTOPACK "wikilink")
|
|
2. [Find ClanLib](CMakeUserFindClanLib "wikilink")
|
|
2. [Find ClanLib](contrib/modules/FindClanLib "wikilink")
|
|
3. [Find DirectShow](CMakeUserFindDirectShow "wikilink")
|
|
3. [Find DirectShow](contrib/modules/FindDirectShow "wikilink")
|
|
4. [Find MySQL](CMakeUserFindMySQL "wikilink")
|
|
4. [Find MySQL](contrib/modules/FindMySQL "wikilink")
|
|
5. [Find ParMetis](CMakeUserFindPARMETIS "wikilink")
|
|
5. [Find ParMetis](contrib/modules/FindPARMETIS "wikilink")
|
|
6. [Find VLD - Visual Leak Debugger](CMakeUserFindVLD "wikilink")
|
|
6. [Find VLD - Visual Leak Debugger](contrib/modules/FindVLD "wikilink")
|
|
7. [Find WIX - Windows Installer XML,v2](CMakeUserFindWix "wikilink")
|
|
7. [Find WIX - Windows Installer XML,v2](contrib/modules/FindWix "wikilink")
|
|
8. [Find LibSVM - A Library for Support Vector
|
|
8. [Find LibSVM - A Library for Support Vector
|
|
Machines](CMakeUserFindLibSVM "wikilink")
|
|
Machines](contrib/modules/FindLibSVM "wikilink")
|
|
9. [Find MuParser - High performance math expression parser
|
|
9. [Find MuParser - High performance math expression parser
|
|
library](CMakeUserFindMuParser "wikilink")
|
|
library](contrib/modules/FindMuParser "wikilink")
|
|
10. [Find Octave - Interpreted language for numerical
|
|
10. [Find Octave - Interpreted language for numerical
|
|
computations](CMakeUserFindOctave "wikilink")
|
|
computations](contrib/modules/FindOctave "wikilink")
|
|
11. [Use Bison - Parser Generator](CMakeUserUseBison "wikilink")
|
|
11. [Use Bison - Parser Generator](contrib/modules/UseBison "wikilink")
|
|
12. [Use Flex - Lexer Generator](CMakeUserUseFlex "wikilink")
|
|
12. [Use Flex - Lexer Generator](contrib/modules/UseFlex "wikilink")
|
|
13. [Use LaTeX - Build LaTeX Documents](CMakeUserUseLATEX "wikilink")
|
|
13. [Use LaTeX - Build LaTeX Documents](contrib/modules/UseLATEX "wikilink")
|
|
14. [Use RPM Tools - Build RPM (source or
|
|
14. [Use RPM Tools - Build RPM (source or
|
|
binary)](CMakeUserUseRPMTools "wikilink")
|
|
binary)](doc/cpack/UseRPMTools "wikilink")
|
|
15. [Find CTPP2](CMakeUserFindCTPP2 "wikilink") - [C++ Template
|
|
15. [Find CTPP2](contrib/modules/FindCTPP2 "wikilink") - [C++ Template
|
|
Engine](http://ctpp.havoc.ru/en/)
|
|
Engine](http://ctpp.havoc.ru/en/)
|
|
16. [Find Qwt](CMakeUserFindQwt "wikilink") - [Qt Widgets for Technical
|
|
16. [Find Qwt](contrib/modules/FindQwt "wikilink") - [Qt Widgets for Technical
|
|
Applications](http://qwt.sourceforge.net/)
|
|
Applications](http://qwt.sourceforge.net/)
|
|
17. [Find QScintilla](CMakeUserFindQScintilla "wikilink") - [port to Qt
|
|
17. [Find QScintilla](contrib/modules/FindQScintilla "wikilink") - [port to Qt
|
|
of Neil Hodgson's Scintilla C++ editor
|
|
of Neil Hodgson's Scintilla C++ editor
|
|
control](http://www.riverbankcomputing.com/software/qscintilla/)
|
|
control](http://www.riverbankcomputing.com/software/qscintilla/)
|
|
|
|
|
|
[Home](CMake "wikilink")
|
|
[Home](Home "wikilink")
|
|
[Back](CMake_User_Contributed_Macros "wikilink")
|
|
[Back](Contrib "wikilink")
|
|
|
|
|
|
## Comprehensive Collection of CMake functions/macros
|
|
## Comprehensive Collection of CMake functions/macros
|
|
|
|
|
... | @@ -89,38 +89,38 @@ An up to date full feature list and installation guide is located |
... | @@ -89,38 +89,38 @@ An up to date full feature list and installation guide is located |
|
While attempting to convert a gnu makefile to Cmake, there was a need to
|
|
While attempting to convert a gnu makefile to Cmake, there was a need to
|
|
provide some macros to provide equivalent functionality.
|
|
provide some macros to provide equivalent functionality.
|
|
|
|
|
|
1. [FILTER_OUT (filter-out)](CMakeMacroFilterOut "wikilink")
|
|
1. [FILTER_OUT (filter-out)](contrib/macros/FilterOut "wikilink")
|
|
2. [CREATE_LIBTOOL_FILE (create a libtool archive
|
|
2. [CREATE_LIBTOOL_FILE (create a libtool archive
|
|
file)](CMakeMacroLibtoolFile "wikilink")
|
|
file)](contrib/macros/LibtoolFile "wikilink")
|
|
|
|
|
|
[Home](CMake "wikilink")
|
|
[Home](Home "wikilink")
|
|
[Back](CMake_User_Contributed_Macros "wikilink")
|
|
[Back](Contrib "wikilink")
|
|
|
|
|
|
## Some helpers along the way
|
|
## Some helpers along the way
|
|
|
|
|
|
1. [COPY_IF_DIFFERENT](CMakeCopyIfDifferent "wikilink")
|
|
1. [COPY_IF_DIFFERENT](contrib/macros/CopyIfDifferent "wikilink")
|
|
2. [MERGE](CMakeMacroMerge "wikilink") --- Merges two sorted lists into
|
|
2. [MERGE](contrib/macros/Merge "wikilink") --- Merges two sorted lists into
|
|
a single sorted list. Useful to keep source and header files next to
|
|
a single sorted list. Useful to keep source and header files next to
|
|
each other.
|
|
each other.
|
|
3. [CREATE_FINAL_FILE](CMakeMacroCreateFinalFile "wikilink") --
|
|
3. [CREATE_FINAL_FILE](contrib/macros/CreateFinalFile "wikilink") --
|
|
create a KDE style final file, which includes all source files, so
|
|
create a KDE style final file, which includes all source files, so
|
|
that the compilation will be noticable faster.
|
|
that the compilation will be noticable faster.
|
|
4. [List Operations](CMakeMacroListOperations "wikilink") -- A
|
|
4. [List Operations](contrib/macros/ListOperations "wikilink") -- A
|
|
compilation of some helpful list operations.
|
|
compilation of some helpful list operations.
|
|
5. [PARSE_ARGUMENTS](CMakeMacroParseArguments "wikilink") -- A macro
|
|
5. [PARSE_ARGUMENTS](contrib/macros/ParseArguments "wikilink") -- A macro
|
|
to help parse arguments for other macros.
|
|
to help parse arguments for other macros.
|
|
6. [ADD_CXXTEST](CMakeMacroAddCxxTest "wikilink") -- A macro to add
|
|
6. [ADD_CXXTEST](contrib/macros/AddCxxTest "wikilink") -- A macro to add
|
|
tests written the CxxTest testing framework.
|
|
tests written the CxxTest testing framework.
|
|
7. [Force Flags](CMakeMacroForceAddFlags "wikilink") -- A macro to
|
|
7. [Force Flags](contrib/macros/ForceAddFlags "wikilink") -- A macro to
|
|
force certain arguments for specified flag (similar to a set union).
|
|
force certain arguments for specified flag (similar to a set union).
|
|
8. [Test Inline](CMakeTestInline "wikilink") -- A test for how your
|
|
8. [Test Inline](contrib/macros/TestInline "wikilink") -- A test for how your
|
|
compiler defines inline.
|
|
compiler defines inline.
|
|
9. [COMPARE_VERSION_STRINGS](CMakeCompareVersionStrings "wikilink")
|
|
9. [COMPARE_VERSION_STRINGS](contrib/macros/CompareVersionStrings "wikilink")
|
|
-- A macro to help compare arbitrary version strings for less than,
|
|
-- A macro to help compare arbitrary version strings for less than,
|
|
equal to, and greater than.
|
|
equal to, and greater than.
|
|
|
|
|
|
[Home](CMake "wikilink")
|
|
[Home](Home "wikilink")
|
|
[Back](CMake_User_Contributed_Macros "wikilink")
|
|
[Back](Contrib "wikilink")
|
|
|
|
|
|
## Visual Studio generator helpers
|
|
## Visual Studio generator helpers
|
|
|
|
|
... | @@ -129,14 +129,14 @@ different than for other generators. These are some VS-specific (and |
... | @@ -129,14 +129,14 @@ different than for other generators. These are some VS-specific (and |
|
sometimes not-so-specific) macros that could help you generate better VS
|
|
sometimes not-so-specific) macros that could help you generate better VS
|
|
projects.
|
|
projects.
|
|
|
|
|
|
1. [GatherProjectFiles](CMakeMacroGatherProjectFiles "wikilink") --
|
|
1. [GatherProjectFiles](contrib/macros/GatherProjectFiles "wikilink") --
|
|
create and cache a list of project files by recursively globbing a
|
|
create and cache a list of project files by recursively globbing a
|
|
directory structure
|
|
directory structure
|
|
2. [GenerateProject](CMakeMacroGenerateProject "wikilink") -- creates a
|
|
2. [GenerateProject](contrib/macros/GenerateProject "wikilink") -- creates a
|
|
VS project with subgroups that mimic the directory structure
|
|
VS project with subgroups that mimic the directory structure
|
|
|
|
|
|
[Home](CMake "wikilink")
|
|
[Home](Home "wikilink")
|
|
[Back](CMake_User_Contributed_Macros "wikilink")
|
|
[Back](Contrib "wikilink")
|
|
|
|
|
|
----
|
|
----
|
|
This page was initially populated by conversion from its [original location](https://public.kitware.com/Wiki/CMake_User_Contributed_Macros) in another wiki. |
|
This page was initially populated by conversion from its [original location](https://public.kitware.com/Wiki/CMake_User_Contributed_Macros) in another wiki. |