1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
cmake_minimum_required(VERSION 3.0) project(plugins) set(LINK_LIBRARIES cstring math gfx) add_library(gltf_view SHARED gltf_view.c) add_library(texture_view SHARED texture_view.c) target_link_libraries(gltf_view PUBLIC ${LINK_LIBRARIES}) target_link_libraries(texture_view PUBLIC ${LINK_LIBRARIES})