From 3dd580b7365e196bc2ba45d91bc7f78009f341ef Mon Sep 17 00:00:00 2001 From: ladevieq Date: Tue, 5 May 2026 00:23:17 +0200 Subject: Remove useless files in thirdparty directoy and move to simdjson --- .../imgui-1.92.5/examples/example_null/Makefile | 92 ----------- .../examples/example_null/build_win32.bat | 3 - .../examples/example_null/example_null.vcxproj | 178 --------------------- .../example_null/example_null.vcxproj.filters | 57 ------- .../imgui-1.92.5/examples/example_null/main.cpp | 43 ----- 5 files changed, 373 deletions(-) delete mode 100644 thirdparty/imgui-1.92.5/examples/example_null/Makefile delete mode 100644 thirdparty/imgui-1.92.5/examples/example_null/build_win32.bat delete mode 100644 thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj delete mode 100644 thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj.filters delete mode 100644 thirdparty/imgui-1.92.5/examples/example_null/main.cpp (limited to 'thirdparty/imgui-1.92.5/examples/example_null') diff --git a/thirdparty/imgui-1.92.5/examples/example_null/Makefile b/thirdparty/imgui-1.92.5/examples/example_null/Makefile deleted file mode 100644 index 4a67cec..0000000 --- a/thirdparty/imgui-1.92.5/examples/example_null/Makefile +++ /dev/null @@ -1,92 +0,0 @@ -# -# Cross Platform Makefile -# Compatible with MSYS2/MINGW, Ubuntu 14.04.1+ and Mac OS X -# -# Important: This is a "null backend" application, with no visible output or interaction! -# This is used for testing purpose and continuous integration, and has little use for end-user. -# - -# Options -WITH_EXTRA_WARNINGS ?= 0 -WITH_FREETYPE ?= 0 - -EXE = example_null -IMGUI_DIR = ../.. -SOURCES = main.cpp -SOURCES += $(IMGUI_DIR)/imgui.cpp $(IMGUI_DIR)/imgui_demo.cpp $(IMGUI_DIR)/imgui_draw.cpp $(IMGUI_DIR)/imgui_tables.cpp $(IMGUI_DIR)/imgui_widgets.cpp -OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES)))) -UNAME_S := $(shell uname -s) - -CXXFLAGS += -std=c++11 -I$(IMGUI_DIR) -CXXFLAGS += -g -Wall -Wformat -LIBS = - -# We use the WITH_EXTRA_WARNINGS flag on our CI setup to eagerly catch zealous warnings -ifeq ($(WITH_EXTRA_WARNINGS), 1) - CXXFLAGS += -Wno-zero-as-null-pointer-constant -Wno-double-promotion -Wno-variadic-macros -endif - -# We use the WITH_FREETYPE flag on our CI setup to test compiling misc/freetype/imgui_freetype.cpp -# (only supported on Linux, and note that the imgui_freetype code currently won't be executed) -ifeq ($(WITH_FREETYPE), 1) - SOURCES += $(IMGUI_DIR)/misc/freetype/imgui_freetype.cpp - CXXFLAGS += $(shell pkg-config --cflags freetype2) - LIBS += $(shell pkg-config --libs freetype2) -endif - -##--------------------------------------------------------------------- -## BUILD FLAGS PER PLATFORM -##--------------------------------------------------------------------- - -ifeq ($(UNAME_S), Linux) #LINUX - ECHO_MESSAGE = "Linux" - ifeq ($(WITH_EXTRA_WARNINGS), 1) - CXXFLAGS += -Wextra -Wpedantic - ifeq ($(shell $(CXX) -v 2>&1 | grep -c "clang version"), 1) - CXXFLAGS += -Wshadow -Wsign-conversion - endif - endif - CFLAGS = $(CXXFLAGS) -endif - -ifeq ($(UNAME_S), Darwin) #APPLE - ECHO_MESSAGE = "Mac OS X" - ifeq ($(WITH_EXTRA_WARNINGS), 1) - CXXFLAGS += -Weverything -Wno-reserved-id-macro -Wno-c++98-compat-pedantic -Wno-padded -Wno-poison-system-directories - endif - CFLAGS = $(CXXFLAGS) -endif - -ifeq ($(OS), Windows_NT) - ECHO_MESSAGE = "MinGW" - ifeq ($(WITH_EXTRA_WARNINGS), 1) - CXXFLAGS += -Wextra -Wpedantic - endif - LIBS += -limm32 - CFLAGS = $(CXXFLAGS) -endif - -##--------------------------------------------------------------------- -## BUILD RULES -##--------------------------------------------------------------------- - -%.o:%.cpp - $(CXX) $(CXXFLAGS) -c -o $@ $< - -%.o:$(IMGUI_DIR)/%.cpp - $(CXX) $(CXXFLAGS) -c -o $@ $< - -%.o:$(IMGUI_DIR)/backends/%.cpp - $(CXX) $(CXXFLAGS) -c -o $@ $< - -%.o:$(IMGUI_DIR)/misc/freetype/%.cpp - $(CXX) $(CXXFLAGS) -c -o $@ $< - -all: $(EXE) - @echo Build complete for $(ECHO_MESSAGE) - -$(EXE): $(OBJS) - $(CXX) -o $@ $^ $(CXXFLAGS) $(LIBS) - -clean: - rm -f $(EXE) $(OBJS) diff --git a/thirdparty/imgui-1.92.5/examples/example_null/build_win32.bat b/thirdparty/imgui-1.92.5/examples/example_null/build_win32.bat deleted file mode 100644 index be81d80..0000000 --- a/thirdparty/imgui-1.92.5/examples/example_null/build_win32.bat +++ /dev/null @@ -1,3 +0,0 @@ -@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. -mkdir Debug -cl /nologo /Zi /MD /utf-8 /I ..\.. %* *.cpp ..\..\*.cpp /FeDebug/example_null.exe /FoDebug/ /link gdi32.lib shell32.lib imm32.lib diff --git a/thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj b/thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj deleted file mode 100644 index 8ef991f..0000000 --- a/thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj +++ /dev/null @@ -1,178 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {1A0BF63C-18EF-4BAE-A8DA-055481B11F5D} - example_win32_directx11 - - - - Application - true - Unicode - v140 - - - Application - true - Unicode - v140 - - - Application - false - true - Unicode - v140 - - - Application - false - true - Unicode - v140 - - - - - - - - - - - - - - - - - - - $(ProjectDir)$(Configuration)\ - $(ProjectDir)$(Configuration)\ - - - $(ProjectDir)$(Configuration)\ - $(ProjectDir)$(Configuration)\ - - - $(ProjectDir)$(Configuration)\ - $(ProjectDir)$(Configuration)\ - - - $(ProjectDir)$(Configuration)\ - $(ProjectDir)$(Configuration)\ - - - - Level4 - Disabled - ..\..;..\..\backends;%(AdditionalIncludeDirectories); - /utf-8 %(AdditionalOptions) - - - true - d3d11.lib;d3dcompiler.lib;dxgi.lib;%(AdditionalDependencies) - $(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories) - Console - - - - - Level4 - Disabled - ..\..;..\..\backends;%(AdditionalIncludeDirectories); - /utf-8 %(AdditionalOptions) - - - true - d3d11.lib;d3dcompiler.lib;dxgi.lib;%(AdditionalDependencies) - $(DXSDK_DIR)/Lib/x64;%(AdditionalLibraryDirectories) - Console - - - - - Level4 - MaxSpeed - true - true - ..\..;..\..\backends;%(AdditionalIncludeDirectories); - false - /utf-8 %(AdditionalOptions) - - - true - true - true - d3d11.lib;d3dcompiler.lib;dxgi.lib;%(AdditionalDependencies) - $(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories) - Console - - - - - Level4 - MaxSpeed - true - true - ..\..;..\..\backends;%(AdditionalIncludeDirectories); - false - /utf-8 %(AdditionalOptions) - - - true - true - true - d3d11.lib;d3dcompiler.lib;dxgi.lib;%(AdditionalDependencies) - $(DXSDK_DIR)/Lib/x64;%(AdditionalLibraryDirectories) - Console - - - - - - - - - - - true - true - true - true - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj.filters b/thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj.filters deleted file mode 100644 index 6d575a8..0000000 --- a/thirdparty/imgui-1.92.5/examples/example_null/example_null.vcxproj.filters +++ /dev/null @@ -1,57 +0,0 @@ - - - - - {0587d7a3-f2ce-4d56-b84f-a0005d3bfce6} - - - {08e36723-ce4f-4cff-9662-c40801cf1acf} - - - - - imgui - - - imgui - - - imgui - - - sources - - - - - imgui - - - sources - - - imgui - - - imgui - - - imgui - - - imgui - - - sources - - - - - - imgui - - - imgui - - - \ No newline at end of file diff --git a/thirdparty/imgui-1.92.5/examples/example_null/main.cpp b/thirdparty/imgui-1.92.5/examples/example_null/main.cpp deleted file mode 100644 index eba6756..0000000 --- a/thirdparty/imgui-1.92.5/examples/example_null/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// dear imgui: "null" example application -// (compile and link imgui, create context, run headless with NO INPUTS, NO GRAPHICS OUTPUT) -// This is useful to test building, but you cannot interact with anything here! -#include "imgui.h" -#include - -// For imgui_impl_null: use relative filename + embed implementation directly by including the .cpp file. -// This is to simplify casual building of this example from all sorts of test scripts. -#include "../../backends/imgui_impl_null.h" -#include "../../backends/imgui_impl_null.cpp" - -int main(int, char**) -{ - IMGUI_CHECKVERSION(); - - ImGui::CreateContext(); - ImGuiIO& io = ImGui::GetIO(); - - ImGui_ImplNullPlatform_Init(); - ImGui_ImplNullRender_Init(); - - for (int n = 0; n < 20; n++) - { - printf("NewFrame() %d\n", n); - ImGui_ImplNullPlatform_NewFrame(); - ImGui_ImplNullRender_NewFrame(); - ImGui::NewFrame(); - - static float f = 0.0f; - ImGui::Text("Hello, world!"); - ImGui::SliderFloat("float", &f, 0.0f, 1.0f); - ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate); - ImGui::ShowDemoWindow(nullptr); - - ImGui::Render(); - } - - printf("DestroyContext()\n"); - ImGui_ImplNullRender_Shutdown(); - ImGui_ImplNullPlatform_Shutdown(); - ImGui::DestroyContext(); - return 0; -} -- cgit v1.3