Files
rdkit/Code/GraphMol/SubstructLibrary/CMakeLists.txt
Greg Landrum f797113a16 cmake cleanup (#6814)
* add RDKIT_CFFI_STATIC option
minimallib cmake cleanup

* clean up a lot of boost::iostreams nonsense

* find_package(boost cleanup

* update the swig wrappers

* updates to psql

* get the Qt demo working again

* fix? coordgen

* only use std::regex in moldraw2d test

this is consistent with the other tests

* cleanup the serialization stuff too
2023-11-10 15:32:54 +01:00

25 lines
941 B
CMake

if(NOT RDK_USE_BOOST_SERIALIZATION)
message("== Making SubstructLibrary without boost Serialization support")
endif()
rdkit_library(SubstructLibrary
SubstructLibrary.cpp
PatternFactory.cpp
LINK_LIBRARIES GeneralizedSubstruct TautomerQuery MolStandardize Fingerprints SubstructMatch SmilesParse
GraphMol Catalogs DataStructs RDGeneral)
target_compile_definitions(SubstructLibrary PRIVATE RDKIT_SUBSTRUCTLIBRARY_BUILD)
rdkit_headers(SubstructLibrary.h
SubstructLibrarySerialization.h
PatternFactory.h
DEST GraphMol/SubstructLibrary)
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()
rdkit_test(substructLibraryTest substructLibraryTest.cpp
LINK_LIBRARIES TautomerQuery MolStandardize SubstructLibrary FileParsers )
rdkit_catch_test(substructLibraryCatchTest catch_tests.cpp LINK_LIBRARIES SubstructLibrary FileParsers )