File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ macro(nbl_create_ext_library_project EXT_NAME LIB_HEADERS LIB_SOURCES LIB_INCLUD
238238 target_link_libraries (${LIB_NAME} PUBLIC Nabla)
239239 target_compile_options (${LIB_NAME} PUBLIC ${LIB_OPTIONS} )
240240 target_compile_definitions (${LIB_NAME} PUBLIC ${DEF_OPTIONS} )
241+ target_compile_definitions (${LIB_NAME} PRIVATE __NBL_BUILDING_NABLA__)
241242 set_target_properties (${LIB_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
242243
243244 if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "GNU" )
Original file line number Diff line number Diff line change 11#ifndef NBL_EXT_IMGUI_UI_H
22#define NBL_EXT_IMGUI_UI_H
33
4+
45namespace nbl ::ext::imgui
56{
67 class NBL_API2 UI final : public core::IReferenceCounted{
78 public:
89
9- explicit UI (
10+ UI (
1011 core::smart_refctd_ptr<video::ILogicalDevice> device,
1112 int maxFramesInFlight,
1213 core::smart_refctd_ptr<video::IGPURenderpass>& renderPass,
You can’t perform that action at this time.
0 commit comments