Fix build paths and enable optimization for device build
authorChip Black <bytex64@bytex64.net>
Thu, 19 May 2011 07:00:02 +0000 (02:00 -0500)
committerChip Black <bytex64@bytex64.net>
Thu, 19 May 2011 07:00:02 +0000 (02:00 -0500)
buildit.cmd
swarm.vcproj

index d88cc18..4f9a10b 100644 (file)
@@ -3,7 +3,7 @@
 @rem Use Pixi to allow running on either device
 set PRE=0
 set PIXI=1
-set DEBUG=1
+set DEBUG=0
 
 @rem List your source files here
 set SRC=src\swarm.cpp src\Pixel.cpp
@@ -19,7 +19,7 @@ if %PRE% equ 0 if %PIXI% equ 0 goto :END
 if %DEBUG% equ 1 (
    set DEVICEOPTS=-g
 ) else (
-   set DEVICEOPTS=
+   set DEVICEOPTS=-O2
 )
 
 if %PRE% equ 1 (
index d9502e0..d70161d 100644 (file)
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
                        <File
-                               RelativePath="..\src\Pixel.cpp"
+                               RelativePath=".\src\Pixel.cpp"
                                >
                        </File>
                        <File
-                               RelativePath="..\src\swarm.cpp"
+                               RelativePath=".\src\swarm.cpp"
                                >
                        </File>
                </Filter>
                        UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
                        >
                        <File
-                               RelativePath="..\src\Pixel.h"
+                               RelativePath=".\src\Pixel.h"
                                >
                        </File>
                </Filter>