[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55901] Add CMakeLists.txt to .hgignore for CL

From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55901] Add CMakeLists.txt to .hgignore for CLion support
Date: Fri, 29 Mar 2019 11:59:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Follow-up Comment #2, bug #55901 (project octave):

Basically, yeah. I do want to use it as more of an IDE, but just for code
analysis and navigation; not for the actual build. What I do is generate a
dummy CMakeLists.txt file that doesn't actually build anything useful, but
pulls in all the various source directories as source files so CLion can
recognize and parse them, which lets it do reference resolution and stuff like

Here's exactly what I do: I have this CMakeLists.txt file in my octave-BUILD
I check out octave-BUILD next to my octave clone, and symlink
octave/CMakeLists.txt to ../octave-BUILD/CMakeLists.txt. That won't get the
project to actually build, but it does get CLion to pull in all the header
files in the project so it can understand the code structure and do useful IDE

If there's no CMakeLists.txt, it will run, but it fails to recognize most of
the source files as being actual source code in the project, and most of its
features don't work.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]