gcc_32.yml 917 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. compiler:
  2. path: gcc
  3. source_path: '../src/'
  4. unit_tests_path: &unit_tests_path 'tests/'
  5. build_path: &build_path 'build/'
  6. options:
  7. - '-c'
  8. - '-m32'
  9. - '-Wall'
  10. - '-Wno-address'
  11. - '-std=c99'
  12. - '-pedantic'
  13. includes:
  14. prefix: '-I'
  15. items:
  16. - 'src/'
  17. - '../src/'
  18. - 'testdata/'
  19. - *unit_tests_path
  20. defines:
  21. prefix: '-D'
  22. items:
  23. - UNITY_EXCLUDE_STDINT_H
  24. - UNITY_EXCLUDE_LIMITS_H
  25. - UNITY_INCLUDE_DOUBLE
  26. - UNITY_SUPPORT_TEST_CASES
  27. - UNITY_INT_WIDTH=32
  28. - UNITY_LONG_WIDTH=32
  29. object_files:
  30. prefix: '-o'
  31. extension: '.o'
  32. destination: *build_path
  33. linker:
  34. path: gcc
  35. options:
  36. - -lm
  37. - '-m32'
  38. includes:
  39. prefix: '-I'
  40. object_files:
  41. path: *build_path
  42. extension: '.o'
  43. bin_files:
  44. prefix: '-o'
  45. extension: '.exe'
  46. destination: *build_path
  47. colour: true
  48. :unity:
  49. :plugins: []