diff --git a/.gitmodules b/.gitmodules index e63263f4f..d531767f1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,25 +1,25 @@ [submodule "lib/external/nativefiledialog"] - path = lib/external/nativefiledialog + path = lib/third_party/nativefiledialog url = https://github.com/btzy/nativefiledialog-extended ignore = dirty [submodule "lib/external/yara/yara"] - path = lib/external/yara/yara + path = lib/third_party/yara/yara url = https://github.com/VirusTotal/yara ignore = dirty [submodule "lib/external/xdgpp"] - path = lib/external/xdgpp + path = lib/third_party/xdgpp url = https://git.sr.ht/~danyspin97/xdgpp ignore = dirty [submodule "lib/external/fmt"] - path = lib/external/fmt + path = lib/third_party/fmt url = https://github.com/fmtlib/fmt ignore = dirty [submodule "lib/external/capstone"] - path = lib/external/capstone + path = lib/third_party/capstone url = https://github.com/capstone-engine/capstone ignore = dirty [submodule "lib/external/jthread/jthread"] - path = lib/external/jthread/jthread + path = lib/third_party/jthread/jthread url = https://github.com/josuttis/jthread ignore = dirty diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index cd5f19630..0e0c6bceb 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -373,7 +373,7 @@ function(detectBadClone) return() endif() - file (GLOB EXTERNAL_DIRS "lib/external/*") + file (GLOB EXTERNAL_DIRS "lib/external/*" "lib/third_party/*") foreach (EXTERNAL_DIR ${EXTERNAL_DIRS}) file(GLOB_RECURSE RESULT "${EXTERNAL_DIR}/*") list(LENGTH RESULT ENTRY_COUNT) @@ -477,16 +477,17 @@ endmacro() macro(addBundledLibraries) find_package(PkgConfig REQUIRED) - set(EXTERN_LIBS_FOLDER "${CMAKE_CURRENT_SOURCE_DIR}/lib/external") + set(EXTERNAL_LIBS_FOLDER "${CMAKE_CURRENT_SOURCE_DIR}/lib/external") + set(THIRD_PARTY_LIBS_FOLDER "${CMAKE_CURRENT_SOURCE_DIR}/lib/third_party") set(BUILD_SHARED_LIBS OFF) - add_subdirectory(${EXTERN_LIBS_FOLDER}/imgui) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/imgui) set_target_properties(imgui PROPERTIES POSITION_INDEPENDENT_CODE ON) - add_subdirectory(${EXTERN_LIBS_FOLDER}/microtar EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/microtar EXCLUDE_FROM_ALL) set_target_properties(microtar PROPERTIES POSITION_INDEPENDENT_CODE ON) - add_subdirectory(${EXTERN_LIBS_FOLDER}/libwolv EXCLUDE_FROM_ALL) + add_subdirectory(${EXTERNAL_LIBS_FOLDER}/libwolv EXCLUDE_FROM_ALL) set_property(TARGET libwolv-types PROPERTY POSITION_INDEPENDENT_CODE ON) set_property(TARGET libwolv-utils PROPERTY POSITION_INDEPENDENT_CODE ON) set_property(TARGET libwolv-io PROPERTY POSITION_INDEPENDENT_CODE ON) @@ -494,13 +495,13 @@ macro(addBundledLibraries) set_property(TARGET libwolv-containers PROPERTY POSITION_INDEPENDENT_CODE ON) set_property(TARGET libwolv-net PROPERTY POSITION_INDEPENDENT_CODE ON) - set(XDGPP_INCLUDE_DIRS "${EXTERN_LIBS_FOLDER}/xdgpp") + set(XDGPP_INCLUDE_DIRS "${THIRD_PARTY_LIBS_FOLDER}/xdgpp") set(FPHSA_NAME_MISMATCHED ON CACHE BOOL "") find_package(PkgConfig REQUIRED) if(NOT USE_SYSTEM_FMT) - add_subdirectory(${EXTERN_LIBS_FOLDER}/fmt EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/fmt EXCLUDE_FROM_ALL) set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE ON) set(FMT_LIBRARIES fmt::fmt-header-only) else() @@ -521,7 +522,7 @@ macro(addBundledLibraries) # nfd if (NOT USE_SYSTEM_NFD) - add_subdirectory(${EXTERN_LIBS_FOLDER}/nativefiledialog EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/nativefiledialog EXCLUDE_FROM_ALL) set_target_properties(nfd PROPERTIES POSITION_INDEPENDENT_CODE ON) set(NFD_LIBRARIES nfd) else() @@ -531,7 +532,7 @@ macro(addBundledLibraries) endif() if(NOT USE_SYSTEM_NLOHMANN_JSON) - add_subdirectory(${EXTERN_LIBS_FOLDER}/nlohmann_json EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/nlohmann_json EXCLUDE_FROM_ALL) set(NLOHMANN_JSON_LIBRARIES nlohmann_json) else() find_package(nlohmann_json 3.10.2 REQUIRED) @@ -539,14 +540,14 @@ macro(addBundledLibraries) endif() if (NOT USE_SYSTEM_LLVM) - add_subdirectory(${EXTERN_LIBS_FOLDER}/llvm-demangle EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/llvm-demangle EXCLUDE_FROM_ALL) set_target_properties(LLVMDemangle PROPERTIES POSITION_INDEPENDENT_CODE ON) else() find_package(LLVM REQUIRED Demangle) endif() if (NOT USE_SYSTEM_YARA) - add_subdirectory(${EXTERN_LIBS_FOLDER}/yara EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/yara EXCLUDE_FROM_ALL) set_target_properties(libyara PROPERTIES POSITION_INDEPENDENT_CODE ON) set(YARA_LIBRARIES libyara) else() @@ -555,7 +556,7 @@ macro(addBundledLibraries) endif() if (NOT USE_SYSTEM_MINIAUDIO) - add_subdirectory(${EXTERN_LIBS_FOLDER}/miniaudio EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/miniaudio EXCLUDE_FROM_ALL) set_target_properties(miniaudio PROPERTIES POSITION_INDEPENDENT_CODE ON) set(MINIAUDIO_LIBRARIES miniaudio) else() @@ -564,7 +565,7 @@ macro(addBundledLibraries) endif() if (NOT USE_SYSTEM_JTHREAD) - add_subdirectory(${EXTERN_LIBS_FOLDER}/jthread EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/jthread EXCLUDE_FROM_ALL) set(JTHREAD_LIBRARIES jthread) else() find_path(JOSUTTIS_JTHREAD_INCLUDE_DIRS "condition_variable_any2.hpp") @@ -579,18 +580,18 @@ macro(addBundledLibraries) set(CAPSTONE_BUILD_STATIC_RUNTIME OFF CACHE BOOL "Disable shared library building") set(CAPSTONE_BUILD_SHARED OFF CACHE BOOL "Disable shared library building") set(CAPSTONE_BUILD_TESTS OFF CACHE BOOL "Disable tests") - add_subdirectory(${EXTERN_LIBS_FOLDER}/capstone EXCLUDE_FROM_ALL) + add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/capstone EXCLUDE_FROM_ALL) set_target_properties(capstone PROPERTIES POSITION_INDEPENDENT_CODE ON) target_compile_options(capstone PRIVATE -Wno-unused-function) set(CAPSTONE_LIBRARIES "capstone") - set(CAPSTONE_INCLUDE_DIRS ${EXTERN_LIBS_FOLDER}/capstone/include) + set(CAPSTONE_INCLUDE_DIRS ${THIRD_PARTY_LIBS_FOLDER}/capstone/include) else() find_package(PkgConfig REQUIRED) pkg_search_module(CAPSTONE 4.0.2 REQUIRED capstone) endif() set(LIBPL_BUILD_CLI_AS_EXECUTABLE OFF) - add_subdirectory(${EXTERN_LIBS_FOLDER}/pattern_language EXCLUDE_FROM_ALL) + add_subdirectory(${EXTERNAL_LIBS_FOLDER}/pattern_language EXCLUDE_FROM_ALL) set_target_properties(libpl PROPERTIES POSITION_INDEPENDENT_CODE ON) find_package(mbedTLS 3.4.0 REQUIRED) diff --git a/dist/rpm/imhex.spec b/dist/rpm/imhex.spec index 7ec97c951..4dd08cbf3 100644 --- a/dist/rpm/imhex.spec +++ b/dist/rpm/imhex.spec @@ -61,7 +61,7 @@ same time ImHex is completely free and open source under the GPLv2 language. %prep %autosetup -n ImHex # remove bundled libs we aren't using -rm -rf lib/external/{curl,fmt,llvm,nlohmann_json,yara} +rm -rf lib/third_party/{fmt,nlohmann_json,yara} %build %if 0%{?rhel} @@ -109,11 +109,11 @@ rm -f %{buildroot}%{_metainfodir}/net.werwolv.%{name}.appdata.xml appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/net.werwolv.%{name}.metainfo.xml # install licenses -cp -a lib/external/nativefiledialog/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/nativefiledialog-LICENSE -cp -a lib/external/capstone/LICENSE.TXT %{buildroot}%{_datadir}/licenses/%{name}/capstone-LICENSE -cp -a lib/external/capstone/suite/regress/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/capstone-regress-LICENSE -cp -a lib/external/microtar/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/microtar-LICENSE -cp -a lib/external/xdgpp/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/xdgpp-LICENSE +cp -a lib/third_party/nativefiledialog/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/nativefiledialog-LICENSE +cp -a lib/third_party/capstone/LICENSE.TXT %{buildroot}%{_datadir}/licenses/%{name}/capstone-LICENSE +cp -a lib/third_party/capstone/suite/regress/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/capstone-regress-LICENSE +cp -a lib/third_party/microtar/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/microtar-LICENSE +cp -a lib/third_party/xdgpp/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/xdgpp-LICENSE %files diff --git a/lib/external/capstone b/lib/third_party/capstone similarity index 100% rename from lib/external/capstone rename to lib/third_party/capstone diff --git a/lib/external/fmt b/lib/third_party/fmt similarity index 100% rename from lib/external/fmt rename to lib/third_party/fmt diff --git a/lib/external/imgui/CMakeLists.txt b/lib/third_party/imgui/CMakeLists.txt similarity index 100% rename from lib/external/imgui/CMakeLists.txt rename to lib/third_party/imgui/CMakeLists.txt diff --git a/lib/external/imgui/include/TextEditor.h b/lib/third_party/imgui/include/TextEditor.h similarity index 100% rename from lib/external/imgui/include/TextEditor.h rename to lib/third_party/imgui/include/TextEditor.h diff --git a/lib/external/imgui/include/fonts/codicons_font.h b/lib/third_party/imgui/include/fonts/codicons_font.h similarity index 100% rename from lib/external/imgui/include/fonts/codicons_font.h rename to lib/third_party/imgui/include/fonts/codicons_font.h diff --git a/lib/external/imgui/include/fonts/fontawesome_font.h b/lib/third_party/imgui/include/fonts/fontawesome_font.h similarity index 100% rename from lib/external/imgui/include/fonts/fontawesome_font.h rename to lib/third_party/imgui/include/fonts/fontawesome_font.h diff --git a/lib/external/imgui/include/fonts/unifont_font.h b/lib/third_party/imgui/include/fonts/unifont_font.h similarity index 100% rename from lib/external/imgui/include/fonts/unifont_font.h rename to lib/third_party/imgui/include/fonts/unifont_font.h diff --git a/lib/external/imgui/include/imconfig.h b/lib/third_party/imgui/include/imconfig.h similarity index 100% rename from lib/external/imgui/include/imconfig.h rename to lib/third_party/imgui/include/imconfig.h diff --git a/lib/external/imgui/include/imgui.h b/lib/third_party/imgui/include/imgui.h similarity index 100% rename from lib/external/imgui/include/imgui.h rename to lib/third_party/imgui/include/imgui.h diff --git a/lib/external/imgui/include/imgui_config.h b/lib/third_party/imgui/include/imgui_config.h similarity index 100% rename from lib/external/imgui/include/imgui_config.h rename to lib/third_party/imgui/include/imgui_config.h diff --git a/lib/external/imgui/include/imgui_impl_glfw.h b/lib/third_party/imgui/include/imgui_impl_glfw.h similarity index 100% rename from lib/external/imgui/include/imgui_impl_glfw.h rename to lib/third_party/imgui/include/imgui_impl_glfw.h diff --git a/lib/external/imgui/include/imgui_impl_opengl3.h b/lib/third_party/imgui/include/imgui_impl_opengl3.h similarity index 100% rename from lib/external/imgui/include/imgui_impl_opengl3.h rename to lib/third_party/imgui/include/imgui_impl_opengl3.h diff --git a/lib/external/imgui/include/imgui_impl_opengl3_loader.h b/lib/third_party/imgui/include/imgui_impl_opengl3_loader.h similarity index 100% rename from lib/external/imgui/include/imgui_impl_opengl3_loader.h rename to lib/third_party/imgui/include/imgui_impl_opengl3_loader.h diff --git a/lib/external/imgui/include/imgui_internal.h b/lib/third_party/imgui/include/imgui_internal.h similarity index 100% rename from lib/external/imgui/include/imgui_internal.h rename to lib/third_party/imgui/include/imgui_internal.h diff --git a/lib/external/imgui/include/imnodes.h b/lib/third_party/imgui/include/imnodes.h similarity index 100% rename from lib/external/imgui/include/imnodes.h rename to lib/third_party/imgui/include/imnodes.h diff --git a/lib/external/imgui/include/imnodes_internal.h b/lib/third_party/imgui/include/imnodes_internal.h similarity index 100% rename from lib/external/imgui/include/imnodes_internal.h rename to lib/third_party/imgui/include/imnodes_internal.h diff --git a/lib/external/imgui/include/implot.h b/lib/third_party/imgui/include/implot.h similarity index 100% rename from lib/external/imgui/include/implot.h rename to lib/third_party/imgui/include/implot.h diff --git a/lib/external/imgui/include/implot_internal.h b/lib/third_party/imgui/include/implot_internal.h similarity index 100% rename from lib/external/imgui/include/implot_internal.h rename to lib/third_party/imgui/include/implot_internal.h diff --git a/lib/external/imgui/include/imstb_rectpack.h b/lib/third_party/imgui/include/imstb_rectpack.h similarity index 100% rename from lib/external/imgui/include/imstb_rectpack.h rename to lib/third_party/imgui/include/imstb_rectpack.h diff --git a/lib/external/imgui/include/imstb_textedit.h b/lib/third_party/imgui/include/imstb_textedit.h similarity index 100% rename from lib/external/imgui/include/imstb_textedit.h rename to lib/third_party/imgui/include/imstb_textedit.h diff --git a/lib/external/imgui/include/imstb_truetype.h b/lib/third_party/imgui/include/imstb_truetype.h similarity index 100% rename from lib/external/imgui/include/imstb_truetype.h rename to lib/third_party/imgui/include/imstb_truetype.h diff --git a/lib/external/imgui/include/misc/freetype/imgui_freetype.cpp b/lib/third_party/imgui/include/misc/freetype/imgui_freetype.cpp similarity index 100% rename from lib/external/imgui/include/misc/freetype/imgui_freetype.cpp rename to lib/third_party/imgui/include/misc/freetype/imgui_freetype.cpp diff --git a/lib/external/imgui/include/misc/freetype/imgui_freetype.h b/lib/third_party/imgui/include/misc/freetype/imgui_freetype.h similarity index 100% rename from lib/external/imgui/include/misc/freetype/imgui_freetype.h rename to lib/third_party/imgui/include/misc/freetype/imgui_freetype.h diff --git a/lib/external/imgui/include/stb_image.h b/lib/third_party/imgui/include/stb_image.h similarity index 100% rename from lib/external/imgui/include/stb_image.h rename to lib/third_party/imgui/include/stb_image.h diff --git a/lib/external/imgui/source/TextEditor.cpp b/lib/third_party/imgui/source/TextEditor.cpp similarity index 100% rename from lib/external/imgui/source/TextEditor.cpp rename to lib/third_party/imgui/source/TextEditor.cpp diff --git a/lib/external/imgui/source/fonts/codicons_font.c b/lib/third_party/imgui/source/fonts/codicons_font.c similarity index 100% rename from lib/external/imgui/source/fonts/codicons_font.c rename to lib/third_party/imgui/source/fonts/codicons_font.c diff --git a/lib/external/imgui/source/fonts/fontawesome_font.c b/lib/third_party/imgui/source/fonts/fontawesome_font.c similarity index 100% rename from lib/external/imgui/source/fonts/fontawesome_font.c rename to lib/third_party/imgui/source/fonts/fontawesome_font.c diff --git a/lib/external/imgui/source/fonts/unifont_font.c b/lib/third_party/imgui/source/fonts/unifont_font.c similarity index 100% rename from lib/external/imgui/source/fonts/unifont_font.c rename to lib/third_party/imgui/source/fonts/unifont_font.c diff --git a/lib/external/imgui/source/imgui.cpp b/lib/third_party/imgui/source/imgui.cpp similarity index 100% rename from lib/external/imgui/source/imgui.cpp rename to lib/third_party/imgui/source/imgui.cpp diff --git a/lib/external/imgui/source/imgui_demo.cpp b/lib/third_party/imgui/source/imgui_demo.cpp similarity index 100% rename from lib/external/imgui/source/imgui_demo.cpp rename to lib/third_party/imgui/source/imgui_demo.cpp diff --git a/lib/external/imgui/source/imgui_draw.cpp b/lib/third_party/imgui/source/imgui_draw.cpp similarity index 100% rename from lib/external/imgui/source/imgui_draw.cpp rename to lib/third_party/imgui/source/imgui_draw.cpp diff --git a/lib/external/imgui/source/imgui_impl_glfw.cpp b/lib/third_party/imgui/source/imgui_impl_glfw.cpp similarity index 100% rename from lib/external/imgui/source/imgui_impl_glfw.cpp rename to lib/third_party/imgui/source/imgui_impl_glfw.cpp diff --git a/lib/external/imgui/source/imgui_impl_opengl3.cpp b/lib/third_party/imgui/source/imgui_impl_opengl3.cpp similarity index 100% rename from lib/external/imgui/source/imgui_impl_opengl3.cpp rename to lib/third_party/imgui/source/imgui_impl_opengl3.cpp diff --git a/lib/external/imgui/source/imgui_tables.cpp b/lib/third_party/imgui/source/imgui_tables.cpp similarity index 100% rename from lib/external/imgui/source/imgui_tables.cpp rename to lib/third_party/imgui/source/imgui_tables.cpp diff --git a/lib/external/imgui/source/imgui_widgets.cpp b/lib/third_party/imgui/source/imgui_widgets.cpp similarity index 100% rename from lib/external/imgui/source/imgui_widgets.cpp rename to lib/third_party/imgui/source/imgui_widgets.cpp diff --git a/lib/external/imgui/source/imnodes.cpp b/lib/third_party/imgui/source/imnodes.cpp similarity index 100% rename from lib/external/imgui/source/imnodes.cpp rename to lib/third_party/imgui/source/imnodes.cpp diff --git a/lib/external/imgui/source/implot.cpp b/lib/third_party/imgui/source/implot.cpp similarity index 100% rename from lib/external/imgui/source/implot.cpp rename to lib/third_party/imgui/source/implot.cpp diff --git a/lib/external/imgui/source/implot_demo.cpp b/lib/third_party/imgui/source/implot_demo.cpp similarity index 100% rename from lib/external/imgui/source/implot_demo.cpp rename to lib/third_party/imgui/source/implot_demo.cpp diff --git a/lib/external/imgui/source/implot_items.cpp b/lib/third_party/imgui/source/implot_items.cpp similarity index 100% rename from lib/external/imgui/source/implot_items.cpp rename to lib/third_party/imgui/source/implot_items.cpp diff --git a/lib/external/jthread/CMakeLists.txt b/lib/third_party/jthread/CMakeLists.txt similarity index 100% rename from lib/external/jthread/CMakeLists.txt rename to lib/third_party/jthread/CMakeLists.txt diff --git a/lib/external/jthread/includes/jthread.hpp b/lib/third_party/jthread/includes/jthread.hpp similarity index 100% rename from lib/external/jthread/includes/jthread.hpp rename to lib/third_party/jthread/includes/jthread.hpp diff --git a/lib/external/jthread/jthread b/lib/third_party/jthread/jthread similarity index 100% rename from lib/external/jthread/jthread rename to lib/third_party/jthread/jthread diff --git a/lib/external/llvm-demangle/CMakeLists.txt b/lib/third_party/llvm-demangle/CMakeLists.txt similarity index 100% rename from lib/external/llvm-demangle/CMakeLists.txt rename to lib/third_party/llvm-demangle/CMakeLists.txt diff --git a/lib/external/llvm-demangle/LICENSE.TXT b/lib/third_party/llvm-demangle/LICENSE.TXT similarity index 100% rename from lib/external/llvm-demangle/LICENSE.TXT rename to lib/third_party/llvm-demangle/LICENSE.TXT diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/Demangle.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/Demangle.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/Demangle.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/Demangle.h diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/DemangleConfig.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/DemangleConfig.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/DemangleConfig.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/DemangleConfig.h diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/ItaniumDemangle.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/ItaniumDemangle.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/ItaniumDemangle.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/ItaniumDemangle.h diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/ItaniumNodes.def b/lib/third_party/llvm-demangle/include/llvm/Demangle/ItaniumNodes.def similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/ItaniumNodes.def rename to lib/third_party/llvm-demangle/include/llvm/Demangle/ItaniumNodes.def diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/MicrosoftDemangle.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/MicrosoftDemangle.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/MicrosoftDemangle.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/MicrosoftDemangle.h diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/MicrosoftDemangleNodes.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/MicrosoftDemangleNodes.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/MicrosoftDemangleNodes.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/MicrosoftDemangleNodes.h diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/README.txt b/lib/third_party/llvm-demangle/include/llvm/Demangle/README.txt similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/README.txt rename to lib/third_party/llvm-demangle/include/llvm/Demangle/README.txt diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/StringViewExtras.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/StringViewExtras.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/StringViewExtras.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/StringViewExtras.h diff --git a/lib/external/llvm-demangle/include/llvm/Demangle/Utility.h b/lib/third_party/llvm-demangle/include/llvm/Demangle/Utility.h similarity index 100% rename from lib/external/llvm-demangle/include/llvm/Demangle/Utility.h rename to lib/third_party/llvm-demangle/include/llvm/Demangle/Utility.h diff --git a/lib/external/llvm-demangle/source/DLangDemangle.cpp b/lib/third_party/llvm-demangle/source/DLangDemangle.cpp similarity index 100% rename from lib/external/llvm-demangle/source/DLangDemangle.cpp rename to lib/third_party/llvm-demangle/source/DLangDemangle.cpp diff --git a/lib/external/llvm-demangle/source/Demangle.cpp b/lib/third_party/llvm-demangle/source/Demangle.cpp similarity index 100% rename from lib/external/llvm-demangle/source/Demangle.cpp rename to lib/third_party/llvm-demangle/source/Demangle.cpp diff --git a/lib/external/llvm-demangle/source/ItaniumDemangle.cpp b/lib/third_party/llvm-demangle/source/ItaniumDemangle.cpp similarity index 100% rename from lib/external/llvm-demangle/source/ItaniumDemangle.cpp rename to lib/third_party/llvm-demangle/source/ItaniumDemangle.cpp diff --git a/lib/external/llvm-demangle/source/MicrosoftDemangle.cpp b/lib/third_party/llvm-demangle/source/MicrosoftDemangle.cpp similarity index 100% rename from lib/external/llvm-demangle/source/MicrosoftDemangle.cpp rename to lib/third_party/llvm-demangle/source/MicrosoftDemangle.cpp diff --git a/lib/external/llvm-demangle/source/MicrosoftDemangleNodes.cpp b/lib/third_party/llvm-demangle/source/MicrosoftDemangleNodes.cpp similarity index 100% rename from lib/external/llvm-demangle/source/MicrosoftDemangleNodes.cpp rename to lib/third_party/llvm-demangle/source/MicrosoftDemangleNodes.cpp diff --git a/lib/external/llvm-demangle/source/RustDemangle.cpp b/lib/third_party/llvm-demangle/source/RustDemangle.cpp similarity index 100% rename from lib/external/llvm-demangle/source/RustDemangle.cpp rename to lib/third_party/llvm-demangle/source/RustDemangle.cpp diff --git a/lib/external/microtar/CMakeLists.txt b/lib/third_party/microtar/CMakeLists.txt similarity index 100% rename from lib/external/microtar/CMakeLists.txt rename to lib/third_party/microtar/CMakeLists.txt diff --git a/lib/external/microtar/LICENSE b/lib/third_party/microtar/LICENSE similarity index 100% rename from lib/external/microtar/LICENSE rename to lib/third_party/microtar/LICENSE diff --git a/lib/external/microtar/README.md b/lib/third_party/microtar/README.md similarity index 100% rename from lib/external/microtar/README.md rename to lib/third_party/microtar/README.md diff --git a/lib/external/microtar/include/microtar.h b/lib/third_party/microtar/include/microtar.h similarity index 100% rename from lib/external/microtar/include/microtar.h rename to lib/third_party/microtar/include/microtar.h diff --git a/lib/external/microtar/source/microtar.c b/lib/third_party/microtar/source/microtar.c similarity index 100% rename from lib/external/microtar/source/microtar.c rename to lib/third_party/microtar/source/microtar.c diff --git a/lib/external/miniaudio/CMakeLists.txt b/lib/third_party/miniaudio/CMakeLists.txt similarity index 100% rename from lib/external/miniaudio/CMakeLists.txt rename to lib/third_party/miniaudio/CMakeLists.txt diff --git a/lib/external/miniaudio/LICENSE b/lib/third_party/miniaudio/LICENSE similarity index 100% rename from lib/external/miniaudio/LICENSE rename to lib/third_party/miniaudio/LICENSE diff --git a/lib/external/miniaudio/include/miniaudio.h b/lib/third_party/miniaudio/include/miniaudio.h similarity index 100% rename from lib/external/miniaudio/include/miniaudio.h rename to lib/third_party/miniaudio/include/miniaudio.h diff --git a/lib/external/miniaudio/source/miniaudio.c b/lib/third_party/miniaudio/source/miniaudio.c similarity index 100% rename from lib/external/miniaudio/source/miniaudio.c rename to lib/third_party/miniaudio/source/miniaudio.c diff --git a/lib/external/nativefiledialog b/lib/third_party/nativefiledialog similarity index 100% rename from lib/external/nativefiledialog rename to lib/third_party/nativefiledialog diff --git a/lib/external/nlohmann_json/CMakeLists.txt b/lib/third_party/nlohmann_json/CMakeLists.txt similarity index 100% rename from lib/external/nlohmann_json/CMakeLists.txt rename to lib/third_party/nlohmann_json/CMakeLists.txt diff --git a/lib/external/nlohmann_json/include/nlohmann/json.hpp b/lib/third_party/nlohmann_json/include/nlohmann/json.hpp similarity index 100% rename from lib/external/nlohmann_json/include/nlohmann/json.hpp rename to lib/third_party/nlohmann_json/include/nlohmann/json.hpp diff --git a/lib/external/nlohmann_json/include/nlohmann/json_fwd.hpp b/lib/third_party/nlohmann_json/include/nlohmann/json_fwd.hpp similarity index 100% rename from lib/external/nlohmann_json/include/nlohmann/json_fwd.hpp rename to lib/third_party/nlohmann_json/include/nlohmann/json_fwd.hpp diff --git a/lib/external/xdgpp b/lib/third_party/xdgpp similarity index 100% rename from lib/external/xdgpp rename to lib/third_party/xdgpp diff --git a/lib/external/yara/CMakeLists.txt b/lib/third_party/yara/CMakeLists.txt similarity index 100% rename from lib/external/yara/CMakeLists.txt rename to lib/third_party/yara/CMakeLists.txt diff --git a/lib/external/yara/crypto.h b/lib/third_party/yara/crypto.h similarity index 100% rename from lib/external/yara/crypto.h rename to lib/third_party/yara/crypto.h diff --git a/lib/external/yara/yara b/lib/third_party/yara/yara similarity index 100% rename from lib/external/yara/yara rename to lib/third_party/yara/yara