Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build the lib with visual studio 2017 #69

Open
northwind97 opened this issue Jan 10, 2021 · 3 comments
Open

How to build the lib with visual studio 2017 #69

northwind97 opened this issue Jan 10, 2021 · 3 comments

Comments

@northwind97
Copy link

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

@juj
Copy link
Owner

juj commented Jan 10, 2021

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.

@northwind97
Copy link
Author

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
Copy link
Author

Hi guys,

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

Thank you.

Regards
Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants