Fix build paths and enable optimization for device build
@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
if %DEBUG% equ 1 (
set DEVICEOPTS=-g
) else (
- set DEVICEOPTS=
+ set DEVICEOPTS=-O2
)
if %PRE% equ 1 (
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>