add_library(fiko_sketch STATIC src/solver.cpp src/eskiz_veri.cpp src/eskiz_entity.cpp src/eskiz_duzenle.cpp src/snap.cpp ) add_library(fiko::sketch ALIAS fiko_sketch) target_include_directories(fiko_sketch PUBLIC include) target_link_libraries(fiko_sketch PUBLIC fiko::core) add_executable(fiko_sketch_test test/test_main.cpp test/test_solver.cpp test/test_snap.cpp test/test_duzenle.cpp test/test_entity.cpp test/test_segment.cpp ) target_link_libraries(fiko_sketch_test PRIVATE fiko_sketch) target_include_directories(fiko_sketch_test PRIVATE ${CMAKE_SOURCE_DIR}/motor/core/test) add_test(NAME sketch COMMAND fiko_sketch_test) add_test(NAME snap COMMAND fiko_sketch_test) add_test(NAME duzenle COMMAND fiko_sketch_test) add_test(NAME entity COMMAND fiko_sketch_test) add_test(NAME segment COMMAND fiko_sketch_test)