Commit graph

8 commits

Author SHA1 Message Date
Florian Albrechtskirchinger
735e5930eb
Detect additional CMake build failures ()
Add include_httplib.cc to the main test executable (already done in
Makefile), and add include_windows_h.cc to the main test executable on
Windows to test if including windows.h conflicts with httplib.h.
2025-02-16 15:45:28 -05:00
yhirose
7c4799d0cf
Fix for CMake () 2024-09-19 18:33:32 -04:00
bgs99
eb6f610a45
Fix find_package for curl () 2024-09-06 07:22:03 -04:00
Sung, Po Han
7196ac8a07 Fix incorrect handling of Expect: 100-continue
Fix 
2024-09-04 17:50:42 +08:00
Jiwoo Park
b8bafbc291
Generate missing PEMs for CTest ()
* Generate missing PEMs

* Fix typo

* Copy files using simpler command
2024-04-05 13:50:21 -04:00
Jiwoo Park
97ae6733ed
Run fuzz test in CTest () 2023-11-09 19:35:15 -05:00
Petr Menšík
7b69999c37
Reuse gtest on system ()
* Reuse gtest on the system

Try to use gtest on the system if found. Avoid using recent CMake
features.

* Set CMP0135 only when using FetchContent

* Add /bigobj option for MSVC

* Support also cmake between 3.14 and 3.20

Older versions provided only GTest::Main target, not currently used
gtest_main. Provide backward compatibility also to old cmake versions.

* Remove redundant variable checking

---------

Co-authored-by: Jiwoo Park <jiwoo_90@naver.com>
2023-03-05 21:35:35 -05:00
Jiwoo Park
20cba2ecd9
Support CTest ()
* Add test/CMakeLists.txt to enable testing with CTest

Add HTTPLIB_TEST option
Downlaod GoogleTest source using FetchContent module
Generate cert files to test httplib with OpenSSL

* Generate cert2.pem with a new certificate request

* Use the latest GoogleTest library
2023-01-21 03:43:22 -05:00