Boost logo

Boost-Build :

From: David Deakins (ddeakins_at_[hidden])
Date: 2007-11-13 18:48:37


Is there a method in Boost.Build to specify link options that only apply
to EXE link actions (but not to DLL link actions)? I am running into
the following issue with the Windows Mobile Boost regression tests with VC8:

When building the test EXE files, the linker needs the
/entry:mainACRTStartup option to tell it to look for main() as the entry
point to the test program. However, if this option is passed to the
linker all the time, it will disrupt building library DLLs (since the
DLL entry point needs to be _DllMainCRTStartup and not mainACRTStartup).
  So I am looking for some way to selectly change the linker entry point
for only EXE files.

Thanks,
-Dave


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