容器化的无污染DNS服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
780 B

cmake_minimum_required(VERSION 2.8.12)
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/include/utils)
include_directories(${PROJECT_SOURCE_DIR}/include/applet)
include_directories(${PROJECT_SOURCE_DIR}/include/bcrypt)
include_directories(${PROJECT_SOURCE_DIR}/include/common)
include_directories(${PROJECT_SOURCE_DIR}/include/loader)
link_directories(${PROJECT_SOURCE_DIR}/src/target/release)
configure_file(
${PROJECT_SOURCE_DIR}/include/constant.h.in
${PROJECT_SOURCE_DIR}/include/constant.h
)
add_subdirectory(utils)
add_subdirectory(applet)
add_subdirectory(bcrypt)
add_subdirectory(common)
add_subdirectory(loader)
add_executable(cleardns cleardns.c)
target_link_libraries(cleardns utils applet bcrypt common loader)