mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
Help: The Xcode generator does not support per-config sources
Fixes: #23106
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user