cmake_minimum_required(VERSION 3.0)

project(plugins)

set(LINK_LIBRARIES cstring math gfx gfx-app)

# Viewer

add_library(viewer SHARED
  viewer.c)

target_link_libraries(viewer PUBLIC
  ${LINK_LIBRARIES})

# Texture viewer

add_library(texture_view SHARED
  texture_view.c)

target_link_libraries(texture_view PUBLIC
  ${LINK_LIBRARIES})

# Pong

add_library(pong SHARED
  pong.c)

target_link_libraries(pong PUBLIC
  ${LINK_LIBRARIES})