xref: /netbsd-src/external/bsd/ntp/dist/sntp/unity/auto/generate_config.yml (revision f17b710f3d406bee67aa39c65053114ab78297c5)
1*f17b710fSchristos#this is a sample configuration file for generate_module
2*f17b710fSchristos#you would use it by calling generate_module with the -ygenerate_config.yml option
3*f17b710fSchristos#files like this are useful for customizing generate_module to your environment
4*f17b710fSchristos:generate_module:
5*f17b710fSchristos  :defaults:
6*f17b710fSchristos    #these defaults are used in place of any missing options at the command line
7*f17b710fSchristos    :path_src: ../src/
8*f17b710fSchristos    :path_inc: ../src/
9*f17b710fSchristos    :path_tst: ../test/
10*f17b710fSchristos    :update_svn: true
11*f17b710fSchristos  :includes:
12*f17b710fSchristos    #use [] for no additional includes, otherwise list the includes on separate lines
13*f17b710fSchristos    :src:
14*f17b710fSchristos      - Defs.h
15*f17b710fSchristos      - Board.h
16*f17b710fSchristos    :inc: []
17*f17b710fSchristos    :tst:
18*f17b710fSchristos      - Defs.h
19*f17b710fSchristos      - Board.h
20*f17b710fSchristos      - Exception.h
21*f17b710fSchristos  :boilerplates: 
22*f17b710fSchristos    #these are inserted at the top of generated files.
23*f17b710fSchristos    #just comment out or remove if not desired.
24*f17b710fSchristos    #use %1$s where you would like the file name to appear (path/extension not included)
25*f17b710fSchristos    :src: |
26*f17b710fSchristos      //-------------------------------------------
27*f17b710fSchristos      // %1$s.c
28*f17b710fSchristos      //-------------------------------------------
29*f17b710fSchristos    :inc: |
30*f17b710fSchristos      //-------------------------------------------
31*f17b710fSchristos      // %1$s.h
32*f17b710fSchristos      //-------------------------------------------
33*f17b710fSchristos    :tst: |
34*f17b710fSchristos      //-------------------------------------------
35*f17b710fSchristos      // Test%1$s.c : Units tests for %1$s.c
36*f17b710fSchristos      //-------------------------------------------
37