Browse Source

Fixed missing semicolon in Sprite.h
Clear the arch environment variable in Visual Studio CMake bat files, so that it is possible to reconfigure the build as 32bit in the same command prompt session by rerunning CMake bat without the "Win64" flag.

Lasse Öörni 12 years ago
parent
commit
ff35d0fff2
4 changed files with 10 additions and 7 deletions
  1. 1 1
      Engine/UI/Sprite.h
  2. 3 2
      cmake_vs2008.bat
  3. 3 2
      cmake_vs2010.bat
  4. 3 2
      cmake_vs2012.bat

+ 1 - 1
Engine/UI/Sprite.h

@@ -31,7 +31,7 @@ namespace Urho3D
 /// %UI element which allows sub-pixel positioning and size, as well as rotation. Only other Sprites should be added as child elements.
 /// %UI element which allows sub-pixel positioning and size, as well as rotation. Only other Sprites should be added as child elements.
 class Sprite : public UIElement
 class Sprite : public UIElement
 {
 {
-    OBJECT(Sprite)
+    OBJECT(Sprite);
     
     
 public:
 public:
     /// Construct.
     /// Construct.

+ 3 - 2
cmake_vs2008.bat

@@ -1,3 +1,4 @@
-del /F CMakeCache.txt
-if "%1" == "Win64" set "arch= %1"
+@del /F CMakeCache.txt
+@set "arch="
+@if "%1" == "Win64" set "arch= %1"
 cmake -G "Visual Studio 9 2008%arch%"
 cmake -G "Visual Studio 9 2008%arch%"

+ 3 - 2
cmake_vs2010.bat

@@ -1,3 +1,4 @@
-del /F CMakeCache.txt
-if "%1" == "Win64" set "arch= %1"
+@del /F CMakeCache.txt
+@set "arch="
+@if "%1" == "Win64" set "arch= %1"
 cmake -G "Visual Studio 10%arch%"
 cmake -G "Visual Studio 10%arch%"

+ 3 - 2
cmake_vs2012.bat

@@ -1,3 +1,4 @@
-del /F CMakeCache.txt
-if "%1" == "Win64" set "arch= %1"
+@del /F CMakeCache.txt
+@set "arch="
+@if "%1" == "Win64" set "arch= %1"
 cmake -G "Visual Studio 11%arch%"
 cmake -G "Visual Studio 11%arch%"