add_library(fiko_sahne STATIC src/sahne.cpp src/isin_bvh.cpp src/fark_hesap.cpp src/fark_hesap_gpu.cpp src/geometri_nesne.cpp src/grup_nesne.cpp src/parametre_nesne.cpp src/referans_nesne.cpp src/sketch_nesne.cpp src/pafta_nesne.cpp src/pmi_sistemi.cpp src/pmi_nesne.cpp src/sahne_islem.cpp src/secim_sistemi.cpp src/alan_secim.cpp src/olcum_sistemi.cpp src/sahne_ref_secim.cpp ) add_library(fiko::sahne ALIAS fiko_sahne) target_include_directories(fiko_sahne PUBLIC include) target_link_libraries(fiko_sahne PUBLIC fiko::core fiko::cekirdek fiko::render fiko::geometri fiko::sketch fiko::parametre fiko::pafta fiko::pmi) add_executable(fiko_sahne_test test/test_main.cpp test/test_kutuk.cpp test/test_alan_secim.cpp test/test_gecersiz_mesh.cpp test/test_isin_bvh_paralel.cpp test/test_fark_hesap.cpp test/test_gpu_tampon.cpp test/test_agac_zengin.cpp test/test_oge_ozellik.cpp test/test_grup_islem.cpp test/test_pafta_dugum.cpp test/test_pmi_sistemi.cpp test/test_sketch_izdusum.cpp ) target_link_libraries(fiko_sahne_test PRIVATE fiko_sahne) target_include_directories(fiko_sahne_test PRIVATE ${CMAKE_SOURCE_DIR}/motor/core/test) add_test(NAME sahne COMMAND fiko_sahne_test) set_tests_properties(sahne PROPERTIES ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:${FIKO_VCPKG}/bin")