User forums > General (but related to Code::Blocks)
Directory structure.
jmccay:
Path Variables as in? Sorry, for these simple qustions. While I know C/C++ (and other languages) and have plenty of experience structure like this I didn't learn. VC++, or the companies I worked for, hid that stuff pretty well.
jmccay
thomas:
Put the directories where your stuff is located in there:
If you use HEAD, you can use global user variables for those locations too, this is a lot more comfortable.
jmccay:
HEAD, I am assuming you are refering to the unix command, prints the first amount of lines specified at the command line. I know I can put the directories in there, but I must admit, I am missing the connection with the unix head command. I was thinking about it, and can you put a custom variable under the custom variables tab and reference it in the directories list? Like:
LIB_DIR=c:\libraries
and then in the directories tab:
$LIB_DIR$\wxWidgets_2.6.2
Can this be done? Where does HEAD fit in? Unless you're talking about a cvs command. I don't know a lot about cvs.
As for global user variables, are you talking about OS variables? I guess I don't understand the use of HEAD you are refering too.
jmccay
mandrav:
HEAD is the most recent CVS version :)
--- Quote ---I was thinking about it, and can you put a custom variable under the custom variables tab and reference it in the directories list? Like:
LIB_DIR=c:\libraries
and then in the directories tab:
$LIB_DIR$\wxWidgets_2.6.2
Can this be done?
--- End quote ---
Yes, this is exactly the purpose of those variables :)
--- Quote --- As for global user variables, are you talking about OS variables?
--- End quote ---
No, he was talking about the new feature called "global compiler variables" which can be found in HEAD (cvs!). It's *like* custom variables but they differ in two important ways:
1) they 're global (i.e. *not* project-specific)
2) if the project you 're opening contains unknown global variables, the user is prompted to define them.
For more info look into the wiki entry about global user variables.
jmccay:
Cool. I'll have to check it out. Time to take a look at that build I downloaded with last major chance.
jmccay
Navigation
[0] Message Index
[*] Previous page
Go to full version