libhv icon indicating copy to clipboard operation
libhv copied to clipboard

Source directory is modified during CMake configuration

Open ungive opened this issue 1 year ago • 0 comments

This is nothing big, but when configuring the project with CMake, the source directory is modified, which shows changes to stage in my git status message and in my editor, which is a bit annoying. This line in CMakeLists.txt is the reason:

https://github.com/ithewei/libhv/blob/8c67e056f63c6cb4f9476d5904bef5ef9f350f12/CMakeLists.txt#L89

My suggestion is to either write the output to the CMake binary directory and add the output directory to the include path or add hconfig.h to .gitignore.

ungive avatar Jul 17 '24 21:07 ungive