【问题标题】:How do I configure CLion to show final executable size after build?如何配置 CLion 以在构建后显示最终的可执行文件大小?
【发布时间】:2019-03-15 23:24:33
【问题描述】:

CLion 中是否有设置在构建后显示最终可执行文件的大小?

【问题讨论】:

    标签: clion jetbrains-ide


    【解决方案1】:

    您可以为此使用外部工具。请尝试执行以下操作:

    1. 编辑运行配置
    2. 午餐前添加新操作(运行外部工具)。

    例如,如果您在 Windows 平台上,则可以使用 size.exe MinGW 工具。

    <path_to_mingw>\bin\size.exe $CMakeCurrentProductFile$

    1. 运行构建配置

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-05-23
      • 1970-01-01
      • 2018-07-15
      • 2010-10-01
      • 1970-01-01
      • 2021-09-26
      • 1970-01-01
      相关资源
      最近更新 更多