Feature request: Support C/C++ code generation without compilation
It may be hard to make ECL bindings compilation cooperate properly with C++ build system already in place. For example, when it is not easy to synchronize CFLAGS (like defines and include directories) and LDFLAGS between the build system and ECL. In such cases, it would be best if ECL only generated C/C++ sources, and all compilation and linking with libecl would be left to user. This boils down to:
- (compile-file) leaves the C sources intact if output is specified, which is fine, but would be best if it did not try to compile them.
- (c:build-static-library) has the advantage in this scenario that it allows to explicitly name the initialization function. Similar function that only generates the sources to specified location would be best.
I'm aware that it may not be fully possible because build-static-library takes object files as input, but won't hurt to ask, I guess.