mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Make CUTTER_ENABLE_* individual vars in qmake
This commit is contained in:
parent
0a252bda7b
commit
98ea17c85a
2
build.sh
2
build.sh
@ -7,8 +7,8 @@ BUILDR2=1
|
||||
|
||||
#### User variables ####
|
||||
BUILD="build"
|
||||
#QMAKE_CONF="CONFIG+=CUTTER_ENABLE_JUPYTER CONFIG+=CUTTER_ENABLE_QTWEBENGINE"
|
||||
QMAKE_CONF=""
|
||||
#QMAKE_CONF="CUTTER_ENABLE_JUPYTER=false CUTTER_ENABLE_QTWEBENGINE=false"
|
||||
|
||||
# Checking for radare2
|
||||
r2 -v >/dev/null 2>&1
|
||||
|
@ -11,10 +11,11 @@ QT += core gui widgets svg
|
||||
QT_CONFIG -= no-pkg-config
|
||||
CONFIG += c++11
|
||||
|
||||
# You can spawn qmake with qmake "CONFIG+=CUTTER_ENABLE_JUPYTER" to set a variable
|
||||
# Or manually edit this file
|
||||
#CONFIG += CUTTER_ENABLE_JUPYTER
|
||||
#CONFIG += CUTTER_ENABLE_QTWEBENGINE
|
||||
!defined(CUTTER_ENABLE_JUPYTER, var) CUTTER_ENABLE_JUPYTER=true
|
||||
equals(CUTTER_ENABLE_JUPYTER, true) CONFIG += CUTTER_ENABLE_JUPYTER
|
||||
|
||||
!defined(CUTTER_ENABLE_QTWEBENGINE, var) CUTTER_ENABLE_QTWEBENGINE=true
|
||||
equals(CUTTER_ENABLE_QTWEBENGINE, true) CONFIG += CUTTER_ENABLE_QTWEBENGINE
|
||||
|
||||
# Define the preprocessor macro to get the application version in our application.
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
Loading…
Reference in New Issue
Block a user