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")
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})
set (CMAKE_EXECUTABLE_SUFFIX ".html")

View File

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