Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 974 Bytes

README.md

File metadata and controls

39 lines (31 loc) · 974 Bytes

Examples

Collection of independent CMake-based projects illustrating how to build and link against CTK.

Build Instructions

~/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

Help

More information on the CommonToolkit webpage:

Ask your questions on the CTK developer mailing list: