最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c - Unit Testing embedded projects with CLion - Stack Overflow

programmeradmin4浏览0评论

CLion supports Google Test, Boost.Test, Catch2, and Doctest, but I cannot get unit testing working with a cross-compiling project (compile tests for host & the project for target): I could create several CMake targets, but CLion only seems to detect one and even when I only create a one-target-CMakeLists.txt and switch it completely out by the other (e.g. ARM<->GCC) and reload the CMake config, the compiler stays selected until I invalidate CMake caches completely.

As CLion claims to be well-suited for embedded development, I wonder how this is normally achievable.

发布评论

评论列表(0)

  1. 暂无评论