summaryrefslogtreecommitdiff
path: root/project.json
diff options
context:
space:
mode:
Diffstat (limited to 'project.json')
-rw-r--r--project.json43
1 files changed, 8 insertions, 35 deletions
diff --git a/project.json b/project.json
index 1e785c4..2bdca63 100644
--- a/project.json
+++ b/project.json
@@ -1,45 +1,18 @@
{
- // 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": [ "lib" ],
- // Libraries to use for all targets.
- "dependencies": [ ],
- // Authors, optionally with email.
- "authors": [ "John Doe <john.doe@example.com>" ],
- // Version using semantic versioning.
+ "warnings": [ "no-unused" ],
+ "dependency-search-paths": [ "lib" ],
+ "dependencies": [ "curl" ],
+ "authors": [ "andromeda" ],
"version": "0.1.0",
- // Sources compiled for all targets.
- "sources": [ "src/**" ],
- // Test sources compiled for all targets.
- "test-sources": [ "test/**" ],
- // 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" ],
- // Build location, relative to project file.
+ "sources": [ "**" ],
"build-dir": "build",
- // Output location, relative to project file.
"output": "build",
- // Architecture and OS target.
- // You can use 'c3c --list-targets' to list all valid targets.
- // "target": "windows-x64",
- // Targets.
"targets": {
"radgen": {
- // Executable or library.
- "type": "executable",
- // Additional libraries, sources
- // and overrides of global settings here.
- },
+ "type": "executable"
+ }
},
- // 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.
-} \ No newline at end of file
+}