2013-11-02 18:07:34 +08:00
|
|
|
set(GUI_SRC
|
|
|
|
UIWidget.cpp
|
2013-11-06 17:20:14 +08:00
|
|
|
UILayout.cpp
|
|
|
|
UILayoutParameter.cpp
|
2013-11-02 18:07:34 +08:00
|
|
|
UILayoutDefine.cpp
|
|
|
|
CocosGUI.cpp
|
|
|
|
UIHelper.cpp
|
|
|
|
UIListView.cpp
|
|
|
|
UIPageView.cpp
|
|
|
|
UIScrollView.cpp
|
|
|
|
UIButton.cpp
|
|
|
|
UICheckBox.cpp
|
|
|
|
UIImageView.cpp
|
|
|
|
UILabel.cpp
|
|
|
|
UILabelAtlas.cpp
|
|
|
|
UILabelBMFont.cpp
|
|
|
|
UILoadingBar.cpp
|
|
|
|
UISlider.cpp
|
|
|
|
UITextField.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(gui STATIC
|
|
|
|
${GUI_SRC}
|
|
|
|
)
|
|
|
|
|
2013-11-04 14:49:42 +08:00
|
|
|
set_target_properties(gui
|
|
|
|
PROPERTIES
|
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
|
|
|
|
)
|