mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-09-04 01:10:01 +00:00
- avoid naming collision with latest versions of Rake
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@215 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -114,7 +114,7 @@ module RakefileHelpers
|
||||
return {:command => command, :options => options, :includes => includes}
|
||||
end
|
||||
|
||||
def link(exe_name, obj_list)
|
||||
def link_it(exe_name, obj_list)
|
||||
linker = build_linker_fields
|
||||
cmd_str = "#{linker[:command]}#{linker[:options]}#{linker[:includes]} " +
|
||||
(obj_list.map{|obj|"#{$cfg['linker']['object_files']['path']}#{obj} "}).join +
|
||||
@@ -223,7 +223,7 @@ module RakefileHelpers
|
||||
obj_list << test_base.ext($cfg['compiler']['object_files']['extension'])
|
||||
|
||||
# Link the test executable
|
||||
link(test_base, obj_list)
|
||||
link_it(test_base, obj_list)
|
||||
|
||||
# Execute unit test and generate results file
|
||||
simulator = build_simulator_fields
|
||||
@@ -268,7 +268,7 @@ module RakefileHelpers
|
||||
obj_list << main_base.ext($cfg['compiler']['object_files']['extension'])
|
||||
|
||||
# Create the executable
|
||||
link(main_base, obj_list)
|
||||
link_it(main_base, obj_list)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user