-
-function(add_vrjuggler_bundle_sources _target_sources)
- if(APPLE)
- if(NOT MACOSX_PACKAGE_DIR)
- set(MACOSX_PACKAGE_DIR ${CMAKE_SOURCE_DIR}/cmake/package/macosx)
- endif()
-
- set(_vj_base_dir .)
- set(_vj_data_dir ${vj_base_dir}/share/vrjuggler-3.0)
-
- # Append Mac-specific sources to source list
- set(_vj_bundle_src
- ${MACOSX_PACKAGE_DIR}/Resources/vrjuggler.icns
- ${MACOSX_PACKAGE_DIR}/Resources/vrjuggler.plist
- ${MACOSX_PACKAGE_DIR}/Resources/en.lproj/MainMenu.nib/classes.nib
- ${MACOSX_PACKAGE_DIR}/Resources/en.lproj/MainMenu.nib/info.nib
- ${MACOSX_PACKAGE_DIR}/Resources/en.lproj/MainMenu.nib/keyedobjects.nib)
-
- # Add and set destination of VR Juggler required files
-
- # configFiles *.jconf
- file(GLOB
- _vj_config_files
- ${VRJ30_LIBRARY_DIR}/../share/vrjuggler-3.0/data/configFiles/*.jconf)
- list(APPEND _vj_bundle_src ${_vj_config_files})
-
- # definitions *.jdef
- file(GLOB
- _vj_defs_files
- ${VRJ30_LIBRARY_DIR}/../share/vrjuggler-3.0/data/definitions/*.jdef)
- list(APPEND _vj_bundle_src ${_vj_defs_files})
-
- # models *.flt
- file(GLOB
- _vj_model_files
- ${VRJ30_LIBRARY_DIR}/../share/vrjuggler-3.0/data/models/*.flt)
- list(APPEND _vj_bundle_src ${_vj_model_files})
-
- # sounds *.wav
- file(GLOB
- _vj_sound_files
- ${VRJ30_LIBRARY_DIR}/../share/vrjuggler-3.0/data/sounds/*.wav)
- list(APPEND _vj_bundle_src ${_vj_sound_files})
-
- # calibration.table - needed?
- list(APPEND
- _vj_bundle_src
- ${VRJ30_LIBRARY_DIR}/../share/vrjuggler-3.0/data/calibration.table)
-
- message(STATUS "vjbundlesrc: ${_vj_bundle_src}")
- set(${_target_sources}
- ${${_target_sources}}
- ${_vj_bundle_src}
- PARENT_SCOPE)
-
- # Set destination of nib files
- set_source_files_properties(${MACOSX_PACKAGE_DIR}/Resources/en.lproj/MainMenu.nib/classes.nib
- ${MACOSX_PACKAGE_DIR}/Resources/en.lproj/MainMenu.nib/info.nib
- ${MACOSX_PACKAGE_DIR}/Resources/en.lproj/MainMenu.nib/keyedobjects.nib
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- Resources/en.lproj/MainMenu.nib/)
-
- # Set destination of Resources
- set_source_files_properties(${MACOSX_PACKAGE_DIR}/Resources/vrjuggler.icns
- ${MACOSX_PACKAGE_DIR}/Resources/vrjuggler.plist
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- Resources/)
-
- set_source_files_properties(${_vj_config_files}
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- ${_vj_data_dir}/data/configFiles/)
- set_source_files_properties(${_vj_defs_files}
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- ${_vj_data_dir}/data/definitions/)
- set_source_files_properties(${_vj_model_files}
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- ${_vj_data_dir}/data/models/)
- set_source_files_properties(${_vj_sound_files}
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- ${_vj_data_dir}/data/sounds/)
- set_source_files_properties(${VRJ30_LIBRARY_DIR}/../share/vrjuggler-3.0/data/calibration.table
- PROPERTIES
- MACOSX_PACKAGE_LOCATION
- ${_vj_data_dir}/data/)
-
- endif()
-endfunction()
-
-function(finish_vrjuggler_bundle _target _libdirs)
- if(APPLE)
- if(NOT MACOSX_PACKAGE_DIR)
- set(MACOSX_PACKAGE_DIR ${CMAKE_SOURCE_DIR}/cmake/package/macosx)
- endif()
- set_target_properties(${_target}
- PROPERTIES
- MACOSX_BUNDLE
- true
- MACOSX_BUNDLE_INFO_PLIST
- ${MACOSX_PACKAGE_DIR}/VRJuggler30BundleInfo.plist.in
- MACOSX_BUNDLE_ICON_FILE
- vrjuggler.icns
- MACOSX_BUNDLE_INFO_STRING
- "${PROJECT_NAME} (VR Juggler Application) version ${CPACK_PACKAGE_VERSION}, created by ${CPACK_PACKAGE_VENDOR}"
- MACOSX_BUNDLE_GUI_IDENTIFIER
- org.vrjuggler.${PROJECT_NAME}
- MACOSX_BUNDLE_SHORT_VERSION_STRING
- ${CPACK_PACKAGE_VERSION}
- MACOSX_BUNDLE_BUNDLE_VERSION
- ${CPACK_PACKAGE_VERSION})
-
- set(BUNDLE_LIBS
- libboost_filesystem-mt.dylib
- libboost_signals-mt.dylib)
- set(BUNDLE_LIB_DIRS ${_libdirs})
-
- configure_file(${MACOSX_PACKAGE_DIR}/fixupbundle.cmake.in
- ${CMAKE_CURRENT_BINARY_DIR}/${_target}-fixupbundle.cmake
- @ONLY)
- add_custom_command(TARGET
- ${_target}
- POST_BUILD
- COMMAND
- ${CMAKE_COMMAND}
- -P
- ${CMAKE_CURRENT_BINARY_DIR}/${_target}-fixupbundle.cmake
- VERBATIM)
-
- endif()
-endfunction()
diff --git a/cmake-2.9.0-modules/from-ITK-3.18.0/FindFFTW.cmake b/cmake-2.9.0-modules/from-ITK-3.18.0/FindFFTW.cmake
new file mode 100644
index 0000000..906906e
--- /dev/null
+++ b/cmake-2.9.0-modules/from-ITK-3.18.0/FindFFTW.cmake
@@ -0,0 +1,68 @@
+## FFTW can be compiled and subsequently linked against
+## various data types.
+## There is a single set of include files, and then muttiple libraries,
+## One for each type. I.e. libfftw.a-->double, libfftwf.a-->float
+
+## The following logic belongs in the individual package
+## MARK_AS_ADVANCED(USE_FFTWD)
+## OPTION(USE_FFTWD "Use double precision FFTW if found" ON)
+## MARK_AS_ADVANCED(USE_FFTWF)
+## OPTION(USE_FFTWF "Use single precision FFTW if found" ON)
+
+IF(USE_FFTWD OR USE_FFTWF)
+
+ SET(FFTW_INC_SEARCHPATH
+ /sw/include
+ /usr/include
+ /usr/local/include
+ /usr/include/fftw
+ /usr/local/include/fftw
+ )
+
+ FIND_PATH(FFTW_INCLUDE_PATH fftw3.h ${FFTW_INC_SEARCHPATH})
+
+ IF(FFTW_INCLUDE_PATH)
+ SET(FFTW_INCLUDE ${FFTW_INCLUDE_PATH})
+ ENDIF (FFTW_INCLUDE_PATH)
+
+ IF(FFTW_INCLUDE)
+ INCLUDE_DIRECTORIES( ${FFTW_INCLUDE})
+ ENDIF(FFTW_INCLUDE)
+
+ GET_FILENAME_COMPONENT(FFTW_INSTALL_BASE_PATH ${FFTW_INCLUDE_PATH} PATH)
+
+ SET(FFTW_LIB_SEARCHPATH
+ ${FFTW_INSTALL_BASE_PATH}/lib
+ /usr/lib/fftw
+ /usr/local/lib/fftw
+ )
+
+ IF(USE_FFTWD)
+ MARK_AS_ADVANCED(FFTWD_LIB)
+# OPTION(FFTWD_LIB "The full path to the fftw3 library (including the library)" )
+ FIND_LIBRARY(FFTWD_LIB fftw3 ${FFTW_LIB_SEARCHPATH}) #Double Precision Lib
+ FIND_LIBRARY(FFTWD_THREADS_LIB fftw3_threads ${FFTW_LIB_SEARCHPATH}) #Double Precision Lib only if compiled with threads support
+
+ IF(FFTWD_LIB)
+ SET(FFTWD_FOUND 1)
+ IF(FFTWD_THREADS_LIB)
+ SET(FFTWD_LIB ${FFTWD_LIB} ${FFTWD_THREADS_LIB} )
+ ENDIF(FFTWD_THREADS_LIB)
+ ENDIF(FFTWD_LIB)
+ ENDIF(USE_FFTWD)
+
+ IF(USE_FFTWF)
+ MARK_AS_ADVANCED(FFTWF_LIB)
+# OPTION(FFTWF_LIB "The full path to the fftw3f library (including the library)" )
+ FIND_LIBRARY(FFTWF_LIB fftw3f ${FFTW_LIB_SEARCHPATH}) #Single Precision Lib
+ FIND_LIBRARY(FFTWF_THREADS_LIB fftw3f_threads ${FFTW_LIB_SEARCHPATH}) #Single Precision Lib only if compiled with threads support
+
+ IF(FFTWF_LIB)
+ SET(FFTWF_FOUND 1)
+ IF(FFTWF_THREADS_LIB)
+ SET(FFTWF_LIB ${FFTWF_LIB} ${FFTWF_THREADS_LIB} )
+ ENDIF(FFTWF_THREADS_LIB)
+ ENDIF(FFTWF_LIB)
+ ENDIF(USE_FFTWF)
+
+ENDIF(USE_FFTWD OR USE_FFTWF)
diff --git a/launcher-templates/perconfig.vcxproj.user.in b/launcher-templates/perconfig.vcxproj.user.in
new file mode 100644
index 0000000..0155a7e
--- /dev/null
+++ b/launcher-templates/perconfig.vcxproj.user.in
@@ -0,0 +1,7 @@
+
+ @USERFILE_ENVIRONMENT@
+ WindowsLocalDebugger
+ ${USERFILE_@USERFILE_CONFIGNAME@_COMMAND}
+ @USERFILE_COMMAND_ARGUMENTS@
+ @USERFILE_WORKING_DIRECTORY@
+
diff --git a/launcher-templates/vcxproj.user.in b/launcher-templates/vcxproj.user.in
new file mode 100644
index 0000000..3629d39
--- /dev/null
+++ b/launcher-templates/vcxproj.user.in
@@ -0,0 +1,4 @@
+
+
+@USERFILE_CONFIGSECTIONS@
+
diff --git a/module-help.html b/module-help.html
index 8215db2..a71ce20 100644
--- a/module-help.html
+++ b/module-help.html
@@ -18,7 +18,7 @@
Custom CMake Modules
+ AboutTheseModules BoostTestTargets BundleOSGPlugins BundleOSGRuntime BundleVRJ22Runtime BundleVRJ30Runtime CheckMacHIDAPI CheckVersion CleanDirectoryList CleanLibraryList CopyResourcesToBuildTree CppcheckTargets CreateDashboardScripts CreateImportedTarget CreateLaunchers DoxygenTargets EnableExtraCompilerWarnings EnableProfiling FileCopyTargets FindALUT FindBluez FindCPPDOM FindDCubed FindFlagpoll FindGDB FindGHOST FindGLUI FindGLUT FindGMTL FindGPM FindGadgeteer12 FindGadgeteer20 FindGlove5DT FindHIDAPI FindJCCL12 FindJCCL14 FindJtTk FindLAPACKLibs FindLibusb1 FindLuabind FindLyX FindMacHID FindOpenCV FindOpenHaptics FindParasolid FindSonix12 FindSonix14 FindTR1 FindTooN FindTooNtag FindTweek12 FindTweek14 FindVPR20 FindVPR22 FindVPS FindVRJ22 FindVRJ30 FindVRJOGL22 FindVRJOGL30 FindVRJuggler FindVRJuggler22 FindVRJuggler30 FindVRPN FindVirtuoseAPI FindVirtuoseVPP FindWiiSCAAT FindWiiUse FindWinHID Findargp Findcppcheck Findcppunit Findcutil Finddb2pdf FindosgLua Findquatlib GetCPUDetails GetCompilerInfoString GetDirectoryList GetFileList GetForceIncludeDefinitions GetGitRevisionDescription GetSubprojectStatus Licensing ListCombinations ListFilter LuaTargets MSVCMultipleProcessCompile MSVCStaticRuntime MSVCVerboseLinking OptionRequires PrefixListGlob ProgramFilesGlob ResetConfigurations SearchProgramFilesForOpenSceneGraph SetDefaultBuildType SplitLibraryList StampSourcesWithVersion TCHARWorkaround UseBackportedModules UseTR1 WarningDev
The following modules are also available for CMake. They can be used with INCLUDE(ModuleName).
Custom CMake Modules - Additional Modules for CMake.
@@ -211,7 +211,7 @@
create_target_launcher(<targetname>
[ARGS <args...>]
[FORWARD_ARGS]
[RUNTIME_LIBRARY_DIRS <dir...>]
[WORKING_DIRECTORY <dir>]
[ENVIRONMENT <VAR=value> [<VAR=value>...]])
- create_generic_launcher(<launchername>
[RUNTIME_LIBRARY_DIRS <dir...>]
[WORKING_DIRECTORY <dir>]
[ENVIRONMENT <VAR=value> [<VAR=value>...]])
- sets GENERIC_LAUNCHER_COMMAND amd GENERIC_LAUNCHER_FAIL_REGULAR_EXPRESSION
+ create_generic_launcher(<launchername>
[RUNTIME_LIBRARY_DIRS <dir...>]
[WORKING_DIRECTORY <dir>]
[ENVIRONMENT <VAR=value> [<VAR=value>...]])
- sets GENERIC_LAUNCHER_COMMAND and GENERIC_LAUNCHER_FAIL_REGULAR_EXPRESSION
Requires these CMake modules:
ListFilter
ProgramFilesGlob
CleanDirectoryList
@@ -1065,6 +1065,22 @@
Original Author: 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> http://academic.cleardefinition.com Iowa State University HCI Graduate Program/VRAC
Copyright Iowa State University 2009-2010. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+
+ Findcppunit: try to find cppunit library
+
+Cache Variables: (probably not for direct use in your scripts)
+ CPPUNIT_INCLUDE_DIR
CPPUNIT_LIBRARY
+
+Non-cache variables you might use in your CMakeLists.txt:
+ CPPUNIT_FOUND
CPPUNIT_INCLUDE_DIRS
CPPUNIT_LIBRARIES
+
+Requires these CMake modules:
+ SelectLibraryConfigurations (included with CMake >= 2.8.0)
FindPackageHandleStandardArgs (known included with CMake >=2.6.2)
+
+Original Author: 2009-2011 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> http://academic.cleardefinition.com Iowa State University HCI Graduate Program/VRAC
+Copyright Iowa State University 2009-2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
Findcutil: find NVIDIA CUDA and source for the cutil library, building cutil if needed.
@@ -1299,23 +1315,6 @@
Original Author: 2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> http://academic.cleardefinition.com Iowa State University HCI Graduate Program/VRAC
Copyright Iowa State University 2009-2010. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-
- MakeVRJugglerAppBundle: A script to turn a VR Juggler app target into a Mac OS X bundle
-
- add_vrjuggler_bundle_sources(SOURCES_VAR_NAME) - run before add_executable
finish_vrjuggler_bundle(TARGET_NAME LIB_DIRS) - run after add_executable
-
-Original Author: 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> http://academic.cleardefinition.com Iowa State University HCI Graduate Program/VRAC
-Copyright Iowa State University 2009-2010. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-
-
- MakeVRJugglerAppBundle30: A script to turn a VR Juggler app target into a Mac OS X bundle
-
- add_vrjuggler_bundle_sources(SOURCES_VAR_NAME) - run before add_executable
finish_vrjuggler_bundle(TARGET_NAME LIB_DIRS) - run after add_executable
-
-Original Author: 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> http://academic.cleardefinition.com Iowa State University HCI Graduate Program/VRAC Updated for VR Juggler 3.0 by: Brandon Newendorp <brandon@newendorp.com>
-
OptionRequires: Add an option that depends on one or more variables being true.
diff --git a/module-help.txt b/module-help.txt
index 3d755e0..dcd7ed7 100644
--- a/module-help.txt
+++ b/module-help.txt
@@ -470,7 +470,7 @@ a few.
[RUNTIME_LIBRARY_DIRS ]
[WORKING_DIRECTORY ]
[ENVIRONMENT [...]])
- - sets GENERIC_LAUNCHER_COMMAND amd GENERIC_LAUNCHER_FAIL_REGULAR_EXPRESSION
+ - sets GENERIC_LAUNCHER_COMMAND and GENERIC_LAUNCHER_FAIL_REGULAR_EXPRESSION
@@ -2658,6 +2658,41 @@ a few.
Boost Software License, Version 1.0. (See accompanying file
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ Findcppunit
+ try to find cppunit library
+
+
+
+ Cache Variables: (probably not for direct use in your scripts)
+
+ CPPUNIT_INCLUDE_DIR
+ CPPUNIT_LIBRARY
+
+
+
+ Non-cache variables you might use in your CMakeLists.txt:
+
+ CPPUNIT_FOUND
+ CPPUNIT_INCLUDE_DIRS
+ CPPUNIT_LIBRARIES
+
+
+
+ Requires these CMake modules:
+
+ SelectLibraryConfigurations (included with CMake >= 2.8.0)
+ FindPackageHandleStandardArgs (known included with CMake >=2.6.2)
+
+
+
+ Original Author: 2009-2011 Ryan Pavlik
+ http://academic.cleardefinition.com Iowa State
+ University HCI Graduate Program/VRAC
+
+ Copyright Iowa State University 2009-2011. Distributed under the
+ Boost Software License, Version 1.0. (See accompanying file
+ LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
Findcutil
find NVIDIA CUDA and source for the cutil library, building cutil if
needed.
@@ -3183,39 +3218,6 @@ a few.
Boost Software License, Version 1.0. (See accompanying file
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- MakeVRJugglerAppBundle
- A script to turn a VR Juggler app target into a Mac OS X bundle
-
-
-
- add_vrjuggler_bundle_sources(SOURCES_VAR_NAME) - run before add_executable
- finish_vrjuggler_bundle(TARGET_NAME LIB_DIRS) - run after add_executable
-
-
-
- Original Author: 2009-2010 Ryan Pavlik
- http://academic.cleardefinition.com Iowa State
- University HCI Graduate Program/VRAC
-
- Copyright Iowa State University 2009-2010. Distributed under the
- Boost Software License, Version 1.0. (See accompanying file
- LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
- MakeVRJugglerAppBundle30
- A script to turn a VR Juggler app target into a Mac OS X bundle
-
-
-
- add_vrjuggler_bundle_sources(SOURCES_VAR_NAME) - run before add_executable
- finish_vrjuggler_bundle(TARGET_NAME LIB_DIRS) - run after add_executable
-
-
-
- Original Author: 2009-2010 Ryan Pavlik
- http://academic.cleardefinition.com Iowa State
- University HCI Graduate Program/VRAC Updated for VR Juggler 3.0 by:
- Brandon Newendorp
-
OptionRequires
Add an option that depends on one or more variables being true.
diff --git a/package/macosx/fixupbundle.cmake.in b/package/fixupbundle.cmake.in
similarity index 100%
rename from package/macosx/fixupbundle.cmake.in
rename to package/fixupbundle.cmake.in
diff --git a/package/macosx/Resources/en.lproj/MainMenu.nib/classes.nib b/package/macosx/Resources/en.lproj/MainMenu.nib/classes.nib
deleted file mode 100644
index b9b4b09..0000000
--- a/package/macosx/Resources/en.lproj/MainMenu.nib/classes.nib
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- IBClasses = ({CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; });
- IBVersion = 1;
-}
\ No newline at end of file
diff --git a/package/macosx/Resources/en.lproj/MainMenu.nib/info.nib b/package/macosx/Resources/en.lproj/MainMenu.nib/info.nib
deleted file mode 100644
index 13edb9b..0000000
--- a/package/macosx/Resources/en.lproj/MainMenu.nib/info.nib
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
- IBDocumentLocation
- 94 80 356 240 0 0 1280 832
- IBEditorPositions
-
- 29
- 501 350 260 44 0 0 1280 832
-
- IBFramework Version
- 446.1
- IBOldestOS
- 3
- IBOpenObjects
-
- 29
-
- IBSystem Version
- 8P135
-
-
diff --git a/package/macosx/Resources/en.lproj/MainMenu.nib/keyedobjects.nib b/package/macosx/Resources/en.lproj/MainMenu.nib/keyedobjects.nib
deleted file mode 100644
index e20b88c..0000000
Binary files a/package/macosx/Resources/en.lproj/MainMenu.nib/keyedobjects.nib and /dev/null differ
diff --git a/package/macosx/Resources/vrjuggler.icns b/package/macosx/Resources/vrjuggler.icns
deleted file mode 100644
index 2ba448a..0000000
Binary files a/package/macosx/Resources/vrjuggler.icns and /dev/null differ
diff --git a/package/macosx/Resources/vrjuggler.plist b/package/macosx/Resources/vrjuggler.plist
deleted file mode 100644
index ea27692..0000000
--- a/package/macosx/Resources/vrjuggler.plist
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- VRJConfigHandling
-
- VRJDelegateClass
- VRJBasicDelegate
-
-