How to build dynamic (shared) libraries of crashpad?

后端 未结 4 2132
说谎
说谎 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:12

    We took another look at this today. If you run gn args --list out\Default you'll notice the following:

    extra_cflags
        Current value (from the default) = ""
          From //third_party/mini_chromium/mini_chromium/build/BUILD.gn:50
    
        Extra flags passed to the C compiler.
        Space-separated string of flags.
        "cflags" are passed to all invocations of the C, C++, Objective-C, and
        Objective-C++ compilers.
    

    To add the /MDd flag to your build config run gn args out\Default and add extra_cflags="/MDd" to the build config.

提交回复
热议问题