diff options
author | Brad King <brad.king@kitware.com> | 2019-10-02 17:59:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-17 18:05:39 (GMT) |
commit | 55a0bebdd3d253f81bd89782702d481ac81110b3 (patch) | |
tree | 51a92b849ede48404455a03c562d0d0a9a95714a /Tests/RunCMake | |
parent | bcaecf6bcddfaec2b586bff870650a4a66b0ccc3 (diff) | |
download | CMake-55a0bebdd3d253f81bd89782702d481ac81110b3.zip CMake-55a0bebdd3d253f81bd89782702d481ac81110b3.tar.gz CMake-55a0bebdd3d253f81bd89782702d481ac81110b3.tar.bz2 |
VS: Add support for per-config sources
Since commit 97cc29c766 (VS: Teach generators how to mark per-config
source files, 2017-04-10, v3.9.0-rc1~268^2~2) the VS generators have
known how to generate per-config sources. We've now converted most
other code paths to support per-config sources, so drop the check
that disallows it.
This leaves only per-config support for precompiled headers and unity
build transformations, but those are optional features that can be
addressed later.
Fixes: #18233
Issue: #19789
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/TargetSources/RunCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/TargetSources/RunCMakeTest.cmake b/Tests/RunCMake/TargetSources/RunCMakeTest.cmake index bee8c4e..0d462ba 100644 --- a/Tests/RunCMake/TargetSources/RunCMakeTest.cmake +++ b/Tests/RunCMake/TargetSources/RunCMakeTest.cmake @@ -1,6 +1,6 @@ include(RunCMake) -if(RunCMake_GENERATOR MATCHES "Visual Studio|Xcode") +if(RunCMake_GENERATOR STREQUAL "Xcode") run_cmake(ConfigNotAllowed) endif() |