Place object files into a dir hierarchy
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
In the current state it is only possible to place all object
file into one directory. But it is not a good idea when I
have source files with the same name (but placed in
other "source" directories. So I would like to see some
support for placing object files into a directory hierarchy.
The object file directory hierarchy could be taken from a
Folder path in Project Manager (better) or it could be
specified in properties for each source file.
Logged In: YES
user_id=735003
The big question with this is how to decide when to do it...
Maybe:
1) Determine the relative location of the source to the
project file.
2) Start with the designated obj directory. (If there isn't
one, forget the whole thing.)
3) For each component in the relative path found in (1)
where a corresponding directory exists in the current
location, move the current location into that directory. If
the corresponding directory does not exist, ignore that path
component.
With this scheme the developer can seperate the obj files to
any degree desired by precreating the required directory tree.