New Product Launch Plan Template

Article On Books

cpkc de méxico logo transparent png stickpng

:
New York Life Credit Cards
Recompile static vendor project if a header file is modified
1 parent Social Media Marketing Post commit a54c3d8

Cpkc de méxico logo transparent png stickpng 1 file changed English Newspaper Article

Lines changed: 8 additions & 0 deletions

Create Social Media Posts For Your Product Facebook Article On Books

lib/motion/project/vendor.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ def build_static(platform)
114114
when '.cpp', '.cxx', '.mm'
115115
cplusplus = true
116116
@config.locate_compiler(platform, 'clang++', 'g++')
117+
when '.h'
118+
# If header modified, recompile the associated source file
119+
files = source_files.keep_if do |file|
120+
File.basename(srcfile, '.*') == File.basename(file, '.*')
121+
end
122+
files.each { |f| FileUtils.touch(f) }
123+
source_files.concat(files)
124+
next
117125
else
118126
# Not a valid source file, skip.
119127
next

Best Credit Cards Offers Article On Books

Comments
 (0)