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
238
238
target_link_libraries (${LIB_NAME} PUBLIC Nabla )
239
239
target_compile_options (${LIB_NAME} PUBLIC ${LIB_OPTIONS} )
240
240
target_compile_definitions (${LIB_NAME} PUBLIC ${DEF_OPTIONS} )
241
+ target_compile_definitions (${LIB_NAME} PRIVATE __NBL_BUILDING_NABLA__ )
241
242
set_target_properties (${LIB_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
242
243
243
244
if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "GNU" )
Original file line number Diff line number Diff line change 1
1
#ifndef NBL_EXT_IMGUI_UI_H
2
2
#define NBL_EXT_IMGUI_UI_H
3
3
4
+
4
5
namespace nbl ::ext::imgui
5
6
{
6
7
class NBL_API2 UI final : public core::IReferenceCounted{
7
8
public:
8
9
9
- explicit UI (
10
+ UI (
10
11
core::smart_refctd_ptr<video::ILogicalDevice> device,
11
12
int maxFramesInFlight,
12
13
core::smart_refctd_ptr<video::IGPURenderpass>& renderPass,
You can’t perform that action at this time.
0 commit comments