Add support for vendor specific extensions in project.json and manifest.json.

This commit is contained in:
Christoffer Lerno
2024-08-22 12:49:14 +02:00
parent abbd94e89b
commit 218f1a6ead
2 changed files with 4 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ const char *manifest_default_keys[][2] = {
{"exec", "Scripts run for all platforms."},
{"provides", "The library name"},
{"targets", "The map of supported platforms"},
{"vendor", "Vendor specific extensions, ignored by c3c."},
{"wincrt", "Windows CRT linking: none, static, dynamic."}
};
@@ -29,6 +30,7 @@ const char *manifest_target_keys[][2] = {
{"exec", "Scripts to also run for the target."},
{"linked-libraries", "Libraries linked by the linker for this target, overriding global settings."},
{"link-args", "Linker arguments for this target."},
{"vendor", "Vendor specific extensions, ignored by c3c."},
{"wincrt", "Windows CRT linking: none, static, dynamic."}
};

View File

@@ -51,6 +51,7 @@ const char *project_default_keys[][2] = {
{"trap-on-wrap", "Make signed and unsigned integer overflow generate a panic rather than wrapping."},
{"use-stdlib", "Include the standard library (default: true)."},
{"version", "Version using semantic versioning."},
{"vendor", "Vendor specific extensions, ignored by c3c."},
{"warnings", "Warnings used for all targets."},
{"wincrt", "Windows CRT linking: none, static, dynamic (default)."},
{"windef", "Windows def file, used as an alternative to dllexport when exporting a DLL."},
@@ -120,6 +121,7 @@ const char* project_target_keys[][2] = {
{"trap-on-wrap", "Make signed and unsigned integer overflow generate a panic rather than wrapping."},
{"type", "Type of output, one of 'executable', 'static-lib', 'dynamic-lib', 'benchmark', 'test', 'object-files'." },
{"use-stdlib", "Include the standard library (default: true)."},
{"vendor", "Vendor specific extensions, ignored by c3c."},
{"version", "Version using semantic versioning."},
{"warnings", "Warnings used for all targets."},
{"wincrt", "Windows CRT linking: none, static, dynamic (default)."},