axmol/cocos/base/CMakeLists.txt

138 lines
3.2 KiB
CMake

if(APPLE)
set(COCOS_BASE_SPECIFIC_SRC
base/CCController-apple.mm
)
elseif(ANDROID)
set(COCOS_BASE_SPECIFIC_SRC
base/CCController-android.cpp
)
elseif(LINUX OR WINDOWS)
set(COCOS_BASE_SPECIFIC_SRC
base/CCController-linux-win32.cpp
)
endif()
set(COCOS_BASE_HEADER
base/astc.h
base/pvr.h
base/CCValue.h
base/CCEventListenerMouse.h
base/atitc.h
base/utlist.h
base/CCEventTouch.h
base/CCData.h
base/ccMacros.h
base/CCEventAcceleration.h
base/CCEventListenerKeyboard.h
base/CCController.h
base/CCTouch.h
base/base64.h
base/CCEventListenerController.h
base/s3tc.h
base/etc1.h
base/CCGameController.h
base/CCConsole.h
base/ccConstants.h
base/CCEvent.h
base/ccTypes.h
base/CCAsyncTaskPool.h
base/ccRandom.h
base/CCRef.h
base/CCProfiling.h
base/ObjectFactory.h
base/CCProperties.h
base/CCVector.h
base/CCEventCustom.h
base/CCEventKeyboard.h
base/CCNinePatchImageParser.h
base/CCEventListenerCustom.h
base/CCEventDispatcher.h
base/uthash.h
base/ccUtils.h
base/CCEventController.h
base/CCRefPtr.h
base/CCDirector.h
base/CCEventListenerFocus.h
base/CCUserDefault.h
base/ccConfig.h
base/ccFPSImages.h
base/ZipUtils.h
base/CCMap.h
base/ccUTF8.h
base/CCScriptSupport.h
base/CCEventFocus.h
base/CCConfiguration.h
base/CCProtocols.h
base/TGAlib.h
base/CCEventMouse.h
base/CCIMEDelegate.h
base/CCNS.h
base/CCAutoreleasePool.h
base/CCStencilStateManager.h
base/CCEventListenerTouch.h
base/CCEventListenerAcceleration.h
base/firePngData.h
base/ccCArray.h
base/CCEventListener.h
base/CCScheduler.h
base/CCEventType.h
base/CCIMEDispatcher.h
)
set(COCOS_BASE_SRC
base/CCAsyncTaskPool.cpp
base/CCAutoreleasePool.cpp
base/CCConfiguration.cpp
base/CCConsole.cpp
base/CCController.cpp
base/CCData.cpp
base/CCNinePatchImageParser.cpp
base/CCDirector.cpp
base/CCEvent.cpp
base/CCEventAcceleration.cpp
base/CCEventController.cpp
base/CCEventCustom.cpp
base/CCEventDispatcher.cpp
base/CCEventFocus.cpp
base/CCEventKeyboard.cpp
base/CCEventListener.cpp
base/CCEventListenerAcceleration.cpp
base/CCEventListenerController.cpp
base/CCEventListenerCustom.cpp
base/CCEventListenerFocus.cpp
base/CCEventListenerKeyboard.cpp
base/CCEventListenerMouse.cpp
base/CCEventListenerTouch.cpp
base/CCEventMouse.cpp
base/CCEventTouch.cpp
base/CCIMEDispatcher.cpp
base/CCNS.cpp
base/CCProfiling.cpp
base/CCProperties.cpp
base/CCRef.cpp
base/CCScheduler.cpp
base/CCScriptSupport.cpp
base/CCTouch.cpp
base/CCUserDefault.cpp
base/CCValue.cpp
base/ObjectFactory.cpp
base/CCStencilStateManager.cpp
base/TGAlib.cpp
base/ZipUtils.cpp
base/atitc.cpp
base/base64.cpp
base/ccCArray.cpp
base/ccFPSImages.c
base/ccRandom.cpp
base/ccTypes.cpp
base/ccUTF8.cpp
base/ccUtils.cpp
base/etc1.cpp
base/pvr.cpp
base/s3tc.cpp
base/astc.cpp
${COCOS_BASE_SPECIFIC_SRC}
)