Commit 4cdd1917 authored by Sebastien Barre's avatar Sebastien Barre
Browse files

Tcl lib is built SHARED explicitly (since we do not build vtk.exe anyway)

parent 2aa80556
......@@ -31,7 +31,7 @@ ADD_LIBRARY (vtkmyCommon Common_SRCS)
IF (VTKMY_WRAP_TCL)
VTK_WRAP_TCL (vtkmyCommonTCL CommonTCL_SRCS Common_SRCS)
ADD_LIBRARY (vtkmyCommonTCL CommonTCL_SRCS)
ADD_LIBRARY (vtkmyCommonTCL SHARED CommonTCL_SRCS)
TARGET_LINK_LIBRARIES (vtkmyCommonTCL
vtkCommonTCL
${TCL_LIBRARY})
......
......@@ -32,7 +32,7 @@ ADD_LIBRARY (vtkmyImaging Imaging_SRCS)
IF (VTKMY_WRAP_TCL)
VTK_WRAP_TCL (vtkmyImagingTCL ImagingTCL_SRCS Imaging_SRCS)
ADD_LIBRARY (vtkmyImagingTCL ImagingTCL_SRCS)
ADD_LIBRARY (vtkmyImagingTCL SHARED ImagingTCL_SRCS)
TARGET_LINK_LIBRARIES (vtkmyImagingTCL
vtkImagingTCL
vtkFilteringTCL
......
......@@ -13,7 +13,6 @@ What you should do:
- Fill the subdirs with your own classes. Remove the dummy classes. For each CMakeList.txt in the package dirs, add or remove the class(es) pertaining to this directory (SOURCE_FILES command).
- Run CMake as usual.
set BUILD_SHARED to ON if you want Tcl DLLs.
- Build
......
......@@ -33,7 +33,7 @@ ADD_LIBRARY (vtkmyUnsorted Unsorted_SRCS)
IF (VTKMY_WRAP_TCL)
VTK_WRAP_TCL (vtkmyUnsortedTCL UnsortedTCL_SRCS Unsorted_SRCS)
ADD_LIBRARY (vtkmyUnsortedTCL UnsortedTCL_SRCS)
ADD_LIBRARY (vtkmyUnsortedTCL SHARED UnsortedTCL_SRCS)
TARGET_LINK_LIBRARIES (vtkmyUnsortedTCL
vtkHybridTCL
vtkRenderingTCL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment