xybrid/xybrid/xybrid.pro

80 lines
2.1 KiB
Prolog
Raw Permalink Normal View History

2018-11-19 15:57:54 -05:00
#-------------------------------------------------
#
# Project created by QtCreator 2018-11-19T00:10:46
#
#-------------------------------------------------
QT += core gui multimedia opengl
2018-11-19 15:57:54 -05:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = xybrid
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
2018-11-19 15:57:54 -05:00
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
2022-03-19 21:19:03 -04:00
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050F00
2018-11-19 15:57:54 -05:00
DISTFILES += ../.astylerc
CONFIG += c++2a
2018-11-19 15:57:54 -05:00
# use all optimizations that won't generally interfere with debugging
QMAKE_CXXFLAGS_DEBUG += -Og
2022-03-19 02:09:29 -04:00
QMAKE_CXXFLAGS_RELEASE += -O3
# automatically build file lists
SOURCES += $$files(*.cpp, true)
HEADERS += $$files(*.h, true) \
$$files(*.hpp, true)
FORMS += $$files(*.ui, true)
RESOURCES += res/resources.qrc
2018-11-19 15:57:54 -05:00
2019-07-22 10:34:51 -04:00
2019-07-22 10:55:20 -04:00
2019-07-22 10:34:51 -04:00
freebsd-clang {
DEFINES += WITH_BOOST
LIBS += -lboost_math_tr1
}
macx: {
DEFINES += WITH_BOOST
LIBS += -L/Users/rachel/.nix-profile/lib -lboost_container -lboost_math_tr1
LIBS += -framework OpenGL
2019-07-22 09:21:23 -04:00
LIBS += -framework Foundation
2020-02-20 03:55:29 -05:00
SOURCES +=
HEADERS +=
QMAKE_CXXFLAGS += -g -I/nix/store/gp7ascpyzsprb2i79kl5a22rmyawwscb-boost-1.77.0-dev/include
}
2019-07-22 10:55:20 -04:00
# TODO: make this work.
CONFIG (boost) {
DEFINES += WITH_BOOST
LIBS += -L$${BOOSTPATH}
QMAKE_CXXFLAGS += -I$${BOOSTINCLUDE}
}
2018-11-19 15:57:54 -05:00
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
2019-06-25 18:26:43 -04:00
desktop.path = /usr/share/applications
desktop.files += xybrid.desktop
INSTALLS += desktop
2022-03-13 20:36:41 -04:00
mime.path = /usr/share/mime/packages
mime.files += xybrid.xml
INSTALLS += mime