August 21, 2007

Google CTemplate Integration (Check!)

Filed under: Distribute — Ryan Wilcox @ 5:39 pm

Today I tried out Google CTemplate, as I said I would. In addition to what I liked about the template language, it has tools to check your templates and generate C constants for the template elements (aka: the things to replace in the template). Meaning (if you use those constants) you can change the name of things in your template and your C++ code will complain, catching the errors at compile time instead of runtime.

I’ve integrated these tools into the build script so we have this safety from the get go.

I also have very comprehensive instructions for building the project, between gathering up all the tools to build on my functional machine, and fighting through all the build/linker errors I’ve been faced with.

So today my research app builds again. It’s a good day (and about time).

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment