diff options
author | Brad King <brad.king@kitware.com> | 2020-07-20 19:30:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-07 12:46:34 (GMT) |
commit | bafa9fe8876387fa16cc8c03832d27df81238af1 (patch) | |
tree | ceacc9bc2f52d38411937d99363cfc9697ec3300 /Tests/RunCMake/FileAPI/interface | |
parent | 439191313363caea225a508634495c50d4cc60dd (diff) | |
download | CMake-bafa9fe8876387fa16cc8c03832d27df81238af1.zip CMake-bafa9fe8876387fa16cc8c03832d27df81238af1.tar.gz CMake-bafa9fe8876387fa16cc8c03832d27df81238af1.tar.bz2 |
fileapi: Add INTERFACE libraries with SOURCES to codemodel-v2
INTERFACE libraries with SOURCES now appear in the generated
buildsystem, so include them in the codemodel output too.
We do not need to bump the `codemodel-v2` object kind minor
version because that was already done in post-3.18 development
by commit 7d6861f367 (fileapi: Extend codemodel targets with
language standard, 2020-06-18).
Fixes: #18608
Diffstat (limited to 'Tests/RunCMake/FileAPI/interface')
-rw-r--r-- | Tests/RunCMake/FileAPI/interface/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/interface/CMakeLists.txt b/Tests/RunCMake/FileAPI/interface/CMakeLists.txt new file mode 100644 index 0000000..97948c5 --- /dev/null +++ b/Tests/RunCMake/FileAPI/interface/CMakeLists.txt @@ -0,0 +1,3 @@ +project(Interface) +add_library(iface_none INTERFACE) +add_library(iface_srcs INTERFACE ../empty.c) |