wjakob / tbb

Intel TBB with CMake build system
Apache License 2.0
369 stars 161 forks source link

Ignore generated .def file #59

Closed lanyizi closed 4 years ago

lanyizi commented 4 years ago

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#L209

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.

wjakob commented 4 years ago

Thanks!