mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Tests: Shorten name RunCMake.IfacePaths_{INCLUDE_DIRECTORIES => INCDIRS}
The original name was responsible for the longest path in our build tree. Use a shorter name to enable longer build tree names on Windows.
This commit is contained in:
@@ -434,8 +434,8 @@ if(UNIX)
|
||||
add_RunCMake_test(CPackSymlinks)
|
||||
endif()
|
||||
|
||||
set(IfacePaths_INCLUDE_DIRECTORIES_ARGS -DTEST_PROP=INCLUDE_DIRECTORIES)
|
||||
add_RunCMake_test(IfacePaths_INCLUDE_DIRECTORIES TEST_DIR IfacePaths)
|
||||
set(IfacePaths_INCDIRS_ARGS -DTEST_PROP=INCLUDE_DIRECTORIES)
|
||||
add_RunCMake_test(IfacePaths_INCDIRS TEST_DIR IfacePaths)
|
||||
|
||||
set(IfacePaths_SOURCES_ARGS -DTEST_PROP=SOURCES)
|
||||
add_RunCMake_test(IfacePaths_SOURCES TEST_DIR IfacePaths)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CMake Error in CMakeLists.txt:
|
||||
Target "testTarget" INTERFACE_INCLUDE_DIRECTORIES property contains path:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix/BinInInstallPrefix-CMP0052-NEW-build/foo"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/BinInInstallPrefix-CMP0052-NEW-build/foo"
|
||||
|
||||
which is prefixed in the build directory.
|
||||
|
||||
@@ -6,15 +6,15 @@ CMake Warning \(dev\) in CMakeLists.txt:
|
||||
|
||||
Directory:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix/BinInInstallPrefix-CMP0052-WARN-build/foo"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/BinInInstallPrefix-CMP0052-WARN-build/foo"
|
||||
|
||||
in INTERFACE_INCLUDE_DIRECTORIES of target "testTarget" is a subdirectory
|
||||
of the install directory:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix"
|
||||
|
||||
however it is also a subdirectory of the build tree:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix/BinInInstallPrefix-CMP0052-WARN-build"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/BinInInstallPrefix-CMP0052-WARN-build"
|
||||
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CMake Error in CMakeLists.txt:
|
||||
Target "testTarget" INTERFACE_INCLUDE_DIRECTORIES property contains path:
|
||||
|
||||
".*RunCMake/IfacePaths_INCLUDE_DIRECTORIES/BinaryDirectoryInInterface-build/foo"
|
||||
".*RunCMake/IfacePaths_INCDIRS/BinaryDirectoryInInterface-build/foo"
|
||||
|
||||
which is prefixed in the build directory.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CMake Error in CMakeLists.txt:
|
||||
Target "testTarget" INTERFACE_INCLUDE_DIRECTORIES property contains path:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/InstallInBinDir-build/foo"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/InstallInBinDir-build/foo"
|
||||
|
||||
which is prefixed in the build directory.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CMake Error in CMakeLists.txt:
|
||||
Target "testTarget" INTERFACE_INCLUDE_DIRECTORIES property contains path:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/copy/foo"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/copy/foo"
|
||||
|
||||
which is prefixed in the source directory.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CMake Error in CMakeLists.txt:
|
||||
Target "testTarget" INTERFACE_INCLUDE_DIRECTORIES property contains path:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix/src/foo"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/src/foo"
|
||||
|
||||
which is prefixed in the source directory.
|
||||
|
||||
@@ -6,15 +6,15 @@ CMake Warning \(dev\) in CMakeLists.txt:
|
||||
|
||||
Directory:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix/src/foo"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/src/foo"
|
||||
|
||||
in INTERFACE_INCLUDE_DIRECTORIES of target "testTarget" is a subdirectory
|
||||
of the install directory:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix"
|
||||
|
||||
however it is also a subdirectory of the source tree:
|
||||
|
||||
".*Tests/RunCMake/IfacePaths_INCLUDE_DIRECTORIES/prefix/src"
|
||||
".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/src"
|
||||
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
Reference in New Issue
Block a user