-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.json
51 lines (51 loc) · 1.65 KB
/
project.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
// Language version of C3.
"langrev": "1",
// Warnings used for all targets.
"warnings": [ "no-unused" ],
// Directories where C3 library files may be found.
"dependency-search-paths": [ ".." ],
// Libraries to use for all targets.
"dependencies": [ "imgui" ],
// Authors, optionally with email.
"authors": [ "NexushasTaken <[email protected]>" ],
// Version using semantic versioning.
// (same as Dear ImGui Version)
"version": "1.91.0",
// Sources compiled for all targets.
//"sources": [ "src/**" ],
// C sources if the project also compiles C sources
// relative to the project file.
//"c-sources": [ "csource/**" ],
// Include directories for C sources relative to the project file.
//"c-include-dirs": [ "csource/include" ],
// Output location, relative to project file.
"output": "build",
// Architecture and OS target.
// You can use 'c3c --list-targets' to list all valid targets.
//"target": "linux-x64",
// Targets.
"targets": {
"generator": {
// Executable or library.
"type": "executable",
// Additional libraries, sources
// and overrides of global settings here.
"sources": [
"src/generator.c3",
"src/string_utils.c3",
"src/function_output.c3",
],
},
"target": {
"type": "executable",
"sources": ["src/target.c3"],
},
},
// Global settings.
// CPU name, used for optimizations in the LLVM backend.
"cpu": "generic",
// Optimization: "O0", "O1", "O2", "O3", "O4", "O5", "Os", "Oz".
"opt": "O0",
// See resources/examples/project_all_settings.json and 'c3c --list-project-properties' to see more properties.
}