mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
In commit b2c14bc774 (cmake -E: Add cmake_transform_depfile internal
command, 2020-10-02, v3.20.0-rc1~684^2~2) a partial implementation for
converting MSBuild "TLog" format files was added. However, it is
unused and incomplete:
* Does not enforce absolute paths as TLog docs require.
* Does not upper-case paths as TLog docs recommend.
* The TLog format semantics are not equivalent to `out: in`.
Remove the unused TLog transform infrastructure to avoid confusion.
Issue: #20286
18 lines
583 B
CMake
18 lines
583 B
CMake
include(RunCMake)
|
|
|
|
function(run_transform_depfile name)
|
|
set(RunCMake-check-file gccdepfile.cmake)
|
|
run_cmake_command(${name}-gcc
|
|
${CMAKE_COMMAND} -E cmake_transform_depfile "${RunCMake_GENERATOR}" gccdepfile "${RunCMake_SOURCE_DIR}" "${RunCMake_SOURCE_DIR}/subdir" "${RunCMake_BINARY_DIR}" "${RunCMake_BINARY_DIR}/subdir" "${CMAKE_CURRENT_LIST_DIR}/${name}.d" out.d
|
|
)
|
|
endfunction()
|
|
|
|
if(WIN32)
|
|
run_transform_depfile(deps-windows)
|
|
else()
|
|
run_transform_depfile(deps-unix)
|
|
endif()
|
|
run_transform_depfile(noexist)
|
|
run_transform_depfile(empty)
|
|
run_transform_depfile(invalid)
|