A way to specify additional compiler/linker settings
FictionIO opened this issue · 5 comments
Hi,
I'am trying to build libraries with /MT flag. Is there a way to build with this type of specific settings? I tried to do it manually with text search&replace to cloned hexchat/gtk-win32 repo didn't help. If there is im happy to update readme instructions to include such a route.
All projects already set RuntimeLibrary
to MultiThreadedDLL
And if you specifically meant to compile with the multi-threaded static CRT, then you'll have to replace that property in every project.
Correct me if im wrong /MT is Multithreaded (what i want) MultiThreadedDLL is /MD (not what i want). So at the moment its /MD no /MT
@Arnavion There is no /MD or anything to replace with /MT and still if your suggestion works its not documented.
I already told you you need to change the RuntimeLibrary property in each project file.
And of course it's documented. https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.vcprojectengine.vcclcompilertool.runtimelibrary tells you it's an enum, which itself is at https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.vcprojectengine.runtimelibraryoption