mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Unbreak generators_test:
- rename UI type to TUI to avoid conflicts with Qt - adjust to print.text changes [SVN r31645]
This commit is contained in:
@@ -5,7 +5,7 @@ project
|
||||
: requirements <define>YY_NO_UNPUT
|
||||
;
|
||||
|
||||
exe a : a.cpp b.cxx obj_1 obj_2 c.ui d.wd x.l y.x_pro lib//auxilliary ;
|
||||
exe a : a.cpp b.cxx obj_1 obj_2 c.tui d.wd x.l y.x_pro lib//auxilliary ;
|
||||
# This should not cause second compilation of a.cpp
|
||||
exe f : a.cpp b.cxx obj_1 obj_2 lib//auxilliary ;
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@ rule lex ( targets * : sources * : properties * )
|
||||
print.output $(<) ;
|
||||
# Need to supress SunCC's warning about empty source
|
||||
# file.
|
||||
print.text "void foo() {}" ;
|
||||
print.text "void foo() {}
|
||||
" ;
|
||||
}
|
||||
|
||||
actions lex
|
||||
|
||||
@@ -7,9 +7,9 @@ import extra ;
|
||||
|
||||
import type ;
|
||||
|
||||
type.register UI : ui ;
|
||||
type.register UIC_H ;
|
||||
type.set-generated-target-suffix UIC_H : : h ;
|
||||
type.register tUI : tui ;
|
||||
type.register tUIC_H ;
|
||||
type.set-generated-target-suffix tUIC_H : : h ;
|
||||
|
||||
type.register X1 : x1 ;
|
||||
type.register X2 : x2 ;
|
||||
@@ -17,8 +17,8 @@ type.register X_PRO : x_pro ;
|
||||
|
||||
import generators ;
|
||||
|
||||
generators.register-standard qt.uic : UI UIC_H : CPP ;
|
||||
generators.register-standard qt.uic-h : UI : UIC_H ;
|
||||
generators.register-standard qt.uic : tUI tUIC_H : CPP ;
|
||||
generators.register-standard qt.uic-h : tUI : tUIC_H ;
|
||||
|
||||
# That's an interesting example. Currently, X_PRO will be processed
|
||||
# twice.
|
||||
|
||||
Reference in New Issue
Block a user