mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 16:30:32 +00:00
e74e3475d9
- Added ImGui framework source directory. - Added to ImGui module include paths pointing to ImGui source directory. - Added to ImGui module implementation file that includes ImGui source code to be built as part of the module.
23 lines
851 B
C++
23 lines
851 B
C++
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
#include "ImGuiPrivatePCH.h"
|
|
|
|
// We build ImGui source code as part of this module. This is for convenience (no need to manually build libraries for
|
|
// different target platforms) but it also exposes the whole ImGui source for inspection, which can be pretty handy.
|
|
// Source files are included from Third Party directory, so we can wrap them in required by Unreal Build System headers
|
|
// without modifications in ImGui source code.
|
|
//
|
|
// We don't need to define IMGUI_API manually because it is already done for this module.
|
|
|
|
#if PLATFORM_WINDOWS
|
|
#include <AllowWindowsPlatformTypes.h>
|
|
#endif // PLATFORM_WINDOWS
|
|
|
|
#include "imgui.cpp"
|
|
#include "imgui_demo.cpp"
|
|
#include "imgui_draw.cpp"
|
|
|
|
#if PLATFORM_WINDOWS
|
|
#include <HideWindowsPlatformTypes.h>
|
|
#endif // PLATFORM_WINDOWS
|