同樣問題...
您可以建立makefile專案(2017)
再把makefile丟進去就可了
2015之前用nmake.exe
參考
https://msdn.microsoft.com/zh-tw/library/f35ctcxw.aspx