hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required(VERSION 3.8)
project(ispipc)
 
include(FindPkgConfig)
pkg_check_modules (JSON-C REQUIRED IMPORTED_TARGET json-c)
 
if(CONFIG_DBUS)
pkg_check_modules (GLIB REQUIRED IMPORTED_TARGET glib-2.0)
pkg_check_modules (DBUS REQUIRED IMPORTED_TARGET dbus-1)
endif()
 
add_compile_options(-fPIC)
add_compile_options(-Wno-unused-variable
                                        -Wno-unused-but-set-variable
                                        -Wno-reorder
                                        -Wno-unused-function
                   -fpermissive)
 
add_subdirectory(server)
 
if(CONFIG_DBUS)
#add_subdirectory(client)
#add_subdirectory(demo)
endif()