Files
CMake/Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input
T
Brad King 607bccb4ef Restore implicit include directory extraction for adaptive relative paths
Update the logic added by commit ef41d49812 (Fix implicit include
directory extraction for adaptive relative paths, 2019-04-08,
v3.14.2~5^2) to account for the new `try_compile` work directory used
for the ABI check since commit 2edf0fc6d7 (Modules: Use new
keyword-dispatched try_compile signature, 2022-09-13,
v3.25.0-rc1~144^2).

Paths relative to the work directory will now have one more `../`
in them, so update the test data to match.

Fixes: #24279
2023-01-12 12:05:42 -05:00

24 lines
645 B
Plaintext

CMAKE_LANG=CXX
CMAKE_CXX_COMPILER_ABI=ELF
CMAKE_CXX_COMPILER_AR=/usr/bin/gcc-ar-7
CMAKE_CXX_COMPILER_ARCHITECTURE_ID=
CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN=
CMAKE_CXX_COMPILER_ID=GNU
CMAKE_CXX_COMPILER_LAUNCHER=
CMAKE_CXX_COMPILER_LOADED=1
CMAKE_CXX_COMPILER_RANLIB=/usr/bin/gcc-ranlib-7
CMAKE_CXX_COMPILER_TARGET=
CMAKE_CXX_COMPILER_VERSION=7.3.0
CMAKE_CXX_COMPILER_VERSION_INTERAL=
This is a hand-written test case.
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
../../../../adaptive/relative/include
/usr/include
End of search list.
/usr/bin/ld -L/usr/lib64 -L../../../../adaptive/relative/lib