Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

clion change default project template

Tags:

c

templates

clion

Hi I program in c and I like using clion. Is there a way to change how the default files it creates in a new project? I would like it to create a main.c and the make file to reflect that.

like image 230
TheMethodMan Avatar asked Feb 06 '26 23:02

TheMethodMan


2 Answers

Read How to create a C project with CLion. It's not possible to create a C project by default, but you could use the info of that post to prepare CMakeLists.txt.

like image 120
Antonio VR Avatar answered Feb 08 '26 13:02

Antonio VR


Starting with version 2016.3.2 you can choose language (C or C++) and project type (Executable or Library) when creating a new project.

(Though this was in CodeBlocks for example for as long as I remember)) And I still never figured out whether I can create my own "project". Well IMHO CLion clearly sucks in this way if compared to CodeBlocks where I CAN WRITE MY SCRIPT FOR ALMOST EVERYTHING and customize the IDE this way((()

https://blog.jetbrains.com/clion/2016/12/clion-2016-3-2-eap/#prj_templates

like image 30
Rules Avatar answered Feb 08 '26 13:02

Rules



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!