mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* First entry of the SubstructLibrary module * Switch to shared_ptrs for memory safety * run clang-format and add a test * only build when threadsafe_sss is enabled, only test when test_multithreaded is enabled * Adds PRECONDITION * Adds exceptions for out of range errors * Changes getQueryBits to makeQueryBits for clarity * Adds API point to add Binary and Smiles directly * Replaces 0 with NULL for clarity. * Removes debugging code. * Makes endIdx non-inclusive * Adds substruct searching options * Adds preconditions * Small documentation cleanup and removes a line of code. * Add DataStructs library dependency * Actually uses passed in parameters * Adds TrustedSmiles/Binary inputs * Adds more api testing options/trusted smiles and binary inputs * Finalizes API adds docs and doctests * Minor copyright fixes and such
17 lines
622 B
CMake
17 lines
622 B
CMake
if(RDK_BUILD_THREADSAFE_SSS)
|
|
rdkit_library(SubstructLibrary
|
|
SubstructLibrary.cpp
|
|
LINK_LIBRARIES Fingerprints SubstructMatch SmilesParse
|
|
GraphMol RDGeometryLib Catalogs RDGeneral DataStructs )
|
|
|
|
rdkit_headers(SubstructLibrary.h
|
|
DEST GraphMol/SubstructLibrary)
|
|
|
|
add_subdirectory(Wrap)
|
|
|
|
rdkit_test(substructLibraryTest substructLibraryTest.cpp
|
|
LINK_LIBRARIES SubstructLibrary Fingerprints
|
|
SubstructMatch FileParsers SmilesParse GraphMol RDGeometryLib RDGeneral DataStructs
|
|
${Boost_SERIALIZATION_LIBRARY})
|
|
endif(RDK_BUILD_THREADSAFE_SSS)
|