Archived
1
Fork 0

Add skeleton for future example

This commit is contained in:
redstrate 2020-12-28 15:45:09 -05:00
parent 8572149697
commit 97f67560df
4 changed files with 29 additions and 1 deletions

View file

@ -77,3 +77,4 @@ source_group(Shaders shaders)
add_subdirectory(engine)
add_subdirectory(tools)
add_subdirectory(example)

14
example/CMakeLists.txt Normal file
View file

@ -0,0 +1,14 @@
set(SRC
include/example.hpp
src/example.cpp)
add_platform_executable(
TARGET ExampleApp
APP_CLASS ExampleApp
APP_INCLUDE example.hpp
SRC ${SRC})
target_link_libraries(ExampleApp PUBLIC
Core)
target_include_directories(ExampleApp PUBLIC
include)
set_engine_properties(ExampleApp)

View file

@ -0,0 +1,8 @@
#pragma once
#include "app.hpp"
class ExampleApp : public App {
public:
};

5
example/src/example.cpp Normal file
View file

@ -0,0 +1,5 @@
#include "example.hpp"
void app_main(Engine* engine) {
}