Skip to content

Simple template to write Gtkmm applications using CMake and Glade

Notifications You must be signed in to change notification settings

alexg-k/gtkmm-application-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple template to write Gtkmm applications using CMake and Glade

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 62.3%
  • CMake 33.1%
  • Shell 4.6%