CMake User Contributed Macros: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 17: Line 17:
#[[CMakeMacroFilterOut | FILTER_OUT (filter-out)]]
#[[CMakeMacroFilterOut | FILTER_OUT (filter-out)]]
#[[CMakeMacroLibtoolFile | CREATE_LIBTOOL_FILE (create a libtool archive file)]]
#[[CMakeMacroLibtoolFile | CREATE_LIBTOOL_FILE (create a libtool archive file)]]
#[[CMakeMacroCreateFinalFile | CREATE_FINAL_FILE (create a KDE style final file)]]


[[CMake|Home]]  [[CMake_User_Contributed_Macros|Back]]
[[CMake|Home]]  [[CMake_User_Contributed_Macros|Back]]
Line 24: Line 23:
#[[CMakeCopyIfDifferent | COPY_IF_DIFFERENT]]
#[[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.
#[[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.


[[CMake|Home]]   
[[CMake|Home]]   

Revision as of 21:29, 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.

  1. Find Autopack
  2. Find ParMetis
  3. Find VLD - Visual Leak Debugger


Home Back

Make Equivalents

While attempting to convert a gnu makefile to Cmake, there was a need to provide some macros to provide equivalent functionality.

  1. FILTER_OUT (filter-out)
  2. CREATE_LIBTOOL_FILE (create a libtool archive file)

Home Back

Some helpers along the way

  1. COPY_IF_DIFFERENT
  2. MERGE --- Merges two sorted lists into a single sorted list. Useful to keep source and header files next to each other.
  3. CREATE_FINAL_FILE -- create a KDE style final file, which includes all source files, so that the compilation will be noticable faster.


Home Back



CMake: [Welcome | Site Map]