Browse Source

Removed no-warn-unused-cli option as it hid typo error in passing build options.

Wei Tjong Yao 12 years ago
parent
commit
3fd0638d62

+ 1 - 1
Readme.txt

@@ -366,7 +366,7 @@ cmake_xxxx batch files or shell scripts.
 |-DUSE_MKLINK=1        |to use mklink command to create symbolic links (Windows|
 |                      |  Vista and above only)                                |
 |-DSCP_TO_TARGET=      |to automatically scp executables to target system (only|
-|  usr\@tgt:remote-loc | applicable for cross compiling Raspberry Pi on a      |
+|  usr@tgt:remote-loc  | applicable for cross compiling Raspberry Pi on a      |
 |                      | build/host machine), SSH digital key must be setup    |
 |                      | first for this to work                                |
 |-DCMAKE_BUILD_TYPE=   |to tell CMake which build configuration to be          |

+ 1 - 1
Source/ThirdParty/SDL/src/video/raspi/SDL_raspiwindow.c

@@ -82,7 +82,7 @@ RASPI_CreateWindow(_THIS, SDL_Window *window)
     src_rect.width = mode.w << 16;
     src_rect.height = mode.h << 16;
 
-    /* Through trial and error, these combination seems to work well for Urho3D engine */
+    /* Through trial and error, this combination seems to work well for Urho3D engine */
     alpha.flags = DISPMANX_FLAGS_ALPHA_FIXED_ALL_PIXELS;
     alpha.opacity = 255;
     alpha.mask = 0;

+ 1 - 1
Source/ThirdParty/SDL/src/video/x11/SDL_x11opengles.c

@@ -303,7 +303,7 @@ X11_GLES_GetVisual(_THIS, Display * display, int screen)
 
         vinfo = XGetVisualInfo(display,
                                VisualScreenMask,
-                                                          &vi_in, &out_count);
+                               &vi_in, &out_count);
     }
 
     return _this->gles_data->egl_visualinfo = vinfo;

+ 1 - 1
cmake_gcc.sh

@@ -27,7 +27,7 @@ GENERATOR="Unix Makefiles"
 [[ $( uname -p ) =~ ^armv6 ]] && PLATFORM="-DRASPI=1"
 
 # Create project with the respective Cmake generators
-OPT=--no-warn-unused-cli
+OPT=
 msg "Native build" && cmake -E chdir Build cmake $OPT -G $GENERATOR $PLATFORM $SOURCE $@
 [ $RASPI_TOOL ] && msg "Raspberry Pi build" && cmake -E chdir raspi-Build cmake $OPT -G $GENERATOR -DRASPI=1 -DCMAKE_TOOLCHAIN_FILE=$SOURCE/CMake/Toolchains/raspberrypi.toolchain.cmake $SOURCE $@
 [ $ANDROID_NDK ] && msg "Android build" && cmake -E chdir android-Build cmake $OPT -G $GENERATOR -DANDROID=1 -DCMAKE_TOOLCHAIN_FILE=$SOURCE/CMake/Toolchains/android.toolchain.cmake -DLIBRARY_OUTPUT_PATH_ROOT=. $SOURCE $@