diff options
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 0df54131c..ca54659c8 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -49,9 +49,12 @@ function _add_values_from_targetpkgs(values, target, name) end end - -- add project info function _add_project(cmakelists) + cmakelists: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 "") cmakelists:print("# project") cmakelists:print("cmake_minimum_required(VERSION 3.13.0)") local project_name = project.name() |
