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

[*] refactor CMakeLists.txt

parent 40f3084c
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.0) 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) set(DAP_ENC_SERVER_SRCS dap_enc_http.c dap_enc_ks.c)
......
...@@ -4,15 +4,4 @@ project (dap_http) ...@@ -4,15 +4,4 @@ project (dap_http)
set(HTTP_SRCS dap_http_client.c dap_http_client_simple.c dap_http_header.c) set(HTTP_SRCS dap_http_client.c dap_http_client_simple.c dap_http_header.c)
add_library(${PROJECT_NAME} STATIC ${HTTP_SRCS}) 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