Commit ac6e3f5d authored by Greg Williams's avatar Greg Williams
Browse files

Updated Ceedling project.yml config file, since Make is used for release builds now

parent 227dad49
Loading
Loading
Loading
Loading
+2 −53
Original line number Diff line number Diff line
@@ -5,15 +5,12 @@
  :use_test_preprocessor: true
  :use_deep_dependencies: true
  :build_root: build
  :release_build: true
  :test_file_prefix: test_
  :options_paths:
    - config/

:release_build:
  :output: kinetic-c
  # Uncomment the following to enable use of assembly files
  # :use_assembly: true

# Enable this section to configure environment vars, if needed
# :environment:
@@ -34,26 +31,14 @@
    - include/**
    - vendor/
    - vendor/protobuf-c/**
  # Refactor release build once the Kinetic-C library is built, and link to it sepearately
  :release_toolchain_include:
    - src/**
    - include/**
    - vendor/
    - vendor/protobuf-c/**

:defines:
  # in order to add common defines:
  #  1) remove the trailing [] from the :common: section
  #  2) add entries to the :common: section (e.g. :test: has TEST defined)
  :commmon: &common_defines []
  :commmon: &common_defines
    - TEST
  :test:
    - *common_defines
    - TEST
  :test_preprocess:
    - *common_defines
    - TEST
  :release:
    - *common_defines

:flags:
  :release:
@@ -137,40 +122,6 @@
      - "\"${1}\""
      - -l crypto
      - "-o \"${2}\""
  :gcov_linker:
    :executable: "#{ENV.fetch('CC', 'gcc')}"
    :arguments:
      - -fprofile-arcs
      - -ftest-coverage
      - -l crypto
      - ${1}
      - -o ${2}
  :release_compiler:
    :executable: "#{ENV.fetch('CC', 'gcc')}"
    :arguments:
      - -I"$": 'COLLECTION_PATHS_SOURCE_INCLUDE_VENDOR'
      - -I"$": 'COLLECTION_PATHS_RELEASE_TOOLCHAIN_INCLUDE'
      - -D"$": 'COLLECTION_DEFINES_RELEASE_AND_VENDOR'
      - -DGNU_COMPILER
      - -std=c99
      - -g
      - -Wall
      - -Wextra
      - -pedantic
      - -D_POSIX_C_SOURCE=1
      - -D_C99_SOURCE=1
      - -l crypto
      - -l ssl
      - "-c \"${1}\""
      - "-o \"${2}\""
  :release_linker:
    :executable: "#{ENV.fetch('CC', 'gcc')}"
    :name: release_linker
    :arguments:
      - "\"${1}\""
      - -l crypto
      - -l ssl
      - "-o \"${2}\""

:plugins:
  :load_paths:
@@ -178,7 +129,5 @@
  :enabled:
    - stdout_ide_tests_report
    - xml_tests_report
    # - warnings_report
    - module_generator
    - gcov
...