BayesNet/sample/CMakeLists.txt

6 lines
297 B
CMake

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}")