2018-05-24 20:03:03 +08:00
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
#lib_header.pri
|
|
|
|
|
#你可以通过这个文件告诉lib用户,这个文件不要修改
|
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
##definition and configration
|
|
|
|
|
##need QSYS
|
|
|
|
|
#################################################################
|
2018-05-26 14:49:18 +08:00
|
|
|
|
#...
|
2018-05-24 20:03:03 +08:00
|
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
|
##include directories
|
|
|
|
|
##################################################################
|
|
|
|
|
defineReplace(lib_header){
|
|
|
|
|
path = $$1
|
|
|
|
|
!isEmpty(2) : error("lib_header(path) requires one arguments.")
|
|
|
|
|
isEmpty(1) : error("lib_header(path) requires one arguments.")
|
|
|
|
|
|
|
|
|
|
#basic
|
|
|
|
|
command += $${path}
|
|
|
|
|
|
|
|
|
|
return ($$command)
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-26 14:49:18 +08:00
|
|
|
|
#= INCLUDEPATH += $$lib_header($$PWD)
|
2018-05-24 20:03:03 +08:00
|
|
|
|
add_local_header( $$lib_header($$PWD) )
|
|
|
|
|
message($$INCLUDEPATH)
|