Author Topic: aliases / source trees / definitions? not sure what they're called  (Read 2102 times)

enoch

  • Guest
If the feature exists I must be missing it.

Here's a description of my problem: I've got a subversion repository containing project files, source files and header files

now, each person will check out the repository to a different location.. so the path to the source files are different for each user

in codwarrior, you could create a symbol like "myLib" which you could then change to a particular path.. and when you added the files to your project, you'd add them like $myLib/mySources/main.cpp

so on each system, the user could distinguish where myLib points and then all the source paths would work correctly

does code::blocks have anything like this?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: aliases / source trees / definitions? not sure what they're called
« Reply #1 on: June 19, 2006, 11:18:19 pm »
Yes, you can define variables in the exact same way. These will be per-project variables.

In addition, you can define global user variables, which are best used to represent recurring paths.

See the WiKi for more information.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."