迈向现代CMake工作流程
Towards a modern CMake workflow
摘要:
现代CMake提供了轻松管理多功能和复杂项目的功能。对于OMNeT++项目,依赖于CMake的工作流使项目能够在公共开发环境中将离散事件仿真和生产代码结合起来。这样的组合意味着更少的维护工作,因此可能更可持续和更长的软件寿命。本文重点介绍了自首次尝试在OMNeT++项目中使用CMake以来的重大改进。特别是,一个国家的最先进的集成OMNeT++在Visual Studio代码,包括支持调试和多平台编译。最后但并非最不重要的是,一个示例性用例演示了OMNeT++ CMake包支持的通用软件架构中生产和仿真代码的强大组合。
英文摘要:
Modern CMake offers the features to manage versatile and complex projects with ease. With respect to OMNeT++ projects, a workflow relying on CMake enables projects to combine discrete event simulation and production code in a common development environment. Such a combination means less maintenance effort and thus potentially more sustainable and long-living software. This paper highlights the significant improvements since the first attempt of using CMake in OMNeT++ projects. In particular, a state-of-the-art integration of OMNeT++ in Visual Studio Code including support for debugging and multi-platform compilation is presented. Last but not least, an exemplary use case demonstrates the powerful mix of production and simulation code in a common software architecture supported by the OMNeT++ CMake package.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。