CMake trouble with Mingw

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:


Have you tried this?

C:\>MKDIR build
C:\>cd build
C:\build>cmake -G "MinGW Makefiles" -DWITH_BOOST=OFF -DWITH_ORACLE=OFF (...) ..\soci-X.Y.Z

You'll need MinGW installed and available in your %PATH%.

Need Your Help

How to dynamically updating Label text when textbox changes

c# winforms textbox label

I am having a problem with updating the text of my label. Not sure how do I go about doing this.

How to add hyperlink to Comment's InnerText

c# hyperlink openxml

Similar to my previous question, I'm trying to add an hyperlink to the current comment's InnerText. The hyperlink is added successfully, but when I try to open the .docx file, the comments.xml file...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.