forked from ugeneunipro/ugene
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ugene.pro
96 lines (90 loc) · 3.28 KB
/
ugene.pro
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
include(ugene.pri)
use_bundled_zlib() {
SUBDIRS += src/libs_3rdparty/zlib
}
!use_system_sqlite() {
SUBDIRS += src/libs_3rdparty/sqlite3
}
SUBDIRS += \
src/libs_3rdparty/breakpad \
src/libs_3rdparty/qscore \
src/libs_3rdparty/samtools \
src/libs_3rdparty/QSpec \
src/corelibs/U2Core \
src/corelibs/U2Test \
src/corelibs/U2Algorithm \
src/corelibs/U2Formats \
src/corelibs/U2Lang \
src/corelibs/U2Private \
src/corelibs/U2Gui \
src/corelibs/U2View \
src/corelibs/U2Designer \
src/corelibs/U2Script \
src/ugeneui \
src/ugenecl \
src/ugenem \
src/plugins_checker \
src/plugins_3rdparty/ball \
src/plugins_3rdparty/sitecon \
src/plugins_3rdparty/umuscle \
src/plugins_3rdparty/hmm2 \
src/plugins_3rdparty/gor4 \
src/plugins_3rdparty/psipred \
src/plugins_3rdparty/primer3 \
src/plugins_3rdparty/phylip \
src/plugins_3rdparty/kalign \
src/plugins_3rdparty/ptools \
src/plugins_3rdparty/variants \
src/plugins/CoreTests \
src/plugins/GUITestBase \
src/plugins/annotator \
src/plugins/api_tests \
src/plugins/biostruct3d_view \
src/plugins/chroma_view \
src/plugins/circular_view \
src/plugins/dbi_bam \
src/plugins/dna_export \
src/plugins/dna_flexibility \
src/plugins/dna_graphpack \
src/plugins/dna_stat \
src/plugins/dotplot \
src/plugins/enzymes \
src/plugins/external_tool_support \
src/plugins/genome_aligner \
src/plugins/genecut \
src/plugins/linkdata_support \
src/plugins/orf_marker \
src/plugins/pcr \
src/plugins/perf_monitor \
src/plugins/query_designer \
src/plugins/remote_blast \
src/plugins/repeat_finder \
src/plugins/smith_waterman \
src/plugins/test_runner \
src/plugins/weight_matrix \
src/plugins/workflow_designer
#foreach 'language'
for( i, UGENE_TRANSL_IDX ) {
UGENE_TRANSLATIONS =
curTranslFile = $$member( UGENE_TRANSL_FILES, $$i )
curTranslTag = $$member( UGENE_TRANSL_TAG, $$i )
#foreach project folder
for( prj_dir, SUBDIRS ) {
#look for file and add it to translation list if it exists
translFile = $$prj_dir/$$UGENE_TRANSL_DIR/$$curTranslFile # 'project/transl/russian.ts' etc.
exists( $$translFile ) {
UGENE_TRANSLATIONS += $$translFile
# system( $$UGENE_LUPDATE $$translFile ) FIXME
}
}
!isEmpty(UGENE_LRELEASE) {
for( targetDir, UGENE_TRANSL_QM_TARGET_DIR ) {
targetQmFile = $$targetDir/transl_$$curTranslTag # 'transl_ru.qm' etc.
targetQmFile = $$join( targetQmFile, , , .qm ) # special workaround for adding suffix started with '.'
message( Generating translations: $$curTranslTag )
system( $$UGENE_LRELEASE $$UGENE_TRANSLATIONS -qm $$targetQmFile > $$UGENE_DEV_NULL )
}
} else {
message( Cannot generate translations: no lrelease binary found )
}
}