Commit Graph

9 Commits

Author SHA1 Message Date
Erik Moqvist
e55bbc0413
Optional build info compiled into turnserver binary (#1083)
Example usage with make:

make CPPFLAGS="-DTURN_SERVER_BUILD_INFO=\"\\\" git: $(git rev-parse
HEAD) build: 123\\\"\""

Example usage with cmake:

cmake .. -DTURN_SERVER_BUILD_INFO="\" git: $(git rev-parse HEAD) build:
123\""
2022-11-13 10:24:50 -08:00
Kang Lin
ae134d84e8
Use c11 standard See: #1055 (#1056)
Re-enable back C11 as was before
2022-10-29 18:05:08 -07:00
Kang Lin
40c99db6ba
Support Windows MSVC (#855)
The following changes have been made:
1. Replace deprecated functions with new standard functions
2. Add corresponding MSVC functions for non-standard functions 
3. Remove warnings about unsafe functions
4. CMAKE: modify find pack Libevent and openssl 
5. Modify include files
6. Use pthread4W
7. Modify socket in windows
8. Add CI - github action
8.1. msvc
8.2. mingw
10. The database:
9.1. sqlite, pgsql, hiredis, mongo  is test compiled.
9.2. mysql, isnot test compiled.
11. The applications、server can be compiled and run successfully! 
12. Add vcpkg manifest mode in cmake.
2022-10-28 19:32:23 -07:00
Arjun
dda0c99759
fuzzing support (#982)
Adding fuzzing to finding memory-corruption-related bugs.

Hello coturn team,
Can you check this pr harness suite for creating harnesses and compiling
harnesses?
Any other thoughts on adding a new interface for fuzzing support ?


Signed-off-by: 0x34d <ajsinghyadav00@gmail.com>

Signed-off-by: 0x34d <ajsinghyadav00@gmail.com>
2022-10-24 22:01:58 +02:00
Pavel Punsky
7a38f02699
Fix cmake build on macOS (#949)
macOS does not have `pthread_barrier_*` so need to define `TURN_NO_THREAD_BARRIERS` as a workaround

Fixes #946 

Tests plan: 
- run cmake to generate make files
- run make to build turnserver
- run `examples/run_tests.sh` and pass successfully
2022-08-22 16:27:21 -07:00
KangLin
da60faca1d Modify debug flag 2021-04-06 14:27:01 +08:00
KangLin
86f1da7bab CMake: install documents, configure, script files 2021-03-29 01:30:28 -07:00
KangLin
73da474804 CMake: add runtime install 2021-03-28 20:19:15 -07:00
KangLin
677e5dc5d3 Add cmake 2021-02-26 09:02:50 +08:00