summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/ObjCxxStandard.cmake
blob: 1221805c0d5b5c0784992ba06b602197d452e115 (plain)
1
2
3
4
5
6
7
enable_language(OBJCXX)
try_compile(result ${CMAKE_CURRENT_BINARY_DIR}
  SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src.mm
  OBJCXX_STANDARD 3
  OUTPUT_VARIABLE out
  )
message("try_compile output:\n${out}")