forked from ElucidataInc/ElMaven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathElMaven.pro
31 lines (26 loc) · 1.01 KB
/
ElMaven.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
macx {
compiler_version = $$system(clang -v 2>&1 | head -n1 | grep -o "[0-9\.]" | head -n1)
message("compiler major version $$compiler_version")
if(greaterThan(compiler_version, 5):lessThan(compiler_version, 8)) {
message("Clang Version : $$system( clang -v 2>&1 | head -n1 )")
}
else {
warning("Make sure you have installed clang using brew and are not using clang that comes along with XCode.")
warning("If you have installed clang using brew, please make sure it's added correctly in the PATH variable")
message("exiting now")
error("Compiler not found")
}
}
win32 {
#package 'mingw-w64-x86_64-curl' is required by libnetcdf.
CONFIG += link_pkgconfig
PKGCONFIG = libcurl
}
include($$mac_compiler)
TEMPLATE = subdirs
CONFIG += ordered qt thread
SUBDIRS += 3rdparty crashhandler src
!equals(NOTESTS, "yes"): SUBDIRS+=tests/MavenTests
#Phil mod - just want the GUI (and peakdetector)
#TODO: this isn't working
#SUBDIRS -= crashhandler tests/MavenTests