Moved the Nel 3d widget into it's own library.
--HG-- branch : gsoc2014-dfighterhg/feature/cdb-packed
parent
dde63ceb31
commit
b4eac44a9d
@ -0,0 +1,36 @@
|
|||||||
|
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