Browse Source

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

Fixes: #23106
Craig Scott 3 years ago
parent
commit
248cfb5b6e
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Help/generator/Xcode.rst

+ 10 - 0
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)