You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
269 B

enable_language(C)
set(CMAKE_LINKER_TYPE APPLE_CLASSIC)
add_executable(main main.c)
target_link_libraries(main PRIVATE m m)
if(CMake_TEST_Swift)
enable_language(Swift)
add_executable(main_swift main.swift)
target_link_libraries(main_swift PRIVATE m m)
endif()