I am building a cpp lib using cmake. x86_64 I want a SHARED lib, so I am using shared and everything is building fine without any errors but it is only creating the dll file. I am also using __declspec(dllexport), so there should be one
later on I want to link the lib with my test program but always get the error fatal error LNK1181: cannot open input file '..\lib\Release\MQTTClient.lib'
because vs is not creating any lib file ...
anyone an idea?
dllexport. Edit your question to show an example of how it’s used. - Khouri Giordano