• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

cmake-2.8.0-modules/H21-Jul-2016-

cmake-2.8.1-modules/patchctestbug10149/H21-Jul-2016-

cmake-2.8.12-modules/H21-Jul-2016-

cmake-2.8.3-modules/H21-Jul-2016-

cmake-2.8.4-modules/H21-Jul-2016-

cmake-3.2.0-modules/H21-Jul-2016-

cmake-3.3.0-modules/H21-Jul-2016-

cmake-4.0.0-modules/H21-Jul-2016-

ghost-fake-stl/H21-Jul-2016-

launcher-templates/H21-Jul-2016-

module-docs/H03-May-2022-

nested_targets/H21-Jul-2016-

package/H21-Jul-2016-

package-licensing/H21-Jul-2016-

workarounds/H21-Jul-2016-

.gitattributesH A D21-Jul-2016216

AboutTheseModules.cmakeH A D21-Jul-20161.7 KiB

BoostTestTargets.cmakeH A D21-Jul-20167.5 KiB

BoostTestTargetsDynamic.hH A D21-Jul-2016259

BoostTestTargetsIncluded.hH A D21-Jul-2016242

BoostTestTargetsStatic.hH A D21-Jul-2016229

BundleOSGPlugins.cmakeH A D21-Jul-20162.9 KiB

BundleOSGRuntime.cmakeH A D21-Jul-20163.3 KiB

BundleVRJ22Runtime.cmakeH A D21-Jul-20162.8 KiB

BundleVRJ30Runtime.cmakeH A D21-Jul-20162.7 KiB

CheckMacHIDAPI.cmakeH A D21-Jul-20162.2 KiB

CheckMacHIDAPI.cppH A D21-Jul-20161.2 KiB

CheckVersion.cmakeH A D21-Jul-20161.3 KiB

CleanDirectoryList.cmakeH A D21-Jul-20161.2 KiB

CleanLibraryList.cmakeH A D21-Jul-20162.6 KiB

CompatibilityVersionFile-BASIC.cmake.inH A D21-Jul-2016560

CompatibilityVersionFile-CXX_ABI.cmake.inH A D21-Jul-20161,014

CompatibilityVersionFile-CXX_LAYOUT.cmake.inH A D21-Jul-2016394

CompatibilityVersionFile-C_ABI.cmake.inH A D21-Jul-2016599

CopyImportedTarget.cmakeH A D21-Jul-20161.1 KiB

CopyResourcesToBuildTree.cmakeH A D21-Jul-20162.4 KiB

CppcheckTargets.cmakeH A D21-Jul-20166.3 KiB

CreateDashboardScripts.cmakeH A D21-Jul-20166.3 KiB

CreateImportedTarget.cmakeH A D21-Jul-20161.9 KiB

CreateLaunchers.cmakeH A D21-Jul-20168.6 KiB

DashboardScript.cmake.inH A D21-Jul-20164.3 KiB

DoxygenTargets.cmakeH A D21-Jul-20168.9 KiB

DoxygenTargets.doxyfile.inH A D21-Jul-2016563

EnableExtraCompilerWarnings.cmakeH A D21-Jul-20162.5 KiB

EnableProfiling.cmakeH A D21-Jul-20161.4 KiB

FileCopyTargets.cmakeH A D21-Jul-20163 KiB

FindALUT.cmakeH A D21-Jul-20163.3 KiB

FindAdrienne.cmakeH A D21-Jul-20165.6 KiB

FindBluez.cmakeH A D21-Jul-20161.7 KiB

FindCPPDOM.cmakeH A D21-Jul-20165.6 KiB

FindColibriApi.cmakeH A D21-Jul-20163 KiB

FindDCubed.cmakeH A D21-Jul-20164.7 KiB

FindDirectShow.cmakeH A D21-Jul-20165.6 KiB

FindDirectX.cmakeH A D21-Jul-20167.5 KiB

