Menu

Visual Studio Makefile

Chris3D
2012-10-26
2015-06-09
  • Chris3D

    Chris3D - 2012-10-26

    Thank you very much for sharing your code, would it be possible to upload a Visual Studio 2010 Cmake file also? I'd like to test your code in an windows environment.
    Cheers,
    Chris

     
  • Martin Srom

    Martin Srom - 2012-10-29

    Hi Chris, I'm sorry but I can't help you right now. I don't have any experience with Visual Studio make files. But I think if you add all source files to your project in Visual Studio it should compile just fine. Except the file "main.c" which includes "getopt.h" which is POSIX, but according to http://stackoverflow.com/questions/10404448/getopt-h-compiling-unix-c-code-in-windows it should be also doable. The "main.c" represents a console application and thus if you want to use only the library and not the application you don't need it.

    Regards,

    Martin

     
  • Martin Pulec

    Martin Pulec - 2015-06-09

    Hi Chris,

    I know this ticket is almost 3 years old but just for record, I've added support for MSW a year ago so Visual Studio project is included in sources. As Martin mentioned, console application doesn't work right now due to missing prerequisities but DLL build from sources should work as expected.

    Cheers,
    Martin

     

Log in to post a comment.

MongoDB Logo MongoDB