From a78cc159f8688e50a516c572f5943359e4bcf2f9 Mon Sep 17 00:00:00 2001 From: MrJohn10 <20319636+MrJohn10@users.noreply.github.com> Date: Thu, 9 Jul 2020 21:25:19 +0200 Subject: [PATCH] add cloning instructions, improve links --- docs/using_vscode.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/using_vscode.md b/docs/using_vscode.md index 9e1bb487..cb1720e3 100644 --- a/docs/using_vscode.md +++ b/docs/using_vscode.md @@ -5,11 +5,24 @@ * before compilation you have to instal tools and dependencies (points 1,2,3) - https://github.com/colobot/colobot/wiki/How-to-Build-Colobot%3A-Gold-Edition-Using-MSVC +### Cloning project +execute following command: +``` +git clone https://github.com/MrJohn10/colobot.git +``` +in order to clone 'data' submodlue you also have to execute: (this module is needed to launch the game) +``` +git submodule update --init +``` +if you want you can combine this commands and execute: +``` +git clone https://github.com/MrJohn10/colobot.git --recurse-submodules +``` ### Configuring vscode * open project folder in vscode -* install extension CMake Tools: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools -* install extensnion ms-vscode.cpptools: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools +* install extension [CMake Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools) +* install extensnion [C/C++](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) * on the status line at the bottom you can choose cmake configuration and compiler ### Adding cmake settings: