diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-10-08 07:44:36 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-10-08 09:11:25 (GMT) |
commit | 248cfb5b6e780b412a57a50d7a8dd31c93eccdbf (patch) | |
tree | ca2f9cf282ab064e4c3a0084aacb77ec8d9d437b /Help/generator/Xcode.rst | |
parent | a07be2ffd18a03cc30153f8bafbe47f8e640eb44 (diff) | |
download | CMake-248cfb5b6e780b412a57a50d7a8dd31c93eccdbf.zip CMake-248cfb5b6e780b412a57a50d7a8dd31c93eccdbf.tar.gz CMake-248cfb5b6e780b412a57a50d7a8dd31c93eccdbf.tar.bz2 |
Help: The Xcode generator does not support per-config sources
Fixes: #23106
Diffstat (limited to 'Help/generator/Xcode.rst')
-rw-r--r-- | Help/generator/Xcode.rst | 10 |
1 files changed, 10 insertions, 0 deletions
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-$<CONFIG>.cpp) |