加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
demo_com.pri 1010 Bytes
一键复制 编辑 原始数据 按行查看 历史
huangjianxiong 提交于 2018-07-15 10:22 . update demo_com.pri
CONFIG -= qt
CONFIG += stl_off
CONFIG += debug_and_release
!CONFIG(DISABLE_WCHAR){
#打开wchar_t为内置类型
QMAKE_CXXFLAGS += /Zc:wchar_t
}
!CONFIG(MBCS){
CharacterSet = 1
}
else{
CharacterSet = 2
DEFINES -= UNICODE
}
CONFIG(USING_MT){
#使用MT链接CRT
QMAKE_CXXFLAGS_RELEASE += /MT
QMAKE_CXXFLAGS_DEBUG += /MTd
}
CONFIG(debug, debug|release) {
OBJECTS_DIR = debug
DESTDIR = debug
}
else {
OBJECTS_DIR = release
DESTDIR = release
}
CONFIG(x64){
OBJECTS_DIR = $$OBJECTS_DIR"64"
DESTDIR = $$DESTDIR"64"
}
CONFIG(x64){
QMAKE_LFLAGS += /MACHINE:X64
DEFINES -= WIN32
DEFINES += _WIN64
LIBPATH += $(SOUIPATH)/bin64
}
else{
QMAKE_LFLAGS += /MACHINE:X86
LIBPATH += $(SOUIPATH)/bin
}
#多核编译
QMAKE_CXXFLAGS += /MP
QMAKE_CXXFLAGS += -Fd$(IntDir)
DEPENDPATH += .
INCLUDEPATH += . \
$(SOUIPATH)/utilities/include \
$(SOUIPATH)/soui/include \
$(SOUIPATH)/components \
$(SOUIPATH)/config
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化