CStandard.cmake 280 B

1234567891011
  1. include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
  2. enable_language(C)
  3. try_compile(result ${try_compile_bindir_or_SOURCES}
  4. ${try_compile_redundant_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
  5. C_STANDARD 3
  6. OUTPUT_VARIABLE out
  7. )
  8. message("try_compile output:\n${out}")