Skip to content

Commit

Permalink
cleanup source tree and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkie committed Dec 4, 2019
1 parent 8a98f55 commit 9438c45
Show file tree
Hide file tree
Showing 106 changed files with 783 additions and 635 deletions.
14 changes: 0 additions & 14 deletions framework/services/bluetooth/yodamk/Config.in

This file was deleted.

76 changes: 0 additions & 76 deletions framework/services/bluetooth/yodamk/Makefile

This file was deleted.

20 changes: 0 additions & 20 deletions framework/services/bluetooth/yodamk/bt_service

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions framework/services/networking/wifi_monitor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cmake_minimum_required(VERSION 2.8)
project(rokid_wifi_monitor)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I.. -Iinclude -std=c++11 -lpthread" )

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I.. -Iinclude -lpthread")


set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")


add_subdirectory(src)

install(FILES ${HEADER_FILES}
DESTINATION
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
17 changes: 17 additions & 0 deletions framework/services/networking/wifi_monitor/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cmake_minimum_required(VERSION 2.8)
project(wifi_monitor)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I.. -Iinclude -std=c++11 -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter -D_XOPEN_SOURCE -D_GNU_SOURCE")

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I.. -Iinclude -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter -D_XOPEN_SOURCE -D_GNU_SOURCE")


set(COMMON_FLAGS "-include rokid/rokid_types.h")
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
aux_source_directory(. DIR_SRCS)

add_executable(wifi_monitor ${DIR_SRCS})

target_link_libraries(wifi_monitor wpa_ctrl)
target_link_libraries(wifi_monitor rkamsex)
target_link_libraries(wifi_monitor json-c)
Loading

0 comments on commit 9438c45

Please sign in to comment.