SingleFileExecutionPlugin icon indicating copy to clipboard operation
SingleFileExecutionPlugin copied to clipboard

The line is added but I still cannot run the file

Open erelsgl opened this issue 6 years ago • 1 comments

I installed the plugin, went into a cpp file, right-clicked and chose "Add executable for a single c/cpp file". Indeed the following line was added into my CMakeLists.txt file:

 add_executable(hello 01-what-is-cpp/1-hello/hello.cpp)

However, I still do not see any run configuration on the top-right panel of Clion... all I see is "Add Configuration".

erelsgl avatar Feb 26 '19 15:02 erelsgl

@erelsgl, the fact is that by default CMakeList.txt is not updated automatically after the change. You need to enable the "Auto-Reload CMake Project".

alphavector avatar Jun 01 '19 10:06 alphavector