github.com/metux/go-metabuild@v0.0.0-20240118143255-d9ed5ab697f9/doc/spec/global.md (about)

     1  # Project specification YAML file
     2  
     3  ## Global settings
     4  
     5  | Attribute | Description |
     6  |-----------|--------------|
     7  | package   | package name |
     8  | version   | eg. used in .pc files |
     9  | srcdir    | will chdir here before build |
    10  
    11  ## Sections
    12  
    13  ### configure: project configuration and file generators
    14  
    15  The `configure:` section contains settings for project configuration
    16  *(eg. running various checks, look for imported packages)* as well as
    17  generating config files.
    18  
    19  See [here](configure.md) for details.
    20  
    21  ### targets: target objects to build and install
    22  
    23  The `target:`section holds a map of target objects to be built and installed.
    24  
    25  See [here](targets.md) for details.