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

Add a variable to cmake to determine static or shared linked boost #126

Closed
NobbZ opened this issue May 30, 2017 · 1 comment
Closed

Add a variable to cmake to determine static or shared linked boost #126

NobbZ opened this issue May 30, 2017 · 1 comment
Labels

Comments

@NobbZ
Copy link
Member

NobbZ commented May 30, 2017

On my system I do have a shared boost and linking it statically fails for some unknown reason. Currently I change those lines in CMakeLists.txt and the *_test.cpp by hand.

But shouldn't it be possible to provide a variable that can be set by the student and then create appropriate *_test.cpp?

As far as I can remember, cmake is able to pre-process any kind of file.

@arcuru
Copy link
Contributor

arcuru commented Apr 20, 2019

Ah, it is possible, but modifying the source in CMake would be a bit odd. Regardless, this issue is outdated as Boost is now removed from the majority of the track, see #233. Closing.

@arcuru arcuru closed this as completed Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants