Refactored project.json
This commit is contained in:
+9
-2
@@ -8,7 +8,7 @@
|
||||
// Libraries to use for all targets.
|
||||
"dependencies": [ ],
|
||||
// Authors, optionally with email.
|
||||
"authors": [ "John Doe <john.doe@example.com>" ],
|
||||
"authors": [ "Khwezi Mngoma <khwezi@mngom.africa>" ],
|
||||
// Version using semantic versioning.
|
||||
"version": "0.1.0",
|
||||
// Sources compiled for all targets.
|
||||
@@ -33,8 +33,15 @@
|
||||
// Executable or library.
|
||||
"type": "executable",
|
||||
// Additional libraries, sources
|
||||
// and overrides of global settings here.
|
||||
// and overrides of global settings here.
|
||||
},
|
||||
"avr": {
|
||||
"type": "executable",
|
||||
"triple": "avr-atmel-none",
|
||||
"cpu": "atmega328p",
|
||||
"sources": ["src/*.c3"],
|
||||
"linker-flags": ["-Tdata=0x800100", "-mmcu=atmega328p"]
|
||||
}
|
||||
},
|
||||
// Global settings.
|
||||
// CPU name, used for optimizations in the LLVM backend.
|
||||
|
||||
Reference in New Issue
Block a user