How to create a project C?

I use Kdevelop to create projects in C ++. Now I need to create a C project. In versions 3.xx, I had the opportunity to create C projects, but now I use Kdevelop 4.2, and I can only see C ++ project templates (QT / NOGui).

How do I configure Kdevelop for C projects?

+5
source share
4 answers

Did you check "show all project templates" when you were in the "New Project" dialog box? See this question as a link (look at the screenshot): kdevelop 4.0: No project templates

+3
source

I know this is an old post, but just in case. Here is a quick answer - you need to think a little, but not difficult.

  • () kapptemplate - :

    /USR//kde4//kdevappwizard/

  • - - kdevelop kdevappwizard. , :

    β”œβ”€β”€ kdevappwizard.rc
    β”œβ”€β”€ template_previews
    β”‚   β”œβ”€β”€ akonadi-resources.png
    β”‚   β”œβ”€β”€ akonadi-serializer.png
    β”‚   β”œβ”€β”€ default-kdevelop.png
    β”‚   β”œβ”€β”€ default.png
        ...
    └── templates
        β”œβ”€β”€ akonadiresource.tar.bz2
        β”œβ”€β”€ akonadiserializer.tar.bz2
        β”œβ”€β”€ cmake_plaincpp.tar.bz2
        β”œβ”€β”€ cmake_qt4core_qtest.tar.bz2
        ...
        └── simple_phpapp.tar.bz2
    
  • , simple_phpapp.tar.bz2 cmake_plaincpp.tar.bz2, sandbox .

  • , , -
  • ,
  • , , ~/.kde/apps/kdevappwizard/.. .. - et voila!

    : - . `

    eh - , , C, , , :)

+3

To use them, just copy the archives to / usr / share / apps / kdevappwizard / templates /

CMake template: https://sourceforge.net/projects/otzy-007.u/files/cmake_plainc.tar.bz2/download

Makefile Template: http://opendesktop.org/content/show.php/Simple+C+Makefile+Template?content=138514

+1
source

Well, you can download C ++ projects to learn strategies from https://www.eprogramlab.com/

-1
source

All Articles