Creating run configurations in CLion - AlexeyDmitriev/JHelper GitHub Wiki

  • Create CMake target: in CMakeLists.txt you need to add add_executable(nameOfTarget pathFromRootToCppFiles)
  • Go to Run-Edit configurations...-+-Application. Choose name for configuration and target created in CMakeLists.txt