Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 9 (modified by nicolasc, 16 years ago) (diff)

TracNav(TracNav/TOC_Coding)?

CMake Build System

Using CMake with KDevelop

CMake is capable of creating .kdevelop files, which are used as project files in (guess where) KDevelop. To create them simply use the following command

cmake . -GKDevelop3

Optimize KDevelop

Do some configursation to make the usage of KDevelop smoother

Go to Project->Project Option->Build Option->Make, and do the following changes

  • Select Run Multiple Jobs, and set Number of Simultaneous Jobs to 3
  • set Make Prority to 5
  • Optional: Add Environment Variables
    • i.e Name: CFLAGS; Value: -O2 -pipe
      If you don't know what CFLAGS are, don't set them, otherwise use at you own discretion

  • adapt working dir, to be able to run it directly (you still need to run the run-script the first time)