OpenSceneGraph/CMakeModules
Robert Osfield 6b9bbc7ca9 From Wang Rui, "The OSG book I'm working on will focus on helping beginners build
latest OSG source code with Visual Studio 2010 express, without
setting too many options and without facing unexpected errors. But at
present, the compilation process will fail because the INSTALL project
'cannot find' generated DLLs while copying files. I have looked into
the build directory and found that the places of generated file
folders were just different from previous VS versions. In this case,
the old hack in OsgMacroUtils.cmake may become invalid:

MACRO(HANDLE_MSVC_DLL)
       #this is a hack... the build place is set to lib/<debug or
release> by LIBARARY_OUTPUT_PATH equal to OUTPUT_LIBDIR
       #the .lib will be crated in ../ so going straight in lib by
the IMPORT_PREFIX property
       #because we want dll placed in OUTPUT_BINDIR ie the bin folder
sibling of lib, we can use ../../bin to go there,
       ...
       ELSE(NOT MSVC_IDE)
           SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX
"../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../")
       ENDIF(NOT MSVC_IDE)
ENDMACRO(HANDLE_MSVC_DLL)

Here the prefix "../../bin" may need to be fixed. I just modified it to:

IF(MSVC_VERSION LESS 1600)
    SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX
"../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../")
ENDIF()

It should keep compatible with old MSVC versions. There are similar
fixes in the SETUP_PLUGIN and SETUP_EXE macros. I haven't tested them
on more platforms.
"
2010-04-20 16:27:54 +00:00
..
CheckAtomicOps.cmake From Philip Lowman, clean up of CMake files 2009-04-09 09:23:45 +00:00
clean_directories Added utilty script for cleaning up build files/directories. 2008-03-14 15:33:47 +00:00
cmake_uninstall.cmake.in From Philip Lowman, clean up of CMake files 2009-04-09 09:23:45 +00:00
Find3rdPartyDependencies.cmake From David Fries,"This improves the out of box detection of the 3rd party libraries for 2010-03-10 17:23:58 +00:00
FindCOLLADA.cmake From Simon Julier, "Please find attached FindCOLLADA.cmake with a patch for a framework naming issue for Mac platforms. 2009-10-10 11:26:10 +00:00
FindDirectShow.cmake From Cedric Pinson, "Here an update of the directshow plugin. It fixes issues with 2009-11-20 10:48:51 +00:00
FindFBX.cmake From Michael Platings, "This plugin adds support for the Autodesk FBX file format. It imports animations, including skeletal and morph animations, hence all my previous submissions to osgAnimation. The plugin won't build without the changes made in the "osgAnimation small additions" submission (14th August). 2009-11-19 11:44:44 +00:00
FindFFmpeg.cmake Fixed STDINT_INCLUDE path 2010-02-22 10:10:08 +00:00
FindFLTK.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindFOX.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindFreeType.cmake From Colin McDonald, build fixes for Solaris. 2008-01-08 18:13:06 +00:00
FindGDAL.cmake From J.P. Delport, "attached an updated FindGDAL that finds 1.6.0 version in Debian unstable. Could also be added to VPB. 2010-03-17 14:36:16 +00:00
FindGIFLIB.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindInventor.cmake From Jan Peciva, improvements to Inventor find operation 2010-01-31 18:23:35 +00:00
FindJasper.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindLibVNCServer.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindOpenEXR.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindOpenThreads.cmake From Eric Wing, "Attached are a few Find modules with updates. Among other things, they 2008-01-04 20:00:18 +00:00
FindOpenVRML.cmake From Jan Ciger, "I am attaching the updated VRML plugin, as promised. This version works 2009-05-26 14:22:56 +00:00
FindOSG.cmake From David Fries,"We are needing to compile Debug, Release, and MinSizeWithDebInfo, but 2010-03-10 17:19:35 +00:00
FindOurDCMTK.cmake Added search in /usr/local/dicom for dcmtk. 2009-06-26 16:39:44 +00:00
FindPerformer.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindQuickTime.cmake Based on a suggestion from Chuck Seberino, have added a section for testing of 64bit build under OSX and disable the use of quicktime when the build includes 64bit. 2010-03-10 11:01:17 +00:00
FindXine.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindXUL.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindZLIB.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
ListHandle.cmake Fixed tabbing 2007-04-27 09:49:28 +00:00
ModuleInstall.cmake From Stephan Huber and Mathieu Marache, "attached you'll find framework support for os x via cmake. Please credit 2010-04-19 13:44:42 +00:00
OsgCPack.cmake From Mattias Helsing, "" 2009-04-09 15:56:04 +00:00
OsgCPackConfig.cmake.in From Mattias Helsing, "got some feedback from J-S on the packaging so I have changed the 2009-01-21 18:34:10 +00:00
OsgDetermineCompiler.cmake From Philip Lowman, clean up of CMake files 2009-04-09 09:23:45 +00:00
OsgMacroUtils.cmake From Wang Rui, "The OSG book I'm working on will focus on helping beginners build 2010-04-20 16:27:54 +00:00
UtilityMacros.cmake From Philip Lowman, clean up of CMake files 2009-04-09 09:23:45 +00:00