Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

General Query #358

Open
AndyPage3 opened this issue Jan 10, 2018 · 5 comments
Open

General Query #358

AndyPage3 opened this issue Jan 10, 2018 · 5 comments

Comments

@AndyPage3
Copy link

In the past i have tried this project on MSYS2 and failed to get the App to launch properly (issue with GTK).
I am now going back to Linux and want to retry the App as it looks interesting and i might want to use and contribute to it.
Can you tell me once the App is launched can you point it at its own CMakeList.txt and then start browsing the project/App ?
There are probably two sub questions contained this question;
o Is the starting point for browsing an existing project its top level CMakeLists.txt file ?
o Is Jucipp upto the job of of browsing a project that links to a huge library like GTK/GTKMM ?

@eidheim
Copy link
Member

eidheim commented Jan 11, 2018

When you open a file, a search is made for the top level CMakeLists.txt or for instance meson.build. If it is found, the project path is set to the directory where this CMakeLists.txt was found.

Working with a very large project is troublesome using libclang, but given that you have a very decent computer, the main issue is file IO I think. Both ctags.cc and usages_clang.cc could be optimised further to reduce file IO through.

@matsbror
Copy link

I have not yet been able to open an existing directory with a CMakeLists.txt and having it recognised as a project. I can open a directory and see all the files, but I cannot build as jucipp says "Could not find a supported project".

@eidheim
Copy link
Member

eidheim commented Jan 22, 2018

@matsbror Could you post a top level CMakeLists.txt file that is not working? Also, what OS are you on? One issue I can think of could be if the CMakeLists.txt file contains Windows newlines (\r\n instead of \n), but I think I solved this issue some months back.

@eidheim
Copy link
Member

eidheim commented Jan 22, 2018

Also, when identifying the top-level CMakeLists.txt, juCi++ looks for a line with project([project-name]).

@matsbror
Copy link

Thanks for the reply. The setting of project did the trick.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants