Ask Your Question
1

What is the procedure to make CLion execute CMake-configured builds in a Conda environment?

asked 2023-03-18 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-19 07:00:00 +0000

lalupa gravatar image

To make CLion execute CMake-configured builds in a Conda environment, follow these steps:

  1. Open the CLion project that you want to configure with Conda.

  2. Click on the File menu and select Settings.

  3. In the Settings window, navigate to Build, Execution, Deployment > Toolchains.

  4. Click on the + icon to add a new Toolchain.

  5. Select Conda from the list of available toolchains.

  6. Choose the Conda environment you want to use and click OK.

  7. CLion will automatically configure the CMake settings for the selected Conda environment.

  8. Build and run your project in CLion to verify that it is using the Conda environment.

Note: If you are using a custom CMake configuration, you may need to add additional flags to specify the Conda environment. Consult the Conda documentation for more information.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-18 11:00:00 +0000

Seen: 13 times

Last updated: May 19 '21