mhoopmann / mstoolkit

Automatically exported from code.google.com/p/mstoolkit
27 stars 10 forks source link

Compilation failed #20

Closed flistliu closed 3 years ago

flistliu commented 4 years ago

Is it possible to provide compilation guide files under Windows? Or provide Makefile file that supports nmake. The current version is not friendly to newbies who just want to use this library on MSVC.

mhoopmann commented 4 years ago

Yes, I can do that and will post something for you in a few days. Sorry for the delay.

mhoopmann commented 3 years ago

Ack. I was far slower than a few days. MAKEFILE.nmake was added to the source tree. It can be used to compile with nmake, provided you use the x64 Native Tools Command Prompt. This should be included with your MSVC developer tools. I've tested with MSVC 2019 and it works well on my end.

The makefile isn't very smart: it will recompile everything even if you change only one file. So feel free to expand upon it for your needs. Or, ideally, use it as a template to build your own MSVC solution. Please let me know if there are any problems.