Skip to content

ignore source files in CMAKE_BINARY_DIR for clang-format target

Christoph Cullmann requested to merge work/ignore_build_dir into master

This avoids that file globs will ever collect stuff in the binary directory of CMake, even if people use inline build/ directories.

@alex @dfaure

Tested with some ktexteditor build with inline "build" directory (and altered glob to just collect all *.cpp/...) + retrigger CMake run by touching the CMakeLists.txt after building.

Merge request reports