pack OPENSCAD_NOGUI in qmake nogui config
thus, scintilla can be kept from being built at all, slimming down the build dependencies for the nogui build
This commit is contained in:
parent
2227b5cbb8
commit
1b30f641ad
2 changed files with 8 additions and 2 deletions
|
|
@ -208,13 +208,19 @@ CONFIG += fontconfig
|
||||||
CONFIG += gettext
|
CONFIG += gettext
|
||||||
|
|
||||||
#Uncomment the following line to enable the QScintilla editor
|
#Uncomment the following line to enable the QScintilla editor
|
||||||
CONFIG += scintilla
|
!nogui {
|
||||||
|
CONFIG += scintilla
|
||||||
|
}
|
||||||
|
|
||||||
# Make experimental features available
|
# Make experimental features available
|
||||||
experimental {
|
experimental {
|
||||||
DEFINES += ENABLE_EXPERIMENTAL
|
DEFINES += ENABLE_EXPERIMENTAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nogui {
|
||||||
|
DEFINES += OPENSCAD_NOGUI
|
||||||
|
}
|
||||||
|
|
||||||
mdi {
|
mdi {
|
||||||
DEFINES += ENABLE_MDI
|
DEFINES += ENABLE_MDI
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
qmake CONFIG+=experimental DEFINES+=OPENSCAD_NOGUI
|
qmake CONFIG+=experimental CONFIG+=nogui
|
||||||
make
|
make
|
||||||
|
|
||||||
cd tests
|
cd tests
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue