~ubuntu-branches/ubuntu/intrepid/cmake/intrepid-backports

« back to all changes in this revision

Viewing changes to Modules/FindITK.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Maitland Bottoms
  • Date: 2002-02-14 18:36:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020214183625-8m44isdas2k4l0f7
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Find the native ITK includes and library
 
3
#
 
4
# This module defines
 
5
#
 
6
# ITK_BINARY_PATH - where is the binary tree (only defined if SOURCE_PATH is defined)
 
7
# USE_ITK_FILE - the full path and location of the UseITK.cmake file
 
8
#
 
9
 
 
10
#
 
11
# Look for a binary tree
 
12
 
13
FIND_PATH(ITK_BINARY_PATH UseITK.cmake
 
14
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild1]
 
15
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild2]
 
16
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild3]
 
17
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild4]
 
18
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild5]
 
19
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild6]
 
20
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild7]
 
21
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild8]
 
22
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild9]
 
23
    [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild10]
 
24
    ../ITKBIN
 
25
    ../itkbin
 
26
    ../Insight-vc
 
27
    ../InsightBin
 
28
    ITKBIN
 
29
    itkbin
 
30
    $ENV{HOME}/ITKBIN
 
31
    $ENV{HOME}/Insight
 
32
    $ENV{HOME}/InsightBin
 
33
    $ENV{HOME}/itkbin
 
34
    )
 
35
 
 
36
 
 
37
 
 
38
IF (ITK_BINARY_PATH)
 
39
  SET (USE_ITK_FILE ${ITK_BINARY_PATH}/UseITK.cmake)
 
40
ENDIF (ITK_BINARY_PATH)
 
41
 
 
42
 
 
43