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

Fix propagating include directories of target doctest_with_main #193

Merged
merged 1 commit into from
Mar 14, 2019
Merged

Fix propagating include directories of target doctest_with_main #193

merged 1 commit into from
Mar 14, 2019

Conversation

dimztimz
Copy link
Contributor

I broke this cmake target in my last patch
0dbbd4f

@@ -46,16 +46,12 @@ add_custom_target(assemble_single_header ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}
## TESTS/EXAMPLES/HELPERS
################################################################################

if(${DOCTEST_WITH_MAIN_IN_STATIC_LIB} AND NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
if(${DOCTEST_WITH_MAIN_IN_STATIC_LIB})
Copy link
Contributor Author

Choose a reason for hiding this comment

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

concerning this change, please leave it as, it makes development inside IDE easier because they detect the target and thus they detect the .cpp file too.

Copy link
Member

Choose a reason for hiding this comment

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

fair enough :)

@onqtam onqtam merged commit 02d4c9b into doctest:dev Mar 14, 2019
@dimztimz dimztimz deleted the cmake-target branch March 15, 2019 19:09
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