chore: ignore an in-tree configure's output
`build/` only covers the directory the presets use, so `cmake -S . -B .` left CMakeFiles/, Makefile, cmake_install.cmake and the generated include/plot/version.hpp untracked in the repository root -- which shows up as dirty content in the parent project's status whenever the submodule is checked out.
This commit is contained in:
1 parent
2f7cdccdde
commit
9790becb33
1 file changed
+12
+12
@@ -3,3 +3,15 @@ build/
|
|||||||
# Not this project's and not generated by it: a Solarus game-engine message that
|
# Not this project's and not generated by it: a Solarus game-engine message that
|
||||||
# happens to sit in the repo root.
|
# happens to sit in the repo root.
|
||||||
error.txt
|
error.txt
|
||||||
|
|
||||||
|
# An *in-tree* configure writes these beside the sources. `build/` above only covers the
|
||||||
|
# directory the presets use, and `cmake -S . -B .` leaves the whole of CMake's output in the
|
||||||
|
# repository root -- which then reads as an untracked submodule to whoever has it checked out.
|
||||||
|
CMakeFiles/
|
||||||
|
CMakeCache.txt
|
||||||
|
cmake_install.cmake
|
||||||
|
Makefile
|
||||||
|
CTestTestfile.cmake
|
||||||
|
CPackConfig.cmake
|
||||||
|
# Configured from `include/plot/version.hpp.in`, so it is output and not a source file.
|
||||||
|
include/plot/version.hpp
|
||||||
Reference in new issue
Block a user