Descriptor: add the description document about ninja building

issue: https://gitee.com/openharmony/third_party_ninja/issues/I615WP

Signed-off-by: lsn1028 <longshining2@huawei.com>
This commit is contained in:
lsn1028 2022-11-15 10:49:25 +08:00
parent 93c39c06c8
commit 0f7085ce3d

13
build_description.md Normal file
View File

@ -0,0 +1,13 @@
#build ninja
#获取代码
git clone https://gitee.com/openharmony/third_party_ninja.git
#通过python脚本构建生成二进制文件
cd third_party_ninja
./configure.py --bootstrap
#通过CMake编译生成二进制文件
cd third_party_ninja
cmake -Bbuild-cmake -H.
cmake --build build-cmake