Author Topic: Recursive loading of source files ?  (Read 6573 times)

Anonymous

  • Guest
Recursive loading of source files ?
« on: July 06, 2005, 06:13:44 pm »
Is it possible to load source files in a project by selecting a folder and the .cpp and .h are recusively loaded ?

Loading each file in a large project is ... time consuming :(

Bye

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Recursive loading of source files ?
« Reply #1 on: July 06, 2005, 06:21:23 pm »
You mean adding them to a new project? Yes, that's just been implemented this week in CVS. (You'd have to compile by yourself, tho)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Recursive loading of source files ?
« Reply #2 on: July 06, 2005, 06:21:42 pm »
Don't think that works.

However, if you have a folder f and the files a.c, b.c, and c.h in that folder, you can navigate into folder f, and select a.c, b.c, and c.h together in the same file select dialog (shift key or rubberband).

code::blocks will then add all of them to the project in one go and will sort them into "sources", "headers", and "others".
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Recursive loading of source files ?
« Reply #3 on: July 06, 2005, 08:11:36 pm »
Isn't there an "Add Files Recursively..." option in the menu? I'm seeing it now. Just below "Add Files". (remember to compile, and then run the "update" script in the "src" subdirectory)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Recursive loading of source files ?
« Reply #4 on: July 06, 2005, 09:38:32 pm »
Not in my version...
Anyway, if the cvs version has it, we'll live :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."