Files
rdkit/Code/GraphMol/Subgraphs/CMakeLists.txt
Greg Landrum 21225e63b3 Move some more tests over to catch2 (#9058)
* move testSubstructMatch to catch2

* modernization

* modernization

* switch to catch2

* modernize

* convert to catch2

* update

* move to catch

* please be quiet

* move to catch2

* changes in response to review

---------

Co-authored-by: = <=>
2026-01-24 07:03:04 +01:00

14 lines
618 B
CMake

rdkit_library(Subgraphs Subgraphs.cpp SubgraphUtils.cpp
LINK_LIBRARIES GraphMol RDGeneral)
target_compile_definitions(Subgraphs PRIVATE RDKIT_SUBGRAPHS_BUILD)
rdkit_headers(Subgraphs.h
SubgraphUtils.h DEST GraphMol/Subgraphs)
target_include_directories(Subgraphs PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/External/boost-numeric-bindings>)
rdkit_catch_test(testSubgraphs1 testSubgraphs1.cpp LINK_LIBRARIES Subgraphs SmilesParse)
rdkit_catch_test(testSubgraphs2 testSubgraphs2.cpp LINK_LIBRARIES SmilesParse Subgraphs)
rdkit_catch_test(subgraphsCatch catch_tests.cpp LINK_LIBRARIES SmilesParse Subgraphs)