File: tools.pro

package info (click to toggle)
librecad 2.1.2-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 149,176 kB
  • sloc: cpp: 183,266; ansic: 3,106; sh: 249; makefile: 24; xml: 20
file content (31 lines) | stat: -rw-r--r-- 835 bytes parent folder | download | duplicates (7)
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")
    }
}