From c76697d51158ed5e52bd697c71fbdfed1ec25a3f Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 8 Feb 2024 19:53:09 -0800 Subject: Add Pong demo. --- game/src/plugins/CMakeLists.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'game/src/plugins/CMakeLists.txt') diff --git a/game/src/plugins/CMakeLists.txt b/game/src/plugins/CMakeLists.txt index ecb2a45..e5abbb8 100644 --- a/game/src/plugins/CMakeLists.txt +++ b/game/src/plugins/CMakeLists.txt @@ -2,16 +2,28 @@ cmake_minimum_required(VERSION 3.0) project(plugins) -set(LINK_LIBRARIES cstring math gfx) +set(LINK_LIBRARIES cstring math gfx gfx-app) + +# GLTF viewer add_library(gltf_view SHARED gltf_view.c) +target_link_libraries(gltf_view PUBLIC + ${LINK_LIBRARIES}) + +# Texture viewer + add_library(texture_view SHARED texture_view.c) -target_link_libraries(gltf_view PUBLIC +target_link_libraries(texture_view PUBLIC ${LINK_LIBRARIES}) -target_link_libraries(texture_view PUBLIC +# Pong + +add_library(pong SHARED + pong.c) + +target_link_libraries(pong PUBLIC ${LINK_LIBRARIES}) -- cgit v1.2.3