Refactor Library 2 include a Platform/ Experiments

This commit is contained in:
2023-07-20 10:40:08 +02:00
parent 2f5bd0ea7e
commit 5f70449091
42 changed files with 269 additions and 42 deletions

View File

@@ -1,3 +1,4 @@
include_directories(${BayesNet_SOURCE_DIR}/src)
add_executable(main main.cc ArffFiles.cc CPPFImdlp.cpp Metrics.cpp)
target_link_libraries(main BayesNet "${TORCH_LIBRARIES}")
include_directories(${BayesNet_SOURCE_DIR}/src/Platform)
include_directories(${BayesNet_SOURCE_DIR}/src/BayesNet)
add_executable(sample sample.cc ${BayesNet_SOURCE_DIR}/src/Platform/ArffFiles.cc ${BayesNet_SOURCE_DIR}/src/Platform/CPPFImdlp.cpp ${BayesNet_SOURCE_DIR}/src/Platform/Metrics.cpp ${BayesNet_SOURCE_DIR}/src/Platform/typesFImdlp.h ${BayesNet_HEADERS})
target_link_libraries(sample BayesNet "${TORCH_LIBRARIES}")