mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
b0716fbcc5
The ambiguous extension logic is an old behavior that ends up taking lots of extra compute cycles to execute. This is triggered by various CMake codepaths which pass extension-less paths down when CMake actually knows that they are not ambiguous. These codepaths will be indicated in upcoming changes. Various APIs have gained a cmSourceFileLocationKind parameter, but they are all optional and default to the existing behavior.
16 lines
460 B
C
16 lines
460 B
C
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#ifndef cmSourceFileLocationKind_h
|
|
#define cmSourceFileLocationKind_h
|
|
|
|
enum class cmSourceFileLocationKind
|
|
{
|
|
// The location is user-specified and may be ambiguous.
|
|
Ambiguous,
|
|
// The location is known to be at the given location; do not try to guess at
|
|
// extensions or absolute path.
|
|
Known
|
|
};
|
|
|
|
#endif
|