Link Search Menu Expand Document

Objective-C

Add Objective-C sources on Apple platforms:

[project]
name = "objective-c"
description = "Objective-C"
languages = ["C"]
apple.languages = ["OBJC"]

[target.hello]
type = "executable"
sources = ["src/main.c"]
apple.sources = ["src/apple.m"]
apple.link-libraries = ["$<LINK_LIBRARY:FRAMEWORK,Foundation>"]

This page was automatically generated from tests/objective-c/cmake.toml.