How to build dynamic (shared) libraries of crashpad?

后端 未结 4 2139
说谎
说谎 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 running gn gen out\Default, you can edit the out\Default\toolchain.ninja file to add extra compiler flags to the command for the cc and cxx rules.

    rule cc
      command = ninja -t msvc -e environment.amd64 -- cl.exe ... ${cflags} ${cflags_c} /c ...
                                     add the /MD compiler flag after the others, here ^
    

提交回复
热议问题