<commit_before>IRIS_BASE = $$PWD
include(common.pri)

greaterThan(QT_MAJOR_VERSION, 4) {
	CONFIG *= fast_depend_prl
}
else {
	CONFIG *= depend_prl
}

INCLUDEPATH += $$IRIS_BASE/include $$IRIS_BASE/include/iris $$IRIS_BASE/src

iris_bundle:{
	include(src/xmpp/xmpp.pri)
}
else {
	isEmpty(top_iris_builddir):top_iris_builddir = $$PWD
	LIBS += -L$$top_iris_builddir/lib -liris
}

# qt < 4.4 doesn't enable link_prl by default.  we could just enable it,
#   except that in 4.3 or earlier the link_prl feature is too aggressive and
#   pulls in unnecessary deps.  so, for 4.3 and earlier, we'll just explicitly
#   specify the stuff the prl should have given us.
# also, mingw seems to have broken prl support?? (still broken in qt-4.8 (c)rion, QTBUG-12901)
#win32-g++|contains($$list($$[QT_VERSION]), 4.0.*|4.1.*|4.2.*|4.3.*) {
#	DEFINES += IRISNET_STATIC             # from irisnet
#	LIBS += -L$$IRIS_BASE/lib -lirisnet   # from iris
#	windows:LIBS += -lWs2_32 -lAdvapi32   # from jdns
#	PRE_TARGETDEPS += $$IRIS_BASE/lib/libiris.a
#}

# force on all windows, plus qca ordering workaround
windows {
	DEFINES += IRISNET_STATIC             # from irisnet
	LIBS += -L$$top_iris_builddir/lib -lirisnet   # from iris
	LIBS += -lWs2_32 -lAdvapi32   # from jdns
	contains(LIBS, -lqca) {
		LIBS -= -lqca<commit_msg>Depend explicitly on libiris.a since neither depend_prl nor link_prl work<commit_after>IRIS_BASE = $$PWD
include(common.pri)

CONFIG *= link_prl # doesn't seems to work but at least it's documented unlike dependp_prl
unix:PRE_TARGETDEPS += $$top_iris_builddir/lib/libiris.a # most of devs are on Linux anyway

INCLUDEPATH += $$IRIS_BASE/include $$IRIS_BASE/include/iris $$IRIS_BASE/src

iris_bundle:{
	include(src/xmpp/xmpp.pri)
}
else {
	isEmpty(top_iris_builddir):top_iris_builddir = $$PWD
	LIBS += -L$$top_iris_builddir/lib -liris
}

# force on all windows, plus qca ordering workaround
windows {
	DEFINES += IRISNET_STATIC             # from irisnet
	LIBS += -L$$top_iris_builddir/lib -lirisnet   # from iris
	LIBS += -lWs2_32 -lAdvapi32   # from jdns
	contains(LIBS, -lqca) {
		LIBS -= -lqca
{'fraction_non_alphanumeric': 0.12285714285714286, 'fraction_numerical': 0.018571428571428572, 'mean_word_length': 4.062650602409638, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1473579', 'n_tokens_mistral': 878, 'n_tokens_neox': 833, 'n_words': 199}