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 "CCGL.h"
|
||||||
#include "CCAnimationCache.h"
|
#include "CCAnimationCache.h"
|
||||||
#include "CCTouch.h"
|
#include "CCTouch.h"
|
||||||
|
|
||||||
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||||
#include "CCUserDefault.h"
|
#include "CCUserDefault.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CC_ENABLE_PROFILERS
|
#if CC_ENABLE_PROFILERS
|
||||||
#include "support/CCProfiling.h"
|
#include "support/CCProfiling.h"
|
||||||
|
@ -570,8 +573,10 @@ void CCDirector::purgeDirector()
|
||||||
CCActionManager::sharedManager()->purgeSharedManager();
|
CCActionManager::sharedManager()->purgeSharedManager();
|
||||||
CCScheduler::purgeSharedScheduler();
|
CCScheduler::purgeSharedScheduler();
|
||||||
CCTextureCache::purgeSharedTextureCache();
|
CCTextureCache::purgeSharedTextureCache();
|
||||||
|
|
||||||
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||||
CCUserDefault::purgeSharedUserDefault();
|
CCUserDefault::purgeSharedUserDefault();
|
||||||
|
#endif
|
||||||
// OpenGL view
|
// OpenGL view
|
||||||
m_pobOpenGLView->release();
|
m_pobOpenGLView->release();
|
||||||
m_pobOpenGLView = NULL;
|
m_pobOpenGLView = NULL;
|
||||||
|
|
|
@ -98,8 +98,16 @@ files
|
||||||
|
|
||||||
("../support")
|
("../support")
|
||||||
[support]
|
[support]
|
||||||
"*.h"
|
"base64.cpp"
|
||||||
"*.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")
|
||||||
[support/data_support]
|
[support/data_support]
|
||||||
|
|
|
@ -104,9 +104,9 @@ static TestScene* CreateTestScene(int nIdx)
|
||||||
pScene = new PerformanceTestScene(); break;
|
pScene = new PerformanceTestScene(); break;
|
||||||
case TEST_ZWOPTEX:
|
case TEST_ZWOPTEX:
|
||||||
pScene = new ZwoptexTestScene(); break;
|
pScene = new ZwoptexTestScene(); break;
|
||||||
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||||
case TEST_CURL:
|
case TEST_CURL:
|
||||||
pScene = new CurlTestScene(); break;
|
pScene = new CurlTestScene(); break;
|
||||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
|
||||||
case TEST_USERDEFAULT:
|
case TEST_USERDEFAULT:
|
||||||
pScene = new UserDefaultTestScene(); break;
|
pScene = new UserDefaultTestScene(); break;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue