feat add mongoose
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 55s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 57s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m4s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m3s
linux-x64-gcc / linux-gcc (push) Successful in 1m7s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m16s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m19s
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 55s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 57s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m4s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m3s
linux-x64-gcc / linux-gcc (push) Successful in 1m7s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m16s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m19s
This commit is contained in:
parent
ce98a59397
commit
59e5b6644a
15303
3party/mongoose/mongoose.c
Normal file
15303
3party/mongoose/mongoose.c
Normal file
File diff suppressed because it is too large
Load Diff
2929
3party/mongoose/mongoose.h
Normal file
2929
3party/mongoose/mongoose.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(ulib LANGUAGES CXX VERSION 0.1.0)
|
project(ulib LANGUAGES CXX C VERSION 0.1.0)
|
||||||
set(CMAKE_CXX_STANDARD 98)
|
set(CMAKE_CXX_STANDARD 98)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
@ -25,6 +25,7 @@ else()
|
|||||||
src/ulib/system/timer.h)
|
src/ulib/system/timer.h)
|
||||||
endif()
|
endif()
|
||||||
target_sources(${PROJECT_NAME} PRIVATE
|
target_sources(${PROJECT_NAME} PRIVATE
|
||||||
|
3party/mongoose/mongoose.c
|
||||||
src/ulib/base/location.h
|
src/ulib/base/location.h
|
||||||
src/ulib/base/location.cpp
|
src/ulib/base/location.cpp
|
||||||
src/ulib/concorrency/barrier.cpp
|
src/ulib/concorrency/barrier.cpp
|
||||||
@ -80,7 +81,9 @@ target_sources(${PROJECT_NAME} PRIVATE
|
|||||||
)
|
)
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static)
|
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static)
|
||||||
target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL)
|
target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL)
|
||||||
target_include_directories(${PROJECT_NAME} PUBLIC src)
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
src
|
||||||
|
3party/mongoose)
|
||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME} DESTINATION lib)
|
install(TARGETS ${PROJECT_NAME} DESTINATION lib)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user