2
0
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:
Vladimir Prus
2005-10-04 14:32:05 +00:00
parent 52df8b0f69
commit fefbda7a96
2 changed files with 6 additions and 2 deletions

View File

@@ -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 ;

View File

@@ -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