Răsfoiți Sursa

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 ani în urmă
părinte
comite
ff35d0fff2
4 a modificat fișierele cu 10 adăugiri și 7 ștergeri
  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.
 class Sprite : public UIElement
 {
-    OBJECT(Sprite)
+    OBJECT(Sprite);
     
 public:
     /// 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%"

+ 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%"

+ 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%"