I'm just found cmake and I want to use it to create make files for a little project that uses the esql compiler.
A:
I've not used cmake
yet (it is on my list of things that I need to look at - round about the time some spare tuits become available), but...
I do have several sets of rules for compiling ESQL/C to object code etc for regular make
.
You can find one set of those rules online at the IIUG Software Archive in the SQLCMD package. Or you can contact me directly to discuss the niceties in detail (and/or the differences between cmake
stuff and regular make
stuff). You can also find Informix-related autoconf
macros in the SQLCMD package - file acinformix.m4
.
Jonathan Leffler
2009-07-16 21:02:08
thanks I will look at them
Aragorn
2009-07-16 22:16:09
A:
You will probably need to use the cmake ADD_CUSTOM_COMMAND command to create the rule for compiling each source file with the esql compiler.
Christopher Bruns
2010-02-09 23:15:35