Help: The Xcode generator does not support per-config sources

Fixes: #23106
This commit is contained in:
Craig Scott
2022-10-08 18:44:36 +11:00
parent a07be2ffd1
commit 248cfb5b6e
+10
View File
@@ -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)