How to use generatecs with multi-level ice folder structure...

in Help Center
Hi,
I am attempting to use ice (for C#), and I have not been able to understand how to use generatecs.exe with an ice folder structure that is layered. In other words, I have an ice file "base.ice", then I have folders child1, child2, etc... Inside the childn folders, I have childn.ice files, that reference base.ice. They use the folder structure to find it in C++, but it is not obvious to me how to use generatecs.exe to accomplish the same.
Any help will be appreciated.
Thank you.
I am attempting to use ice (for C#), and I have not been able to understand how to use generatecs.exe with an ice folder structure that is layered. In other words, I have an ice file "base.ice", then I have folders child1, child2, etc... Inside the childn folders, I have childn.ice files, that reference base.ice. They use the folder structure to find it in C++, but it is not obvious to me how to use generatecs.exe to accomplish the same.
Any help will be appreciated.
Thank you.
0
Comments
If you want to compile Ice applications that use complex directory structures and also have a dependency on .ice files so they get rebuilt automatically, I suggest you use make rules directly that state that generated .cs file depends on the corresponding .ice file.
Or you could look at the source for generatecs and modify it to suit your needs.
Cheers,
Michi.
I studying it for my new project.
You are probably right. MSBuild is fairly new and unproven. I was just responding to a particular quote of Michi's. In the future, at least for building .NET applications, MSBuild seems to be the way to go.
Take a look at this: Exec Task