久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='nmlcI'></tfoot>

  1. <legend id='nmlcI'><style id='nmlcI'><dir id='nmlcI'><q id='nmlcI'></q></dir></style></legend>
  2. <small id='nmlcI'></small><noframes id='nmlcI'>

    <i id='nmlcI'><tr id='nmlcI'><dt id='nmlcI'><q id='nmlcI'><span id='nmlcI'><b id='nmlcI'><form id='nmlcI'><ins id='nmlcI'></ins><ul id='nmlcI'></ul><sub id='nmlcI'></sub></form><legend id='nmlcI'></legend><bdo id='nmlcI'><pre id='nmlcI'><center id='nmlcI'></center></pre></bdo></b><th id='nmlcI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nmlcI'><tfoot id='nmlcI'></tfoot><dl id='nmlcI'><fieldset id='nmlcI'></fieldset></dl></div>
      <bdo id='nmlcI'></bdo><ul id='nmlcI'></ul>

    1. 在 CMake/CDash 中使用 gcov 的詳細指南?

      Detailed guide on using gcov with CMake/CDash?(在 CMake/CDash 中使用 gcov 的詳細指南?)

      • <tfoot id='EFZD8'></tfoot>

        <small id='EFZD8'></small><noframes id='EFZD8'>

          <i id='EFZD8'><tr id='EFZD8'><dt id='EFZD8'><q id='EFZD8'><span id='EFZD8'><b id='EFZD8'><form id='EFZD8'><ins id='EFZD8'></ins><ul id='EFZD8'></ul><sub id='EFZD8'></sub></form><legend id='EFZD8'></legend><bdo id='EFZD8'><pre id='EFZD8'><center id='EFZD8'></center></pre></bdo></b><th id='EFZD8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='EFZD8'><tfoot id='EFZD8'></tfoot><dl id='EFZD8'><fieldset id='EFZD8'></fieldset></dl></div>
            <bdo id='EFZD8'></bdo><ul id='EFZD8'></ul>
            <legend id='EFZD8'><style id='EFZD8'><dir id='EFZD8'><q id='EFZD8'></q></dir></style></legend>

                  <tbody id='EFZD8'></tbody>
              • 本文介紹了在 CMake/CDash 中使用 gcov 的詳細指南?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我在我的項目中使用 CMake,并為連續/夜間構建設置了一個 cdash 服務器.一切正常,通過設置 crontab,我們可以將每小時/每晚的構建/測試結果自動上傳到我們的 cdash 服務器.

                I'm using CMake with my project and set up a cdash server for continuous/nightly building. Everything works well and by setting up a crontab, we have hourly/nightly build/test results uploaded to our cdash server automatically.

                我的下一步是將測試覆蓋率報告添加到構建中.我在這里找到文檔 http://www.cmake.org/Wiki/CTest:Coverage 但坦率地說,這離實用指南還差得很遠.

                My next step is to add test coverage report to the build. I find the document here http://www.cmake.org/Wiki/CTest:Coverage but frankly it's a bit far from a practical guide.

                目前我已經添加了所需的標志(而不是 -fprofile-arcs -ftest-coverage,我發現 --coverage 更好),編譯過程生成 ..gcno 文件.但后來我被卡住了.命令

                Currently I've added the required flag (instead of -fprofile-arcs -ftest-coverage, I find --coverage better), the compilation process generates .gcno files. But then I'm stuck. The command

                make NightlyCoverage
                

                好像什么都沒做.誰能告訴我接下來要做什么?我想要的結果是通過執行 make NightlyCoverage,生成覆蓋報告并上傳到 cdash 服務器.

                doesn't seem to do anything. Could anybody tell me what is the next to do? The result that I want, is by doing make NightlyCoverage, coverage reports are generated and uploaded to cdash server.

                推薦答案

                我一直在使用 https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake 成功.

                I've been using https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake successfully.

                只是按照指導方針:將文件添加到我的CMAKE_MODULE_PATH目錄,添加

                Just followed the guidelines: added the files to my CMAKE_MODULE_PATH directory, added

                set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules)
                if(CMAKE_COMPILER_IS_GNUCXX)
                    include(CodeCoverage)
                    setup_target_for_coverage(${PROJECT_NAME}_coverage ${PROJECT_TEST_NAME} coverage)
                endif()
                

                在我的 CMakeLists.txt 中.我還手動添加了 gcov 作為目標的依賴項:

                in my CMakeLists.txt. I also added manually gcov as a dependency for my target:

                if(CMAKE_COMPILER_IS_GNUCXX)
                    target_link_libraries(${PROJECT_TEST_NAME} gcov)
                endif()
                

                有了這個,我只需輸入

                make my_project_coverage
                

                然后我在構建樹的 coverage 目錄中獲得了 html 報告.

                and I get the html report in the coverage directory of my build tree.

                這篇關于在 CMake/CDash 中使用 gcov 的詳細指南?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                In what ways do C++ exceptions slow down code when there are no exceptions thown?(當沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                When and how should I use exception handling?(我應該何時以及如何使用異常處理?)
                Scope of exception object in C++(C++中異常對象的范圍)
                Catching exceptions from a constructor#39;s initializer list(從構造函數的初始化列表中捕獲異常)
                Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區別)

                  • <i id='Ye5oS'><tr id='Ye5oS'><dt id='Ye5oS'><q id='Ye5oS'><span id='Ye5oS'><b id='Ye5oS'><form id='Ye5oS'><ins id='Ye5oS'></ins><ul id='Ye5oS'></ul><sub id='Ye5oS'></sub></form><legend id='Ye5oS'></legend><bdo id='Ye5oS'><pre id='Ye5oS'><center id='Ye5oS'></center></pre></bdo></b><th id='Ye5oS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Ye5oS'><tfoot id='Ye5oS'></tfoot><dl id='Ye5oS'><fieldset id='Ye5oS'></fieldset></dl></div>

                    <small id='Ye5oS'></small><noframes id='Ye5oS'>

                    <legend id='Ye5oS'><style id='Ye5oS'><dir id='Ye5oS'><q id='Ye5oS'></q></dir></style></legend>

                        <bdo id='Ye5oS'></bdo><ul id='Ye5oS'></ul>
                      • <tfoot id='Ye5oS'></tfoot>

                            <tbody id='Ye5oS'></tbody>
                          主站蜘蛛池模板: 日本在线中文 | 国产情侣啪啪 | 伊人精品在线视频 | 精品91久久 | 99久久精品一区二区成人 | 精品国产乱码久久久久久闺蜜 | 久久精品免费一区二区 | 99精品久久久久久中文字幕 | 亚洲日产精品 | 福利视频网址 | 亚洲精品一| 日韩在线观看视频一区 | 色综合久久久 | 色婷婷久久久久swag精品 | 国产在线观看一区二区 | 欧美xxxx黑人又粗又长 | 国产不卡在线观看 | 久久久久久高潮国产精品视 | 欧美白人做受xxxx视频 | 中文字幕黄色大片 | 天堂色区 | 久久毛片 | 久久国产精品视频 | 久久综合一区二区三区 | 精品在线一区二区 | 日本黄色一级片视频 | 久久久久久久一区二区三区 | 欧美三区在线观看 | 日韩有码在线观看 | 亚洲成人午夜电影 | 精品免费国产视频 | 黄色a级一级片 | 欧美日韩亚洲系列 | 久久久精彩视频 | 成人国产精品久久久 | 中文字幕亚洲精品 | 亚洲一区二区三 | 欧美一区二区三区四区视频 | 91精品国产91久久久久久最新 | 一区二区三区四区在线视频 | av第一页 |