2014-03-11 17:13:54 +08:00
|
|
|
set(GUI_SRC
|
|
|
|
UIWidget.cpp
|
|
|
|
UILayout.cpp
|
|
|
|
UILayoutParameter.cpp
|
|
|
|
UILayoutDefine.cpp
|
|
|
|
CocosGUI.cpp
|
|
|
|
UIHelper.cpp
|
|
|
|
UIListView.cpp
|
|
|
|
UIPageView.cpp
|
|
|
|
UIScrollView.cpp
|
|
|
|
UIButton.cpp
|
|
|
|
UICheckBox.cpp
|
|
|
|
UIImageView.cpp
|
|
|
|
UIText.cpp
|
|
|
|
UITextAtlas.cpp
|
|
|
|
UITextBMFont.cpp
|
|
|
|
UILoadingBar.cpp
|
|
|
|
UISlider.cpp
|
|
|
|
UITextField.cpp
|
|
|
|
UIRichText.cpp
|
2014-03-24 15:43:18 +08:00
|
|
|
CCProtectedNode.cpp
|
2014-03-25 17:15:54 +08:00
|
|
|
UIHBox.cpp
|
|
|
|
UIVBox.cpp
|
|
|
|
UIRelativeBox.cpp
|
2014-03-11 17:13:54 +08:00
|
|
|
)
|
|
|
|
|
2014-03-11 20:46:11 +08:00
|
|
|
add_library(ui STATIC
|
2014-03-11 17:13:54 +08:00
|
|
|
${GUI_SRC}
|
|
|
|
)
|
|
|
|
|
2014-03-11 20:46:11 +08:00
|
|
|
set_target_properties(ui
|
2014-03-11 17:13:54 +08:00
|
|
|
PROPERTIES
|
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
|
|
)
|