diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-31 15:37:02 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-09 08:38:49 (GMT) |
commit | 783bce295b98640ebcd56a4a6ca9f673992bcaa7 (patch) | |
tree | 04d27e1fa71737b5cf140f307fde7466dd38c1f5 /Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt | |
parent | c869984ea013f99c3104abaf17d553b08c4b17c2 (diff) | |
download | CMake-783bce295b98640ebcd56a4a6ca9f673992bcaa7.zip CMake-783bce295b98640ebcd56a4a6ca9f673992bcaa7.tar.gz CMake-783bce295b98640ebcd56a4a6ca9f673992bcaa7.tar.bz2 |
Export: Disallow exported interface includes in src/build tree (#14592).
Allow directories in the source tree or build tree only if the
install tree is a subdirectory of the source tree or build tree,
as appropriate.
Re-use the test files in the RunCMake.include_directories test
to run in multiple scenarios. Bump the required CMake version
in the test to 3.0 to ensure that the new policy warnings are
emitted correctly.
Diffstat (limited to 'Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt')
-rw-r--r-- | Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt b/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt new file mode 100644 index 0000000..f6d408c --- /dev/null +++ b/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt @@ -0,0 +1,15 @@ +CMake Warning \(dev\) in CMakeLists.txt: + Policy CMP0052 is not set: Reject source and build dirs in installed + INTERFACE_INCLUDE_DIRECTORIES. Run "cmake --help-policy CMP0052" for + policy details. Use the cmake_policy command to set the policy and + suppress this warning. + + Directory: + + ".*Tests/RunCMake/include_directories/prefix/BinInInstallPrefix-CMP0052-WARN-build/foo" + + in INTERFACE_INCLUDE_DIRECTORIES of target "testTarget" is a subdirectory + of the install directory: + + ".*Tests/RunCMake/include_directories/prefix" +This warning is for project developers. Use -Wno-dev to suppress it. |