Commit 2771f708 authored by Pierre Kraemer's avatar Pierre Kraemer

SCHNApps: remove 'Plugin' in plugin lib names

parent 7297ee8a
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
ADD_SUBDIRECTORY(cameraControl)
ADD_SUBDIRECTORY(importSurface) ADD_SUBDIRECTORY(importSurface)
ADD_SUBDIRECTORY(importVolume) ADD_SUBDIRECTORY(importVolume)
ADD_SUBDIRECTORY(differentialProperties) ADD_SUBDIRECTORY(differentialProperties)
......
...@@ -36,20 +36,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -36,20 +36,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( DifferentialPropertiesPluginD SHARED ADD_LIBRARY( DifferentialPropertiesD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( DifferentialPropertiesPluginD TARGET_LINK_LIBRARIES( DifferentialPropertiesD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( DifferentialPropertiesPluginD SCHNAppsD ) ADD_DEPENDENCIES( DifferentialPropertiesD SCHNAppsD )
SET_TARGET_PROPERTIES( DifferentialPropertiesPluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( DifferentialPropertiesD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -62,17 +62,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -62,17 +62,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( DifferentialPropertiesPlugin SHARED ADD_LIBRARY( DifferentialProperties SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( DifferentialPropertiesPlugin TARGET_LINK_LIBRARIES( DifferentialProperties
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( DifferentialPropertiesPlugin SCHNApps ) ADD_DEPENDENCIES( DifferentialProperties SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -27,20 +27,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -27,20 +27,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
# QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) # QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( ImportSurfacePluginD SHARED ADD_LIBRARY( ImportSurfaceD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( ImportSurfacePluginD TARGET_LINK_LIBRARIES( ImportSurfaceD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( ImportSurfacePluginD SCHNAppsD ) ADD_DEPENDENCIES( ImportSurfaceD SCHNAppsD )
SET_TARGET_PROPERTIES( ImportSurfacePluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( ImportSurfaceD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -53,17 +53,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -53,17 +53,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
# QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) # QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( ImportSurfacePlugin SHARED ADD_LIBRARY( ImportSurface SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( ImportSurfacePlugin TARGET_LINK_LIBRARIES( ImportSurface
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( ImportSurfacePlugin SCHNApps ) ADD_DEPENDENCIES( ImportSurface SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -27,21 +27,21 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -27,21 +27,21 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
# QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) # QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( ImportVolumePluginD SHARED ADD_LIBRARY( ImportVolumeD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( ImportVolumePluginD TARGET_LINK_LIBRARIES( ImportVolumeD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
${QGLVIEWER_LIBRARIES} ${QGLVIEWER_LIBRARIES}
) )
ADD_DEPENDENCIES( ImportVolumePluginD SCHNAppsD ) ADD_DEPENDENCIES( ImportVolumeD SCHNAppsD )
SET_TARGET_PROPERTIES( ImportVolumePluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( ImportVolumeD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -54,18 +54,18 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -54,18 +54,18 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
# QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) # QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( ImportVolumePlugin SHARED ADD_LIBRARY( ImportVolume SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( ImportVolumePlugin TARGET_LINK_LIBRARIES( ImportVolume
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
${QGLVIEWER_LIBRARIES} ${QGLVIEWER_LIBRARIES}
) )
ADD_DEPENDENCIES( ImportVolumePlugin SCHNApps ) ADD_DEPENDENCIES( ImportVolume SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -31,20 +31,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -31,20 +31,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( RenderPluginD SHARED ADD_LIBRARY( RenderD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( RenderPluginD TARGET_LINK_LIBRARIES( RenderD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( RenderPluginD SCHNAppsD ) ADD_DEPENDENCIES( RenderD SCHNAppsD )
SET_TARGET_PROPERTIES( RenderPluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( RenderD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -57,17 +57,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -57,17 +57,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( RenderPlugin SHARED ADD_LIBRARY( Render SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( RenderPlugin TARGET_LINK_LIBRARIES( Render
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( RenderPlugin SCHNApps ) ADD_DEPENDENCIES( Render SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -31,21 +31,21 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -31,21 +31,21 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( RenderExplodPluginD SHARED ADD_LIBRARY( RenderExplodD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( RenderExplodPluginD TARGET_LINK_LIBRARIES( RenderExplodD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
${QGLVIEWER_LIBRARIES} ${QGLVIEWER_LIBRARIES}
) )
ADD_DEPENDENCIES( RenderExplodPluginD SCHNAppsD ) ADD_DEPENDENCIES( RenderExplodD SCHNAppsD )
SET_TARGET_PROPERTIES( RenderExplodPluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( RenderExplodD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -58,18 +58,18 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -58,18 +58,18 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( RenderExplodPlugin SHARED ADD_LIBRARY( RenderExplod SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( RenderExplodPlugin TARGET_LINK_LIBRARIES( RenderExplod
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
${QGLVIEWER_LIBRARIES} ${QGLVIEWER_LIBRARIES}
) )
ADD_DEPENDENCIES( RenderExplodPlugin SCHNApps ) ADD_DEPENDENCIES( RenderExplod SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -31,20 +31,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -31,20 +31,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( RenderVectorPluginD SHARED ADD_LIBRARY( RenderVectorD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( RenderVectorPluginD TARGET_LINK_LIBRARIES( RenderVectorD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( RenderVectorPluginD SCHNAppsD ) ADD_DEPENDENCIES( RenderVectorD SCHNAppsD )
SET_TARGET_PROPERTIES( RenderVectorPluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( RenderVectorD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -57,17 +57,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -57,17 +57,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( RenderVectorPlugin SHARED ADD_LIBRARY( RenderVector SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( RenderVectorPlugin TARGET_LINK_LIBRARIES( RenderVector
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( RenderVectorPlugin SCHNApps ) ADD_DEPENDENCIES( RenderVector SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -33,20 +33,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -33,20 +33,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( SubdivideSurfacePluginD SHARED ADD_LIBRARY( SubdivideSurfaceD SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( SubdivideSurfacePluginD TARGET_LINK_LIBRARIES( SubdivideSurfaceD
${CGoGN_LIBS_D} ${CGoGN_LIBS_D}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( SubdivideSurfacePluginD SCHNAppsD ) ADD_DEPENDENCIES( SubdivideSurfaceD SCHNAppsD )
SET_TARGET_PROPERTIES( SubdivideSurfacePluginD PROPERTIES COMPILE_DEFINITIONS "DEBUG" ) SET_TARGET_PROPERTIES( SubdivideSurfaceD PROPERTIES COMPILE_DEFINITIONS "DEBUG" )
ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
...@@ -59,17 +59,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ...@@ -59,17 +59,17 @@ ELSE ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} ) QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} ) QT4_WRAP_CPP( PLUGIN_MOC ${PLUGIN_H} )
ADD_LIBRARY( SubdivideSurfacePlugin SHARED ADD_LIBRARY( SubdivideSurface SHARED
${PLUGIN_SRC} ${PLUGIN_SRC}
${PLUGIN_UI} ${PLUGIN_UI}
${PLUGIN_MOC} ${PLUGIN_MOC}
) )
TARGET_LINK_LIBRARIES( SubdivideSurfacePlugin TARGET_LINK_LIBRARIES( SubdivideSurface
${CGoGN_LIBS_R} ${CGoGN_LIBS_R}
${COMMON_LIBS} ${COMMON_LIBS}
) )
ADD_DEPENDENCIES( SubdivideSurfacePlugin SCHNApps ) ADD_DEPENDENCIES( SubdivideSurface SCHNApps )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug ) ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
importPlugin = schnapps.loadPlugin("ImportSurfacePlugin"); importPlugin = schnapps.loadPlugin("ImportSurface");
differentialPropertiesPlugin = schnapps.loadPlugin("DifferentialPropertiesPlugin"); differentialPropertiesPlugin = schnapps.loadPlugin("DifferentialProperties");
renderPlugin = schnapps.loadPlugin("RenderPlugin"); renderPlugin = schnapps.loadPlugin("Render");
hand = importPlugin.importFromFile("/home/kraemer/Media/Data/surface/midRes/handman_12k.off"); hand = importPlugin.importFromFile("/home/kraemer/Media/Data/surface/midRes/handman_12k.off");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment