[vtkusers] Problem with using CMake for VTK for Borland C++ Builder 5
Richard Dybowski
rdybowski at btinternet.com
Tue Apr 9 08:59:57 EDT 2002
I am new to CMake (and to C++), and I am trying to use it to build VTK for
use with Borland C++, but I have run into some problems. To test out VTK, I
am using the C++ example code for a sphere that is given in
http://public.kitware.com/VTK/example-code.php , but when I try to link the
corresponding object file (with Borland C++ Builder 5), I get linker error
messages such as
"[Linker Error] Unresolved external 'vtkSphereSource::New()' referenced
from ....."
even though I have set the library path to point to both the subdirectory
containing the VTK lib files and the subdirectory containing
vtkSphereSource.obj
I am not sure that VTK was built correctly. The reason for my suspicion is
that, whilst the Borland make file was running on the Makefile produced by
CMake, the error message "Bad command or file name" appeared many times
during the attempted build. In the CMake GUI, I used the default values
associated with "Build for: Borland Makefile". For "Where is the source
code:" I used the subdirectory where the contents of vtk40Src.zip were
unpacked. The Makefile produced by CMake is attached.
I would be grateful for any help with these problems.
Richard
-------------------------------
Richard Dybowski, 143 Village Way, Pinner, Middlesex HA5 5AA, UK
Tel (mobile): 079 76 25 00 92
-------------- next part --------------
# CMAKE generated Makefile, DO NOT EDIT!
# Generated by "Borland Makefiles" Generator, CMake Version 1.2
# Generated from the following files:
# C:/Kitware/build/vtk40/CMakeCache.txt
# C:/Kitware/src/vtk40/VTK/CMakeLists.txt
# C:/Kitware/src/vtk40/VTK/UseVTK.cmake.in
# C:/Kitware/src/vtk40/VTK/vtkCMakeOptions.cmake
# C:/Kitware/src/vtk40/VTK/vtkConfigure.h.in
# C:/Kitware/src/vtk40/VTK/vtkToolkits.h.in
# C:/PROGRA~1/CMAKE/Modules/Dart.cmake
# C:/PROGRA~1/CMAKE/Modules/FindDart.cmake
# C:/PROGRA~1/CMAKE/Modules/FindOpenGL.cmake
# C:/PROGRA~1/CMAKE/Templates/CMakeBorlandWindowsSystemConfig.cmake
# Suppresses display of executed commands
.SILENT:
CMAKE_MAKEFILE_SOURCES = C:\Kitware\src\vtk40\VTK\CMakeLists.txt C:\Kitware\src\vtk40\VTK\UseVTK.cmake.in C:\Kitware\src\vtk40\VTK\vtkCMakeOptions.cmake C:\Kitware\src\vtk40\VTK\vtkConfigure.h.in C:\Kitware\src\vtk40\VTK\vtkToolkits.h.in C:\PROGRA~1\CMAKE\Modules\Dart.cmake C:\PROGRA~1\CMAKE\Modules\FindDart.cmake C:\PROGRA~1\CMAKE\Modules\FindOpenGL.cmake C:\PROGRA~1\CMAKE\Templates\CMakeBorlandWindowsSystemConfig.cmake C:\Kitware\build\vtk40\CMakeCache.txt
# NMake Makefile generated by cmake
CMAKE_C_COMPILER = "C:\Program Files\Borland\CBuilder5\Bin\\bcc32"
CMAKE_CXX_COMPILER = "C:\Program Files\Borland\CBuilder5\Bin\\bcc32"
CMAKE_COMMAND = C:\PROGRA~1\CMAKE\BIN\CMAKE.EXE
# general varibles used in the makefile
CMAKE_STANDARD_WINDOWS_LIBRARIES = import32.lib
CMAKE_C_FLAGS = -w- -whid -waus -tWM ${CMAKE_ANSI_CFLAGS} -Od -v
CMAKE_OBJECT_FILE_SUFFIX = .obj
CMAKE_EXECUTABLE_SUFFIX = .exe
CMAKE_STATICLIB_SUFFIX = .lib
CMAKE_SHLIB_SUFFIX = .dll
CMAKE_SHLIB_CFLAGS = -tWR
CMAKE_LINKER_FLAGS = -tWM -v
CMAKE_CXX_FLAGS = -P -w- -whid -waus -wpar -tWM -Od -v
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
RM = del
CMAKE_CURRENT_SOURCE = C:\Kitware\src\vtk40\VTK
CMAKE_CURRENT_BINARY = C:\Kitware\build\vtk40
CMAKE_SOURCE_DIR = C:\Kitware\src\vtk40\VTK
CMAKE_BINARY_DIR = C:\Kitware\build\vtk40
INCLUDE_FLAGS = -IC:/Kitware/src/vtk40/VTK -IC:/Kitware/src/vtk40/VTK/Rendering -IC:/Kitware/build/vtk40 -IC:/Kitware/src/vtk40/VTK/Common -IC:/Kitware/src/vtk40/VTK/Filtering -IC:/Kitware/src/vtk40/VTK/Imaging -IC:/Kitware/src/vtk40/VTK/Graphics -IC:/Kitware/src/vtk40/VTK/IO -IC:/Kitware/src/vtk40/VTK/Utilities/zlib -IC:/Kitware/src/vtk40/VTK/Utilities/png -IC:/Kitware/src/vtk40/VTK/Utilities/jpeg -IC:/Kitware/src/vtk40/VTK/Common/Testing/Cxx
#---------------------------------------------------------
# Default target executed when no arguments are given to make, first make sure cmake.depends exists, cmake.check_depends is up-to-date, check the sources, then build the all target
#
default_target:
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) cmake.depends
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) cmake.check_depends
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) -f cmake.check_depends
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) all
TARGETS =
CLEAN_OBJECT_FILES =
# Variable for making default_target in subdirectories.
SUBDIR_BUILD = \
default_target_Wrapping \
default_target_Utilities \
default_target_Common \
default_target_Filtering \
default_target_Imaging \
default_target_Graphics \
default_target_IO \
default_target_Rendering \
default_target_Common_Testing \
default_target_Filtering_Testing \
default_target_Graphics_Testing \
default_target_Imaging_Testing \
default_target_IO_Testing \
default_target_Rendering_Testing
# Targets for making default_target in subdirectories.
default_target_Wrapping:
if not exist "C:\Kitware\build\vtk40\Wrapping\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Wrapping
cd C:\Kitware\build\vtk40\Wrapping
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Utilities: default_target_Wrapping
if not exist "C:\Kitware\build\vtk40\Utilities\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Utilities
cd C:\Kitware\build\vtk40\Utilities
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Common: default_target_Utilities
if not exist "C:\Kitware\build\vtk40\Common\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Common
cd C:\Kitware\build\vtk40\Common
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Filtering: default_target_Common
if not exist "C:\Kitware\build\vtk40\Filtering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Filtering
cd C:\Kitware\build\vtk40\Filtering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Imaging: default_target_Filtering
if not exist "C:\Kitware\build\vtk40\Imaging\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Imaging
cd C:\Kitware\build\vtk40\Imaging
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Graphics: default_target_Imaging
if not exist "C:\Kitware\build\vtk40\Graphics\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Graphics
cd C:\Kitware\build\vtk40\Graphics
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_IO: default_target_Graphics
if not exist "C:\Kitware\build\vtk40\IO\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/IO
cd C:\Kitware\build\vtk40\IO
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Rendering: default_target_IO
if not exist "C:\Kitware\build\vtk40\Rendering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Rendering
cd C:\Kitware\build\vtk40\Rendering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Common_Testing: default_target_Rendering
if not exist "C:\Kitware\build\vtk40\Common\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Common/Testing
cd C:\Kitware\build\vtk40\Common\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Filtering_Testing: default_target_Common_Testing
if not exist "C:\Kitware\build\vtk40\Filtering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Filtering/Testing
cd C:\Kitware\build\vtk40\Filtering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Graphics_Testing: default_target_Filtering_Testing
if not exist "C:\Kitware\build\vtk40\Graphics\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Graphics/Testing
cd C:\Kitware\build\vtk40\Graphics\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Imaging_Testing: default_target_Graphics_Testing
if not exist "C:\Kitware\build\vtk40\Imaging\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Imaging/Testing
cd C:\Kitware\build\vtk40\Imaging\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_IO_Testing: default_target_Imaging_Testing
if not exist "C:\Kitware\build\vtk40\IO\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/IO/Testing
cd C:\Kitware\build\vtk40\IO\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
default_target_Rendering_Testing: default_target_IO_Testing
if not exist "C:\Kitware\build\vtk40\Rendering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building default_target in directory C:/Kitware/build/vtk40/Rendering/Testing
cd C:\Kitware\build\vtk40\Rendering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) default_target
cd C:\Kitware\build\vtk40
# Variable for making clean in subdirectories.
SUBDIR_CLEAN = \
clean_Wrapping \
clean_Utilities \
clean_Common \
clean_Filtering \
clean_Imaging \
clean_Graphics \
clean_IO \
clean_Rendering \
clean_Common_Testing \
clean_Filtering_Testing \
clean_Graphics_Testing \
clean_Imaging_Testing \
clean_IO_Testing \
clean_Rendering_Testing
# Targets for making clean in subdirectories.
clean_Wrapping:
if not exist "C:\Kitware\build\vtk40\Wrapping\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Wrapping
cd C:\Kitware\build\vtk40\Wrapping
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Utilities: clean_Wrapping
if not exist "C:\Kitware\build\vtk40\Utilities\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Utilities
cd C:\Kitware\build\vtk40\Utilities
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Common: clean_Utilities
if not exist "C:\Kitware\build\vtk40\Common\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Common
cd C:\Kitware\build\vtk40\Common
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Filtering: clean_Common
if not exist "C:\Kitware\build\vtk40\Filtering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Filtering
cd C:\Kitware\build\vtk40\Filtering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Imaging: clean_Filtering
if not exist "C:\Kitware\build\vtk40\Imaging\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Imaging
cd C:\Kitware\build\vtk40\Imaging
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Graphics: clean_Imaging
if not exist "C:\Kitware\build\vtk40\Graphics\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Graphics
cd C:\Kitware\build\vtk40\Graphics
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_IO: clean_Graphics
if not exist "C:\Kitware\build\vtk40\IO\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/IO
cd C:\Kitware\build\vtk40\IO
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Rendering: clean_IO
if not exist "C:\Kitware\build\vtk40\Rendering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Rendering
cd C:\Kitware\build\vtk40\Rendering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Common_Testing: clean_Rendering
if not exist "C:\Kitware\build\vtk40\Common\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Common/Testing
cd C:\Kitware\build\vtk40\Common\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Filtering_Testing: clean_Common_Testing
if not exist "C:\Kitware\build\vtk40\Filtering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Filtering/Testing
cd C:\Kitware\build\vtk40\Filtering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Graphics_Testing: clean_Filtering_Testing
if not exist "C:\Kitware\build\vtk40\Graphics\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Graphics/Testing
cd C:\Kitware\build\vtk40\Graphics\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Imaging_Testing: clean_Graphics_Testing
if not exist "C:\Kitware\build\vtk40\Imaging\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Imaging/Testing
cd C:\Kitware\build\vtk40\Imaging\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_IO_Testing: clean_Imaging_Testing
if not exist "C:\Kitware\build\vtk40\IO\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/IO/Testing
cd C:\Kitware\build\vtk40\IO\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
clean_Rendering_Testing: clean_IO_Testing
if not exist "C:\Kitware\build\vtk40\Rendering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building clean in directory C:/Kitware/build/vtk40/Rendering/Testing
cd C:\Kitware\build\vtk40\Rendering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) clean
cd C:\Kitware\build\vtk40
# Variable for making depend in subdirectories.
SUBDIR_DEPEND = \
depend_Wrapping \
depend_Utilities \
depend_Common \
depend_Filtering \
depend_Imaging \
depend_Graphics \
depend_IO \
depend_Rendering \
depend_Common_Testing \
depend_Filtering_Testing \
depend_Graphics_Testing \
depend_Imaging_Testing \
depend_IO_Testing \
depend_Rendering_Testing
# Targets for making depend in subdirectories.
depend_Wrapping:
if not exist "C:\Kitware\build\vtk40\Wrapping\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Wrapping
cd C:\Kitware\build\vtk40\Wrapping
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Utilities: depend_Wrapping
if not exist "C:\Kitware\build\vtk40\Utilities\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Utilities
cd C:\Kitware\build\vtk40\Utilities
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Common: depend_Utilities
if not exist "C:\Kitware\build\vtk40\Common\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Common
cd C:\Kitware\build\vtk40\Common
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Filtering: depend_Common
if not exist "C:\Kitware\build\vtk40\Filtering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Filtering
cd C:\Kitware\build\vtk40\Filtering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Imaging: depend_Filtering
if not exist "C:\Kitware\build\vtk40\Imaging\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Imaging
cd C:\Kitware\build\vtk40\Imaging
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Graphics: depend_Imaging
if not exist "C:\Kitware\build\vtk40\Graphics\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Graphics
cd C:\Kitware\build\vtk40\Graphics
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_IO: depend_Graphics
if not exist "C:\Kitware\build\vtk40\IO\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/IO
cd C:\Kitware\build\vtk40\IO
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Rendering: depend_IO
if not exist "C:\Kitware\build\vtk40\Rendering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Rendering
cd C:\Kitware\build\vtk40\Rendering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Common_Testing: depend_Rendering
if not exist "C:\Kitware\build\vtk40\Common\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Common/Testing
cd C:\Kitware\build\vtk40\Common\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Filtering_Testing: depend_Common_Testing
if not exist "C:\Kitware\build\vtk40\Filtering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Filtering/Testing
cd C:\Kitware\build\vtk40\Filtering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Graphics_Testing: depend_Filtering_Testing
if not exist "C:\Kitware\build\vtk40\Graphics\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Graphics/Testing
cd C:\Kitware\build\vtk40\Graphics\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Imaging_Testing: depend_Graphics_Testing
if not exist "C:\Kitware\build\vtk40\Imaging\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Imaging/Testing
cd C:\Kitware\build\vtk40\Imaging\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_IO_Testing: depend_Imaging_Testing
if not exist "C:\Kitware\build\vtk40\IO\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/IO/Testing
cd C:\Kitware\build\vtk40\IO\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
depend_Rendering_Testing: depend_IO_Testing
if not exist "C:\Kitware\build\vtk40\Rendering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building depend in directory C:/Kitware/build/vtk40/Rendering/Testing
cd C:\Kitware\build\vtk40\Rendering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) depend
cd C:\Kitware\build\vtk40
# Variable for making install in subdirectories.
SUBDIR_INSTALL = \
install_Wrapping \
install_Utilities \
install_Common \
install_Filtering \
install_Imaging \
install_Graphics \
install_IO \
install_Rendering \
install_Common_Testing \
install_Filtering_Testing \
install_Graphics_Testing \
install_Imaging_Testing \
install_IO_Testing \
install_Rendering_Testing
# Targets for making install in subdirectories.
install_Wrapping:
if not exist "C:\Kitware\build\vtk40\Wrapping\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Wrapping
cd C:\Kitware\build\vtk40\Wrapping
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Utilities: install_Wrapping
if not exist "C:\Kitware\build\vtk40\Utilities\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Utilities
cd C:\Kitware\build\vtk40\Utilities
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Common: install_Utilities
if not exist "C:\Kitware\build\vtk40\Common\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Common
cd C:\Kitware\build\vtk40\Common
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Filtering: install_Common
if not exist "C:\Kitware\build\vtk40\Filtering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Filtering
cd C:\Kitware\build\vtk40\Filtering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Imaging: install_Filtering
if not exist "C:\Kitware\build\vtk40\Imaging\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Imaging
cd C:\Kitware\build\vtk40\Imaging
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Graphics: install_Imaging
if not exist "C:\Kitware\build\vtk40\Graphics\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Graphics
cd C:\Kitware\build\vtk40\Graphics
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_IO: install_Graphics
if not exist "C:\Kitware\build\vtk40\IO\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/IO
cd C:\Kitware\build\vtk40\IO
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Rendering: install_IO
if not exist "C:\Kitware\build\vtk40\Rendering\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Rendering
cd C:\Kitware\build\vtk40\Rendering
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Common_Testing: install_Rendering
if not exist "C:\Kitware\build\vtk40\Common\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Common/Testing
cd C:\Kitware\build\vtk40\Common\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Filtering_Testing: install_Common_Testing
if not exist "C:\Kitware\build\vtk40\Filtering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Filtering/Testing
cd C:\Kitware\build\vtk40\Filtering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Graphics_Testing: install_Filtering_Testing
if not exist "C:\Kitware\build\vtk40\Graphics\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Graphics/Testing
cd C:\Kitware\build\vtk40\Graphics\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Imaging_Testing: install_Graphics_Testing
if not exist "C:\Kitware\build\vtk40\Imaging\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Imaging/Testing
cd C:\Kitware\build\vtk40\Imaging\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_IO_Testing: install_Imaging_Testing
if not exist "C:\Kitware\build\vtk40\IO\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/IO/Testing
cd C:\Kitware\build\vtk40\IO\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
install_Rendering_Testing: install_IO_Testing
if not exist "C:\Kitware\build\vtk40\Rendering\Testing\$(NULL)" $(MAKE) $(MAKESILENT) rebuild_cache
echo Building install in directory C:/Kitware/build/vtk40/Rendering/Testing
cd C:\Kitware\build\vtk40\Rendering\Testing
$(MAKE) -$(MAKEFLAGS) $(MAKESILENT) install
cd C:\Kitware\build\vtk40
#---------------------------------------------------------
# Default build rule
#
all: cmake.depends $(TARGETS) $(SUBDIR_BUILD)
#---------------------------------------------------------
# remove generated files
#
clean: $(SUBDIR_CLEAN)
-@ $(RM) $(CLEAN_OBJECT_FILES) $(EXECUTABLES) $(TARGETS) $(GENERATED_QT_FILES) $(GENERATED_FLTK_FILES)
#---------------------------------------------------------
# Rule to build the cmake.depends and Makefile as side effect, if a source cmakelist file is out of date.
#
cmake.depends: $(CMAKE_MAKEFILE_SOURCES)
echo $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
$(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
#---------------------------------------------------------
# Rule to build the cmake.check_depends and Makefile as side effect, if any source file has changed.
#
cmake.check_depends:
echo $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
$(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
#---------------------------------------------------------
# Rule to force the build of cmake.depends
#
depend: $(SUBDIR_DEPEND)
echo $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
$(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
#---------------------------------------------------------
# Rule to force the build of cmake.depends in the current directory only.
#
dependlocal:
echo $(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
$(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
#---------------------------------------------------------
# Rebuild CMakeCache.txt file
#
rebuild_cache: $(CMAKE_BINARY_DIR)/CMakeCache.txt
echo $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
#---------------------------------------------------------
# Create CMakeCache.txt file
#
$(CMAKE_BINARY_DIR)/CMakeCache.txt:
echo $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
#---------------------------------------------------------
# Rule to keep make from removing Makefiles if control-C is hit during a run of cmake.
#
.PRECIOUS: Makefile cmake.depends
# Rules to build $(CMAKE_OBJECT_FILE_SUFFIX) files from their sources:
#---------------------------------------------------------
# run any tests
#
test:
echo C:/PROGRA~1/CMAKE/BIN/ctest.exe
C:/PROGRA~1/CMAKE/BIN/ctest.exe
INSTALL = C:/PROGRA~1/CMAKE/Templates/install-sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL) -m 644
install: $(SUBDIR_INSTALL)
@echo "Installing ..."
@if [ ! -d $(DESTDIR)/usr/local/include/vtk ] ; then \
echo "Making directory $(DESTDIR)/usr/local/include/vtk "; \
mkdir -p $(DESTDIR)/usr/local/include/vtk; \
chmod 755 $(DESTDIR)/usr/local/include/vtk; \
else true; \
fi
@ echo "Installing vtkConfigure.h "
@if [ -f vtkConfigure.h ] ; then \
$(INSTALL_DATA) vtkConfigure.h $(DESTDIR)/usr/local/include/vtk; \
elif [ -f $(CMAKE_CURRENT_SOURCE)/vtkConfigure.h ] ; then \
$(INSTALL_DATA) $(CMAKE_CURRENT_SOURCE)/vtkConfigure.h $(DESTDIR)/usr/local/include/vtk; \
else \
echo " ERROR!!! Unable to find: vtkConfigure.h "; \
fi
@ echo "Installing vtkToolkits.h "
@if [ -f vtkToolkits.h ] ; then \
$(INSTALL_DATA) vtkToolkits.h $(DESTDIR)/usr/local/include/vtk; \
elif [ -f $(CMAKE_CURRENT_SOURCE)/vtkToolkits.h ] ; then \
$(INSTALL_DATA) $(CMAKE_CURRENT_SOURCE)/vtkToolkits.h $(DESTDIR)/usr/local/include/vtk; \
else \
echo " ERROR!!! Unable to find: vtkToolkits.h "; \
fi
@ echo "Installing UseVTK.cmake "
@if [ -f UseVTK.cmake ] ; then \
$(INSTALL_DATA) UseVTK.cmake $(DESTDIR)/usr/local/include/vtk; \
elif [ -f $(CMAKE_CURRENT_SOURCE)/UseVTK.cmake ] ; then \
$(INSTALL_DATA) $(CMAKE_CURRENT_SOURCE)/UseVTK.cmake $(DESTDIR)/usr/local/include/vtk; \
else \
echo " ERROR!!! Unable to find: UseVTK.cmake "; \
fi
@ echo "Installing CMakeCache.txt "
@if [ -f CMakeCache.txt ] ; then \
$(INSTALL_DATA) CMakeCache.txt $(DESTDIR)/usr/local/include/vtk; \
elif [ -f $(CMAKE_CURRENT_SOURCE)/CMakeCache.txt ] ; then \
$(INSTALL_DATA) $(CMAKE_CURRENT_SOURCE)/CMakeCache.txt $(DESTDIR)/usr/local/include/vtk; \
else \
echo " ERROR!!! Unable to find: CMakeCache.txt "; \
fi
!include cmake.depends
More information about the vtkusers
mailing list