From 597d9f62b9a5518f91e089a730eea30d72543d8c Mon Sep 17 00:00:00 2001
From: Andreas Naumann <andreas.naumann@tu-dresden.de>
Date: Sat, 31 Mar 2012 03:52:02 +0000
Subject: [PATCH] need install command for testing

---
 demo/CMakeLists.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt
index fbc2bc67..b9da147e 100644
--- a/demo/CMakeLists.txt
+++ b/demo/CMakeLists.txt
@@ -29,39 +29,51 @@ set(laplace src/laplace.cc)
 
 add_executable("ball" ${ball})
 target_link_libraries("ball" ${BASIS_LIBS})
+install(TARGETS ball RUNTIME DESTINATION bin)
 
 add_executable("bunny" ${bunny})
 target_link_libraries("bunny" ${BASIS_LIBS})
+install(TARGETS bunny RUNTIME DESTINATION bin)
 
 add_executable("ellipt" ${ellipt})
 target_link_libraries("ellipt" ${BASIS_LIBS})
+install(TARGETS ellipt RUNTIME DESTINATION bin)
 
 add_executable("heat" ${heat})
 target_link_libraries("heat" ${BASIS_LIBS})
+install(TARGETS heat RUNTIME DESTINATION bin)
 
 add_executable("neumann" ${neumann})
 target_link_libraries("neumann" ${BASIS_LIBS})
+install(TARGETS neumann RUNTIME DESTINATION bin)
 
 add_executable("nonlin" ${nonlin})
 target_link_libraries("nonlin" ${BASIS_LIBS})
+install(TARGETS nonlin ball RUNTIME DESTINATION bin)
 
 add_executable("parametric" ${parametric})
 target_link_libraries("parametric" ${BASIS_LIBS})
+install(TARGETS parametric RUNTIME DESTINATION bin)
 
 add_executable("periodic" ${periodic})
 target_link_libraries("periodic" ${BASIS_LIBS})
+install(TARGETS periodic RUNTIME DESTINATION bin)
 
 add_executable("sphere" ${sphere})
 target_link_libraries("sphere" ${BASIS_LIBS})
+install(TARGETS sphere RUNTIME DESTINATION bin)
 
 add_executable("torus" ${torus})
 target_link_libraries("torus" ${BASIS_LIBS})
+install(TARGETS torus RUNTIME DESTINATION bin)
 
 add_executable("vecellipt" ${vecellipt})
 target_link_libraries("vecellipt" ${BASIS_LIBS})
+install(TARGETS vecellipt RUNTIME DESTINATION bin)
 
 add_executable("vecheat" ${vecheat})
 target_link_libraries("vecheat" ${BASIS_LIBS})
+install(TARGETS vecheat RUNTIME DESTINATION bin)
 
 # find tools-directory
 find_path(TOOLS_DIR NAMES "baseProblem/BaseProblem.h" "diffuseDomain/Helpers.h" DOC "Path to tools directory in AMDiS-trunk dir" )
-- 
GitLab