2014-05-02 04:01:51 +08:00
|
|
|
set(COCOS_UI_SRC
|
2014-08-07 13:53:13 +08:00
|
|
|
CocosGUI.cpp
|
|
|
|
UIButton.cpp
|
|
|
|
UICheckBox.cpp
|
|
|
|
UIHBox.cpp
|
|
|
|
UIHelper.cpp
|
|
|
|
UIImageView.cpp
|
|
|
|
UILayout.cpp
|
|
|
|
UILayoutParameter.cpp
|
|
|
|
UILayoutManager.cpp
|
|
|
|
UIListView.cpp
|
|
|
|
UILoadingBar.cpp
|
|
|
|
UIPageView.cpp
|
|
|
|
UIRelativeBox.cpp
|
|
|
|
UIRichText.cpp
|
|
|
|
UIScrollView.cpp
|
|
|
|
UISlider.cpp
|
|
|
|
UITextAtlas.cpp
|
|
|
|
UITextBMFont.cpp
|
|
|
|
UIText.cpp
|
|
|
|
UITextField.cpp
|
|
|
|
UIVBox.cpp
|
|
|
|
UIWidget.cpp
|
|
|
|
UIDeprecated.cpp
|
|
|
|
UIScale9Sprite.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
ui
|
|
|
|
../../base
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_library(ui STATIC
|
|
|
|
${COCOS_UI_SRC}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(ui
|
|
|
|
cocos2d
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties(ui
|
|
|
|
PROPERTIES
|
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
2014-03-11 17:13:54 +08:00
|
|
|
)
|