1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

CMake: update all CMakeLists to include actual sources and headers

This make it easier to use project with newer CMake and Qt Creator.
I decided against using GLOB since we don't rename files that much.
This commit is contained in:
Arseniy Shestakov
2017-06-29 02:03:37 +03:00
parent 2ce02202c1
commit fb19a3a068
10 changed files with 349 additions and 131 deletions

View File

@ -9,6 +9,7 @@
*/
#include "CAndroidVMHelper.h"
#ifdef VCMI_ANDROID
static JavaVM * vmCache = nullptr;
/// cached java classloader so that we can find our classes from other threads
@ -103,3 +104,4 @@ extern "C" JNIEXPORT void JNICALL Java_eu_vcmi_vcmi_NativeMethods_initClassloade
vcmiClassLoader = (jclass) env->NewGlobalRef(env->CallObjectMethod(anyVCMIClass, getClassLoaderMethod));
vcmiFindClassMethod = env->GetMethodID(classLoaderClass, "findClass", "(Ljava/lang/String;)Ljava/lang/Class;");
}
#endif