[CMake] CMake 3.5-CMAKE_BINARY_DIR is set to ${CMAKE_SOURCE_DIR} when calling add_subdirectory?

Stephen Kelly steveire at gmail.com
Mon Feb 22 16:31:30 EST 2016


Attila Krasznahorkay wrote:

> Setting these variables by hand sounds quite dangerous. I'm not sure how
> much this is meant to be supported.
> 

This is definitely UB.




More information about the CMake mailing list