To make CLion execute CMake-configured builds in a Conda environment, follow these steps:
Open the CLion project that you want to configure with Conda.
Click on the File menu and select Settings.
In the Settings window, navigate to Build, Execution, Deployment > Toolchains.
Click on the + icon to add a new Toolchain.
Select Conda from the list of available toolchains.
Choose the Conda environment you want to use and click OK.
CLion will automatically configure the CMake settings for the selected Conda environment.
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.
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
Asked: 2023-03-18 11:00:00 +0000
Seen: 13 times
Last updated: May 19 '21
What is the global build timeout in Jenkins?
What does "unknown eslint jest/globals environment key" mean?
What is the method for creating a loader for environment variables that ensures type safety?
What is the process for utilizing system environment variables in VS 2008 Post-Build events?
Why are environment variables not being loaded from the dotenv file?