CMake: Restructure main file, move example to its own directory

This commit is contained in:
Riyyi
2022-09-16 12:41:08 +02:00
parent da757365d0
commit 8b11e51109
3 changed files with 91 additions and 70 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "inferno.h"
#include "inferno/entrypoint.h"
class Game : public Inferno::Application
{
public:
Game() : Application({}) {}
~Game() {}
};
Inferno::Application& Inferno::createApplication()
{
Game::initialize();
return Game::the();
}