25 lines
662 B
CMake
25 lines
662 B
CMake
find_package(fmt)
|
|
find_package(spdlog)
|
|
find_package(Eigen3)
|
|
|
|
# Generic test that uses conan libs
|
|
add_library(integratoren SHARED LiveAgg.cpp Rod2d.cpp Simulation.cpp
|
|
Simulation.h Integratoren2d_forceless.cpp Integratoren2d_force.cpp
|
|
Calculation.cpp Compute.cpp)
|
|
target_include_directories(integratoren PUBLIC .)
|
|
target_link_libraries(
|
|
integratoren
|
|
PRIVATE project_options
|
|
project_warnings
|
|
fmt::fmt
|
|
spdlog::spdlog
|
|
Eigen3::Eigen3)
|
|
|
|
add_executable(main main.cpp)
|
|
target_link_libraries(
|
|
main
|
|
PRIVATE project_options
|
|
project_warnings
|
|
integratoren
|
|
Eigen3::Eigen3
|
|
) |