I want to port one my library to Microsoft's vcpkg. This library is header-only. I created portfile.cmake
, everything is fine. But vcpkg install <mylibname>
builds release and debug. I have to say, that this build process is for internal for library generator of C++ code. So I want to have build only in release mode. How can I make it?
This was the first question. And from it the second one is coming. This generator places in bin
folder and I have an error like
There should be no bin\ directory in a static build...
How can I enable to have bin
directory with generator for header-only library in vcpkg?
I opened an issue in vcpkg's repository here