I want to build a C++ component using MinGW and CMake, but the provided documentation only lists an example for Visual Studio:
C:\>MKDIR build C:\>cd build C:\build>cmake -G "Visual Studio 10" -DWITH_BOOST=OFF -DWITH_ORACLE=OFF (...) ..\soci-X.Y.Z C:\build>msbuild.exe SOCI.sln
How do I build this for MinGW?
You will probably need the source of the example: http://soci.sourceforge.net/doc/installation.html
Have you tried this?
You’ll need MinGW installed and available in your
%PATH%.