Skip to content
/ witty Public

Witty Wt C++ webtoolkit - Build tutorial and example

Notifications You must be signed in to change notification settings

ajneu/witty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wt (Witty) C++ Webtoolkit — Build tutorial and examples

This tutorial show how to build Wt projects using cmake. (It assumes a Debian-like system, but can probably run on any GNU/Linux system, or be easily adapted.)

Build Wt itself

./install.sh    ## this script fetches wt-3.3.5 from https://github.com/kdeforche/wt/archive/3.3.5.tar.gz

This script will create 2 directories ./witty_build/ and ./witty_install/.

Alternatively, you might also be interested in trying your system’s own packaged witty:

sudo apt-get install witty witty-dev

Build examples

(Note: these examples use ./witty_install/ (generated via ./install.sh from above), or otherwise (if ./witty_install/ does not exist) try and use your system’s packaged witty.)

Note that all examples have a folder with cmake/FindWt.cmake which is from here.

Hello World

cd hello
./script_build_and_run.sh

Hangman

cd hangman
./script_build_and_run.sh

mytest

cd mytest
./script_build_and_run.sh

About

Witty Wt C++ webtoolkit - Build tutorial and example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published