Working on an existing mk-project project¶
Open an mk-project project¶
For opening an existing project you must make use of the
*.mkpfile from your project.
Either by calling mk-project with the
*.mkpfile 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
*.mkpfile in the project folder
*.mkpfile 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
(Ctrl + L)and choose the
To load the entire project in the mk-project G.U.I
All targets will be available according to your settings.
Else you can simply use a terminal to use the mk-project projects:
make helpin the project folder to sea the available targets.
Reconfiguring an existing project¶
Open the mk-project G.U.I and use the menu item
(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
(Ctrl + A).
Then select the file(s) you want to add to your project.
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.
The file(s) must be in the
./sourcefolder or subfolders from it !
Take care to organize your project properly so that all source files still in the
./sourcefolder 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
./sourcefolder to organize your project properly !