ITK/Release 4/Coding Style/KWStyle: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 9: Line 9:
* Configure with CMake
* Configure with CMake
* Default options should do just fine
* Default options should do just fine
== Linux Example ==
  mkdir ~/bin/KWStyle
  cd  ~/bin/KWStyle
  ccmake ~/src/KWStyle
 
for convienence do:
CMAKE_INSTALL_PREFIX ~/local
if you want to install it in $HOME/local
and also configure it to build for Release:
CMAKE_BUILD_TYPE  Release
finally
    make
    make install
= Use from ITK =
Rerun CMake in your ITK build.
Turn ON the flag:
  ITK_USE_KWSTYLE    ON

Revision as of 13:11, 3 January 2011

Source Code

Download via Git from

  git clone  git://public.kitware.com/KWStyle.git

Build

  • Configure with CMake
  • Default options should do just fine

Linux Example

 mkdir ~/bin/KWStyle
 cd  ~/bin/KWStyle
 ccmake ~/src/KWStyle
 

for convienence do:

CMAKE_INSTALL_PREFIX ~/local 

if you want to install it in $HOME/local

and also configure it to build for Release:

CMAKE_BUILD_TYPE  Release

finally

   make 
   make install

Use from ITK

Rerun CMake in your ITK build.

Turn ON the flag:

 ITK_USE_KWSTYLE    ON