Skip to content

Commit

Permalink
* try fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualGMQ committed Jun 22, 2024
1 parent 7da6b77 commit 33cd185
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions nickel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ target_compile_features(Nickel.Common PUBLIC cxx_std_17)
target_link_libraries(Nickel.Common PUBLIC mirrow gecs)
target_link_libraries(Nickel.Common PRIVATE debugbreak "$<$<CONFIG:Debug>:easy_profiler>")
target_compile_definitions(Nickel.Common PUBLIC "$<$<CONFIG:Debug>:NICKEL_ENABLE_PROFILE>" _CRT_SECURE_NO_WARNINGS)
target_compile_definitions(Nickel.Common PUBLIC "$<$<CONFIG:Debug>:NICKEL_DEBUG>" _CRT_SECURE_NO_WARNINGS)

# Nickel.Graphics
aux_source_directory(src/graphics nickel_graphics_src)
Expand Down
2 changes: 2 additions & 0 deletions nickel/src/geom/geom.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "geom/geom2d.hpp"
#include "geom/geom3d.hpp"
1 change: 1 addition & 0 deletions nickel/src/graphics/rhi/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "graphics/rhi/gl/adapter.hpp"
#endif
#include "graphics/rhi/null/buffer.hpp"
#include "graphics/rhi/null/adapter.hpp"

namespace nickel::rhi {

Expand Down
3 changes: 2 additions & 1 deletion nickel/src/graphics/rhi/device.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#include "graphics/rhi/device.hpp"
#include "graphics/rhi/common.hpp"
#include "graphics/rhi/null/device.hpp"
#ifdef NICKEL_HAS_VULKAN
#include "graphics/rhi/vk/device.hpp"
#endif
#ifdef NICKEL_HAS_GLES3
#include "graphics/rhi/gl/device.hpp"
#include "graphics/rhi/gl/adapter.hpp"
#endif
#include "graphics/rhi/null/device.hpp"
#include "graphics/rhi/null/adapter.hpp"


namespace nickel::rhi {
Expand Down
1 change: 1 addition & 0 deletions nickel/src/graphics/rhi/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#ifdef NICKEL_HAS_GLES3
#include "graphics/rhi/gl/queue.hpp"
#endif
#include "graphics/rhi/null/queue.hpp"

namespace nickel::rhi {

Expand Down
3 changes: 3 additions & 0 deletions nickel/src/graphics/rhi/texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include "graphics/rhi/vk/device.hpp"
#include "graphics/rhi/vk/texture.hpp"
#endif
#include "graphics/rhi/null/device.hpp"
#include "graphics/rhi/null/texture.hpp"
#include "graphics/rhi/null/adapter.hpp"

namespace nickel::rhi {

Expand Down

0 comments on commit 33cd185

Please sign in to comment.