From 9b65dbc2008c802de3916b279d778f2f3eb9a534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Thu, 4 Sep 2008 01:59:21 +0000 Subject: [PATCH] Minor stylistic change in the Boost Build tools/msvc.jam toolset grouping all of msvc specific feature declarations together as we may later decide to initialize them automatically on module import and initialize the toolset and its generators only when the first toolset version gets configured correctly. [SVN r48571] --- src/tools/msvc.jam | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tools/msvc.jam b/src/tools/msvc.jam index ae7071d9e..727f09633 100644 --- a/src/tools/msvc.jam +++ b/src/tools/msvc.jam @@ -971,8 +971,11 @@ local rule register-toolset-really ( ) toolset.add-requirements msvc,shared:multi ; - # Precompiled header (PCH) support feature. - feature.feature pch-source : : free dependency ; + # Declare msvc toolset specific features. + { + feature.feature debug-store : object database : propagated ; + feature.feature pch-source : : dependency free ; + } # Declare generators. { @@ -1014,7 +1017,6 @@ local rule register-toolset-really ( ) # # Declare flags for compilation. # - feature.feature debug-store : object database : propagated ; toolset.flags msvc.compile CFLAGS speed : /O2 ; toolset.flags msvc.compile CFLAGS space : /O1 ;