Hi, I'm a newbie to 8051 Keil's IDE. I would like to arrange several file groups, which have mutual meaning, under a sub-directory. This sub-directory will then be included directly under the project's target. The sub-directory contains only file groups, that is, no files are directly added under it. Let me explain: Instead of having the following: [target_name] -->> [File_Group_1] -->> [File_Group_2] -->> [File_Group_3] -->> [File_Group_4] I would like to have: [target_name] -->> [Dir_1] -->> -->> [File_Group_1] -->> -->> [File_Group_2] -->> [Dir_2] -->> -->> [File_Group_3] -->> -->> [File_Group_4] I haven't found a way to do that. Any help will be appreciated. Thanks ! Tomer
Hi Reinhard, I'll rephrase my question: Is there a way to create a group, which only contains file groups (and no sources of its own)? In the following example, look at [tasks]: [target] |----->> [tasks] ..|----------->> [task1] ....|----------------->> task1.c ..|----------->> [task2] ....|----------------->> task2.c [target] is the project's taget name. [task1] and [task2] are file groups containing source files. [tasks] is a group contining only the above file groups. My problem is that The uVision doesn't allow to create [task1] and [task2] under [tasks].
You cannot nest file groups, however it is possible to create an empty file group. Reinhard
This sub-directory will then be included directly under the project's target. The sub-directory contains only file groups, that is, no files are directly added under it is this what you mean: joe/file1.c .... joe/harry/file2.c joe/harry/file3.c ... joe/bill/file4.c joe/bill/file5.c .... Erik
The uVision file groups do not correspond one-to-one with directories. You can put any file into any file group, regardless of where it in in your directory tree. There is no way to nest file groups to create a hierarchy to match the directory hierarchy. You only have one level of groups to work with in uVision.
Thanks for your help :-)