From 9ecd799562af67956bc6d897342bcf98658309da Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Thu, 16 Jul 2015 20:57:34 +0200 Subject: [PATCH] move Samples to subdirectory --- CMakeLists.txt | 6 +++--- {HelloWorld => Samples/HelloWorld}/CMakeLists.txt | 0 {HelloWorld => Samples/HelloWorld}/Makefile | 0 {HelloWorld => Samples/HelloWorld}/hello.c | 0 {Launcher => Samples/Launcher}/CMakeLists.txt | 0 {Launcher => Samples/Launcher}/Launcher.c | 0 {Raytracer => Samples/Raytracer}/CMakeLists.txt | 0 {Raytracer => Samples/Raytracer}/Makefile | 0 {Raytracer => Samples/Raytracer}/fixed.cc | 0 {Raytracer => Samples/Raytracer}/fixed.h | 0 {Raytracer => Samples/Raytracer}/fixedbenchmark.cc | 0 {Raytracer => Samples/Raytracer}/raytracer.c | 0 {Raytracer => Samples/Raytracer}/raytracer2.cc | 0 13 files changed, 3 insertions(+), 3 deletions(-) rename {HelloWorld => Samples/HelloWorld}/CMakeLists.txt (100%) rename {HelloWorld => Samples/HelloWorld}/Makefile (100%) rename {HelloWorld => Samples/HelloWorld}/hello.c (100%) rename {Launcher => Samples/Launcher}/CMakeLists.txt (100%) rename {Launcher => Samples/Launcher}/Launcher.c (100%) rename {Raytracer => Samples/Raytracer}/CMakeLists.txt (100%) rename {Raytracer => Samples/Raytracer}/Makefile (100%) rename {Raytracer => Samples/Raytracer}/fixed.cc (100%) rename {Raytracer => Samples/Raytracer}/fixed.h (100%) rename {Raytracer => Samples/Raytracer}/fixedbenchmark.cc (100%) rename {Raytracer => Samples/Raytracer}/raytracer.c (100%) rename {Raytracer => Samples/Raytracer}/raytracer2.cc (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c003944d1..dd8d9c8623 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,10 +25,10 @@ add_subdirectory(libretro) link_directories(${CMAKE_CURRENT_BINARY_DIR}/libretro) add_subdirectory(Console) -add_subdirectory(HelloWorld) add_subdirectory(TestApps) -add_subdirectory(Raytracer) -add_subdirectory(Launcher) +add_subdirectory(Samples/HelloWorld) +add_subdirectory(Samples/Raytracer) +add_subdirectory(Samples/Launcher) else() configure_file(cmake/retro68.toolchain.cmake.in cmake/retro68.toolchain.cmake @ONLY) diff --git a/HelloWorld/CMakeLists.txt b/Samples/HelloWorld/CMakeLists.txt similarity index 100% rename from HelloWorld/CMakeLists.txt rename to Samples/HelloWorld/CMakeLists.txt diff --git a/HelloWorld/Makefile b/Samples/HelloWorld/Makefile similarity index 100% rename from HelloWorld/Makefile rename to Samples/HelloWorld/Makefile diff --git a/HelloWorld/hello.c b/Samples/HelloWorld/hello.c similarity index 100% rename from HelloWorld/hello.c rename to Samples/HelloWorld/hello.c diff --git a/Launcher/CMakeLists.txt b/Samples/Launcher/CMakeLists.txt similarity index 100% rename from Launcher/CMakeLists.txt rename to Samples/Launcher/CMakeLists.txt diff --git a/Launcher/Launcher.c b/Samples/Launcher/Launcher.c similarity index 100% rename from Launcher/Launcher.c rename to Samples/Launcher/Launcher.c diff --git a/Raytracer/CMakeLists.txt b/Samples/Raytracer/CMakeLists.txt similarity index 100% rename from Raytracer/CMakeLists.txt rename to Samples/Raytracer/CMakeLists.txt diff --git a/Raytracer/Makefile b/Samples/Raytracer/Makefile similarity index 100% rename from Raytracer/Makefile rename to Samples/Raytracer/Makefile diff --git a/Raytracer/fixed.cc b/Samples/Raytracer/fixed.cc similarity index 100% rename from Raytracer/fixed.cc rename to Samples/Raytracer/fixed.cc diff --git a/Raytracer/fixed.h b/Samples/Raytracer/fixed.h similarity index 100% rename from Raytracer/fixed.h rename to Samples/Raytracer/fixed.h diff --git a/Raytracer/fixedbenchmark.cc b/Samples/Raytracer/fixedbenchmark.cc similarity index 100% rename from Raytracer/fixedbenchmark.cc rename to Samples/Raytracer/fixedbenchmark.cc diff --git a/Raytracer/raytracer.c b/Samples/Raytracer/raytracer.c similarity index 100% rename from Raytracer/raytracer.c rename to Samples/Raytracer/raytracer.c diff --git a/Raytracer/raytracer2.cc b/Samples/Raytracer/raytracer2.cc similarity index 100% rename from Raytracer/raytracer2.cc rename to Samples/Raytracer/raytracer2.cc