BrianGladman / mpir

Multiple Precision Integers and Rationals
GNU General Public License v3.0
75 stars 36 forks source link

How to build with --enable-gmpcompat in Visual Studio? #20

Open jeanmonet opened 3 years ago

jeanmonet commented 3 years ago

Hi, this may be a newbie question, but how does one build with --enable-gmpcompat option when using Visual Studio?

There's also a question on SO on this topic: https://stackoverflow.com/questions/38279880/mpir-windows-build-with-enable-gmpcompat

BrianGladman commented 3 years ago

MPIR on Windows generates the header files (gmp.h and gmpxx.h) without the need to specify this. But the build does not rename the output libraries (mpir.lib and mpirxx.lib) so this step has to be done manually after they have been built.