mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
cmake configuration
This commit is contained in:
parent
f884dd858c
commit
2e933497ff
8 changed files with 390 additions and 0 deletions
55
src/shared/CMakeLists.txt
Normal file
55
src/shared/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
|
||||
########### next target ###############
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules (SYSTEMD REQUIRED systemd>=213)
|
||||
set(miracle-shared_SRCS rtsp.h
|
||||
rtsp.c
|
||||
shl_dlist.h
|
||||
shl_htable.h
|
||||
shl_htable.c
|
||||
shl_log.h
|
||||
shl_log.c
|
||||
shl_macro.h
|
||||
shl_ring.h
|
||||
shl_ring.c
|
||||
shl_util.h
|
||||
shl_util.c
|
||||
util.h
|
||||
wpas.h
|
||||
wpas.c)
|
||||
include_directories(/usr/include)
|
||||
link_directories(/usr/lib)
|
||||
add_library(miracle-shared STATIC ${miracle-shared_SRCS})
|
||||
target_link_libraries (miracle-shared systemd)
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#include $(top_srcdir)/common.am
|
||||
#noinst_LTLIBRARIES = libmiracle-shared.la
|
||||
#
|
||||
#libmiracle_shared_la_SOURCES = \
|
||||
# rtsp.h \
|
||||
# rtsp.c \
|
||||
# shl_dlist.h \
|
||||
# shl_htable.h \
|
||||
# shl_htable.c \
|
||||
# shl_log.h \
|
||||
# shl_log.c \
|
||||
# shl_macro.h \
|
||||
# shl_ring.h \
|
||||
# shl_ring.c \
|
||||
# shl_util.h \
|
||||
# shl_util.c \
|
||||
# util.h \
|
||||
# wpas.h \
|
||||
# wpas.c
|
||||
#libmiracle_shared_la_LIBADD = -lsystemd
|
||||
#
|
||||
#
|
||||
#
|
||||
Loading…
Add table
Add a link
Reference in a new issue