chore(build): preserve direct build settings after cleanup

This commit is contained in:
KOKO\Mimi
2026-10-17 22:34:26 +09:00
4 changed files with 5 additions and 19 deletions
-14
View File
@@ -20,20 +20,6 @@ __pycache__/
*.h5
.worktrees/
# local Harness configuration and build outputs
.harness/config.json
.harness/build/
.harness/build-ninja-msvc-debug/
.harness/build-ninja-msvc-debug-english/
.harness/build-ninja-msvc-debug-prefix/
.harness/build-ninja-msvc-debug-lazy/
.harness/build-ninja-msvc-release-lazy/
.harness/build-ninja-msvc-release-prefix-cl/
.harness/build-ninja-msvc-release/
.harness/performance/
.harness/doxygen/
.harness/hook-state/
# phase execution outputs
phases/**/phase*-output.json
phases/**/step*-output.json
+2 -2
View File
@@ -5,7 +5,7 @@
"name": "windows-msvc-ninja-debug",
"displayName": "Windows MSVC x64 Debug (Ninja)",
"generator": "Ninja",
"binaryDir": "${sourceDir}/.harness/build-ninja-msvc-debug",
"binaryDir": "${sourceDir}/build/windows-msvc-ninja-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"FESA_GTEST_SOURCE_DIR": "$env{FESA_GTEST_SOURCE_DIR}",
@@ -18,7 +18,7 @@
"name": "windows-msvc-ninja-release",
"displayName": "Windows MSVC x64 Release with symbols (Ninja)",
"inherits": "windows-msvc-ninja-debug",
"binaryDir": "${sourceDir}/.harness/build-ninja-msvc-release",
"binaryDir": "${sourceDir}/build/windows-msvc-ninja-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
+1 -1
View File
@@ -1,6 +1,6 @@
PROJECT_NAME = FESA
PROJECT_NUMBER = 0.1.0
OUTPUT_DIRECTORY = .harness/doxygen
OUTPUT_DIRECTORY = build/doxygen
INPUT = include src
EXCLUDE = tests
RECURSIVE = YES
+2 -2
View File
@@ -66,11 +66,11 @@ def test_p_style_001_cpp_style_and_doxygen_tooling_contract():
assert doxyfile["INPUT"].split() == ["include", "src"]
assert doxyfile["EXCLUDE"].split() == ["tests"]
assert doxyfile["WARN_AS_ERROR"] == "YES"
assert doxyfile["OUTPUT_DIRECTORY"] == ".harness/doxygen"
assert doxyfile["OUTPUT_DIRECTORY"] == "build/doxygen"
assert doxyfile["HTML_OUTPUT"] == "html"
gitignore_lines = read(ROOT / ".gitignore").splitlines()
assert ".harness/doxygen/" in gitignore_lines
assert "build/" in gitignore_lines
cmake = read(ROOT / "CMakeLists.txt")
assert "find_package(Doxygen QUIET)" in cmake