C++ is C++ it can do anything that C++ can. Only problem is Unreal use there own build scripting system UBT, which you need to set up right to add liberies. Heres tutorial how to do it
Also making xcode compiler to somehow use libraries by default should do the thing too