forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimulationcraft.pro
More file actions
27 lines (22 loc) · 830 Bytes
/
Copy pathsimulationcraft.pro
File metadata and controls
27 lines (22 loc) · 830 Bytes
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
TEMPLATE = subdirs
SUBDIRS = lib cli
cli.depends = lib
# Windows Arm64 does not support QtWebEngine; Do not build GUI
!win32-arm64-msvc {
SUBDIRS += gui
gui.depends = lib
}
lessThan( QT_MAJOR_VERSION, 5 ) {
error( "SimulationCraft requires QT 5 or higher." )
}
# OS X release target
macx {
create_release.target = create_release
create_release.depends = all
create_release.commands = $$dirname(QMAKE_QMAKE)/macdeployqt "SimulationCraft.app" &&
create_release.commands += bash -n qt/fix-macqtdeploy-paths.sh "SimulationCraft.app" &&
create_release.commands += FIX_IDS=1 bash qt/fix-macqtdeploy-paths.sh "SimulationCraft.app" &&
create_release.commands += codesign --force --deep --sign - "SimulationCraft.app" &&
create_release.commands += qt/osx_release.sh
QMAKE_EXTRA_TARGETS += create_release
}