Cthulhu  0.2.10
Cthulhu compiler collection
target.c
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-3.0-only
2 
3 #include "hlsl/target.h"
4 
5 #include "driver/driver.h"
6 
7 CT_DRIVER_API const target_t kTargetHlsl = {
8  .info = {
9  .id = "target/hlsl",
10  .name = "HLSL",
11  .version = {
12  .license = "LGPLv3",
13  .author = "Elliot Haisley",
14  .desc = "HLSL code generation target",
15  .version = CT_NEW_VERSION(0, 0, 1),
16  },
17  },
18 };
19 
#define CT_NEW_VERSION(major, minor, patch)
creates a new ctu_version_t from major, minor and patch
Definition: version_def.h:20
#define CT_TARGET_EXPORT(mod)
declares the entry point for a target driver module
CT_DRIVER_API const target_t kTargetHlsl
Definition: target.c:7
const char * id
unique id for the module
Definition: broker.h:101
a codegen target backend
Definition: broker.h:232
module_info_t info
information about the target
Definition: broker.h:234