OpenSceneGraph/src/osgUI/CMakeLists.txt

49 lines
944 B
CMake
Raw Normal View History

IF (DYNAMIC_OPENSCENEGRAPH)
ADD_DEFINITIONS(-DOSGUI_LIBRARY)
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
${HEADER_PATH}/Widget
${HEADER_PATH}/Label
${HEADER_PATH}/LineEdit
2014-05-19 18:11:50 +08:00
${HEADER_PATH}/Dialog
${HEADER_PATH}/PushButton
2014-05-17 03:24:58 +08:00
${HEADER_PATH}/ComboBox
${HEADER_PATH}/Style
${HEADER_PATH}/AlignmentSettings
${HEADER_PATH}/FrameSettings
${HEADER_PATH}/TextSettings
)
SET(TARGET_SRC
Widget.cpp
Label.cpp
LineEdit.cpp
2014-05-19 18:11:50 +08:00
Dialog.cpp
PushButton.cpp
2014-05-17 03:24:58 +08:00
ComboBox.cpp
Style.cpp
AlignmentSettings.cpp
FrameSettings.cpp
TextSettings.cpp
${OPENSCENEGRAPH_VERSIONINFO_RC}
)
SET(TARGET_LIBRARIES
osgDB
2014-05-15 21:34:50 +08:00
osgGA
osgUtil
osgText
osg
OpenThreads
)
SETUP_LIBRARY(${LIB_NAME})