将CLion构建配置文件存储在存储库中 [英] Store CLion build profile in repository

查看:61
本文介绍了将CLion构建配置文件存储在存储库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一种方法可以将CLion的构建配置文件存储在存储库中,以便所有团队成员都可以使用相同的配置文件?

I am wondering if there is a way to store the build profiles of CLion in the repository so that all team members can use the same profile?

我正在谈论 Settings/Build/CMake

推荐答案

在CLion 2021.1中,可以共享您的CMake配置文件设置.新选项在首选项|中可用.构建,执行,部署|CMake .启用 Share 后,设置将存储在 .idea/cmake.xml 中,您可以将其简单地添加到VCS中.

In CLion 2021.1 there will be possibility to share your CMake profile settings. The new option is available in Preferences | Build, Execution, Deployment | CMake. When Share is enabled the settings will be stored in .idea/cmake.xml which you can simply add to VCS.

这篇关于将CLion构建配置文件存储在存储库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