1cmake_minimum_required (VERSION 3.4) 2 3project (hdc) 4 5get_filename_component(ohos_top "${CMAKE_CURRENT_LIST_DIR}/../../.." REALPATH) 6 7set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -ggdb -Wall -pg") 8 9include_directories(include common 10 ${ohos_top}/third_party/bounds_checking_function/include 11 ${ohos_top}/utils/native/base/include) 12 13add_subdirectory(daemon) 14add_subdirectory(host) 15