My directory structure is fairly simple right now, just include/ and src/.
v- workspace
v- project
v- sources
v- src
v- headers
v- include
The sources/src and headers/include is a little nigglesome to me. Is there some way I can make it so that my source/header files are only 3 nodes deep instead of 4? And will that still work when I add sub-directories to my src directory (there's 600 .cpp files in there which I'd like to seperate by sub-target eventually)
Forgive me if this is a dumb question; very new to codeblocks and I may just be missing it in the mass of stuff I'm absorbing doing this migration :)
You are not missing something as a "feature" Code::Blocks automatically sorts you files into a "Header" and "Sources" category based on a set of wildcard filters. As far as I know there is no way to change this. You will probably have to wait until 1.5 for a true virtual project folder system, there are currently plenty of other things to firm up first.
Right click on the project and select "Project tree", then disable "Categorize by file types" and you are done.
With regards, Morten.
Ahh, fantastic! I'm suffering a spot of euphoria; our project's linux components were developed using Metrowerks CodeWarrior. After I joined and CW started not liking our OS upgrades, I ported the same file structure to vi/make. After a couple of years of looking for an IDE, I was stuck using vi on a rather large project through a sea of headaches. Last week I upgraded my w/s to FC6 and happened on Codeblocks. It was like thanks giving, christmas and new year all rolled into one :) The one downside is that bringing a fairly complex project with me means I have a lot to learn and to learn it all fairly rapidly.
For now I'm just going to rely on my autoconf/configure/Makefile system to control the build process (150k lines of code => 662 files => 6 server processes, 5 client processes, 2 static libs and 2 (different) shared libs; not a huge project, just a complex one). But that's there CB really shines thru, other IDEs wouldn't be giving me as much functionality at this stage as CB is.
kudos.
Very cool, didn't know about that. Must track down what revision that showed up under.
Quote from: Game_Ender on November 22, 2006, 07:05:32 AM
Very cool, didn't know about that. Must track down what revision that showed up under.
It's there since, like, forever ;).