FindFlagpoll.cmakeH A D21-Jul-20164.3 KiB

FindGDB.cmakeH A D21-Jul-20161.6 KiB

FindGHOST.cmakeH A D21-Jul-20162.1 KiB

FindGLUI.cmakeH A D21-Jul-20163.1 KiB

FindGLUT.cmakeH A D21-Jul-20164.3 KiB

FindGMTL.cmakeH A D21-Jul-20162.9 KiB

FindGPM.cmakeH A D21-Jul-20161 KiB

FindGadgeteer12.cmakeH A D21-Jul-20165 KiB

FindGadgeteer20.cmakeH A D21-Jul-20164.9 KiB

FindGlove5DT.cmakeH A D21-Jul-20164.3 KiB

FindHIDAPI.cmakeH A D21-Jul-20161.2 KiB

FindIDLJ.cmakeH A D21-Jul-20163.2 KiB

FindInterSense.cmakeH A D21-Jul-20163.4 KiB

FindJCCL12.cmakeH A D21-Jul-20164 KiB

FindJCCL14.cmakeH A D21-Jul-20163.9 KiB

FindJsonCpp.cmakeH A D21-Jul-201614.9 KiB

FindJtTk.cmakeH A D21-Jul-201610.7 KiB

FindJtTk.stampkey.cmake.inH A D21-Jul-20161.3 KiB

FindLAPACKLibs.cmakeH A D21-Jul-20162.4 KiB

FindLibFreespace.cmakeH A D21-Jul-20161.8 KiB

FindLibusb1.cmakeH A D21-Jul-20162 KiB

FindLuabind.cmakeH A D21-Jul-20161.7 KiB

FindLyX.cmakeH A D21-Jul-20164 KiB

FindMacHID.cmakeH A D21-Jul-20161.9 KiB

FindMarkdown.cmakeH A D21-Jul-20161.3 KiB

FindOVR.cmakeH A D21-Jul-20165.4 KiB

FindOpenCV1.cmakeH A D21-Jul-20166 KiB

FindOpenHaptics.cmakeH A D21-Jul-20169.7 KiB

FindParasolid.cmakeH A D21-Jul-20166.9 KiB

FindPerformer.cmakeH A D21-Jul-20163.3 KiB

FindPerlModules.cmakeH A D21-Jul-20162.2 KiB

FindQVRPN.cmakeH A D21-Jul-20161.8 KiB

FindSDL2.cmakeH A D21-Jul-20167.5 KiB

FindSonix12.cmakeH A D21-Jul-20164.2 KiB

FindSonix14.cmakeH A D21-Jul-20164.1 KiB

FindTR1.cmakeH A D21-Jul-20162.2 KiB

FindTooN.cmakeH A D21-Jul-20161.5 KiB

FindTooNtag.cmakeH A D21-Jul-20161.8 KiB

FindTweek12.cmakeH A D21-Jul-20164 KiB

FindTweek14.cmakeH A D21-Jul-20164 KiB

FindVPR20.cmakeH A D21-Jul-20166.8 KiB

FindVPR22.cmakeH A D21-Jul-20165.8 KiB

FindVPS.cmakeH A D21-Jul-20166.4 KiB

FindVRJ22.cmakeH A D21-Jul-20165.2 KiB

FindVRJ30.cmakeH A D21-Jul-20165.4 KiB

FindVRJOGL22.cmakeH A D21-Jul-20164.3 KiB

FindVRJOGL30.cmakeH A D21-Jul-20164.2 KiB

FindVRJuggler.cmakeH A D21-Jul-20166.4 KiB

FindVRJuggler22.cmakeH A D21-Jul-201614.8 KiB

FindVRJuggler30.cmakeH A D21-Jul-201616 KiB

FindVRPN.cmakeH A D21-Jul-20163.5 KiB

FindViewPoint.cmakeH A D21-Jul-20162.2 KiB

FindVirtuoseAPI.cmakeH A D21-Jul-20162.1 KiB

