mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Set qmake Jupyter optional
This commit is contained in:
parent
8b77ad2766
commit
422a43f344
@ -7,16 +7,27 @@ VERSION = 1.2
|
||||
|
||||
ICON = img/cutter.icns
|
||||
|
||||
QT += core gui widgets svg webenginewidgets
|
||||
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
|
||||
|
||||
# Define the preprocessor macro to get the application version in our application.
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
# TODO: make optional
|
||||
CUTTER_ENABLE_QTWEBENGINE {
|
||||
message("Jupyter support enabled.")
|
||||
DEFINES += CUTTER_ENABLE_JUPYTER
|
||||
}
|
||||
|
||||
CUTTER_ENABLE_QTWEBENGINE {
|
||||
message("QtWebEngine support enabled.")
|
||||
DEFINES += CUTTER_ENABLE_QTWEBENGINE
|
||||
QT += webenginewidgets
|
||||
}
|
||||
|
||||
INCLUDEPATH *= .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user