From 3184b32c7c102294cf90cb8e2d4de5764322c485 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Thu, 6 Aug 2026 13:19:32 +0200 Subject: [PATCH 1/2] [nfc] mention when optionParser was forked --- core/dictgen/res/OptionParser.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/dictgen/res/OptionParser.h b/core/dictgen/res/OptionParser.h index 207f3c862c79a..e7beeadeeab3f 100644 --- a/core/dictgen/res/OptionParser.h +++ b/core/dictgen/res/OptionParser.h @@ -38,8 +38,9 @@ */ /* -Danio Piparo - Since we import this parser from tan external source, we keep -track of the changes: +Danio Piparo - Since we import this parser from tan external source, +specifically https://sourceforge.net/projects/optionparser/ at version 1.3, +we keep track of the changes: New Features 6-7-12: o Added FullArg class from the examples in the header From f7d3cf38ffa78925324647306a4a7dd414dd6995 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Thu, 6 Aug 2026 13:24:53 +0200 Subject: [PATCH 2/2] [core] mv hard-coded option parser to builtin folder to show that it's an external source and to potentially later resync with upstream 1.7 rather than current 1.3 --- {core/dictgen/res => builtins/optionparser}/OptionParser.h | 0 core/dictgen/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+) rename {core/dictgen/res => builtins/optionparser}/OptionParser.h (100%) diff --git a/core/dictgen/res/OptionParser.h b/builtins/optionparser/OptionParser.h similarity index 100% rename from core/dictgen/res/OptionParser.h rename to builtins/optionparser/OptionParser.h diff --git a/core/dictgen/CMakeLists.txt b/core/dictgen/CMakeLists.txt index 3df26f190b2bd..dccbc9b297e38 100644 --- a/core/dictgen/CMakeLists.txt +++ b/core/dictgen/CMakeLists.txt @@ -44,6 +44,7 @@ endif() target_include_directories(Dictgen PRIVATE ${CMAKE_SOURCE_DIR}/core/dictgen/src ${CMAKE_SOURCE_DIR}/core/dictgen/res + ${CMAKE_SOURCE_DIR}/builtins/optionparser ${CMAKE_SOURCE_DIR}/core/foundation/res ${CMAKE_SOURCE_DIR}/core/clingutils/res ${CMAKE_SOURCE_DIR}/core/base/inc