Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82100 - in trunk/tools/build/v2/tools: . types
From: jhunold_at_[hidden]
Date: 2012-12-19 11:22:56


Author: jhunold
Date: 2012-12-19 11:22:55 EST (Wed, 19 Dec 2012)
New Revision: 82100
URL: http://svn.boost.org/trac/boost/changeset/82100

Log:
Disambiguate types created by Qt4 and Qt5 tools
Text files modified:
   trunk/tools/build/v2/tools/qt5.jam | 8 ++++----
   trunk/tools/build/v2/tools/types/qt.jam | 2 ++
   2 files changed, 6 insertions(+), 4 deletions(-)

Modified: trunk/tools/build/v2/tools/qt5.jam
==============================================================================
--- trunk/tools/build/v2/tools/qt5.jam (original)
+++ trunk/tools/build/v2/tools/qt5.jam 2012-12-19 11:22:55 EST (Wed, 19 Dec 2012)
@@ -219,10 +219,10 @@
 
         # The OBJ result type is a fake here too.
         generators.register [ new moc-h-5-generator
- qt5.moc.inc : MOCCABLE_CPP : OBJ : <allow>qt5 ] ;
+ qt5.moc.inc : MOCCABLE5_CPP : OBJ : <allow>qt5 ] ;
 
         generators.register [ new moc-inc-5-generator
- qt5.moc.inc : MOCCABLE_H : OBJ : <allow>qt5 ] ;
+ qt5.moc.inc : MOCCABLE5_H : OBJ : <allow>qt5 ] ;
 
         # Generates .cpp files from .qrc files.
         generators.register-standard qt5.rcc : QRC : CPP(qrc_%) : <allow>qt5 ;
@@ -518,7 +518,7 @@
 
     rule run ( project name ? : property-set : sources * )
     {
- if ! $(sources[2]) && [ $(sources[1]).type ] = MOCCABLE_CPP
+ if ! $(sources[2]) && [ $(sources[1]).type ] = MOCCABLE5_CPP
         {
             name = [ $(sources[0]).name ] ;
             name = $(name:B) ;
@@ -553,7 +553,7 @@
 
     rule run ( project name ? : property-set : sources * )
     {
- if ! $(sources[2]) && [ $(sources[1]).type ] = MOCCABLE_H
+ if ! $(sources[2]) && [ $(sources[1]).type ] = MOCCABLE5_H
         {
             name = [ $(sources[0]).name ] ;
             name = $(name:B) ;

Modified: trunk/tools/build/v2/tools/types/qt.jam
==============================================================================
--- trunk/tools/build/v2/tools/types/qt.jam (original)
+++ trunk/tools/build/v2/tools/types/qt.jam 2012-12-19 11:22:55 EST (Wed, 19 Dec 2012)
@@ -6,5 +6,7 @@
 type QRC : qrc ;
 type MOCCABLE_CPP ;
 type MOCCABLE_H ;
+type MOCCABLE5_CPP ;
+type MOCCABLE5_H ;
 # Result of running moc.
 type MOC : moc : H ;


Boost-Commit 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