Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CGoGN
CGoGN
Commits
2771f708
Commit
2771f708
authored
Jan 29, 2013
by
Pierre Kraemer
Browse files
SCHNApps: remove 'Plugin' in plugin lib names
parent
7297ee8a
Changes
9
Hide whitespace changes
Inline
Side-by-side
SCHNApps/Plugins/CMakeLists.txt
View file @
2771f708
cmake_minimum_required
(
VERSION 2.8
)
ADD_SUBDIRECTORY
(
cameraControl
)
ADD_SUBDIRECTORY
(
importSurface
)
ADD_SUBDIRECTORY
(
importVolume
)
ADD_SUBDIRECTORY
(
differentialProperties
)
...
...
SCHNApps/Plugins/differentialProperties/CMakeLists.txt
View file @
2771f708
...
...
@@ -36,20 +36,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI
(
PLUGIN_UI
${
PLUGIN_FORM
}
)
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
DifferentialProperties
Plugin
D SHARED
ADD_LIBRARY
(
DifferentialPropertiesD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
DifferentialProperties
Plugin
D
TARGET_LINK_LIBRARIES
(
DifferentialPropertiesD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
DifferentialProperties
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
DifferentialPropertiesD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
DifferentialProperties
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
DifferentialPropertiesD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
DifferentialProperties
Plugin
SHARED
ADD_LIBRARY
(
DifferentialProperties SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
DifferentialProperties
Plugin
TARGET_LINK_LIBRARIES
(
DifferentialProperties
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
DifferentialProperties
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
DifferentialProperties SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/importSurface/CMakeLists.txt
View file @
2771f708
...
...
@@ -27,20 +27,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
# QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
ImportSurface
Plugin
D SHARED
ADD_LIBRARY
(
ImportSurfaceD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
ImportSurface
Plugin
D
TARGET_LINK_LIBRARIES
(
ImportSurfaceD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
ImportSurface
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
ImportSurfaceD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
ImportSurface
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
ImportSurfaceD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
ImportSurface
Plugin
SHARED
ADD_LIBRARY
(
ImportSurface SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
ImportSurface
Plugin
TARGET_LINK_LIBRARIES
(
ImportSurface
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
ImportSurface
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
ImportSurface SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/importVolume/CMakeLists.txt
View file @
2771f708
...
...
@@ -27,21 +27,21 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
# QT4_WRAP_UI( PLUGIN_UI ${PLUGIN_FORM} )
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
ImportVolume
Plugin
D SHARED
ADD_LIBRARY
(
ImportVolumeD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
ImportVolume
Plugin
D
TARGET_LINK_LIBRARIES
(
ImportVolumeD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_DEPENDENCIES
(
ImportVolume
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
ImportVolumeD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
ImportVolume
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
ImportVolumeD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
ImportVolume
Plugin
SHARED
ADD_LIBRARY
(
ImportVolume SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
ImportVolume
Plugin
TARGET_LINK_LIBRARIES
(
ImportVolume
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_DEPENDENCIES
(
ImportVolume
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
ImportVolume SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/render/CMakeLists.txt
View file @
2771f708
...
...
@@ -31,20 +31,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI
(
PLUGIN_UI
${
PLUGIN_FORM
}
)
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
Render
Plugin
D SHARED
ADD_LIBRARY
(
RenderD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
Render
Plugin
D
TARGET_LINK_LIBRARIES
(
RenderD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
Render
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
RenderD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
Render
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
RenderD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
Render
Plugin
SHARED
ADD_LIBRARY
(
Render SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
Render
Plugin
TARGET_LINK_LIBRARIES
(
Render
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
Render
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
Render SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/renderExplod/CMakeLists.txt
View file @
2771f708
...
...
@@ -31,21 +31,21 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI
(
PLUGIN_UI
${
PLUGIN_FORM
}
)
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
RenderExplod
Plugin
D SHARED
ADD_LIBRARY
(
RenderExplodD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
RenderExplod
Plugin
D
TARGET_LINK_LIBRARIES
(
RenderExplodD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_DEPENDENCIES
(
RenderExplod
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
RenderExplodD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
RenderExplod
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
RenderExplodD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
RenderExplod
Plugin
SHARED
ADD_LIBRARY
(
RenderExplod SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
RenderExplod
Plugin
TARGET_LINK_LIBRARIES
(
RenderExplod
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_DEPENDENCIES
(
RenderExplod
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
RenderExplod SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/renderVector/CMakeLists.txt
View file @
2771f708
...
...
@@ -31,20 +31,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI
(
PLUGIN_UI
${
PLUGIN_FORM
}
)
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
RenderVector
Plugin
D SHARED
ADD_LIBRARY
(
RenderVectorD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
RenderVector
Plugin
D
TARGET_LINK_LIBRARIES
(
RenderVectorD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
RenderVector
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
RenderVectorD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
RenderVector
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
RenderVectorD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
RenderVector
Plugin
SHARED
ADD_LIBRARY
(
RenderVector SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
RenderVector
Plugin
TARGET_LINK_LIBRARIES
(
RenderVector
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
RenderVector
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
RenderVector SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/subdivideSurface/CMakeLists.txt
View file @
2771f708
...
...
@@ -33,20 +33,20 @@ IF( ${CMAKE_BUILD_TYPE} STREQUAL Debug )
QT4_WRAP_UI
(
PLUGIN_UI
${
PLUGIN_FORM
}
)
QT4_WRAP_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
SubdivideSurface
Plugin
D SHARED
ADD_LIBRARY
(
SubdivideSurfaceD SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
SubdivideSurface
Plugin
D
TARGET_LINK_LIBRARIES
(
SubdivideSurfaceD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
SubdivideSurface
Plugin
D SCHNAppsD
)
ADD_DEPENDENCIES
(
SubdivideSurfaceD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
SubdivideSurface
Plugin
D PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
SET_TARGET_PROPERTIES
(
SubdivideSurfaceD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
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_CPP
(
PLUGIN_MOC
${
PLUGIN_H
}
)
ADD_LIBRARY
(
SubdivideSurface
Plugin
SHARED
ADD_LIBRARY
(
SubdivideSurface SHARED
${
PLUGIN_SRC
}
${
PLUGIN_UI
}
${
PLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
SubdivideSurface
Plugin
TARGET_LINK_LIBRARIES
(
SubdivideSurface
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
)
ADD_DEPENDENCIES
(
SubdivideSurface
Plugin
SCHNApps
)
ADD_DEPENDENCIES
(
SubdivideSurface SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/bin/init.py
View file @
2771f708
importPlugin
=
schnapps
.
loadPlugin
(
"ImportSurface
Plugin
"
);
differentialPropertiesPlugin
=
schnapps
.
loadPlugin
(
"DifferentialProperties
Plugin
"
);
renderPlugin
=
schnapps
.
loadPlugin
(
"Render
Plugin
"
);
importPlugin
=
schnapps
.
loadPlugin
(
"ImportSurface"
);
differentialPropertiesPlugin
=
schnapps
.
loadPlugin
(
"DifferentialProperties"
);
renderPlugin
=
schnapps
.
loadPlugin
(
"Render"
);
hand
=
importPlugin
.
importFromFile
(
"/home/kraemer/Media/Data/surface/midRes/handman_12k.off"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment