How to build dynamic (shared) libraries of crashpad?

后端 未结 4 2101
说谎
说谎 2021-01-14 10:36

Crashpad is an error reporting system for c++ apps. https://chromium.googlesource.com/crashpad/crashpad/+/HEAD/doc/developing.md

build instructions are



        
4条回答
  •  执念已碎
    2021-01-14 11:21

    after you generate ninja files, for each ninja file find the switch /MTd (debug) or /MT (release version) and change it to /MDd or /MD so the dynamic libs will be created

    then you can build crashpad with ninja, the output is still lib files so they will be included in the exe file when you link them to your project (you do not have to add them to your project as using dlls).

提交回复
热议问题