blob: cc6ec962ea68cba057a20a11d5e252a803b184b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
cmake_minimum_required(VERSION 3.10)
# set the project name
project(picohttpparser
LANGUAGES C)
set(PICOHTTPPARSER_SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/picohttpparser.c)
set(PICOHTTPPARSER_HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/picohttpparser.h)
add_library(picohttpparser STATIC ${PICOHTTPPARSER_SOURCE_FILES})
target_include_directories(picohttpparser PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|