CMakeLists.txt 774 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2
cmake_minimum_required(VERSION 2.8)

Pierre Kraemer's avatar
Pierre Kraemer committed
3
SET( PLUGIN_NAME Surface_DifferentialProperties )
Pierre Kraemer's avatar
Pierre Kraemer committed
4

5
SET( PLUGIN_ROOT_DIR ${SCHNApps_ROOT_DIR}/Plugins/surface_differentialProperties )
Pierre Kraemer's avatar
Pierre Kraemer committed
6

7 8
ADD_DEFINITIONS(-DSURFACE_DIFFERENTIAL_PROPERTIES_DLL_EXPORT)

Pierre Kraemer's avatar
Pierre Kraemer committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
INCLUDE_DIRECTORIES(
	${PLUGIN_ROOT_DIR}/include
	${CMAKE_CURRENT_BINARY_DIR}
)

file(
	GLOB_RECURSE
	PLUGIN_FILES
	${PLUGIN_ROOT_DIR}/src/*.cpp
	${PLUGIN_ROOT_DIR}/include/*.h
	${PLUGIN_ROOT_DIR}/include/*.hpp
)

file(
	GLOB_RECURSE
	PLUGIN_UI_FILES
	${PLUGIN_ROOT_DIR}/forms/*.ui
)

SET(
	PLUGIN_QOBJECT_FILES
30 31 32
	${PLUGIN_ROOT_DIR}/include/surface_differentialProperties.h
	${PLUGIN_ROOT_DIR}/include/dialog_computeNormal.h
	${PLUGIN_ROOT_DIR}/include/dialog_computeCurvature.h
Pierre Kraemer's avatar
Pierre Kraemer committed
33 34 35
)

include( ${SCHNApps_ROOT_DIR}/Plugins/plugins_cmake.txt )