1
0
Fork 0

Move example program into separate folder "examples"

This commit is contained in:
Meoweg 2015-11-15 02:07:08 +00:00
parent 0e78929798
commit fffa321570
2 changed files with 9 additions and 8 deletions

View file

@ -7,7 +7,8 @@ project (Matabstrix)
add_definitions ("-std=c++14 -Wall -Wextra") add_definitions ("-std=c++14 -Wall -Wextra")
set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data") set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data")
file (GLOB_RECURSE sources "src/**.cpp") file (GLOB_RECURSE sources "src/**.cpp"
"examples/**.cpp")
add_executable (matabstrix ${sources}) add_executable (matabstrix ${sources})
set (CMAKE_EXECUTABLE_SUFFIX ".html") set (CMAKE_EXECUTABLE_SUFFIX ".html")

View file

@ -1,10 +1,10 @@
#include "store.hpp" #include "../src/store.hpp"
#include "scene.hpp" #include "../src/scene.hpp"
#include "camera.hpp" #include "../src/camera.hpp"
#include "light/sun.hpp" #include "../src/light/sun.hpp"
#include "model/raw.hpp" #include "../src/model/raw.hpp"
#include "model/static.hpp" #include "../src/model/static.hpp"
#include "object/with_model.hpp" #include "../src/object/with_model.hpp"
#include <cstdlib> #include <cstdlib>