CMakeLists.txt 793 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
PROJECT(Editor)

#
# install the tcl package for the Module
# - make the module packages build directory if needed
# - make this module's package directory
# - copy over the tcl package files to the build directory
#

10
SET (Package_DIR ${SLICER_LIBRARIES_DIR}/Modules/Packages)
11
12
13
14
IF (NOT EXISTS ${Package_DIR})
  FILE(MAKE_DIRECTORY ${Package_DIR})
ENDIF (NOT EXISTS ${Package_DIR})

15
SET(Editor_DIR ${Package_DIR}/Editor)
16
17
18
19
20
21
22

FILE(MAKE_DIRECTORY ${Editor_DIR})
CONFIGURE_FILE( pkgIndex.tcl ${Editor_DIR}/pkgIndex.tcl COPYONLY)
CONFIGURE_FILE( Editor.tcl ${Editor_DIR}/Editor.tcl COPYONLY)
CONFIGURE_FILE( EditorNode.tcl ${Editor_DIR}/EditorNode.tcl COPYONLY)
CONFIGURE_FILE( EditorLogic.tcl ${Editor_DIR}/EditorLogic.tcl COPYONLY)
CONFIGURE_FILE( EditorGUI.tcl ${Editor_DIR}/EditorGUI.tcl COPYONLY)