MaaAssistantArknights / MaaDeps

Collection of build scripts to build MAA dependencies for popular platforms
10 stars 11 forks source link

Build with debug symbols on macOS #11

Closed hguandl closed 1 year ago

hguandl commented 1 year ago

vcpkg is using release build configuration, causing dsymutil not able to extract the debug symbols.

Fix by adding -g -DNDEBUG to cc / cxx, which is from the RelWithDebInfo configuration in CMake. Then strip them.