plugins_cmake.txt 421 Bytes
Newer Older
1 2 3 4 5

QT4_WRAP_UI( PLUGIN_UIC_FILES ${PLUGIN_UI_FILES} )

QT4_WRAP_CPP( PLUGIN_MOC_FILES ${PLUGIN_QOBJECT_FILES} )

6 7 8
#IF(APPLE)
#	SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -L/usr/local/lib")
#ENDIF(APPLE)
Thery Sylvain's avatar
Thery Sylvain committed
9

Sylvain Thery's avatar
Sylvain Thery committed
10 11 12 13 14 15 16 17 18 19

ADD_LIBRARY( ${PLUGIN_NAME} SHARED
	${PLUGIN_FILES}
	${PLUGIN_UIC_FILES}
	${PLUGIN_MOC_FILES}
)

TARGET_LINK_LIBRARIES( ${PLUGIN_NAME}
	${CGoGN_LIBS}
	${EXT_LIBS}
20
	pthread
Sylvain Thery's avatar
Sylvain Thery committed
21 22 23 24 25 26
)

ADD_DEPENDENCIES( ${PLUGIN_NAME} SCHNApps )