Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a0d0adb6bc
..
Failed to load latest commit information.
cmake-2.8.0-modules Merge commit 'f1e4820afac73e54f0185a485e002c58e6797996'
cmake-2.8.1-modules/patchctestbug10149 Merge commit 'f1e4820afac73e54f0185a485e002c58e6797996'
cmake-2.8.3-modules Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
cmake-2.8.4-modules Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
cmake-2.9.0-modules Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
ghost-fake-stl Update cmake files
launcher-templates Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
module-docs Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
nested_targets Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
package-licensing Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
package Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
workarounds Initial commit
AboutTheseModules.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
BoostTestTargets.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
BoostTestTargetsDynamic.h Update cmake files
BoostTestTargetsIncluded.h Update cmake files
BoostTestTargetsStatic.h Update cmake files
BundleOSGPlugins.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
BundleOSGRuntime.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
BundleVRJ22Runtime.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
BundleVRJ30Runtime.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CheckMacHIDAPI.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CheckMacHIDAPI.cpp Initial commit
CheckVersion.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CleanDirectoryList.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CleanLibraryList.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CopyResourcesToBuildTree.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CppcheckTargets.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CreateDashboardScripts.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
CreateImportedTarget.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
CreateLaunchers.cmake Merge commit '2a3990af102fb1ddbb115297dd43b588f9e054d4'
DashboardScript.cmake.in Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
DoxygenTargets.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
DoxygenTargets.doxyfile.in Initial commit
EnableExtraCompilerWarnings.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
EnableProfiling.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FileCopyTargets.cmake Merge commit 'e39396a0a64a10893bbde7f13846cb4577103c7d'
FindALUT.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindBluez.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindCPPDOM.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindDCubed.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindFlagpoll.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindGDB.cmake Merge commit '2a3990af102fb1ddbb115297dd43b588f9e054d4'
FindGHOST.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindGLUI.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindGLUT.cmake Merge commit 'f1e4820afac73e54f0185a485e002c58e6797996'
FindGMTL.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindGPM.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindGadgeteer12.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindGadgeteer20.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindGlove5DT.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindHIDAPI.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindJCCL12.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindJCCL14.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindJtTk.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindJtTk.stampkey.cmake.in Initial commit
FindLAPACKLibs.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindLibusb1.cmake Merge commit '59481278e5f92b0b2bb0e9a1591ede05f1406301'
FindLuabind.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindLyX.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindMacHID.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindOpenCV.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindOpenHaptics.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindOpenHaptics.cpp Initial commit
FindParasolid.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindSonix12.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindSonix14.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindTR1.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindTooN.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindTooNtag.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindTweek12.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindTweek14.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindVPR20.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindVPR22.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindVPS.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindVRJ22.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindVRJ30.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindVRJOGL22.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindVRJOGL30.cmake Merge commit '92e4bab60428eac1b5be36c98e9658b19e9d5c44'
FindVRJuggler.cmake Merge commit '59481278e5f92b0b2bb0e9a1591ede05f1406301'
FindVRJuggler22.cmake Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
FindVRJuggler30.cmake Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
FindVRPN.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindVirtuoseAPI.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindVirtuoseVPP.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindWiiSCAAT.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindWiiUse.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindWinHID.cmake Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
Findargp.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
Findcppcheck.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
Findcppcheck.cpp Initial commit
Findcppunit.cmake Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
Findcutil.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
Finddb2pdf.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
FindosgLua.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
Findquatlib.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetCPUDetails.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetCompilerInfoString.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetDirectoryList.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetFileList.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetForceIncludeDefinitions.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetGitRevisionDescription.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
GetGitRevisionDescription.cmake.in Merge commit '778ae7a25ee20eaf1c3d91283052f4ca920657cd'
GetSubprojectStatus.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
LICENSE_1_0.txt Merge commit 'f1e4820afac73e54f0185a485e002c58e6797996'
Licensing.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
ListCombinations.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
ListFilter.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
LuaTargets.cmake Merge commit 'e39396a0a64a10893bbde7f13846cb4577103c7d'
MSVCMultipleProcessCompile.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
MSVCStaticRuntime.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
MSVCVerboseLinking.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
OptionRequires.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
PrefixListGlob.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
ProgramFilesGlob.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
README.markdown Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
ResetConfigurations.cmake Merge commit 'bd93e757df13f76a596c865e168ac9b3279a1c9b'
SearchProgramFilesForOpenSceneGraph.cmake Merge commit '0c24bf254e8a1a1dc4114e724cac55492f1b695f'
SetDefaultBuildType.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
SplitLibraryList.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
StampSourcesWithVersion.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
StampSourcesWithVersion.sed.in Initial commit
TCHARWorkaround.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
UseBackportedModules.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
UseTR1.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
WarningDev.cmake Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
export-to-directory.sh Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'
module-help.html Merge commit 'bd93e757df13f76a596c865e168ac9b3279a1c9b'
module-help.txt Merge commit 'bd93e757df13f76a596c865e168ac9b3279a1c9b'
update-help.sh Merge commit 'f76267692d12ef640bd2e6f00160492e028e1130'

README.markdown

VRAC CMake Modules

Ryan Pavlik

rpavlik@iastate.edu abiryan@ryand.net http://academic.cleardefinition.com

Iowa State University HCI Graduate Program/VRAC

Introduction

This is a collection of CMake modules that I've produced during the course of a variety of software development. There are a number of find modules, especially for virtual reality and physical simulation packages, some utility modules of more general interest, and some patches or workarounds for CMake itself.

Each module is generally documented, and depending on how busy I was when I created it, the documentation can be fairly complete.

How to Integrate

These modules are probably best placed wholesale into a "cmake" subdirectory of your project source.

If you use Git, try installing git-subtree, so you can easily use this repository for subtree merges, updating simply.

For the initial checkout:

cd projectdir

git subtree add --squash --prefix=cmake git://github.com/rpavlik/cmake-modules.git master

For updates:

cd projectdir

git subtree pull --squash --prefix=cmake git://github.com/rpavlik/cmake-modules.git master

If you use some other version control, you can export a copy of this directory without the git metadata by calling:

./export-to-directory.sh yourprojectdir/cmake

You might also consider exporting to a temp directory and merging changes, since this will not overwrite by default. You can pass -f to overwrite existing files.

How to Use

At the minimum, all you have to do is add a line like this near the top of your root CMakeLists.txt file (but not before your project() call):

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

You might also want the extra automatic features/fixes included with the modules, for that, just add another line following the first one:

include(UseBackportedModules)

Look at module-help.html/txt (generated by update-help.sh on a unix-like shell) either in this directory or online at http://github.com/rpavlik/cmake-modules/blob/master/module-help.txt for more information on individual modules.

Licenses

The modules that I wrote myself are all subject to this license:

Copyright Iowa State University 2009-2010

Distributed under the Boost Software License, Version 1.0.

(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Modules based on those included with CMake are under the OSI-approved BSD license, which is included in each of those modules. A few other modules are modified from other sources - when in doubt, look at the .cmake.

Important License Note!

If you find this file inside of another project, rather at the top-level directory, you're in a separate project that is making use of these modules. That separate project can (and probably does) have its own license specifics.

Something went wrong with that request. Please try again.