Need to Learn More About CMake

I’ve been looking at using MongoDB from C++ and trying to build the MongoDB C and C++ driver code. So far, the build files that CMake has generated on my main development box (targeting Visual Studio 2017) have pulled in cygwin header files and generated various other problems. I don’t really understand why the tool would be getting confused like this, but I want a better understanding of how CMake decides where to look for build files and configuration and how to control that.

I’m sure that having cygwin and visual studio on the same machine should be a workable configuration so I expect there are ways to keep CMake from pulling in the wrong files.

Hoping to get to the point where I can cleanly build these drivers and get them working in some 64 bit visual C++ code.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.