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:
Mathieu Virbel 2013-03-08 00:07:55 +01:00
parent 6af1a56be6
commit 4fbea35e17
2 changed files with 5 additions and 2 deletions

View file

@ -32,10 +32,12 @@ int main(int argc, char *argv[]) {
putenv("KIVY_BUILD=ios");
putenv("KIVY_NO_CONFIG=1");
putenv("KIVY_NO_FILELOG=1");
putenv("KIVY_NO_CONSOLELOG=1");
putenv("KIVY_WINDOW=sdl");
putenv("KIVY_IMAGE=imageio");
putenv("KIVY_IMAGE=imageio,tex");
putenv("KIVY_AUDIO=sdl");
#if DEBUG
putenv("KIVY_NO_CONSOLELOG=1");
#endif
// Export orientation preferences for Kivy
export_orientation();

View file

@ -271,6 +271,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "";
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/../build/include\"",