Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.08 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.08 KB

Gtkmm-Application-Template

Simple template to write Gtkmm applications using CMake and Glade

Requirements

  • Gtkmm-3.0
  • CMake-3.2 or higher
  • Glade (optional)

Getting started

  1. Clone repository with preferred project name:
git clone https://github.com/anschu/gtkmm-application-template.git PROJECT_NAME
  1. Run initialization script located in the project root...
cd PROJECT_NAME/
bash init.sh

...and choose your application-ID e.g. "org.gtkmm.MyApplication".

  1. Write your code.

  2. Build the project:

mkdir build
cd build/
cmake ..
make
  1. Installation:
sudo make install
  1. If you want to uninstall your application run the shellscript in the build-directory:
sudo ./uninstall.sh

References

Most parts used in the source code are copied from the GNOME Developer Guide Programming with gtkmm3, especially chapter Building applications.