if(APPLE)
    set(_AX_BASE_SPECIFIC_SRC
        base/Controller-apple.mm
        )

elseif(ANDROID)
    set(_AX_BASE_SPECIFIC_SRC
        base/Controller-android.cpp
        )
elseif(LINUX OR WINDOWS)
    set(_AX_BASE_SPECIFIC_SRC
        base/Controller-linux-win32.cpp
        )
endif()

set(_AX_BASE_HEADER
    base/astc.h
    base/pvr.h
    base/format.h
    base/Value.h
    base/EventListenerMouse.h
    base/atitc.h
    base/EventTouch.h
    base/Data.h
    base/Macros.h
    base/EventAcceleration.h
    base/EventListenerKeyboard.h
    base/Controller.h
    base/Touch.h
    base/base64.h
    base/EventListenerController.h
    base/s3tc.h
    base/etc1.h
    base/etc2.h
    base/GameController.h
    base/Console.h
    base/Constants.h
    base/Event.h
    base/Types.h
    base/Enums.h
    base/AsyncTaskPool.h
    base/Random.h
    base/Ref.h
    base/Profiling.h
    base/ObjectFactory.h
    base/Properties.h
    base/Vector.h
    base/EventCustom.h
    base/EventKeyboard.h
    base/NinePatchImageParser.h
    base/EventListenerCustom.h
    base/EventDispatcher.h
    base/Utils.h
    base/EventController.h
    base/RefPtr.h
    base/Director.h
    base/EventListenerFocus.h
    base/UserDefault.h
    base/Config.h
    base/FPSImages.h
    base/ZipUtils.h
    base/Map.h
    base/UTF8.h
    base/ScriptSupport.h
    base/EventFocus.h
    base/Configuration.h
    base/Protocols.h
    base/TGAlib.h
    base/EventMouse.h
    base/IMEDelegate.h
    base/NS.h
    base/AutoreleasePool.h
    base/StencilStateManager.h
    base/EventListenerTouch.h
    base/EventListenerAcceleration.h
    base/firePngData.h
    base/CArray.h
    base/EventListener.h
    base/Scheduler.h
    base/EventType.h
    base/IMEDispatcher.h
    )

set(_AX_BASE_SRC
    base/AsyncTaskPool.cpp
    base/AutoreleasePool.cpp
    base/Configuration.cpp
    base/Console.cpp
    base/Controller.cpp
    base/Data.cpp
    base/NinePatchImageParser.cpp
    base/Director.cpp
    base/Event.cpp
    base/EventAcceleration.cpp
    base/EventController.cpp
    base/EventCustom.cpp
    base/EventDispatcher.cpp
    base/EventFocus.cpp
    base/EventKeyboard.cpp
    base/EventListener.cpp
    base/EventListenerAcceleration.cpp
    base/EventListenerController.cpp
    base/EventListenerCustom.cpp
    base/EventListenerFocus.cpp
    base/EventListenerKeyboard.cpp
    base/EventListenerMouse.cpp
    base/EventListenerTouch.cpp
    base/EventMouse.cpp
    base/EventTouch.cpp
    base/IMEDispatcher.cpp
    base/NS.cpp
    base/Profiling.cpp
    base/Properties.cpp
    base/Ref.cpp
    base/Scheduler.cpp
    base/ScriptSupport.cpp
    base/Touch.cpp
    base/UserDefault.cpp
    base/Value.cpp
    base/ObjectFactory.cpp
    base/StencilStateManager.cpp
    base/TGAlib.cpp
    base/ZipUtils.cpp
    base/atitc.cpp
    base/base64.cpp
    base/CArray.cpp
    base/FPSImages.cpp
    base/Random.cpp
    base/Types.cpp
    base/UTF8.cpp
    base/Utils.cpp
    base/SimpleTimer.cpp
    base/etc1.cpp
    base/etc2.cpp
    base/pvr.cpp
    base/s3tc.cpp
    base/astc.cpp
    ${_AX_BASE_SPECIFIC_SRC}
    )