1 Star 0 Fork 27

AlongsCode/soui4

forked from setoutsoft/soui4 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
demo_com.pri 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
setoutsoft 提交于 2022-02-12 10:22 . 调整扩展控件编译
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 += $(SOUI4PATH)/bin64
}
else{
QMAKE_LFLAGS += /MACHINE:X86
LIBPATH += $(SOUI4PATH)/bin
}
#多核编译
QMAKE_CXXFLAGS += /MP
QMAKE_CXXFLAGS += -Fd$(IntDir)
DEPENDPATH += .
INCLUDEPATH += . \
$(SOUI4PATH)/utilities/include \
$(SOUI4PATH)/soui/include \
$(SOUI4PATH)/components \
$(SOUI4PATH)/config
CONFIG(debug,debug|release){
LIBS += utilities4d.lib soui4d.lib
}
else{
LIBS += utilities4.lib soui4.lib
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/alongscode/soui4.git
git@gitee.com:alongscode/soui4.git
alongscode
soui4
soui4
master

搜索帮助