diff options
| author | ruki <[email protected]> | 2020-02-22 23:20:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-22 23:20:19 +0800 |
| commit | d7343aea8fdfdba0c71bcdb3441057aefeb64a97 (patch) | |
| tree | 5de89b0f8bc30e2776c56a41f2d569f55bd96080 /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | 4a7f397b9036a3c31cad090732d758794555e40c (diff) | |
impl generate build.ninja
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() |
