commit:bdad36145ef42f2a44b58cc544846b4b34a6ca4f
author:Chip Black
committer:Chip Black
date:Thu May 19 02:00:02 2011 -0500
parents:537d99f7362abc5b8e07ca8ad2567f4c1b98bb2c
Fix build paths and enable optimization for device build
diff --git a/buildit.cmd b/buildit.cmd
line changes: +2/-2
index d88cc18..4f9a10b
--- a/buildit.cmd
+++ b/buildit.cmd
@@ -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 (

diff --git a/swarm.vcproj b/swarm.vcproj
line changes: +3/-3
index d9502e0..d70161d
--- a/swarm.vcproj
+++ b/swarm.vcproj
@@ -180,11 +180,11 @@
 			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>
@@ -194,7 +194,7 @@
 			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
 			>
 			<File
-				RelativePath="..\src\Pixel.h"
+				RelativePath=".\src\Pixel.h"
 				>
 			</File>
 		</Filter>