mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
56cf509a72
The cmLocalGenerator::AddCompilerRequirementFlag was another source of truth on what standard levels existed per language, so fold that into cmStandardLevelResolver to make updating CMake easier
8 lines
197 B
CMake
8 lines
197 B
CMake
enable_language(CUDA)
|
|
try_compile(result ${CMAKE_CURRENT_BINARY_DIR}
|
|
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src.cu
|
|
CUDA_STANDARD 4
|
|
OUTPUT_VARIABLE out
|
|
)
|
|
message("try_compile output:\n${out}")
|