MathGeoLib icon indicating copy to clipboard operation
MathGeoLib copied to clipboard

How to build the lib with visual studio 2017

Open northwind97 opened this issue 4 years ago • 3 comments

Hi guys,

I have seen there is a bat file to generate the visual studio project. But the project is only for the testing and has only one file. How could I get the visual project to compile the whole lib in visual studio 2017?

Thank you.. Regards Eric

northwind97 avatar Jan 10 '21 01:01 northwind97

Try creating another bat file in that directory, with the contents

cmake -DMATH_AVX=1 -DMATH_FMA3=1 -G "Visual Studio 15 2017 Win64" ..

That should create a static library.

juj avatar Jan 10 '21 07:01 juj

Hi JUJ, Thank you for your reply. I have tried, it doesn't work. The following both cases create the same solution file under the directory: .\MathGeoLib-master\vs2017-64bit

cmake -DMATH_AVX=1 -DMATH_FMA3=1 -DMATH_TESTS_EXECUTABLE=0 -DFAIL_USING_EXCEPTIONS=1 -G "Visual Studio 15 2017 Win64" ..

cmake -DMATH_AVX=1 -DMATH_FMA3=1 -G "Visual Studio 15 2017 Win64" ..

northwind97 avatar Jan 10 '21 14:01 northwind97

Hi guys,

Has anyone tried to generate the solution file for visual studio?

Thank you.

Regards Eric

northwind97 avatar Jan 12 '21 10:01 northwind97