Add Makefile & tests

This commit is contained in:
2023-07-17 22:51:15 +02:00
parent f530e69dae
commit ca72a34131
10 changed files with 303 additions and 365 deletions

View File

@@ -1,6 +1,4 @@
include_directories(${BayesNet_SOURCE_DIR}/src)
link_directories(${MyProject_SOURCE_DIR}/src)
add_executable(main main.cc ArffFiles.cc CPPFImdlp.cpp Metrics.cpp)
add_executable(test test.cc)
target_link_libraries(main BayesNet "${TORCH_LIBRARIES}")
target_link_libraries(test "${TORCH_LIBRARIES}")
target_link_libraries(main BayesNet "${TORCH_LIBRARIES}")