Skip to content
Snippets Groups Projects
Commit e11327a1 authored by armatusmiles's avatar armatusmiles
Browse files

[*] Refactor CMakeLists.txt

parents 40f3084c 42a9e962
No related branches found
No related tags found
1 merge request!24Support 3689
cmake_minimum_required(VERSION 3.0)
project(dap_enc_server)
project(dap_enc_server C)
set(DAP_ENC_SERVER_SRCS dap_enc_http.c dap_enc_ks.c)
......
......@@ -4,15 +4,4 @@ project (dap_http)
set(HTTP_SRCS dap_http_client.c dap_http_client_simple.c dap_http_header.c)
add_library(${PROJECT_NAME} STATIC ${HTTP_SRCS})
target_link_libraries(${PROJECT_NAME} curl)
include_directories("${dap_core_INCLUDE_DIRS}")
#include_directories("${dap_client_INCLUDE_DIRS}")
include_directories("${dap_http_server_INCLUDE_DIRS}")
add_definitions ("${dap_core_DEFINITIONS}")
add_definitions ("${dap_client_DEFINITIONS}")
add_definitions ("${dap_http_server_DEFINITIONS}")
set(${PROJECT_NAME}_DEFINITIONS CACHE INTERNAL "${PROJECT_NAME}: Definitions" FORCE)
set(${PROJECT_NAME}_INCLUDE_DIRS ${PROJECT_SOURCE_DIR} CACHE INTERNAL "${PROJECT_NAME}: Include Directories" FORCE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment