[airplay] After exclude CurlTest & CCUserDefault, UserDefaultTest, HelloWorld & Tests can be compiled successfully now.

This commit is contained in:
Walzer 2011-05-12 21:58:11 +08:00
parent 4da5a0eb71
commit c7fb183dcb
3 changed files with 17 additions and 4 deletions

View File

@ -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;

View File

@ -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]

View File

@ -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