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

No DOCTEST_WITH_TESTS? #211

Closed
SuperWig opened this issue Mar 24, 2019 · 3 comments
Closed

No DOCTEST_WITH_TESTS? #211

SuperWig opened this issue Mar 24, 2019 · 3 comments

Comments

@SuperWig
Copy link

Seems like you don't have the option to build the tests or not anymore?

@onqtam
Copy link
Member

onqtam commented Mar 24, 2019

it is possible only when the doctest cmake is used directly and not through add_subdirectory() (same goes for assembling the single header).

Perhaps removing that option was a mistake - not sure. Currently you can just call cmake for the doctest folder separately from your projects and the tests will be present.

@SuperWig
Copy link
Author

Well I was updating the vcpkg port and noticed that there doesn't seem to be a way to disable building the tests anymore.

@onqtam
Copy link
Member

onqtam commented Mar 24, 2019

I just re-introduced that option in this commit:
b22d878

now in master. Will move the 2.3.1 tag 1 commit ahead as well.

@onqtam onqtam closed this as completed Mar 24, 2019
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