regs
This commit is contained in:
@@ -6,5 +6,5 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
find_package(SDL2 REQUIRED)
|
||||
|
||||
add_library(frontend Frontend.cpp Frontend.hpp)
|
||||
target_include_directories(frontend PUBLIC .)
|
||||
target_include_directories(frontend PUBLIC . ../../core)
|
||||
target_link_libraries(frontend PUBLIC SDL2)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <SDL2/SDL.h>
|
||||
#include <gb/Core.hpp>
|
||||
|
||||
namespace natsukashii::frontend {
|
||||
struct App {
|
||||
@@ -11,5 +12,6 @@ private:
|
||||
SDL_Renderer *renderer = nullptr;
|
||||
Uint32 id;
|
||||
bool quit = false;
|
||||
core::Core gb;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user