diff options
author | Brad King <brad.king@kitware.com> | 2021-10-27 16:59:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-27 16:59:16 (GMT) |
commit | dbe33b20bde8fd9a2196409a0df91245c082f653 (patch) | |
tree | f4f1d6a2f103528027b4b4f684fe12f4515ddb66 /Tests | |
parent | 1a25f057da00f79d9e81c64db87a27061d2ed311 (diff) | |
download | CMake-dbe33b20bde8fd9a2196409a0df91245c082f653.zip CMake-dbe33b20bde8fd9a2196409a0df91245c082f653.tar.gz CMake-dbe33b20bde8fd9a2196409a0df91245c082f653.tar.bz2 |
install: Add context to {PUBLIC,PRIVATE}_HEADER/RESOURCE DESTINATION warnings
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt | 13 | ||||
-rw-r--r-- | Tests/RunCMake/install/TARGETS-Defaults-stderr.txt | 13 |
2 files changed, 22 insertions, 4 deletions
diff --git a/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt b/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt index 1939097..138a69d 100644 --- a/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt +++ b/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt @@ -1,2 +1,11 @@ -^INSTALL TARGETS - target lib3 has PRIVATE_HEADER files but no PRIVATE_HEADER DESTINATION\. -INSTALL TARGETS - target lib4 has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION\.$ +^CMake Warning \(dev\) at TARGETS-Defaults-Cache.cmake:[0-9]+ \(install\): + Target lib3 has PRIVATE_HEADER files but no PRIVATE_HEADER DESTINATION. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it. + +CMake Warning \(dev\) at TARGETS-Defaults-Cache.cmake:[0-9]+ \(install\): + Target lib4 has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it.$ diff --git a/Tests/RunCMake/install/TARGETS-Defaults-stderr.txt b/Tests/RunCMake/install/TARGETS-Defaults-stderr.txt index 1939097..5f56986 100644 --- a/Tests/RunCMake/install/TARGETS-Defaults-stderr.txt +++ b/Tests/RunCMake/install/TARGETS-Defaults-stderr.txt @@ -1,2 +1,11 @@ -^INSTALL TARGETS - target lib3 has PRIVATE_HEADER files but no PRIVATE_HEADER DESTINATION\. -INSTALL TARGETS - target lib4 has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION\.$ +^CMake Warning \(dev\) at TARGETS-Defaults.cmake:[0-9]+ \(install\): + Target lib3 has PRIVATE_HEADER files but no PRIVATE_HEADER DESTINATION. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it. ++ +CMake Warning \(dev\) at TARGETS-Defaults.cmake:[0-9]+ \(install\): + Target lib4 has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it.$ |