請問if exist $@.manifest mt $@.manifest -outputresource:$@;1中的mt、-outputresource;1什麼意思啊!求大神指教。感激不盡。
mt.exe是visual studio自帶的一個工具程序,可以使用mt.exe查看PE文件的manifest。可以通過mt /?查看其完整幫助信息。if exist $@.manifest mt $@.manifest -outputresource:$@;1這句話的意思就是如果存在$@.manifest這個文件,就將這個manifest文件導出為一個類型為RT_MANIFEST的資源(Output the manifest to a resource of type with the specified id.),1代表id號。$@是makefile中的target