skjadfahasdf
This commit is contained in:
4
external/imgui/CMakeLists.txt
vendored
Normal file
4
external/imgui/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
project(imgui CXX)
|
||||||
|
|
||||||
|
add_library(imgui imgui_demo.cpp imgui_draw.cpp imgui_tables.cpp imgui_widgets.cpp imgui.cpp backends/imgui_impl_vulkan.cpp backends/imgui_impl_sdl3.cpp)
|
||||||
@@ -41,7 +41,10 @@ include_directories(
|
|||||||
../../external/SDL/include
|
../../external/SDL/include
|
||||||
../../external/sse2neon
|
../../external/sse2neon
|
||||||
../../external/capstone/include
|
../../external/capstone/include
|
||||||
|
../../external/imgui
|
||||||
|
../../external/imgui/backends
|
||||||
../../external/cflags/include
|
../../external/cflags/include
|
||||||
|
ImGuiImpl/
|
||||||
)
|
)
|
||||||
|
|
||||||
option(RAPIDJSON_BUILD_DOC "Build rapidjson documentation." OFF)
|
option(RAPIDJSON_BUILD_DOC "Build rapidjson documentation." OFF)
|
||||||
@@ -96,6 +99,7 @@ add_subdirectory(../../external/parallel-rdp parallel-rdp)
|
|||||||
add_subdirectory(../../external/unarr unarr)
|
add_subdirectory(../../external/unarr unarr)
|
||||||
add_subdirectory(../../external/SDL SDL)
|
add_subdirectory(../../external/SDL SDL)
|
||||||
add_subdirectory(../../external/cflags cflags)
|
add_subdirectory(../../external/cflags cflags)
|
||||||
|
add_subdirectory(../../external/imgui imgui)
|
||||||
set(CAPSTONE_ARCHITECTURE_DEFAULT OFF)
|
set(CAPSTONE_ARCHITECTURE_DEFAULT OFF)
|
||||||
set(CAPSTONE_MIPS_SUPPORT ON)
|
set(CAPSTONE_MIPS_SUPPORT ON)
|
||||||
set(CAPSTONE_X86_SUPPORT ON)
|
set(CAPSTONE_X86_SUPPORT ON)
|
||||||
@@ -123,7 +127,7 @@ add_executable(kaizen
|
|||||||
Debugger.hpp
|
Debugger.hpp
|
||||||
Debugger.cpp)
|
Debugger.cpp)
|
||||||
|
|
||||||
target_link_libraries(kaizen PUBLIC SDL3::SDL3 SDL3::SDL3-static cflags::cflags discord-rpc fmt mio nlohmann_json parallel-rdp capstone backend)
|
target_link_libraries(kaizen PUBLIC imgui SDL3::SDL3 SDL3::SDL3-static cflags::cflags discord-rpc fmt mio nlohmann_json parallel-rdp capstone backend)
|
||||||
target_compile_definitions(kaizen PUBLIC SDL_MAIN_HANDLED)
|
target_compile_definitions(kaizen PUBLIC SDL_MAIN_HANDLED)
|
||||||
|
|
||||||
file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)
|
file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)
|
||||||
|
|||||||
6
src/frontend/ImGuiImpl/Checkbox.hpp
Normal file
6
src/frontend/ImGuiImpl/Checkbox.hpp
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <imgui.h>
|
||||||
|
|
||||||
|
namespace gui {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user