From 248cfb5b6e780b412a57a50d7a8dd31c93eccdbf Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 8 Oct 2022 18:44:36 +1100 Subject: Help: The Xcode generator does not support per-config sources Fixes: #23106 --- Help/generator/Xcode.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Help/generator/Xcode.rst b/Help/generator/Xcode.rst index fc7eea1..a66f483 100644 --- a/Help/generator/Xcode.rst +++ b/Help/generator/Xcode.rst @@ -44,3 +44,13 @@ Swift Support When using the :generator:`Xcode` generator with Xcode 6.1 or higher, one may enable the ``Swift`` language with the :command:`enable_language` command or the :command:`project`. + +Limitations +^^^^^^^^^^^ + +The Xcode generator does not support per-configuration sources. +Code like the following will result in a generation error: + +.. code-block:: cmake + + add_executable(MyApp mymain-$.cpp) -- cgit v0.12