Permalink
Browse files

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

  • Loading branch information...
rpavlik committed Jun 10, 2010
1 parent cc1b4c4 commit bc08abb0c1ed988957cc30cd497ce574e31011d3
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
@@ -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()
@@ -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>
+
@@ -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
@@ -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
@@ -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
@@ -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()
Oops, something went wrong.

0 comments on commit bc08abb

Please sign in to comment.