Skip to content
This repository
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

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