git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
18 lines
326 B
C++
18 lines
326 B
C++
|
|
#if defined(__ANDROID__) || defined(ANDROID)
|
|
#include <android_native_app_glue.h>
|
|
#define CATCH_CONFIG_RUNNER
|
|
#include "catch.hpp"
|
|
void android_main(struct android_app* stateMain)
|
|
{
|
|
app_dummy();
|
|
char* cmd[] = {"gainputtest"};
|
|
Catch::Session().run( 1, cmd );
|
|
}
|
|
#else
|
|
#define CATCH_CONFIG_MAIN
|
|
#include "catch.hpp"
|
|
#endif
|
|
|
|
|