Commit ef87ef1a authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

Changes for non-standard modules to export info

They must export their basic information.

Change-Id: Id3556580d8233b99d34aa06224b7f84c7ad7b584
parent 3bca758b
vtk_module_impl()
vtk_module_export_info()
set(Module_HDRS
vtkVariantBoostSerialization.h
)
......
vtk_module_impl()
vtk_module_export_info()
set(Module_HDRS
vtkTestDriver.h
vtkTestingColors.h
......
......@@ -3,7 +3,7 @@ project(Cosmo)
set(vtkCosmo_THIRD_PARTY 1)
set(vtkCosmo_LIBRARIES Cosmo)
vtk_module_impl()
vtk_module_export_info()
# Build with or without MPI, for now do this rather compiling a
# parallel and non parallel version
......
......@@ -2,7 +2,7 @@ project(VPIC)
set(vtkVPIC_THIRD_PARTY 1)
set(vtkVPIC_LIBRARIES VPIC)
vtk_module_impl()
vtk_module_export_info()
SET(VPIC_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
......
......@@ -2,7 +2,7 @@ project( alglib )
set(vtkalglib_THIRD_PARTY 1)
set(vtkalglib_LIBRARIES vtkalglib)
vtk_module_impl()
vtk_module_export_info()
if ( NOT LIBRARY_OUTPUT_PATH )
set( LIBRARY_OUTPUT_PATH ${alglib_BINARY_DIR}/bin CACHE INTERNAL "" FORCE )
......
set(vtkexodusII_THIRD_PARTY 1)
set(vtkexodusII_LIBRARIES vtkexoIIc)
vtk_module_impl()
vtk_module_export_info()
add_subdirectory(vtkexodusII)
......@@ -3,7 +3,7 @@ PROJECT (VTKFTGL)
set(vtkftgl_THIRD_PARTY 1)
set(vtkftgl_LIBRARIES vtkftgl)
set(vtkftgl_INCLUDE_DIRS ${VTKFTGL_SOURCE_DIR}/src)
vtk_module_impl()
vtk_module_export_info()
set(VTK_FREETYPE_LIBRARIES ${vtkfreetype_LIBRARIES})
#
......
set(vtknetcdf_THIRD_PARTY 1)
set(vtknetcdf_LIBRARIES vtkNetCDF vtkNetCDF_cxx)
vtk_module_impl()
vtk_module_export_info()
add_subdirectory(vtknetcdf)
set(vtksqlite_THIRD_PARTY 1)
set(vtksqlite_LIBRARIES vtksqlite)
vtk_module_impl()
vtk_module_export_info()
add_subdirectory(vtksqlite)
......@@ -58,7 +58,7 @@ endif ( VERDICT_MANGLE )
set(vtkverdict_THIRD_PARTY 1)
set(vtkverdict_LIBRARIES ${verdict_LIBRARY})
vtk_module_impl()
vtk_module_export_info()
# Setting the VERSION and SOVERSION of a library will include
# version information either in the library, or in the library
......
PROJECT(DICOMParser)
set(vtkDICOMParser_LIBRARIES vtkDICOMParser)
vtk_module_impl()
vtk_module_export_info()
INCLUDE_DIRECTORIES(${DICOMParser_SOURCE_DIR})
INCLUDE_DIRECTORIES(${DICOMParser_BINARY_DIR})
......
......@@ -6,8 +6,7 @@
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the above copyright notice for more information.
#
vtk_module_impl()
vtk_module_export_info()
IF(NOT CMAKE_CROSSCOMPILING)
INCLUDE_DIRECTORIES(${VTK_SOURCE_DIR}/Common/Core ${VTK_BINARY_DIR}/Common/Core)
......
......@@ -6,8 +6,7 @@
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the above copyright notice for more information.
#
vtk_module_impl()
vtk_module_export_info()
# This executable is only run from the build tree so we do not need a
# launcher for it and should always use the RPATH to find shared libs.
......
set(vtksys_LIBRARIES vtksys)
vtk_module_impl()
vtk_module_export_info()
#-----------------------------------------------------------------------------
# Configure KWSys to be named "vtksys".
......
PROJECT(MaterialLibrary)
vtk_module_impl()
vtk_module_export_info()
# FIXME: Provide a reasonable default for this value in MaterialLibrary?
set(VTK_DEFAULT_SHADERS_DIR
......
......@@ -2,7 +2,7 @@ set(vtkMetaIO_INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}/vtkmetaio # metaIOConfig.h
)
set(vtkMetaIO_LIBRARIES vtkmetaio)
vtk_module_impl()
vtk_module_export_info()
set(METAIO_FOR_VTK 1)
set(VTK_ZLIB_LIBRARIES ${vtkzlib_LIBRARIES})
add_subdirectory(vtkmetaio)
......
......@@ -21,7 +21,7 @@
# or without modification, are permitted provided that this Notice and any
# statement of authorship are reproduced on all copies.
vtk_module_impl()
vtk_module_export_info()
include_directories(${VTK_SOURCE_DIR}/Common/Core
${VTK_BINARY_DIR}/Common/Core)
......
Markdown is supported
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