https://github.com/Kitware/CMake
Revision c111d440cef08f744f910ebdca063f1c63586e84 authored by Brad King on 08 June 2022, 16:37:48 UTC, committed by Brad King on 08 June 2022, 19:13:27 UTC
The ExternalProject module has long used the generator-specific placeholder in the `${CMAKE_CFG_INTDIR}` variable to express per-config stamp file paths in multi-config generators. Now that most generators support generator expressions in custom command outputs, we can use the `$<CONFIG>` genex instead. In particular, this fixes cross-config `BUILD_BYPRODUCTS` with the Ninja Multi-Config generator. Fixes: #23595
1 parent aaf5353
Tip revision: c111d440cef08f744f910ebdca063f1c63586e84 authored by Brad King on 08 June 2022, 16:37:48 UTC
ExternalProject: Express per-config step stamp file paths using CONFIG genex
ExternalProject: Express per-config step stamp file paths using CONFIG genex
Tip revision: c111d44
cmConfigure.cmake.h.in
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#pragma once
#include "cmsys/Configure.hxx" // IWYU pragma: export
#ifdef _MSC_VER
#pragma warning(disable : 4786)
#pragma warning(disable : 4503)
#endif
#ifdef __ICL
#pragma warning(disable : 985)
#pragma warning(disable : 1572) /* floating-point equality test */
#endif
#cmakedefine HAVE_ENVIRON_NOT_REQUIRE_PROTOTYPE
#cmakedefine HAVE_UNSETENV
#cmakedefine CMake_USE_MACH_PARSER
#cmakedefine CMake_USE_XCOFF_PARSER
#define CMake_DEFAULT_RECURSION_LIMIT @CMake_DEFAULT_RECURSION_LIMIT@
#define CMAKE_BIN_DIR "/@CMAKE_BIN_DIR@"
#define CMAKE_DATA_DIR "/@CMAKE_DATA_DIR@"
#define CMAKE_DOC_DIR "/@CMAKE_DOC_DIR@"
#define CM_FALLTHROUGH cmsys_FALLTHROUGH
#if defined(_WIN32) && !defined(NOMINMAX)
# define NOMINMAX
#endif
Computing file changes ...