From Serge Lages, "Hi Robert,

You were right about the CMAKE_MODULE_LINKER_FLAGS option for CMake, so here is a modification allowing to not generate the manifest files for the plugins making them a lot more easy to redistribute. I have also made the same modification to the wrappers as they are also put into the osgPlugin folder when generated.
"
This commit is contained in:
Robert Osfield
2007-12-08 17:04:52 +00:00
parent 2d4ef642e6
commit fb65fc5e0a
2 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ ENDIF(NOT MSVC)
SET(CMAKE_SHARED_MODULE_PREFIX ${OSG_PLUGIN_PREFIX})
IF(MSVC80)
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /MANIFEST:NO")
ENDIF(MSVC80)
SET(TARGET_DEFAULT_PREFIX "osgdb_")
SET(TARGET_DEFAULT_LABEL_PREFIX "Plugins")

View File

@@ -4,6 +4,9 @@ SET(LIBRARY_OUTPUT_PATH "${LIBRARY_OUTPUT_PATH}/${OSG_PLUGINS}")
SET(CMAKE_SHARED_MODULE_PREFIX ${OSG_PLUGIN_PREFIX})
IF(MSVC80)
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /MANIFEST:NO")
ENDIF(MSVC80)
MACRO(ADD_WRAPPER_LIB SUBDIR EXPORTDEF)
SET(TARGET_NAME "osgwrapper_${SUBDIR}")