2014-05-12 19:27:54 +08:00
|
|
|
|
|
|
|
IF (DYNAMIC_OPENSCENEGRAPH)
|
2014-05-15 22:45:28 +08:00
|
|
|
ADD_DEFINITIONS(-DOSGUI_LIBRARY)
|
2014-05-12 19:27:54 +08:00
|
|
|
ELSE (DYNAMIC_OPENSCENEGRAPH)
|
|
|
|
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
|
|
|
ENDIF(DYNAMIC_OPENSCENEGRAPH)
|
|
|
|
|
|
|
|
SET(LIB_NAME osgUI)
|
|
|
|
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
|
|
|
|
SET(TARGET_H
|
|
|
|
${HEADER_PATH}/Export
|
2014-06-14 01:17:09 +08:00
|
|
|
${HEADER_PATH}/ColorPalette
|
2014-05-12 19:27:54 +08:00
|
|
|
${HEADER_PATH}/Widget
|
|
|
|
${HEADER_PATH}/Label
|
|
|
|
${HEADER_PATH}/LineEdit
|
2014-05-19 18:11:50 +08:00
|
|
|
${HEADER_PATH}/Dialog
|
2014-05-20 16:35:19 +08:00
|
|
|
${HEADER_PATH}/Popup
|
2014-05-16 18:38:40 +08:00
|
|
|
${HEADER_PATH}/PushButton
|
2014-05-17 03:24:58 +08:00
|
|
|
${HEADER_PATH}/ComboBox
|
2014-05-12 19:27:54 +08:00
|
|
|
${HEADER_PATH}/Style
|
|
|
|
${HEADER_PATH}/AlignmentSettings
|
|
|
|
${HEADER_PATH}/FrameSettings
|
|
|
|
${HEADER_PATH}/TextSettings
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(TARGET_SRC
|
|
|
|
Widget.cpp
|
2014-06-14 01:17:09 +08:00
|
|
|
ColorPalette.cpp
|
2014-05-12 19:27:54 +08:00
|
|
|
Label.cpp
|
|
|
|
LineEdit.cpp
|
2014-05-19 18:11:50 +08:00
|
|
|
Dialog.cpp
|
2014-05-20 16:35:19 +08:00
|
|
|
Popup.cpp
|
2014-05-16 18:38:40 +08:00
|
|
|
PushButton.cpp
|
2014-05-17 03:24:58 +08:00
|
|
|
ComboBox.cpp
|
2014-05-12 19:27:54 +08:00
|
|
|
Style.cpp
|
|
|
|
AlignmentSettings.cpp
|
|
|
|
FrameSettings.cpp
|
|
|
|
TextSettings.cpp
|
|
|
|
${OPENSCENEGRAPH_VERSIONINFO_RC}
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(TARGET_LIBRARIES
|
|
|
|
osgDB
|
2014-05-15 21:34:50 +08:00
|
|
|
osgGA
|
2014-05-12 19:27:54 +08:00
|
|
|
osgUtil
|
|
|
|
osgText
|
|
|
|
osg
|
|
|
|
OpenThreads
|
|
|
|
)
|
|
|
|
|
|
|
|
SETUP_LIBRARY(${LIB_NAME})
|
|
|
|
|