项目->属性->生成事件->后期生成事件->命令行:输入如下命令 copy /y $(ProjectDir)*.h $(ProjectDir)..\myProject\library\include\ 这是配和了windows的批处理命令。