[cmake-developers] optional-install topic

Nils Gladitz nilsgladitz at gmail.com
Mon Jan 6 10:59:00 EST 2014


On 01/06/2014 04:48 PM, Brad King wrote:
> The topic adds the variable "CMAKE_DISABLE_INSTALL_RULES".
> For skipping certain generation features we already have the
> convention "CMAKE_SKIP_..." for variable names.  Perhaps
> "CMAKE_SKIP_INSTALL_RULES"?
>
> Please add a RunCMake.install test with a case covering the warning:
>
> +    mf->IssueMessage(cmake::WARNING,
> +      "CMAKE_DISABLE_INSTALL_RULES was enabled even though "
> +      "installation rules have been specified");
>
> Also please look at adding a full test that verifies that
> no cmake_install.cmake file is generated and if possible that
> "cmake --build . --target install" fails.
>
Will be done.

Thanks!

Nils



More information about the cmake-developers mailing list