allow "tex" image loader by default, and add DEBUG=1 for showing the log in the console, only in debug mode.
This commit is contained in:
parent
6af1a56be6
commit
4fbea35e17
2 changed files with 5 additions and 2 deletions
|
@ -32,10 +32,12 @@ int main(int argc, char *argv[]) {
|
||||||
putenv("KIVY_BUILD=ios");
|
putenv("KIVY_BUILD=ios");
|
||||||
putenv("KIVY_NO_CONFIG=1");
|
putenv("KIVY_NO_CONFIG=1");
|
||||||
putenv("KIVY_NO_FILELOG=1");
|
putenv("KIVY_NO_FILELOG=1");
|
||||||
putenv("KIVY_NO_CONSOLELOG=1");
|
|
||||||
putenv("KIVY_WINDOW=sdl");
|
putenv("KIVY_WINDOW=sdl");
|
||||||
putenv("KIVY_IMAGE=imageio");
|
putenv("KIVY_IMAGE=imageio,tex");
|
||||||
putenv("KIVY_AUDIO=sdl");
|
putenv("KIVY_AUDIO=sdl");
|
||||||
|
#if DEBUG
|
||||||
|
putenv("KIVY_NO_CONSOLELOG=1");
|
||||||
|
#endif
|
||||||
|
|
||||||
// Export orientation preferences for Kivy
|
// Export orientation preferences for Kivy
|
||||||
export_orientation();
|
export_orientation();
|
||||||
|
|
|
@ -271,6 +271,7 @@
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "";
|
GCC_PREFIX_HEADER = "";
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||||
HEADER_SEARCH_PATHS = (
|
HEADER_SEARCH_PATHS = (
|
||||||
"\"$(PROJECT_DIR)/../build/include\"",
|
"\"$(PROJECT_DIR)/../build/include\"",
|
||||||
|
|
Loading…
Reference in a new issue