mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
aa9220d3a0
Introduce a new signature for try_compile (and try_run) which removes the `bindir` argument and requires the SOURCES tag. This will eventually allow us to add other ways of providing sources, but also allows us to change the behavior without breaking compatibility. The old signature uses a special, but non-unique temporary location inside the specified `bindir`, which conventionally is just the project's build directory. The new signature unconditionally uses the a unique temporary directory which is unconditionally within the project's build directory (which is no longer separately specified). This ensures that successive runs do not overwrite previous runs, will simplify debugging, and should also, eventually, allow us to execute multiple trials in parallel.
8 lines
382 B
Plaintext
8 lines
382 B
Plaintext
^CMake Error at .*/Tests/RunCMake/try_compile/CudaStandard-build/CMakeFiles/CMake(Tmp|Scratch/TryCompile-[^/]+)/CMakeLists.txt:[0-9]+ \(add_executable\):
|
|
CUDA_STANDARD is set to invalid value '4'
|
|
+
|
|
CMake Error at CudaStandard.cmake:[0-9]+ \(try_compile\):
|
|
Failed to generate test project build system.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9]+ \(include\)$
|