feat: prepare for major update
This commit is contained in:
@ -12,19 +12,11 @@ set(SOURCES
|
||||
src/renderer/mesh.cpp
|
||||
src/renderer/shader.cpp
|
||||
src/renderer/texture.cpp
|
||||
src/renderer/wavefront.cpp
|
||||
src/renderer/core.cpp
|
||||
src/renderer/renderer.cpp
|
||||
|
||||
# src/main.cpp
|
||||
src/renderer/wavefront.cpp
|
||||
)
|
||||
|
||||
#if (ENGINE_BUILD_SHARED)
|
||||
# add_library(${ENGINE_TARGET} SHARED ${SOURCES})
|
||||
#else()
|
||||
# add_library(${ENGINE_TARGET} STATIC ${SOURCES})
|
||||
#endif()
|
||||
|
||||
if(ENGINE_BUILD_SHARED)
|
||||
add_library(${ENGINE_TARGET} SHARED ${SOURCES})
|
||||
if(WIN32)
|
||||
|
||||
8
engine/include/engine/components.h
Normal file
8
engine/include/engine/components.h
Normal file
@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "components/batch.h"
|
||||
#include "components/transform.h"
|
||||
#include "components/camera.h"
|
||||
#include "components/mesh.h"
|
||||
#include "components/rotate.h"
|
||||
#include "components/light.h"
|
||||
@ -20,7 +20,7 @@
|
||||
#include "engine/components/rotate.h"
|
||||
#include "engine/components/batch.h"
|
||||
|
||||
#include "engine/engine.h"
|
||||
#include "engine/api.h"
|
||||
|
||||
class Game : public IApplication {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user