mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 13:48:29 +00:00
- Added `cxx_standard` field to the build configuration for specifying C++ standards. - Updated documentation to reflect new `cxx_standard` and variable substitution capabilities in `cflags`, `ldflags`, and `include`. - Implemented logic to handle C++ standard flags in the build process. - Modified object file naming to include source file extensions. - Updated various builder modules to support new language parsing logic. - Introduced issue and feature request templates for better community engagement.
1.2 KiB
1.2 KiB
Package section
Schema
[package]
name = "my-app"
version = "0.1.0"
type = "app"
description = "My application"
author = "John Doe"
license = "MIT"
Fields
name(string, required): used as output artifact base name.version(string, required): used indcr.lockproject entry.type(string, optional): project type (app,lib,none).description(string, optional): human-readable project description.author(string, optional): single author name.authors(array of strings, optional): list of authors.license(string, optional): project license identifier (e.g.MIT,GPL-3.0-or-later).homepage(string, optional): project homepage URL.repository(string, optional): source repository URL.readme(string, optional): path to README file.keywords(array of strings, optional): project keywords.categories(array of strings, optional): project categories.
Notes
- Empty
nameorversionmakes config invalid. dcr newsetsnamefrom the passed project name.dcr initsetsnamefrom current directory name.- If
type = "lib", DCR generatesinclude/andlib/directories in the target path, copying public headers and built libraries.