AMDG On 11/18/2013 10:56 AM, Edward Diener wrote:
How are the default compiler options for a toolset chosen ? Is it in the .jam file for the compiler toolset and, if so, where is it specified ?
Options are specified by toolset.flags in the msvc.jam (for msvc). For example: flags como-win CFLAGS <inlining>off : --no_inlining ; (I'm using como as an example, because it's simple. msvc and gcc are a bit more complex, because they are designed to handle multiple versions.) This says: for every target which is created by actions in como-win, if the value of the feature <inlining> is set to off, then append "--no_inlining" to the variable CFLAGS. Then CFLAGS is used like this: actions compile.c++ { $(CONFIG_COMMAND) -c ... -D$(DEFINES) $(CFLAGS) ... -o "$(<)" "$(>)" } In Christ, Steven Watanabe