mirror of https://github.com/axmolengine/axmol.git
[airplay] After exclude CurlTest & CCUserDefault, UserDefaultTest, HelloWorld & Tests can be compiled successfully now.
This commit is contained in:
parent
4da5a0eb71
commit
c7fb183dcb
|
@ -46,7 +46,10 @@ THE SOFTWARE.
|
|||
#include "CCGL.h"
|
||||
#include "CCAnimationCache.h"
|
||||
#include "CCTouch.h"
|
||||
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
#include "CCUserDefault.h"
|
||||
#endif
|
||||
|
||||
#if CC_ENABLE_PROFILERS
|
||||
#include "support/CCProfiling.h"
|
||||
|
@ -570,8 +573,10 @@ void CCDirector::purgeDirector()
|
|||
CCActionManager::sharedManager()->purgeSharedManager();
|
||||
CCScheduler::purgeSharedScheduler();
|
||||
CCTextureCache::purgeSharedTextureCache();
|
||||
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
CCUserDefault::purgeSharedUserDefault();
|
||||
|
||||
#endif
|
||||
// OpenGL view
|
||||
m_pobOpenGLView->release();
|
||||
m_pobOpenGLView = NULL;
|
||||
|
|
|
@ -98,8 +98,16 @@ files
|
|||
|
||||
("../support")
|
||||
[support]
|
||||
"*.h"
|
||||
"*.cpp"
|
||||
"base64.cpp"
|
||||
"base64.h"
|
||||
"CCArray.cpp"
|
||||
"CCPointExtension.cpp"
|
||||
"CCProfiling.cpp"
|
||||
"CCProfiling.h"
|
||||
"ccUtils.cpp"
|
||||
"ccUtils.h"
|
||||
"TransformUtils.cpp"
|
||||
"TransformUtils.h"
|
||||
|
||||
("../support/data_support")
|
||||
[support/data_support]
|
||||
|
|
|
@ -104,9 +104,9 @@ static TestScene* CreateTestScene(int nIdx)
|
|||
pScene = new PerformanceTestScene(); break;
|
||||
case TEST_ZWOPTEX:
|
||||
pScene = new ZwoptexTestScene(); break;
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
case TEST_CURL:
|
||||
pScene = new CurlTestScene(); break;
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
case TEST_USERDEFAULT:
|
||||
pScene = new UserDefaultTestScene(); break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue