1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#-------------------------------------------------
#
# Project created by QtCreator 2011-03-22T19:33:11
#
#-------------------------------------------------
exists( ../custom.pro ):include( ../custom.pro )
TEMPLATE = subdirs
unix {
packagesExist(freetype2){
SUBDIRS = ttf2lff
} else{
message( "package freetype2 is not found. Ignoring ttf2lff")
}
}
win32 {
exists( "$$(FREETYPE_DIR)" ) { # Is it set in the environment?
SUBDIRS = ttf2lff
message( "FREETYPE_DIR is set in the environment, building ttf2lff")
} else:!isEmpty( FREETYPE_DIR ) { # Is it set in custom.pro?
SUBDIRS = ttf2lff
message( "FREETYPE_DIR is set in custom.pro, building ttf2lff")
} else {
message($${FREETYPE_DIR})
message( "FREETYPE_DIR is not set, ignoring ttf2lff")
}
}
|