You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
544 B
22 lines
544 B
5 months ago
|
# this file for cmake install
|
||
|
|
||
|
msvc {
|
||
|
QMAKE_CFLAGS += /utf-8
|
||
|
QMAKE_CXXFLAGS += /utf-8
|
||
|
}
|
||
|
|
||
|
#生成一个区别debug和release模式的lib名,输入一个lib名字
|
||
|
defineReplace(saRibbonLibNameMake) {
|
||
|
LibName = $$1
|
||
|
CONFIG(debug, debug|release){
|
||
|
LibName = $${LibName}d
|
||
|
}else{
|
||
|
LibName = $${LibName}
|
||
|
}
|
||
|
return ($${LibName})
|
||
|
}
|
||
|
SARIBBON_LIB_DIR = $$PWD/..
|
||
|
SARIBBON_BIN_DIR = $$PWD/../bin
|
||
|
SARIBBONBAR_PRI_FILE_PATH = $$PWD/SARibbonBar.pri # 源代码路径
|
||
|
SARIBBON_LIB_NAME=$$saRibbonLibNameMake(SARibbonBar)
|