[CMake] CMake script mode not backward compatible?

Damien R damienrg+list at gmail.com
Mon Oct 29 04:28:20 EDT 2018


Hi,

Since cmake 3.10, using cmake in script mode (-P) produce an error with the
following script:

cmake_minimum_required(VERSION 3.9)
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL FALSE)

I did not see something related in the release notes of cmake 3.10 so I
would like to know if it is a regression, or if I was lucky that it worked
in cmake prior to 3.10?

Damien R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181029/1073b411/attachment.html>


More information about the CMake mailing list