Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add existing project into Geany

Tags:

c++

linux

geany

I have an existing C++ project which is built with Gnu Make. I want to develop the source under Geany but am unable find a way to import it.

like image 467
Yordan Pavlov Avatar asked Jul 24 '12 11:07

Yordan Pavlov


2 Answers

I know this i a rather old question, but it was first hit on my search for the exact question. Since I have figured it out now, I wanted to give an answer for future searchers.

One should create a new project. Select a name for the project, select a location for the project file, e.g. the root of the project directory and the the root of the project directory. That's it.

But - the documents tab is confusing, so I suggest installing a file browser plugin, by selecting Tools -> Plugin Manager and then select the plugin File Browser. This adds a tab that will enable browsing the files in the project.

Hope it helps.

like image 86
Andreas Ryge Avatar answered Sep 28 '22 10:09

Andreas Ryge


You don't have to import your project.

In geany go to "Project/New" and you'll be able to create a new project. Select a name for your project, select a file to save its settings and select the base directory where your source files are.

Then you'll be able to build to project with "Build/Make". It will run make within the base directory you selected. You can customise the build commands if you go to "Build/Set build commands".

like image 23
A.G. Avatar answered Sep 28 '22 09:09

A.G.