cmake/Tests/RunCMake/try_compile/ObjCStandard.cmake

12 lines
253 B
CMake
Raw Normal View History

2022-11-16 20:14:03 +01:00
include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
2020-02-01 23:06:01 +01:00
enable_language(OBJC)
2022-11-16 20:14:03 +01:00
try_compile(result ${try_compile_bindir_or_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/src.m
2020-02-01 23:06:01 +01:00
OBJC_STANDARD 3
OUTPUT_VARIABLE out
)
2022-11-16 20:14:03 +01:00
2020-02-01 23:06:01 +01:00
message("try_compile output:\n${out}")