tinyusb/tests/vendor/ceedling/lib/rules_tests_deep_dependencies.rake
hathach bc735bbe22 - add ceedling/cmock/unity as testing framework and support
- unified makefile project for the whole repos
- new separate project for tests
2012-12-27 02:52:40 +07:00

16 lines
413 B
Ruby

rule(/#{PROJECT_TEST_DEPENDENCIES_PATH}\/#{'.+\\'+EXTENSION_DEPENDENCIES}$/ => [
proc do |task_name|
@ceedling[:file_finder].find_compilation_input_file(task_name)
end
]) do |dep|
@ceedling[:generator].generate_dependencies_file(
TOOLS_TEST_DEPENDENCIES_GENERATOR,
TEST_SYM,
dep.source,
@ceedling[:file_path_utils].form_test_build_object_filepath(dep.source),
dep.name)
end