'--enable-pic equivalent in Visual Studio

What setting in Visual Studio C++ project, would be equivalent to *nix --enable-pic switch, i.e. ./configure --enable-pic



Solution 1:[1]

https://en.wikipedia.org/wiki/Dynamic-link_library

"Windows does not use position-independent code for its DLLs; instead the code undergoes relocation as it is loaded, fixing addresses for all its entry points at locations which are free in the memory space of the first process to load the DLL."

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 AdamW