[vtkusers] VTKLibraryDepends.cmake + forward declaration
Mathieu Malaterre
malat at free.fr
Wed Feb 12 08:17:57 EST 2003
Andy,
I use
cmake version 1.7 (from cvs but CMAKE_BUILD_TYPE:STRING=Release)
Here is CMakeCache.txt from CMakeBin dir:
Hope this help,
mathieu
# This is the CMakeCache file.
# For build in directory: /home/malat/Kitware/CMakeBin
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a varible in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
BASH:FILEPATH=/bin/bash
//Build the documentation (Doxygen).
BUILD_DOCUMENTATION:BOOL=ON
//Build the testing tree.
BUILD_TESTING:BOOL=ON
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//For backwards compatibility, what version of CMake commands and
// syntax should this version of CMake allow.
CMAKE_BACKWARDS_COMPATIBILITY:STRING=1.7
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
//
CMAKE_BUILD_TYPE:STRING=Release
//Build wxWindows dialog for CMake
CMAKE_BUILD_WX_DIALOG:BOOL=OFF
//Install path prefix, prepended onto install directories, For
// CMake this will always override CMAKE_INSTALL_PREFIX in the
// cache.
CMAKE_CONFIGURE_INSTALL_PREFIX:PATH=/usr/local
//C++ compiler imported from VTK.
CMAKE_CXX_COMPILER:STRING=g++
//Path to a program.
CMAKE_CXX_COMPILER_FULLPATH:FILEPATH=/usr/bin/g++
//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=' '
//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3
//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
//C compiler
CMAKE_C_COMPILER:STRING=gcc
//Path to a program.
CMAKE_C_COMPILER_FULLPATH:FILEPATH=/usr/bin/gcc
//Flags for C compiler.
CMAKE_C_FLAGS:STRING=' '
//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=-O3
//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Value Computed by CMake
CMAKE_FORM_BINARY_DIR:STATIC=/home/malat/Kitware/CMakeBin/Source/CursesDialog/form
//Value Computed by CMake
CMAKE_FORM_SOURCE_DIR:STATIC=/home/malat/Kitware/CMake/Source/CursesDialog/form
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when using shared libraries.
//
CMAKE_SKIP_RPATH:BOOL=NO
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Dependencies for the target
CMakeLib_LIB_DEPENDS:STATIC=-ldl;
//Value Computed by CMake
CMake_BINARY_DIR:STATIC=/home/malat/Kitware/CMakeBin
//Value Computed by CMake
CMake_SOURCE_DIR:STATIC=/home/malat/Kitware/CMake
//Path to a program.
CP:FILEPATH=/bin/cp
//Where can the cur_colr library be found
CURSES_EXTRA_LIBRARY:FILEPATH=NOTFOUND
//What is the path where the file curses.h can be found
CURSES_INCLUDE_PATH:PATH=/usr/include
//Where can the curses library be found
CURSES_LIBRARY:FILEPATH=/usr/lib/libcurses.so
//If you have Dart installed, where is it located?
DART_ROOT:PATH=NOTFOUND
//Build the HTML Help file (CHM).
DOCUMENTATION_HTML_HELP:BOOL=OFF
//Build a compressed tar archive of the HTML doc.
DOCUMENTATION_HTML_TARZ:BOOL=OFF
//Path to a program.
DOT:FILEPATH=NOTFOUND
//Missing description
DOT_PATH:FILEPATH=
//Path to a program.
DOXYGEN:FILEPATH=/usr/bin/doxygen
//Where to put the executables for CMake
EXECUTABLE_OUTPUT_PATH:PATH=/home/malat/Kitware/CMakeBin/Bin
//Where can the form library be found
FORM_LIBRARY:FILEPATH=/usr/lib/libform.so
//Path to a program.
GNUPLOT:FILEPATH=/usr/bin/gnuplot
//Path to a program.
GZIP:FILEPATH=/bin/gzip
//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:PATH=/home/malat/Kitware/CMakeBin/Lib
//Path to a program.
MV:FILEPATH=/bin/mv
//Path to a program.
PERL_EXECUTABLE:FILEPATH=/usr/bin/perl
//What is the path where the file qt.h can be found
QT_INCLUDE_DIR:PATH=/usr/lib/qt-3.0.3/include
//Where can the moc file be found
QT_MOC_EXECUTABLE:FILEPATH=/usr/lib/qt3-gcc2.96/bin/moc
//Where can the qt library be found
QT_QT_LIBRARY:FILEPATH=/usr/lib/qt-3.0.3/lib/libqt.so
//Where can the uic file be found
QT_UIC_EXECUTABLE:FILEPATH=/usr/lib/qt3-gcc2.96/bin/uic
//Path to a program.
RM:FILEPATH=/bin/rm
//Path to a program.
TAR:FILEPATH=/bin/tar
//Location of Tcl library imported from VTK. This may mean your
// project is depending on VTK to get this setting. Consider using
// FindTCL.cmake.
TCL_LIBRARY:FILEPATH=
//Location of Tk library imported from VTK. This may mean your
// project is depending on VTK to get this setting. Consider using
// FindTCL.cmake.
TK_LIBRARY:FILEPATH=
//The directory containing VTKConfig.cmake. This is either the
// root of the build tree, or PREFIX/lib/vtk for an installation.
// For VTK 4.0, this is the location of UseVTK.cmake. This is
// either the root of the build tree or PREFIX/include/vtk for
// an installation.
VTK_DIR:PATH=/home/malat/Kitware/VTKBin
//Path to a program.
WGET_EXECUTABLE:FILEPATH=/usr/bin/wget
//Dependencies for the target
cmForm_LIB_DEPENDS:STATIC=/usr/lib/libcurses.so;
########################
# INTERNAL cache entries
########################
//Advanced flag for variable: BASH
BASH-ADVANCED:INTERNAL=1
//Advanced flag for variable: BUILD_DOCUMENTATION
BUILD_DOCUMENTATION-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_ANSI_FOR_SCOPE:INTERNAL=TRUE
//Have include iostream
CMAKE_ANSI_STREAM_HEADERS:INTERNAL=1
//Advanced flag for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/gmake
//Advanced flag for variable: CMAKE_BUILD_WX_DIALOG
CMAKE_BUILD_WX_DIALOG-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCahe.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/malat/Kitware/CMakeBin
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=1
//Minor version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MINOR_VERSION:INTERNAL=7
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_RELEASE_VERSION:INTERNAL=development
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/home/malat/Kitware/CMakeBin/Bin/cmake
//Advanced flag for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_COMPILER_FULLPATH
CMAKE_CXX_COMPILER_FULLPATH-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_CXX_COMPILER_WORKS:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_COMPILER_FULLPATH
CMAKE_C_COMPILER_FULLPATH-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_C_COMPILER_WORKS:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/home/malat/Kitware/CMakeBin/Bin/ccmake
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Have include sstream
CMAKE_HAS_ANSI_STRING_STREAM:INTERNAL=1
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/malat/Kitware/CMake
//Advanced flag for variable: CMAKE_INSTALL_PREFIX
CMAKE_INSTALL_PREFIX-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
//
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Does the compiler support ansi for scope.
CMAKE_NO_ANSI_FOR_SCOPE:INTERNAL=0
//Advanced flag for variable: CMAKE_NO_ANSI_STREAM_HEADERS
CMAKE_NO_ANSI_STREAM_HEADERS-ADVANCED:INTERNAL=1
//Does the compiler support headers like iostream.
CMAKE_NO_ANSI_STREAM_HEADERS:INTERNAL=0
//Does the compiler support std::.
CMAKE_NO_STD_NAMESPACE:INTERNAL=0
//Advanced flag for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/home/malat/Kitware/CMake
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
//
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
//
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_STD_NAMESPACE:INTERNAL=TRUE
//uname command
CMAKE_UNAME:INTERNAL=/bin/uname
//Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Path to a library
CMakeLib_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source
//Whether a library is static, shared or module.
CMakeLib_LIBRARY_TYPE:INTERNAL=STATIC
//Advanced flag for variable: CP
CP-ADVANCED:INTERNAL=1
//Advanced flag for variable: DOCUMENTATION_HTML_HELP
DOCUMENTATION_HTML_HELP-ADVANCED:INTERNAL=1
//Advanced flag for variable: DOCUMENTATION_HTML_TARZ
DOCUMENTATION_HTML_TARZ-ADVANCED:INTERNAL=1
//Advanced flag for variable: DOT
DOT-ADVANCED:INTERNAL=1
//Advanced flag for variable: DOT_PATH
DOT_PATH-ADVANCED:INTERNAL=1
//Advanced flag for variable: DOXYGEN
DOXYGEN-ADVANCED:INTERNAL=1
//Path to an executable
DumpDocumentation_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source
//Advanced flag for variable: GNUPLOT
GNUPLOT-ADVANCED:INTERNAL=1
//Advanced flag for variable: GZIP
GZIP-ADVANCED:INTERNAL=1
//Advanced flag for variable: MV
MV-ADVANCED:INTERNAL=1
//Advanced flag for variable: PERL_EXECUTABLE
PERL_EXECUTABLE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_INCLUDE_DIR
QT_INCLUDE_DIR-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_INCLUDE_PATH
QT_INCLUDE_PATH-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_MOC_EXE
QT_MOC_EXE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_MOC_EXECUTABLE
QT_MOC_EXECUTABLE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_QTMAIN_LIBRARY
QT_QTMAIN_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_QT_LIBRARY
QT_QT_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_UIC_EXE
QT_UIC_EXE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_UIC_EXECUTABLE
QT_UIC_EXECUTABLE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_WRAP_CPP
QT_WRAP_CPP-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_WRAP_UI
QT_WRAP_UI-ADVANCED:INTERNAL=1
//Advanced flag for variable: RM
RM-ADVANCED:INTERNAL=1
//Advanced flag for variable: TAR
TAR-ADVANCED:INTERNAL=1
//Advanced flag for variable: TCL_LIBRARY
TCL_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: TK_LIBRARY
TK_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: WGET_EXECUTABLE
WGET_EXECUTABLE-ADVANCED:INTERNAL=1
//Path to an executable
ccmake_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source
//Path to a library
cmForm_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source/CursesDialog/form
//Whether a library is static, shared or module.
cmForm_LIBRARY_TYPE:INTERNAL=STATIC
//Path to an executable
cmake_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source
//Path to an executable
cmaketest_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source
//Path to an executable
ctest_CMAKE_PATH:INTERNAL=/home/malat/Kitware/CMakeBin/Source
Andy Cedilnik wrote:
>Hi Mathieu,
>
>In preparation to VTK 4.2 release, I am cleaning examples. The current
>ones should have all missing includes fixed. I however cannot reproduce
>VTKLibraryDepends.cmake problem you have. What version of CMake are you
>using?
>
> Andy
>
>
>On Wed, 2003-02-12 at 08:06, Mathieu Malaterre wrote:
>
>
>>Hi all,
>> Because of recent forward declarations there is a problem in:
>>VTK/Examples/DataManipulation/Cxx/
>>Arrays.cxx, Cube.cxx and SGrid.cxx
>>lack a:
>>#include "vtkPointData.h"
>>
>>while I tried to recompile them I always get a weird error:
>>
>>If I ccmake (or cmake) the whole VTK. The file VTKLibraryDepends.cmake
>>add a final closing parenthesis.
>>So before each make I should edit the final line and get rid of this
>>parenthesis.
>>
>>Does anyone around have also this error ?
>>
>>
>
>
>
>
>
>
>
More information about the vtkusers
mailing list