diff options
author | Brad King <brad.king@kitware.com> | 2014-08-22 13:27:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-02 14:17:02 (GMT) |
commit | dd11ae8f0f72562f4cb0fabdf8b798cd75d36f41 (patch) | |
tree | 2d76239320f3e521d262c0c78e478c3d12f46b58 /Help | |
parent | b8e405387eca702d93a88eb55842a65de7792cf5 (diff) | |
download | CMake-dd11ae8f0f72562f4cb0fabdf8b798cd75d36f41.zip CMake-dd11ae8f0f72562f4cb0fabdf8b798cd75d36f41.tar.gz CMake-dd11ae8f0f72562f4cb0fabdf8b798cd75d36f41.tar.bz2 |
VS: Do not compile C sources as WinRT (#15100)
The MSVC /ZW flag is valid only for C++ sources. Whenever we enable
CompileAsWinRT for the whole target, disable it for all C sources.
Update the documentation of VS_WINRT_COMPONENT to drop the statement
about undefined behavior for non-C++ sources, because it is now
defined as expected.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/VS_WINRT_COMPONENT.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Help/prop_tgt/VS_WINRT_COMPONENT.rst b/Help/prop_tgt/VS_WINRT_COMPONENT.rst index a017f0e..e160bd6 100644 --- a/Help/prop_tgt/VS_WINRT_COMPONENT.rst +++ b/Help/prop_tgt/VS_WINRT_COMPONENT.rst @@ -7,8 +7,5 @@ For ``SHARED`` and ``MODULE`` libraries, this also defines the ``_WINRT_DLL`` preprocessor macro. .. note:: - Behavior is not defined for targets with source files that compile as - any language other than ``CXX``. - Currently this is implemented only by Visual Studio generators. Support may be added to other generators in the future. |