Collection of independent CMake-based projects illustrating how to build and link against CTK.
- First download and build CTK
~/work$ git clone git://github.com/commontk/CTK.git
~/work$ mkdir CTK-Superbuild
~/work/CTK-Superbuild$ cd CTK-Superbuild
~/work/CTK-Superbuild$ ccmake ../CTK
~/work/CTK-Superbuild$ make
- Then download and build Examples
~/work$ git clone git://github.com/commontk/Examples.git
~/work$ mkdir Examples-build
~/work$ cd Examples-build
~/work/Examples-build$ ccmake ../Examples -DCTK_DIR:PATH=~/work/CTK-Superbuild/
~/work/Examples-build$ make
- Run example1
~/work/Examples-build$ ./Example1/example1
More information on the CommonToolkit webpage:
Ask your questions on the CTK developer mailing list: