|
Boost-Build : |
From: Janssen, Olaf IT/HZA-TBE (janssoaf_at_[hidden])
Date: 2005-11-18 00:37:42
> 2. I need to add a C++ file which contains an empty DllMain function:
>
> -- resource.cpp
>
> #include <windows.h>
>
> BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void * )
> {
> return TRUE;
> }
I didn't do that in our resource only DLLs, e.g.
lib German : German.rc
: <toolset>msvc
<linkflags>/machine:I386
<linkflags>/noentry
: debug release
;
but the response file logic somehow choked on the missing import
libraries (*.lib). It tries to recreate the resource only DLL every time
because of the missing import library, but fails to create the necessary
response file when the resource DLL is up-to-date. I resorted to delete
the resource DLLs before building the project. Can this be improved
also?
Olaf
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk