Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

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.