rcedgar / usearch12

Open-source usearch
https://drive5.com/usearch
GNU General Public License v3.0
92 stars 11 forks source link

CMake build system #10

Open alexxy opened 3 months ago

alexxy commented 3 months ago

Hi!

It will be good to have CMake based build system for usearch. CMake is cross-platform build system, that allows quite easy build and install usearch

PS If appricated i can create merge request with cmake build system

rcedgar commented 3 months ago

Thanks for the suggestion. From my personal perspective, the problem with CMake is the integration with Microsoft Visual Studio is not very good, or more accurately I found it so difficult to use that I gave up. I use MSVS as my primary development environment, and recently I spent a few days trying to figure out CMake in the hope that this would make cross-platform development easier. I found CMake is quite easy, but MSCS-CMake integration to be very unfriendly. In the end, I decided it was easier to write my own Python scripts to generate Makefiles from .vcxproj files. There is a related discussion here for how I tried to solve the problem for MUSCLE: https://github.com/rcedgar/muscle/wiki/Design-of-Makefiles-and-Visual-Studio-project-build