From 74dc1b04a2fc4fd021f64e9c5bb7ce46286ac54b Mon Sep 17 00:00:00 2001
From: Andreas Naumann <andreas.naumann@tu-dresden.de>
Date: Wed, 1 Dec 2010 13:12:47 +0000
Subject: [PATCH] moving demo project implementation in shared library

---
 AMDiS/test/CMakeLists.txt                                       | 1 +
 AMDiS/test/datacreation/CMakeLists.txt                          | 2 +-
 AMDiS/test/{datacreation => demoimpl}/src/BallProject.cpp       | 0
 AMDiS/test/{datacreation => demoimpl}/src/BallProject.h         | 0
 AMDiS/test/{datacreation => demoimpl}/src/BunnyProject.cpp      | 0
 AMDiS/test/{datacreation => demoimpl}/src/BunnyProject.h        | 0
 AMDiS/test/{datacreation => demoimpl}/src/ElliptProject.cpp     | 0
 AMDiS/test/{datacreation => demoimpl}/src/ElliptProject.h       | 0
 AMDiS/test/{datacreation => demoimpl}/src/HeatProject.cpp       | 0
 AMDiS/test/{datacreation => demoimpl}/src/HeatProject.h         | 0
 AMDiS/test/{datacreation => demoimpl}/src/HeatProject.hh        | 0
 AMDiS/test/{datacreation => demoimpl}/src/NeumannProject.cpp    | 0
 AMDiS/test/{datacreation => demoimpl}/src/NeumannProject.h      | 0
 AMDiS/test/{datacreation => demoimpl}/src/ParametricProject.cpp | 0
 AMDiS/test/{datacreation => demoimpl}/src/ParametricProject.h   | 0
 AMDiS/test/{datacreation => demoimpl}/src/ParametricProject.hh  | 0
 AMDiS/test/{datacreation => demoimpl}/src/PeriodicProject.cpp   | 0
 AMDiS/test/{datacreation => demoimpl}/src/PeriodicProject.h     | 0
 AMDiS/test/{datacreation => demoimpl}/src/Project.h             | 0
 AMDiS/test/{datacreation => demoimpl}/src/ProjectList.cpp       | 0
 AMDiS/test/{datacreation => demoimpl}/src/SphereProject.cpp     | 0
 AMDiS/test/{datacreation => demoimpl}/src/SphereProject.h       | 0
 AMDiS/test/{datacreation => demoimpl}/src/TorusProject.h        | 0
 AMDiS/test/{datacreation => demoimpl}/src/VecelliptProject.cpp  | 0
 AMDiS/test/{datacreation => demoimpl}/src/VecelliptProject.h    | 0
 AMDiS/test/{datacreation => demoimpl}/src/creator_base.cpp      | 0
 26 files changed, 2 insertions(+), 1 deletion(-)
 rename AMDiS/test/{datacreation => demoimpl}/src/BallProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/BallProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/BunnyProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/BunnyProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/ElliptProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/ElliptProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/HeatProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/HeatProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/HeatProject.hh (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/NeumannProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/NeumannProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/ParametricProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/ParametricProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/ParametricProject.hh (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/PeriodicProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/PeriodicProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/Project.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/ProjectList.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/SphereProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/SphereProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/TorusProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/VecelliptProject.cpp (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/VecelliptProject.h (100%)
 rename AMDiS/test/{datacreation => demoimpl}/src/creator_base.cpp (100%)

diff --git a/AMDiS/test/CMakeLists.txt b/AMDiS/test/CMakeLists.txt
index 7304e8e8..5f6979a3 100644
--- a/AMDiS/test/CMakeLists.txt
+++ b/AMDiS/test/CMakeLists.txt
@@ -1,2 +1,3 @@
 project(tests)
+add_subdirectory(demoimpl)
 add_subdirectory(datacreation EXCLUDE_FROM_ALL)
diff --git a/AMDiS/test/datacreation/CMakeLists.txt b/AMDiS/test/datacreation/CMakeLists.txt
index 1f97ab09..7cd35571 100644
--- a/AMDiS/test/datacreation/CMakeLists.txt
+++ b/AMDiS/test/datacreation/CMakeLists.txt
@@ -12,7 +12,7 @@ project(testdatacreation)
 	set(BASENAME "${creatorsuffix_lower}")
 	configure_file(src/creator_base.cpp src/creator${creatorsuffix}.cpp @ONLY)
   	add_executable(creator${creatorsuffix} src/creator${creatorsuffix}.cpp src/ProjectList.cpp ${projectfile})
-	target_link_libraries(creator${creatorsuffix} ${AMDiS_LIBS} boost_filesystem)
+	target_link_libraries(creator${creatorsuffix} ${AMDiS_LIBS} demoimpl)
 	file(GLOB initfiles RELATIVE ${CMAKE_CURRENT_BINARY_DIR} init/${creatorsuffix_lower}*.dat*)
 	foreach(initfile ${initfiles})
 		get_filename_component(initfile_ext ${initfile} EXT)
diff --git a/AMDiS/test/datacreation/src/BallProject.cpp b/AMDiS/test/demoimpl/src/BallProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/BallProject.cpp
rename to AMDiS/test/demoimpl/src/BallProject.cpp
diff --git a/AMDiS/test/datacreation/src/BallProject.h b/AMDiS/test/demoimpl/src/BallProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/BallProject.h
rename to AMDiS/test/demoimpl/src/BallProject.h
diff --git a/AMDiS/test/datacreation/src/BunnyProject.cpp b/AMDiS/test/demoimpl/src/BunnyProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/BunnyProject.cpp
rename to AMDiS/test/demoimpl/src/BunnyProject.cpp
diff --git a/AMDiS/test/datacreation/src/BunnyProject.h b/AMDiS/test/demoimpl/src/BunnyProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/BunnyProject.h
rename to AMDiS/test/demoimpl/src/BunnyProject.h
diff --git a/AMDiS/test/datacreation/src/ElliptProject.cpp b/AMDiS/test/demoimpl/src/ElliptProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/ElliptProject.cpp
rename to AMDiS/test/demoimpl/src/ElliptProject.cpp
diff --git a/AMDiS/test/datacreation/src/ElliptProject.h b/AMDiS/test/demoimpl/src/ElliptProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/ElliptProject.h
rename to AMDiS/test/demoimpl/src/ElliptProject.h
diff --git a/AMDiS/test/datacreation/src/HeatProject.cpp b/AMDiS/test/demoimpl/src/HeatProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/HeatProject.cpp
rename to AMDiS/test/demoimpl/src/HeatProject.cpp
diff --git a/AMDiS/test/datacreation/src/HeatProject.h b/AMDiS/test/demoimpl/src/HeatProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/HeatProject.h
rename to AMDiS/test/demoimpl/src/HeatProject.h
diff --git a/AMDiS/test/datacreation/src/HeatProject.hh b/AMDiS/test/demoimpl/src/HeatProject.hh
similarity index 100%
rename from AMDiS/test/datacreation/src/HeatProject.hh
rename to AMDiS/test/demoimpl/src/HeatProject.hh
diff --git a/AMDiS/test/datacreation/src/NeumannProject.cpp b/AMDiS/test/demoimpl/src/NeumannProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/NeumannProject.cpp
rename to AMDiS/test/demoimpl/src/NeumannProject.cpp
diff --git a/AMDiS/test/datacreation/src/NeumannProject.h b/AMDiS/test/demoimpl/src/NeumannProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/NeumannProject.h
rename to AMDiS/test/demoimpl/src/NeumannProject.h
diff --git a/AMDiS/test/datacreation/src/ParametricProject.cpp b/AMDiS/test/demoimpl/src/ParametricProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/ParametricProject.cpp
rename to AMDiS/test/demoimpl/src/ParametricProject.cpp
diff --git a/AMDiS/test/datacreation/src/ParametricProject.h b/AMDiS/test/demoimpl/src/ParametricProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/ParametricProject.h
rename to AMDiS/test/demoimpl/src/ParametricProject.h
diff --git a/AMDiS/test/datacreation/src/ParametricProject.hh b/AMDiS/test/demoimpl/src/ParametricProject.hh
similarity index 100%
rename from AMDiS/test/datacreation/src/ParametricProject.hh
rename to AMDiS/test/demoimpl/src/ParametricProject.hh
diff --git a/AMDiS/test/datacreation/src/PeriodicProject.cpp b/AMDiS/test/demoimpl/src/PeriodicProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/PeriodicProject.cpp
rename to AMDiS/test/demoimpl/src/PeriodicProject.cpp
diff --git a/AMDiS/test/datacreation/src/PeriodicProject.h b/AMDiS/test/demoimpl/src/PeriodicProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/PeriodicProject.h
rename to AMDiS/test/demoimpl/src/PeriodicProject.h
diff --git a/AMDiS/test/datacreation/src/Project.h b/AMDiS/test/demoimpl/src/Project.h
similarity index 100%
rename from AMDiS/test/datacreation/src/Project.h
rename to AMDiS/test/demoimpl/src/Project.h
diff --git a/AMDiS/test/datacreation/src/ProjectList.cpp b/AMDiS/test/demoimpl/src/ProjectList.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/ProjectList.cpp
rename to AMDiS/test/demoimpl/src/ProjectList.cpp
diff --git a/AMDiS/test/datacreation/src/SphereProject.cpp b/AMDiS/test/demoimpl/src/SphereProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/SphereProject.cpp
rename to AMDiS/test/demoimpl/src/SphereProject.cpp
diff --git a/AMDiS/test/datacreation/src/SphereProject.h b/AMDiS/test/demoimpl/src/SphereProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/SphereProject.h
rename to AMDiS/test/demoimpl/src/SphereProject.h
diff --git a/AMDiS/test/datacreation/src/TorusProject.h b/AMDiS/test/demoimpl/src/TorusProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/TorusProject.h
rename to AMDiS/test/demoimpl/src/TorusProject.h
diff --git a/AMDiS/test/datacreation/src/VecelliptProject.cpp b/AMDiS/test/demoimpl/src/VecelliptProject.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/VecelliptProject.cpp
rename to AMDiS/test/demoimpl/src/VecelliptProject.cpp
diff --git a/AMDiS/test/datacreation/src/VecelliptProject.h b/AMDiS/test/demoimpl/src/VecelliptProject.h
similarity index 100%
rename from AMDiS/test/datacreation/src/VecelliptProject.h
rename to AMDiS/test/demoimpl/src/VecelliptProject.h
diff --git a/AMDiS/test/datacreation/src/creator_base.cpp b/AMDiS/test/demoimpl/src/creator_base.cpp
similarity index 100%
rename from AMDiS/test/datacreation/src/creator_base.cpp
rename to AMDiS/test/demoimpl/src/creator_base.cpp
-- 
GitLab