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

CMake and Visual Studio #170

Closed
AngusJohnson opened this issue Aug 24, 2022 · 0 comments
Closed

CMake and Visual Studio #170

AngusJohnson opened this issue Aug 24, 2022 · 0 comments

Comments

@AngusJohnson
Copy link
Owner

AngusJohnson commented Aug 24, 2022

Thanks Nicolas.
I've merged your changes which look just fine.
Howevr, I'm a complete novice with CMake so there's an element of trust there 😁😱🤞🙏.
And on that note, how do I get CMake to generate solution files so that Visual Studio will compile and execute the examples.
I'm sure there are online examples re using CMake in VS but I'm hoping you can provide a "quick and dirty" explanation that's specific to your modified CMakeLists.txt. I've gotten as far as

option(CLIPPER2_UTILS "Build utilities" ON)
option(CLIPPER2_EXAMPLES "Build examples" ON)
option(CLIPPER2_TESTS "Build tests" ON)

but no further. Cheers.

ps: I'm also going to need a reasonably thorough explanation that I can add to the documentation as I suspect many Visual Studio users will be having similar difficulties. (And I'm also hoping that you might include something in CMakeLists.txt that would automate building *.sln and *.proj files.)

Edit: For some reason I don't understand, it now seems to be working.

Originally posted by @AngusJohnson in #169 (comment)

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

1 participant