From 2ed00e8ef831d08a66492b41764d84e6afb43b7f Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 31 Jan 2020 10:04:13 -0500 Subject: CPack: Deprecate OSXX11 generator The CPack OSXX11 generator has not had any updates since 2011 except as part of sweeping maintenance changes. It also creates packages with a OSXScriptLauncher binary that has only ppc and i386 architectures which are not supported by Apple anymore. Furthermore, the generator is not even mentioned in our documentation. Add a deprecation warning. Fixes: #20235 --- Source/CPack/cmCPackOSXX11Generator.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/CPack') diff --git a/Source/CPack/cmCPackOSXX11Generator.cxx b/Source/CPack/cmCPackOSXX11Generator.cxx index 951c65f4d3..5de4a6f3fe 100644 --- a/Source/CPack/cmCPackOSXX11Generator.cxx +++ b/Source/CPack/cmCPackOSXX11Generator.cxx @@ -178,6 +178,9 @@ int cmCPackOSXX11Generator::PackageFiles() int cmCPackOSXX11Generator::InitializeInternal() { + cmCPackLogger(cmCPackLog::LOG_WARNING, + "The OSXX11 generator is deprecated " + "and will be removed in a future version.\n"); cmCPackLogger(cmCPackLog::LOG_DEBUG, "cmCPackOSXX11Generator::Initialize()" << std::endl); std::vector path; -- cgit v1.2.1