2021-01-30 18:10:49 +00:00
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = MiscHelpers
|
|
|
|
QT += core network widgets winextras
|
|
|
|
#CONFIG += debug
|
|
|
|
# DEFINES += QT_LARGEFILE_SUPPORT QTSERVICE_LIB QT_WIDGETS_LIB QT_QTSINGLEAPPLICATION_EXPORT
|
|
|
|
DEFINES += MISCHELPERS_LIB
|
|
|
|
#LIBS += -L"."
|
|
|
|
PRECOMPILED_HEADER = stdafx.h
|
|
|
|
#DEPENDPATH += .
|
|
|
|
#MOC_DIR += ./GeneratedFiles/$(ConfigurationName)
|
|
|
|
#OBJECTS_DIR += debug
|
|
|
|
#UI_DIR += ./GeneratedFiles
|
|
|
|
#RCC_DIR += ./GeneratedFiles
|
2021-01-30 20:58:34 +00:00
|
|
|
win32:LIBS += -lUser32 -lShell32
|
2021-01-30 18:10:49 +00:00
|
|
|
|
|
|
|
!mac:unix:QMAKE_LFLAGS += -Wl,-rpath,'\$\$ORIGIN'
|
|
|
|
mac:QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
|
|
|
|
!win32:QMAKE_LFLAGS +=-rdynamic
|
|
|
|
|
|
|
|
CONFIG(release, debug|release):{
|
|
|
|
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
|
|
|
|
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO
|
|
|
|
}
|
2021-01-30 21:49:22 +00:00
|
|
|
|
|
|
|
CONFIG(debug, debug|release):contains(QMAKE_HOST.arch, x86_64):DESTDIR = ../Bin/x64/Debug
|
|
|
|
CONFIG(release, debug|release):contains(QMAKE_HOST.arch, x86_64):DESTDIR = ../Bin/x64/Release
|
|
|
|
CONFIG(debug, debug|release):!contains(QMAKE_HOST.arch, x86_64):DESTDIR = ../Bin/Win32/Debug
|
|
|
|
CONFIG(release, debug|release):!contains(QMAKE_HOST.arch, x86_64):DESTDIR = ../Bin/Win32/Release
|
|
|
|
|
2021-01-30 18:10:49 +00:00
|
|
|
INCLUDEPATH += .
|
|
|
|
DEPENDPATH += .
|
|
|
|
#MOC_DIR += ./GeneratedFiles
|
|
|
|
#OBJECTS_DIR += ./ObjectFiles
|
|
|
|
#UI_DIR += ./GeneratedFiles
|
|
|
|
#RCC_DIR += ./GeneratedFiles
|
|
|
|
|
|
|
|
|
|
|
|
include(MiscHelpers.pri)
|