Sha256: caa1995cbec33726ac322f3ea06240d8fc0fb114e08bfa6ea11d459431f48f32

Contents?: true

Size: 1.5 KB

Versions: 10

Compression:

Stored size: 1.5 KB

Contents

require 'ceedling/constants'
require 'ceedling/file_path_utils'

# create file dependencies to ensure C-based components of vendor tools are recompiled when they are updated with new versions
# forming these explicitly rather than depend on auxiliary dependencies so all scenarios are explicitly covered

file( @ceedling[:file_path_utils].form_test_build_object_filepath( UNITY_C_FILE ) => [
  FilePathUtils.form_ceedling_vendor_path( UNITY_LIB_PATH, UNITY_C_FILE ),
  FilePathUtils.form_ceedling_vendor_path( UNITY_LIB_PATH, UNITY_H_FILE ),
  FilePathUtils.form_ceedling_vendor_path( UNITY_LIB_PATH, UNITY_INTERNALS_H_FILE ) ]
  )


if (PROJECT_USE_MOCKS)
file( @ceedling[:file_path_utils].form_test_build_object_filepath( CMOCK_C_FILE ) => [
  FilePathUtils.form_ceedling_vendor_path( CMOCK_LIB_PATH, CMOCK_C_FILE ),
  FilePathUtils.form_ceedling_vendor_path( CMOCK_LIB_PATH, CMOCK_H_FILE ) ]
  )
end


if (PROJECT_USE_EXCEPTIONS)
file( @ceedling[:file_path_utils].form_test_build_object_filepath( CEXCEPTION_C_FILE ) => [
  FilePathUtils.form_ceedling_vendor_path( CEXCEPTION_LIB_PATH, CEXCEPTION_C_FILE ),
  FilePathUtils.form_ceedling_vendor_path( CEXCEPTION_LIB_PATH, CEXCEPTION_H_FILE ) ]
  )
end


if (PROJECT_USE_EXCEPTIONS and PROJECT_RELEASE_BUILD)
file( @ceedling[:file_path_utils].form_release_build_c_object_filepath( CEXCEPTION_C_FILE ) => [
  FilePathUtils.form_ceedling_vendor_path( CEXCEPTION_LIB_PATH, CEXCEPTION_C_FILE ),
  FilePathUtils.form_ceedling_vendor_path( CEXCEPTION_LIB_PATH, CEXCEPTION_H_FILE ) ]
  )
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ceedling-0.18.0 lib/ceedling/tasks_vendor.rake
ceedling-0.17.0 lib/ceedling/tasks_vendor.rake
ceedling-0.16.0 lib/ceedling/tasks_vendor.rake
ceedling-0.15.6 lib/ceedling/tasks_vendor.rake
ceedling-0.15.5 lib/ceedling/tasks_vendor.rake
ceedling-0.15.4 lib/ceedling/tasks_vendor.rake
ceedling-0.15.3 lib/ceedling/tasks_vendor.rake
ceedling-0.15.2 lib/ceedling/tasks_vendor.rake
ceedling-0.15.1 lib/ceedling/tasks_vendor.rake
ceedling-0.15.0 lib/ceedling/tasks_vendor.rake