gcc_auto_stdint.yml 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
compiler:
  path: gcc
  source_path:     '../src/'
  unit_tests_path: &unit_tests_path 'tests/'
  build_path:      &build_path 'build/'
  options:
    - '-c'
    - '-m64'
    - '-Wall'
    - '-Wno-address'
    - '-std=c99'
    - '-pedantic'
    - '-Wextra'
    - '-Werror'
    - '-Wpointer-arith'
    - '-Wcast-align'
    - '-Wwrite-strings'
    - '-Wswitch-default'
    - '-Wunreachable-code'
    - '-Winit-self'
    - '-Wmissing-field-initializers'
    - '-Wno-unknown-pragmas'
    - '-Wstrict-prototypes'
    - '-Wundef'
    - '-Wold-style-definition'
  includes:
    prefix: '-I'
    items:
      - 'src/'
      - '../src/'
      - *unit_tests_path
  defines:
    prefix: '-D'
    items:
      - UNITY_INCLUDE_DOUBLE
      - UNITY_SUPPORT_TEST_CASES
      - UNITY_SUPPORT_64
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: gcc
  options:
    - -lm
    - '-m64'
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
    destination: *build_path
colour: true
:unity:
  :plugins: []