* cmake modernization
- get rid of some warnings
- switch to what I hope is the correct way of doing things
- bump min cmake version to 3.16
- bump min boost version to 1.70
This builds on linux
* remove some usages of PYTHON_EXECUTABLE
* remove old-school python usage from coverage tests
* remove unused CI file
* bump boost version for windows builds to 1.84
* still trying to get the ci builds working
* typo
* eventually the CI will work
* robustify some tests
Updated compiler id comparisons to do a regex comparison against "Clang"
instead of doing a direct string comparison. This allows us to match
compiler ids like "AppleClang"
To use code coverage:
cmake -DCMAKE_BUILD_TYPE=Debug \
-DRDK_USE_FLEXBISON=ON \
-DRDK_TEST_COVERAGE=ON \
<path to rdkit source tree>
make install
make RDKit_coverage
Note, when making RDKit_coverage, your python paths, (DY)LD_LIBRARY paths must be
set up correctly. If any of the tests fail, the coverage generator will most
likely fail and certainly will not be complete.
Here is an example from my OSX Box (note, I set the install directory to rdkit_build via)
cmake -DCMAKE_INSTALL_PREFIX=`pwd`/rdkit_build \
...
RDBASE=<path to rdkit source> DYLD_LIBRARY_PATH=`pwd`/rdkit_build/lib \
PYTHONPATH=`pwd`/rdkit_build/lib/python2.7/site-packages \
make RDKit_coverage
open coverage/index.html in a browser