From d7343aea8fdfdba0c71bcdb3441057aefeb64a97 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 22 Feb 2020 23:20:19 +0800 Subject: impl generate build.ninja --- xmake/plugins/project/make/makefile.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xmake/plugins/project/make/makefile.lua') diff --git a/xmake/plugins/project/make/makefile.lua b/xmake/plugins/project/make/makefile.lua index c5b76880a..c2c44508d 100644 --- a/xmake/plugins/project/make/makefile.lua +++ b/xmake/plugins/project/make/makefile.lua @@ -320,6 +320,12 @@ end -- make all function _make_all(makefile) + -- make head + makefile:print([[# this is the build file for project %s +# it is autogenerated by the xmake build system. +# do not edit by hand. +]], project.name() or "") + -- make variables for ccache local ccache = find_tool("ccache") if ccache then -- cgit v1.3.1