restbed icon indicating copy to clipboard operation
restbed copied to clipboard

CMake build options BUILD_STATIC_LIBRARY, BUILD_SHARED_LIBRARY, and B…

Open axelsommerfeldt opened this issue 3 years ago • 1 comments

…UILD_DEVEL_PACKAGE added (default=ON)

These three new CMake build options control what kind of libraries will be build and what contents will be put into the resulting package:

  • BUILD_STATIC_LIBRARY controls if a static restbed library should be build
  • BUILD_SHARED_LIBRARY controls if a shared restbed library should be build
  • BUILD_DEVEL_PACKAGE controls if a development package should be build, i.e. C++ header files included

The default value for all three options is ON to provide backward-compatibility with older restbed versions which do not offer these build options yet.

axelsommerfeldt avatar Sep 24 '21 17:09 axelsommerfeldt

How does the addition of CMake options (which do not cause any change unless set to OFF) could affect a regression test?

96/116 Test  #96: yield_callback_leads_to_service_crash_regression_test_suite ................Exit code 0xc0000409
***Exception:   0.10 sec

It seems that either the "yield_callback_leads_to_service_crash" bug isn't really fixed or something else here is fishy.

BTW: The result of the tests on Debian 11:

96/116 Test  #96: yield_callback_leads_to_service_crash_regression_test_suite ................   Passed    0.01 sec
...
100% tests passed, 0 tests failed out of 116

Total Test time (real) =  23.69 sec

axelsommerfeldt avatar Sep 27 '21 11:09 axelsommerfeldt