Boost logo

Boost :

Subject: Re: [boost] [cmake] Pull request announcement
From: Peter Dimov (lists_at_[hidden])
Date: 2018-09-17 12:00:23

Alexander Grund wrote:

> > If I include your project's root CMake file that contains tests added by
> > add_test(), then I cannot avoid those when running my own tests.
> Usual action for this is to only add the tests folder if
> CMAKE_SOURCE_DIR==PROJECT_SOURCE_DIR (you are the project being build)

This sounds sensible.

Out of curiosity, I looked at Hana and Yap as two examples that already have
CMakeLists files and neither bothers to do so. Both assume that they are the
project being built, and do not support add_subdirectory use.

Boost list run by bdawes at, gregod at, cpdaniel at, john at