Files
kaizen/test/test.cpp
Simone 4e42229bdd Squashed 'external/gainput/' content from commit 2be0a50
git-subtree-dir: external/gainput
git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
2024-01-22 08:51:55 +01:00

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