User forums > Using Code::Blocks
Adding more than one "include" oder "lib" at the time.
sunshine2012:
I would like to add more than one include oder lib, e.g. for installing gtkmm, is there a possibility for this?
MortenMacFly:
Sure, you can add as many as you like / need in the project's build options.
Project -> Build options -> [Project level / target level] -> tab "Search directory" -> tab "Compiler".
sunshine2012:
Ok, but as I understand, there could be added only one line simultaneously.
Additionally this only works for current project, doesn't it?
Is there a possibility to add more than one line simultaneously?
I would like to use GTKmm within Codeblocks, so that everytime a new project is created,
the libraries are automatically included.
I think I have to tell Codeblocks under Settings/Comiler and Debugger/Search directories
and then under compiler the includefiles and under linker the libs.
Is that correct?
MortenMacFly:
--- Quote from: sunshine2012 on July 16, 2012, 03:54:15 pm ---Ok, but as I understand, there could be added only one line simultaneously.
Additionally this only works for current project, doesn't it?
--- End quote ---
You can make a template out of your fully configured project (once it is) and then use the template for new (GTK based / similar) projects. That's what templates are fore.
--- Quote from: sunshine2012 on July 16, 2012, 03:54:15 pm ---I think I have to tell Codeblocks under Settings/Comiler and Debugger/Search directories
and then under compiler the includefiles and under linker the libs.
Is that correct?
--- End quote ---
If you only develop for GTK, this maybe a (kind of lazy) solution.
sunshine2012:
--- Quote from: MortenMacFly ---
If you only develop for GTK, this maybe a (kind of lazy) solution.
--- End quote ---
Yes, I am a beginner and would like to gain some experience with gui-programming, for this case gtkmm seems the best choice, as it is
quite "natural" and logical.
Qt should be the best gui, but I think it is not for beginners.
Navigation
[0] Message Index
[#] Next page
Go to full version