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

added BUILD_TESTS cmake option #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added BUILD_TESTS cmake option #41

wants to merge 1 commit into from

Conversation

mristin
Copy link
Collaborator

@mristin mristin commented Dec 11, 2018

No description provided.

@mristin mristin requested a review from mavam December 11, 2018 06:43
Copy link
Owner

@mavam mavam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making the unit tests optional is a valuable addition. 👍

However, the PR silently changes a critical piece of the build infrastructure. So far we provided a thin shell script to facilitate the build process. If you find it more valuable to change the current script, then this should be a separate PR.

What's missing for this PR to go through is enhancing the configure script with an option along the lines of --no-unit-tests and reverting the change in the README. I'm not against ditching the script, but I think we need to discuss it first. 🙂

@mristin
Copy link
Collaborator Author

mristin commented Dec 19, 2018

Hi @mavam
Sorry, it slipped my attention that there is a configure script. I would really suggest to remove the script (I didn't even notice that it exists ;)). I'm used to either configure && make && make install workflow or cmake ... && make && make install, but not a hybrid approach. As far as I can see, you set only some flags in configure which you could just as well set when invoking cmake (and this would also be the expected way of configuring for me)?

Since today so many people started using conan, it makes only sense to me to keep CMakeLists.txt, delete configure and package the whole repo for conan once we are satisfied with the changes (e.g., once the serialization is in). That would be the least surprise to me as the user.

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

Successfully merging this pull request may close these issues.

2 participants