FindVirtuoseVPP.cmakeH A D21-Jul-20161.4 KiB

FindWayland.cmakeH A D21-Jul-20161.6 KiB

FindWiiSCAAT.cmakeH A D21-Jul-20161.8 KiB

FindWiiUse.cmakeH A D21-Jul-20162.2 KiB

FindWinHID.cmakeH A D21-Jul-20167.4 KiB

FindWindowsSDK.cmakeH A D21-Jul-201623.4 KiB

FindXrandr.cmakeH A D21-Jul-20161.5 KiB

Findargp.cmakeH A D21-Jul-20161.8 KiB

Findcppcheck.cmakeH A D21-Jul-20165 KiB

Findcppcheck.cppH A D21-Jul-2016265

Findcppunit.cmakeH A D21-Jul-20161.8 KiB

Findcutil.cmakeH A D21-Jul-20161.5 KiB

Finddb2pdf.cmakeH A D21-Jul-20161.8 KiB

FindosgLua.cmakeH A D21-Jul-20161.6 KiB

Findquatlib.cmakeH A D21-Jul-20162.5 KiB

Findudev.cmakeH A D21-Jul-20161.5 KiB

GenerateCompatibilityVersionFile.cmakeH A D21-Jul-20163 KiB

GetCPUDetails.cmakeH A D21-Jul-20164.4 KiB

GetCompilerInfoString.cmakeH A D21-Jul-20165.9 KiB

GetDefineString.cmakeH A D21-Jul-20162.4 KiB

GetDefineString.cpp.inH A D21-Jul-2016223

GetDirectoryList.cmakeH A D21-Jul-20161.3 KiB

GetFileList.cmakeH A D21-Jul-20161.1 KiB

GetForceIncludeDefinitions.cmakeH A D21-Jul-20161.4 KiB

GetGitRevisionDescription.cmakeH A D21-Jul-20164 KiB

GetGitRevisionDescription.cmake.inH A D21-Jul-20161.3 KiB

GetMSVCVersion.cmakeH A D21-Jul-20164.8 KiB

GetSubprojectStatus.cmakeH A D21-Jul-20161 KiB

Licensing.cmakeH A D21-Jul-20163.8 KiB

ListCombinations.cmakeH A D21-Jul-20161.5 KiB

ListFilter.cmakeH A D21-Jul-20161.4 KiB

LuaTargets.cmakeH A D21-Jul-20162.9 KiB

MSVCMultipleProcessCompile.cmakeH A D21-Jul-2016881

MSVCStaticRuntime.cmakeH A D21-Jul-2016916

MSVCVerboseLinking.cmakeH A D21-Jul-20161.4 KiB

MapImportedReleaseVariants.cmakeH A D21-Jul-2016946

MinGWSearchPathExtras.cmakeH A D21-Jul-20164.3 KiB

OptionRequires.cmakeH A D21-Jul-20161.2 KiB

PlatformDefinitions.cmakeH A D21-Jul-20161.9 KiB

PrefixListGlob.cmakeH A D21-Jul-2016945

ProgramFilesGlob.cmakeH A D21-Jul-20162.7 KiB

README.markdownH A D21-Jul-20163.8 KiB

ResetConfigurations.cmakeH A D21-Jul-2016839

SearchProgramFilesForOpenSceneGraph.cmakeH A D21-Jul-20161.6 KiB

SetDefaultBuildType.cmakeH A D21-Jul-2016917

SplitLibraryList.cmakeH A D21-Jul-20161.2 KiB

StampSourcesWithVersion.cmakeH A D21-Jul-20165.4 KiB

StampSourcesWithVersion.sed.inH A D21-Jul-2016315

TCHARWorkaround.cmakeH A D21-Jul-20161.1 KiB

UseBackportedModules.cmakeH A D21-Jul-20163.3 KiB

UseFolders.cmakeH A D21-Jul-20161.5 KiB

UseMarkdown.cmakeH A D21-Jul-20163.2 KiB

UseTR1.cmakeH A D21-Jul-2016705

WarningDev.cmakeH A D21-Jul-2016792

export-to-directory.shH A D21-Jul-2016300

update-help.shH A D21-Jul-2016233

README.markdown

1Ryan's CMake Modules
2====================
3
4Ryan A. Pavlik, Ph.D.
5
6<ryan.pavlik@gmail.com> <abiryan@ryand.net>
7<http://academic.cleardefinition.com>
8
9Introduction
10------------
11
12This is a collection of CMake modules that I've produced during the course
13of a variety of software development.  There are a number of find modules,
14especially for virtual reality and physical simulation packages, some utility
15modules of more general interest, and some patches or workarounds for
16CMake itself.
17
18Each module is generally documented, and depending on how busy I was
19when I created it, the documentation can be fairly complete.
20
21By now, it also includes contributions both from open-source projects I work on,
22as well as friendly strangers on the Internet contributing their modules. I am
23very grateful for improvements/fixes/pull requests!
24
25How to Integrate
26----------------
27
28These modules are probably best placed wholesale into a `cmake` subdirectory
29of your project source.
30
31If you use Git, try installing [git-subtree][1] (included by default on
32Git for Windows and perhaps for your Linux distro, especially post-1.9.1), so
33you can easily use this repository for subtree merges, updating simply.
34
35For the initial checkout:
36
37	cd projectdir
38
39	git subtree add --squash --prefix=cmake https://github.com/rpavlik/cmake-modules.git master
40
41For updates:
42
43	cd projectdir
44
45	git subtree pull --squash --prefix=cmake https://github.com/rpavlik/cmake-modules.git master
46
47If you originally installed this by just copying the files, you'll sadly have
48to delete the directory, commit that, then do the `git subtree add`. Annoying,
49but I don't know a workaround.
50
51If you use some other version control, you can export a copy of this directory
52without the git metadata by calling:
53
54    ./export-to-directory.sh yourprojectdir/cmake
55
56You might also consider exporting to a temp directory and merging changes, since
57this will not overwrite by default.  You can pass -f to overwrite existing files.
58
59How to Use
60----------
61
62At the minimum, all you have to do is add a line like this near the top
63of your root CMakeLists.txt file (but not before your `project()` call):
64
65	list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
66
67You might also want the extra automatic features/fixes included with the
68modules, for that, just add another line following the first one:
69
70	include(UseBackportedModules)
71
72Look at `module-help.html`/`.txt` (generated by `update-help.sh` on a unix-like shell with a pre-3.0 version of CMake.)
73either in this directory or online at <http://github.com/rpavlik/cmake-modules/blob/master/module-help.txt>
74for more information on individual modules. Since it requires an older CMake for generation,
75the docs might get out of date, sorry - but you can always look at the files themselves.
76
77
78Licenses
79--------
80
81The modules that I wrote myself are all subject to this license:
82
83> Copyright Iowa State University 2009-2014,
84> or Copyright Sensics, Inc. 2014-2015,
85> or Copyright Ryan A. Pavlik 2009-2015
86>
87> Distributed under the Boost Software License, Version 1.0.
88>
89> (See accompanying file `LICENSE_1_0.txt` or copy at
90> <http://www.boost.org/LICENSE_1_0.txt>)
91
92Modules based on those included with CMake are under the OSI-approved
93BSD license, which is included in each of those modules.  A few other modules
94are modified from other sources - when in doubt, look at the `.cmake`.
95
96If you'd like to contribute, that would be great! Just make sure to include
97the license boilerplate in your module, and send a pull request.
98
99Important License Note!
100-----------------------
101
102If you find this file inside of another project, rather at the top-level
103directory, you're in a separate project that is making use of these modules.
104That separate project can (and probably does) have its own license specifics.
105
106
107[1]: http://github.com/apenwarr/git-subtree  "Git Subtree master"
108