mirror of https://github.com/axmolengine/axmol.git
45 lines
1.2 KiB
CMake
45 lines
1.2 KiB
CMake
if(WINDOWS AND NOT BUILD_STATIC)
|
|
ADD_DEFINITIONS (-D_USREXDLL)
|
|
endif()
|
|
|
|
set(COCOS_EXTENSIONS_SRC
|
|
assets-manager/AssetsManager.cpp
|
|
GUI/CCControlExtension/CCControl.cpp
|
|
GUI/CCControlExtension/CCControlButton.cpp
|
|
GUI/CCControlExtension/CCControlColourPicker.cpp
|
|
GUI/CCControlExtension/CCControlHuePicker.cpp
|
|
GUI/CCControlExtension/CCControlPotentiometer.cpp
|
|
GUI/CCControlExtension/CCControlSaturationBrightnessPicker.cpp
|
|
GUI/CCControlExtension/CCControlSlider.cpp
|
|
GUI/CCControlExtension/CCControlStepper.cpp
|
|
GUI/CCControlExtension/CCControlSwitch.cpp
|
|
GUI/CCControlExtension/CCControlUtils.cpp
|
|
GUI/CCControlExtension/CCInvocation.cpp
|
|
GUI/CCControlExtension/CCScale9Sprite.cpp
|
|
GUI/CCEditBox/CCEditBox.cpp
|
|
GUI/CCEditBox/CCEditBoxImplAndroid.cpp
|
|
GUI/CCEditBox/CCEditBoxImplNone.cpp
|
|
GUI/CCEditBox/CCEditBoxImplWin.cpp
|
|
GUI/CCScrollView/CCScrollView.cpp
|
|
GUI/CCScrollView/CCTableView.cpp
|
|
GUI/CCScrollView/CCTableViewCell.cpp
|
|
physics-nodes/CCPhysicsDebugNode.cpp
|
|
physics-nodes/CCPhysicsSprite.cpp
|
|
)
|
|
|
|
if(WIN32)
|
|
ADD_DEFINITIONS(-DUNICODE -D_UNICODE)
|
|
|
|
set(PLATFORM_EXTENSIONS_SRC
|
|
proj.win32/Win32InputBox.cpp
|
|
)
|
|
elseif(APPLE)
|
|
|
|
else()
|
|
|
|
endif()
|
|
|
|
include_directories(
|
|
..
|
|
)
|