From 753c66624b99499a40ecb4ee84965af219f1ccb6 Mon Sep 17 00:00:00 2001 From: SPeak Date: Thu, 28 Mar 2024 23:37:42 +0800 Subject: [PATCH] update readme --- README.md | 8 ++++++++ src/Instroduction.md | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index 5c553dd..fafad22 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,14 @@ git clone --recursive git@github.com:Sunrisepeak/d2ds.git ``` +### 安装xmake + +```bash +sudo add-apt-repository ppa:xmake-io/xmake +sudo apt-get update +sudo apt-get install g++ gdb xmake make -y +``` + ### dslings自动检测 在本地[d2ds仓库](https://github.com/Sunrisepeak/d2ds)的根目录执行如下命令 diff --git a/src/Instroduction.md b/src/Instroduction.md index ee719a3..906c983 100644 --- a/src/Instroduction.md +++ b/src/Instroduction.md @@ -147,6 +147,20 @@ private: 用dslings的**编译器驱动开发模式**来进行代码练习 +### 代码下载 + +```bash +git clone --recursive git@github.com:Sunrisepeak/d2ds.git +``` + +### 安装xmake + +```bash +sudo add-apt-repository ppa:xmake-io/xmake +sudo apt-get update +sudo apt-get install g++ gdb xmake make -y +``` + ### dslings自动检测 在本地[d2ds仓库](https://github.com/Sunrisepeak/d2ds)的根目录执行如下命令