Filed new bug https://gitlab.kitware.com/cmake/cmake/issues/19475
Le jeu. 13 juin 2019 à 11:06, Marc Herbert a
écrit :
> Ping?
>
> I'd like to file a bug but I don't know what is the intended behavior:
> 1. Should binary_dir work even when no target?
> 2. Should CMake warn/error that binary_dir
Ping?
I'd like to file a bug but I don't know what is the intended behavior:
1. Should binary_dir work even when no target?
2. Should CMake warn/error that binary_dir is not supported unless targets
are used?
Marc
Le mar. 4 juin 2019 à 12:05, Marc Herbert a écrit :
> tl;dr: should there be at
tl;dr: should there be at least one target per CMakeLists.txt?
https://cmake.org/cmake/help/v3.14/command/add_subdirectory.html
> add_subdirectory(source_dir [binary_dir] )
> "The binary_dir specifies the directory in which to place the output
files. [...] If binary_dir is not specified, the