cmake_minimum_required(VERSION 3.10)
project(rofi)

set(CMAKE_CXX_STANDARD 17)

find_package(Armadillo REQUIRED)
include_directories(${ARMADILLO_INCLUDE_DIRS})

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

add_executable(rofi-reconfig ${ARMADILLO_LIBRARIES} reconfig/main.cpp Matrix.h Configuration.h Reader.h reconfig/BFS.h visualizer/Visualizer.h Printer.h)

add_executable(rofi-test ${ARMADILLO_LIBRARIES} test/main.cpp test/test.cpp)

add_executable(rofi-vis ${ARMADILLO_LIBRARIES} visualizer/main.cpp)

target_link_libraries(rofi-reconfig ${ARMADILLO_LIBRARIES} ${VTK_LIBRARIES})
target_link_libraries(rofi-test ${ARMADILLO_LIBRARIES})
target_link_libraries(rofi-vis ${ARMADILLO_LIBRARIES} ${VTK_LIBRARIES})