mirror of https://github.com/axmolengine/axmol.git
146 lines
4.1 KiB
CMake
146 lines
4.1 KiB
CMake
if(WINDOWS)
|
|
set(COCOS_UI_SPECIFIC_HEADER
|
|
ui/UIEditBox/UIEditBoxImpl-win32.h
|
|
)
|
|
set(COCOS_UI_SPECIFIC_SRC
|
|
ui/UIEditBox/UIEditBoxImpl-win32.cpp
|
|
)
|
|
elseif(APPLE)
|
|
if(MACOSX)
|
|
set(COCOS_UI_SPECIFIC_HEADER
|
|
ui/UIEditBox/UIEditBoxImpl-mac.h
|
|
ui/UIEditBox/Mac/CCUIPasswordTextField.h
|
|
ui/UIEditBox/Mac/CCUIMultilineTextField.h
|
|
ui/UIEditBox/Mac/CCUITextInput.h
|
|
ui/UIEditBox/Mac/CCUIEditBoxMac.h
|
|
ui/UIEditBox/Mac/CCUISingleLineTextField.h
|
|
ui/UIEditBox/Mac/CCUITextFieldFormatter.h
|
|
)
|
|
set(COCOS_UI_SPECIFIC_SRC
|
|
ui/UIEditBox/UIEditBoxImpl-mac.mm
|
|
ui/UIEditBox/Mac/CCUIEditBoxMac.mm
|
|
ui/UIEditBox/Mac/CCUIMultilineTextField.m
|
|
ui/UIEditBox/Mac/CCUIPasswordTextField.m
|
|
ui/UIEditBox/Mac/CCUISingleLineTextField.m
|
|
ui/UIEditBox/Mac/CCUITextFieldFormatter.m
|
|
)
|
|
elseif(IOS)
|
|
set(COCOS_UI_SPECIFIC_HEADER
|
|
ui/UIWebView/UIWebView.h
|
|
ui/UIVideoPlayer.h
|
|
ui/UIWebView/UIWebViewImpl-ios.h
|
|
ui/UIEditBox/UIEditBoxImpl-ios.h
|
|
ui/UIEditBox/iOS/CCUIEditBoxIOS.h
|
|
ui/UIEditBox/iOS/CCUIMultilineTextField.h
|
|
ui/UIEditBox/iOS/CCUITextInput.h
|
|
ui/UIEditBox/iOS/UITextView+CCUITextInput.h
|
|
ui/UIEditBox/iOS/UITextField+CCUITextInput.h
|
|
ui/UIEditBox/iOS/CCUISingleLineTextField.h
|
|
)
|
|
set(COCOS_UI_SPECIFIC_SRC
|
|
ui/UIWebView/UIWebView.mm
|
|
ui/UIVideoPlayer-ios.mm
|
|
ui/UIWebView/UIWebViewImpl-ios.mm
|
|
ui/UIEditBox/UIEditBoxImpl-ios.mm
|
|
ui/UIEditBox/iOS/CCUIEditBoxIOS.mm
|
|
ui/UIEditBox/iOS/CCUIMultilineTextField.mm
|
|
ui/UIEditBox/iOS/CCUISingleLineTextField.mm
|
|
ui/UIEditBox/iOS/UITextField+CCUITextInput.mm
|
|
ui/UIEditBox/iOS/UITextView+CCUITextInput.mm
|
|
)
|
|
endif()
|
|
elseif(LINUX)
|
|
set(COCOS_UI_SPECIFIC_HEADER
|
|
ui/UIEditBox/UIEditBoxImpl-linux.h
|
|
)
|
|
set(COCOS_UI_SPECIFIC_SRC
|
|
ui/UIEditBox/UIEditBoxImpl-linux.cpp
|
|
)
|
|
elseif(ANDROID)
|
|
set(COCOS_UI_SPECIFIC_HEADER
|
|
ui/UIWebView/UIWebView.h
|
|
ui/UIVideoPlayer.h
|
|
ui/UIWebView/UIWebViewImpl-android.h
|
|
ui/UIEditBox/UIEditBoxImpl-android.h
|
|
)
|
|
set(COCOS_UI_SPECIFIC_SRC
|
|
ui/UIEditBox/UIEditBoxImpl-android.cpp
|
|
ui/UIVideoPlayer-android.cpp
|
|
ui/UIWebView/UIWebViewImpl-android.cpp
|
|
# it's special for android, not a common file
|
|
ui/UIWebView/UIWebView.cpp
|
|
)
|
|
endif()
|
|
|
|
set(COCOS_UI_HEADER
|
|
${COCOS_UI_SPECIFIC_HEADER}
|
|
ui/CocosGUI.h
|
|
ui/GUIDefine.h
|
|
ui/GUIExport.h
|
|
ui/UIAbstractCheckButton.h
|
|
ui/UIButton.h
|
|
ui/UICheckBox.h
|
|
# ui/UIDeprecated.h
|
|
ui/UIHBox.h
|
|
ui/UIHelper.h
|
|
ui/UIImageView.h
|
|
ui/UILayout.h
|
|
ui/UILayoutComponent.h
|
|
ui/UILayoutManager.h
|
|
ui/UILayoutParameter.h
|
|
ui/UIListView.h
|
|
ui/UILoadingBar.h
|
|
ui/UIPageView.h
|
|
ui/UIPageViewIndicator.h
|
|
ui/UIRadioButton.h
|
|
ui/UIRelativeBox.h
|
|
ui/UIRichText.h
|
|
ui/UIScale9Sprite.h
|
|
ui/UIScrollView.h
|
|
ui/UIScrollViewBar.h
|
|
ui/UISlider.h
|
|
ui/UITabControl.h
|
|
ui/UIText.h
|
|
ui/UITextAtlas.h
|
|
ui/UITextBMFont.h
|
|
ui/UITextField.h
|
|
ui/UIVBox.h
|
|
ui/UIWidget.h
|
|
)
|
|
|
|
set(COCOS_UI_SRC
|
|
${COCOS_UI_SPECIFIC_SRC}
|
|
ui/CocosGUI.cpp
|
|
ui/UIButton.cpp
|
|
ui/UIAbstractCheckButton.cpp
|
|
ui/UICheckBox.cpp
|
|
ui/UIRadioButton.cpp
|
|
# ui/UIDeprecated.cpp
|
|
ui/UIHBox.cpp
|
|
ui/UIHelper.cpp
|
|
ui/UIImageView.cpp
|
|
ui/UILayout.cpp
|
|
ui/UILayoutManager.cpp
|
|
ui/UILayoutParameter.cpp
|
|
ui/UIListView.cpp
|
|
ui/UILoadingBar.cpp
|
|
ui/UIPageView.cpp
|
|
ui/UIPageViewIndicator.cpp
|
|
ui/UIRelativeBox.cpp
|
|
ui/UIRichText.cpp
|
|
ui/UIScale9Sprite.cpp
|
|
ui/UIScrollView.cpp
|
|
ui/UIScrollViewBar.cpp
|
|
ui/UISlider.cpp
|
|
ui/UIText.cpp
|
|
ui/UITextAtlas.cpp
|
|
ui/UITextBMFont.cpp
|
|
ui/UITextField.cpp
|
|
ui/UIVBox.cpp
|
|
ui/UIWidget.cpp
|
|
ui/UIEditBox/UIEditBox.cpp
|
|
ui/UILayoutComponent.cpp
|
|
ui/UIEditBox/UIEditBoxImpl-common.cpp
|
|
ui/UITabControl.cpp
|
|
)
|