2013-11-02 18:07:34 +08:00
|
|
|
set(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/CCEditBoxImplTizen.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
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
..
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(extensions STATIC
|
|
|
|
${EXTENSIONS_SRC}
|
|
|
|
)
|
2013-11-04 14:49:42 +08:00
|
|
|
|
|
|
|
set_target_properties(extensions
|
|
|
|
PROPERTIES
|
2014-01-07 15:44:36 +08:00
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
2013-11-04 14:49:42 +08:00
|
|
|
)
|
|
|
|
|