Working with existing makefile based project
Posted: Sat Aug 31, 2013 11:20 am
Hi,
Downloaded CodeLite last night, in the hopes of using it on my Linux (Debian 'Wheezy') box, to browse, understand and later debug some existing source code, that is written predominantly in C/C++ with bits of lua, python and perl also thrown in. The project in question is highly modular, and every module is built using an independent Makefile, although it is a fairly simple Makefile at module level. The entire project is built using Makefile generated by autoconfig tool, based on various parameters -- as is typical, like optional libraries, features, build-tools, their options and various non-default paths etc.
Earlier I tried using Eclipse IDE with CDT, but got somewhat frustrated with it's UI and sluggish speed on my rather oldish laptop. All the source is organized like:
My existing Eclipse workspace -
The existing project that I intend to pull inside CodeLite workspace to work on it -
However, I've struggled for a while, without being able to figure out how to go about it. Not sure if CodeLite treats the directory named "workspace" specially, since everytime I try to either create a new workspace, it goes inside the Eclipse-workspace directory to create a workspace there. If I try to open the Eclipse-workspace directory, it looks for some meta-file (perhaps) with extension *.workspace and doesn't find it.
Then I try to create a new workspace called "workspace-codelite" and import the project "MyProject" into it, it went ahead and created it as"
while I was expecting it to be like --
This silly little thing has got me stumped. I am bit picky and perfectionist about getting this organization correct! Any help in getting over this hurdle would be much appreciated.
cheers,
Jay
Downloaded CodeLite last night, in the hopes of using it on my Linux (Debian 'Wheezy') box, to browse, understand and later debug some existing source code, that is written predominantly in C/C++ with bits of lua, python and perl also thrown in. The project in question is highly modular, and every module is built using an independent Makefile, although it is a fairly simple Makefile at module level. The entire project is built using Makefile generated by autoconfig tool, based on various parameters -- as is typical, like optional libraries, features, build-tools, their options and various non-default paths etc.
Earlier I tried using Eclipse IDE with CDT, but got somewhat frustrated with it's UI and sluggish speed on my rather oldish laptop. All the source is organized like:
My existing Eclipse workspace -
Code: Select all
/home/jayachar/workspace/
Code: Select all
/home/jayachar/workspace/MyProject/
/home/jayachar/workspace/MyProject/src/
/home/jayachar/workspace/MyProject/src/CodeFile_1.cpp
/home/jayachar/workspace/MyProject/src/CodeFile_2.cpp
/home/jayachar/workspace/MyProject/src/CodeFile_1.h
...
/home/jayachar/workspace/MyProject/src/modules/
/home/jayachar/workspace/MyProject/src/modules/ModuleX/
/home/jayachar/workspace/MyProject/src/modules/ModuleX/CodeFile_X1.c
/home/jayachar/workspace/MyProject/src/modules/ModuleX/CodeFile_X1.h
...
/home/jayachar/workspace/MyProject/src/modules/ModuleY/
/home/jayachar/workspace/MyProject/src/modules/ModuleZ/
...
Then I try to create a new workspace called "workspace-codelite" and import the project "MyProject" into it, it went ahead and created it as"
Code: Select all
/home/jayachar/workspace-codelite/workspace/MyProject/
Code: Select all
/home/jayachar/workspace-codelite/MyProject/
cheers,
Jay