Compare commits
2 Commits
d6eb651410
...
4002a222f5
| Author | SHA1 | Date | |
|---|---|---|---|
| 4002a222f5 | |||
| cc38e36ea2 |
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@ -6,12 +6,10 @@
|
|||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceFolder}/bin",
|
"cwd": "${workspaceFolder}/bin",
|
||||||
|
"program": "${workspaceFolder}/bin/cbuild",
|
||||||
"windows": {
|
"windows": {
|
||||||
"program": "${workspaceFolder}\\bin\\cbuild.exe",
|
"program": "${workspaceFolder}\\bin\\cbuild.exe",
|
||||||
},
|
},
|
||||||
"linux": {
|
|
||||||
"program": "${workspaceFolder}/bin/cbuild",
|
|
||||||
},
|
|
||||||
"args": [ "-p", "../example.proj.dtsod", "exe"],
|
"args": [ "-p", "../example.proj.dtsod", "exe"],
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
|
|||||||
2
build.sh
2
build.sh
@ -3,7 +3,7 @@ set -eo pipefail
|
|||||||
|
|
||||||
CONFIG_DIR="/etc/cbuild"
|
CONFIG_DIR="/etc/cbuild"
|
||||||
CMP="gcc"
|
CMP="gcc"
|
||||||
WARN="-Wall -Wextra -Wno-discarded-qualifiers -Wno-unused-parameter"
|
WARN="-std=c99 -Wall -Wextra -Wno-discarded-qualifiers -Wno-unused-parameter"
|
||||||
|
|
||||||
ARGS_DEBUG="-O0 -g"
|
ARGS_DEBUG="-O0 -g"
|
||||||
ARGS_RELEASE="-O2 -flto=auto -fdata-sections -ffunction-sections -Wl,--gc-sections"
|
ARGS_RELEASE="-O2 -flto=auto -fdata-sections -ffunction-sections -Wl,--gc-sections"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user