OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-kb / skills / cmake-macos / api-extract.json

26 lines · json ref:
{
  "repo": "cmake-macos",
  "timestamp": "2026-01-16T23:56:08.807Z",
  "entryPoint": "index.js",
  "exports": {
    "packageJson": {}
  },
  "api": {},
  "readme": {
    "content": "# cmake-macos\n\nFunctions for streamlining the creation of macOS application bundles (`.app` files), including icon management, code signing, and more.\n\n## API\n\n#### `find_codesign`\n\nLocates the `codesign` command-line utility required for code signing macOS applications.\n\n```cmake\nfind_codesign(<result>)\n```\n\n##### `<result>`\nAn output variable where the path to the codesign tool will be stored.\n\n#### `find_iconutil`\n\nLocates the `iconutil` command-line utility used for manipulating macOS icon sets (`.icns` \nfiles).\n\n```cmake\nfind_iconutil(<result>)\n```\n\n##### `<result>`\nAn output variable where the path to the iconutil tool will be stored.\n\n#### `add_macos_entitlements`\n\nGenerates a macOS `Entitlements.plist` file for specifying special permissions required by the application.\n\n```cmake\nadd_macos_entitlements(\n  <target>\n  [DESTINATION <path>]\n  ENTITLEMENTS <entitlement...>\n)\n```\n\n##### `<target>` \nThe name of the CMake target to create.\n\n##### `DESTINATION <path>`\nThe location to sa",
    "sections": [
      "intro",
      "api",
      "license"
    ],
    "hasApi": true,
    "hasExamples": true,
    "exampleCount": 6,
    "examples": [
      "##### `<result>`\nAn output variable where the path to the codesign tool will be stored.\n\n#### `find_iconutil`\n\nLocates the `iconutil` command-line utility used for manipulating macOS icon sets (`.icns` \nfiles).",
      "##### `<result>`\nAn output variable where the path to the iconutil tool will be stored.\n\n#### `add_macos_entitlements`\n\nGenerates a macOS `Entitlements.plist` file for specifying special permissions required by the application.",
      "##### `<target>` \nThe name of the CMake target to create.\n\n##### `DESTINATION <path>`\nThe location to save the generated `Entitlements.plist`. Defaults to `\"Entitlements.plist\"` in the build directory.\n\n##### `ENTITLEMENTS <entitlement...>`\nA list of entitlement keys to be included.\n\n#### `add_macos_iconset`\n\nCreates a macOS icon set (`.icns` file) from a collection of image files."
    ]
  },
  "patterns": []
}