norlab-ulaval / libnabo

A fast K Nearest Neighbor library for low-dimensional spaces
http://norlab-ulaval.github.io/libnabo/
BSD 3-Clause "New" or "Revised" License
440 stars 144 forks source link

Separate lib names for debug and release build #122

Open oesi82 opened 2 years ago

oesi82 commented 2 years ago

When building and installing the lib on windows the release and debug libs are installed in the same folder with the same name, i.e., libnabo.lib. Thus it is not possible to have debug and release lib at the same time. Commonly, a 'd' is used as a suffix to differ the debug from release build. I would be happy if you add _set(CMAKE_DEBUGPOSTFIX "d") to the CMakeLists.txt.