mirror of https://github.com/axmolengine/axmol.git
make test can compile on wophone and airplay.
This commit is contained in:
parent
f8dc140840
commit
323c065934
|
@ -83,7 +83,11 @@ THE SOFTWARE.
|
|||
#include "CCTouchDispatcher.h"
|
||||
#include "CCDrawingPrimitives.h"
|
||||
#include "CCScheduler.h"
|
||||
|
||||
// havn't implement on wophone and airplay
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WOPHONE) && (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
#include "CCTextFieldTTF.h"
|
||||
#endif
|
||||
|
||||
//
|
||||
// cocoa includes
|
||||
|
|
|
@ -64,8 +64,10 @@ static TestScene* CreateTestScene(int nIdx)
|
|||
#endif
|
||||
case TEST_LABEL:
|
||||
pScene = new AtlasTestScene(); break;
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WOPHONE) && (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
case TEST_TEXT_INPUT:
|
||||
pScene = new TextInputTestScene(); break;
|
||||
#endif
|
||||
case TEST_SPRITE:
|
||||
pScene = new SpriteTestScene(); break;
|
||||
case TEST_SCHEDULER:
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
#include "TileMapTest/TileMapTest.h"
|
||||
#include "IntervalTest/IntervalTest.h"
|
||||
#include "LabelTest/LabelTest.h"
|
||||
// havn't implement on wophone and airplay
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WOPHONE) && (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
#include "TextInputTest/TextInputTest.h"
|
||||
#endif
|
||||
#include "SpriteTest/SpriteTest.h"
|
||||
#include "SchedulerTest/SchedulerTest.h"
|
||||
#include "RenderTextureTest/RenderTextureTest.h"
|
||||
|
@ -69,7 +72,10 @@ enum
|
|||
TEST_INTERVAL,
|
||||
TEST_CHIPMUNK,
|
||||
TEST_LABEL,
|
||||
// havn't implement on wophone and airplay
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WOPHONE) && (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
TEST_TEXT_INPUT,
|
||||
#endif
|
||||
TEST_SPRITE,
|
||||
TEST_SCHEDULER,
|
||||
TEST_RENDERTEXTURE,
|
||||
|
@ -109,7 +115,10 @@ const std::string g_aTestNames[TESTS_COUNT] = {
|
|||
"IntervalTest",
|
||||
"ChipmunkTest",
|
||||
"LabelTest",
|
||||
// havn't implement on wophone and airplay
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WOPHONE) && (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||
"TextInputTest",
|
||||
#endif
|
||||
"SpriteTest",
|
||||
"SchdulerTest",
|
||||
"RenderTextureTest",
|
||||
|
|
Loading…
Reference in New Issue