mirror of
https://github.com/boostorg/build.git
synced 2026-02-11 23:52:20 +00:00
Track dependencies from .rc files to generated headers.
An example of generated file is .tlb generated by midl.exe. Patch from Alexey Pakhunov. [SVN r31194]
This commit is contained in:
@@ -443,7 +443,9 @@ generators.register-linker msvc.link.dll : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LI
|
||||
generators.register-archiver msvc.archive : OBJ : STATIC_LIB : <toolset>msvc ;
|
||||
generators.register-c-compiler msvc.compile.c++ : CPP : OBJ : <toolset>msvc ;
|
||||
generators.register-c-compiler msvc.compile.c : C : OBJ : <toolset>msvc ;
|
||||
generators.register-standard msvc.compile.rc : RC : OBJ(%_res) : <toolset>msvc ;
|
||||
|
||||
# Using 'register-c-compiler' adds the build directory to INCLUDES
|
||||
generators.register-c-compiler msvc.compile.rc : RC : OBJ(%_res) : <toolset>msvc ;
|
||||
generators.override msvc.compile.rc : rc.resource-compile ;
|
||||
generators.register-standard msvc.compile.asm : ASM : OBJ : <toolset>msvc ;
|
||||
|
||||
|
||||
@@ -58,7 +58,9 @@ actions quietly create-empty-object
|
||||
# The reason we generate OBJ and not RES, is that gcc does not
|
||||
# seem to like RES files, but works OK with OBJ.
|
||||
# See http://article.gmane.org/gmane.comp.lib.boost.build/5643/
|
||||
generators.register-standard rc.resource-compile : RC : OBJ(%_res) ;
|
||||
#
|
||||
# Using 'register-c-compiler' adds the build directory to INCLUDES
|
||||
generators.register-c-compiler rc.resource-compile : RC : OBJ(%_res) ;
|
||||
|
||||
# Register scanner for resources
|
||||
class res-scanner : scanner
|
||||
|
||||
Reference in New Issue
Block a user