mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 13:48:29 +00:00
- `sharedlib` build kind (shared library output) - ASM projects (`build.language = "asm"`) - NASM and GAS backends - `build.platform` architecture hint for `-march` / `/arch` - Basic CLI integration tests
1.0 KiB
1.0 KiB
Project structure
Minimal project
project/
- dcr.toml
- src/
- - main.c
Typical generated/optional files
project/
- dcr.toml
- dcr.lock
- src/
- - ... source files ...
- target/
- - debug/
- - - obj/
- - - deps/
- - release/
- - - obj/
- - - deps/
Meaning
dcr.toml: main project configuration.dcr.lock: generated lock file for resolved path dependencies.src/: recursively scanned source directory.target/<profile>/obj/: cached object files for incremental rebuild.target/<profile>/deps/: synchronized copies of path dependencies.target/<profile>/<name>(or.exeon Windows): output forkind = "bin".target/<profile>/lib<name>.a(or<name>.libon Windows): output forkind = "staticlib".target/<profile>/lib<name>.so(or.dylibon macOS,<name>.dllon Windows): output forkind = "sharedlib".
If build.target is set, the final artifact is written to that custom directory, while object cache still stays in target/<profile>/obj.