Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add cmake build files, fix config - it builds and links!

  • Loading branch information...
commit bc08abb0c1ed988957cc30cd497ce574e31011d3 1 parent cc1b4c4
@rpavlik authored
Showing with 12,719 additions and 1,787 deletions.
  1. +198 −0 BoostTestTargets.cmake
  2. +7 −0 BoostTestTargetsDynamic.h
  3. +5 −0 BoostTestTargetsIncluded.h
  4. +6 −0 BoostTestTargetsStatic.h
  5. +77 −0 BundleOSGRuntime.cmake
  6. +94 −0 BundleVRJ22Runtime.cmake
  7. +0 −148 CMakeLists.txt
  8. +68 −0 CheckMacHIDAPI.cmake
  9. +47 −0 CheckMacHIDAPI.cpp
  10. +42 −0 CheckVersion.cmake
  11. +43 −0 CleanDirectoryList.cmake
  12. +67 −0 CleanLibraryList.cmake
  13. +77 −0 CopyResourcesToBuildTree.cmake
  14. +105 −0 CppcheckTargets.cmake
  15. +183 −0 CreateDashboardScripts.cmake
  16. +59 −0 CreateImportedTarget.cmake
  17. +170 −0 CreateMSVCUserFiles.cmake
  18. +5 −0 CreateMSVCUserFiles.cmd.in
  19. +1 −0  CreateMSVCUserFiles.env.cmd.in
  20. +1 −0  CreateMSVCUserFiles.env.sh.in
  21. +28 −0 CreateMSVCUserFiles.perconfig.vcproj.user.in
  22. +6 −0 CreateMSVCUserFiles.sh.in
  23. +10 −0 CreateMSVCUserFiles.vcproj.user.in
  24. +0 −4 DashboardBuildInitialCache.cmake.in
  25. +117 −0 DashboardScript.cmake.in
  26. +0 −1,541 Doxyfile
  27. +241 −0 DoxygenTargets.cmake
  28. +18 −0 DoxygenTargets.doxyfile.in
  29. +50 −0 EnableExtraCompilerWarnings.cmake
  30. +51 −0 EnableProfiling.cmake
  31. +125 −0 FindALUT.cmake
  32. +148 −0 FindCPPDOM.cmake
  33. +141 −0 FindDCubed.cmake
  34. +146 −0 FindFlagpoll.cmake
  35. +131 −0 FindGLUI.cmake
  36. +105 −0 FindGLUT.cmake
  37. +102 −0 FindGMTL.cmake
  38. +38 −0 FindGPM.cmake
  39. +181 −0 FindGadgeteer12.cmake
  40. +194 −0 FindGlove5DT.cmake
  41. +147 −0 FindJCCL12.cmake
  42. +422 −0 FindJtTk.cmake
  43. +42 −0 FindJtTk.stampkey.cmake.in
  44. +72 −0 FindLAPACKLibs.cmake
  45. +68 −0 FindLuabind.cmake
  46. +61 −0 FindMacHID.cmake
  47. +248 −0 FindOpenCV.cmake
  48. +483 −0 FindOpenHaptics.cmake
  49. +18 −0 FindOpenHaptics.cpp
  50. +330 −0 FindParasolid.cmake
  51. +157 −0 FindSonix12.cmake
  52. +67 −0 FindTR1.cmake
  53. +63 −0 FindTooN.cmake
  54. +79 −0 FindTooNtag.cmake
  55. +148 −0 FindTweek12.cmake
  56. +266 −0 FindVPR20.cmake
  57. +291 −0 FindVPS.cmake
  58. +205 −0 FindVRJ22.cmake
  59. +156 −0 FindVRJOGL22.cmake
  60. +261 −0 FindVRJuggler22.cmake
  61. +103 −0 FindVRPN.cmake
  62. +72 −0 FindWiiSCAAT.cmake
  63. +82 −0 FindWiiUse.cmake
  64. +76 −0 Findargp.cmake
  65. +124 −0 Findcppcheck.cmake
  66. +16 −0 Findcppcheck.cpp
  67. +66 −0 FindosgLua.cmake
  68. +85 −0 Findquatlib.cmake
  69. +176 −0 GetCompilerInfoString.cmake
  70. +44 −0 GetDirectoryList.cmake
  71. +39 −0 GetForceIncludeDefinitions.cmake
  72. +26 −0 GetSubprojectStatus.cmake
  73. +44 −0 GetSubprojectStatus.cmake~
  74. +48 −0 ListCombinations.cmake
  75. +45 −0 ListFilter.cmake
  76. +26 −0 MSVCMultipleProcessCompile.cmake
  77. +28 −0 MSVCStaticRuntime.cmake
  78. +43 −0 MSVCVerboseLinking.cmake
  79. +144 −0 MakeVRJugglerAppBundle.cmake
  80. +31 −0 PrefixListGlob.cmake
  81. +89 −0 ProgramFilesGlob.cmake
  82. +59 −0 SearchProgramFilesForOpenSceneGraph.cmake
  83. +35 −0 SplitLibraryList.cmake
  84. +172 −0 StampSourcesWithVersion.cmake
  85. +13 −0 StampSourcesWithVersion.sed.in
  86. +33 −0 TCHARWorkaround.cmake
  87. +109 −0 UseBackportedModules.cmake
  88. +23 −0 UseTR1.cmake
  89. +19 −0 WarningDev.cmake
  90. +111 −0 cmake-2.8.0-modules/features/SelectLibraryConfigurations.cmake
  91. +276 −0 cmake-2.8.0-modules/osg/FindOpenSceneGraph.cmake
  92. +153 −0 cmake-2.8.0-modules/osg/FindOpenThreads.cmake
  93. +84 −0 cmake-2.8.0-modules/osg/Findosg.cmake
  94. +81 −0 cmake-2.8.0-modules/osg/FindosgAnimation.cmake
  95. +81 −0 cmake-2.8.0-modules/osg/FindosgDB.cmake
  96. +81 −0 cmake-2.8.0-modules/osg/FindosgFX.cmake
  97. +81 −0 cmake-2.8.0-modules/osg/FindosgGA.cmake
  98. +81 −0 cmake-2.8.0-modules/osg/FindosgIntrospection.cmake
  99. +81 −0 cmake-2.8.0-modules/osg/FindosgManipulator.cmake
  100. +81 −0 cmake-2.8.0-modules/osg/FindosgParticle.cmake
  101. +81 −0 cmake-2.8.0-modules/osg/FindosgProducer.cmake
  102. +81 −0 cmake-2.8.0-modules/osg/FindosgShadow.cmake
  103. +81 −0 cmake-2.8.0-modules/osg/FindosgSim.cmake
  104. +81 −0 cmake-2.8.0-modules/osg/FindosgTerrain.cmake
  105. +81 −0 cmake-2.8.0-modules/osg/FindosgText.cmake
  106. +81 −0 cmake-2.8.0-modules/osg/FindosgUtil.cmake
  107. +81 −0 cmake-2.8.0-modules/osg/FindosgViewer.cmake
  108. +81 −0 cmake-2.8.0-modules/osg/FindosgVolume.cmake
  109. +81 −0 cmake-2.8.0-modules/osg/FindosgWidget.cmake
  110. +135 −0 cmake-2.8.0-modules/osg/Findosg_functions.cmake
  111. +72 −0 cmake-2.8.1-modules/FixWinInstallPrefix.cmake
  112. +8 −0 cmake-2.8.1-modules/autoinclude.cmake
  113. +336 −0 cmake-2.8.1-modules/patchctestbug10149/CTest.cmake
  114. +24 −0 cmake-2.8.1-modules/patchctestbug10149/CTestScriptMode.cmake
  115. +101 −0 cmake-2.8.1-modules/patchctestbug10149/CTestTargets.cmake
  116. +14 −0 cmake-2.8.2-modules/ImproveEclipseGCCErrors.cmake
  117. +8 −0 cmake-2.8.2-modules/autoinclude.cmake
  118. +930 −0 cmake-2.8.2-modules/boost/FindBoost.cmake
  119. +38 −0 cmake-2.9.0-modules/RequireOutOfSourceBuild.cmake
  120. +8 −0 cmake-2.9.0-modules/autoinclude.cmake
  121. +72 −0 module-docs/AllModuleDependencies.dot
  122. BIN  module-docs/AllModuleDependencies.jpg
  123. BIN  module-docs/AllModuleDependencies.pdf
  124. BIN  module-docs/AllModuleDependencies.png
  125. +189 −0 module-docs/Example-FindMyPackage-UsingImportedTargets.cmake
  126. +183 −0 module-docs/Example-FindMyPackage.cmake
  127. +34 −0 module-docs/Makefile
  128. +4 −0 package/macosx/Resources/en.lproj/MainMenu.nib/classes.nib
  129. +23 −0 package/macosx/Resources/en.lproj/MainMenu.nib/info.nib
  130. BIN  package/macosx/Resources/en.lproj/MainMenu.nib/keyedobjects.nib
  131. BIN  package/macosx/Resources/vrjuggler.icns
  132. +10 −0 package/macosx/Resources/vrjuggler.plist
  133. +38 −0 package/macosx/VRJuggler22BundleInfo.plist.in
  134. +23 −0 package/macosx/fixupbundle.cmake.in
  135. +0 −14 src/CMakeLists.txt
  136. +0 −32 src/SpartaMain.cpp
  137. +0 −23 src/config.h.in.cpp
  138. +0 −25 third-party/CMakeLists.txt
  139. +1 −0  workarounds/mac-alut-framework/AL/alut.h
  140. +1 −0  workarounds/mac-gl/GL/gl.h
  141. +1 −0  workarounds/mac-gl/GL/glui.h
  142. +1 −0  workarounds/mac-gl/GL/glut.h
  143. +1 −0  workarounds/mac-openal/AL/al.h
  144. +1 −0  workarounds/mac-openal/AL/alc.h
  145. +2 −0  workarounds/tchar/tchar.h
