Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clion编译 #245

Open
Enola-liu opened this issue Jun 20, 2023 · 2 comments
Open

Clion编译 #245

Enola-liu opened this issue Jun 20, 2023 · 2 comments

Comments

@Enola-liu
Copy link

弱弱的问一句,每次使用cubeMX更新代码时,makelist都会被覆盖,导致之前添加的库又没了,有啥解决办法吗?

@ideal1213123
Copy link

弱弱的问一句,每次使用cubeMX更新代码时,makelist都会被覆盖,导致之前添加的库又没了,有啥解决办法吗?

在CubeMX中的Generate里把Generate under root取消勾选就可以了
CMakeList代码覆盖

@jeongyeham
Copy link

jeongyeham commented Sep 28, 2023

您可以尝试修改CMakeLists_template.txt
将您的更改永久写入该文件中。
CLion在MX配置完成后会读取该文件来应用您的更改从而生成新的CMakeLists.txt。
希望能帮到您。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants