Working on an existing mk-project project

Open an mk-project project

For opening an existing project you must make use of the *.mkp file from your project.

  • Either by calling mk-project with the *.mkp file given as argument:

    $ mk-project /path/to/project_folder/prgname.mkp
    

    To open the mk-project G.U.I and loading your project.

  • By using your file manager:

    Simply click on the *.mkp file in the project folder

    or

    Opening the *.mkp file with your file manager using the open with option.

    To open the mk-project G.U.I and loading the entire project.

  • Using the mk-project G.U.I:

    Use the menu item Projects -> Load project (Ctrl + L) and choose the *.mkp of interest.

    To load the entire project in the mk-project G.U.I

All targets will be available according to your settings.

Note

Else you can simply use a terminal to use the mk-project projects:

simply type make help in the project folder to sea the available targets.

Reconfiguring an existing project

Open the mk-project G.U.I and use the menu item Projects -> Reconfigure project (Ctrl + R)

to open the project reconfiguring project interface.

Here you can:

  • Change some settings of your project.
  • Enable or disable some features.
  • Edit the Licensing boilerplate.
  • Edit the desktop file boilerplate.

Adding files to your project

Open an existing project and then use the menu item Projects -> Add file(s) to project (Ctrl + A).

Then select the file(s) you want to add to your project.

Note

Take care of the checkbutton in the file chooser !

  • In case of a C/C++ project you can choose to add the corresponding header file to your project.

    If the header file doesn't exist it will be create.

  • In case of a Python project you can choose to add the corresponding __init__.py file to your project.

    If the __init__.py file doesn't exist it will be create.

Warning

The file(s) must be in the ./source folder or subfolders from it !

Take care to organize your project properly so that all source files still in the ./source folder from your project !

Else you can add the file(s) to your project anyway but this can break your project tree if you rename the project folder.

note:It's better to create subfolders from the ./source folder to organize your project properly !