Permalink
Browse files

allow "tex" image loader by default, and add DEBUG=1 for showing the …

…log in the console, only in debug mode.
  • Loading branch information...
1 parent 6af1a56 commit 4fbea35e17b782a5d80ef667d6d904f3641dc377 @tito tito committed Mar 7, 2013
Showing with 5 additions and 2 deletions.
  1. +4 −2 tools/templates/main.m
  2. +1 −0 tools/templates/template.xcodeproj/project.pbxproj
View
@@ -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();
@@ -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\"",

0 comments on commit 4fbea35

Please sign in to comment.