Commit 2d323fc4 authored by VTK Developers's avatar VTK Developers Committed by Brad King
Browse files

Remove trailing whitespace from all source files

Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
are maintained outside VTK.

Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
Co-Author: Chris Harris <chris.harris@kitware.com>
Co-Author: Brad King <brad.king@kitware.com>
parent 144f03ca

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
## List all test sources
set(MyTests
TestFlashReader.cxx
TestEnzoReader.cxx
TestEnzoReader.cxx
)
## Create test source list
create_test_sourcelist(Tests ${vtk-module}CxxTests.cxx
${MyTests}
${MyTests}
EXTRA_INCLUDE vtkTestDriver.h
)
vtk_module_test_executable(${vtk-module}CxxTests ${Tests})
set(TestsToRun ${Tests})
remove(TestsToRun ${vtk-module}CxxTests.cxx)
......
vtk_module(vtkAMRCore
GROUPS
StandAlone
DEPENDS
DEPENDS
vtkParallelCore
vtkFiltersGeneral
vtkhdf5
......
......@@ -225,7 +225,7 @@ bool vtkAMRResampleFilter::FoundDonor(
this->NumberOfBlocksTested++;
donorGrid->GetBounds(gbounds);
if ((q[0] < gbounds[0]) || (q[0] > gbounds[1]) ||
(q[1] < gbounds[2]) || (q[1] > gbounds[3]) ||
(q[1] < gbounds[2]) || (q[1] > gbounds[3]) ||
(q[2] < gbounds[4]) || (q[2] > gbounds[5]))
{
return false;
......@@ -467,7 +467,7 @@ int vtkAMRResampleFilter::ProbeGridPointInAMR(
{
assert( "pre: donorCellIdx is invalid" &&
(donorCellIdx >= 0) && (donorCellIdx < donorGrid->GetNumberOfCells()) );
this->NumberOfTimesFoundOnDonorLevel++;
// Lets see if the cell is blanked - if it isn't then we found the highest
// resolution grid that contains the point
......@@ -544,7 +544,7 @@ int vtkAMRResampleFilter::ProbeGridPointInAMR(
return donorCellIdx;
}
// Lets see if this is the highest resolution grid that contains the
// Lets see if this is the highest resolution grid that contains the
// point
if (donorGrid->IsCellVisible(donorCellIdx))
{
......@@ -586,7 +586,7 @@ int vtkAMRResampleFilter::ProbeGridPointInAMR(
}
//-----------------------------------------------------------------------------
void vtkAMRResampleFilter::SearchGridAncestors(double q[3],
void vtkAMRResampleFilter::SearchGridAncestors(double q[3],
vtkOverlappingAMR *amrds,
unsigned int &level,
unsigned int &gridId,
......@@ -620,7 +620,7 @@ void vtkAMRResampleFilter::SearchGridAncestors(double q[3],
cellId = -1;
}
//-----------------------------------------------------------------------------
void vtkAMRResampleFilter::SearchGridDecendants(double q[3],
void vtkAMRResampleFilter::SearchGridDecendants(double q[3],
vtkOverlappingAMR *amrds,
unsigned int maxLevel,
unsigned int &level,
......@@ -670,7 +670,7 @@ void vtkAMRResampleFilter::SearchGridDecendants(double q[3],
//-----------------------------------------------------------------------------
int vtkAMRResampleFilter::
ProbeGridPointInAMRGraph(double q[3], vtkUniformGrid *&donorGrid,
unsigned int &donorLevel, unsigned int &donorGridId,
unsigned int &donorLevel, unsigned int &donorGridId,
vtkOverlappingAMR *amrds, unsigned int maxLevel)
{
assert( "pre: AMR dataset is NULL" && amrds != NULL );
......@@ -771,7 +771,7 @@ void vtkAMRResampleFilter::TransferToGridNodes(
{
g->GetPoint( pIdx, qPoint );
donorCellIdx =
this->ProbeGridPointInAMRGraph(qPoint,donorGrid,
this->ProbeGridPointInAMRGraph(qPoint,donorGrid,
donorLevel, donorGridId,
this->AMRMetaData,maxLevelToLoad );
if( donorCellIdx != -1 )
......@@ -795,11 +795,11 @@ void vtkAMRResampleFilter::TransferToGridNodes(
for(pIdx = 0; pIdx < g->GetNumberOfPoints(); ++pIdx )
{
g->GetPoint( pIdx, qPoint );
donorCellIdx =
this->ProbeGridPointInAMR(qPoint,donorGrid, donorLevel,
this->ProbeGridPointInAMR(qPoint,donorGrid, donorLevel,
amrds,maxLevelToLoad );
if( donorCellIdx != -1 )
{
this->AverageLevel += donorLevel;
......@@ -1074,7 +1074,7 @@ void vtkAMRResampleFilter::AdjustNumberOfSamplesInRegion(
a[2] = fabs(this->BiasVector[2]);
// Find the max component
int bdir =
int bdir =
(a[0] > a[1]) ? ((a[0] > a[2]) ? 0 : 2) : ((a[1] > a[2]) ? 1 : 2);
if (bdir == 0)
......
......@@ -216,7 +216,7 @@ class VTKAMRCORE_EXPORT vtkAMRResampleFilter : public vtkMultiBlockDataSetAlgori
// first. The method returns the ID of the cell w.r.t. the donorGrid that
// contains the probe point q. - Makes use of Parent/Child Info
int ProbeGridPointInAMRGraph(
double q[3],vtkUniformGrid *&donorGrid,
double q[3],vtkUniformGrid *&donorGrid,
unsigned int &donorLevel, unsigned int &donorGridId,
vtkOverlappingAMR *amrds, unsigned int maxLevel );
......@@ -325,7 +325,7 @@ class VTKAMRCORE_EXPORT vtkAMRResampleFilter : public vtkMultiBlockDataSetAlgori
// Find a decendant of the specified grid that contains the point.
// If none is found then the original grid information is returned.
// The search is limited to levels < maxLevel
void SearchGridDecendants(double q[3],
void SearchGridDecendants(double q[3],
vtkOverlappingAMR *amrds,
unsigned int maxLevel,
unsigned int &level,
......@@ -335,7 +335,7 @@ class VTKAMRCORE_EXPORT vtkAMRResampleFilter : public vtkMultiBlockDataSetAlgori
//Description:
// Find an ancestor of the specified grid that contains the point.
// If none is found then the original grid information is returned
void SearchGridAncestors(double q[3],
void SearchGridAncestors(double q[3],
vtkOverlappingAMR *amrds,
unsigned int &level,
unsigned int &gridId,
......
......@@ -19,7 +19,7 @@ SET(CTEST_CUSTOM_MEMCHECK_IGNORE
HeaderTesting-Views
HeaderTesting-VolumeRendering
HeaderTesting-Widgets
PrintSelf-Charts
PrintSelf-Common
PrintSelf-Filtering
......@@ -51,7 +51,7 @@ SET(CTEST_CUSTOM_MEMCHECK_IGNORE
TestSetObjectMacro-Views
TestSetObjectMacro-VolumeRendering
TestSetObjectMacro-Widgets
# this one runs python which then runs two program so no memory checking there
Sockets-image
)
......@@ -148,7 +148,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
".*warning.*relational operator.*always evaluates to.*"
".*warning.*controlling expression is constant"
"[Qq]t.*h.*warning.*types cannot be declared in anonymous unions"
# QT on HP-UX uses -ldl while VTK uses -dldl.
"aCC: warning 983: The -ldl library specified on the command line is also added automatically by the compiler driver."
......@@ -224,8 +224,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
# VPIC has endianness checks that are fragile, suppress warnings generated by them for now
"Utilities.VPIC.*warning"
#boost
"boost.*warning.*assignment operator could not be generated"
"boost.*warning.*type name first seen using .* now seen using .*"
......
......@@ -14,7 +14,7 @@
MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR COMMENT)
IF("HAVE_${VAR}" MATCHES "^HAVE_${VAR}$")
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
"-D${VAR} ${CMAKE_REQUIRED_FLAGS}")
IF(CMAKE_REQUIRED_LIBRARIES)
SET(CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES
......@@ -44,14 +44,14 @@ MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR COMMENT)
IF(HAVE_${VAR})
SET(${VAR} 1 CACHE INTERNAL "Test ${COMMENT}")
MESSAGE(STATUS "Performing Test ${COMMENT} - Success")
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log
"Performing C++ SOURCE FILE Test ${COMMENT} succeded with the following output:\n"
"${OUTPUT}\n"
"Source file was:\n${SOURCE}\n")
ELSE(HAVE_${VAR})
MESSAGE(STATUS "Performing Test ${COMMENT} - Failed")
SET(${VAR} "" CACHE INTERNAL "Test ${COMMENT}")
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log
"Performing C++ SOURCE FILE Test ${COMMENT} failed with the following output:\n"
"${OUTPUT}\n"
"Source file was:\n${SOURCE}\n")
......
......@@ -2,12 +2,12 @@
# Try to find nVidia's Cg compiler, runtime libraries, and include path.
# Once done this will define
#
# CG_FOUND - system has NVidia Cg and it can be used.
# CG_FOUND - system has NVidia Cg and it can be used.
# CG_INCLUDE_PATH = directory where cg.h resides
# CG_LIBRARY = full path to libCg.so (Cg.DLL on win32)
# CG_GL_LIBRARY = full path to libCgGL.so (CgGL.dll on win32)
# CG_COMPILER = full path to cgc (cgc.exe on win32)
#
#
# On OSX default to using the framework version of Cg.
......
......@@ -21,7 +21,7 @@ if(WIN32) # The only platform it makes sense to check for DirectX SDK
)
mark_as_advanced(DirectX_INCLUDE_DIR)
if(DirectX_INCLUDE_DIR)
set(DirectX_ROOT_DIR "${DirectX_INCLUDE_DIR}/..")
set(DirectX_ROOT_DIR "${DirectX_INCLUDE_DIR}/..")
endif(DirectX_INCLUDE_DIR)
# dlls are in DirectX_ROOT_DIR/Developer Runtime/x64|x86
......@@ -29,10 +29,10 @@ if(WIN32) # The only platform it makes sense to check for DirectX SDK
set(DirectX_LIBRARY_PATHS)
if(CMAKE_CL_64)
set(DirectX_LIBRARY_PATHS
set(DirectX_LIBRARY_PATHS
"${DirectX_ROOT_DIR}/Lib/x64")
else(CMAKE_CL_64)
set(DirectX_LIBRARY_PATHS
set(DirectX_LIBRARY_PATHS
"${DirectX_ROOT_DIR}/Lib/x86" "${DirectX_ROOT_DIR}/Lib")
endif(CMAKE_CL_64)
......
......@@ -117,10 +117,10 @@ IF(FFMPEG_INCLUDE_DIR)
IF(FFMPEG_avcodec_LIBRARY)
IF(FFMPEG_avutil_LIBRARY)
SET( FFMPEG_FOUND "YES" )
SET( FFMPEG_BASIC_LIBRARIES
${FFMPEG_avcodec_LIBRARY}
SET( FFMPEG_BASIC_LIBRARIES
${FFMPEG_avcodec_LIBRARY}
${FFMPEG_avformat_LIBRARY}
${FFMPEG_avutil_LIBRARY}
${FFMPEG_avutil_LIBRARY}
)
# swscale is always a part of newer ffmpeg distros
......
......@@ -25,7 +25,7 @@ FIND_PATH(GL2PS_INCLUDE_DIR gl2ps.h)
FIND_LIBRARY(GL2PS_LIBRARY NAMES gl2ps )
# handle the QUIETLY and REQUIRED arguments and set GL2PS_FOUND to TRUE if
# handle the QUIETLY and REQUIRED arguments and set GL2PS_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GL2PS DEFAULT_MSG GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
......
......@@ -40,11 +40,11 @@ if ( NOT LIBPROJ4_INCLUDE_DIR OR NOT LIBPROJ4_LIBRARIES OR NOT LIBPROJ4_FOUND )
NO_DEFAULT_PATH
)
if ( NOT LIBPROJ4_INCLUDE_DIR OR NOT LIBPROJ4_LIBRARIES )
if ( NOT LIBPROJ4_INCLUDE_DIR OR NOT LIBPROJ4_LIBRARIES )
if ( LIBPROJ4_REQUIRED )
message( FATAL_ERROR "LIBPROJ4 is required. Set LIBPROJ4_DIR" )
endif ( LIBPROJ4_REQUIRED )
else ( NOT LIBPROJ4_INCLUDE_DIR OR NOT LIBPROJ4_LIBRARIES )
else ( NOT LIBPROJ4_INCLUDE_DIR OR NOT LIBPROJ4_LIBRARIES )
set( LIBPROJ4_FOUND 1 )
mark_as_advanced( LIBPROJ4_FOUND )
endif ( NOT LIBPROJ4_INCLUDE_DIR OR NOT LIBPROJ4_LIBRARIES )
......
......@@ -58,10 +58,10 @@ ELSE(NOT WIN32)
SET(MATLAB_LIB_DIR ${MATLAB_ROOT_DIR}/extern/lib/${MATLAB_DIR_PREFIX}/microsoft CACHE FILEPATH DOCSTRING)
ENDIF(NOT WIN32)
# Find mex executable
# Find mex executable
IF(NOT WIN32)
FIND_PROGRAM(MATLAB_MEX_EXECUTABLE mex ${MATLAB_ROOT_DIR} DOC "Path to Matlab mex compiler")
FIND_PROGRAM(MATLAB_MEX_EXECUTABLE mex ${MATLAB_ROOT_DIR} DOC "Path to Matlab mex compiler")
ELSE(NOT WIN32)
FIND_FILE(MATLAB_MEX_EXECUTABLE mex.bat ${MATLAB_ROOT_DIR} DOC "Path to Matlab mex compiler")
ENDIF(NOT WIN32)
......
#
# Find the MySQL client includes and library
#
#
# This module defines
# MYSQL_INCLUDE_DIRECTORIES, where to find mysql.h
......@@ -10,7 +10,7 @@
# also defined, but not for general use are
# MYSQL_LIBRARY, where to find the MySQL library.
#
#
# XXX NOTE: This is not yet for general use. I'm pretty sure there
# are other libraries I have to link against at the same time.
#
......@@ -31,7 +31,7 @@ FIND_PATH(MYSQL_INCLUDE_DIRECTORIES mysql.h
DOC "Specify the directory containing mysql.h."
)
FIND_LIBRARY( MYSQL_LIBRARY
FIND_LIBRARY( MYSQL_LIBRARY
NAMES mysql libmysql mysqlclient
PATHS
/usr/lib
......@@ -53,7 +53,7 @@ FIND_LIBRARY( MYSQL_LIBRARY
IF (NOT WIN32)
FIND_LIBRARY( MYSQL_EXTRA_LIBRARIES
NAMES z zlib
PATHS /usr/lib /usr/local/lib
PATHS /usr/lib /usr/local/lib
DOC "If more libraries are necessary to link in a MySQL client (typically zlib), specify them here.")
ELSE (NOT WIN32)
SET( MYSQL_EXTRA_LIBRARIES "" )
......
#
#
# Find the ODBC driver manager includes and library.
#
#
# ODBC is an open standard for connecting to different databases in a
# semi-vendor-independent fashion. First you install the ODBC driver
# manager. Then you need a driver for each separate database you want
# to connect to (unless a generic one works). VTK includes neither
# the driver manager nor the vendor-specific drivers: you have to find
# those yourself.
#
#
# This module defines
# ODBC_INCLUDE_DIRECTORIES, where to find sql.h
# ODBC_LIBRARIES, the libraries to link against to use ODBC
......@@ -29,7 +29,7 @@ FIND_PATH(ODBC_INCLUDE_DIRECTORIES sql.h
DOC "Specify the directory containing sql.h."
)
FIND_LIBRARY( ODBC_LIBRARY
FIND_LIBRARY( ODBC_LIBRARY
NAMES odbc iodbc unixodbc
PATHS
/usr/lib
......
......@@ -7,9 +7,9 @@
IF (NOT OSMESA_INCLUDE_DIR)
FIND_PATH(OSMESA_INCLUDE_DIR GL/osmesa.h
/usr/openwin/share/include
/opt/graphics/OpenGL/include
FIND_PATH(OSMESA_INCLUDE_DIR GL/osmesa.h
/usr/openwin/share/include
/opt/graphics/OpenGL/include
)
ENDIF (NOT OSMESA_INCLUDE_DIR)
......@@ -17,8 +17,8 @@ ENDIF (NOT OSMESA_INCLUDE_DIR)
# in the main Mesa library
IF (NOT OSMESA_LIBRARY)
FIND_LIBRARY(OSMESA_LIBRARY OSMesa
/opt/graphics/OpenGL/lib
/usr/openwin/lib
/opt/graphics/OpenGL/lib
/usr/openwin/lib
)
ENDIF (NOT OSMESA_LIBRARY)
......
#
# - This module locates an installed R distribution.
# - This module locates an installed R distribution.
#
# Defines the following:
#
# R_INCLUDE_DIR - Path to R include directory
# R_LIBRARY - Path to R library
# R_LIBRARY - Path to R library
# R_COMMAND - Path to R command
#
......
......@@ -18,11 +18,11 @@
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
......@@ -37,12 +37,12 @@ INCLUDE(FindWish)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TK_WISH_PATH "${TK_WISH}" PATH)
GET_FILENAME_COMPONENT(TK_WISH_PATH_PARENT "${TK_WISH_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*wish([0-9]\\.*[0-9]).*$" "\\1" TK_WISH_VERSION "${TK_WISH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
......@@ -50,12 +50,12 @@ GET_FILENAME_COMPONENT(TK_INCLUDE_PATH_PARENT "${TK_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_LIBRARY_VERSION "${TCL_LIBRARY}")
GET_FILENAME_COMPONENT(TK_LIBRARY_PATH "${TK_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TK_LIBRARY_PATH_PARENT "${TK_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tk([0-9]\\.*[0-9]).*$" "\\1" TK_LIBRARY_VERSION "${TK_LIBRARY}")
SET(TCLTK_POSSIBLE_LIB_PATHS
......@@ -65,14 +65,14 @@ SET(TCLTK_POSSIBLE_LIB_PATHS
"${TK_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
"${TK_WISH_PATH_PARENT}/lib"
/usr/lib
/usr/lib
/usr/local/lib
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
......@@ -83,33 +83,33 @@ IF(WIN32)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl
NAMES
tcl
tcl${TK_LIBRARY_VERSION} tcl${TCL_TCLSH_VERSION} tcl${TK_WISH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl80 tcl8.0
PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
)
FIND_LIBRARY(TK_LIBRARY
NAMES
FIND_LIBRARY(TK_LIBRARY
NAMES
tk
tk${TCL_LIBRARY_VERSION} tk${TCL_TCLSH_VERSION} tk${TK_WISH_VERSION}
tk86 tk8.6
tk85 tk8.5
tk84 tk8.4
tk83 tk8.3
tk82 tk8.2
tk85 tk8.5
tk84 tk8.4
tk83 tk8.3
tk82 tk8.2
tk80 tk8.0
PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
)
......@@ -141,8 +141,8 @@ SET(TCLTK_POSSIBLE_INCLUDE_PATHS
"${TK_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
"${TK_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
${TK_FRAMEWORK_INCLUDES}
${TCL_FRAMEWORK_INCLUDES}
${TK_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
"${TK_WISH_PATH_PARENT}/include"
/usr/include
......@@ -172,27 +172,27 @@ IF(WIN32)
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
NO_DEFAULT_PATH
)
FIND_PATH(TCL_INCLUDE_PATH
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
)
FIND_PATH(TK_INCLUDE_PATH
FIND_PATH(TK_INCLUDE_PATH
NAMES tk.h
PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
NO_DEFAULT_PATH
)
FIND_PATH(TK_INCLUDE_PATH
FIND_PATH(TK_INCLUDE_PATH
NAMES tk.h
PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
)
# handle the QUIETLY and REQUIRED arguments and set TCL_FOUND to TRUE if
# handle the QUIETLY and REQUIRED arguments and set TCL_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
......
/*
This program accepts one argument which must be one of the following:
PATH_SEP return the path separator for the platform
PATH_SLASH return the directory separator
LDD return the name of the "ldd" equivalent for the platform
......@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
argv[0]);
fprintf(stdout, " LDPATH \"%s\"\n", CMAKE_SHARED_LDPATH);
fprintf(stdout, " PATH_SEP \"%s\"\n", CMAKE_SHARED_PATH_SEP);
fprintf(stdout, " PATH_SLASH \"%s\"\n", CMAKE_SHARED_PATH_SLASH);
fprintf(stdout, " PATH_SLASH \"%s\"\n", CMAKE_SHARED_PATH_SLASH);
fprintf(stdout, " LDD \"%s\"\n", CMAKE_SHARED_LDD);
fprintf(stdout, " LDD_FLAGS \"%s\"\n", CMAKE_SHARED_LDD_FLAGS);
fprintf(stdout, "\n");
......@@ -160,4 +160,4 @@ int main(int argc, char *argv[])
return 1;
}
......@@ -13,7 +13,7 @@ MACRO(TESTNO_ICC_IDYNAMIC_NEEDED VARIABLE LOCAL_TEST_DIR)
"-i_dynamic not needed, (Not Intel icc, or this version of Intel icc does not conflict with OS glibc.")
MESSAGE(STATUS "-i_dynamic not needed, (Not Intel icc, or this version of Intel icc does not conflict with OS glibc.")
ELSE(${VARIABLE}) #The compiler is not Intel icc
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log
"The compiler ERROR--This should never happen")
MESSAGE(STATUS "The compiler ERROR--This should never happen")
ENDIF(${VARIABLE})
......
......@@ -14,17 +14,17 @@
# Otherwise check if the output is evaluated by the calling CMake code. If so,
# check what the source file would have printed when called with the given arguments.
# The HAVE_CMAKE_REQUIRE_LARGE_FILE_SUPPORT variable holds the build result for this TRY_RUN().
#
#
# Source file : /gpfs/gpfs0/home/gevecb/alex/paraview/build/VTK-head-bgl-new/CMakeFiles/CMakeTmp/src.cxx
# Executable : /gpfs/gpfs0/home/gevecb/alex/paraview/build/VTK-head-bgl-new/cmTryCompileExec-CMAKE_REQUIRE_LARGE_FILE_SUPPORT
# Run arguments :
# Run arguments :
# Called from: [1] /gpfs/gpfs0/home/gevecb/alex/paraview/src/ParaView3/VTK/CMakeLists.txt
SET( CMAKE_REQUIRE_LARGE_FILE_SUPPORT
SET( CMAKE_REQUIRE_LARGE_FILE_SUPPORT
"1"
CACHE STRING "Result from TRY_RUN" FORCE)
SET( CMAKE_REQUIRE_LARGE_FILE_SUPPORT__TRYRUN_OUTPUT
SET( CMAKE_REQUIRE_LARGE_FILE_SUPPORT__TRYRUN_OUTPUT
"NOTFOUND"
CACHE STRING "Output from TRY_RUN" FORCE)
......@@ -39,18 +39,18 @@ SET( CMAKE_REQUIRE_LARGE_FILE_SUPPORT__TRYRUN_OUTPUT
# Otherwise check if the output is evaluated by the calling CMake code. If so,
# check what the source file would have printed when called with the given arguments.
# The SHARED_LIBRARY_PATH_INFO_COMPILED variable holds the build result for this TRY_RUN().
#
#
# Source file : /gpfs/gpfs0/home/gevecb/alex/paraview/src/ParaView3/VTK/CMake/SharedLibraryPathInfo.cxx
# Executable : /gpfs/gpfs0/home/gevecb/alex/paraview/build/VTK-head-bgl-new/cmTryCompileExec-SHARED_LIBRARY_PATH_TYPE
# Run arguments : LDPATH
# Called from: [2] /gpfs/gpfs0/home/gevecb/alex/paraview/src/ParaView3/VTK/CMake/SharedLibraryPathVarName.cmake
# [1] /gpfs/gpfs0/home/gevecb/alex/paraview/src/ParaView3/VTK/CMakeLists.txt
SET( SHARED_LIBRARY_PATH_TYPE
SET( SHARED_LIBRARY_PATH_TYPE
"0"
CACHE STRING "Result from TRY_RUN" FORCE)
SET( SHARED_LIBRARY_PATH_TYPE__TRYRUN_OUTPUT
SET( SHARED_LIBRARY_PATH_TYPE__TRYRUN_OUTPUT
""
CACHE STRING "Output from TRY_RUN" FORCE)
......@@ -60,14 +60,14 @@ SET( SHARED_LIBRARY_PATH_TYPE__TRYRUN_OUTPUT
# target platform. If so, set VTK_TYPE_CHAR_IS_SIGNED to
# the exit code (in many cases 0 for success), otherwise enter "FAILED_TO_RUN".
# The VTK_TYPE_CHAR_IS_SIGNED_COMPILED variable holds the build result for this TRY_RUN().