mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-06 05:25:29 +00:00
- compile in separate pass from mock generation to avoid multiple compilation
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@211 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -192,7 +192,11 @@ module RakefileHelpers
|
||||
@cmock.setup_mocks([$cfg['compiler']['source_path']+header.gsub('Mock','')])
|
||||
end
|
||||
|
||||
# Compile corresponding source file if it exists
|
||||
end
|
||||
|
||||
#compile all mocks
|
||||
header_list.each do |header|
|
||||
#compile source file header if it exists
|
||||
src_file = find_source_file(header, include_dirs)
|
||||
if !src_file.nil?
|
||||
compile(src_file, test_defines)
|
||||
|
||||
Reference in New Issue
Block a user