[Bro-Dev] Bifcl and CMake
Gregor Maier
gregor at icir.org
Thu Dec 9 16:59:30 PST 2010
Hi,
it seems that Bifcl doesn't clean up its output files when it fails.
This means that if one types
make
# bifcl has error, make aborts but bifcl has been created
make
# make since that bifcl was successful because it finds the
# bifcl output. Error messages happen were bifcl-outputfiles
# are included in C-files.
Can you tell CMake to remove the generated output files (if they exist)
when an add_custom_command failed?
Thanks,
Gregor
PS: I'll change bifcl, so that it cleans up after itself. However, my
current error is a segfault in bifcl (which I'll try to fix as well).
But that makes me think that it would be indeed good if make can clean
up when a command fails.
--
Gregor Maier gregor at icir.org
Int. Computer Science Institute (ICSI) gregor at icsi.berkeley.edu
1947 Center St., Ste. 600 http://www.icir.org/gregor/
Berkeley, CA 94704
USA
More information about the bro-dev
mailing list