GerHobbelt / pthread-win32

clone of pthread-win32 (a.k.a. pthreads4w) + local tweaks (including MSVC2008 - MSVC2022 project files)
Other
350 stars 166 forks source link

Modernize cmake and add github actions #21

Closed ahoarau closed 2 years ago

ahoarau commented 2 years ago

We now have the Config, targets to you can just:

find_package(pthread4w CONFIG REQUIRED)
target_link_libraries(my_exe PRIVATE pthread4w::pthreadVCE3)

Example with fetchcontent here : https://github.com/ahoarau/pthreads4w-fetchcontent-example/

Open Note: not all tests are not building, but the issue is upstream. Which one are supposed to work ?