-
-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathSeamly2D.pro
More file actions
21 lines (15 loc) · 647 Bytes
/
Seamly2D.pro
File metadata and controls
21 lines (15 loc) · 647 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
message("Entering Seamly2D.pro")
#Check if spaces are in directory names
LIST = $$split(PWD,' ')
count(LIST, 1, >): error("The build will fail. Path '$${PWD}' contains space!!!")
LIST = $$split(OUT_PWD,' ')
count(LIST, 1, >): error("The build will fail. Path '$${OUT_PWD}' contains space!!!")
TEMPLATE = subdirs
SUBDIRS = \
src \
out
out.depends = src
qtPrepareTool(LUPDATE, lupdate)
lupdate.commands = $$LUPDATE -noobsolete -locations none $$shell_path($${PWD}/share/translations/translations.pro)
lupdate.commands += && $$LUPDATE -noobsolete $$shell_path($${PWD}/share/translations/measurements.pro)
QMAKE_EXTRA_TARGETS += lupdate