Skip to content

pokedpeter/vala-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vala-app-template

A basic template for creating Vala applications.

Project Setup:

git clone git@github.com:pokedpeter/vala-app-template.git

Remove the hidden .git directory

Update the folder name (vala-app-template)

Update the following first two lines in CMakeList.txt

set (PROJECT_NAME vala-app-template)
set (PROJECT_DESC "Description of your app.")

Update AUTHORS with your name

Update the GNU license header in src/App.vala with your details and paste this header in all your source files.

Copyright (C) <Year> <Your Name>

Establish a new repository from the existing files:

git init

Execute the file go to build your application.

Project Build

From the main directory, enter the following commands in order:

mkdir build
cd build
cmake ..
make

If there are no errors, the executable will be created in the build directory.

Run the executable:

./vala-app-template

If you make any changes to your CMakeLists.txt, like add a new file, delete the build directory and build again using the above steps.

About

Template for creating Vala applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published