Demos (cmake): cmake: Add rain C++ demo.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sat Nov 6 13:44:43 UTC 2010


Module: Demos
Branch: cmake
Commit: cb7a6f28f2c172a0e00ec62cb57e390470794e5e
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=cb7a6f28f2c172a0e00ec62cb57e390470794e5e

Author: José Fonseca <jfonseca at vmware.com>
Date:   Sat Nov  6 13:44:21 2010 +0000

cmake: Add rain C++ demo.

---

 src/demos/CMakeLists.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/demos/CMakeLists.txt b/src/demos/CMakeLists.txt
index 26c6dfa..f1614fd 100644
--- a/src/demos/CMakeLists.txt
+++ b/src/demos/CMakeLists.txt
@@ -77,7 +77,9 @@ foreach (target ${targets})
 	add_executable (${target} ${target}.c)
 endforeach (target)
 
-install (TARGETS ${targets} DESTINATION demos)
+add_executable (rain rain.cxx particles.cxx)
+
+install (TARGETS ${targets} rain DESTINATION demos)
 
 file (GLOB data *.dat)
 




More information about the mesa-commit mailing list