1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

rename miracle-wfdctl to miracle-dispd

This commit is contained in:
Derek Dai 2017-03-19 13:39:22 +08:00
parent 5532bf14d1
commit b21aa0d039
No known key found for this signature in database
GPG key ID: E109CC97553EF009
16 changed files with 44 additions and 47 deletions

View file

@ -5,6 +5,7 @@ add_subdirectory(wifi)
add_subdirectory(dhcp)
add_subdirectory(ctl)
add_subdirectory(uibc)
add_subdirectory(disp)
set(miracled_SRCS miracled.h miracled.c)
add_executable(miracled ${miracled_SRCS})

View file

@ -43,46 +43,8 @@ endif(READLINE_FOUND)
target_link_libraries(miracle-sinkctl miracle-shared)
include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/shared)
########### next target ###############
set(miracle-wfdctl_SRCS ctl-cli.c
ctl-wifi.c
wfd-sink.c
wfd-dbus.c
wfd-session.c
wfd-out-session.c
wfdctl.c
wfd.c
wfd-arg.c)
include_directories(${CMAKE_BINARY_DIR}
${GSTREAMER_INCLUDE_DIRS}
${GSTREAMER_BASE_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/shared)
add_executable(miracle-wfdctl ${miracle-wfdctl_SRCS})
install(TARGETS miracle-wfdctl DESTINATION bin)
if(READLINE_FOUND)
message(STATUS "Compiling with Readline support")
set_property(TARGET miracle-wfdctl
APPEND
PROPERTY COMPILE_DEFINITIONS HAVE_READLINE)
target_link_libraries(miracle-wfdctl ${READLINE_LIBRARY})
endif(READLINE_FOUND)
target_link_libraries(miracle-wfdctl
miracle-shared
${GSTREAMER_LIBRARIES}
${GSTREAMER_BASE_LIBRARIES})
########### install files ###############
${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/shared)
#original Makefile.am contents follow:

35
src/disp/CMakeLists.txt Normal file
View file

@ -0,0 +1,35 @@
set(miracle-dispd_SRCS ../ctl/ctl-cli.c
../ctl/ctl-wifi.c
wfd-sink.c
wfd-dbus.c
wfd-session.c
wfd-out-session.c
dispd.c
../ctl/wfd.c
wfd-arg.c)
include_directories(${CMAKE_SOURCE_DIR}/src/ctl
${CMAKE_BINARY_DIR}
${GSTREAMER_INCLUDE_DIRS}
${GSTREAMER_BASE_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/shared)
add_executable(miracle-dispd ${miracle-dispd_SRCS})
install(TARGETS miracle-dispd DESTINATION bin)
if(READLINE_FOUND)
message(STATUS "Compiling with Readline support")
set_property(TARGET miracle-dispd
APPEND
PROPERTY COMPILE_DEFINITIONS HAVE_READLINE)
target_link_libraries(miracle-dispd ${READLINE_LIBRARY})
endif(READLINE_FOUND)
target_link_libraries(miracle-dispd
miracle-shared
${GSTREAMER_LIBRARIES}
${GSTREAMER_BASE_LIBRARIES}
${READLINE_LIBRARY})