That will cause git to flag an untracked file, this proposed change will stop git from showing the untracked changes.
Probably it would be better to copy this file to the build directory instead of source directory, but I didn't looked too deep into the cmakelists file. If that happens, then we can revert this .gitignore back.
Currently
src/tbb/win32-gcc-tbb-export.def
will be generated (by copying from linux.def
file) because it did not exist. https://github.com/wjakob/tbb/blob/20357d83871e4cb93b2c724fe0c337cd999fd14f/CMakeLists.txt#L209That will cause git to flag an untracked file, this proposed change will stop git from showing the untracked changes.
Probably it would be better to copy this file to the build directory instead of source directory, but I didn't looked too deep into the cmakelists file. If that happens, then we can revert this .gitignore back.