From b6156954ba03b9909e3530fa821514edef965a68 Mon Sep 17 00:00:00 2001 From: Hui Wang <wanghehv@sjtu.edu.cn> Date: Tue, 15 Feb 2022 17:53:28 +0800 Subject: [PATCH] update readme, add clion+vs build instruction --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 780c568..01676e8 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,12 @@ If you feel that your program is running slowly, you can also change the build m Open CLion, then do `File -> Import Project..` -Choose the `Visual Studio` as the Default toolchain in `File -> Settings -> Build, Execution, Deployment -> Toolchains`, and make sure `Architecture` is correct - In the popped out window, find and select the project folder `...\DrawSVG`, click OK, click Open Existing Project, then select New Window Make sure the drop down menu on top right has drawsvg selected (it should say `drawsvg | Debug`). Then open the drop down menu again and go to Edit Configurations.. +Open `File -> Settings -> Build, Execution, Deployment -> Toolchains`, then choose `Visual Studio` as the Default toolchain, and make sure `Architecture` is correct + Open `Run -> Edit Configureations -> CMake Application -> drawsvg`, fill `Program arguments` as `.\svg\basic` and `Working diretory` as `MyDir\drawsvg`, then apply and close the popup. Now you should be able to click on the green run button on top right to run the project. -- GitLab