QT -= gui
CONFIG += c++11 console
CONFIG -= app_bundle
CONFIG -= app_bundle
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked 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
# any Qt feature that has been marked 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
# You can also make your code fail to compile if it uses 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
# 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
INCLUDEPATH += ../Interface \
SOURCES += \
main.cpp
main.cpp
unix:!macx:{
# QMAKE_LFLAGS += -no-pie
# QMAKE_CXXFLAGS += -std=c++11
# QMAKE_CXXFLAGS += -std=c++14
CONFIG(debug, debug|release){
message("D*****BJLK***** linux version-Main")
}
else{
message("R*****BJLK***** linux version-Main")
}
PlatformFolder = Linux
}
# QMAKE_LFLAGS += -no-pie
# QMAKE_CXXFLAGS += -std=c++11
# QMAKE_CXXFLAGS += -std=c++14
CONFIG(debug, debug|release){
message("D*****BJLK***** linux version-Main")
}
else{
message("R*****BJLK***** linux version-Main")
}
PlatformFolder = Linux
}
win32:{
CONFIG(debug, debug|release){
message("D*****BJLK***** win32 version-Main")
}
else{
message("R*****BJLK***** win32 version-Main")
}
PlatformFolder = Win32
LIBS += -L$$PWD/../bin/$$PlatformFolder/Lib -lConfigMgr
LIBS += -L$$PWD/../bin/$$PlatformFolder/Lib -lTaskMgr
# LIBS += -L$$PWD/../bin/$$PlatformFolder -loraociei11
# LIBS += -L$$PWD/../bin/$$PlatformFolder -loci
}
DESTDIR = $$PWD/../bin/$$PlatformFolder
CONFIG(debug, debug|release){
message("D*****BJLK***** win32 version-Main")
}
else{
message("R*****BJLK***** win32 version-Main")
}
PlatformFolder = Win32
LIBS += -L$$PWD/../bin/$$PlatformFolder/Lib -lConfigMgr
LIBS += -L$$PWD/../bin/$$PlatformFolder/Lib -lTaskMgr
# LIBS += -L$$PWD/../bin/$$PlatformFolder -loraociei11
# LIBS += -L$$PWD/../bin/$$PlatformFolder -loci
}
DESTDIR = $$PWD/../bin/$$PlatformFolder
TARGET = RouterReal
unix {
CONFIG+=plugin
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
CONFIG+=plugin
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target