View
198 BoostTestTargets.cmake
@@ -0,0 +1,198 @@
+# - Add tests using boost::test
+#
+# Add this line to your test files in place of including a basic boost test header:
+# #include <BoostTestTargetConfig.h>
+#
+# If you cannot do that and must use the included form for a given test,
+# include the line
+# // OVERRIDE_BOOST_TEST_INCLUDED_WARNING
+# in the same file with the boost test include.
+#
+# include(BoostTestTargets)
+# add_boost_test(<testdriver_name> SOURCES <source1> [<more sources...>]
+# [LIBRARIES <library> [<library>...]]
+# [RESOURCES <resource> [<resource>...]]
+# [TESTS <testcasename> [<testcasename>...]])
+#
+# If for some reason you need access to the executable target created,
+# it is ${BOOST_TEST_TARGET_PREFIX}${testdriver_name} as specified when
+# you called add_boost_test
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Requires:
+# GetForceIncludeDefinitions
+# CopyResourcesToBuildTree
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__add_boost_test)
+ return()
+endif()
+set(__add_boost_test YES)
+
+set(BOOST_TEST_TARGET_PREFIX "boosttesttarget_")
+
+if(NOT Boost_FOUND)
+ find_package(Boost 1.34.0 QUIET)
+endif()
+if("${Boost_VERSION}0" LESS "1034000")
+ set(_shared_msg "NOTE: boost::test-based targets and tests cannot "
+ "be added: boost >= 1.34.0 required but not found. "
+ "(found: '${Boost_VERSION}'; want >=103400) ")
+ if(BUILD_TESTING)
+ message(FATAL_ERROR ${_shared_msg}
+ "You may disable BUILD_TESTING to continue without the "
+ "tests.")
+ else()
+ message(STATUS ${_shared_msg}
+ "BUILD_TESTING disabled, so continuing anyway.")
+ endif()
+endif()
+
+include(GetForceIncludeDefinitions)
+include(CopyResourcesToBuildTree)
+
+if(Boost_FOUND AND NOT "${Boost_VERSION}0" LESS "1034000")
+ if(NOT Boost_UNIT_TEST_FRAMEWORK_LIBRARY)
+ find_package(Boost 1.34.0 QUIET COMPONENTS unit_test_framework)
+ endif()
+ if(Boost_UNIT_TEST_FRAMEWORK_LIBRARY)
+ set(_boosttesttargets_libs ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
+ if(Boost_USE_STATIC_LIBS)
+ set(_boostConfig "BoostTestTargetsStatic.h")
+ else()
+ set(_boostConfig "BoostTestTargetsDynamic.h")
+ endif()
+ else()
+ set(_boosttesttargets_libs)
+ set(_boostConfig "BoostTestTargetsIncluded.h")
+ endif()
+ get_filename_component(_moddir ${CMAKE_CURRENT_LIST_FILE} PATH)
+ configure_file("${_moddir}/${_boostConfig}" "${CMAKE_CURRENT_BINARY_DIR}/BoostTestTargetConfig.h" COPYONLY)
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}")
+endif()
+
+function(add_boost_test _name)
+ if(NOT BUILD_TESTING)
+ return()
+ endif()
+ # parse arguments
+ set(_nowhere)
+ set(_curdest _nowhere)
+ set(_val_args
+ SOURCES
+ LIBRARIES
+ RESOURCES
+ TESTS)
+ set(_bool_args
+ USE_COMPILED_LIBRARY)
+ foreach(_arg ${_val_args} ${_bool_args})
+ set(${_arg})
+ endforeach()
+ foreach(_element ${ARGN})
+ list(FIND _val_args "${_element}" _val_arg_find)
+ list(FIND _bool_args "${_element}" _bool_arg_find)
+ if("${_val_arg_find}" GREATER "-1")
+ set(_curdest "${_element}")
+ elseif("${_bool_arg_find}" GREATER "-1")
+ set("${_element}" ON)
+ set(_curdest _nowhere)
+ else()
+ list(APPEND ${_curdest} "${_element}")
+ endif()
+ endforeach()
+
+ if(_nowhere)
+ message(FATAL_ERROR "Syntax error in use of add_boost_test!")
+ endif()
+
+ if(NOT SOURCES)
+ message(FATAL_ERROR "Syntax error in use of add_boost_test: at least one source file required!")
+ endif()
+
+ if(Boost_FOUND AND NOT "${Boost_VERSION}0" LESS "1034000")
+
+ include_directories(${Boost_INCLUDE_DIRS})
+
+ set(includeType)
+ foreach(src ${SOURCES})
+ file(READ ${src} thefile)
+ if("${thefile}" MATCHES ".*BoostTestTargetConfig.h.*")
+ set(includeType CONFIGURED)
+ set(includeFileLoc ${src})
+ break()
+ elseif("${thefile}" MATCHES ".*boost/test/included/unit_test.hpp.*")
+ set(includeType INCLUDED)
+ set(includeFileLoc ${src})
+ set(_boosttesttargets_libs) # clear this out - linking would be a bad idea
+ if(NOT "${thefile}" MATCHES ".*OVERRIDE_BOOST_TEST_INCLUDED_WARNING.*")
+ message("Please replace the include line in ${src} with this alternate include line instead:")
+ message(" \#include <BoostTestTargetConfig.h>")
+ message("Once you've saved your changes, re-run CMake. (See BoostTestTargets.cmake for more info)")
+ endif()
+ break()
+ endif()
+ endforeach()
+
+ if(NOT _boostTestTargetsNagged${_name} STREQUAL "${includeType}")
+ if("includeType" STREQUAL "CONFIGURED")
+ message(STATUS "Test '${_name}' uses the CMake-configurable form of the boost test framework - congrats! (Including File: ${includeFileLoc})")
+ elseif("${includeType}" STREQUAL "INCLUDED")
+ message("In test '${_name}': ${includeFileLoc} uses the 'included' form of the boost unit test framework.")
+ else()
+ message("In test '${_name}': Didn't detect the CMake-configurable boost test include.")
+ message("Please replace your existing boost test include in that test with the following:")
+ message(" \#include <BoostTestTargetConfig.h>")
+ message("Once you've saved your changes, re-run CMake. (See BoostTestTargets.cmake for more info)")
+ endif()
+ endif()
+ set(_boostTestTargetsNagged${_name} "${includeType}" CACHE INTERNAL "" FORCE)
+
+
+ if(RESOURCES)
+ list(APPEND SOURCES ${RESOURCES})
+ endif()
+
+ add_executable(${BOOST_TEST_TARGET_PREFIX}${_name} ${SOURCES})
+
+ #if(USE_COMPILED_LIBRARY)
+ list(APPEND LIBRARIES ${_boosttesttargets_libs})
+ #endif()
+ if(LIBRARIES)
+ target_link_libraries(${BOOST_TEST_TARGET_PREFIX}${_name} ${LIBRARIES})
+ endif()
+
+ if(RESOURCES)
+ set_property(TARGET
+ ${BOOST_TEST_TARGET_PREFIX}${_name}
+ PROPERTY
+ RESOURCE
+ ${RESOURCES})
+ copy_resources_to_build_tree(${BOOST_TEST_TARGET_PREFIX}${_name})
+ endif()
+
+ if(NOT Boost_TEST_FLAGS)
+# set(Boost_TEST_FLAGS --catch_system_error=yes --output_format=XML)
+ set(Boost_TEST_FLAGS --catch_system_error=yes)
+ endif()
+
+ # TODO: Figure out why only recent boost handles individual test running properly
+ if(TESTS AND ("${Boost_VERSION}" VERSION_GREATER "103799"))
+ foreach(_test ${TESTS})
+ add_test(${_name}-${_test} ${BOOST_TEST_TARGET_PREFIX}${_name} --run_test=${_test} ${Boost_TEST_FLAGS})
+ endforeach()
+ else()
+ add_test(${_name}-boost::test ${BOOST_TEST_TARGET_PREFIX}${_name} ${Boost_TEST_FLAGS})
+ endif()
+
+ # CppCheck the test if we can.
+ if(COMMAND add_cppcheck)
+ add_cppcheck(${BOOST_TEST_TARGET_PREFIX}${_name} STYLE UNUSED_FUNCTIONS)
+ endif()
+
+ endif()
+endfunction()
View
7 BoostTestTargetsDynamic.h
@@ -0,0 +1,7 @@
+// Small header computed by CMake to set up boost test.
+// include AFTER #define BOOST_TEST_MODULE whatever
+// but before any other boost test includes.
+
+#define BOOST_TEST_DYN_LINK
+#include <boost/test/unit_test.hpp>
+
View
5 BoostTestTargetsIncluded.h
@@ -0,0 +1,5 @@
+// Small header computed by CMake to set up boost test.
+// include AFTER #define BOOST_TEST_MODULE whatever
+// but before any other boost test includes.
+
+#include <boost/test/included/unit_test.hpp>
View
6 BoostTestTargetsStatic.h
@@ -0,0 +1,6 @@
+// Small header computed by CMake to set up boost test.
+// include AFTER #define BOOST_TEST_MODULE whatever
+// but before any other boost test includes.
+
+#include <boost/test/unit_test.hpp>
+
View
77 BundleOSGRuntime.cmake
@@ -0,0 +1,77 @@
+# - Include the OpenSceneGraph runtime files in an installation or built package.
+#
+# OSGRUNTIME_BUNDLE - Set to "yes" to enable this behavior
+# OSGRUNTIME_zlib1dll - Must be set to the location of zlib1.dll on Windows
+# OSGRUNTIME_zlib1ddll - Can be set to the location of zlib1d.dll (debug) on Windows.
+# If set, will be installed.
+#
+# Requires these CMake modules:
+# no additional modules required
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(OPENSCENEGRAPH_FOUND)
+ if(WIN32)
+ get_filename_component(_osglibdir "${OSG_LIBRARY}" PATH)
+ get_filename_component(_osgroot "${_osglibdir}/.." ABSOLUTE)
+ find_file(OSGBUNDLE_zlib1dll
+ zlib1.dll
+ PATHS
+ "${_osgroot}/bin"
+ "${_osgroot}/lib")
+ find_file(OSGBUNDLE_zlib1ddll
+ zlib1d.dll
+ PATHS
+ "${_osgroot}/bin"
+ "${_osgroot}/lib")
+ mark_as_advanced(OSGBUNDLE_zlib1dll OSGBUNDLE_zlib1ddll)
+ set(_osgbundle_required OSGBUNDLE_zlib1dll)
+ set(_osgbundle_platformOK on)
+ else()
+ # TODO - how to handle when not on Windows?
+ endif()
+endif()
+
+if(_osgbundle_platformOK)
+ set(_osgbundle_caninstall on)
+ foreach(_var ${_osgbundle_required})
+ if(NOT ${_var})
+ # If we are missing a single required file, cut out now.
+ set(_osgbundle_caninstall off)
+ option(OSGRUNTIME_BUNDLE
+ "Install a local copy of the OpenSceneGraph runtime files with the project."
+ off)
+ endif()
+ endforeach()
+ if(_osgbundle_caninstall)
+ option(OSGRUNTIME_BUNDLE
+ "Install a local copy of the OpenSceneGraph runtime files with the project."
+ on)
+ endif()
+endif()
+
+mark_as_advanced(OSGRUNTIME_BUNDLE)
+
+if(OSGRUNTIME_BUNDLE AND OPENSCENEGRAPH_FOUND AND _osgbundle_caninstall)
+ if(WIN32)
+ install(FILES "${OSGBUNDLE_zlib1dll}"
+ DESTINATION bin)
+
+ if(OSGBUNDLE_zlib1ddll)
+ install(FILES "${OSGBUNDLE_zlib1ddll}"
+ DESTINATION bin)
+ endif()
+
+ install(DIRECTORY "${_osgroot}/bin/" "${_osgroot}/lib/"
+ DESTINATION bin
+ FILES_MATCHING
+
+ # Runtime files
+ PATTERN "*.dll")
+ else()
+ # TODO - how to handle when not on Windows?
+ endif()
+endif()
View
94 BundleVRJ22Runtime.cmake
@@ -0,0 +1,94 @@
+# - Include the VR Juggler runtime files in an installation or built package.
+#
+# VRJUGGLERRUNTIME_BUNDLE
+# VRJUGGLERRUNTIME_BUNDLE_DEBUG - set to yes to include debug dll's as well
+#
+# Requires these CMake modules:
+# FindVRJuggler22 and its dependencies
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(WIN32)
+ option(VRJUGGLERRUNTIME_BUNDLE
+ "Install a local copy of the VR Juggler runtime files with the project."
+ on)
+ option(VRJUGGLERRUNTIME_BUNDLE_DEBUG
+ "Install the VR Juggler debug runtime files as well."
+ off)
+ mark_as_advanced(VRJUGGLERRUNTIME_BUNDLE_DEBUG)
+else()
+ # TODO - how to handle when not on Windows?
+ #option(VRJUGGLERRUNTIME_BUNDLE "Install a local copy of the VR Juggler runtime files with the project." off)
+endif()
+
+mark_as_advanced(VRJUGGLERRUNTIME_BUNDLE VRJUGGLERRUNTIME_BUNDLE_DEBUG)
+
+if(VRJUGGLERRUNTIME_BUNDLE AND VRJUGGLER22_FOUND)
+ if(WIN32)
+ get_filename_component(_vrjlibdir "${VRJ22_LIBRARY_RELEASE}" PATH)
+ get_filename_component(_vrjroot "${_vrjlibdir}/../" ABSOLUTE)
+
+ # TODO - make sure gadgeteer and sonix can find their DSO's at runtime...
+
+ foreach(_dir bin lib)
+ if(VRJUGGLERRUNTIME_BUNDLE_DEBUG)
+ install(DIRECTORY "${_vrjroot}/${_dir}/"
+ DESTINATION bin
+ PATTERN "*.lib" EXCLUDE # exclude static and link libraries
+ PATTERN "*.exe" EXCLUDE # exclude unneeded executables
+ PATTERN "*.py" EXCLUDE # exclude unneeded python executables
+ PATTERN "*.pyc" EXCLUDE # exclude unneeded python executables
+ )
+ else()
+ install(DIRECTORY ${_vrjroot}/${_dir}/
+ DESTINATION bin
+ PATTERN "*.lib" EXCLUDE # exclude static and link libraries
+ PATTERN "*.exe" EXCLUDE # exclude unneeded executables
+ PATTERN "*.py" EXCLUDE # exclude unneeded python executables
+ PATTERN "*.pyc" EXCLUDE # exclude unneeded python executables
+
+ PATTERN "*d.dll" EXCLUDE # exclude debug dll's
+ PATTERN "*-gd-*.dll" EXCLUDE # exclude Boost debug dll's
+ )
+ endif()
+
+ endforeach()
+
+ install(DIRECTORY ${_vrjroot}/share/
+ DESTINATION share
+ FILES_MATCHING
+
+ # Runtime files
+ PATTERN "*.dll"
+ PATTERN "*.jar"
+
+ # Data files
+ PATTERN "*.wav"
+ PATTERN "*.xml"
+ PATTERN "*.xsl"
+ PATTERN "*.xsd"
+ PATTERN "*.flt"
+ PATTERN "*.dat"
+ PATTERN "*.table"
+
+
+ # Config files
+ PATTERN "*.jdef"
+ PATTERN "*.jconf"
+ PATTERN "*.cfg"
+ PATTERN "hosts.allow"
+
+ # Other Files
+ PATTERN "*.txt"
+ PATTERN "COPYING*"
+ PATTERN "ChangeLog"
+ )
+
+ endif()
+
+
+
+endif()
View
148 CMakeLists.txt
@@ -1,148 +0,0 @@
-# CMake cross-platform build system
-# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu>
-# http://academic.cleardefinition.com/
-# Iowa State University HCI Graduate Program/VRAC
-
-cmake_minimum_required(VERSION 2.6.2)
-
-# Set package properties
-project(SPARTA)
-
-set(CPACK_PACKAGE_VENDOR "Iowa State University")
-set(CPACK_PACKAGE_CONTACT "Ryan Pavlik <rpavlik@iastate.edu>")
-set(CPACK_PACKAGE_VERSION_MAJOR "0")
-set(CPACK_PACKAGE_VERSION_MINOR "1")
-set(CPACK_PACKAGE_VERSION_PATCH "0")
-set(CPACK_PACKAGE_VERSION
- "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
-set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
-set(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-src")
-
-###
-# Set up options
-###
-
-# Define Simple Options
-option(BUILD_VERBOSE "Turn on lots of runtime output." on)
-option(BUILD_WITH_VPS "Build using the VPS library." on)
-
-# Apply definitions
-if(BUILD_VERBOSE)
- add_definitions(-DVERBOSE)
-endif()
-
-set(BIN_DIR bin/)
-set(LUA_DIR share/sparta/lua/)
-set(INCLUDE_DIR include/)
-set(LIB_DIR lib/)
-
-###
-# End options
-###
-
-###
-# Perform build configuration of dependencies
-###
-
-# Locally-developed modules dist'ed with this app - always have this first.
-list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
-include(UseBackportedModules)
-include(CppcheckTargets)
-include(DoxygenTargets)
-include(GetDirectoryList)
-include(EnableExtraCompilerWarnings)
-include(StampSourcesWithVersion)
-
-include(CTest)
-include(CreateDashboardScripts)
-
-set(EXTRA_LIBS)
-
-set(CMAKE_DEBUG_POSTFIX "_d")
-
-include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
-
-# Boost
-find_package(Boost 1.34.0 REQUIRED) # Required for LuaBind
-include_directories(${Boost_INCLUDE_DIRS})
-
-# VR JuggLua
-find_package(VRJuggLua REQUIRED)
-list(APPEND EXTRA_LIBS ${VRJUGGLUA_LIBRARIES})
-include_directories(${VRJUGGLUA_INCLUDE_DIRS})
-
-# OpenSceneGraph
-include(SearchProgramFilesForOpenSceneGraph)
-find_package(OpenSceneGraph REQUIRED COMPONENTS osgDB osgUtil osgIntrospection)
-list(APPEND EXTRA_LIBS ${OPENSCENEGRAPH_LIBRARIES})
-
-include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS})
-get_directory_list(OPENSCENEGRAPH_RUNTIME_LIBRARY_DIRS ${OPENSCENEGRAPH_LIBRARIES})
-list(APPEND RUNTIME_LIBRARY_DIRS ${OPENSCENEGRAPH_RUNTIME_LIBRARY_DIRS})
-
-# VR Juggler
-find_package(VRJuggler22 REQUIRED)
-
-add_definitions(${VRJUGGLER22_DEFINITIONS})
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VRJUGGLER22_C_FLAGS}")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VRJUGGLER22_CXX_FLAGS}")
-list(APPEND EXTRA_LIBS ${VRJUGGLER22_LIBRARIES})
-include_directories(${VRJUGGLER22_INCLUDE_DIRS})
-
-include(BundleOSGRuntime)
-include(BundleVRJ22Runtime)
-
-find_package(VPS)
-if(BUILD_WITH_VPS)
- if(VPS_FOUND)
- include_directories(${VPS_INCLUDE_DIRS})
- else()
- message(FATAL_ERROR "BUILD_WITH_VPS enabled, but VPS not found!")
- endif()
-endif()
-
-###
-# Build the project
-###
-
-# Build the embedded libraries
-add_subdirectory(third-party)
-
-# Build the application
-add_subdirectory(src)
-
-add_doxygen(Doxyfile)
-
-if(BUILD_TESTING)
- include(BoostTestTargets)
- #add_subdirectory(tests)
-endif()
-
-create_dashboard_scripts("DashboardBuildInitialCache.cmake.in")
-
-###
-# End project build
-###
-
-
-###
-# Set packaging options (for CPack)
-###
-
-
-# Choose desired package generators
-if(APPLE)
- set(CPACK_GENERATOR DragNDrop)
- set(CPACK_SOURCE_GENERATOR ZIP)
-elseif(WIN32)
- set(CPACK_SOURCE_GENERATOR ZIP)
-else()
- set(CPACK_SOURCE_GENERATOR TARGZ)
-endif()
-
-# Include the packaging system now that we have it all set up
-include(CPack)
-
-###
-# End Packaging
-###
View
68 CheckMacHIDAPI.cmake
@@ -0,0 +1,68 @@
+# - Script to check if the signature for a mac HID callback uses UInt32 or uint32_t
+# Requires that the associated CPP file be present: CheckMacHIDAPI.cpp.
+#
+# MACOSX_HID_UINT32T, set according to the results of our test.
+#
+# Use add_definitions(-DMACOSX_HID_UINT32T=${MACOSX_HID_UINT32T}) in your
+# listfile and the following prototype for the function you'd like to
+# register using setInterruptReportHandlerCallback:
+# void ReaderReportCallback(
+# void *target,
+# IOReturn result,
+# void *refcon,
+# void *sender,
+# MACOSX_HID_UINT32T size
+# )
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+
+if(APPLE)
+ if(NOT MACOSX_HID_UINT32T)
+ get_filename_component(_moddir ${CMAKE_CURRENT_LIST_FILE} PATH)
+
+ try_compile(_HID_uint32t
+ ${CMAKE_BINARY_DIR}
+ ${_moddir}/CheckMacHIDAPI.cpp
+ OUTPUT_VARIABLE
+ _HID_uint32t_OUTPUT
+ COMPILE_DEFINITIONS
+ -DMACOSX_HID_UINT32T=uint32_t)
+ message(STATUS
+ "Checking uint32_t in HID callback signature... ${_HID_uint32t}")
+
+ try_compile(_HID_UInt32
+ ${CMAKE_BINARY_DIR}
+ ${_moddir}/CheckMacHIDAPI.cpp
+ OUTPUT_VARIABLE
+ _HID_UInt32_OUTPUT
+ COMPILE_DEFINITIONS
+ -DMACOSX_HID_UINT32T=UInt32)
+ message(STATUS
+ "Checking UInt32 in HID callback signature... ${_HID_UInt32}")
+
+
+ if(_HID_uint32t)
+ set(MACOSX_HID_UINT32T
+ "uint32_t"
+ CACHE
+ STRING
+ "The 32-bit uint type desired in the callback set by setInterruptReportHandlerCallback")
+ mark_as_advanced(MACOSX_HID_UINT32T)
+ elseif(_HID_UInt32)
+ set(MACOSX_HID_UINT32T
+ "UInt32"
+ CACHE
+ STRING
+ "The 32-bit uint type desired in the callback set by setInterruptReportHandlerCallback")
+ mark_as_advanced(MACOSX_HID_UINT32T)
+ else()
+ message(SEND_ERROR
+ "ERROR: Could not detect appropriate Mac HID uint32 type!")
+ endif()
+
+ endif()
+endif()
View
47 CheckMacHIDAPI.cpp
@@ -0,0 +1,47 @@
+/**
+ * \file CheckMacHIDAPI.cpp
+ * \brief C++ source file used by CMake module CheckMacHIDAPI.cmake
+ *
+ * \author
+ * Ryan Pavlik, 2009-2010
+ * <rpavlik@iastate.edu>
+ * http://academic.cleardefinition.com/
+ *
+ * \author
+ * Based on code extracted from VRPN 07.22 for use as a minimal test case
+ *
+ * Attempts to compile a difficult bit of code against the Mac
+ * HID API, as two different types have been required in the callback
+ * function (UInt32 and uint32_t) and testing is the best way to know
+ * which one is correct for a given system.
+ *
+ */
+
+
+#if defined(__APPLE__)
+
+#include <stdio.h>
+#include <IOKit/IOCFPlugIn.h>
+#include <IOKit/hid/IOHIDLib.h>
+#include <IOKit/hid/IOHIDKeys.h>
+#include <CoreFoundation/CoreFoundation.h>
+void ReaderReportCallback(
+ void *target, IOReturn result, void *refcon, void *sender, MACOSX_HID_UINT32T size
+ )
+ {}
+#endif
+
+int main(int argc, char* argv[]) {
+#if defined(__APPLE__)
+ io_object_t _ioObject;
+ IOHIDDeviceInterface122 **_interface;
+ bool _gotdata;
+ int _gotsize;
+ unsigned char _buffer[512];
+ IOReturn result = (*_interface)->setInterruptReportHandlerCallback(_interface,
+ _buffer, 512,
+ ReaderReportCallback,
+ NULL, 0);
+#endif
+ return 0;
+}
View
42 CheckVersion.cmake
@@ -0,0 +1,42 @@
+# - Utility function for Find modules considering multiple possible versions
+#
+# Requires these CMake modules:
+# no additional modules required
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__check_version)
+ return()
+endif()
+set(__check_version YES)
+
+function(check_version var packagename version)
+ # By default, we say that the version is good enough
+ set(_result TRUE)
+
+ # Was a version requested? If so, what is our test condition?
+ if(${packagename}_FIND_VERSION)
+ if(${packagename}_FIND_VERSION_EXACT)
+ # Yes, an exact == version was requested - check it.
+
+ if(NOT "${version}" VERSION_EQUAL "${${packagename}_FIND_VERSION}")
+ # version is not an exact match
+ set(_result FALSE)
+ endif()
+ else()
+ # Yes, a minimum >= version was requested - check it.
+
+ if("${version}" VERSION_LESS "${${packagename}_FIND_VERSION}")
+ # version is lower than requested
+ set(_result FALSE)
+ endif()
+
+ endif()
+ endif()
+
+ # Return _result
+ set(${var} ${_result} PARENT_SCOPE)
+endfunction()
View
43 CleanDirectoryList.cmake
@@ -0,0 +1,43 @@
+# - Removes duplicate entries and non-directories from a provided list
+#
+# clean_directory_list(<listvar> [<additional list items>...])
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__clean_directory_list)
+ return()
+endif()
+set(__clean_directory_list YES)
+
+function(clean_directory_list _var)
+ # combine variable's current value with additional list items
+ set(_in ${${_var}} ${ARGN})
+
+ if(_in)
+ # Initial list cleaning
+ list(REMOVE_DUPLICATES _in)
+
+ # Grab the absolute path of each actual directory
+ set(_out)
+ foreach(_dir ${_in})
+ if(IS_DIRECTORY "${_dir}")
+ get_filename_component(_dir "${_dir}" ABSOLUTE)
+ file(TO_CMAKE_PATH "${_dir}" _dir)
+ list(APPEND _out "${_dir}")
+ endif()
+ endforeach()
+
+ if(_out)
+ # Clean up the output list now
+ list(REMOVE_DUPLICATES _out)
+ endif()
+
+ # return _out
+ set(${_var} "${_out}" PARENT_SCOPE)
+ endif()
+endfunction()
View
67 CleanLibraryList.cmake
@@ -0,0 +1,67 @@
+# - A smarter replacement for list(REMOVE_DUPLICATES) for library lists
+#
+# Note that, in the case of cyclic link dependencies, you _do_ actually need
+# a library in a list multiple times. So, only use this function when you know
+# that the dependency graph is acyclic.
+#
+# clean_library_list(<listvar> [<additional list items>...]) - where
+# listvar is the name of a destination variable, and also possibly a source, and
+# it is followed by any number (including 0) of additional libraries to append
+# to the list before processing.
+#
+# Removes duplicates from the list, leaving only the last instance, while
+# preserving the meaning of the "optimized", "debug", and "general" labeling.
+# (Libraries listed as general are listed in the result instead as optimized and
+# debug)
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__clean_library_list)
+ return()
+endif()
+set(__clean_library_list YES)
+
+function(clean_library_list _var)
+ # combine variable's current value with additional list items
+ set(_work ${${_var}} ${ARGN})
+ if(_work)
+ # Turn each of optimized, debug, and general into flags
+ # prefixed on their respective library (combining list items)
+ string(REGEX REPLACE "optimized;" "1CLL%O%" _work "${_work}")
+ string(REGEX REPLACE "debug;" "1CLL%D%" _work "${_work}")
+ string(REGEX REPLACE "general;" "1CLL%G%" _work "${_work}")
+
+ # Any library that doesn't have a prefix is general, and a general
+ # library is both debug and optimized so stdize it
+ set(_std)
+ foreach(_lib ${_work})
+ if(NOT "${_lib}" MATCHES "^1CLL%.%")
+ list(APPEND _std "1CLL%D%${_lib}" "1CLL%O%${_lib}")
+ elseif("${_lib}" MATCHES "^1CLL%G%")
+ string(REPLACE "1CLL%G%" "" _justlib "${_lib}")
+ list(APPEND _std "1CLL%D%${_justlib}" "1CLL%O%${_justlib}")
+ else()
+ list(APPEND _std "${_lib}")
+ endif()
+ endforeach()
+
+ # REMOVE_DUPLICATES leaves the first - so we reverse before and after
+ # to keep the last, instead
+ list(REVERSE _std)
+ list(REMOVE_DUPLICATES _std)
+ list(REVERSE _std)
+
+ # Split list items back out again: turn prefixes into the
+ # library type flags.
+ string(REGEX REPLACE "1CLL%D%" "debug;" _std "${_std}")
+ string(REGEX REPLACE "1CLL%O%" "optimized;" _std "${_std}")
+
+ # Return _std
+ set(${_var} ${_std} PARENT_SCOPE)
+ endif()
+endfunction()
View
77 CopyResourcesToBuildTree.cmake
@@ -0,0 +1,77 @@
+# - Copy the resources your app needs to the build tree.
+#
+# copy_resources_to_build_tree(<target_name>)
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__copy_resources_to_build_tree)
+ return()
+endif()
+set(__copy_resources_to_build_tree YES)
+
+function(copy_resources_to_build_tree _target)
+ get_target_property(_resources ${_target} RESOURCE)
+ if(NOT _resources)
+ # Bail if no resources
+ message(STATUS "Told to copy resources for target ${_target}, but "
+ "no resources are set!")
+ return()
+ endif()
+
+ get_target_property(_path ${_target} LOCATION)
+ get_filename_component(_path "${_path}" PATH)
+
+ if(NOT MSVC AND NOT "${CMAKE_GENERATOR}" MATCHES "Makefiles")
+ foreach(_config ${CMAKE_CONFIGURATION_TYPES})
+ get_target_property(_path${_config} ${_target} LOCATION_${_config})
+ get_filename_component(_path${_config} "${_path${_config}}" PATH)
+ add_custom_command(TARGET ${_target}
+ POST_BUILD
+ COMMAND
+ ${CMAKE_COMMAND}
+ ARGS -E make_directory "${_path${_config}}/"
+ COMMENT "Creating directory ${_path${_config}}/")
+ endforeach()
+ endif()
+
+ foreach(_res ${_resources})
+ if(NOT IS_ABSOLUTE "${_res}")
+ get_filename_component(_res "${_res}" ABSOLUTE)
+ endif()
+ get_filename_component(_name "${_res}" NAME)
+
+ if(MSVC)
+ # Working dir is solution file dir, not exe file dir.
+ add_custom_command(TARGET ${_target}
+ POST_BUILD
+ COMMAND
+ ${CMAKE_COMMAND}
+ ARGS -E copy "${_res}" "${CMAKE_BINARY_DIR}/"
+ COMMENT "Copying ${_name} to ${CMAKE_BINARY_DIR}/ for MSVC")
+ else()
+ if("${CMAKE_GENERATOR}" MATCHES "Makefiles")
+ add_custom_command(TARGET ${_target}
+ POST_BUILD
+ COMMAND
+ ${CMAKE_COMMAND}
+ ARGS -E copy "${_res}" "${_path}/"
+ COMMENT "Copying ${_name} to ${_path}/")
+ else()
+ foreach(_config ${CMAKE_CONFIGURATION_TYPES})
+ add_custom_command(TARGET ${_target}
+ POST_BUILD
+ COMMAND
+ ${CMAKE_COMMAND}
+ ARGS -E copy "${_res}" "${_path${_config}}"
+ COMMENT "Copying ${_name} to ${_path${_config}}")
+ endforeach()
+
+ endif()
+ endif()
+ endforeach()
+endfunction()
View
105 CppcheckTargets.cmake
@@ -0,0 +1,105 @@
+# - Run cppcheck on c++ source files as a custom target and a test
+#
+# include(CppcheckTargets)
+# add_cppcheck(<target-name> [UNUSED_FUNCTIONS] [STYLE] [POSSIBLE_ERROR])
+#
+# Requires these CMake modules:
+# Findcppcheck
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__add_cppcheck)
+ return()
+endif()
+set(__add_cppcheck YES)
+
+if(NOT CPPCHECK_FOUND)
+ find_package(cppcheck QUIET)
+endif()
+
+if(CPPCHECK_FOUND)
+ if(NOT TARGET all_cppcheck)
+ add_custom_target(all_cppcheck)
+ set_target_properties(all_cppcheck PROPERTIES EXCLUDE_FROM_ALL TRUE)
+ endif()
+endif()
+
+function(add_cppcheck _targetname)
+ if(CPPCHECK_FOUND)
+ set(_cppcheck_args)
+
+ list(FIND ARGN UNUSED_FUNCTIONS _unused_func)
+ if("${_unused_func}" GREATER "-1")
+ list(APPEND _cppcheck_args ${CPPCHECK_UNUSEDFUNC_ARG})
+ endif()
+
+ list(FIND ARGN STYLE _style)
+ if("${_style}" GREATER "-1")
+ list(APPEND _cppcheck_args ${CPPCHECK_STYLE_ARG})
+ endif()
+
+ list(FIND ARGN POSSIBLE_ERROR _poss_err)
+ if("${_poss_err}" GREATER "-1")
+ list(APPEND _cppcheck_args ${CPPCHECK_POSSIBLEERROR_ARG})
+ endif()
+
+ #get_directory_property(_cppcheck_include_dirs INCLUDE_DIRECTORIES)
+ #set(_includeflags)
+ #foreach(_dir ${_cppcheck_include_dirs})
+ # list(APPEND _cppcheck_args "${CPPCHECK_INCLUDEPATH_ARG}${_dir}")
+ #endforeach()
+
+ get_target_property(_cppcheck_sources "${_targetname}" SOURCES)
+ set(_files)
+ foreach(_source ${_cppcheck_sources})
+ get_source_file_property(_cppcheck_lang "${_source}" LANGUAGE)
+ get_source_file_property(_cppcheck_loc "${_source}" LOCATION)
+ if("${_cppcheck_lang}" MATCHES "CXX")
+ list(APPEND _files "${_cppcheck_loc}")
+ endif()
+ endforeach()
+
+ if("1.${CMAKE_VERSION}" VERSION_LESS "1.2.8.0")
+ # Older than CMake 2.8.0
+ add_test(${_targetname}_cppcheck_test
+ "${CPPCHECK_EXECUTABLE}"
+ ${CPPCHECK_TEMPLATE_ARG}
+ ${_cppcheck_args}
+ ${_files})
+ else()
+ # CMake 2.8.0 and newer
+ add_test(NAME
+ ${_targetname}_cppcheck_test
+ COMMAND
+ "${CPPCHECK_EXECUTABLE}"
+ ${CPPCHECK_TEMPLATE_ARG}
+ ${_cppcheck_args}
+ ${_files})
+ endif()
+
+ set_tests_properties(${_targetname}_cppcheck_test
+ PROPERTIES
+ FAIL_REGULAR_EXPRESSION
+ "[(]error[)]")
+
+ add_custom_command(TARGET
+ all_cppcheck
+ PRE_BUILD
+ COMMAND
+ ${CPPCHECK_EXECUTABLE}
+ ${CPPCHECK_QUIET_ARG}
+ ${CPPCHECK_TEMPLATE_ARG}
+ ${_cppcheck_args}
+ ${_files}
+ WORKING_DIRECTORY
+ "${CMAKE_CURRENT_SOURCE_DIR}"
+ COMMENT
+ "${_targetname}_cppcheck: Running cppcheck on target ${_targetname}..."
+ VERBATIM)
+ endif()
+endfunction()
View
183 CreateDashboardScripts.cmake
@@ -0,0 +1,183 @@
+# - Create ctest -S scripts to use to run dashboard builds
+#
+# include(CreateDashboardScripts)
+# create_dashboard_scripts([<initialcachetemplatefilename>])
+#
+# If you need additional settings to persist from the "parent" CMake instance
+# to the initial cache created by the dashboard script,
+# you may pass a filename which will be configured into the initial cache.
+#
+# In the resulting DASHBOARDSCRIPT_BASE_DIRECTORY, an end-user
+# may optionally create a file named
+# CustomInitialCache.${DASHBOARDSCRIPT_SCRIPT_NAME}
+# (by default, CustomInitialCache.go.cmake) containing set commands that use
+# the CACHE option, to set up additional site-local cache variable values.
+#
+# Requires these CMake modules:
+# GetCompilerInfoString
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+# Only do any of the prep work if not already in a dashboard script
+if(NOT IN_DASHBOARD_SCRIPT)
+
+ # Hide a CTest variable
+ mark_as_advanced(DART_TESTING_TIMEOUT)
+
+ include(GetCompilerInfoString)
+
+ get_compiler_info_string(_COMPILERID)
+
+ # We must run the following at "include" time, not at function call time,
+ # to find the path to this module rather than the path to a calling list file
+ get_filename_component(_dashboardmoddir
+ ${CMAKE_CURRENT_LIST_FILE}
+ PATH)
+
+ if(NOT "$ENV{USER}" MATCHES "^$")
+ set(_user "$ENV{USER}")
+ elseif(NOT "$ENV{USERNAME}" MATCHES "^$")
+ set(_user "$ENV{USERNAME}")
+ endif()
+
+ if(NOT _dashboardscript_machine)
+ if(NOT SITE)
+ site_name(SITE)
+ endif()
+ set(_dashboardscript_machine "${SITE}" CACHE INTERNAL "")
+ set(SITE
+ "${_user}@${_dashboardscript_machine}"
+ CACHE
+ STRING
+ "Human-readable site name"
+ FORCE)
+ endif()
+
+ set(DASHBOARDSCRIPT_BASE_DIRECTORY
+ "${CMAKE_BINARY_DIR}/Dashboards-${_dashboardscript_machine}-${_user}"
+ CACHE
+ PATH
+ "Directory to use as the root of all dashboard work")
+ mark_as_advanced(DASHBOARDSCRIPT_BASE_DIRECTORY)
+
+ set(DASHBOARDSCRIPT_SOURCE_DIRECTORY "${CMAKE_SOURCE_DIR}")
+
+ set(BUILDNAME
+ "${CMAKE_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}-${_COMPILERID}"
+ CACHE
+ STRING
+ "Human-readable build ID info")
+
+ set(DASHBOARDSCRIPT_CMAKE_COMMAND
+ "${CMAKE_COMMAND}"
+ CACHE
+ FILEPATH
+ "The cmake binary to use when configuring a dashboard build")
+ mark_as_advanced(DASHBOARDSCRIPT_CMAKE_COMMAND)
+
+ # Try to find CTest, preferably right next to the chosen CMake
+ if(DASHBOARDSCRIPT_CMAKE_COMMAND)
+ get_filename_component(_cmake_dir
+ ${DASHBOARDSCRIPT_CMAKE_COMMAND}
+ PATH)
+ else()
+ get_filename_component(_cmake_dir ${CMAKE_COMMAND} PATH)
+ endif()
+ find_program(DASHBOARDSCRIPT_CTEST_EXECUTABLE
+ NAMES
+ ctest
+ HINTS
+ "${_cmake_dir}"
+ NO_DEFAULT_PATH)
+ find_program(DASHBOARDSCRIPT_CTEST_EXECUTABLE
+ NAMES
+ ctest
+ HINTS
+ "${_cmake_dir}")
+
+
+ set(DASHBOARDSCRIPT_CTEST_EXECUTABLE
+ "${DASHBOARDSCRIPT_CTEST_EXECUTABLE}"
+ CACHE
+ FILEPATH
+ "Path to the CTest executable to use for dashboard builds.")
+ mark_as_advanced(DASHBOARDSCRIPT_CTEST_EXECUTABLE)
+
+
+ # Optionals
+
+ if(NOT "1.${CMAKE_VERSION}" VERSION_LESS "1.2.8.0")
+ if(IS_DIRECTORY "${CMAKE_SOURCE_DIRECTORY}/.git")
+ find_program(DASHBOARDSCRIPT_GIT_EXECUTABLE
+ NAMES git)
+ if(DASHBOARDSCRIPT_GIT_EXECUTABLE)
+
+ set(UPDATE_TYPE "git")
+ set(UPDATE_COMMAND "${DASHBOARDSCRIPT_GIT_EXECUTABLE}")
+ set(UPDATE_OPTIONS "")
+ mark_as_advanced(DASHBOARDSCRIPT_GIT_EXECUTABLE)
+ endif()
+ endif()
+ endif()
+
+else()
+ # IN_DASHBOARD_SCRIPT is YES
+ message(STATUS
+ "CreateDashboardScripts detected that we're in a dashboard script already.")
+endif()
+
+function(create_dashboard_scripts)
+ # Only create the script if we have all the required variables
+ # and are not already in it, and are at least 2.8.0.
+ if(DASHBOARDSCRIPT_BASE_DIRECTORY AND
+ DASHBOARDSCRIPT_SOURCE_DIRECTORY AND
+ DASHBOARDSCRIPT_BASE_DIRECTORY AND
+ BUILDNAME AND
+ DASHBOARDSCRIPT_CMAKE_COMMAND AND
+ DASHBOARDSCRIPT_CTEST_EXECUTABLE AND
+ NOT IN_DASHBOARD_SCRIPT AND
+ NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.0")
+
+ set(_Continuous_cron "15 * * * * ")
+ set(_Nightly_cron "15 0 * * * ")
+ set(_Experimental_cron
+ "\nor run this command for an one-off experimental test build:\n")
+ set(_Experimental_flags "-VV")
+
+ message(STATUS
+ "\nDashboard scripts have been generated for automatic nightly and continuous builds.")
+ if(WIN32)
+ set(_Continuous_cron)
+ set(_Nightly_cron)
+ message(STATUS
+ "You can set up scheduled tasks to run these command lines:")
+ else()
+ message(STATUS "You can add these sample lines to your crontab:")
+ endif()
+
+ foreach(DASHBOARDSCRIPT_DASH_TYPE Nightly Continuous Experimental)
+ # If given a cache template, configure it
+ if(ARGN)
+ configure_file(${ARGN}
+ "${DASHBOARDSCRIPT_BASE_DIRECTORY}/GeneratedInitialCache.run${DASHBOARDSCRIPT_DASH_TYPE}.cmake"
+ @ONLY)
+ endif()
+
+ # Actually create the script file
+ configure_file(${_dashboardmoddir}/DashboardScript.cmake.in
+ "${DASHBOARDSCRIPT_BASE_DIRECTORY}/run${DASHBOARDSCRIPT_DASH_TYPE}.cmake"
+ @ONLY)
+
+ message(STATUS
+ "${_${DASHBOARDSCRIPT_DASH_TYPE}_cron} \"${DASHBOARDSCRIPT_CTEST_EXECUTABLE}\" -S \"${DASHBOARDSCRIPT_BASE_DIRECTORY}/run${DASHBOARDSCRIPT_DASH_TYPE}.cmake\" ${_${DASHBOARDSCRIPT_DASH_TYPE}_flags}")
+
+ endforeach()
+ message(STATUS "")
+
+ endif()
+endfunction()
View
59 CreateImportedTarget.cmake
@@ -0,0 +1,59 @@
+# - A smarter replacement for list(REMOVE_DUPLICATES) for library lists
+#
+# create_imported_target(<libname> [SHARED|STATIC|MODULE] [<library dependency>...]) - where
+# ${libname}_LIBRARIES is set to this library's paths.
+#
+# Removes duplicates from the list then sorts while preserving "optimized",
+# "debug", and "general" labeling
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__create_imported_target)
+ return()
+endif()
+set(__create_imported_target YES)
+
+function(create_imported_target _libname)
+ if(ARGN)
+ list(FIND ARGN SHARED _target_shared)
+ list(FIND ARGN STATIC _target_static)
+ list(FIND ARGN MODULE _target_module)
+
+ if(${_target_shared} GREATER -1)
+ set(_target_type SHARED)
+ elseif(${_target_static} GREATER -1)
+ set(_target_type STATIC)
+ elseif(${_target_module} GREATER -1)
+ set(_target_type MODULE)
+ else()
+ set(_target_type UNKNOWN)
+ endif()
+
+ set(_deps ${ARGN})
+ list(REMOVE_ITEM _deps SHARED STATIC MODULE UNKNOWN)
+ else()
+ set(_target_type UNKNOWN)
+ set(_deps)
+ endif()
+
+ if(${_libname}_LIBRARIES AND NOT TARGET ${_libname}_imported)
+ add_library(${_libname}_imported ${_target_type} IMPORTED)
+ #message(STATUS "Library ${_libname}: lib ${${_libname}_LIBRARIES}")
+ #message(STATUS "Deps: ${_deps}")
+ set_target_properties(${_libname}_imported
+ PROPERTIES
+ IMPORTED_LOCATION
+ "${${_libname}_LIBRARIES}"
+ IMPORTED_LINK_INTERFACE_LIBRARIES
+ "${_deps}")
+ endif()
+
+ if(TARGET ${_libname}_imported)
+ set(${_libname}_LIBRARIES ${_libname}_imported PARENT_SCOPE)
+ endif()
+endfunction()
View
170 CreateMSVCUserFiles.cmake
@@ -0,0 +1,170 @@
+# - Create a .vcproj.*.user file to set working directory, env. vars, etc.
+#
+# include(CreateMSVCUserFiles) - to make these available
+# guess_dll_dirs(<outputvarname> [<extralibrary> ...])
+# create_msvc_user_files(<targetpath> <targetname> <cmdargsvarname> <dlldirsvarname>)
+#
+# Requires these CMake modules:
+# ListFilter
+# ProgramFilesGlob
+# CleanDirectoryList
+#
+# Requires CMake 2.6 or newer (uses the 'function' command)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+if(__create_msvc_user_files)
+ return()
+endif()
+set(__create_msvc_user_files YES)
+
+include(CleanDirectoryList)
+
+# We must run the following at "include" time, not at function call time,
+# to find the path to this module rather than the path to a calling list file
+get_filename_component(_msvcuserfilemoddir
+ ${CMAKE_CURRENT_LIST_FILE}
+ PATH)
+
+function(create_msvc_user_files
+ _targetpath
+ _targetname
+ _vcmdargs
+ _vdlldirs)
+ file(TO_NATIVE_PATH "${CMAKE_SOURCE_DIR}" _srcroot)
+
+ if(WIN32)
+ # Find user and system name
+ set(SYSTEM_NAME $ENV{USERDOMAIN})
+ set(USER_NAME $ENV{USERNAME})
+
+ if(MSVC100)
+ set(USERFILE_VC_VERSION 10.00)
+ elseif(MSVC90)
+ set(USERFILE_VC_VERSION 9.00)
+ elseif(MSVC80)
+ set(USERFILE_VC_VERSION 8.00)
+ elseif(MSVC71)
+ set(USERFILE_VC_VERSION 7.10)
+ endif()
+
+ set(USERFILE_PLATFORM Win${BITS})
+ set(_pathdelim ";")
+ else()
+ set(_pathdelim ":")
+ set(USERFILE_PLATFORM ${CMAKE_SYSTEM_NAME}${BITS})
+ endif()
+
+ # Turn into a list of native paths
+ set(USERFILE_PATHS)
+ set(USERFILE_BARE_PATHS)
+ foreach(_dlldir ${${_vdlldirs}})
+ file(TO_NATIVE_PATH "${_dlldir}" _path)
+ set(USERFILE_PATHS "${USERFILE_PATHS}${_path}${_pathdelim}")
+ set(USERFILE_BARE_PATHS "${USERFILE_BARE_PATHS}${_path}${_pathdelim}")
+ endforeach()
+
+ set(USERFILE_WORKING_DIRECTORY "${_srcroot}")
+ set(USERFILE_COMMAND_ARGUMENTS "${${_vcmdargs}}")
+
+ site_name(USERFILE_REMOTE_MACHINE)
+ mark_as_advanced(USERFILE_REMOTE_MACHINE)
+ set(USERFILE_ENVIRONMENT "PATH=${USERFILE_PATHS}")
+ if(WIN32)
+ file(READ
+ "${_msvcuserfilemoddir}/CreateMSVCUserFiles.env.cmd.in"
+ _cmdenv)
+ else()
+ file(READ
+ "${_msvcuserfilemoddir}/CreateMSVCUserFiles.env.sh.in"
+ _cmdenv)
+ endif()
+
+ set(USERFILE_ENV_COMMANDS)
+ foreach(_arg ${ARGN})
+ string(CONFIGURE
+ "@USERFILE_ENVIRONMENT@&#x0A;@_arg@"
+ USERFILE_ENVIRONMENT
+ @ONLY)
+ string(CONFIGURE
+ "@USERFILE_ENV_COMMANDS@${_cmdenv}"
+ USERFILE_ENV_COMMANDS
+ @ONLY)
+ endforeach()
+
+ if(MSVC)
+ file(READ
+ "${_msvcuserfilemoddir}/CreateMSVCUserFiles.perconfig.vcproj.user.in"
+ _perconfig)
+ set(USERFILE_CONFIGSECTIONS)
+ foreach(USERFILE_CONFIGNAME ${CMAKE_CONFIGURATION_TYPES})
+ get_target_property(USERFILE_${USERFILE_CONFIGNAME}_COMMAND
+ ${_targetname}
+ LOCATION_${USERFILE_CONFIGNAME})
+ file(TO_NATIVE_PATH
+ "${USERFILE_${USERFILE_CONFIGNAME}_COMMAND}"
+ USERFILE_${USERFILE_CONFIGNAME}_COMMAND)
+ string(CONFIGURE "${_perconfig}" _temp @ONLY ESCAPE_QUOTES)
+ string(CONFIGURE
+ "${USERFILE_CONFIGSECTIONS}${_temp}"
+ USERFILE_CONFIGSECTIONS
+ ESCAPE_QUOTES)
+ endforeach()
+
+
+ configure_file("${_msvcuserfilemoddir}/CreateMSVCUserFiles.vcproj.user.in"
+ ${CMAKE_BINARY_DIR}/ALL_BUILD.vcproj.${SYSTEM_NAME}.${USER_NAME}.user
+ @ONLY)
+ endif()
+
+ if(WIN32)
+ foreach(_config ${CMAKE_CONFIGURATION_TYPES})
+ set(USERFILE_COMMAND "${USERFILE_${_config}_COMMAND}")
+ configure_file("${_msvcuserfilemoddir}/CreateMSVCUserFiles.cmd.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/launch-${_targetname}-${_config}.cmd"
+ @ONLY)
+ endforeach()
+ elseif("${CMAKE_GENERATOR}" MATCHES "Makefiles")
+ get_target_property(USERFILE_COMMAND
+ ${_targetname}
+ LOCATION)
+ file(TO_NATIVE_PATH
+ "${USERFILE_COMMAND}"
+ USERFILE_COMMAND)
+ configure_file("${_msvcuserfilemoddir}/CreateMSVCUserFiles.sh.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/launch-${_targetname}.sh"
+ @ONLY)
+ endif()
+
+endfunction()
+
+function(guess_dll_dirs _var)
+ # Start off with the link directories of the calling listfile's directory
+ get_directory_property(_libdirs LINK_DIRECTORIES)
+
+ # Add additional libraries passed to the function
+ foreach(_lib ${ARGN})
+ get_filename_component(_libdir "${_lib}" PATH)
+ list(APPEND _libdirs "${_libdir}")
+ endforeach()
+
+ # Now, build a list of potential dll directories
+ set(_dlldirs)
+ foreach(_libdir ${_libdirs})
+ # Add the libdir itself
+ list(APPEND _dlldirs "${_libdir}")
+
+ # Look also in libdir/../bin since the dll might not be with the lib
+ get_filename_component(_libdir "${_libdir}/../bin" ABSOLUTE)
+ list(APPEND _dlldirs "${_libdir}")
+ endforeach()
+
+ # Only keep the valid, unique directories
+ clean_directory_list(_dlldirs)
+
+ # Return _dlldirs
+ set(${_var} "${_dlldirs}" PARENT_SCOPE)
+endfunction()
View
5 CreateMSVCUserFiles.cmd.in
@@ -0,0 +1,5 @@
+set PATH=@USERFILE_BARE_PATHS@;%PATH%
+cd @USERFILE_WORKING_DIRECTORY@
+@USERFILE_ENV_COMMANDS@
+"@USERFILE_COMMAND@" @USERFILE_COMMAND_ARGUMENTS@
+pause
View
1  CreateMSVCUserFiles.env.cmd.in
@@ -0,0 +1 @@
+set @_arg@
View
1  CreateMSVCUserFiles.env.sh.in
@@ -0,0 +1 @@
+export @_arg@
View
28 CreateMSVCUserFiles.perconfig.vcproj.user.in
@@ -0,0 +1,28 @@
+ <Configuration
+ Name="@USERFILE_CONFIGNAME@|@USERFILE_PLATFORM@"
+ >
+ <DebugSettings
+ Command="${USERFILE_@USERFILE_CONFIGNAME@_COMMAND}"
+ WorkingDirectory="@USERFILE_WORKING_DIRECTORY@"
+ CommandArguments="@USERFILE_COMMAND_ARGUMENTS@"
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="@USERFILE_REMOTE_MACHINE@"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment="@USERFILE_ENVIRONMENT@"
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
View
6 CreateMSVCUserFiles.sh.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+export PATH=@USERFILE_BARE_PATHS@:$PATH
+export LD_LIBRARY_PATH=@USERFILE_BARE_PATHS@:$LD_LIBRARY_PATH
+cd @USERFILE_WORKING_DIRECTORY@
+@USERFILE_ENV_COMMANDS@
+"@USERFILE_COMMAND@" @USERFILE_COMMAND_ARGUMENTS@
View
10 CreateMSVCUserFiles.vcproj.user.in
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="@USERFILE_VC_VERSION@"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+@USERFILE_CONFIGSECTIONS@
+ </Configurations>
+</VisualStudioUserFile>
View
4 DashboardBuildInitialCache.cmake.in
@@ -1,4 +0,0 @@
-# Root directories to search for dependencies
-set(OPENSCENEGRAPH_ROOT_DIR "@OPENSCENEGRAPH_ROOT_DIR@" CACHE PATH "")
-set(VPS_ROOT_DIR "@VPS_ROOT_DIR@" CACHE PATH "")
-set(JTTK_ROOT_DIR "@JTTK_ROOT_DIR@" CACHE PATH "")
View
117 DashboardScript.cmake.in
@@ -0,0 +1,117 @@
+# - Dashboard driver script for use with ctest.
+#
+# Generated file processed by CreateDashboardScripts.cmake
+# Run it like:
+# ctest -S nameofthisfile
+# with -V or -V -VV if you want more feedback.
+#
+# Generally you do not need to edit this file by hand!
+#
+# If this file isn't named DashboardScript.cmake.in and located
+# in the same directory as CreateDashboardScripts.cmake, it has been
+# auto-generated and will be overwritten every time CMake configures
+# itself. (This may be every build!)
+#
+# Original Author:
+# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# http://academic.cleardefinition.com
+# Iowa State University HCI Graduate Program/VRAC
+
+cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
+
+set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
+set(CTEST_PROJECT_NAME "@PROJECT_NAME@")
+
+set(CTEST_DASHBOARD_ROOT "@DASHBOARDSCRIPT_BASE_DIRECTORY@")
+set(CTEST_SOURCE_DIRECTORY "@DASHBOARDSCRIPT_SOURCE_DIRECTORY@")
+set(DASH_TYPE "@DASHBOARDSCRIPT_DASH_TYPE@")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/build-${DASH_TYPE}")
+
+set(CTEST_NOTES_FILES
+ "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}"
+ "${CTEST_DASHBOARD_ROOT}/GeneratedCombinedCache.${CTEST_SCRIPT_NAME}")
+
+set(CTEST_BUILD_NAME "@BUILDNAME@")
+set(CTEST_SITE "@SITE@")
+
+set(CTEST_USE_LAUNCHERS TRUE)
+
+set(CTEST_COMMAND "@DASHBOARDSCRIPT_CTEST_EXECUTABLE@")
+set(CTEST_CMAKE_COMMAND "@DASHBOARDSCRIPT_CMAKE_COMMAND@")
+set(CTEST_UPDATE_TYPE "@UPDATE_TYPE@")
+set(CTEST_UPDATE_COMMAND "@UPDATE_COMMAND@")
+set(CTEST_UPDATE_OPTIONS "@UPDATE_OPTIONS@")
+
+
+# Avoid non-ascii characters in tool output.
+set(ENV{LC_ALL} C)
+
+if(EXISTS "${CTEST_DASHBOARD_ROOT}/GeneratedInitialCache.${CTEST_SCRIPT_NAME}")
+ file(READ "${CTEST_DASHBOARD_ROOT}/GeneratedInitialCache.${CTEST_SCRIPT_NAME}" _initcache)
+else()
+ set(_initcache)
+endif()
+
+if(EXISTS "${CTEST_DASHBOARD_ROOT}/CustomInitialCache.cmake")
+ file(READ "${CTEST_DASHBOARD_ROOT}/CustomInitialCache.cmake" _customcache)
+ set(_initcache "${_initcache}
+${_customcache}")
+endif()
+set(_initcache "# This file is automatically regenerated every dashboard build -
+# Do not edit it directly!
+# If you want to add initial cache values, you can create/modify
+# the CustomInitialCache.cmake file in this directory.
+
+# Pretty typical settings to preseve from the generating cache
+set(BUILD_TESTING ON CACHE BOOL docstring)
+set(IN_DASHBOARD_SCRIPT ON CACHE BOOL docstring)
+set(CTEST_USE_LAUNCHERS ON CACHE BOOL docstring)
+set(CMAKE_PREFIX_PATH \"@CMAKE_PREFIX_PATH@\" CACHE STRING docstring)
+set(CMAKE_BUILD_TYPE \"@CMAKE_BUILD_TYPE@\" CACHE STRING docstring)
+set(CTEST_CONFIGURATION_TYPE \"@CMAKE_BUILD_TYPE@\" CACHE STRING docstring)
+
+# testing tool locations
+# Saved here because the tools in the path might be outdated
+set(CPPCHECK_EXECUTABLE \"@CPPCHECK_EXECUTABLE@\" CACHE FILEPATH docstring)
+set(DOXYGEN_EXECUTABLE \"@DOXYGEN_EXECUTABLE@\" CACHE FILEPATH docstring)
+
+${_initcache}")
+
+file(WRITE "${CTEST_DASHBOARD_ROOT}/GeneratedCombinedCache.${CTEST_SCRIPT_NAME}" "${_initcache}")
+
+ctest_empty_binary_directory("${CTEST_BINARY_DIRECTORY}")
+
+ctest_start(${DASH_TYPE})
+
+if(CTEST_UPDATE_COMMAND AND NOT "${DASH_TYPE}" STREQUAL "Experimental")
+ ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE res)
+endif()
+
+# Only proceed if we updated a file or if we're not a continuous build
+set(PROCEED NO)
+if(${res} GREATER 0)
+ message(STATUS "One or more files were updated, so we will proceed to "
+ "and build")
+ set(PROCEED YES)
+endif()
+
+if(NOT "${DASH_TYPE}" STREQUAL "Continuous")
+ message(STATUS "We are not a continuous dashboard, so continuing regardless "
+ "of whether any files were updated")
+ set(PROCEED YES)
+endif()
+
+if(PROCEED)
+ ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res
+ OPTIONS "-C${CTEST_DASHBOARD_ROOT}/GeneratedCombinedCache.${CTEST_SCRIPT_NAME}")
+ if(${res} EQUAL 0)
+ # Only try to build if we could configure
+ ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+
+ # Some tests, like cppcheck tests, don't depend on a successful build
+ ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+ endif()
+endif()
+
+# Always submit results
+ctest_submit(RETURN_VALUE res)
View
1,541 Doxyfile
@@ -1,1541 +0,0 @@
-# Doxyfile 1.5.8
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project
-#
-# All text after a hash (#) is considered a comment and will be ignored
-# The format is:
-# TAG = value [value, ...]
-# For lists items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (" ")
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all
-# text before the first occurrence of this tag. Doxygen uses libiconv (or the
-# iconv built into libc) for the transcoding. See
-# http://www.gnu.org/software/libiconv for the list of possible encodings.
-
-DOXYFILE_ENCODING = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
-# by quotes) that should identify the project.
-
-PROJECT_NAME = "Example Project"
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number.
-# This could be handy for archiving the generated documentation or
-# if some version control system is used.
-
-PROJECT_NUMBER = 1.0
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
-# base path where the generated documentation will be put.
-# If a relative path is entered, it will be relative to the location
-# where doxygen was started. If left blank the current directory will be used.
-
-OUTPUT_DIRECTORY = docs-generated/
-
-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
-# 4096 sub-directories (in 2 levels) under the output directory of each output
-# format and will distribute the generated files over these directories.
-# Enabling this option can be useful when feeding doxygen a huge amount of
-# source files, where putting all generated files in the same directory would
-# otherwise cause performance problems for the file system.
-
-CREATE_SUBDIRS = YES
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# The default language is English, other supported languages are:
-# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
-# Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek,
-# Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages),
-# Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish,
-# Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, Slovene,
-# Spanish, Swedish, and Ukrainian.
-
-OUTPUT_LANGUAGE = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
-# include brief member descriptions after the members that are listed in
-# the file and class documentation (similar to JavaDoc).
-# Set to NO to disable this.
-
-BRIEF_MEMBER_DESC = YES
-
-# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
-# the brief description of a member or function before the detailed description.
-# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-
-REPEAT_BRIEF = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator
-# that is used to form the text in various listings. Each string
-# in this list, if found as the leading text of the brief description, will be
-# stripped from the text and the result after processing the whole list, is
-# used as the annotated text. Otherwise, the brief description is used as-is.
-# If left blank, the following values are used ("$name" is automatically
-# replaced with the name of the entity): "The $name class" "The $name widget"
-# "The $name file" "is" "provides" "specifies" "contains"
-# "represents" "a" "an" "the"
-
-ABBREVIATE_BRIEF = "The $name class" \
- "The $name widget" \
- "The $name file" \
- is \
- provides \
- specifies \
- contains \
- represents \
- a \
- an \
- the
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# Doxygen will generate a detailed section even if there is only a brief
-# description.
-
-ALWAYS_DETAILED_SEC = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-
-INLINE_INHERITED_MEMB = NO
-
-# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
-# path before files name in the file list and in the header files. If set
-# to NO the shortest path that makes the file name unique will be used.
-
-FULL_PATH_NAMES = NO
-
-# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
-# can be used to strip a user-defined part of the path. Stripping is
-# only done if one of the specified strings matches the left-hand part of
-# the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the
-# path to strip.
-
-STRIP_FROM_PATH =
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
-# the path mentioned in the documentation of a class, which tells
-# the reader which header file to include in order to use a class.
-# If left blank only the name of the header file containing the class
-# definition is used. Otherwise one should specify the include paths that
-# are normally passed to the compiler using the -I flag.
-
-STRIP_FROM_INC_PATH =
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
-# (but less readable) file names. This can be useful is your file systems
-# doesn't support long names like on DOS, Mac, or CD-ROM.
-
-SHORT_NAMES = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
-# will interpret the first line (until the first dot) of a JavaDoc-style
-# comment as the brief description. If set to NO, the JavaDoc
-# comments will behave just like regular Qt-style comments
-# (thus requiring an explicit @brief command for a brief description.)
-
-JAVADOC_AUTOBRIEF = NO
-
-# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
-# interpret the first line (until the first dot) of a Qt-style
-# comment as the brief description. If set to NO, the comments
-# will behave just like regular Qt-style comments (thus requiring
-# an explicit \brief command for a brief description.)
-
-QT_AUTOBRIEF = NO
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
-# treat a multi-line C++ special comment block (i.e. a block of //! or ///
-# comments) as a brief description. This used to be the default behaviour.
-# The new default is to treat a multi-line C++ comment block as a detailed
-# description. Set this tag to YES if you prefer the old behaviour instead.
-
-MULTILINE_CPP_IS_BRIEF = NO
-
-# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
-# member inherits the documentation from any documented member that it
-# re-implements.
-
-INHERIT_DOCS = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
-# a new page for each member. If set to NO, the documentation of a member will
-# be part of the file/class/namespace that contains it.
-
-SEPARATE_MEMBER_PAGES = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab.
-# Doxygen uses this value to replace tabs by spaces in code fragments.
-
-TAB_SIZE = 4
-
-# This tag can be used to specify a number of aliases that acts
-# as commands in the documentation. An alias has the form "name=value".
-# For example adding "sideeffect=\par Side Effects:\n" will allow you to
-# put the command \sideeffect (or @sideeffect) in the documentation, which
-# will result in a user-defined paragraph with heading "Side Effects:".
-# You can put \n's in the value part of an alias to insert newlines.
-
-ALIASES =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
-# sources only. Doxygen will then generate output that is more tailored for C.
-# For instance, some of the names that are used will be different. The list
-# of all members will be omitted, etc.
-
-OPTIMIZE_OUTPUT_FOR_C = NO
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
-# sources only. Doxygen will then generate output that is more tailored for
-# Java. For instance, namespaces will be presented as packages, qualified
-# scopes will look different, etc.
-
-OPTIMIZE_OUTPUT_JAVA = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources only. Doxygen will then generate output that is more tailored for
-# Fortran.
-
-OPTIMIZE_FOR_FORTRAN = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-# sources. Doxygen will then generate output that is tailored for
-# VHDL.
-
-OPTIMIZE_OUTPUT_VHDL = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it parses.
-# With this tag you can assign which parser to use for a given extension.
-# Doxygen has a built-in mapping, but you can override or extend it using this tag.
-# The format is ext=language, where ext is a file extension, and language is one of
-# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
-# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
-# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
-# use: inc=Fortran f=C
-
-EXTENSION_MAPPING =
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-# to include (a tag file for) the STL sources as input, then you should
-# set this tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
-# func(std::string) {}). This also make the inheritance and collaboration
-# diagrams that involve STL classes more complete and accurate.
-
-BUILTIN_STL_SUPPORT = YES
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to
-# enable parsing support.
-
-CPP_CLI_SUPPORT = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
-# Doxygen will parse them like normal C++ but will assume all classes use public
-# instead of private inheritance when no explicit protection keyword is present.
-
-SIP_SUPPORT = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate getter
-# and setter methods for a property. Setting this option to YES (the default)
-# will make doxygen to replace the get and set methods by a property in the
-# documentation. This will only work if the methods are indeed getting or
-# setting a simple type. If this is not the case, or you want to show the
-# methods anyway, you should set this option to NO.
-
-IDL_PROPERTY_SUPPORT = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-# tag is set to YES, then doxygen will reuse the documentation of the first
-# member in the group (if any) for the other members of the group. By default
-# all members of a group must be documented explicitly.
-
-DISTRIBUTE_GROUP_DOC = NO
-
-# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
-# the same type (for instance a group of public functions) to be put as a
-# subgroup of that type (e.g. under the Public Functions section). Set it to
-# NO to prevent subgrouping. Alternatively, this can be done per class using
-# the \nosubgrouping command.
-
-SUBGROUPING = YES
-
-# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
-# is documented as struct, union, or enum with the name of the typedef. So
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-# with name TypeT. When disabled the typedef will appear as a member of a file,
-# namespace, or class. And the struct will be named TypeS. This can typically
-# be useful for C code in case the coding convention dictates that all compound
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-
-TYPEDEF_HIDES_STRUCT = YES
-
-# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
-# determine which symbols to keep in memory and which to flush to disk.
-# When the cache is full, less often used symbols will be written to disk.
-# For small to medium size projects (<1000 input files) the default value is
-# probably good enough. For larger projects a too small cache size can cause
-# doxygen to be busy swapping symbols to and from disk most of the time
-# causing a significant performance penality.
-# If the system has enough physical memory increasing the cache will improve the
-# performance by keeping more symbols in memory. Note that the value works on
-# a logarithmic scale so increasing the size by one will rougly double the
-# memory usage. The cache size is given by this formula:
-# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
-# corresponding to a cache size of 2^16 = 65536 symbols
-
-SYMBOL_CACHE_SIZE = 0
-
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
-# documentation are documented, even if no documentation was available.
-# Private class members and static file members will be hidden unless
-# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
-
-EXTRACT_ALL = YES
-
-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
-# will be included in the documentation.
-
-EXTRACT_PRIVATE = YES
-
-# If the EXTRACT_STATIC tag is set to YES all static members of a file
-# will be included in the documentation.
-
-EXTRACT_STATIC = YES
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
-# defined locally in source files will be included in the documentation.
-# If set to NO only classes defined in header files are included.
-
-EXTRACT_LOCAL_CLASSES = YES
-
-# This flag is only useful for Objective-C code. When set to YES local
-# methods, which are defined in the implementation section but not in
-# the interface are included in the documentation.
-# If set to NO (the default) only methods in the interface are included.
-
-EXTRACT_LOCAL_METHODS = NO
-
-# If this flag is set to YES, the members of anonymous namespaces will be
-# extracted and appear in the documentation as a namespace called
-# 'anonymous_namespace{file}', where file will be replaced with the base
-# name of the file that contains the anonymous namespace. By default
-# anonymous namespace are hidden.
-
-EXTRACT_ANON_NSPACES = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
-# undocumented members of documented classes, files or namespaces.
-# If set to NO (the default) these members will be included in the
-# various overviews, but no documentation section is generated.
-# This option has no effect if EXTRACT_ALL is enabled.
-
-HIDE_UNDOC_MEMBERS = NO
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
-# undocumented classes that are normally visible in the class hierarchy.
-# If set to NO (the default) these classes will be included in the various
-# overviews. This option has no effect if EXTRACT_ALL is enabled.
-
-HIDE_UNDOC_CLASSES = NO
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
-# friend (class|struct|union) declarations.
-# If set to NO (the default) these declarations will be included in the
-# documentation.
-
-HIDE_FRIEND_COMPOUNDS = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
-# documentation blocks found inside the body of a function.
-# If set to NO (the default) these blocks will be appended to the
-# function's detailed documentation block.
-
-HIDE_IN_BODY_DOCS = NO
-
-# The INTERNAL_DOCS tag determines if documentation
-# that is typed after a \internal command is included. If the tag is set
-# to NO (the default) then the documentation will be excluded.
-# Set it to YES to include the internal documentation.
-
-INTERNAL_DOCS = YES
-
-# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
-# file names in lower-case letters. If set to YES upper-case letters are also
-# allowed. This is useful if you have classes or files whose names only differ
-# in case and if your file system supports case sensitive file names. Windows
-# and Mac users are advised to set this option to NO.
-
-CASE_SENSE_NAMES = NO
-
-# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
-# will show members with their full class and namespace scopes in the
-# documentation. If set to YES the scope will be hidden.
-
-HIDE_SCOPE_NAMES = NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
-# will put a list of the files that are included by a file in the documentation
-# of that file.
-
-SHOW_INCLUDE_FILES = YES
-
-# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
-# is inserted in the documentation for inline members.
-
-INLINE_INFO = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
-# will sort the (detailed) documentation of file and class members
-# alphabetically by member name. If set to NO the members will appear in
-# declaration order.
-
-SORT_MEMBER_DOCS = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
-# brief documentation of file, namespace and class members alphabetically
-# by member name. If set to NO (the default) the members will appear in
-# declaration order.
-
-SORT_BRIEF_DOCS = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
-# hierarchy of group names into alphabetical order. If set to NO (the default)
-# the group names will appear in their defined order.
-
-SORT_GROUP_NAMES = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
-# sorted by fully-qualified names, including namespaces. If set to
-# NO (the default), the class list will be sorted only by class name,
-# not including the namespace part.
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-# Note: This option applies only to the class list, not to the
-# alphabetical list.
-
-SORT_BY_SCOPE_NAME = NO
-
-# The GENERATE_TODOLIST tag can be used to enable (YES) or
-# disable (NO) the todo list. This list is created by putting \todo
-# commands in the documentation.
-
-GENERATE_TODOLIST = YES
-
-# The GENERATE_TESTLIST tag can be used to enable (YES) or
-# disable (NO) the test list. This list is created by putting \test
-# commands in the documentation.
-
-GENERATE_TESTLIST = YES
-
-# The GENERATE_BUGLIST tag can be used to enable (YES) or
-# disable (NO) the bug list. This list is created by putting \bug
-# commands in the documentation.
-
-GENERATE_BUGLIST = YES
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
-# disable (NO) the deprecated list. This list is created by putting
-# \deprecated commands in the documentation.
-
-GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional
-# documentation sections, marked by \if sectionname ... \endif.
-
-ENABLED_SECTIONS =
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
-# the initial value of a variable or define consists of for it to appear in
-# the documentation. If the initializer consists of more lines than specified
-# here it will be hidden. Use a value of 0 to hide initializers completely.
-# The appearance of the initializer of individual variables and defines in the
-# documentation can be controlled using \showinitializer or \hideinitializer
-# command in the documentation regardless of this setting.
-
-MAX_INITIALIZER_LINES = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
-# at the bottom of the documentation of classes and structs. If set to YES the
-# list will mention the files that were used to generate the documentation.
-
-SHOW_USED_FILES = YES
-
-# If the sources in your project are distributed over multiple directories
-# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
-# in the documentation. The default is NO.
-
-SHOW_DIRECTORIES = YES
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
-# This will remove the Files entry from the Quick Index and from the
-# Folder Tree View (if specified). The default is YES.
-
-SHOW_FILES = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
-# Namespaces page. This will remove the Namespaces entry from the Quick Index
-# and from the Folder Tree View (if specified). The default is YES.
-
-SHOW_NAMESPACES = YES
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-# doxygen should invoke to get the current version for each file (typically from
-# the version control system). Doxygen will invoke the program by executing (via
-# popen()) the command <command> <input-file>, where <command> is the value of
-# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
-# provided by doxygen. Whatever the program writes to standard output
-# is used as the file version. See the manual for examples.
-
-FILE_VERSION_FILTER =
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
-# doxygen. The layout file controls the global structure of the generated output files
-# in an output format independent way. The create the layout file that represents
-# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
-# file name after the option, if omitted DoxygenLayout.xml will be used as the name
-# of the layout file.
-
-LAYOUT_FILE =
-
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated
-# by doxygen. Possible values are YES and NO. If left blank NO is used.
-
-QUIET = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are
-# generated by doxygen. Possible values are YES and NO. If left blank
-# NO is used.
-
-WARNINGS = YES
-
-# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
-# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
-# automatically be disabled.
-
-WARN_IF_UNDOCUMENTED = YES
-
-# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
-# potential errors in the documentation, such as not documenting some
-# parameters in a documented function, or documenting parameters that
-# don't exist or using markup commands wrongly.
-
-WARN_IF_DOC_ERROR = YES
-
-# This WARN_NO_PARAMDOC option can be abled to get warnings for
-# functions that are documented, but have no documentation for their parameters
-# or return value. If set to NO (the default) doxygen will only warn about
-# wrong or incomplete parameter documentation, but not about the absence of
-# documentation.
-
-WARN_NO_PARAMDOC = NO
-
-# The WARN_FORMAT tag determines the format of the warning messages that
-# doxygen can produce. The string should contain the $file, $line, and $text
-# tags, which will be replaced by the file and line number from which the
-# warning originated and the warning text. Optionally the format may contain
-# $version, which will be replaced by the version of the file (if it could
-# be obtained via FILE_VERSION_FILTER)
-
-WARN_FORMAT = "$file:$line: $text"
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning
-# and error messages should be written. If left blank the output is written
-# to stderr.
-
-WARN_LOGFILE =
-
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-
-# The INPUT tag can be used to specify the files and/or directories that contain
-# documented source files. You may enter file names like "myfile.cpp" or
-# directories like "/usr/src/myproject". Separate the files or directories
-# with spaces.
-
-INPUT = src
-
-# This tag can be used to specify the character encoding of the source files
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
-# also the default input encoding. Doxygen uses libiconv (or the iconv built
-# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
-# the list of possible encodings.
-
-INPUT_ENCODING = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the
-# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
-# and *.h) to filter out the source-files in the directories. If left
-# blank the following patterns are tested:
-# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
-# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
-
-FILE_PATTERNS = *.c \
- *.cc \
- *.cxx \
- *.cpp \
- *.c++ \
- *.d \
- *.java \
- *.ii \
- *.ixx \
- *.ipp \
- *.i++ \
- *.inl \
- *.h \
- *.hh \
- *.hxx \
- *.hpp \
- *.h++ \
- *.idl \
- *.odl \
- *.cs \
- *.php \
- *.php3 \
- *.inc \
- *.m \
- *.mm \
- *.dox \
- *.py \
- *.f90 \
- *.f \
- *.vhd \
- *.vhdl
-
-# The RECURSIVE tag can be used to turn specify whether or not subdirectories
-# should be searched for input files as well. Possible values are YES and NO.
-# If left blank NO is used.
-
-RECURSIVE = YES
-
-# The EXCLUDE tag can be used to specify files and/or directories that should
-# excluded from the INPUT source files. This way you can easily exclude a
-# subdirectory from a directory tree whose root is specified with the INPUT tag.
-
-EXCLUDE =
-
-# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
-# directories that are symbolic links (a Unix filesystem feature) are excluded
-# from the input.
-
-EXCLUDE_SYMLINKS = NO
-
-# If the value of the INPUT tag contains directories, you can use the
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-# certain files from those directories. Note that the wildcards are matched
-# against the file with absolute path, so to exclude all test directories
-# for example use the pattern */test/*
-
-EXCLUDE_PATTERNS =
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-# (namespaces, classes, functions, etc.) that should be excluded from the
-# output. The symbol name can be a fully qualified name, a word, or if the