use standard link flags (#450)
This commit is contained in:
parent
d7df8248ab
commit
dac24ec57d
|
@ -48,8 +48,10 @@ isEmpty(LIBEXECDIR) {
|
||||||
|
|
||||||
win32: {
|
win32: {
|
||||||
DEFINES += _WIN32_WINNT=0x0501
|
DEFINES += _WIN32_WINNT=0x0501
|
||||||
|
LIBS += -ladvapi32 # registry APIs
|
||||||
LIBS += -lpsapi # GetModuleFileNameEx, GetProcessMemoryInfo
|
LIBS += -lpsapi # GetModuleFileNameEx, GetProcessMemoryInfo
|
||||||
LIBS += -lshlwapi # SHDeleteKey
|
LIBS += -lshlwapi # SHDeleteKey
|
||||||
|
LIBS += -luser32 # window message APIs
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
|
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
|
||||||
|
@ -89,26 +91,18 @@ msvc {
|
||||||
|
|
||||||
CONFIG(debug_and_release_target) {
|
CONFIG(debug_and_release_target) {
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
OBJ_OUT_PWD = debug/
|
OBJ_OUT_PWD = debug
|
||||||
}
|
}
|
||||||
CONFIG(release, debug|release) {
|
CONFIG(release, debug|release) {
|
||||||
OBJ_OUT_PWD = release/
|
OBJ_OUT_PWD = release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += ../libs/qsynedit ../libs/redpanda_qt_utils ../libs/lua
|
INCLUDEPATH += ../libs/qsynedit ../libs/redpanda_qt_utils ../libs/lua
|
||||||
|
|
||||||
gcc | clang {
|
LIBS += -L$$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD} -lqsynedit \
|
||||||
LIBS += $$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD}libqsynedit.a \
|
-L$$OUT_PWD/../libs/redpanda_qt_utils/$${OBJ_OUT_PWD} -lredpanda_qt_utils \
|
||||||
$$OUT_PWD/../libs/redpanda_qt_utils/$${OBJ_OUT_PWD}libredpanda_qt_utils.a \
|
-L$$OUT_PWD/../libs/lua/$${OBJ_OUT_PWD} -llua
|
||||||
$$OUT_PWD/../libs/lua/$${OBJ_OUT_PWD}liblua.a
|
|
||||||
}
|
|
||||||
msvc {
|
|
||||||
LIBS += $$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD}qsynedit.lib \
|
|
||||||
$$OUT_PWD/../libs/redpanda_qt_utils/$${OBJ_OUT_PWD}redpanda_qt_utils.lib \
|
|
||||||
$$OUT_PWD/../libs/lua/$${OBJ_OUT_PWD}lua.lib
|
|
||||||
LIBS += advapi32.lib user32.lib
|
|
||||||
}
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
autolinkmanager.cpp \
|
autolinkmanager.cpp \
|
||||||
|
|
|
@ -14,7 +14,7 @@ lua.subdir = libs/lua
|
||||||
|
|
||||||
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
||||||
# into the main app bundle
|
# into the main app bundle
|
||||||
RedPandaIDE.depends = consolepauser qsynedit
|
RedPandaIDE.depends = consolepauser qsynedit lua
|
||||||
qsynedit.depends = redpanda_qt_utils
|
qsynedit.depends = redpanda_qt_utils
|
||||||
|
|
||||||
APP_NAME = RedPandaCPP
|
APP_NAME = RedPandaCPP
|
||||||
|
|
Loading…
Reference in New Issue