From d9bd2152fd700cd3f062fd5817d1563d7f57638f Mon Sep 17 00:00:00 2001 From: Du Yanning Date: Mon, 1 Jun 2020 20:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=84=9A=E6=9C=AC=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=9B=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.html | 2 +- windows-publish/mingw-collect-pre-built-binaries.bat | 1 + windows-publish/vc-collect-pre-built-binaries.bat | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index d7331d0..ca6386d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -476,7 +476,7 @@ ``` 其中`qt-moc`、`qt-uic`、`qt-rcc`是宏的名字。后边的文件名是传递给宏的参数。在宏文件中可以以`$1`、`$3`、`$3`、……的形式来引用这些参数。 -宏文件位于`.cpps/macro`目录下。 +宏文件位于`.cpps/macro`目录下。(将marco文件夹复制到.cpps下即可) 在宏文件中除了`$1`、`$3`、`$3`、……,还可以使用一个内置函数`basename`,它可以从 `$(basename foo.h)` diff --git a/windows-publish/mingw-collect-pre-built-binaries.bat b/windows-publish/mingw-collect-pre-built-binaries.bat index 53c559d..37dfa3a 100644 --- a/windows-publish/mingw-collect-pre-built-binaries.bat +++ b/windows-publish/mingw-collect-pre-built-binaries.bat @@ -5,3 +5,4 @@ COPY ..\bin\ReleaseStatic\*.exe cpp-mingw-prebuilt-bin COPY ..\finderror\bin\Release\*.exe cpp-mingw-prebuilt-bin COPY ..\vc-config-gen\bin\Release\*.exe cpp-mingw-prebuilt-bin COPY ..\minised\*.exe cpp-mingw-prebuilt-bin +XCOPY /I ..\macro cpp-mingw-prebuilt-bin\macro diff --git a/windows-publish/vc-collect-pre-built-binaries.bat b/windows-publish/vc-collect-pre-built-binaries.bat index b1b4807..e9bbddb 100644 --- a/windows-publish/vc-collect-pre-built-binaries.bat +++ b/windows-publish/vc-collect-pre-built-binaries.bat @@ -4,3 +4,4 @@ MD cpp-vc-prebuilt-bin COPY ..\Release\*.exe cpp-vc-prebuilt-bin COPY ..\Release\*.dll cpp-vc-prebuilt-bin COPY ..\minised\*.exe cpp-vc-prebuilt-bin +XCOPY /I ..\macro cpp-vc-prebuilt-bin\macro