"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/src/gui-qt/highlight.pro" (12 May 2020, 2214 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Prolog source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 TARGET = highlight-gui
    3 
    4 TEMPLATE = app
    5 
    6 INCLUDEPATH += .  ../include
    7 
    8 QT       += core gui
    9 
   10 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
   11 
   12 PRECOMPILED_HEADER = precomp.h
   13 DEFINES += O2 QT
   14 
   15 SOURCES += main.cpp \
   16     mainwindow.cpp \
   17     io_report.cpp \
   18     showtextfile.cpp \
   19     syntax_chooser.cpp
   20 
   21 HEADERS += mainwindow.h \
   22     precomp.h \
   23     io_report.h \
   24     showtextfile.h \
   25     syntax_chooser.h
   26 
   27 FORMS += mainwindow.ui \
   28     io_report.ui \
   29     showtextfile.ui \
   30     syntax_chooser.ui
   31 
   32 RESOURCES = highlight-gui.qrc
   33 TRANSLATIONS = highlight_de_DE.ts highlight_es_ES.ts highlight_cs_CZ.ts \
   34     highlight_zh_CN.ts highlight_it_IT.ts highlight_fr_FR.ts highlight_bg_BG.ts
   35 
   36 QMAKE_CXXFLAGS += -std=c++11
   37 
   38 # If Lua 5.2 is not default on your system yet you have to omit 5.1 here:
   39 unix {
   40     DESTDIR = ../
   41     LIBS += -L.. -lhighlight
   42     LIBS += -llua
   43     CONFIG += link_pkgconfig
   44     PKGCONFIG += lua
   45 
   46     # to make it run within Qt Creator
   47     !contains(DEFINES, DATA_DIR.*) {
   48         DEFINES+=DATA_DIR=\\\"/usr/share/highlight/\\\"
   49     }
   50     !contains(DEFINES, CONFIG_DIR.*) {
   51         DEFINES+=CONFIG_DIR=\\\"/etc/highlight/\\\"
   52     }
   53     !contains(DEFINES, DOC_DIR.*) {
   54         DEFINES+=DOC_DIR=\\\"/usr/share/doc/highlight/\\\"
   55     }
   56 }
   57 
   58 win32 {
   59     DESTDIR = ../..
   60 
   61     INCLUDEPATH += E:/devel/cpp/lua_bin_5.3.0
   62     INCLUDEPATH += ../../include
   63     INCLUDEPATH += E:/devel/cpp/boost_1_70_0
   64 
   65     DEFINES += WIN32
   66     CONFIG += static
   67     
   68     LIBS += -LE:\Devel\git\highlight\src -lhighlight
   69 
   70     contains(QT_ARCH, i386) {
   71         LIBS += -LE:\Devel\cpp\lua_bin_5.3.0 -llua
   72     } else {
   73         LIBS += -LE:\Devel\cpp\lua_bin_5.3.0_x64 -llua
   74     }
   75 
   76     RC_FILE = highlight-gui.rc
   77     QMAKE_POST_LINK = $$quote(E:\Devel\upx393w\upx.exe --best E:\Devel\git\highlight\highlight-gui.exe)
   78 }
   79 
   80 macx-clang {
   81     QMAKE_CC = clang
   82     QMAKE_CXX = clang++
   83     INCLUDEPATH+=/usr/local/Cellar/lua/5.2.4_4/include/
   84     INCLUDEPATH += ../../include
   85     INCLUDEPATH+=/usr/local/Cellar/boost/1.62.0/include
   86 
   87     QT_CONFIG -= no-pkg-config
   88     CONFIG += link_pkgconfig
   89     PKGCONFIG += lua
   90     LIBS += -L.. -lhighlight
   91     LIBS += -L/Users/andresimon/Downloads/tarballs/lua-5.3.4/src -llua
   92     ICON = $${PWD}/highlight.icns
   93 }