How to link pthread package to gpp-compiler

hi
i installed and downloaded the pthread package on my windows via this link ( POSIX Threads (pthreads) for Win32 )
and by a manipulation via this video (#include - pthread.h in Visual Studio 2013 - YouTube) on youtube
i can now coding with pthread on visual studio 2019, but atom is my best editor and i would like to link the lib, and include folder in the gpp-compiler , is it possible to do it (like in visual studio)?

if yes can i have some help about how to do it please?

i would really like to code some threads with atom on windows :wink:

thanks