Move example program into separate folder "examples"
This commit is contained in:
parent
0e78929798
commit
fffa321570
|
@ -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")
|
||||
|
|
|
@ -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>
|
||||
|
Reference in New Issue