Added support for specifying a VARIANT variable

stl_dim
Marius Kintel 2011-01-21 22:39:34 +01:00
parent 46fde22b32
commit 5a1fc30fc6
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,13 @@
# Auto-include config_<variant>.pri if the VARIANT variable is give on the
# command-line, e.g. qmake VARIANT=mybuild
!isEmpty(VARIANT) {
message("Variant: $${VARIANT}")
exists(config_$${VARIANT}.pri) {
message("Including config_$${VARIANT}.pri")
include(config_$${VARIANT}.pri)
}
}
win32 {
isEmpty(VERSION) VERSION = $$system(date /t)
} else {