G-Node / nix

Neuroscience information exchange format
https://readthedocs.org/projects/nixio/
Other
68 stars 36 forks source link

[cmake] coverage information only on demand #763

Closed gicmo closed 5 years ago

gicmo commented 5 years ago

There is some overhead attached when always building with coverage support; additionally the build directory also ends up in the .so:

readelf -x .rodata .example.file.cpp.o [...] 0x00000200 2f686f6d 652f6769 636d6f2f 436f6465 /home/gicmo/Code 0x00000210 2f736369 656e6365 2f6e6978 2f627569 /science/nix/bui 0x00000220 6c642f43 4d616b65 46696c65 732f6e69 ld/CMakeFiles/ni 0x00000230 78696f2e 6469722f 7372632f 56617269 xio.dir/src/Vari 0x00000240 616e742e 6370702e 67636461 00 ant.cpp.gcda.