File tree Expand file tree Collapse file tree 3 files changed +496
-3
lines changed
Expand file tree Collapse file tree 3 files changed +496
-3
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.22 )
2- project (webos_userland C )
2+ project (webos_userland LANGUAGES C CXX )
33
44set (CMAKE_C_STANDARD 11)
55
@@ -25,11 +25,17 @@ add_library(NDL_directmedia SHARED src/dummy.c)
2525set_target_properties (NDL_directmedia PROPERTIES VERSION 1.0.0 SOVERSION 1 )
2626target_link_options (NDL_directmedia PRIVATE ${CMAKE_SOURCE_DIR} /src/NDL_directmedia.lds )
2727
28- install (TARGETS EGL GLESv1_CM GLESv2 NDL_directmedia wayland-egl DESTINATION lib)
28+ add_library (playerAPIs SHARED src/dummy.c )
29+ set_target_properties (playerAPIs PROPERTIES VERSION 1.0.0 SOVERSION 1 )
30+ target_link_options (playerAPIs PRIVATE ${CMAKE_SOURCE_DIR} /src/playerAPIs.lds )
31+
32+ install (TARGETS EGL GLESv1_CM GLESv2 NDL_directmedia playerAPIs wayland-egl DESTINATION lib)
2933
3034install (DIRECTORY ${CMAKE_SOURCE_DIR} /include/
3135 DESTINATION include
32- FILES_MATCHING PATTERN "*.h" )
36+ FILES_MATCHING
37+ PATTERN "*.h"
38+ PATTERN "*.hpp" )
3339
3440install (DIRECTORY ${CMAKE_SOURCE_DIR} /share/pkgconfig/
3541 DESTINATION share/pkgconfig
Original file line number Diff line number Diff line change 1+ prefix=/usr
2+ exec_prefix=${prefix}
3+ libdir=${prefix}/lib
4+ includedir=${prefix}/include
5+
6+ Name: libplayerAPIs
7+ Description: starfish media library
8+ Version: 1.0.0
9+
10+ Requires:
11+ Libs: -L${libdir} -lplayerAPIs
12+ Cflags: -I${includedir}
You can’t perform that action at this time.
0 commit comments