News for hackers. Stuff that matters.
Re:JetBrains: $270M revenue, 405K paying users, $0 raised by fctorial on Sunday December 15, 2019 @12:21PM (#21797394)
This minimal cmake file should setup the ide for any project, the build will have to be ran externally though. You can setup the ide to debug external binaries as well, as long as it has source information (was built from the current project sources with debug info).

  cmake_minimum_required(VERSION 3.0)
  project(prog)

  include_directories(.)
  file(GLOB_RECURSE sources *.h *.cpp *.c *.hpp)

  add_executable(prog main.c)

variables might have to be tweaked a bit.

There are no comments on this comment yet.