HeavenWu / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Move from T4 engine usage to custom templating #734

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We need to remove T4 engine dependency, so the text templating should be 
rewritten with a simple text templatizer.

Because the current templates are containing more logic codes and template 
code, they are good candidates to be directly integrated in a C# class.

One C# class for each templating types (Enumerations, Structures, Interfaces, 
Functions), and should inherit from a parent Templatizer that will mostly add 
access to global variable (like Generator, current Namespace) and template 
methods (like T(" {0} = {1};", fieldName, fieldValue);)

Original issue reported on code.google.com by alx.xo...@gmail.com on 16 Nov 2010 at 3:16

GoogleCodeExporter commented 8 years ago
note: We need to remove dependency because SlimDX team doesn't want any 
dependency with Visual Studio 2010 SDK (T4 is part of it)

Original comment by alx.xo...@gmail.com on 16 Nov 2010 at 3:58

GoogleCodeExporter commented 8 years ago

Original comment by alx.xo...@gmail.com on 16 Nov 2010 at 3:59

GoogleCodeExporter commented 8 years ago

Original comment by alx.xo...@gmail.com on 16 Nov 2010 at 4:00

GoogleCodeExporter commented 8 years ago
Issue 730 has been merged into this issue.

Original comment by alx.xo...@gmail.com on 16 Nov 2010 at 4:12

GoogleCodeExporter commented 8 years ago

Original comment by alx.xo...@gmail.com on 17 Nov 2010 at 12:35

GoogleCodeExporter commented 8 years ago

Original comment by josh.petrie on 4 Dec 2010 at 9:51