Had to move the Nel3DWidget library to the core plugin, because Nel can only be used statically at this point. Which makes using the separate Nel3DWidget library inparctical.
--HG-- branch : gsoc2014-dfighterhg/feature/cdb-packed
parent
b4eac44a9d
commit
d74d1d1663
@ -1,36 +0,0 @@
|
|||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
|
||||||
${QT_INCLUDES}
|
|
||||||
)
|
|
||||||
|
|
||||||
INCLUDE( ${QT_USE_FILE} )
|
|
||||||
|
|
||||||
FILE(GLOB SRC *.cpp *.h)
|
|
||||||
|
|
||||||
SET(NEL3DWIDGET_HDR
|
|
||||||
nel3d_widget.h
|
|
||||||
)
|
|
||||||
|
|
||||||
SET(QT_USE_QTGUI TRUE)
|
|
||||||
|
|
||||||
QT4_WRAP_CPP( NEL3DWIDGET_MOC_SRC ${NEL3DWIDGET_HDR} )
|
|
||||||
|
|
||||||
SOURCE_GROUP(QtGeneratedMocSrc FILES ${NEL3DWIDGET_MOC_SRC} )
|
|
||||||
SOURCE_GROUP("Nel 3D Widget files" FILES ${SRC})
|
|
||||||
|
|
||||||
ADD_LIBRARY(nel3dwidget SHARED
|
|
||||||
${SRC}
|
|
||||||
${NEL3DWIDGET_MOC_SRC}
|
|
||||||
)
|
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES( nel3dwidget
|
|
||||||
nelmisc
|
|
||||||
nel3d
|
|
||||||
${QT_LIBRARIES}
|
|
||||||
)
|
|
||||||
|
|
||||||
NL_DEFAULT_PROPS(nel3dwidget "Nel3D Qt Widget")
|
|
||||||
NL_ADD_RUNTIME_FLAGS(nel3dwidget)
|
|
||||||
NL_ADD_LIB_SUFFIX(nel3dwidget)
|
|
||||||
|
|
||||||
ADD_DEFINITIONS( -DN3DW_LIB -DQT_DLL -DQT_SHARED ${QT_DEFINITIONS} )
|
|
Loading…
Reference in New Issue