You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* X-Smart-Branch-Parent: master
* Updated README.md for CLion v2021.1.3
* Changed instructions depending on version of CLion to instructions depending upon OS
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,21 @@ These instructions are for using the *JetBrains* C/C++ IDE **CLion**, but should
22
22
-`make start-dev`
23
23
- (Optional) Local builder images can used by setting the environment variable before execution using `BUILD_BUILDER_IMAGE=true make start-dev`.
24
24
Or, builder images from a PR by with `COLLECTOR_BUILDER_TAG=<circle-build-id> make start-dev`.
25
+
26
+
Instructions for Mac OS
25
27
- In the **CLion->Preferences** window, add a new **Toolchain** entry in settings under **Build, Execution, Deployment** as a **Remote Host** type.
26
28
- Then, click in the **Credentials** section and fill out the SSH credentials used in the builder Dockerfile.
27
29
- Host: `localhost`, Port: `2222`, User name: `remoteuser`, Password: `c0llectah`
28
30
- Next, select **Deployment** under **Build, Execution, Deployment**, and then **Mappings**. Set **Deployment path** to `/tmp`.
29
31
- Finally, add a CMake profile that uses the **Remote Host** toolchain and change **Build directory**/**Generation Path** to `cmake-build`.
30
32
33
+
Instructions for Linux
34
+
- In the **File->Settings->Build, Execution, Deployment->Toolchains** window, add a new **Toolchain** entry as a **Remote Host** type.
35
+
- Then, click in the **Credentials** section and fill out the SSH credentials used in the builder Dockerfile.
36
+
- Host: `localhost`, Port: `2222`, User name: `remoteuser`, Password: `c0llectah`
37
+
- In the **File->Setting->Build, Execution, Deployment->Deployment** window click on the **Mappings** tab. Set **Deployment path** to /tmp.
38
+
- In the **File->Settings->Build, Execution, Deployment->CMake** window add a CMake profile that uses the **Remote Host** toolchain and change **Build directory**/**Generation Path** to `cmake-build`.
39
+
31
40
The development workflow can also be used with the rhel based builder image.
32
41
- Start the collector builder with `make start-dev-rhel`
33
42
- Create a Red Hat CMake profile with **Build Directory**/**Generation Path** set to `cmake-build-rhel`.
0 commit comments