Skip to content

Commit 24ec642

Browse files
Toilettraumaclaude
andcommitted
fix(build): drop the tools/ wiring left behind by 184386b
That commit removed the directory but not the references to it: the preset still set ANIPARSE_BUILD_TOOLS=ON, so add_subdirectory("tools") ran against a directory that no longer existed and configure failed. Removes the option, the add_subdirectory, the preset entry, the codecov ignore and the README rows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 184386b commit 24ec642

5 files changed

Lines changed: 1 addition & 12 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
option(ANIPARSE_BUILD_TESTS "build tests, Default=OFF" OFF)
66
option(ANIPARSE_BUILD_EXAMPLES "build examples, Default=OFF" OFF)
7-
option(ANIPARSE_BUILD_TOOLS "build tools, Default=OFF" OFF)
87
option(ANIPARSE_ANALYZE "MSVC /analyze lifetime gate (slow; CI leg)" OFF)
98

109
# HTTP backends. The parse core is backend-neutral (talks only to ClientContext);
@@ -53,7 +52,7 @@ if (ANIPARSE_SHARED)
5352
# PIC. Set before the add_subdirectory() calls in the find modules below.
5453
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
5554
# Windows has no rpath — the loader looks for a DLL next to the .exe. Put the
56-
# library and every in-tree consumer (tests, examples, tools) in one directory,
55+
# library and every in-tree consumer (tests, examples) in one directory,
5756
# so libaniparse.dll AND the third-party DLLs vcpkg's applocal step copies
5857
# beside it (libcurl, zlib — needed by the library, not by the exe, so an exe's
5958
# own applocal pass never fetches them) are all found without a copy step.
@@ -241,10 +240,6 @@ if (ANIPARSE_BUILD_EXAMPLES)
241240
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/examples")
242241
endif()
243242

244-
if (ANIPARSE_BUILD_TOOLS)
245-
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/tools")
246-
endif()
247-
248243
# ---- CONFIGURE PACKAGE
249244

250245
include(CMakePackageConfigHelpers)

CMakePresets.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
1414
"ANIPARSE_BUILD_TESTS": true,
1515
"ANIPARSE_BUILD_EXAMPLES": true,
16-
"ANIPARSE_BUILD_TOOLS": true,
1716
"ANIPARSE_CURL_BACKEND": true,
1817
"ANIPARSE_USE_BOOST_REGEX": true
1918
},

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ cmake --build build
167167
|---|---|---|
168168
| `ANIPARSE_BUILD_TESTS` | `OFF` | Build tests |
169169
| `ANIPARSE_BUILD_EXAMPLES` | `OFF` | Build examples |
170-
| `ANIPARSE_BUILD_TOOLS` | `OFF` | Build tools |
171170
| `ANIPARSE_SHARED` | `OFF` | Build a shared library (`.dll` / `.so` / `.dylib`) instead of a static one. Seeded from `BUILD_SHARED_LIBS` if you set that instead. |
172171

173172
A shared build exports every symbol (no annotation in the headers) and absorbs the
@@ -229,7 +228,6 @@ aniparse/
229228
├── src/ # Implementation
230229
├── examples/ # Usage examples
231230
├── tests/ # Tests
232-
├── tools/ # Additional tooling
233231
├── lexbor/ # Submodule: HTML parser
234232
└── libasyncnet/ # Submodule: asynchronous networking
235233
```

README.ru.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ cmake --build build
167167
|---|---|---|
168168
| `ANIPARSE_BUILD_TESTS` | `OFF` | Сборка тестов |
169169
| `ANIPARSE_BUILD_EXAMPLES` | `OFF` | Сборка примеров |
170-
| `ANIPARSE_BUILD_TOOLS` | `OFF` | Сборка утилит |
171170
| `ANIPARSE_SHARED` | `OFF` | Собрать динамическую библиотеку (`.dll` / `.so` / `.dylib`) вместо статической. Значение берётся из `BUILD_SHARED_LIBS`, если задан он. |
172171

173172
Динамическая сборка экспортирует все символы (разметки в заголовках не требуется) и
@@ -229,7 +228,6 @@ aniparse/
229228
├── src/ # Реализация
230229
├── examples/ # Примеры использования
231230
├── tests/ # Тесты
232-
├── tools/ # Дополнительные инструменты
233231
├── lexbor/ # Субмодуль: HTML-парсер
234232
└── libasyncnet/ # Субмодуль: асинхронная сеть
235233
```

codecov.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ ignore:
2626
- "out/**"
2727
- "tests/**"
2828
- "examples/**"
29-
- "tools/**"
3029

3130
comment:
3231
layout: "reach, diff, files"

0 commit comments

Comments
 (0)