From ce7355f9ed85348a925d311dbdcea26276b994d0 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Sun, 9 Oct 2011 07:35:22 -0700 Subject: [PATCH] Windows: fix examples build to look for ispc.exe in ../.. as well --- examples/aobench/aobench.vcxproj | 8 ++++++-- .../aobench_instrumented/aobench_instrumented.vcxproj | 4 ++++ examples/deferred/deferred_shading.vcxproj | 4 ++++ examples/mandelbrot/mandelbrot.vcxproj | 6 +++++- examples/mandelbrot_tasks/mandelbrot_tasks.vcxproj | 4 ++++ examples/noise/noise.vcxproj | 4 ++++ examples/options/options.vcxproj | 4 ++++ examples/rt/rt.vcxproj | 4 ++++ examples/simple/simple.vcxproj | 4 ++++ examples/stencil/stencil.vcxproj | 4 ++++ examples/volume_rendering/volume.vcxproj | 6 +++++- 11 files changed, 48 insertions(+), 4 deletions(-) diff --git a/examples/aobench/aobench.vcxproj b/examples/aobench/aobench.vcxproj index 5d61f0bb..58c947dc 100644 --- a/examples/aobench/aobench.vcxproj +++ b/examples/aobench/aobench.vcxproj @@ -1,4 +1,4 @@ - + @@ -86,15 +86,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ExecutablePath);$(ProjectDir)..\.. false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) @@ -169,4 +173,4 @@ - + \ No newline at end of file diff --git a/examples/aobench_instrumented/aobench_instrumented.vcxproj b/examples/aobench_instrumented/aobench_instrumented.vcxproj index 3012e236..6917c302 100644 --- a/examples/aobench_instrumented/aobench_instrumented.vcxproj +++ b/examples/aobench_instrumented/aobench_instrumented.vcxproj @@ -85,15 +85,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/deferred/deferred_shading.vcxproj b/examples/deferred/deferred_shading.vcxproj index 9b429120..9a2a64bf 100755 --- a/examples/deferred/deferred_shading.vcxproj +++ b/examples/deferred/deferred_shading.vcxproj @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/mandelbrot/mandelbrot.vcxproj b/examples/mandelbrot/mandelbrot.vcxproj index 2365f5d8..7b78d1dd 100644 --- a/examples/mandelbrot/mandelbrot.vcxproj +++ b/examples/mandelbrot/mandelbrot.vcxproj @@ -1,4 +1,4 @@ - + @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/mandelbrot_tasks/mandelbrot_tasks.vcxproj b/examples/mandelbrot_tasks/mandelbrot_tasks.vcxproj index 86bf7292..794869af 100644 --- a/examples/mandelbrot_tasks/mandelbrot_tasks.vcxproj +++ b/examples/mandelbrot_tasks/mandelbrot_tasks.vcxproj @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/noise/noise.vcxproj b/examples/noise/noise.vcxproj index 4ccbe588..4e983759 100644 --- a/examples/noise/noise.vcxproj +++ b/examples/noise/noise.vcxproj @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/options/options.vcxproj b/examples/options/options.vcxproj index e776dc98..094eb19e 100644 --- a/examples/options/options.vcxproj +++ b/examples/options/options.vcxproj @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/rt/rt.vcxproj b/examples/rt/rt.vcxproj index d7f2f775..4cfefb81 100644 --- a/examples/rt/rt.vcxproj +++ b/examples/rt/rt.vcxproj @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/simple/simple.vcxproj b/examples/simple/simple.vcxproj index 162b6c45..65af97bb 100644 --- a/examples/simple/simple.vcxproj +++ b/examples/simple/simple.vcxproj @@ -88,15 +88,19 @@ ispc -O2 %(Filename).ispc -o $(TargetDir)%(Filename).obj -h $(TargetDir)%(Filena true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/stencil/stencil.vcxproj b/examples/stencil/stencil.vcxproj index 0213c492..ce5d7979 100644 --- a/examples/stencil/stencil.vcxproj +++ b/examples/stencil/stencil.vcxproj @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) diff --git a/examples/volume_rendering/volume.vcxproj b/examples/volume_rendering/volume.vcxproj index 1531d4e5..12298017 100644 --- a/examples/volume_rendering/volume.vcxproj +++ b/examples/volume_rendering/volume.vcxproj @@ -1,4 +1,4 @@ - + @@ -64,15 +64,19 @@ true + $(ProjectDir)..\..;$(ExecutablePath) true + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath) false + $(ProjectDir)..\..;$(ExecutablePath)