Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,869
    • Issues 3,869
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #19549
Closed
Open
Created Aug 01, 2019 by Billy O'Neal@BillyONeal

CMAKE_BUILD_TYPE == Release should set /Zi (or /Z7) for MSVC++

CMake appears to not turn on PDBs / debugging information for CMAKE_BUILD_TYPE == Release because it has RelWithDebInfo, but the normal release process on Windows still generates PDBs.

Unlike in the usual ELF model, turning on debugging information doesn't affect the size of the generated binaries, or change what gets deployed to the user's machine. You need the PDBs around if you want to be able to consume crash dumps after the fact, or run many kinds of analysis tools like BinSkim.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking