4 avg. rating (80% score) - 1 votes
Yes. CLion supports only CMake-based projects for now.
But you can try importing non-CMake project into CLion using Import Project functionality.
Yes, this is in our plans. Please find the feature request in our tracker to vote and comment on. CLion 1.0 will definitely come with CMake support only, but later we’ll decide where to move next, by considering your votes in the tracker.
The most popular options so far are:
Feel free to vote and leave comments in these requests so we can better understand your needs.
You have three options: Cygwin, MinGW and Microsoft Visual C++ compiler. More details on how to configure these tool chains:
Cygwin: Get the latest available 64-bit version and make sure to select gcc/g++, CMake, make and gdb 7.8 while installing the packages.
MinGW: CLion currently supports MinGW and MinGW-w64. See the compatible versions list in our quick start guide.
In addition, don’t forget to install make and gcc/g++ packages from MinGW tool chain to make it work with CLion.
Microsoft Visual C++ compiler is available starting with v2017.1 via CMake (with NMake generator).
Sure. Feel free to change it in Preferences/Settings | Build, Execution, Deployment | Tool chains. Try checking the environment functionality there to understand if anything is missing or wrong with your tool chain. It will try to build a very simple program and inform you of the result.
At present CLion supports GCC and Clang compilers, MSVC is available in the experimental mode and is guided by these two to get the libraries and headers paths. In the next releases we are planning to extend the list of compilers available in CLion.
Since CLion relies on CMake build system. To change the compiler used in CLion, use method #2 from the official CMake documentation.
Go to Preferences/Settings | Build, Execution, Deployment | CMake | CMake options and pass the following commands:
The corresponding CMake cache variables will be overwritten.
The best way is to use Preferences/Settings | Build, Execution, Deployment | CMake dialog.
This can be done easily with CMake variables. Just set:
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "my_dir")
You can change build output directory in Preferences/Settings | Build, Execution, Deployment | CMake dialog as well.
In addition, the Run/Debug Configurations dialog (Run | Edit Configurations…) in CLion allows you to set program execution arguments, working directory, and environment variables.
CLion searches through the same places CMake does. Set the INCLUDE_DIRECTORIES variable in CMake to provide the headers path to the IDE.
By the way, in this wiki you can find a lot of useful CMake variables with descriptions that can be especially helpful if you are new to CMake.
CLion supports a variety of key maps. Choose and use your favorite one, or create a new key map based on an existing one. Go to Preferences/Settings | Appearance and Behavior | Key map to manage key maps, or just press Ctrl to quickly switch the scheme.
CLion is a commercial product built on our own open-source IntelliJ Platform. As all other Jet Brains products, CLion will most likely have a variety of licensing options, including free and paid ones. For an example, see our AppCode buy page.
We are not planning a plugin option for IntelliJ IDEA until CLion 1.0 release, but this possibility will be considered later.
Yes, as all other Jet Brains IntelliJ-Platform-based products, CLion is open to plugin development. Find useful information in our confluence space. Still, before v1.0 the API may be unstable and plugins may be broken occasionally.
CLion Related Interview Questions
|C++ Interview Questions||Linux Interview Questions|
|Windows 95 Interview Questions||Mac OS X Deployment Interview Questions|
|Mac OS X TroubleShooting Interview Questions||Windows Administration Interview Questions|
|Compiler Design Interview Questions||Advanced C++ Interview Questions|
|C and C++ Interview Questions||Basic C Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.