Skip to content

commontk/Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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:

About

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

Resources

Stars

Watchers

Forks