cmake-2.8.12.2/.gitattributes000644 000765 000024 00000001071 12266011633 016527 0ustar00kitwarestaff000000 000000 .gitattributes export-ignore .hooks* export-ignore bootstrap crlf=input configure crlf=input *.[1-9] crlf=input *.sh crlf=input *.sh.in crlf=input *.bat -crlf *.bat.in -crlf *.dsp -crlf *.dsptemplate -crlf *.dsw -crlf *.sln -crlf *.vcproj -crlf *.c whitespace=tab-in-indent *.h whitespace=tab-in-indent *.cxx whitespace=tab-in-indent *.txt whitespace=tab-in-indent *.cmake whitespace=tab-in-indent cmake-2.8.12.2/.hooks-config.bash000644 000765 000024 00000001542 12266011633 017142 0ustar00kitwarestaff000000 000000 #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg) # during git commit after local hooks have been installed. hooks_chain_pre_commit="Utilities/Git/pre-commit" hooks_chain_commit_msg="Utilities/Git/commit-msg" hooks_chain_prepare_commit_msg="Utilities/Git/prepare-commit-msg" cmake-2.8.12.2/bootstrap000755 000765 000024 00000151326 12266011635 015612 0ustar00kitwarestaff000000 000000 #!/bin/sh #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= die() { echo "$@" 1>&2 ; exit 1 } # Version number extraction function. cmake_version_component() { cat "${cmake_source_dir}/Source/CMakeVersion.cmake" | sed -n " /^set(CMake_VERSION_${1}/ {s/set(CMake_VERSION_${1} *\([0-9]*\))/\1/;p;} " } cmake_toupper() { echo "$1" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' } # Detect system and directory information. cmake_system=`uname` cmake_source_dir=`cd "\`dirname \"$0\"\`";pwd` cmake_binary_dir=`pwd` # Load version information. cmake_version_major="`cmake_version_component MAJOR`" cmake_version_minor="`cmake_version_component MINOR`" cmake_version_patch="`cmake_version_component PATCH`" cmake_version="${cmake_version_major}.${cmake_version_minor}.${cmake_version_patch}" cmake_version_tweak="`cmake_version_component TWEAK`" if [ "$cmake_version_tweak" != "0" ]; then cmake_version="${cmake_version}.${cmake_version_tweak}" fi cmake_data_dir="share/cmake-${cmake_version_major}.${cmake_version_minor}" cmake_doc_dir="doc/cmake-${cmake_version_major}.${cmake_version_minor}" cmake_man_dir="man" cmake_init_file="" cmake_bootstrap_system_libs="" cmake_bootstrap_qt_gui="" cmake_bootstrap_qt_qmake="" # Determine whether this is a Cygwin environment. if echo "${cmake_system}" | grep CYGWIN >/dev/null 2>&1; then cmake_system_cygwin=true else cmake_system_cygwin=false fi # Determine whether this is a MinGW environment. if echo "${cmake_system}" | grep MINGW >/dev/null 2>&1; then cmake_system_mingw=true else cmake_system_mingw=false fi # Determine whether this is OS X if echo "${cmake_system}" | grep Darwin >/dev/null 2>&1; then cmake_system_darwin=true else cmake_system_darwin=false fi # Determine whether this is BeOS if echo "${cmake_system}" | grep BeOS >/dev/null 2>&1; then cmake_system_beos=true else cmake_system_beos=false fi # Determine whether this is Haiku if echo "${cmake_system}" | grep Haiku >/dev/null 2>&1; then cmake_system_haiku=true else cmake_system_haiku=false fi # Determine whether this is OpenVMS if echo "${cmake_system}" | grep OpenVMS >/dev/null 2>&1; then cmake_system_openvms=true else cmake_system_openvms=false fi # Determine whether this is Linux if echo "${cmake_system}" | grep Linux >/dev/null 2>&1; then cmake_system_linux=true # find out if it is a HP PA-RISC machine if uname -m | grep parisc >/dev/null 2>&1; then cmake_machine_parisc=true else cmake_machine_parisc=false fi else cmake_system_linux=false fi # Choose the generator to use for bootstrapping. if ${cmake_system_mingw}; then # Bootstrapping from an MSYS prompt. cmake_bootstrap_generator="MSYS Makefiles" else # Bootstrapping from a standard UNIX prompt. cmake_bootstrap_generator="Unix Makefiles" fi # Choose tools and extensions for this platform. if ${cmake_system_openvms}; then _tmp="_tmp" _cmk="_cmk" _diff=`which diff` else _tmp=".tmp" _cmk=".cmk" _diff="diff" fi # Construct bootstrap directory name. cmake_bootstrap_dir="${cmake_binary_dir}/Bootstrap${_cmk}" # Helper function to fix windows paths. case "${cmake_system}" in *MINGW*) cmake_fix_slashes() { cmd //c echo "$(echo "$1" | sed 's/\\/\//g')" | sed 's/^"//;s/" *$//' } ;; *) cmake_fix_slashes() { echo "$1" | sed 's/\\/\//g' } ;; esac # Choose the default install prefix. if ${cmake_system_mingw}; then if [ "x${PROGRAMFILES}" != "x" ]; then cmake_default_prefix=`cmake_fix_slashes "${PROGRAMFILES}/CMake"` elif [ "x${ProgramFiles}" != "x" ]; then cmake_default_prefix=`cmake_fix_slashes "${ProgramFiles}/CMake"` elif [ "x${SYSTEMDRIVE}" != "x" ]; then cmake_default_prefix=`cmake_fix_slashes "${SYSTEMDRIVE}/Program Files/CMake"` elif [ "x${SystemDrive}" != "x" ]; then cmake_default_prefix=`cmake_fix_slashes "${SystemDrive}/Program Files/CMake"` else cmake_default_prefix="c:/Program Files/CMake" fi elif ${cmake_system_haiku}; then cmake_default_prefix=`finddir B_COMMON_DIRECTORY` cmake_man_dir="documentation/man" cmake_doc_dir="documentation/doc/cmake-${cmake_version}" else cmake_default_prefix="/usr/local" fi CMAKE_KNOWN_C_COMPILERS="cc gcc xlc icc tcc" CMAKE_KNOWN_CXX_COMPILERS="aCC xlC CC g++ c++ icc como " CMAKE_KNOWN_MAKE_PROCESSORS="gmake make" CMAKE_PROBLEMATIC_FILES="\ CMakeCache.txt \ CMakeSystem.cmake \ CMakeCCompiler.cmake \ CMakeCXXCompiler.cmake \ */CMakeSystem.cmake \ */CMakeCCompiler.cmake \ */CMakeCXXCompiler.cmake \ Source/cmConfigure.h \ Source/CTest/Curl/config.h \ Utilities/cmexpat/expatConfig.h \ Utilities/cmexpat/expatDllConfig.h \ " CMAKE_UNUSED_SOURCES="\ cmGlobalXCodeGenerator \ cmLocalXCodeGenerator \ cmXCodeObject \ cmXCode21Object \ cmSourceGroup \ " CMAKE_CXX_SOURCES="\ cmStandardIncludes \ cmake \ cmakemain \ cmakewizard \ cmCommandArgumentLexer \ cmCommandArgumentParser \ cmCommandArgumentParserHelper \ cmDefinitions \ cmDepends \ cmDependsC \ cmDocumentationFormatter \ cmDocumentationFormatterText \ cmPolicies \ cmProperty \ cmPropertyMap \ cmPropertyDefinition \ cmPropertyDefinitionMap \ cmMakeDepend \ cmMakefile \ cmExportFileGenerator \ cmExportInstallFileGenerator \ cmExportTryCompileFileGenerator \ cmExportSet \ cmExportSetMap \ cmInstallDirectoryGenerator \ cmGeneratedFileStream \ cmGeneratorTarget \ cmGeneratorExpressionDAGChecker \ cmGeneratorExpressionEvaluator \ cmGeneratorExpressionLexer \ cmGeneratorExpressionParser \ cmGeneratorExpression \ cmGlobalGenerator \ cmLocalGenerator \ cmInstallGenerator \ cmInstallExportGenerator \ cmInstallFilesGenerator \ cmInstallScriptGenerator \ cmInstallTargetGenerator \ cmScriptGenerator \ cmSourceFile \ cmSourceFileLocation \ cmSystemTools \ cmTestGenerator \ cmVersion \ cmFileTimeComparison \ cmGlobalUnixMakefileGenerator3 \ cmLocalUnixMakefileGenerator3 \ cmMakefileExecutableTargetGenerator \ cmMakefileLibraryTargetGenerator \ cmMakefileTargetGenerator \ cmMakefileUtilityTargetGenerator \ cmOSXBundleGenerator \ cmNewLineStyle \ cmBootstrapCommands1 \ cmBootstrapCommands2 \ cmCommands \ cmTarget \ cmTest \ cmCustomCommand \ cmCustomCommandGenerator \ cmDocumentVariables \ cmCacheManager \ cmListFileCache \ cmComputeLinkDepends \ cmComputeLinkInformation \ cmOrderDirectories \ cmComputeTargetDepends \ cmComputeComponentGraph \ cmExprLexer \ cmExprParser \ cmExprParserHelper \ cmGlobalNinjaGenerator \ cmLocalNinjaGenerator \ cmNinjaTargetGenerator \ cmNinjaNormalTargetGenerator \ cmNinjaUtilityTargetGenerator \ " if ${cmake_system_mingw}; then CMAKE_CXX_SOURCES="${CMAKE_CXX_SOURCES}\ cmGlobalMSYSMakefileGenerator \ cmGlobalMinGWMakefileGenerator \ cmWin32ProcessExecution" fi CMAKE_C_SOURCES="\ cmListFileLexer \ " if ${cmake_system_mingw}; then KWSYS_C_SOURCES="\ ProcessWin32 \ String \ System" else KWSYS_C_SOURCES="\ ProcessUNIX \ String \ System" fi KWSYS_CXX_SOURCES="\ Directory \ Glob \ RegularExpression \ SystemTools" KWSYS_FILES="\ auto_ptr.hxx \ Directory.hxx \ Glob.hxx \ Process.h \ RegularExpression.hxx \ String.h \ String.hxx \ System.h \ SystemTools.hxx" KWSYS_IOS_FILES=" fstream \ iosfwd \ iostream \ sstream" # Display CMake bootstrap usage cmake_usage() { echo ' Usage: '"$0"' [...] [-- ...] Options: [defaults in brackets after descriptions] Configuration: --help print this message --version only print version information --verbose display more information --parallel=n bootstrap cmake in parallel, where n is number of nodes [1] --enable-ccache Enable ccache when building cmake --init=FILE load FILE as script to populate cache --system-libs use all system-installed third-party libraries (for use only by package maintainers) --no-system-libs use all cmake-provided third-party libraries (default) --system-curl use system-installed curl library --no-system-curl use cmake-provided curl library (default) --system-expat use system-installed expat library --no-system-expat use cmake-provided expat library (default) --system-zlib use system-installed zlib library --no-system-zlib use cmake-provided zlib library (default) --system-bzip2 use system-installed bzip2 library --no-system-bzip2 use cmake-provided bzip2 library (default) --system-libarchive use system-installed libarchive library --no-system-libarchive use cmake-provided libarchive library (default) --qt-gui build the Qt-based GUI (requires Qt >= 4.2) --no-qt-gui do not build the Qt-based GUI (default) --qt-qmake= use as the qmake executable to find Qt Directory and file names: --prefix=PREFIX install files in tree rooted at PREFIX ['"${cmake_default_prefix}"'] --datadir=DIR install data files in PREFIX/DIR ['"${cmake_data_dir}"'] --docdir=DIR install documentation files in PREFIX/DIR ['"${cmake_doc_dir}"'] --mandir=DIR install man pages files in PREFIX/DIR/manN ['"${cmake_man_dir}"'] ' exit 10 } # Display CMake bootstrap usage cmake_version_display() { echo "CMake ${cmake_version}, Copyright 2000-2012 Kitware, Inc." } # Display CMake bootstrap error, display the log file and exit cmake_error() { res=$1 shift 1 echo "---------------------------------------------" echo "Error when bootstrapping CMake:" echo "$*" echo "---------------------------------------------" if [ -f cmake_bootstrap.log ]; then echo "Log of errors: `pwd`/cmake_bootstrap.log" #cat cmake_bootstrap.log echo "---------------------------------------------" fi exit ${res} } # Replace KWSYS_NAMESPACE with cmsys cmake_replace_string () { INFILE="$1" OUTFILE="$2" SEARCHFOR="$3" REPLACEWITH="$4" if [ -f "${INFILE}" ] || ${cmake_system_openvms}; then cat "${INFILE}" | sed "s/\@${SEARCHFOR}\@/${REPLACEWITH}/g" > "${OUTFILE}${_tmp}" if [ -f "${OUTFILE}${_tmp}" ]; then if "${_diff}" "${OUTFILE}" "${OUTFILE}${_tmp}" > /dev/null 2> /dev/null ; then #echo "Files are the same" rm -f "${OUTFILE}${_tmp}" else mv -f "${OUTFILE}${_tmp}" "${OUTFILE}" fi fi else cmake_error 1 "Cannot find file ${INFILE}" fi } cmake_kwsys_config_replace_string () { INFILE="$1" OUTFILE="$2" shift 2 APPEND="$*" if [ -f "${INFILE}" ] || ${cmake_system_openvms}; then echo "${APPEND}" > "${OUTFILE}${_tmp}" cat "${INFILE}" | sed "/./ {s/\@KWSYS_NAMESPACE\@/cmsys/g; s/@KWSYS_BUILD_SHARED@/${KWSYS_BUILD_SHARED}/g; s/@KWSYS_LFS_AVAILABLE@/${KWSYS_LFS_AVAILABLE}/g; s/@KWSYS_LFS_REQUESTED@/${KWSYS_LFS_REQUESTED}/g; s/@KWSYS_NAME_IS_KWSYS@/${KWSYS_NAME_IS_KWSYS}/g; s/@KWSYS_IOS_USE_ANSI@/${KWSYS_IOS_USE_ANSI}/g; s/@KWSYS_IOS_HAVE_STD@/${KWSYS_IOS_HAVE_STD}/g; s/@KWSYS_IOS_USE_SSTREAM@/${KWSYS_IOS_USE_SSTREAM}/g; s/@KWSYS_IOS_USE_STRSTREAM_H@/${KWSYS_IOS_USE_STRSTREAM_H}/g; s/@KWSYS_IOS_USE_STRSTREA_H@/${KWSYS_IOS_USE_STRSTREA_H}/g; s/@KWSYS_IOS_HAVE_BINARY@/${KWSYS_IOS_HAVE_BINARY}/g; s/@KWSYS_STL_HAVE_STD@/${KWSYS_STL_HAVE_STD}/g; s/@KWSYS_STL_STRING_HAVE_ISTREAM@/${KWSYS_STL_STRING_HAVE_ISTREAM}/g; s/@KWSYS_STL_STRING_HAVE_OSTREAM@/${KWSYS_STL_STRING_HAVE_OSTREAM}/g; s/@KWSYS_STL_STRING_HAVE_NEQ_CHAR@/${KWSYS_STL_STRING_HAVE_NEQ_CHAR}/g; s/@KWSYS_STL_HAS_ITERATOR_TRAITS@/${KWSYS_STL_HAS_ITERATOR_TRAITS}/g; s/@KWSYS_STL_HAS_ITERATOR_CATEGORY@/${KWSYS_STL_HAS_ITERATOR_CATEGORY}/g; s/@KWSYS_STL_HAS___ITERATOR_CATEGORY@/${KWSYS_STL_HAS___ITERATOR_CATEGORY}/g; s/@KWSYS_STL_HAS_ALLOCATOR_TEMPLATE@/${KWSYS_STL_HAS_ALLOCATOR_TEMPLATE}/g; s/@KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE@/${KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE}/g; s/@KWSYS_STL_HAS_ALLOCATOR_REBIND@/${KWSYS_STL_HAS_ALLOCATOR_REBIND}/g; s/@KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT@/${KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT}/g; s/@KWSYS_STL_HAS_ALLOCATOR_OBJECTS@/${KWSYS_STL_HAS_ALLOCATOR_OBJECTS}/g; s/@KWSYS_CXX_HAS_CSTDDEF@/${KWSYS_CXX_HAS_CSTDDEF}/g; s/@KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS@/${KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS}/g; s/@KWSYS_CXX_HAS_MEMBER_TEMPLATES@/${KWSYS_CXX_HAS_MEMBER_TEMPLATES}/g; s/@KWSYS_CXX_HAS_FULL_SPECIALIZATION@/${KWSYS_CXX_HAS_FULL_SPECIALIZATION}/g; s/@KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP@/${KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP}/g; s/@KWSYS_STAT_HAS_ST_MTIM@/${KWSYS_STAT_HAS_ST_MTIM}/g;}" >> "${OUTFILE}${_tmp}" if [ -f "${OUTFILE}${_tmp}" ]; then if "${_diff}" "${OUTFILE}" "${OUTFILE}${_tmp}" > /dev/null 2> /dev/null ; then #echo "Files are the same" rm -f "${OUTFILE}${_tmp}" else mv -f "${OUTFILE}${_tmp}" "${OUTFILE}" fi fi else cmake_error 2 "Cannot find file ${INFILE}" fi } # Write string into a file cmake_report () { FILE=$1 shift echo "$*" >> ${FILE} } # Escape spaces in strings cmake_escape () { echo $1 | sed "s/ /\\\\ /g" } # Strip prefix from argument cmake_arg () { echo "$1" | sed "s/^${2-[^=]*=}//" } # Write message to the log cmake_log () { echo "$*" >> cmake_bootstrap.log } # Return temp file cmake_tmp_file () { echo "cmake_bootstrap_$$_test" } # Run a compiler test. First argument is compiler, second one are compiler # flags, third one is test source file to be compiled cmake_try_run () { COMPILER=$1 FLAGS=$2 TESTFILE=$3 if [ ! -f "${TESTFILE}" ]; then echo "Test file ${TESTFILE} missing. Please verify your CMake source tree." exit 4 fi TMPFILE=`cmake_tmp_file` echo "Try: ${COMPILER}" echo "Line: ${COMPILER} ${FLAGS} ${TESTFILE} -o ${TMPFILE}" echo "---------- file -----------------------" cat "${TESTFILE}" echo "------------------------------------------" "${COMPILER}" ${FLAGS} "${TESTFILE}" -o "${TMPFILE}" RES=$? if [ "${RES}" -ne "0" ]; then echo "Test failed to compile" return 1 fi if [ ! -f "${TMPFILE}" ] && [ ! -f "${TMPFILE}.exe" ]; then echo "Test failed to produce executable" return 2 fi ./${TMPFILE} RES=$? rm -f "${TMPFILE}" if [ "${RES}" -ne "0" ]; then echo "Test produced non-zero return code" return 3 fi echo "Test succeded" return 0 } # Run a make test. First argument is the make interpreter. cmake_try_make () { MAKE_PROC="$1" MAKE_FLAGS="$2" echo "Try: ${MAKE_PROC}" "${MAKE_PROC}" ${MAKE_FLAGS} RES=$? if [ "${RES}" -ne "0" ]; then echo "${MAKE_PROC} does not work" return 1 fi if [ ! -f "test" ] && [ ! -f "test.exe" ]; then echo "${COMPILER} does not produce output" return 2 fi ./test RES=$? rm -f "test" if [ "${RES}" -ne "0" ]; then echo "${MAKE_PROC} produces strange executable" return 3 fi echo "${MAKE_PROC} works" return 0 } # Parse arguments cmake_verbose= cmake_parallel_make= cmake_ccache_enabled= cmake_prefix_dir="${cmake_default_prefix}" while test $# != 0; do case "$1" in --prefix=*) dir=`cmake_arg "$1"` cmake_prefix_dir=`cmake_fix_slashes "$dir"` ;; --parallel=*) cmake_parallel_make=`cmake_arg "$1"` ;; --datadir=*) cmake_data_dir=`cmake_arg "$1"` ;; --docdir=*) cmake_doc_dir=`cmake_arg "$1"` ;; --mandir=*) cmake_man_dir=`cmake_arg "$1"` ;; --init=*) cmake_init_file=`cmake_arg "$1"` ;; --system-libs) cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARIES=1" ;; --no-system-libs) cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARIES=0" ;; --system-bzip2|--system-curl|--system-expat|--system-libarchive|--system-zlib) lib=`cmake_arg "$1" "--system-"` cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARY_`cmake_toupper $lib`=1" ;; --no-system-bzip2|--no-system-curl|--no-system-expat|--no-system-libarchive|--no-system-zlib) lib=`cmake_arg "$1" "--no-system-"` cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARY_`cmake_toupper $lib`=0" ;; --qt-gui) cmake_bootstrap_qt_gui="1" ;; --no-qt-gui) cmake_bootstrap_qt_gui="0" ;; --qt-qmake=*) cmake_bootstrap_qt_qmake=`cmake_arg "$1"` ;; --help) cmake_usage ;; --version) cmake_version_display ; exit 2 ;; --verbose) cmake_verbose=TRUE ;; --enable-ccache) cmake_ccache_enabled=TRUE ;; --) shift; break ;; *) die "Unknown option: $1" ;; esac shift done # If verbose, display some information about bootstrap if [ -n "${cmake_verbose}" ]; then echo "---------------------------------------------" echo "Source directory: ${cmake_source_dir}" echo "Binary directory: ${cmake_binary_dir}" echo "Prefix directory: ${cmake_prefix_dir}" echo "System: ${cmake_system}" if [ "x${cmake_parallel_make}" != "x" ]; then echo "Doing parallel make: ${cmake_parallel_make}" fi echo "" fi echo "---------------------------------------------" # Get CMake version echo "`cmake_version_display`" # Check for in-source build cmake_in_source_build= if [ -f "${cmake_binary_dir}/Source/cmake.cxx" -a \ -f "${cmake_binary_dir}/Source/cmake.h" ]; then if [ -n "${cmake_verbose}" ]; then echo "Warning: This is an in-source build" fi cmake_in_source_build=TRUE fi # If this is not an in-source build, then Bootstrap stuff should not exist. if [ -z "${cmake_in_source_build}" ]; then # Did somebody bootstrap in the source tree? if [ -d "${cmake_source_dir}/Bootstrap${_cmk}" ]; then cmake_error 10 "Found directory \"${cmake_source_dir}/Bootstrap${_cmk}\". Looks like somebody did bootstrap CMake in the source tree, but now you are trying to do bootstrap in the binary tree. Please remove Bootstrap${_cmk} directory from the source tree." fi # Is there a cache in the source tree? for cmake_problematic_file in ${CMAKE_PROBLEMATIC_FILES}; do if [ -f "${cmake_source_dir}/${cmake_problematic_file}" ]; then cmake_error 10 "Found \"${cmake_source_dir}/${cmake_problematic_file}\". Looks like somebody tried to build CMake in the source tree, but now you are trying to do bootstrap in the binary tree. Please remove \"${cmake_problematic_file}\" from the source tree." fi done fi # Make bootstrap directory [ -d "${cmake_bootstrap_dir}" ] || mkdir "${cmake_bootstrap_dir}" if [ ! -d "${cmake_bootstrap_dir}" ]; then cmake_error 3 "Cannot create directory ${cmake_bootstrap_dir} to bootstrap CMake." fi cd "${cmake_bootstrap_dir}" [ -d "cmsys" ] || mkdir "cmsys" if [ ! -d "cmsys" ]; then cmake_error 4 "Cannot create directory ${cmake_bootstrap_dir}/cmsys" fi for a in stl ios; do [ -d "cmsys/${a}" ] || mkdir "cmsys/${a}" if [ ! -d "cmsys/${a}" ]; then cmake_error 5 "Cannot create directory ${cmake_bootstrap_dir}/cmsys/${a}" fi done # Delete all the bootstrap files rm -f "${cmake_bootstrap_dir}/cmake_bootstrap.log" rm -f "${cmake_bootstrap_dir}/cmConfigure.h${_tmp}" rm -f "${cmake_bootstrap_dir}/cmVersionConfig.h${_tmp}" # If exist compiler flags, set them cmake_c_flags=${CFLAGS} cmake_cxx_flags=${CXXFLAGS} cmake_ld_flags=${LDFLAGS} # Add Cygwin-specific flags if ${cmake_system_cygwin}; then cmake_ld_flags="${LDFLAGS} -Wl,--enable-auto-import" fi # Add CoreFoundation framework on Darwin if ${cmake_system_darwin}; then cmake_ld_flags="${LDFLAGS} -framework CoreFoundation" fi # Add BeOS toolkits... if ${cmake_system_beos}; then cmake_ld_flags="${LDFLAGS} -lroot -lbe" fi # Add Haiku toolkits... if ${cmake_system_haiku}; then cmake_ld_flags="${LDFLAGS} -lroot -lbe" fi if ${cmake_system_linux}; then # avoid binutils problem with large binaries, e.g. when building CMake in debug mode # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230 if ${cmake_machine_parisc}; then # if -O[s23] is given the effect is inverted, so do not use the flag then if [ "`echo "${CXXFLAGS}" | sed -r '/^(.* )?(-O[s234])( .*)?$/s/.*/-Os/'`" != "-Os" ]; then cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text.*" fi fi fi #----------------------------------------------------------------------------- # Detect known toolchains on some platforms. cmake_toolchains='' case "${cmake_system}" in *AIX*) cmake_toolchains='XL GNU' ;; *CYGWIN*) cmake_toolchains='GNU' ;; *Darwin*) cmake_toolchains='GNU Clang' ;; *Linux*) cmake_toolchains='GNU Clang XL PGI PathScale' ;; *MINGW*) cmake_toolchains='GNU' ;; esac # Toolchain compiler name table. cmake_toolchain_Clang_CC='clang' cmake_toolchain_Clang_CXX='clang++' cmake_toolchain_GNU_CC='gcc' cmake_toolchain_GNU_CXX='g++' cmake_toolchain_PGI_CC='pgcc' cmake_toolchain_PGI_CXX='pgCC' cmake_toolchain_PathScale_CC='pathcc' cmake_toolchain_PathScale_CXX='pathCC' cmake_toolchain_XL_CC='xlc' cmake_toolchain_XL_CXX='xlC' cmake_toolchain_try() { tc="$1" TMPFILE=`cmake_tmp_file` eval "tc_CC=\${cmake_toolchain_${tc}_CC}" echo 'int main() { return 0; }' > "${TMPFILE}.c" cmake_try_run "$tc_CC" "" "${TMPFILE}.c" >> cmake_bootstrap.log 2>&1 tc_result_CC="$?" rm -f "${TMPFILE}.c" test "${tc_result_CC}" = "0" || return 1 eval "tc_CXX=\${cmake_toolchain_${tc}_CXX}" echo 'int main() { return 0; }' > "${TMPFILE}.cpp" cmake_try_run "$tc_CXX" "" "${TMPFILE}.cpp" >> cmake_bootstrap.log 2>&1 tc_result_CXX="$?" rm -f "${TMPFILE}.cpp" test "${tc_result_CXX}" = "0" || return 1 cmake_toolchain="$tc" } cmake_toolchain_detect() { cmake_toolchain= for tc in ${cmake_toolchains}; do echo "Checking for $tc toolchain" >> cmake_bootstrap.log 2>&1 cmake_toolchain_try "$tc" && echo "Found $tc toolchain" && break done } if [ -z "${CC}" -a -z "${CXX}" ]; then cmake_toolchain_detect fi #----------------------------------------------------------------------------- # Test C compiler cmake_c_compiler= # If CC is set, use that for compiler, otherwise use list of known compilers if [ -n "${cmake_toolchain}" ]; then eval cmake_c_compilers="\${cmake_toolchain_${cmake_toolchain}_CC}" elif [ -n "${CC}" ]; then cmake_c_compilers="${CC}" else cmake_c_compilers="${CMAKE_KNOWN_C_COMPILERS}" fi # Check if C compiler works TMPFILE=`cmake_tmp_file` echo ' #ifdef __cplusplus # error "The CMAKE_C_COMPILER is set to a C++ compiler" #endif #include #if defined(__CLASSIC_C__) int main(argc, argv) int argc; char* argv[]; #else int main(int argc, char* argv[]) #endif { printf("%d%c", (argv != 0), (char)0x0a); return argc-1; } ' > "${TMPFILE}.c" for a in ${cmake_c_compilers}; do if [ -z "${cmake_c_compiler}" ] && \ cmake_try_run "${a}" "${cmake_c_flags}" "${TMPFILE}.c" >> cmake_bootstrap.log 2>&1; then cmake_c_compiler="${a}" fi done rm -f "${TMPFILE}.c" if [ -z "${cmake_c_compiler}" ]; then cmake_error 6 "Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmake_bootstrap.log for compilers attempted. " fi echo "C compiler on this system is: ${cmake_c_compiler} ${cmake_c_flags}" #----------------------------------------------------------------------------- # Test CXX compiler cmake_cxx_compiler= # On Mac OSX, CC is the same as cc, so make sure not to try CC as c++ compiler. # If CC is set, use that for compiler, otherwise use list of known compilers if [ -n "${cmake_toolchain}" ]; then eval cmake_cxx_compilers="\${cmake_toolchain_${cmake_toolchain}_CXX}" elif [ -n "${CXX}" ]; then cmake_cxx_compilers="${CXX}" else cmake_cxx_compilers="${CMAKE_KNOWN_CXX_COMPILERS}" fi # Check if C++ compiler works TMPFILE=`cmake_tmp_file` echo ' #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ' > "${TMPFILE}.cxx" for a in ${cmake_cxx_compilers}; do for b in 1 2 3; do if [ -z "${cmake_cxx_compiler}" ] && \ cmake_try_run "${a}" "${cmake_cxx_flags} -DTEST${b}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then cmake_cxx_compiler="${a}" fi done done rm -f "${TMPFILE}.cxx" if [ -z "${cmake_cxx_compiler}" ]; then cmake_error 7 "Cannot find appropriate C++ compiler on this system. Please specify one using environment variable CXX. See cmake_bootstrap.log for compilers attempted." fi echo "C++ compiler on this system is: ${cmake_cxx_compiler} ${cmake_cxx_flags}" #----------------------------------------------------------------------------- # Test Make cmake_make_processor= cmake_make_flags= # If MAKE is set, use that for make processor, otherwise use list of known make if [ -n "${MAKE}" ]; then cmake_make_processors="${MAKE}" else cmake_make_processors="${CMAKE_KNOWN_MAKE_PROCESSORS}" fi TMPFILE="`cmake_tmp_file`_dir" rm -rf "${cmake_bootstrap_dir}/${TMPFILE}" mkdir "${cmake_bootstrap_dir}/${TMPFILE}" cd "${cmake_bootstrap_dir}/${TMPFILE}" echo ' test: test.c "'"${cmake_c_compiler}"'" '"${cmake_ld_flags} ${cmake_c_flags}"' -o test test.c '>"Makefile" echo ' #include int main(){ printf("1%c", (char)0x0a); return 0; } ' > "test.c" cmake_original_make_flags="${cmake_make_flags}" if [ "x${cmake_parallel_make}" != "x" ]; then cmake_make_flags="${cmake_make_flags} -j ${cmake_parallel_make}" fi for a in ${cmake_make_processors}; do if [ -z "${cmake_make_processor}" ] && cmake_try_make "${a}" "${cmake_make_flags}" >> ../cmake_bootstrap.log 2>&1; then cmake_make_processor="${a}" fi done cmake_full_make_flags="${cmake_make_flags}" if [ "x${cmake_original_make_flags}" != "x${cmake_make_flags}" ]; then if [ -z "${cmake_make_processor}" ]; then cmake_make_flags="${cmake_original_make_flags}" for a in ${cmake_make_processors}; do if [ -z "${cmake_make_processor}" ] && cmake_try_make "${a}" "${cmake_make_flags}" >> ../cmake_bootstrap.log 2>&1; then cmake_make_processor="${a}" fi done fi fi cd "${cmake_bootstrap_dir}" if [ -z "${cmake_make_processor}" ]; then cmake_error 8 "Cannot find appropriate Makefile processor on this system. Please specify one using environment variable MAKE." fi rm -rf "${cmake_bootstrap_dir}/${TMPFILE}" echo "Makefile processor on this system is: ${cmake_make_processor}" if [ "x${cmake_full_make_flags}" != "x${cmake_make_flags}" ]; then echo "---------------------------------------------" echo "Makefile processor ${cmake_make_processor} does not support parallel build" echo "---------------------------------------------" fi # Ok, we have CC, CXX, and MAKE. # Test C++ compiler features # Are we GCC? TMPFILE=`cmake_tmp_file` echo ' #if defined(__GNUC__) && !defined(__INTEL_COMPILER) #include int main() { std::cout << "This is GNU" << std::endl; return 0;} #endif ' > ${TMPFILE}.cxx cmake_cxx_compiler_is_gnu=0 if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then cmake_cxx_compiler_is_gnu=1 fi if [ "x${cmake_cxx_compiler_is_gnu}" = "x1" ]; then echo "${cmake_cxx_compiler} is GNU compiler" else echo "${cmake_cxx_compiler} is not GNU compiler" fi rm -f "${TMPFILE}.cxx" if [ "x${cmake_cxx_compiler_is_gnu}" != "x1" ]; then # Check for non-GNU compiler flags # If we are on IRIX, check for -LANG:std cmake_test_flags="-LANG:std" if [ "x${cmake_system}" = "xIRIX64" ]; then TMPFILE=`cmake_tmp_file` echo ' #include int main() { std::cout << "No need for '"${cmake_test_flags}"'" << std::endl; return 0;} ' > ${TMPFILE}.cxx cmake_need_lang_std=0 if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then : else if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} ${cmake_test_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then cmake_need_lang_std=1 fi fi if [ "x${cmake_need_lang_std}" = "x1" ]; then cmake_cxx_flags="${cmake_cxx_flags} ${cmake_test_flags}" echo "${cmake_cxx_compiler} needs ${cmake_test_flags}" else echo "${cmake_cxx_compiler} does not need ${cmake_test_flags}" fi rm -f "${TMPFILE}.cxx" fi cmake_test_flags= # If we are on OSF, check for -timplicit_local -no_implicit_include cmake_test_flags="-timplicit_local -no_implicit_include" if [ "x${cmake_system}" = "xOSF1" ]; then TMPFILE=`cmake_tmp_file` echo ' #include int main() { std::cout << "We need '"${cmake_test_flags}"'" << std::endl; return 0;} ' > ${TMPFILE}.cxx cmake_need_flags=1 if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} ${cmake_test_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then : else cmake_need_flags=0 fi if [ "x${cmake_need_flags}" = "x1" ]; then cmake_cxx_flags="${cmake_cxx_flags} ${cmake_test_flags}" echo "${cmake_cxx_compiler} needs ${cmake_test_flags}" else echo "${cmake_cxx_compiler} does not need ${cmake_test_flags}" fi rm -f "${TMPFILE}.cxx" fi cmake_test_flags= # If we are on OSF, check for -std strict_ansi -nopure_cname cmake_test_flags="-std strict_ansi -nopure_cname" if [ "x${cmake_system}" = "xOSF1" ]; then TMPFILE=`cmake_tmp_file` echo ' #include int main() { std::cout << "We need '"${cmake_test_flags}"'" << std::endl; return 0;} ' > ${TMPFILE}.cxx cmake_need_flags=1 if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} ${cmake_test_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then : else cmake_need_flags=0 fi if [ "x${cmake_need_flags}" = "x1" ]; then cmake_cxx_flags="${cmake_cxx_flags} ${cmake_test_flags}" echo "${cmake_cxx_compiler} needs ${cmake_test_flags}" else echo "${cmake_cxx_compiler} does not need ${cmake_test_flags}" fi rm -f "${TMPFILE}.cxx" fi cmake_test_flags= # If we are on HP-UX, check for -Ae for the C compiler. cmake_test_flags="-Ae" if [ "x${cmake_system}" = "xHP-UX" ]; then TMPFILE=`cmake_tmp_file` echo ' int main(int argc, char** argv) { (void)argc; (void)argv; return 0; } ' > ${TMPFILE}.c cmake_need_Ae=0 if cmake_try_run "${cmake_c_compiler}" "${cmake_c_flags}" "${TMPFILE}.c" >> cmake_bootstrap.log 2>&1; then : else if cmake_try_run "${cmake_c_compiler}" \ "${cmake_c_flags} ${cmake_test_flags}" "${TMPFILE}.c" >> cmake_bootstrap.log 2>&1; then cmake_need_Ae=1 fi fi if [ "x${cmake_need_Ae}" = "x1" ]; then cmake_c_flags="${cmake_c_flags} ${cmake_test_flags}" echo "${cmake_c_compiler} needs ${cmake_test_flags}" else echo "${cmake_c_compiler} does not need ${cmake_test_flags}" fi rm -f "${TMPFILE}.c" fi cmake_test_flags= fi # Test for kwsys features KWSYS_NAME_IS_KWSYS=0 KWSYS_BUILD_SHARED=0 KWSYS_LFS_AVAILABLE=0 KWSYS_LFS_REQUESTED=0 KWSYS_IOS_USE_STRSTREAM_H=0 KWSYS_IOS_USE_STRSTREA_H=0 KWSYS_IOS_HAVE_STD=0 KWSYS_IOS_USE_SSTREAM=0 KWSYS_IOS_USE_ANSI=0 KWSYS_IOS_HAVE_BINARY=0 KWSYS_STL_HAVE_STD=0 KWSYS_STAT_HAS_ST_MTIM=0 KWSYS_STL_STRING_HAVE_NEQ_CHAR=0 KWSYS_STL_HAS_ITERATOR_TRAITS=0 KWSYS_STL_HAS_ITERATOR_CATEGORY=0 KWSYS_STL_HAS___ITERATOR_CATEGORY=0 KWSYS_STL_HAS_ALLOCATOR_TEMPLATE=0 KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE=0 KWSYS_STL_HAS_ALLOCATOR_REBIND=0 KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT=0 KWSYS_STL_HAS_ALLOCATOR_OBJECTS=0 KWSYS_CXX_HAS_SETENV=0 KWSYS_CXX_HAS_UNSETENV=0 KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H=0 KWSYS_CXX_HAS_UTIMENSAT=0 KWSYS_CXX_HAS_UTIMES=0 KWSYS_CXX_HAS_CSTDDEF=0 KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS=0 KWSYS_CXX_HAS_MEMBER_TEMPLATES=0 KWSYS_CXX_HAS_FULL_SPECIALIZATION=0 KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP=0 # Hardcode these kwsys features. They work on all known UNIX compilers anyway. KWSYS_STL_STRING_HAVE_ISTREAM=1 KWSYS_STL_STRING_HAVE_OSTREAM=1 if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_SETENV" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_SETENV=1 echo "${cmake_cxx_compiler} has setenv" else echo "${cmake_cxx_compiler} does not have setenv" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_UNSETENV" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_UNSETENV=1 echo "${cmake_cxx_compiler} has unsetenv" else echo "${cmake_cxx_compiler} does not have unsetenv" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H=1 echo "${cmake_cxx_compiler} has environ in stdlib.h" else echo "${cmake_cxx_compiler} does not have environ in stdlib.h" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAVE_STD" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAVE_STD=1 echo "${cmake_cxx_compiler} has STL in std:: namespace" else echo "${cmake_cxx_compiler} does not have STL in std:: namespace" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_IOS_USE_ANSI" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_IOS_USE_ANSI=1 echo "${cmake_cxx_compiler} has ANSI streams" else echo "${cmake_cxx_compiler} does not have ANSI streams" fi if [ "x$KWSYS_IOS_USE_ANSI" = "x1" ]; then if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_IOS_HAVE_STD" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_IOS_HAVE_STD=1 echo "${cmake_cxx_compiler} has streams in std:: namespace" else echo "${cmake_cxx_compiler} does not have streams in std:: namespace" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_IOS_USE_SSTREAM" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_IOS_USE_SSTREAM=1 echo "${cmake_cxx_compiler} has sstream" else echo "${cmake_cxx_compiler} does not have sstream" fi fi if [ "x$KWSYS_IOS_USE_SSTREAM" = "x0" ]; then if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_IOS_USE_STRSTREAM_H" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_IOS_USE_STRSTREAM_H=1 echo "${cmake_cxx_compiler} has strstream.h" else echo "${cmake_cxx_compiler} does not have strstream.h" fi if [ "x$KWSYS_IOS_USE_STRSTREAM_H" = "x0" ]; then if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_IOS_USE_STRSTREA_H" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_IOS_USE_STRSTREA_H=1 echo "${cmake_cxx_compiler} has strstrea.h" else echo "${cmake_cxx_compiler} does not have strstrea.h" fi fi fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_STRING_HAVE_NEQ_CHAR -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_STRING_HAVE_NEQ_CHAR=1 echo "${cmake_cxx_compiler} has operator!=(string, char*)" else echo "${cmake_cxx_compiler} does not have operator!=(string, char*)" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ITERATOR_TRAITS -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ITERATOR_TRAITS=1 echo "${cmake_cxx_compiler} has stl iterator_traits" else echo "${cmake_cxx_compiler} does not have stl iterator_traits" fi if [ "x${KWSYS_STL_HAS_ITERATOR_TRAITS}" = "x0" ]; then if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ITERATOR_CATEGORY -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ITERATOR_CATEGORY=1 echo "${cmake_cxx_compiler} has old iterator_category" else echo "${cmake_cxx_compiler} does not have old iterator_category" fi if [ "x${KWSYS_STL_HAS_ITERATOR_CATEGORY}" = "x0" ]; then if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS___ITERATOR_CATEGORY -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS___ITERATOR_CATEGORY=1 echo "${cmake_cxx_compiler} has old __iterator_category" else echo "${cmake_cxx_compiler} does not have old __iterator_category" fi fi fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ALLOCATOR_TEMPLATE -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ALLOCATOR_TEMPLATE=1 echo "${cmake_cxx_compiler} has standard template allocator" else echo "${cmake_cxx_compiler} does not have standard template allocator" fi if [ "x${KWSYS_STL_HAS_ALLOCATOR_TEMPLATE}" = "x1" ]; then if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ALLOCATOR_REBIND -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ALLOCATOR_REBIND=1 echo "${cmake_cxx_compiler} has allocator<>::rebind<>" else echo "${cmake_cxx_compiler} does not have allocator<>::rebind<>" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT=1 echo "${cmake_cxx_compiler} has non-standard allocator<>::max_size argument" else echo "${cmake_cxx_compiler} does not have non-standard allocator<>::max_size argument" fi else if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE=1 echo "${cmake_cxx_compiler} has old non-template allocator" else echo "${cmake_cxx_compiler} does not have old non-template allocator" fi fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ALLOCATOR_OBJECTS -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_ALLOCATOR_OBJECTS=1 echo "${cmake_cxx_compiler} has stl containers supporting allocator objects" else echo "${cmake_cxx_compiler} does not have stl containers supporting allocator objects" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_CSTDDEF" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_CSTDDEF=1 echo "${cmake_cxx_compiler} has header cstddef" else echo "${cmake_cxx_compiler} does not have header cstddef" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then echo "${cmake_cxx_compiler} does not require template friends to use <>" else KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS=1 echo "${cmake_cxx_compiler} requires template friends to use <>" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_MEMBER_TEMPLATES" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_MEMBER_TEMPLATES=1 echo "${cmake_cxx_compiler} supports member templates" else echo "${cmake_cxx_compiler} does not support member templates" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_FULL_SPECIALIZATION" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_FULL_SPECIALIZATION=1 echo "${cmake_cxx_compiler} has standard template specialization syntax" else echo "${cmake_cxx_compiler} does not have standard template specialization syntax" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP=1 echo "${cmake_cxx_compiler} has argument dependent lookup" else echo "${cmake_cxx_compiler} does not have argument dependent lookup" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_STAT_HAS_ST_MTIM" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STAT_HAS_ST_MTIM=1 echo "${cmake_cxx_compiler} has struct stat with st_mtim member" else echo "${cmake_cxx_compiler} does not have struct stat with st_mtim member" fi if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags} -DTEST_KWSYS_IOS_HAVE_BINARY -DKWSYS_IOS_USE_ANSI=${KWSYS_IOS_USE_ANSI} -DKWSYS_IOS_HAVE_STD=${KWSYS_IOS_HAVE_STD}" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_IOS_HAVE_BINARY=1 echo "${cmake_cxx_compiler} has ios::binary openmode" else echo "${cmake_cxx_compiler} does not have ios::binary openmode" fi # Just to be safe, let us store compiler and flags to the header file cmake_bootstrap_version='$Revision$' cmake_compiler_settings_comment="/* * Generated by ${cmake_source_dir}/bootstrap * Version: ${cmake_bootstrap_version} * * Source directory: ${cmake_source_dir} * Binary directory: ${cmake_bootstrap_dir} * * C compiler: ${cmake_c_compiler} * C flags: ${cmake_c_flags} * * C++ compiler: ${cmake_cxx_compiler} * C++ flags: ${cmake_cxx_flags} * * Make: ${cmake_make_processor} * * Sources: * ${CMAKE_CXX_SOURCES} ${CMAKE_C_SOURCES} * kwSys Sources: * ${KWSYS_CXX_SOURCES} ${KWSYS_C_SOURCES} */ " cmake_report cmConfigure.h${_tmp} "${cmake_compiler_settings_comment}" if [ "x$KWSYS_STL_HAVE_STD" = "x1" ]; then cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_STD_NAMESPACE */" else cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_STD_NAMESPACE 1" fi if [ "x$KWSYS_IOS_USE_ANSI" = "x1" ]; then cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_ANSI_STREAM_HEADERS */" else cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_ANSI_STREAM_HEADERS 1" fi if [ "x$KWSYS_IOS_USE_SSTREAM" = "x1" ]; then cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_ANSI_STRING_STREAM */" else cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_ANSI_STRING_STREAM 1" fi # Test for ansi FOR scope if cmake_try_run "${cmake_cxx_compiler}" \ "${cmake_cxx_flags}" \ "${cmake_source_dir}/Modules/TestForAnsiForScope.cxx" >> cmake_bootstrap.log 2>&1; then cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_ANSI_FOR_SCOPE */" echo "${cmake_cxx_compiler} has ANSI for scoping" else cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_ANSI_FOR_SCOPE 1" echo "${cmake_cxx_compiler} does not have ANSI for scoping" fi # When bootstrapping on MinGW with MSYS we must convert the source # directory to a windows path. if ${cmake_system_mingw}; then cmake_root_dir=`cd "${cmake_source_dir}"; pwd -W` else cmake_root_dir="${cmake_source_dir}" fi # Write CMake version cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_MAJOR ${cmake_version_major}" cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_MINOR ${cmake_version_minor}" cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_PATCH ${cmake_version_patch}" cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_TWEAK ${cmake_version_tweak}" cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION \"${cmake_version}\"" cmake_report cmConfigure.h${_tmp} "#define CMAKE_ROOT_DIR \"${cmake_root_dir}\"" cmake_report cmConfigure.h${_tmp} "#define CMAKE_DATA_DIR \"/${cmake_data_dir}\"" cmake_report cmConfigure.h${_tmp} "#define CMAKE_BOOTSTRAP" # Regenerate configured headers for h in Configure VersionConfig; do if "${_diff}" cm${h}.h cm${h}.h${_tmp} > /dev/null 2> /dev/null; then rm -f cm${h}.h${_tmp} else mv -f cm${h}.h${_tmp} cm${h}.h fi done # Prepare KWSYS cmake_kwsys_config_replace_string \ "${cmake_source_dir}/Source/kwsys/Configure.hxx.in" \ "${cmake_bootstrap_dir}/cmsys/Configure.hxx" \ "${cmake_compiler_settings_comment}" cmake_kwsys_config_replace_string \ "${cmake_source_dir}/Source/kwsys/Configure.h.in" \ "${cmake_bootstrap_dir}/cmsys/Configure.h" \ "${cmake_compiler_settings_comment}" for a in ${KWSYS_FILES}; do cmake_replace_string "${cmake_source_dir}/Source/kwsys/${a}.in" \ "${cmake_bootstrap_dir}/cmsys/${a}" KWSYS_NAMESPACE cmsys done for a in ${KWSYS_IOS_FILES}; do cmake_replace_string "${cmake_source_dir}/Source/kwsys/kwsys_ios_${a}.h.in" \ "${cmake_bootstrap_dir}/cmsys/ios/${a}" KWSYS_NAMESPACE cmsys done cmake_replace_string "${cmake_source_dir}/Source/kwsys/kwsys_stl.hxx.in" \ "${cmake_bootstrap_dir}/cmsys/stl/stl.hxx_a" KWSYS_STL_HEADER_EXTRA "" cmake_replace_string "${cmake_bootstrap_dir}/cmsys/stl/stl.hxx_a" \ "${cmake_bootstrap_dir}/cmsys/stl/stl.hxx_b" KWSYS_NAMESPACE cmsys for a in string vector set map algorithm; do cmake_replace_string "${cmake_bootstrap_dir}/cmsys/stl/stl.hxx_b" \ "${cmake_bootstrap_dir}/cmsys/stl/${a}" KWSYS_STL_HEADER ${a} done # Generate Makefile dep="cmConfigure.h cmsys/*.hxx cmsys/*.h `cmake_escape \"${cmake_source_dir}\"`/Source/*.h" objs="" for a in ${CMAKE_CXX_SOURCES} ${CMAKE_C_SOURCES} ${KWSYS_CXX_SOURCES} ${KWSYS_C_SOURCES}; do objs="${objs} ${a}.o" done # Generate dependencies for cmBootstrapCommands1.cxx for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands1.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do cmBootstrapCommands1Deps="${cmBootstrapCommands1Deps} `cmake_escape "${cmake_source_dir}/Source/$file"`" done cmBootstrapCommands1Deps=`echo $cmBootstrapCommands1Deps` for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands2.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do cmBootstrapCommands2Deps="${cmBootstrapCommands2Deps} `cmake_escape "${cmake_source_dir}/Source/$file"`" done cmBootstrapCommands2Deps=`echo $cmBootstrapCommands2Deps` if [ "x${cmake_ansi_cxx_flags}" != "x" ]; then cmake_cxx_flags="${cmake_ansi_cxx_flags} ${cmake_cxx_flags}" fi if [ "x${cmake_c_flags}" != "x" ]; then cmake_c_flags="${cmake_c_flags} " fi if [ "x${cmake_cxx_flags}" != "x" ]; then cmake_cxx_flags="${cmake_cxx_flags} " fi cmake_c_flags_String="-DKWSYS_STRING_C" cmake_cxx_flags_SystemTools=" -DKWSYS_CXX_HAS_SETENV=${KWSYS_CXX_HAS_SETENV} -DKWSYS_CXX_HAS_UNSETENV=${KWSYS_CXX_HAS_UNSETENV} -DKWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H=${KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H} -DKWSYS_CXX_HAS_UTIMENSAT=${KWSYS_CXX_HAS_UTIMENSAT} -DKWSYS_CXX_HAS_UTIMES=${KWSYS_CXX_HAS_UTIMES} " cmake_c_flags="${cmake_c_flags}-I`cmake_escape \"${cmake_bootstrap_dir}\"` -I`cmake_escape \"${cmake_source_dir}/Source\"` \ -I`cmake_escape \"${cmake_bootstrap_dir}\"`" cmake_cxx_flags="${cmake_cxx_flags} -I`cmake_escape \"${cmake_bootstrap_dir}\"` -I`cmake_escape \"${cmake_source_dir}/Source\"` \ -I`cmake_escape \"${cmake_bootstrap_dir}\"`" echo "cmake: ${objs}" > "${cmake_bootstrap_dir}/Makefile" echo " ${cmake_cxx_compiler} ${cmake_ld_flags} ${cmake_cxx_flags} ${objs} -o cmake" >> "${cmake_bootstrap_dir}/Makefile" for a in ${CMAKE_CXX_SOURCES}; do src=`cmake_escape "${cmake_source_dir}/Source/${a}.cxx"` echo "${a}.o : ${src} ${dep}" >> "${cmake_bootstrap_dir}/Makefile" echo " ${cmake_cxx_compiler} ${cmake_cxx_flags} -c ${src} -o ${a}.o" >> "${cmake_bootstrap_dir}/Makefile" done echo "cmBootstrapCommands1.o : $cmBootstrapCommands1Deps" >> "${cmake_bootstrap_dir}/Makefile" echo "cmBootstrapCommands2.o : $cmBootstrapCommands2Deps" >> "${cmake_bootstrap_dir}/Makefile" for a in ${CMAKE_C_SOURCES}; do src=`cmake_escape "${cmake_source_dir}/Source/${a}.c"` echo "${a}.o : ${src} ${dep}" >> "${cmake_bootstrap_dir}/Makefile" echo " ${cmake_c_compiler} ${cmake_c_flags} -c ${src} -o ${a}.o" >> "${cmake_bootstrap_dir}/Makefile" done for a in ${KWSYS_C_SOURCES}; do src=`cmake_escape "${cmake_source_dir}/Source/kwsys/${a}.c"` src_flags=`eval echo \\${cmake_c_flags_\${a}}` echo "${a}.o : ${src} ${dep}" >> "${cmake_bootstrap_dir}/Makefile" echo " ${cmake_c_compiler} ${cmake_c_flags} -DKWSYS_NAMESPACE=cmsys ${src_flags} -c ${src} -o ${a}.o" >> "${cmake_bootstrap_dir}/Makefile" done for a in ${KWSYS_CXX_SOURCES}; do src=`cmake_escape "${cmake_source_dir}/Source/kwsys/${a}.cxx"` src_flags=`eval echo \\${cmake_cxx_flags_\${a}}` echo "${a}.o : ${src} ${dep}" >> "${cmake_bootstrap_dir}/Makefile" echo " ${cmake_cxx_compiler} ${cmake_cxx_flags} -DKWSYS_NAMESPACE=cmsys ${src_flags} -c ${src} -o ${a}.o" >> "${cmake_bootstrap_dir}/Makefile" done echo ' rebuild_cache: cd "${cmake_binary_dir}" && "${cmake_source_dir}/bootstrap" ' >> "${cmake_bootstrap_dir}/Makefile" # Write our default settings to Bootstrap${_cmk}/InitialCacheFlags.cmake. echo ' # Generated by '"${cmake_source_dir}"'/bootstrap # Default cmake settings. These may be overridden any settings below. set (CMAKE_INSTALL_PREFIX "'"${cmake_prefix_dir}"'" CACHE PATH "Install path prefix, prepended onto install directories." FORCE) set (CMAKE_DOC_DIR "'"${cmake_doc_dir}"'" CACHE PATH "Install location for documentation (relative to prefix)." FORCE) set (CMAKE_MAN_DIR "'"${cmake_man_dir}"'" CACHE PATH "Install location for man pages (relative to prefix)." FORCE) set (CMAKE_DATA_DIR "'"${cmake_data_dir}"'" CACHE PATH "Install location for data (relative to prefix)." FORCE) ' > "${cmake_bootstrap_dir}/InitialCacheFlags.cmake" # Add configuration settings given as command-line options. if [ "x${cmake_bootstrap_qt_gui}" != "x" ]; then echo ' set (BUILD_QtDialog '"${cmake_bootstrap_qt_gui}"' CACHE BOOL "Build Qt dialog for CMake" FORCE) ' >> "${cmake_bootstrap_dir}/InitialCacheFlags.cmake" fi if [ "x${cmake_bootstrap_qt_qmake}" != "x" ]; then echo ' set (QT_QMAKE_EXECUTABLE "'"${cmake_bootstrap_qt_qmake}"'" CACHE FILEPATH "Location of Qt qmake" FORCE) ' >> "${cmake_bootstrap_dir}/InitialCacheFlags.cmake" fi # Add user-specified settings. Handle relative-path case for # specification of cmake_init_file. ( cd "${cmake_binary_dir}" if [ -f "${cmake_init_file}" ]; then cat "${cmake_init_file}" >> "${cmake_bootstrap_dir}/InitialCacheFlags.cmake" fi ) echo "---------------------------------------------" # Run make to build bootstrap cmake if [ "x${cmake_parallel_make}" != "x" ]; then ${cmake_make_processor} ${cmake_make_flags} else ${cmake_make_processor} fi RES=$? if [ "${RES}" -ne "0" ]; then cmake_error 9 "Problem while running ${cmake_make_processor}" fi cd "${cmake_binary_dir}" # Set C, CXX, and MAKE environment variables, so that real real cmake will be # build with same compiler and make CC="${cmake_c_compiler}" CXX="${cmake_cxx_compiler}" if [ -n "${cmake_ccache_enabled}" ]; then CC="ccache ${CC}" CXX="ccache ${CXX}" fi MAKE="${cmake_make_processor}" export CC export CXX export MAKE # Run bootstrap CMake to configure real CMake cmake_options="-DCMAKE_BOOTSTRAP=1" if [ -n "${cmake_verbose}" ]; then cmake_options="${cmake_options} -DCMAKE_VERBOSE_MAKEFILE=1" fi "${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake" "-G${cmake_bootstrap_generator}" ${cmake_options} ${cmake_bootstrap_system_libs} "$@" RES=$? if [ "${RES}" -ne "0" ]; then cmake_error 11 "Problem while running initial CMake" fi echo "---------------------------------------------" # And we are done. Now just run make echo "CMake has bootstrapped. Now run ${cmake_make_processor}." cmake-2.8.12.2/ChangeLog.manual000644 000765 000024 00000761420 12266011633 016675 0ustar00kitwarestaff000000 000000 Changes in CMake 2.8.12.2 (since 2.8.12.1) ------------------------------------------ Brad King (4): VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9 (#14577) Replace rule placeholder consistently (#14667) VS: Convert include path to backslashes for VS >= 10 Revert "Ninja: Track configured files so we can regenerate them." Rolf Eike Beer (1): FindOpenMP: fix detecting compilers that do not need any special flag (#14567) Ruslan Baratov (1): Xcode: Fix storyboard view Ted Kremenek (1): CMakeDetermineCompilerId: Fix compiler line match for Xcode 5.1 Changes in CMake 2.8.12.1 (since 2.8.12) ---------------------------------------- Brad King (9): MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492) Genex: Reject $ for object libraries (#14532) Check for OBJECT_LIBRARY source files at start of generation CMP0022: Plain target_link_libraries must populate link interface Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets CMP0022: Warn about a given target at most once Fix summary documentation of INTERFACE_LINK_LIBRARIES file(GENERATE): Clear internal records between configures cmake: Validate -E cmake_automoc argument count (#14545) Modestas Vainius (1): Fix spelling in INTERFACE_LINK_LIBRARIES documentation (#14542) Stephen Kelly (5): CMP0022: Output link interface mismatch for static library warning Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES. CMP0022: Add unit test for null pointer check and message. CMP0022: Add test for target_link_libraries plain signature Automoc: Add directory-level COMPILE_DEFINITIONS to command line (#14535) Vladislav Vinogradov (1): FindCUDA: Fix NPP library search for CUDA 5.5 Changes in CMake 2.8.12 (since 2.8.12-rc4) ------------------------------------------ Brad King (4): Xcode: Fix test architecture selection for Xcode >= 5 Xcode: Teach Tests/BuildDepends to allow LINK_DEPENDS_NO_SHARED failure Xcode: Drop XCODE_DEPEND_HELPER for Xcode >= 5 Xcode: Fix OBJECT library support for Xcode 5 (#14254) Stephen Kelly (1): Genex: Fix processing multiple include directories for relative paths Changes in CMake 2.8.12-rc4 (since 2.8.12-rc3) ---------------------------------------------- Brad King (8): VS: Future-proof Intel project format selection MSVC: Drop /link from executable link lines with Ninja FindCUDA: Always list custom command outputs in their targets FindPNG: Honor old PNG_LIBRARY if provided (#14398) FindHDF5: Fix regression in per-configuration library selection bash-completion: Future-proof --help-*-list "cXXXX version" filtering OS X: Search system SDKs for frameworks Use first custom command for the same output (#14446) Patrick Gansterer (3): MSVC: Fix version test for linking corelibc on Windows CE (#14420) MSVC: Fix WinCE arch family preprocessor symbol (#14436) VS: Use version-specific subsystem for WinCE compiler id (#14440) Rolf Eike Beer (1): bootstrap: try better workaround for builds on Linux/HPPA Stephen Kelly (3): Add differing target property content to policy CMP0022 warning Fix CMP0022 warning when no old-style property is set genex: Fix preprocessing with incomplete content (#14410). Changes in CMake 2.8.12-rc3 (since 2.8.12-rc2) ---------------------------------------------- Robert Maynard (1): cmMakefile: Do not track CMake temporary files. Changes in CMake 2.8.12-rc2 (since 2.8.12-rc1) ---------------------------------------------- Brad King (2): Fix RunCMake.Configure test expectation newline matching Clean up install rules of CMake itself (#14371) Clinton Stimpson (1): OSX: Allow an empty INSTALL_NAME_DIR to override MACOSX_RPATH. Eric Bélanger (1): FindImageMagick: Find libraries named with HDRI support (#14348) Raphael Kubo da Costa (1): FindTCL: Add BSD paths for Tcl/Tk 8.6 Robert Maynard (2): VS: Generate ToolsVersion matching each VS version cmMakefile: Do not track configured files known to be temporary Rolf Eike Beer (1): CheckC*CompilerFlag: add documentation what to expect from a positive result Stephen Kelly (6): Fix OLD behavior of CMP0021. try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIES try_compile: Extract IMPORTED targets from INTERFACE_LINK_LIBRARIES Genex: Fix evaluation of MAP_IMPORTED_CONFIG_ Fix some whitespace errors in docs. Normalize system directories from the interface target property Yury G. Kudryashov (1): CPack: Fix a typo in documentation Zack Galbreath (1): CTest: Fix GTM coverage parsing line offset bug Changes in CMake 2.8.12-rc1 (since 2.8.11.2) -------------------------------------------- Adam J. Weigold (1): CPackWIX: Add support for custom WiX templates Alex Neundorf (12): CMakeSystem: include toolchain file after setting CMAKE_HOST_ (#13796) Add support files for C, C++ and ASM for the IAR toolchain. Add regexps for the IAR toolchain to the vendor list. Add IAR to the CMakeDetectC(XX)CompilerID.c(pp).in cmake-gui: use shortcut F only for "Find in Output" Eclipse: fix #14204 and #14205: no file links to directories automoc: add a global AUTOMOC_TARGETS_FOLDER property install: do not strip dll import libraries (#14123) ExportTargets: add one more comment to the generated file. Add documentation for the --graphviz support graphvizoptions: add copyright notice add macros cmake_print_properties() and cmake_print_variables() Alexander Mohr (1): VS: Detect MSVC compiler id on ARM toolchain Andreas Mohr (10): Fix spelling and typos (affecting users) Fix spelling and typos (affecting binary data / module messages) Fix spelling and typos (non-binary) Fix spelling and typos (product names) FindwxWidgets: add DOC strings with usual style Explain distribution of Win9x binary on all Windows versions. VS10: add detailed comment about MIDL processing Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES) Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames Docs: Clarify wording "flag used" => "flag (to|will) be used" Ben Boeckel (12): set_property: Do not remove a property when APPENDing nothing Tests/RunCMake: Document stripping of expected output export: Error when exporting a target without a language variable_watch: Store client data as pointers variable_watch: Add a deleter for the client data variable_watch: Match client_data when finding duplicates variable_watch: Allow specifying the data to match in RemoveWatch variable_watch: Prevent making extra entries in the watch map variable_watch: Fix a typo in the error message variable_watch: Don't share memory for callbacks variable_watch: Check newValue for NULL variable_watch: Add test for watching a variable multiple times Bill Hoffman (1): Do not set CMAKE_MATCH_ variables when not neeeded Bjoern Thiel (1): SelectLibraryConfigurations: Fix for cached _LIBRARY Brad King (91): VS: Separate compiler and linker PDB files (#11899, #14062) MSVC: Invoke 'link' directly for executables Ninja: Fix OBJECT_DIR placeholder path conversion VS 10: Escape ; as %3B in preprocessor definitions (#14073) CTest: Simplify ctest_* command source/build dir lookup get_filename_component: Add explicit unit tests get_filename_component: Add DIRECTORY option (#14091) Xcode: Use explicitFileType to mark source types (#14093) Check{C,CXX}CompilerFlag: Test using C locale (#14102) Windows: Search '/' prefix only when cross compiling (#10994) Recognize ld with toolchain prefix (#13960) VS: Always initialize CMAKE_CONFIGURATION_TYPES in IDE generators Begin post-2.8.11 development Sanitize linker name to parse implicit link line (#14154) VS: Allow /Fa to set AssemblerListingLocation (#14153) Tests/IncludeDirectories: Avoid shared library with no symbols if: Add test for IS_DIRECTORY try_compile: Add test for bad call error cases try_compile: Refactor argument processing variable_watch: Add test for MODIFIED_ACCESS report bootstrap: Compile KWSys SystemTools with UTIME(S|NSAT) values variable_watch: Remove leftover debugging code (#14187) variable_watch: Print accesses as "CMake Debug Log" messages Docs: Clarify CMAKE_PARENT_LIST_FILE (#14194) get_filename_component: Test ABSOLUTE of .. after root component try_compile: Add signature to allow multiple SOURCES enable_language: Clarify documentation Split cmBootstrapCommands.cxx into two sources Document CMAKE_INSTALL_PREFIX in CMAKE_SYSTEM_PREFIX_PATH cmake: Document "-E tar" support for .zip (#14225) FindBoost: Clarify failure on missing 'static' libs (#14235) CMakeDetermineVSServicePack: Improve documentation CMakeDetermineVSServicePack: Add VS 11 update 1 and 2 (#14239) Document ENV syntax as a "variable" (#14245) Embarcadero: Use response files only for includes, objects, and libs Escape target flags taken from COMPILE_OPTIONS Refactor target COMPILE_OPTIONS and COMPILE_FLAGS handling CMakeDetermineVSServicePack: Add VS 11 update 3 Document removal of 'register' from flex/bison output VS12: Find proper MSBuild for VSProjectInSubdir test Fortran: Use explicit type in Fortran 90 check project: Document top-level CMakeLists.txt requirement ExternalProject: Document multiple COMMAND lines include: Clarify variable access scope for included file VS: Fix /MAP:mapfile flag mapping (#14282) cmake: On configure error suggest looking at CMake*.log files try_compile: Escape CMAKE__FLAGS in test projects (#14268) try_compile: Add COPY_FILE_ERROR option to capture failure FindPNG: Add versioned library names for 1.6 (#14289) cmake: Fix resource leak reported by cppcheck VS,Xcode: Drop incorrect legacy dependency trace (#14291) OS X: Add copyright notices to Darwin-*-Fortran.cmake VS: Avoid leaking child process output back to IDE (#14266) Fix ExportImport test cmp0022NEW build on Watcom add_test: Document test name restrictions (#14298) UseJava: Update notice of copyright by Kitware add_custom_command: Manage backtrace memory correctly (#14299) Teach compiler ABI check to tolerate try_compile COPY_FILE failure Test COMPILE_DEFINITIONS target property get/set/get round-trip Check*CompilerFlag: Document use of CMAKE_REQUIRED_DEFINITIONS (#14309) sha2: Avoid type-punned pointer dereference (#14314) VS 6: Tell BuildDepends test to tolerate ninjadep failure cmMakefile: Do not track configured files known to be temporary libarchive: Update README-CMake.txt for new snapshot libarchive: Include cm_zlib.h to get zlib used by CMake libarchive: Silence API deprecation warnings libarchive: Avoid struct init with variable libarchive: Remove build options not used by CMake libarchive: Backport to CMake 2.8.2 VS10: Honor user-specified /SUBSYSTEM: flag (#14326) VS10: Escape include paths in XML project files (#14331) OS X: Search for SDK based on deployment target (#14324) bootstrap: Do not suppress CMAKE_OSX_SYSROOT if CFLAGS have -isysroot (#14324) OS X: Enable command-line build without tools in PATH VS 6,7: Refactor local generators to avoid GetSourceFileWithOutput cmake-gui: Fix build rules for Qt5 on Windows Include cmMakefile.h before cm*Lexer.h to get stdint.h first Skip CTestLimitDashJ test on Borland Add RunCMake.Syntax test to cover argument parsing cmListFileLexer: Fix line number after backslash in string cmListFileLexer: Split normal and legacy unquoted arguments cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enum Add RunCMake.Syntax test cases for command invocation styles cmListFileCache: Convert CMake language parser to class Warn about arguments not separated by whitespace Warn about unquoted arguments that look like long brackets cmListFileLexer: Modify flex output to avoid Borland warning Cygwin: Avoid legacy warnings in RunCMake.* tests Update version introducing CMP0021, CMP0022, and CMP0023 OS X: Do not default to non-existent deployment target SDK Do not warn about left paren not separated by a space Christian Maaser (1): VS: Add support for .NET target framework version Clinton Stimpson (12): Improve documentation for CPACK_PACKAGE_INSTALL_REGISTRY_KEY. Refactor how bundles and frameworks are supported. Xcode: Add support for shared library versioning OS X: Fix getting of CFBundle LOCATION property. OS X: Add RPATH support for Mac. Xcode: Add rpath support in Xcode generator. OS X: Add support for @rpath in export files. OS X: Add test for rpaths on Mac. OS X: Improvements for getting install name of dylib. OS X: Enable rpath support on Mac OS X when find_library() is used. OS X: Fix regression handling frameworks for Ninja OS X: If necessary, use xcrun to help find otool used to query install names. Cédric OCHS (1): Xcode: Support XCODE_ATTRIBUTE_ with [variant=] (#12532) Daniele E. Domenichelli (15): FindGTK2: Move check for pangocairo in gtk module FindGTK2: Detect gthread library FindFreetype: Detect Freetype installed by GtkMM installer for win FindGTK2: Do not fail on MSVC11 if vc100 libraries are available FindGTK2: Add GTK2_DEFINITIONS variable SelectLibraryConfigurations: Do not cache the _LIBRARY variable SelectLibraryConfigurations: Use -NOTFOUND instead of copying the vars FindGTK2: Use GTK_XXX_LIBRARY_DEBUG libraries in debug mode FindGTK2: Append _LIBRARY to var name in _GTK2_FIND_LIBRARY FindGTK2: Append _INCLUDE_DIR to var name in _GTK2_FIND_INCLUDE_DIR FindGTK2: Update local changelog FindGTK2: Remove GTK2_SKIP_MARK_AS_ADVANCED option FindGTK2: gthread-2.0 folder does not exist FindGTK2: Detect gmodule library FindGTK2: Detect pangoft2 and pangoxft libraries David Coppa (1): OpenBSD: Enable ELF parsing and editing (#14241) David Golub (1): CPack/NSIS: Obtain path from which to uninstall from registry (#14124) Eric NOULARD (5): Add support for componentized USER spec file CPackRPM add mechanism to remove path from generated list of file in RPM spec. CPackRPM add /usr/lib64 to the list of builtin to-be-excluded path CPackRPM protect '@' character in filename processed in the spec file. CPackRPM make the changelog line conform to expected format Fredrik Axelsson (1): CPackWIX: Handle CPACK_PACKAGE_EXECUTABLES (#13967) Funda Wang (1): FindImageMagick: Find v6 include dir (#14174) Graham Markall (2): OS X: Add Fortran library version flags (#14249) UseJava: Pass sources to javac using response file (#13028) Gregoire Lejeune (1): Allow using Java in a cross-compilation toolchain Ian Monroe (2): Ninja: use cd /D to set directory on Windows CPackWIX: Fix MSI package layout regression from parent Igor Murzov (2): bash-completion: Add -S,-SP options arguments completion bash-completion: Fix/improve generator names extraction Jack O'Connor (1): Eclipse: Add a missing space in the documentation Jason Spiro (1): MinGW: Find mingw32-make included with Code::Blocks IDE (#14302) John Farrier (2): VS: Add Windows Forms Support VS: Add VS_GLOBAL_ROOTNAMESPACE target property Jonas Andersen (1): VS: Add Resx configuration to the vcxproj file LibArchive Upstream (1): libarchive 3.1.2 (reduced) Marc Bartholomaeus (4): cmake-gui: Add search functions for Output window (#9733) cmake-gui: Add search functions to the context menu of the Output widget cmake-gui: Change shortcut of the search field from Ctrl-F to Alt-E cmake-gui: Add function for going to next error message in Output window Marcel Loose (1): FindCUDA: Remove duplicate entries from INCLUDE_DIRECTORIES. Marius Schamschula (1): FindX11: Search in /opt/X11 for OS X 10.8 (#14232) Mathias Gaunard (1): FindCUDA: CUDA_COMPUTE_BUILD_PATH uses relative paths to binary dir. Matt McCormick (1): ExternalProject: Allow blank SVN_USERNAME/SVN_PASSWORD (#14128) Matthew Bentham (1): Xcode: Honor CMAKE_(MODULE|SHARED)_LINKER_FLAGS_ (#14161) Matthew Woehlke (3): UseJava.cmake: fully use cmake_parse_arguments in add_jar FindProtobuf: also find pthread UseJava.cmake: document add_jar compat shim Nicolas Despres (1): Optimize custom command full-path dependency lookup Nils Gladitz (1): Add cmake_host_system_information command Patrick Gansterer (20): Add option to use stdout/stderr of original terminal in cmake --build Unify the way the flags of a static library are read Add support for CMAKE_STATIC_LINKER_FLAGS Add CMAKE_STATIC_LINKER_FLAGS to CMakeCommonLanguageInclude Add documentation for the missing CMAKE_*_LINKER_FLAGS_* variables Add additonal tests for the linker flags VS6: Add handling of CMAKE_*_LINKER_FLAGS_ variables VS6: Hardcode id_machine_6 for compiler detection VS10: Do not set the TargetMachine when detecting the compiler VS: Set CMAKE_VS_PLATFORM_NAME for VS7 and VS71 too VS: Replace ArchitectureId with PlatformName VS12: Remove duplicated overload of UseFolderProperty() Fix detection of WinCE SDKs with 64bit verion of CMake VS: Unify how the name of the generator is specified VS10: Add support for assembler code (#11536) WIN: Use COFF file header header for architecture detection (#14083) Improve const-correctness in cmVisualStudioGeneratorOptions Fix setting of the entry point symbol for Windows CE (#14088) Add support for new Windows CE compiler VS11: Add support for Windows CE SDKs Paul Kunysch (1): CTest: Add test for running many tests in parallel Pavel Shramov (1): cmDependsC: Collapse relative include paths Petr Kmoch (5): Add projectDir parameter to GenerateBuildCommand VS: Create parser for Visual Studio .sln files VS: Use .sln parser to build targets in subdirs with msbuild (#13623) VS: Add test for building MSBuild project in subdir ctest_build: Pass projectDir to GenerateBuildCommand Reid Kleckner (1): Ninja: Make cmcldeps depfile output more consistent with 'ninja -t msvc' Richard Ulrich (3): CPackWIX: Handle multiple shortcuts in the start menu CPackWIX: Add option to specify the language(s) of the installer CMakeCPack: Provide an upgrade guid for WiX Robert Maynard (9): cmMakefile: Refactor AddCMakeDependFile and AddCMakeOutputFile. Ninja: Track configured files so we can regenerate them. cmMakefile: Track configured files so we can regenerate them (#13582) Add a test to expose a bug with add_custom_command and ninja. Ninja: GlobalNinjaGenerator WriteBuild and WritePhonyBuild non static Ninja: Custom Command file depends don't need to exist before building FindCUDA: Search for libraries in /lib//nvidida-current. Ninja: Properly convert all paths to unix style before we do set intersection. Ninja: Update BuildDepends test to verify cmcldeps depfiles. Robin Lee (1): FindOpenSSL: Fix spelling of CMAKE_CROSSCOMPILING (#14075) Rolf Eike Beer (25): FindOpenGL: simplify OS selection code FindOpenGL: require headers to be found on non-Windows platforms (#13746) Tests: create output files for all memory checkers CTest: use an output file for Valgrind (#14110) CTest: remove unreachable code and CTestTestMemcheckUnknown test Tests: remove code duplication in CTestTestMemCheck tests Tests: verify that memory checker output files are always present CTest: drop suppression for gcc 2.9.6 errors from default Valgrind flags Tests: add test for non-existent Valgrind suppression file CTest: fix comment documenting cmBoundsCheckerParser class Tests: add a test with custom options passed to valgrind CTest: make sure never to report negative test times (#14132) Doc: fix example for FAIL_REGULAR_EXPRESSION CTest: break after first regex match on output Tests: ignore Guard Malloc messages in MemChecker tests CTest: avoid useless changing of directory Tests: fix build of dummy memtester on AIX wizard: fix warnings wizard: simplify control flow cmTarget: drop the unused local typedef LinkLine Tests: ignore GuardMalloc messages on all Apple build, not just XCode ones replace string(... MATCHES "^const$) with string(... STREQUAL "const") Revert "CTest: fix pre and post test commands with spaces" (#13887) FindPNG: improve library detection (#14301) CTest: create one output file per memcheck (#14303) Sean McBride (1): Remove some uses of obsolete 'register' storage specifier Sebastian Leske (1): Document CMAKE__FLAGS variable (#14305) Stephen Kelly (126): Make the QtAutomoc test compile with either Qt 4 or Qt 5 Add a test for Qt5Automoc Remove an endif() followed by an if() for the same condition. Fix some copyastos in the DetermineRCCompiler file. Test transitive includes from setting the LINK_LIBRARIES property. Test the use of target transitive compile definitions with moc. Fix handling of commas in arbitrary content in genexes. Fix style. Remove unused marker for a variable which is now used. Extract the ProcessArbitraryContent method. Rename the method determining if a genex accepts arbitrary content. Make it possible for any genex to have arbitrary content at the end. Add the JOIN generator expression. Test that linking using the debug keyword to tll works. automoc: Read target defines unconditionally Remove unused typedef. Fix brace indentation. Add EXPORT_NAME property. Remove unused vector population. Sublime: Honor source-level COMPILE_FLAGS property Docs: cmake -G selects a "build system" generator Recognize shared library files with a numerical suffix FindQt4: Fix QUIET failure with Qt 5 but not Qt 4 Error on relative path in INCLUDE_DIRECTORIES target property. include_directories: Fix handling of empty or space-only entries CTest: Read CTEST_PARALLEL_LEVEL from environment string: Add MAKE_C_IDENTIFIER subcommand GenerateExportHeader: Add newlines to separate the compiler output. GenerateExportHeader: Allow use of of this macro with MODULEs. file: Add GENERATE command to produce files at generate time Tests/Module/GenerateExportHeader: Test exported free-function Add $ generator expression GenerateExportHeader: Generate only C identifiers as defines Tests/CompileDefinitions: Avoid spaces in defines on VS 6 Use the qt5::moc imported target instead of a variable. QtAutomoc: Get the Qt version through the target link interface Fix indentation. VS6: Rename some variables to correspond to config values. Add cmLocalGenerator::GetCompileOptions. Add _COMPILER_ID generator expressions. cmTarget: Rename struct to be more re-usable. cmTarget: Rename LinkInterfaceIncludeDirectoriesEntries Add COMPILE_OPTIONS target property. Add target_compile_options command. Introduce target property _VISIBILITY_PRESET Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property. Qt4Macros: Allow specifying a TARGET in invokations of macros. Introduce add_compile_options command. Remove unused cmAddDefinitionsCommand::ParseDefinition method. Add some spaces to the INCLUDE_DIRECTORIES documentation. CLI: Suppress the unused warning if the key value pair is cached. Use --sysroot when cross compiling. Add missing 'seen' check for evaluating COMPILE_OPTIONS. Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile. Use a preprocessor loop to manage the valid transitive properties. Generate INTERFACE_COMPILE_OPTIONS on export. Genex: Fix indentation in docs. cmSystemTools: Fix typo in comment. Style: Don't put an else after a return. Add compiler target compile options. QtAutomoc: Fix handling of list separator for compile definitions. QtAutomoc: Use config-dependent compile definitions and includes. De-duplicate version comparison code. Add generator expressions for version comparision. Don't run the WarnUnusedCliUnused test on Windows. Add whitespace after colons in error messages. Add missing return after error report. Genex: Make LINK_LANGUAGE report an error when evaluating link libraries. Genex: Extend EvaluatingLinkLibraries to also check the top target name. Genex: Report error if a target file is needed to evaluate link libraries. Add generator expressions for compiler versions. Split the GeneratorExpression test into a third part. Remove unused variable. Add Target API to determine if an include is a system include. Store system include directories in the cmTarget. Extend the cmTargetPropCommandBase interface property handling. Add a SYSTEM parameter to target_include_directories (#14180) Add entire link interface transitive closure as target depends. Test non-IMPORTED libraries in the INTERFACE of IMPORTED libraries. GenexEval: Add abstracted access to link interface for a target. Introduce the LINK_ONLY generator expression. Introduce the INTERFACE_LINK_LIBRARIES property. Export: Generate INTERFACE_LINK_LIBRARIES property on targets. TLL: Don't populate old link interface if CMP0022 is NEW. Overload cmLocalGenerator::AppendDefines to add a list. Add an overload of cmIDEOptions::AddDefines taking a vector of strings. Refactor cmTarget::GetCompileDefinitions to use an out-vector, not a string. Document some variables for deprecation control. Genex: Make CMP0021 and CMP0022 usable with TARGET_POLICY Revert "Use --sysroot when cross compiling." Add target property debugging for COMPILE_DEFINITIONS Mark qt4_use_modules and qt4_automoc as obsolete. Add the INTERFACE_SYSTEM_INCLUDE_DIRECTORIES target property. Don't add trailing whitespace to error message. Remove TODO to uniq COMPILE_OPTIONS Remove the LINK_LANGUAGE generator expression. Genex: Fix $ with IMPORTED targets and multiple locations. FindQt4: Don't use Qt component _FOUND vars before they're defined (#14286) Add a convenient way to add the includes install dir to the INTERFACE. Use linked frameworks as a source of include directories. target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature FindQt4: Re-add QAxServer to the QT_MODULES. FindQt4: Populate the INTERFACE_LINK_LIBRARIES of IMPORTED targets. Genex: Allow relative paths in INSTALL_INTERFACE. cmTarget: Fix property name typo in docs. Docs: Document file(GENERATE) CONDITION as optional. Qt4Macros: Remove unneeded generate CONDITION. Qt4Macros: Remove undefined varible use. Qt4Macros: Simplify some variable population. Docs: Document existing target property debugging options. Docs: Trim trailing whitespace in generated doc. Docs: Generalize and de-duplicate VISIBILITY_PREFIX docs. Docs: Document variables for default visibility values. Export: Fix typo of LINK_INTERFACE_LIBRARIES. cmTarget: Remove duplicates when printing traces of tll signatures cmTarget: Fix iface libraries and languages for static libraries. Genex: Disallow LINKER_LANGUAGE only when used on a static library. install: Remove error condition using INCLUDES DESTINATION without EXPORT. Fix crash on export of target with empty INTERFACE_INCLUDE_DIRECTORIES. Allow target commands to be invoked with no items (#14325). Docs: Fix typo in CMAKE_DEBUG_TARGET_PROPERTIES cmTarget: Add NAME property Export: Process generator expressions from INCLUDES DESTINATION. Add the ALIAS target concept for libraries and executables. Revert "Add compiler target compile options." Genex: Fix segfault when parsing ends with parameter expectation. Vadim Zhukov (1): Add cmake_reset_check_state() macro Victor Zverovich (1): Use GmakeErrorParser instead of deprecated MakeErrorParser (fixes bug 0013699) Yichao Yu (1): variable_watch: Add missing string enumeration entry (#14188) Ömer Fadıl USTA (3): ccmake: Add missing initializers reported by cppcheck libarchive: Fix free() order to avoid accessing freed memory cmcurl: Fix resource leak reported by cppcheck Changes in CMake 2.8.11.2 (since 2.8.11.1) ------------------------------------------ Alex Neundorf (1): asm support: adapt to changes in CMakeDetectCompiler in 2.8.10 Bjoern Thiel (1): SelectLibraryConfigurations: Fix for cached _LIBRARY Brad King (5): cmCryptoHash: Increase alignment of HashFile buffer cmcurl: Backport curl bug 1192 fix (#14250) VS12: Add Visual Studio 12 generator (#14251) VS12: Generate flag tables from MSBuild v120 tool files FindBoost: Add -vc120 mangling for VS 12 Robert Maynard (1): VS: Clarify Visual Studio product year for each version Changes in CMake 2.8.11.1 (since 2.8.11) ---------------------------------------- Brad King (5): ExternalData: Do not re-stage staged object files try_compile: Fix quoting of libraries in generated CMakeLists.txt KWSys: Fix SystemTools::FileIsDirectory with long paths (#14176) FindBoost: Fix handling of \ in input paths (#14179) Xcode: Fix framework search paths in STATIC library targets (#14191) Modestas Vainius (1): Fix test failures caused by regexp-sensitive characters in the build paths Stephen Kelly (9): include_directories: Fix handling of empty or space-only entries try_compile: Trim whitespace from LINK_LIBRARIES entries cmTarget: Remove some hardcoding of transitive property names. GenexEval: Extract a getLinkedTargetsContent from TargetPropertyNode. GenexEval: Fix evaluation of INCLUDE_DIRECTORIES target property. GenexEval: Test evaluation of INCLUDE_DIRECTORIES target property. FindQt4: Don't fail if certain Qt modules are unavailable. Qt4Macros: Handle Qt ActiveX libraries in qt4_use_modules. Genex: Fix the HEAD target used for evaluated expressions Changes in CMake 2.8.11 (since 2.8.11-rc4) ---------------------------------------- None Changes in CMake 2.8.11-rc4 (since 2.8.11-rc3) ---------------------------------------------- Brad King (1): target_link_libraries: Update usage requirements documentation Stephen Kelly (3): Centralize maintenance of usage requirement include directories Fix include dir propagation from conditionally linked targets Memoize usage requirement include directories in a config-specific map Changes in CMake 2.8.11-rc3 (since 2.8.11-rc2) ---------------------------------------------- Brad King (1): get_filename_component: Document path components more clearly (#14091) Rolf Eike Beer (1): try_compile: add missing fclose() to recently added error case Stephen Kelly (1): Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property. Changes in CMake 2.8.11-rc2 (since 2.8.11-rc1) ---------------------------------------------- Alex Neundorf (6): Determine C/CXX/Fortran compiler: minor restructuring Determine C/CXX/Fortran compiler: fix indentation rename TI_DSP toolchain to TI, since it works also for the ARM compiler TI compiler: add automatic detection of prefix and suffixes Modules/readme.txt: switch from "XXX" to "Xxx" Modules/readme.txt: make lines a bit shorter for easier readability Ben Boeckel (1): Clang: Add -isystem flag support everywhere Bill Hoffman (1): ExternalProject: Retry on a failed git clone Brad King (8): string: Fix regex documentation of '^' and '$' (#14028) Rename variable for including current directory in interfaces Replace in CMAKE__COMPILE_OBJECT rule variables Test evaluation of per-config COMPILE_DEFINITIONS (#14037) VS: Fix VS 10/11 .sln headers (#14038) add_dependencies: Distinguish target v. file dependencies in error (#14050) automoc: Use a pre-build event in VS >= 7 Handle usr-move without forcing absolute paths (#14041) Clinton Stimpson (2): FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes. Qt4: Fix typo setting a variable for FindThreads. James Bigler (1): FindCUDA: Use the PRE_LINK mode only for MSVC >= 10 Matthew Woehlke (4): UseJava.cmake: simplify path logic UseJava.cmake: fix passing jars to add_jar UseJava.cmake: accept jar targets in add_jar UseJava.cmake: require explicit request to include jars Paul Kunysch (1): CPack: Avoid "format expects 'unsigned int'" warnings Petr Kmoch (1): cmSystemTools: Generalize TrimWhitespace to all whitespace Rex Dieter (1): FindImageMagick: Search versioned suffixes (#14012) Rolf Eike Beer (1): FindRuby: improve version selection Stephen Kelly (13): FindQt4: Set the Qt4_FOUND variable if Qt4 is found FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore Document that CMAKE_AUTOMOC works with Qt 5. FPHSA: Fix FOUND_VAR check to work with if() auto-dereference Fix cmGeneratorExpression::Preprocess for interleaved inputs. cmake-gui: Use the QStandardItemModel workaround until 5.1.0. Automoc: append implicit includes after user-specified dirs Fix the evaluation of per-config COMPILE_DEFINITIONS (#14037) Fix new target commands documentation. install(EXPORT): Ensure clean INTERFACE_INCLUDE_DIRECTORIES Report an error on IMPORTED targets with a faulty INTERFACE Error if linked target has relative paths in INTERFACE_INCLUDE_DIRECTORIES Fix the Qt 5 version required to run the IncompatibleQt test. Changes in CMake 2.8.11-rc1 (since 2.8.10.2) ---------------------------------------------- Alan Witkowski (1): FindBullet: Search in per-config dirs on Windows (#13738) Aleksey Avdeev (1): Add module FindIcotool Alex Neundorf (30): Eclipse: add switch to disable linked resources (#13189) Eclipse: set source path once to fix Eclipse indexer (#13596) cmDependsC: remove unused member variable cmDependsC: remove code duplication cmDependsC: fix indentation cmDepends: allow multiple dependees per depender AddCustomCommand: Handle multiple IMPLICIT_DEPENDS files (#10048) Add support for Texas Instruments DSP compiler (#12405) Squish: detect version Squish: use FPHSA Squish: find executables also under Windows Squish: rename squish_add_test() to squish_v3_add_test() and fix docs a bit Squish: use ${CMAKE_CURRENT_LIST_DIR} Squish: add support for squish 4 (#9734) Squish: fix new squish_v4_add_test() macro Automoc: "inherit" FOLDER target property from target (#13688) FPHSA: don't succeed if only checking for XX_FOUND (#13755) CONFIGURE_PACKAGE_CONFIG_FILE(): improve generated comments Automoc: get include dirs without stripping implicit include dirs off configure_package_config_file: force absolute paths for usr-move configure_package_config_file(): fix indentation configure_package_config_file(): extend documentation documentation: handling of relative paths by include- and link_directories() automoc: use a std::vector<> instead a std::list automoc: use the header extensions from cmMakefile Eclipse: also detect include dirs and macro for clang (#13823) cmLocalGenerator: remove "virtual" where not used export files: rewrite the code for checking required targets FPHSA: Add FOUND_VAR option to specify _FOUND variable name FPHSA: improve documentation Alexander Chehovsky (2): Xcode: Fix nested source group handling (#12943) Xcode: Sort source files Amine Chadly (2): file: remove dead code Add test to secure the file(GLOB empty) behavior. Amit Kulkarni (6): OpenBSD: Install shared libraries without executable permission OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK OpenBSD: Add path for Freetype under X.org OpenBSD: Add paths for Tcl/Tk 8.4/8.5 OpenBSD: Add path for Lua 5.1 OpenBSD: Add paths for Qt3/Qt4 Andreas Mohr (4): Documentation: Correct typos and grammar Documentation: Clarify some command descriptions Correct string literal typo (have "(NULL)" like all other cases). Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call. Anton Helwart (1): VS: Avoid empty source groups in some cases (#3474) Benjamin Eikel (2): Swap linking order of SDLmain and SDL (#0013769) FindSDL_...: Restore dropped search paths (#13819) Brad King (109): find_library: Refactor internal name iteration find_library: Simplify framework search logic find_library: Generalize helper macro in test case find_library: Optionally consider all names in each directory FindBoost: Remove extra indentation level FindBoost: Mark Boost_DIR cache entry as advanced FindBoost: Use PATH_SUFFIXES to look in "Program Files" FindBoost: Overhaul caching and search repeat behavior FindBoost: Construct a clean Boost_LIBRARIES value FindBoost: Refactor Boost_FOUND computation and version check FindBoost: Rewrite documentation BSD: Do not require dlfcn.h to build shared libs (#13573) Xcode: Fix ReRunCMake.make path to cmake.check_cache (#13603) VS10: Refactor link options collection VS10: Honor /DELAYSIGN and /KEYFILE flags (#13601) Document external language support policy CTest: Allow SUBMIT_INDEX with CDash KWSys: Submit dashboard builds to PublicDashboard pre-commit: Update KWSys rejection message for new workflow CTestCustom: Suppress LNK4089 warning about PSAPI load_command: Deprecate and document pending removal Documentation: Clarify configure_file behavior OS X: Warn about known SDK breakage by Xcode 3.2.6 Optionally skip link dependencies on shared library files Teach BuildDepends test to cover LINK_DEPENDS_NO_SHARED Serialize tests for EXCLUDE_FROM_DEFAULT_BUILD MSVC: Drop default use of /Zm1000 for VS >= 7.1 Teach find_(path|file) about Linux multiarch (#13742) Test find_path multiarch support (#13742) Add policy CMP0019 to skip include/link variable re-expansion Xcode: Add frameworks search paths from link dependeny closure (#13397) Makefile: Use modern link information for framework search paths Documentation: Clarify handling of implicit link directories Remove references to KWSys Process Win9x support add_library: Document object library portability suggestion OS X: Link with all framework search paths, not just the last OS X: Detect implicit link directories on modern toolchains OS X: Detect implicit linker framework search paths Revert "load_command: Deprecate and document pending removal" VS11: Simplify external object file handling (#13831) KWIML: Teach ABI about 'long long' on older GNU CMake: Skip empty link.txt lines (#13845) ExternalProject: Allow DEPENDS on normal targets (#13849) VS11: Fix VSExternalInclude test target_link_libraries: Document that new sigs privatize old (#13876) Tests: Avoid CTestLimitDashJ crash on Borland 5.8 builds Fix use of cmTypeMacro in new command classes Fix cmSystemTools::RenameFile race on Windows VS 6: Create .rule file directory before file Add ExternalData module ExternalData: Remove compatibility with CMake < 2.8.5 ExternalData: Do not match directory names when resolving DATA{} ExternalData: Cleanup stray TODO and typo in comments ExternalData: Remove unused private interface ExternalData: Improve series matching using an explicit syntax ExternalData: Add tests covering interfaces and errors ExternalData: Allow ()-groups in series match regex ExternalData: Allow DATA{} syntax to reference directories ExternalData: Generalize hash algo/ext handling ExternalData: Add support for SHA 1 and 2 hash algorithms ExternalData: Collapse ../ components in DATA{} paths Fix Module.ExternalData test on Cygwin Fix Module.ExternalData test on VS 6 ExternalData: Attach download rules to content links in IDEs find_package: Reword _NO_INTERFACES documentation Normalize full paths in implicit link library list Fail early if no current working directory exists MSVC: Fix CMAKE_CL_64 in CXX-only projects (#13896) ExternalProject: Simplify CMake command line generation Tests: Run ctest custom commands with VERBATIM CMake: Add -T option to choose a generator toolset VS: Implement generator toolset selection (#10722, #13774) Xcode: Implement generator toolset selection (#9831, #13802) CTest: Add options to set generator toolset ExternalProject: Propagate the generator toolset Tests: Consolidate ctest --build-and-test generator options Tests: Add generator toolset support Fix crash on empty CMAKE__COMPILER value (#13901) file: Do not remove symlinked directories recursively (#10538) Embarcadero: Fix default link stack/heap flags (#13912) Avoid duplicate RPATH entries AIX-GNU: Put implicit link directories in runtime libpath (#13909) VS: Replace generation timestamp file atomically VS,Xcode: Remove unused CMAKE_GENERATOR_* variables Delete entire CMakeFiles directory when deleting CMakeCache.txt (#13756) Tests/RunCMake: Allow tests to control build tree behavior Test Unix Makefiles generator support for changing compilers Xcode: Drop check for circular target dependencies Xcode: Each target dependency edge needs a unique object (#13935) Tests: Replace exec_program with execute_process Tests: Generalize decision for 'make' tool supporting spaces ExternalData: Test content link with a space in its name FPHSA: Convert FOUND_VAR failure test to RunCMake VS: Restore CMAKE_GENERATOR_FC variable Xcode: Generate recommended artwork setting (#13954) CTest: Fix ctest_update with 'HEAD' file in source tree VS 10: Fix CMAKE__STACK_SIZE implementation (#13968) install(EXPORT): Force absolute paths for usr-move AIX: Do not use -brtl to create shared libraries (#13997) add_subdirectory: Compute output dir with consistent slashes (#10072) ExternalData: Preserve escaped semicolons during argument expansion Avoid crash when checking property link dependencies without link info Avoid crash when checking property compatibility without link info Refactor RunCMake.build_command test to allow more cases build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005) CTest: Fail early without PROJECT_BINARY_DIR (#14005) FindQt4: Fix QT_QMAKE{_QMAKE => }_EXECUTABLE typo XL: Use -qpic for position independent code (#14010) Configure Tests/CMakeTests only with BUILD_TESTING ON Casey Goodlett (1): CTest: Prevent creation of unbounded number of tests in ctest (#12904) Clemens Heppner (1): CMake: source_group needs to check its own regex after its children (#13611) Clinton Stimpson (5): Fix for possible Rez errors when creating dmg. PackageMaker: Enable postflight script in component mode (#12375) CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE" Qt4: Add SYSTEM option to include_directories. FindQt4: set QT_VERSION_* variables sooner. David Cole (19): Begin post-2.8.10 development CPack: Add automatic detection of the Unicode makensis (#9629) BundleUtilities: Use a more inclusive REGEX for frameworks (#13600) VS: Avoid empty, unreferenced solution folders... (#13571) NMake: Add a test to demonstrate EmptyDepends issue (#13392) NMake: Fix problem with empty DEPENDS args (#13392) CMake: Remove "/STACK:10000000" from default linker flags (#12437) Watcom: Avoid prompt from wmake about dll with no exports... Tests: Use the right path to CPack value for running CPack tests VS11: Allow using folders with the VS11 Express Edition (#13770) CPack: Fix dashboard errors (#11575) CPack: Fix dashboard warnings (#11575) CPack: Fix dashboard errors and warnings (#11575) CMake: Stylistic changes and documentation tweaks CMake: Fix dashboard warnings CMake: Fix dashboard test failure CMake: Fix dashboard build errors and warnings CTest: Coverage handler: expect certain output lines from gcov 4.7 (#13657) Add CTestLimitDashJ test (#12904) David Golub (2): CPack/NSIS: Fix compatibility issues with prerelease NSIS (#13202) CPack/NSIS: Add support for 64-bit NSIS (#13203) Eric LaFranchi (1): CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789) Eric NOULARD (1): CPackRPM fix #13898 uses IF(DEFINED var) to avoid wrong var value logic Gerald Hofmann (1): CPack: Fix NSIS version check without release version (#9721) James Bigler (4): Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK. FindCUDA: Remove linkage against CUDA driver library (#13084) FindCUDA: Add support for separable compilation FindCUDA: Added cupti library. Janne Rönkkö (1): FindQt4: Do not use qmake from Qt5 Jean-Christophe Fillion-Robin (1): Add $ generator expression. Marcus D. Hanwell (1): Removed GenerateExportHeader warnings about old compilers Mark Salisbury (2): VS: Specify WinCE subsystem also for DLLs VS: Specify WinCE subsystems correctly in VS 9 2008 Mathias Gaunard (2): enable CTEST_USE_LAUNCHERS with Ninja too Ninja: fix usage of cldeps with ctest launchers Matt McCormick (7): ExternalProject: Only run 'git fetch' when required. ExternalProject: Do smoke tests for Git Tutorial builds. ExternalProject: Add tests for UPDATE_COMMAND. ExternalProject: Always do a git fetch for a remote ref. ExternalProject: Make sure the ExternalProjectUpdate setup is available. ExternalProject: Verify when a fetch occurs during update test. ExternalProjectUpdateTest: Only support Git 1.6.5 and greater. Matthew Woehlke (1): ccmake: Allow DEL key in first column Michael Tänzer (4): GetPrerequisites: Move tool search paths up GetPrerequisites: Add support for objdump GetPrerequisites: Enable test for BundleUtilities on MinGW GetPrerequisites: Add documentation for objdump Michael Wild (1): cmDepends: No dependency-vector erasure in CheckDependencies Morné Chamberlain (15): Added a generator for Sublime Text 2 project files. Added some support for sublimeclang_options in the generated project file. Changed SublimeClang include path generation to expand to absolute paths. Cleaned up the Sublime Text 2 Generator code a bit. Fixed support for the Ninja build system. Added and cleaned up some comments. The generator no longer generates an explicit list of source files. The generator no longer generates absolute paths to the ninja.build/Makefiles. Added a CMAKE_SUBLIMECLANG_DISABLED variable that disables SublimeClang. Fixed Sublime Text project generation for in-source builds Define flags in CMAKE_C(XX)_FLAGS are now included in SublimeClang settings. SublimeText2 Gen: Improved use of define, include flags from CMAKE_C(XX)_FLAGS SublimeText2 Gen: Fixed the issue where include directory flags used -D Sublime Text 2 Gen: Per-source Compile flags are now saved in a separate file. SublimeText 2 Gen: Set the sublimeclang_options_script property. Neil Carlson (1): NAG: Use -PIC for Fortran position-independent code (#13932) Nils Gladitz (2): CPack: Add a WiX Generator (#11575) CMake: Add TIMESTAMP subcommand to string and file commands Patrick Gansterer (28): Introduce the abstract class cmGlobalGeneratorFactory Add cmGlobalGeneratorFactory::GetGenerators() Search generator in cmake::ExtraGenerators before in cmake::Generators Allow a GeneratorFactory handling of more than one generator Make cmGlobalGenerator::GetDocumentation() a static function VS: Remove AddPlatformDefinitions from platform-specific generators VS: Fix ArchitectureId of Visual Studio 10 IA64 generator VS: Remove GetPlatformName from platform-specific generators VS: Remove EnableLanguage from platform-specific generators VS: Remove platform specific generator files FindBISON: Add support for the Win flex-bison distribution FindFLEX: Add support for the Win flex-bison distribution VS: Remove TargetMachine for linker when checking compiler id VS: Add CMAKE_VS_PLATFORM_NAME definition to cmMakefile VS: Add static method to get the base of the registry VS: Change variable type of ArchitectureId from const char* to string VS: Change variable type of Name from const char* to string VS: Support setting correct subsystem and entry point for WinCE VS: Add parser for WCE.VCPlatform.config to read WinCE platforms VS: Allow setting the name of the target platform VS: Make DetermineCompilerId working with WinCE too VS: Added "Deploy" at project configuration for WindowsCE targets Add command to generate environment for a Windows CE SDK VS: Set the correct SubSystem when determinating the CompilerId VS: Add the entry point when compiling for WindowsCE VS: Ignore LIBC.lib when linking the CompilerId executables Set WINCE to 1 when building for WindowsCE Ninja: Avoid LNK1170 linker error Peter Kümmel (6): Ninja: encode LINK_FLAGS to handle bash variables Ninja: fix building from Codeblocks GUI Ninja: remove implicit dependency on custom command outputs Ninja: use MinGW generator code in EnableLanguage() Ninja: the Ninja generator does not support Fortran yet. Ninja: escape line breaks in literals Petr Kmoch (11): Add tests for list() argument count Add tests for list() invalid arguments Consolidate list() argument count testing Add several get_property() tests Add tests for EXCLUDE_FROM_DEFAULT_BUILD Add property EXCLUDE_FROM_DEFAULT_BUILD_ Define property EXCLUDE_FROM_DEFAULT_BUILD Add tests for VS_SOLUTION_GLOBAL_SECTIONS Implement properties VS_GLOBAL_SECTION_* Define properties VS_GLOBAL_SECTION_* Documentation: Clarify a few subtleties Riku Voipio (1): KWIML: Teach ABI.h about Aarch64 Robert Maynard (4): XCode generator won't infinitely parse compiler flags (bug #13354). Correct missing parameter to CMP0018Flags call. Remove ability to generate sublime clang files. Update generator to use new cmGeneratorTarget api. Rodolfo Schulz de Lima (1): FindGTK2: Fix GTK2_LIBRARIES order for static gtk libraries Rolf Eike Beer (21): FindQt: improve version selection FindQt: add some more places to look for Qt3 Tests: add MajorVersionSelection tests Linux/PA-RISC: Link with --unique=.text.* to help binutils FindQt: add to MajorVersionSelection test CMakeTests: allow to call the check_cmake_test macro with a given file list: add tests for CMP0007 behavior GetProperty test: move doc property tests into main process Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() bootstrap: use better defaults for Haiku Haiku no longer defines __BEOS__ check for Haiku only with __HAIKU__ FindLua51: do not try to link libm on BeOS FindGLUT: BeOS does not have libXi and libXmu FindOpenGL: add Haiku paths doc: fix linebreaks in generator expression documentation ProcessorCount test: fix path to cmsysTestsCxx executable ProcessorCount test: require SystemInformation process to work FindOpenMP: improve documentation (#13895) properly detect processor architecture on Windows fix Windows processor detection Sean McBride (1): libarchive: fixed undefined left shift with signed ints Slava Sysoltsev (1): FindImageMagick: Search quantum depth suffixes (#13859) Stephen Kelly (158): GenEx: Test early determination of AND and OR Enable some compiler warnings when building CMake. Resolve warnings about unused variables. Resolve warnings about used enum values in switch blocks. Resolve warnings about shadowing parameters and local variables. Resolve ambiguity warning regarding use of && and ||. Remove references to ancient and removed parts of the code. Always use the auto_ptr from cmsys. Port cmGeneratorExpression to cmTarget from cmGeneratorTarget. Split link information processing into two steps. Revert "Move GetLinkInformation to cmGeneratorTarget" Genex: Extract a method to parse parameters. Genex: Ensure that $<0:...> has a parameter. Genex: Don't segfault on $ Generate an early-return guard in target Export files. Fix some warnings from -Wundef Make targets depend on the link interface of their dependees. Use cmsys::auto_ptr to manage cmCompiledGeneratorExpressions Keep track of INCLUDE_DIRECTORIES as a vector of structs. Add a way to print the origins of used include directories. Tests: Fix warning about unused variable Qt4: Add module dependencies to the IMPORTED targets Don't crash when a target is expected but is not available. Add test for custom command with a genex referring to a target. GenEx: Add expressions to specify build- or install-only values Allow generator expressions to require literals. Add the TARGET_NAME generator expression. Add API to extract target names from a genex string. Add API to populate INTERFACE properties in exported targets. Make all relevant targets available in the genex context. Use mapped config properties to evaluate $ Make cycles in target properties ignored, not an error. Populate the ExportedTargets member early in GenerateMainFile Handle INTERFACE properties transitively for includes and defines. Add CMAKE_BUILD_INTERFACE_INCLUDES build-variable. Make linking APIs aware of 'head' target Add LINK_LIBRARIES property for direct target link dependencies Allow target_link_libraries with IMPORTED targets. Add the -Wundef flag when compiling CMake. FindQt4: Add INTERFACE includes and defines to Qt4 targets Add the target_include_directories command. Add the target_compile_definitions command. Keep track of properties used to determine linker libraries. Add API to calculate link-interface-dependent bool properties or error. Process the INTERFACE_PIC property from linked dependencies Fix linking to imported libraries test. Add cmGeneratorExpression::Split() API. Don't pass a position when determining if a target name is a literal. Extract the AddTargetNamespace method. Split the generator expression before extracting targets. Split LINK_INTERFACE_LIBRARIES export handling into dedicated method. Allow generator expressions in LINK_INTERFACE_LIBRARIES. Add a way to check INTERFACE user property compatibility. Don't include generator expressions in old-style link handling. Document the use of generator expressions in new commands. Add the TARGET_DEFINED generator expression Strip consecutive semicolons when preprocessing genex strings. Don't write a comment in the export file without the code. Only generate one check per missing target. Move the exported check for dependencies of targets Move the exported check for file existence. Add a test for the interfaces in targets exported from the build tree. Make the BUILD_INTERFACE of export()ed targets work. Export the INTERFACE_PIC property. Test evaluation target via export for generator expressions Make sure generator expressions can be used with target_include_directories. Populate the link information cache before checking dependent properties. Exit early if we find an inconsistent property. Make INTERFACE determined properties readable in generator expressions. Clear the link information in ClearLinkMaps. Export the COMPATIBLE_INTERFACE_BOOL content properties Add the $ expression Automatically link to the qtmain library when linking to QtCore. Don't wrap all targets in LINK_LIBRARIES in a TARGET_NAME genex. Generate new-style cmake code during export. Store includes from the same include_directories call together. Only output includes once after the start of 'generate-time' when debugging. Specify the target whose includes are being listed. Output include directories as LOG messages, not warnings. Revert "Allow target_link_libraries with IMPORTED targets." Disallow porcelain to populate includes and defines of IMPORTED targets. Exclude the LINK_LIBRARIES related properties from INTERFACE evaluation. Make calculation of link-interface-dependent properties type-sensitive. Add the COMPATIBLE_INTERFACE_STRING property. Move GetCompileDefinitions to cmTarget. Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc. Generate the _IMPORT_PREFIX in the non-config export file. Add the INSTALL_PREFIX genex. Fix TARGET_PROPERTY target extractions. Make the Property name protected so that subclasses can use it. Don't allow targets args in the new target commands. Make subclasses responsible for joining content. Use the result of converting to a unix path. Handle reading empty properties defined by the link interface. Advance more when preprocessing exported strings. Make it an error for INSTALL_PREFIX to be evaluated. Export targets to a targets file, not a Config file. Add a way to exclude INTERFACE properties from exported targets. Add API to check if we're reading a includes or defines property. Add the $ generator expression. Add includes and compile definitions with target_link_libraries. Test workaround of bad interface include directories from depends. Optimize genex evaluation for includes and defines. Cache context-independent includes on evaluation. Style: Use this-> when invoking member functions. Process generator expressions for 'system' include directories. Deduplicate the isGeneratorExpression method. De-duplicate validation of genex target names. Test printing origin of include dirs from tll(). The COMPATIBLE_INTERFACE does not affect the target it is set on. Ensure type specific compatible interface properties do not intersect. Fix generation of COMPILE_DEFINITIONS in DependInfo.cmake. Fix determination of evaluating link libraries. Only use early evaluation termination for transitive properties. Move a special case for PIC from the genex to the cmTarget code. Don't keep track of content determined by target property values. Only append build interface include dirs to particular targets. Ensure that the build interface includes have been added. Whitelist target types in target_{include_directories,compile_definitions} Make sure INTERFACE properties work with OBJECT libraries. Don't allow utility or global targets in the LINKED expression. Generate config-specific interface link libraries propeties. Fix determination of when we're evaluating compile definitions. Rename the IncludeDirectoriesEntry to be more generic. Don't use LINKED where not needed. Use the link information as a source of compile definitions and includes. Revert "Don't allow utility or global targets in the LINKED expression." Don't populate INTERFACE includes and defines properties in tll. Revert "Add the $ generator expression." Revert "find_package: Reword _NO_INTERFACES documentation" Revert "Add a way to exclude INTERFACE properties from exported targets." Don't add target-specific interface includes and defines to Qt 4 targets. Fix GenerateExportHeader documentation #13936 automoc: Add source file to target early to set the linker language Keep track of all targets seen while evaluating a genex. Add a new Export generator for IMPORTED targets. Handle targets in the LINK_LIBRARIES of try_compile. Strip stray semicolons when evaluating generator expressions. Workaround broken code where a target has itself in its link iface. Fix DAG checker finding cycling dependencies. Expand includes and defines transitively in 'external' genexes. Fix constness of accessors. Fix the tests for evaluating includes and defines. Memoize includes and defines from interface libraries. Remove use of TARGET_DEFINED from target_include_directories test. Remove use of TARGET_DEFINED from the ExportImport test. Remove use of TARGET_DEFINED from the target_link_libraries test. Revert "Add the TARGET_DEFINED generator expression" Only add existing targets to the Qt4 target depends properties. Fix the cmGeneratorExpression::Split when leading chars are present. Fix RPATH information when only a genex is used as a link library. Mention that IMPORTED targets may be created by a find_package call. Remove unused parameters from target_link_libraries tests. Only process transitive interface properties for valid target names. Restore support for target names with '+' (#13986) Automoc: Don't create automoc targets if Qt is not used (#13999) cmake-gui: Use -fPIE if required by Qt. cmake-gui: Workaround bug in Qt 5.0.0 to 5.0.3 QStandardItemModel Thomas Klausner (1): KWIML: Teach ABI.h that VAX is big endian Yury G. Kudryashov (3): Automoc: Fix automoc for OBJECT libraries. Automoc: add OBJECT library to QtAutomoc test spell: fix a few typos in comments Changes in CMake 2.8.10.2 (since 2.8.10.1) ---------------------------------------------- Alex Neundorf (1): Automoc: fix regression #13667, broken build in phonon Brad King (1): Initialize IMPORTED GLOBAL targets on reconfigure (#13702) David Cole (1): CMake: Fix infinite loop untarring corrupt tar file Rolf Eike Beer (1): FindGettext: fix overwriting result with empty variable (#13691) Changes in CMake 2.8.10.1 (since 2.8.10) ---------------------------------------------- Brad King (5): Fix default PDB output directory (#13644) Fix PathScale compiler id for Clang-based upstream Update programmatically-reported copyright year (#13638) FindSDL: Restore accidentally dropped search paths (#13651) OS X: Fix default CMAKE_OSX_SYSROOT with deployment target Rolf Eike Beer (2): FindOpenSSL: fix library selection on Windows (#13645) FindOpenSSL: also find the non-MD debug libraries for MSVC Stephen Kelly (1): GenEx: Use case insensitive comparison for $ Changes in CMake 2.8.10 (since 2.8.10-rc3) ---------------------------------------------- None Changes in CMake 2.8.10-rc3 (since 2.8.10-rc2) ---------------------------------------------- Rolf Eike Beer (2): SelectLibraryConfigurations: add testcase SelectLibraryConfigurations: fix for release and debug libs being the same Stephen Kelly (5): BasicConfigVersion: Make docs refer to the macro, not the module name Document LOCATION undefined behavior with use of LINKER_LANGUAGE. GenEx: Add an accessor for imported targets in a makefile. GenEx: Create cmGeneratorTargets for imported targets. GexEx: Validate Target names and property names differently. Thomas Arcila (1): SelectLibraryConfigurations: Fix foreach(x IN LISTS ...) syntax Changes in CMake 2.8.10-rc2 (since 2.8.10-rc1) ---------------------------------------------- Alex Neundorf (2): Document CMAKE_FIND_PACKAGE_NAME Automoc: fix #13572: issue with symbolic links Brad King (4): cmCTestSVN: Fix compilation with Sun CC 5.1 if: Document that plain 'NOTFOUND' is a false constant string: Clarify regex documentation of '-' behavior FortranCInterface: Pass all flags to VERIFY project (#13579) David Cole (1): NSIS: Fix incorrect uninstall registry key name (#13578) Eric NOULARD (3): CPACK_XX_ON_ABSOLUTE_INSTALL_DESTINATION is now properly checked for ON/OFF Document CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY and fix some typo. Make CPACK_SET_DESTDIR work with archive generator + component-based packaging Jean-Christophe Fillion-Robin (1): CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setup Pere Nubiola i Radigales (1): Find PostgreSQL headers on Debian Peter Kümmel (4): Ninja: also set OBJECT_DIR when compiling Ninja: don't pollute current dir when using gui (#13495) Ninja: implicit dependency for custom command files Fix regression: write compile definitions if any Philip Lowman (4): FindGTK2: Rollback lib64 changes which broke header file finding FindGTK2: #12049 fix detection of header files on multiarch systems FindGTK2: #12596 Missing paths for FindGTK2 on NetBSD FindGTK2: Update local changelog Rolf Eike Beer (6): CTest: fix usage of memory checker with spaces in path CTest: fix pre and post test commands with spaces CTest: add tests that simulate memcheck runs CTest: improve memory checker type detection CTest: add a test for CTEST_CUSTOM_MEMCHECK_IGNORE CTest: add a check with a quoted memory checker Stephen Kelly (18): GenEx: It is not an error to specify an empty parameter GenEx: Return after error reported. GenEx: Report actual target name not found, not "0" each time. GenEx: Parse comma after colon tokens specially GenEx: Validate target and property names. GenEx: Ensure that the empty CONFIGURATION can be used conditionally. GenEx: Add test for $ with empty parameter. GenEx: Add tests for "0" and "1" expressions with literal commas. GenEx: Don't use std::vector::at(int). Attempt to fix the compile of cmake on Sun CC. GenEx: Parse colon after arguments separator colon specially. GenEx: Test the use of generator expressions to generate lists. GenEx: Fix termination bugs in generator expression parser. GenEx: Break if there are no more commas in the container GenEx: Add some more asserts to verify code-sanity. GenEx: Replace some failing tests with Borland and NMake makefiles. GenEx: Fix reporting about not-found include directories and libraries. Fix config-specific INCLUDE_DIRECTORIES in multi-config generators Changes in CMake 2.8.10-rc1 (since 2.8.9) ----------------------------------------- Scripted Changes (3): Remove trailing whitespace from most CMake and C/C++ code Convert CMake-language commands to lower case Remove CMake-language block-end command arguments Alex Neundorf (27): Eclipse: add support for the 4.2 Juno release (#13367) Eclipse: improve (fix ?) version detection on OSX Eclipse: fix #13358: don't create bad linked resources Eclipse: fix #13358: don't create bad linked resources remove non-working KDE4 test Eclipse on OSX: fix handling of framework include dirs (#13464) Eclipse on OSX: improve handling of framework include dirs (#13367) -fix line length fix #13474: also rescan dependencies if the depender does not exist -fix line length -fix Java dependency scanning, broken in previous commit error out if CTEST_USE_LAUNCHERS is TRUE but RULE_LAUNCH_* are not set fix #13494: rerun automoc also if include dirs or moc options change CMakeDetermineFortranCompiler: add support for cross-compiling (#13379) Automoc: fix #13493, use target properties for include dirs Automoc: do not use DEFINITIONS, but only COMPILE_DEFINITIONS Automoc: also the makefile-COMPILE_DEFINITIONS cmGlobalGenerator.h: some minor coding style fixes Modules/readme.txt: fix typo find_package: add support for a _NOT_FOUND_MESSAGE variable exports: store pointers to all installations of each export set exports: accept a missing target if it is exported exactly once exports: first try at error handling if a target is missing exports: fix build with MSVC6 exports: move the handling of missing targets into subclasses exports: define a CMAKE_FIND_PACKAGE_NAME var set by find_package() exports: add a test for exporting dependent targets Andreas Mohr (1): FindCURL: Find older MSVC prebuilts Andy Piper (1): Do not include directories which are part of the package install prefix. Benjamin Eikel (21): Initial version of find module FindSDL: Add version support for FindSDL_net FindSDL: Version support for FindSDL_image FindSDL: Use prefix SDL_NET, because it matches the file name. FindSDL: Use SDL_IMAGE prefix for varibales FindSDL: Add "cmake_minimum_required" to "try_compile" project FindSDL: Format the documentation FindSDL: Version support for FindSDL_sound FindSDL: Use same capitalization for FPHSA as file name FindSDL: Pass SDL_SOUND_LIBRARY to FIND_PACKAGE_HANDLE_STANDARD_ARGS FindSDL: Use SDL_MIXER prefix for variables FindSDL: Add version support for FindSDL_mixer FindSDL: Update documentation FindSDL: Use SDL_TTF prefix for variables FindSDL: Add version support for FindSDL_ttf FindSDL: Update documentation FindSDL: Format documentation FindSDL: Add version support FindSDL: Add my copyright tag to all FindSDL_* modules FindSDL: Remove from find_... calls PATHS that are set by default FindSDL: Stay compatible with old input variables Bill Hoffman (8): Use OUTPUT_NORMAL instead of OUTPUT_MERGE for cmake -E chdir. curl: Use find_package(OpenSSL) curl: Make OpenSSL DLLs available to CMake on Windows file(DOWNLOAD): Generalize EXPECTED_MD5 to EXPECTED_HASH file(DOWNLOAD): Add options for SSL Utilities/Release: Enable CMAKE_USE_OPENSSL in nightly binaries Add SSL_VERIFYPEER and CAINFO file options to ExternalProject_Add. Revert "Ninja: don't expand any rsp files" Brad King (83): find_library: Add test covering lib->lib64 cases find_library: Refactor lib->lib64 conversion find_library: Simplify lib->lib expansion find_library: Fix mixed lib->lib64 (non-)conversion cases (#13419) CMakeDetermine(C|CXX)Compiler: Consider Clang compilers Factor common code out of CMakeDetermine(ASM|C|CXX|Fortran)Compiler Prefer generic system compilers by default for C, C++, and Fortran Xcode: Fix object library references in multi-project trees (#13452) Xcode: Run xcode-select to find Xcode version file (#13463) Watcom: Simplify compiler version detection (#11866) Remove trailing TAB from NSIS.template.in Fix WarnUnusedUnusedViaUnset test pass/fail regex CMakeVersion.bash: Update sed expression for lower-case 'set' GetPrerequisites: Mark file_cmd as advanced cache entry Add boolean generator expressions Add $ boolean query generator expression Recognize Clang ASM support (#13473) Xcode: Set ASM source language in project file (#13472) Tests/Assembler: Do not use assembler in universal binaries Add FindHg module to find Mercurial ExternalProject: Add Mercurial (hg) repository support Qt4Macros: Fix recently broken resource file parsing Tests/ObjectLibrary: Do not enable CXX in subdirectories VS11: Rename 'Immersive' to 'WindowsAppContainer' (#12930) VS: Disable precompiled headers unless enabled by project (#12930) VS11: Generate flag tables from MSBuild V110 tool files Detect Compaq compiler version with its id Detect PathScale compiler version with its id Detect TI compiler version with its id Detect Comeau compiler version with its id Detect SDCC compiler version with its id Detect Cray compiler version with its id Detect Analog VisualDSP++ compiler version with its id Re-order C/C++/Fortran compiler determination logic CMakeDetermineCompilerId: Prepare to detect IDE compiler id Xcode: Detect the compiler id and tool location VS10: Define CMAKE_VS_PLATFORM_TOOLSET variable VS: Detect the compiler id and tool location Cleanly enable a language in multiple subdirectories Test variables CMAKE_(C|CXX|Fortran)_COMPILER(|_ID|_VERSION) Document CMAKE__COMPILER_(ID|VERSION) values Make platform information files specific to the CMake version Move CMAKE__COMPILER_WORKS to compiler information files Store ABI detection results in compiler information files VS: Remove support for "free" version 2003 tools VS: Simplify MSVC version reporting Modernize MSVC compiler information files VS: Fix MSVC_IDE definition recently broken by refactoring add_library: Document POSITION_INDEPENDENT_CODE default (#13479) magrathea: Tell cmELF about DT_RUNPATH (#13497) Utilities/Release: Link AIX binary with large maxdata Utilities/xml: Add .gitattributes to disable whitespace checks Utilities/xml: Add docbook-4.5 DTD (#13508) docbook: Fix formatter naming convention to avoid shadow docbook: Fix Sun CC warning on ptr_fun(isalnum) curl: Honor OPENSSL_NO_SSL2 if: Compare up to 8 components in VERSION tests ExternalProject: Generalize URL_MD5 option to URL_HASH Rename SSL terminology to TLS file(DOWNLOAD): Make TLS options behave as documented OS X: Add platform-specific Clang compiler info files (#13536) VS11: Detect VS 2012 Express for default generator (#13348) VS11: Add VS 2012 Express support (#13348) file(DOWNLOAD): Add HTTP User-Agent string ExternalProject: Add DOWNLOAD_NAME option file(DOWNLOAD): Change EXPECTED_HASH to take ALGO=value VS8: Remove '.NET' from generator description (#10158) Clang: Split Compiler/Clang* modules out from GNU (#13550) Clang: All versions know about -fPIE (#13550) Xcode: Remove unused code reading CMAKE_OSX_SYSROOT_DEFAULT OS X: Always generate -isysroot if any SDK is in use OS X: Improve default CMAKE_OSX_SYSROOT selection bootstrap: Suppress CMAKE_OSX_SYSROOT if CFLAGS have -isysroot Tests/Assembler: Use CMAKE_OSX_SYSROOT to generate .s file OS X: Allow CMAKE_OSX_SYSROOT to be a logical SDK name OS X: Simplify selection of CMAKE_OSX_ARCHITECTURES OS X: If CMAKE_OSX_SYSROOT is already set do not compute default OS X: Further improve default CMAKE_OSX_SYSROOT selection OS X: Teach deployment target sanity check about SDK names OS X: Ignore MACOSX_DEPLOYMENT_TARGET during Xcode compiler id Verify that PDB_(NAME|OUTPUT_DIRECTORY) are honored in test Document that PDB_(NAME|OUTPUT_DIRECTORY) are ignored for VS 6 Run PDBDirectoryAndName test on MSVC and Intel Clinton Stimpson (8): fphsa: clarify message about minimum required version found. DeployQt4: Include DESTDIR for some cpack generators. Add -DNDEBUG to RelWithDebInfo flags where where Release flags had it. Fix regex for qt minor version. FindQt4: Give precedence to QTDIR environment variable, if set. FindQt4: Give precedence to QTDIR environment variable, if set. Fix errors detecting Qt4 on Windows 8. cmake-gui: Fix error status when interrupted. Daniel Pfeifer (8): Simplify CMake.HTML documentation test command line docbook: Remove table of contents docbook: Factor out code to write valid DocBook IDs docbook: Fix the DocBook section output docbook: Cleanup formatter and generated DocBook docbook: Add support for at section level 1 docbook: Add CMake.DocBook test to validate xml (#13508) docbook: Remove redundant docs that cause invalid DocBook David Cole (9): Begin post-2.8.9 development Release: Temporarily exclude ExternalProject test on cygwin Add ability to run as a ctest -S script also CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2) Convert the CPACK_CYGWIN_PATCH_NUMBER variable to a cache variable InstallRequiredSystemLibraries: Use correct file names (#13315) ProcessorCount: Mark find_program vars as advanced (#13236) FindQt4: Avoid "finding" non-existent library in a .framework FindMPI: Set correct variables for calls to FPHSA Eric NOULARD (2): Enhance DESTDIR documentation. Fixes #0012374. Handles %attr(nnn,-,-) /path/to/file in CPACK_RPM_USER_FILELIST properly. James Bigler (3): Replace -g3 with -g for CUDA 4.1 and 4.2 in addition to CUDA < 3.0. Added CUDA_SOURCE_PROPERTY_FORMAT. Allows setting per file format (OBJ or PTX) FindCUDA: Added CUDA_HOST_COMPILER variable. Marcin Wojdyr (1): Remove CMake multiline block-end command arguments Nils Gladitz (1): ctest_update: Tell svn not to prompt interactively (#13024) Patrick Gansterer (4): VS: Cleanup AddPlatformDefinitions() of Visual Studio generators Add additional architectures to CMakePlatformId.h.in Add WindowsCE platform information files VS: Remove duplicated implementations of CreateLocalGenerator() Peter Kuemmel (1): Ninja: don't expand any rsp files Peter Kümmel (15): Ninja: cmcldeps needs a compiler Ninja: don't crash on returned 0 pointer Ninja: prepare msvc pdb cleanup Ninja:split out setting of msvc TARGET_PDB Ninja: remove GetTargetPDB because it is used only once Ninja: also detect /showInclude prefix for icl Find mingw's windres also when Unix Makefiles are used Ninja: don't suppress warning about compiler options Ninja: suppress cmcldeps only for source file signature try_compiles Ninja: filter target specific compile flags with language specific regex Ninja: OBJECT_DEPENDS should set an implicit dependency Ninja: don't confuse ninja's rsp files with nmake's Ninja: move -LIBPATH behind -link option Ninja: move in front of the first linker option Ninja: add option to enforce usage of response files Philip Lowman (3): FindOpenSceneGraph: CMake variable OSG_DIR influences detection now too FindGTK2: Add GTK2_CAIROMMCONFIG_INCLUDE_DIR for cairommconfig.h CMakeDetermineVSServicePack: Visual Studio 2012 added Rolf Eike Beer (25): remove lib64 Unix paths if the respective lib path is also given FindOpenSSL: find cross-compiled OpenSSL from MinGW (#13431) FindOpenSSL: use SelectLibraryConfigurations FindOpenSSL: let CMake handle environment variable HINTS FindOpenSSL: cleanup path hints FindOpenSSL: remove leftover comment SelectLibraryConfiguration: generate correct output when input vars are lists Fix typo direcotry -> directory (and similar) [#13444] FindSelfPackers: fix typo (#13456) CheckTypeSize: show in documentation how to get struct member size (#10579) CheckTypeSize: add a test for size of struct members FindX11: remove duplicates from X11 include path list (#13316) FindX11: avoid calling list(REMOVE_DUPLICATES) on an empty list list command: error on too many arguments CMake.List test: explicitely test with lists containing only an empty string use the find_* functions ENV parameter use PATH_SUFFIXES to simplify find_* calls do not escape spaces in regular expressions read less from version headers into variables FindFLEX: fix version extraction on Apple FindGettext: remove code duplicating FPHSA checks include FPHSA from current directory in all modules FindOpenSceneGraph: simplify by using more features of FPHSA FindSDL: add SDLMAIN_LIBRARY only once (#13262) add documentation for all MSVCxxx version variables (#12567) Sergei Nikulov (1): fix for discovering ft2build.h using FREETYPE_DIR environment var (#13502) Stephen Kelly (60): Add new qt4_use_modules function. Add missing whitespace to docs. Fix some typos in the docs. Remove incorrect doc string for link type enum Remove duplicate 'of' from docs. Fix unfortunate documentation error for PIC feature. Don't duplicate -D defines sent to the compiler. Fix CompileDefinitions test on Visual Studio. Fix the test setting COMPILE_DEFINITIONS target property Rename files from main.cpp to more meaningful names. Fix casing of 'Qt' in docs, comments and user-visible strings. Read entire Qt4 qrc file when parsing for depends info. Add a return-after-error if an old Qt is found. Use CMake platform variables instead of Qt ones. Move variable setting down to where it relates to. Remove an if which is always true. Use add_subdirectory instead of the obsolete subdirs. Replace two include_directories with a setting. Compile with both Qt4 and Qt5. Build with Qt5 if it is found. cmGeneratorExpression: Re-write for multi-stage evaluation cmGeneratorExpression: Port users to two-stage processing Fix the regular expression validator for target names. Handle colons as a special case in the generator expression parser. Enable deprecated API when using Qt 5. Add more forwarding API to cmGeneratorTarget. Store cmGeneratorTargets with the makefile. Move GenerateTargetManifest to cmGeneratorTarget. Move GetLinkInformation to cmGeneratorTarget Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget. Move GetCreateRuleVariable to cmGeneratorTarget. Port cmLocalGenerator::GetTargetFlags to cmGeneratorTarget. Move GetIncludeDirectories to cmGeneratorTarget. Append the COMPILE_DEFINITIONS from the Makefile to all targets. Add a wrapper for accessing config-specific compile-definitions. Add convenience for getting a cmGeneratorTarget to use. Fix compiler warning with initialization order. Revert "Move GenerateTargetManifest to cmGeneratorTarget." Use the cmGeneratorTarget for the include directories API. Fix indentation in the code blocks generator. Port remaining code to GetCompileDefinitions(). Add include guard for cmGeneratorExpression. Don't prepend a path before generator expressions in include_directories. Convert paths in INCLUDE_DIRECTORIES property to Unix slashes. Add an AppendDefines std::string overload. Return a std::string from GetCompileDefinitions. Refactor GetCompileDefinitions a bit. Extend the generator expression language with more logic. Add a generator expression for target properties. Add API to check that dependent target properties form a DAG. Add a self-reference check for target properties. Early return if there is no target. Process generator expressions in the INCLUDE_DIRECTORIES property. Process generator expressions in the COMPILE_DEFINITIONS target property. Fix the layout of the generator expression documentation. Fix punctuation in some variables documentation. Document that generator expressions can be used in target properties. Remove unused parameter marker and the unused parameter. Fix minor typos. Remove period at the end of the check message. Tom Schutter (2): cmake-mode.el: Use more readable regex and case-fold-search cmake-mode.el: add local keybindings Xavier Besseron (7): cmCTestSVN: Add the new SVNInfo structure cmCTestSVN: Extend Revision struct with SVN repo information cmCTestSVN: Add the Repositories list and the RootInfo pointer cmCTestSVN: Create the SVNInfo for the root repository cmCTestSVN: Use the SVNInfo structure cmCTestSVN: Add a LoadExternal() function and an ExternalParser class cmCTestSVN: Load and process information from externals Yuchen Deng (1): Add PDB_OUTPUT_DIRECTORY and PDB_NAME target properties (#10830) Yury G. Kudryashov (7): exports: Move cmTargetExport to a dedicated header file exports: Remove cmTargetExport constructor exports: Rename cmGlobalGenerator::AddTargetToExport{s,} exports: Create class cmExportSet exports: Add cmExportSetMap class exports: Hold an ExportSet pointer in cm*Export*Generator exports: cmGlobalGenerator::ExportSets destructor will clear it Zack Galbreath (2): Clean up documentation formatting so that it is rendered properly in HTML. cmparseMSBuildXML: Include DisplayName in the output Changes in CMake 2.8.9 (since 2.8.9-rc3) ---------------------------------------- None Changes in CMake 2.8.9-rc3 (since 2.8.9-rc2) -------------------------------------------- Alexey Ozeritsky (1): Fixed: FindLAPACK does not find MKL 10.3 when using gcc 4.x Brad King (3): pre-commit: Reject C++ code with lines too long Tests/X11: Add missing include for 'rand' Tests/ObjC++: Use standard header David Cole (1): CPack: Use bin subdir when looking for dpkg and rpmbuild Eric NOULARD (2): Do not run cpack at CMake time it is not available. Find dpkg and rpmbuild in usual Fink and MacPort paths Nicolas Despres (17): Ninja: Cannot pass a reference to an anonymous object. Ninja: Add support for OS X app bundles. Ninja: Add support for OX X library framework. Ensure 3rd party libraries are writable. Remove trailing white-spaces. Re-factor OS X bundle and framework generation. Ninja: Copy resource files in the bundle. Ninja: Add support for CFBundle. Enable BundleTest with CLang too. Re-factor CFBundle generation. Ninja: Use same echo message as makefiles. Re-factor bundle content copying rules generation. Re-factor Mac OS X content directory computation. Re-factor framework directory computation. Re-factor OS X content generator start up. Fix memory leak in Makefile generator. Add missing this->. Peter Kuemmel (1): Ninja: dep files and multiple -arch flags not possible on mac Peter Kümmel (24): Ninja: windres is also used for cross-compiling Ninja: search for windres with prefix Ninja: there could be null pointers Ninja: more searching for windres Ninja: path is already declared Ninja: fix GCC 4.7 warning -Wconversion Ninja: fix sytle Ninja: also stop when .rc's .d file couldn't be generated Ninja: readd quotes to src file path before patching it Ninja: cmcldeps needs absolute paths for RCs Ninja: on Mac no multiple -arch because of -M Ninja: fix mis-matching endif() argument Ninja: also mingw needs TARGET_PDB Ninja: line length Ninja: make TARGET_PDB a real .gdb file name Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIX Ninja: remove 'friend' in ninja code Ninja: remove warnings Ninja: remove 'this' from member initializer list Ninja: fixes for bcc Ninja: enable ninja on Mac so all Mac CDash-builds are tested, cleanup later Ninja: void function can't return a value Ninja: enable ninja support everywhere Ninja: also bootstrap ninja files Changes in CMake 2.8.9-rc2 (since 2.8.9-rc1) -------------------------------------------- Alex Neundorf (4): -remove trailing whitespace documentation: preparation for making the man section configurable man documentation: detect man section from the given filename Eclipse: fix #13313, always set LANG to C, also if unset Bill Hoffman (1): Remove process execution code from cmcldeps and have it use cmake code. Brad King (12): KWIML: Generalize interface to report broken integer literal macros KWIML: Teach ABI.h about 'long long' and 'char' on old HP KWIML: Teach INT.h that no HP platform implements SCN*8 formats KWIML: Teach INT about broken UINT32_C on old HP Fix project command documentation typo (#13384) CTestUpdateSVN: Do not create repo directory first (#13349) Tests/CustomCommand: Do not use 'main' in a library AIX-GNU: Link shared libs with -brtl,-bnoipath (#13352) include: Ignore empty string as file name (#13388) Add ASM platform information for GNU compiler on AIX (#13390) if: Document that macro arguments are not variables (#13393) install: Fix COMPONENT option Clinton Stimpson (3): GetPrerequisites.cmake: detect executables built with the -pie linker flag. cmake-gui: Fix code to respect current locale. DeployQt4: workaround bug 13258 where ARGV1 is leaked into a sub function. David Cole (7): STYLE: Fix line length, remove extra blank line CTest: Refactor error output into ErrorMessageUnknownDashDValue CTest: Rename local variable for clarity CTest: Extend -D command line arg handling for variable definitions CTest: Allow -Dvar=value with no space between the D and the var CTest: Add test to verify -D variable definitions work Ninja: Fix typo: tagets -> targets Eric NOULARD (3): Enhance documentation of install command w.r.t. the "Undefined" component. CPack fix regression between 2.8.7 and 2.8.8 when running cpack with no arg. Do not provide defaul value for CPACK_PACKAGE_DIRECTORY if found in config. Nicolas Despres (1): Ninja: Clean all symlink created for libraries. Peter Kuemmel (6): Ninja: print error message when command failed Ninja: also consider variables when checking command line length Ninja: also consider rule command length for rsp file Ninja: remove int/size_t warning Ninja: add soname test case Ninja: don't shadow 'outputs' variable Peter Kümmel (6): Ninja: also write link libraries to rsp file Ninja: remove some unused default arguments Ninja: error on missing rspfile_content Ninja: disable work around when linking with mingw Ninja: enable response file support on Mac (length 262144) Ninja: sysconf() is declared in unistd.h Philip Lowman (2): FindBoost: Fix bug where Boost_FOUND could be false when version specified FindBoost: Future proof to 1.56 Rolf Eike Beer (2): FindJava: improve version matching (#12878) fix 2 space bugs in variable documentation Stephen Kelly (3): Use full paths in compile_commands.json for out of source builds. Construct the full path before escaping it. Fix PositionIndependentTargets test with clang trunk. Changes in CMake 2.8.9-rc1 (since 2.8.8) ---------------------------------------- Alex Neundorf (12): -fix #13081: support OBJECT libraries in CodeBlocks/QtCreator projects CodeBlocks: improve support for OBJECT libraries fix #13195: avoid multiple mentions of found packages FeatureSummary.cmake: nicer formatting -strip trailing whitespace make default install component name configurable -add docs for ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME} write_basic_package_version_file() now works with unset CMAKE_SIZEOF_VOID_P add test for #13241: empty SIZEOF_VOIDP in write_basic_package_version_file ASM compiler detection: remove debug output (#13270) Eclipse: parallel build also for "Build project" #13287 automoc: better error handling (#13299) Anthony J. Bentley (1): FindwxWidgets: Do not use -isystem on OpenBSD (#13219) Ben Boeckel (2): Don't put legacy variables back into the cache Search for other ABIFLAGS builds of Python Bill Hoffman (15): Add support to ctest for GTM mumps coverage. Fix warning about char* instead of const char*. Fix line length. Add test for mumps coverage. Also refactor code to prepare for cache coverage. Add virutal destructor to silence warning. Add support for Cache coverage. Fix some warnings and a bug where it went past the length of a vector. Use a script to run the test because WORKING_DIRECTORY is not in 2.8.2. Use expression to run ctest so it works with Xcode and VS IDE. Add ability to specify more than one package directory or coverage directory. Remove uncovered files from cache coverage data. Disable bullseye coverage for mumps coverage test. Update test data to match new coverage format. Do not try to run bullseye coverage if COVFILE env is empty. CDash now supports lots of files in coverage. So, show all files. Brad King (59): Add LICENSE and NOTICE Add 'tips' script to suggest local configuration Add 'setup-user' script to configure authorship information Add 'setup-hooks' script to install local hooks Add 'setup-gerrit' script to configure Gerrit access Add 'setup-stage' script to configure topic stage remote Add 'setup-ssh' script to configure ssh push access Add README instructions and sample configuration Add and configure developer setup helper scripts Exclude from source archives files specific to Git work tree Exclude from CMake source archives files specific to Git work tree Refactor CMake version handling Document behavior of multiple target_link_libraries calls (#13113) ctest_coverage: Save/restore LC_ALL around gcov (#13136) Cleanup custom command .rule file internal handling Factor out custom command .rule file path generation VS10: Avoid creating .rule files next to outputs (#13141) find_package: Document _FIND_* variables (#13142) find_package: Fix components signature documentation (#13142) Teach RunCMake tests to allow custom checks list: Handle errors on empty lists more gracefully (#13138) include_external_msproject: Test TYPE, GUID, PLATFORM options (#13120) VS: Fix line-too-long style errors libarchive: Avoid 'inline' keyword on XL C v6 (#13148) Intel: On Windows use /EHsc instead of deprecated /GX (#13163) KWSys: Remove DateStamp try_compile: Cleanup temporary directories (#13160) setup-stage: Optionally reconfigure topic stage CTest: Escape MemCheck test output for XML (#13124) Documentation: Fix HTML anchor ranges Require CMake 2.8.2 or higher to build CMake CTest: Simplify environment save/restore KWSys: Fix SystemTools environment memory handling (#13156) VS10: Refactor custom commands to use WriteSource VS10: Simplify vcxproj.filter file generation VS10: Convert paths normally unless forced to relative VS11: Do not use source path conversion workaround specific to VS 10 VS10: Generate relative source paths when possible (#12570) Intel: On Windows use /RTC1 instead of deprecated /GZ (#13174) Test NO_SONAME property (#13155) KWSys: Remove dependencies on FundamentalType Documentation: Improve HTML section index format VS: Restore header files marked as OS X Framework content (#13196) VS11: Fix ARM architecture hint typo (#13077) Fortran: Follow <>-style includes (#13239) bootstrap: Port back to old shells (#13199) KWSys: Remove unused environ declaration from SystemTools FindBZip2: Search locations in GnuWin32 registry cmArchiveWrite: Clear fflags from archive entries Makefile: Support directory names containing '=' (#12934) libarchive: Avoid 'inline' on SunPro < 5.9 (#13277) Avoid direct use of std::(o|)stringstream (#13272) KWIML: Add interface to report broken integer format macros KWIML: Report broken integer format macros on AIX 4.3 add_library: Allow OBJECT library without dynamic linking (#13289) install: Fix FILES_MATCHING on case-sensitive Mac filesystems (#13177) Make CTest.UpdateGIT robust to Git safecrlf on Windows Do not crash on SHARED library without language (#13324) CMakeDetermineCCompiler: Fix typo "_CXX_" -> "_C_" (#13330) Brian Helba (1): Print any evaluated 'elseif'/'else' commands in trace mode (#13220) Charlie Sharpsteen (1): Mac: Add guards to CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE defaults Clinton Stimpson (1): cmake-gui: Wait for configure/generate thread to complete before exiting. Daniel R. Gomez (6): KWSys: Fix hashtable prime list on g++ 2.9 (#13273) Tests/IncludeDirectories: Files must end in a newline (#13314) Tests/VSGNUFortran: Avoid C++ comment in C code (#13314) Tests/Assembler: Assemble and link with same flags (#13314) Fix FindPackageMode test Makefile (#13314) Avoid string.clear and string.push_back (#13319) David Cole (12): Begin post-2.8.8 development CPack/NSIS: Add CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS (#13085) ExternalProject: Add missing COMMAND keyword ExternalProject: Avoid unnecessary git clones (#12564) ExternalProject: Refactor repeated code into function (#12564) ExternalProject: Avoid repeated git clone operations (#12564) CTest: Modify reg ex so it also works with gcov 4.7 output (#13121) BZip2: Remove unnecessary *.bz2 files from CMake source tree Ninja: Enable the ninja generator by default on Windows. Revert "Millenium update: 79 * (16/9)/(4/3) = 105" Ninja: Restructure code to work with the Borland compilers Remove unused ivars to eliminate compiler warnings David Faure (1): Abort FindQt4.cmake if Qt 5 is found. Eric NOULARD (12): Use fakeroot for control.tar.gz as well Enhancement of bash completion scripts given by Igor Murzov. Install editors helper files CPack - preserve timestamp for CPACK_INSTALLED_DIRECTORIES. fixes: #0013193 CPack add easy possibility to warn about CPACK_SET_DESTDIR CPack add necessary check to detect/warns/error on ABSOLUTE DESTINATION Fix KWStyle warning Use CPACK_xxx and CMAKE_xxx in a consistent way. CPack allow RPM and DEB generator to be used on OSX. Calm down Borland compiler warning about "always true" CPackRPM: avoid leakage of RPM directive from one component to another. CPackDeb add missing documentation for some CPACK_DEBIAN_xx variables. Fraser Hutchison (1): CPack: Fixed incorrect error log for CPACK_NSIS_MENU_LINKS. Jan Schaffmeister (1): Xcode: Recognize storyboard source files (#13214) Jim Hague (2): libarchive: Avoid trailing , in enum for XL v6 (#13148) Workaround IBM XL v6 streams seekg bug (#13149) Jonathan Klein (1): FindBullet: Add missing math library name (#13309) Joseph Snyder (1): Change GT.M Coverage Parser global Konstantin Tokarev (1): [OSX] Fixed undefined symbol when linking CMakeLib into shared library Kurtis Nusbaum (1): Added conditional for the phonon backend plugin. Leonid Yurchenko (1): include_external_msproject: Add TYPE, GUID, PLATFORM options (#13120) Mario Bensi (1): Add FindLibLZMA Module Mariusz Plucinski (1): Do not crash on unknown source language (#13323) Matt McCormick (1): ExternalProject: Fix 'make' builds with Ninja (#13159) Minmin Gong (1): VS11: Add ARM architecture generator (#13077) Modestas Vainius (3): Fix CPack RPM man page typo detected by lintian. Support building shared libraries or modules without soname (#13155) Fix a few typos in NO_SONAME property description. Nicolas Despres (2): Ninja: Add a convenient 'clean' target. Ninja: Add a convenient 'help' target. Patrick Gansterer (1): Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL Peter Collingbourne (2): Ninja: apply CMAKE__FLAGS_ to executable targets (#13069) Ninja: mark rules/build file streams failed if error occurred (#13067, #13105) Peter Kuemmel (61): Ninja: ensure output directories exist Ninja: no 16:9 screens for the cmake team ;) Ninja: add option to enable ninja where it is not enabled by default Ninja: remove GCC -Wshadow warning Ninja: enable Ninja for CodeBlocks Ninja: no additional variable needed to enable ninja Ninja: CMAKE_USE_NINJA is the name of the macro VC Express doesn't support folders, ignore USE_FOLDER property Ninja: add response file support on Windows Ninja: 30000 is too long for windows cmd Ninja: check for valid pointer Ninja: also create rspfile rules Ninja: don't break because of empty commands Ninja: find mingw's resource compiler Ninja: add dependency tracking for msvc with cldeps Ninja: add wrapper for cl to extract dependencies Ninja: allow spaces in source path Ninja: assume cmcldeps in the same dir as cmake Ninja: add copyright and description Ninja: don't set cmcldeps vars to empty string when they are not defined Ninja: fix ModuleNoticies test Ninja: don't use cmcldeps for try_compile Ninja: allow spaces in cldeps's .d file Ninja: fix line length Ninja: don't pollute the rules file with useless comments Ninja: use slahes in .d files Line Length: <79 Millenium update: 79 * (16/9)/(4/3) = 105 Ninja: complete MinGW support Ninja: use slashes for include dirs, so also slahes are in the .d files Ninja: ninja can't read dep. pathes with parentheses Ninja: work with ninja/master, don't compile rc files with cl Ninja: extract dependencies for .rc files with msvc tools Ninja: remove unused CommentStream Ninja: onyl use pre processor for rc file parsing Ninja: suppress startup logos Ninja: cmcldeps Ninja: don't use shell when cmake is called directly Ninja: ninja now also could read parentheses in .d files Ninja: fix Linux build Ninja: sh needs something befor and after && Ninja: build with old vc versions Ninja: remove nop line Ninja: undo all the NOSHELL patches Ninja: be more accurate when estimating the command line length Ninja: don't pollute build dir with preprocessed rc files Ninja: Eclipse and KDevelop fixes for ninja Ninja: no /nologo option in old rc.exe Ninja: but cl supports /nologo ... Ninja: try to make GetProcessId visible Ninja: build cmcldeps with mingw Ninja: don't remove space between command and parameters Ninja: some bytes of the rc files couldn't be piped correctly Ninja: build server fixes Ninja: build with old msvc versions Ninja: msvc6 for-scoping Ninja: maybe this fixes the bcc32 build remove warning about unused parameter Ninja: build server fixes Ninja: try work around for bcc32 bug Ninja: disable cldeps for bcc32, it's too old, and ninja would also not build Rolf Eike Beer (12): FindPkgConfig.cmake: fix documented output variable not set (#13125,#13132) UseJava: fix typo in variable name (#13135) Check{C,CXX}CompilerFlag: catch more Intel warning types (#12576) FindPythonLibs: honor EXACT version specification (#13216) UseJava: fix find_jar() called with multiple files (#13281) fix some typos do not explicitely specify /usr and /usr/local as search paths replace open coded versions of file(TO_CMAKE_PATH) FindDevIL: clean up documentation formatting FindQt4: extend documentation Qt4Macros: improve basename extraction in QT4_ADD_DBUS_INTERFACES Qt4Macros: add some quotes to prevent damage from spaces in the paths Sean McBride (1): Remove unused ivars to eliminate compiler warnings Sebastian Leske (1): Improve documentation of set command (#13269) Stephen Kelly (10): Fix the number variable comparison when Qt is not found. Update the docs of IMPORTED_LOCATION_CONFIG to match the code. Move the EscapeJSON method to a sharable location. Add newline to the output. Make the CMAKE_EXPORT_COMPILE_COMMANDS option work with Ninja. Escape the source file to be compiled if required. Exclude the CompileCommandOutput test on WIN32. Add platform variables for position independent code flags Add platform variable for flags specific to shared libraries Refactor generation of shared library flags Tobias Bieniek (1): Qt4Macros: Added support for generated resource files Zack Galbreath (1): FindPythonLibs: Document cache variables (#13240) Zaheer Chothia (1): VS: Set Intel Fortran 13 project version Changes in CMake 2.8.8 (since 2.8.8-rc2) ---------------------------------------- Brad King (1): CheckIncludeFiles: Shorten check description message David Cole (3): CPackNSIS: Rewrite variable documentation to make it more readable. OS X: Use correct extra path when searching for applicaton bundles (#13066) OS X: Mark find_program results as advanced Eric NOULARD (1): Fix some doc typo and add an undocumented var. Kashif Rasul (1): OS X: Use OSX_DEVELOPER_ROOT for app search path (#13066) Rolf Eike Beer (1): FindBoost: add support for 1.49 and 1.50 Changes in CMake 2.8.8-rc2 (since 2.8.8-rc1) -------------------------------------------- Alex Neundorf (4): make cmLocalGenerator::EscapeForCMake() static automoc: fix #13018, proper cmake escaping to avoid false rebuilds automoc: add define to test which caused bug #13018 fix #13054: support OBJECT libraries in Eclipse Ben Boeckel (1): Create granular targets for Ninja generators too Brad King (6): CTest.UpdateHG: Fix repo URL for leading slash Always compile sources with known language Classify known header file extensions as headers VS: Add CMakeLists.txt re-run rules at start of generation Test generated module .def files Ninja: Fix module .def file path conversion David Cole (2): CMake: Clarify SUFFIX target property documentation. Xcode: Pay attention to custom configuration types (#13082) Peter Collingbourne (1): Ninja: Substitute and in depfile flags Rolf Eike Beer (2): FILE: mention that TO_CMAKE_PATH also handles list delimiters FIND_LIBRARY: document FIND_LIBRARY_USE_LIB64_PATHS Sean McBride (1): automoc: include on Apple to get pathconf Tom Hughes (1): Override topdir from rpm command line seems necessary on Amazon linux. Changes in CMake 2.8.8-rc1 (since 2.8.7) ---------------------------------------- Aaron C. Meadows (1): Visual Studio: Allow setting Single Byte Character Set (#12189) Alex Neundorf (34): GNUInstallDirs: add support for Debian multiarch FindRuby: fix usage of RUBY_VERSION_MAJOR (#12172) FindRuby: add more possible library names (for ubuntu, #12172) FindRuby.cmake: add more debug output fix FeatureSummary for REQUIRED packages, they were reported as OPTIONAL FindGetText: fix multiple targets with the same name problem (CMP0002) fix #6976: FindX11 also searches for X11_Xxf86vm_LIB GenerateExportHeader: use double quotes around _gcc_version -remove trailing whitespace -don't pull in CheckTypeSize.cmake from the cmake which is being built bootstrap: move while() and endwhile() into the bootstrap build Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES find_package: print error if an invalid CONFIGS name is used find_package: rename NoModule to UseFindModules find_package: improve error message when no Find module is present find_package: add MODULE mode to use only Find-modules find_package: add CONFIG mode keyword alias for NO_MODULE find_package: mention requested version number in error message add CMakePackageConfigHelpers: configure_package_config_file() wrap write_basic_config_version_file as write_basic_package_version_file() find_package: error out if REQUIRED Config has not been found write_basic_package_version_file(): improve documentation write_basic_package_version_file: add ExactVersion mode WriteBasicConfigVersionFile: add test for ExactVersion mode find_package: allow Config.cmake to set _FOUND to FALSE find_package: add test for setting Foo_FOUND to FALSE in a Config file find_package: additional test for checking the error message find_package: add OPTIONAL_COMPONENTS keyword FPHSA(): add missing "]" to documentation find_package: add documentation for OPTIONAL_COMPONENTS FPHSA(): add HANDLE_COMPONENTS option add macro check_required_components() to configure_package_config_file() Eclipse: fix #13036, make version detection work with symlinks guard eCos.cmake against multiple inclusion (#12987) Alexandru Ciobanu (2): CTest: Detect Xcode error "Command ... failed with exit code" CTest: Match valgrind errors with "points to" (#12922) Alexey Ozeritsky (1): FindBLAS/FindLAPACK: Work with MKL version 10.3 (#12924, #12925) Artur Kedzierski (1): Add CURL_CA_BUNDLE option for SSL support (#12946) Bill Hoffman (12): Add CMakeAddFortranSubdirectory to use MinGW gfortran in VS VSGNUFortran: Add special case for SunPro Fortran runtime library VSGNUFortran: Disable test in special cases CMakeAddFortranSubdirectory: Make IMPORTED targets GLOBAL Use upgraded qt on linux build machine. Teach CTest what a ninja error looks like. Allow two cmake_add_fortran_subdirectory calls in the same project. Add ability to include a file in a project via a cache variable. Fix typo in error message, and remove redundent test. Ninja: Add a cache option CMAKE_ENABLE_NINJA to enable the ninja generator. Ninja: Fix for PDB files with spaces in the path. Fix FindMPI for the intel compiler on linux by looking in implict directories. Bjoern Ricks (1): Fix crash if app bundle executeable couldn't be found Brad King (138): CheckCCompilerFlag: Generalize "but not for C" case (#12633) complex: Remove ancient unused ComplexRelativePaths test complex: Sync Tests/ComplexOneConfig with Tests/Complex complex: Remove dynamic loader tests complex: Move GeneratedFileStream test to CMakeLibTests complex: Simplify test for single-character exe name complex: Move cmSystemTools::UpperCase test to CMakeLibTests complex: Remove test dependence on cmSystemTools complex: Remove unused option to test CMakeLib Intel: Fix Windows per-config Fortran flags (#12642) libarchive: Remove our copy to make room for new import libarchive: Add .gitattributes for indentation with tab libarchive: Add README-CMake.txt libarchive: Do not build subdirectories not in reduced snapshot libarchive: Remove -Wall -Werror from build with GNU libarchive: Build one static cmlibarchive for CMake libarchive: Include cm_zlib.h to get zlib used by CMake Handle libarchive API change in archive_read_data_block Configure libarchive build within CMake libarchive: Install COPYING with CMake documentation libarchive: Port to OSF operating system libarchive: Fix typo in CheckFileOffsetBits libarchive: Implement custom lseek for Borland libarchive: Declare mbstate_t and wcrtomb for Borland libarchive: Cast constants to int64_t instead of using LL suffix libarchive: Workaround case-insensitive symbols on Borland libarchive: Clean up configuration within CMake build libarchive: Cast mode constants to mode_t in case it is signed libarchive: Fix Windows NT API usage in VS 6 libarchive: Suppress compiler warnings libarchive: Fix var decl after statement in archive_string.c libarchive: Do not use ST_NOATIME if not defined libarchive: Check for 'struct statvfs' member 'f_iosize' libarchive: Do not use MNT_NOATIME if not defined libarchive: Use Apple copyfile.h API only if available libarchive: Remove hard-coded build configuration libarchive: Cleanup after ZLIB_WINAPI check libarchive: Define _XOPEN_SOURCE=500 on HP-UX libarchive: Include linux/types.h before linux/fiemap.h libarchive: Rename isoent_rr_move_dir parameter isoent => curent libarchive: Suppress PathScale compiler warnings libarchive: Avoid bogus conversion warning from PGI compiler libarchive: Set .gitattributes to allow trailing whitespace libarchive: Update README-CMake.txt for new snapshot libarchive: Restore CMake 2.6.3 as minimum version bootstrap: Update copyright year in version report bootstrap: Re-implement command line option processing bootstrap: Forward options after '--' to cmake VS10: Fix /pdb option vcxproj element name (#12328) Add framework to detect compiler version with its id (#12408) Detect GNU compiler version with its id (#6251) Detect MSVC compiler version with its id Detect Intel compiler version with its id (#11937) Detect Borland compiler version with its id Detect IBM XL compiler version with its id Detect PGI compiler version with its id Detect Clang compiler version with its id Detect Watcom compiler version with its id Detect SunPro compiler version with its id Detect HP compiler version with its id Document compiler version macro formats used for detection Detect SGI MIPSpro compiler version with its id ExternalProject: Fix git.cmd version detection ExternalProject: Update copyright year Include bzlib.h consistently across CMake build (#10950) FindMPI: Append MPI C++ library correctly in non-compiler case (#12874) Add infrastructure for CMake-only tests Tolerate cycles in shared library link interfaces (#12647) cmInstallCommand: Fix line length for style cmake-mode.el: Indent after multiline argument (#12908) Clarify IMPORTED_ target property documentation Optionally allow IMPORTED targets to be globally visible Add test covering imported target scope rules VS: Simplify ;-separated attribute value parsing Fix CXX/Fortran MODULE flags when enabled before C (#12929) Remove unused test code Allow directory names containing '=' and warn if necessary (#12934) Add CheckLanguage module CMakeAddFortranSubdirectory: Allow full paths to directories CMakeAddFortranSubdirectory: Fix documentation format and typos CMakeAddFortranSubdirectory: Find gfortran in PATH CMakeAddFortranSubdirectory: Validate gfortran architecture CMakeAddFortranSubdirectory: Always parse arguments CMakeAddFortranSubdirectory: Add NO_EXTERNAL_INSTALL option libarchive: Workaround mbsnrtowcs assertion failure on old glibc Recognize OpenBSD versioned .so names (#12954) try_compile: Use random executable file name (#12957) Rename Modules/Platform/Windows-{Borland => Embarcadero}.cmake Recognize Embarcadero compiler (#12604) Factor cmInstallType out of cmTarget::TargetType Add infrastructure for CMakeCommands tests find_package: Reject mixed use of MODULE- and CONFIG-only options find_package: Optionally warn when implicitly using Config mode find_package: Test error and warning messages in failure cases bootstrap: Convert MSYS paths to Windows format (#13001) CTest.UpdateHG: Fix repo URL for local filesystem (#13001) cmcurl: Do not hard-coded Windows check results for MinGW (#13001) CheckSourceTree: Remove CVS checkout support (#13001) Fix MSYS CVS local test repo path format (#13001) find_package: Test that REQUIRED aborts processing correctly Remove unused partial OBJECT_FILES property implementation VS: Simplify object name computation Hide Makefile local object info inside local generator KWIML: Make test_INT robust to #define-d int#_t and INT#_C Add stronger infrastructure for CMake-only tests Use generalized RunCMake test infrastrucure for find_package test Use generalized RunCMake test infrastrucure for build_command test Document Fortran_MODULE_DIRECTORY as OUTPUT only (#13034) Ninja: Constify use of cmCustomCommand Ninja: Avoid using 'this' in member initializers Write CMakeCache.txt atomically (#13040) Add cmGeneratorTarget to represent a target during generation Create a cmGeneratorTarget for each cmTarget during generation Simplify cmMakefileTargetGenerator using cmGeneratorTarget Simplify cmVisualStudio10TargetGenerator using cmGeneratorTarget Pre-compute object file names before Makefile generation Pre-compute object file names before VS project generation Remove unused cmSourceGroup method Rename/constify build-time config placeholder lookup Pre-compute and store target object directory in cmGeneratorTarget Add OBJECT_LIBRARY target type Build object library targets in Makefiles Build object library targets in VS Add $ expression to use an object library Test OBJECT library success cases Test OBJECT library failure cases Test OBJECT library language propagation Test OBJECT library use without other sources Document OBJECT library type in add_library command Simplify cmNinjaTargetGenerator using cmGeneratorTarget Pre-compute object file names before Ninja generation Build object library targets in Ninja Ninja: Honor $ source expressions find_package: Test rejection of required+optional components Simplify cmVisualStudio10TargetGenerator source classification VS10: Fix external objects generated outside target (#13047) Fix ObjectLibrary test on Watcom KWIML: Avoid conflict with C++11 user-defined literals Christian Andersson (1): FindPythonLibs: Search for single-user installs on Windows Christopher Sean Morrison (1): cmake-mode.el: Make indentation case-insensitive (#12995) Clinton Stimpson (14): GetPrerequisites: Add support for @rpath on Mac OS X. GetPrerequisites: Add support for @rpath on Mac OS X. GetPrerequisites: Add test for @rpath support. Fix new BundleUtilities test failure on Mac 10.4.x Fix BundleUtilities test failure with space in build path. cmake-gui: Improve interrupt granularity to fix bug 12649. FindQt4: clarify warning message about incorrect Qt installation. FindQt4: Add include directories for lupdate. Fix paths/hints for finding qtmain. DragNDrop: Fix problem with relocated files in Xcode 4.3 Add test for DeployQt4.cmake Fix for Qt4Deploy on some test machines. Remove QtGui dependency in Qt4Deploy test and verify QtSql existance. DeployQt4: Add path to Qt dlls on Windows. Daniel Nelson (1): CPack Add top level directory in component install for Archive Generators David Cole (33): Begin post-2.8.7 development Release: Increase timeout for slow-testing cygwin build Update dashmacmini2 release script to use Qt 4.6.3 Update dashmacmini2 release script to use Qt 4.8.0 Tests: Update drop site value for the Trilinos contract test Update version of Qt for dashmacmini5 produced release binaries CTestCustom: Suppress clang warning on the dashboard CMake: Eliminate cmMakefile::IncludeDirectories Remove cmMakefile::GetIncludeDirectories Make search paths ordered and unique Call ExpandVariablesInString for each target's INCLUDE_DIRECTORIES Update the documentation regarding INCLUDE_DIRECTORIES. Fix compiler error reported on older Borland dashboard. Fix compiler warning reported on older Borland dashboard. Fix shadowed variable warning on dashboard results Remove trailing white space Use correct "requires" line in cygwin setup hint file VS6: Avoid _MBCS define when _SBCS is defined (#12189) VS6: Avoid SBCS test on VS6 (#12189) Suppress warnings occurring on the dashboards using the PGI compiler. CPack: Fix retry logic when calls to hdiutil fail Ninja: CMake: Adapt Ninja generator for per-target include dirs Ninja: Add friend struct so it can access the private ConvertToNinjaPath. Xcode: Detect new default locations of Xcode 4.3 bits and pieces (#12621) CPack: Use real path to PackageMaker to find its version file (#12621) Xcode: Re-factor code into GetObjectsNormalDirectory method Xcode: Re-factor some existing methods into "FromPath" variants Add a default source group for object files. Allow txt files as ExtraSources in object library targets Pre-compute object file names before Xcode generation Build object library targets in Xcode Xcode: Honor $ source expressions Tests: Relax restrictions on version variable contents Deborah Pickett (1): CPackRPM flag direcories with %dir in the generated spec file Droscy (1): FindCxxTest: Add support for CxxTest 4 (#13022) Eric NOULARD (41): Document undocumented (but existing) cpack options (fix #0010134) Enhance bash completion file for cmake and ctest Do not add the content of a file if it's a symlink. CPackArchive restore default behavior and provide new variable. CPackNSIS fix #0012935 switch from LOG_WARNING to avoid final error. CPack begin the implementation of --help-command* and --help-variables* Implement simple CMake script comment markup language. CPack Documentation extraction from CMake script begins to work Update bash completion file in order to handle new CPack doc options. Suppress unused var, beautify code, avoid 1 extra newline. Fix potential bad memory access, thanks to Eike Calm down compiler warning about unused var Really avoid compiler warning about unused vars Fix another compiler warning due to a typo Make the load of script documentation more efficient and dynamic. Example of builtin variable documentation (i.e. only used in C++ source code). Add missing section markup for CPackComponent Create getDocumentedModulesListInDir which may be used in other context. Fix non existent std::string::clear on VS6 Avoid discovering system infos for documentation. Adding some path is enough. Dynamically add documentation section specified in documented script. Add structured documentation for NSIS Add structure documentation for CPack Bundle generator Suppress unecessary (now empty) doc sections Correct copy/paste section name mistake Put CPack DMG and PackageMaker doc in separate files More documentation concerning CPack Components Fix typo in end markup Try to fix compile error on Win32-vs70 Do not build RPM if path of the build tree contains space Fix layout of the CPack Bundle documentation Fix CPack Drag and Drop generator documentation layout. Review and update CPack variable documentation. Update CPackConfig template. Provide template for CPack Cygwin generator specific variables. Update CPack PackageMaker variable doc layout Typo: Add missing ##end for ##module Fix some typos in CPACK_SET_DESTDIR doc Add some missing CPACK_NSIS_xxx doc and move some to common CPack section. CPack STGZ put execute permission on all packages files (component case) Handle CPACK_MONOLITHIC_INSTALL in some rare use cases. Eugene Golushkov (1): VS: Add support for WinRT project properties (#12930) James Bigler (1): Added support for curand, cusparse, npp, nvcuenc and nvcuvid libraries. Jason Erb (1): FindwxWidgets: Add webview library (#12636) LibArchive Upstream (2): libarchive 3.0.1-r3950 (reduced) libarchive 3.0.2-r4051 (reduced) Matthias Kretz (1): Improve checks for Open64 and g++ incompatible flags (#12119) Mattias Helsing (1): CPack: Fix NSIS handling of privileged users (#12923) Michael Wild (1): GenerateExportHeader: Fix wrong use of IS_ABSOLUTE (#12645) Mike McQuaid (5): Don't use QT_LIBRARIES_PLUGINS by default. Fix mismatched arguments. Fix bad plugin paths. Ensure libs are passed to BundleUtilities. Fix plugin installation issues. Modestas Vainius (3): various typo and formatting fixes in manual pages (#12975) KWIML: Teach ABI.h that MIPS is biendian Tests: Escape metachars before embedding paths into the regex (#12999) Nicolas Despres (5): ccmake: Factor clear line. ccmake: Extend clear line. java: Factor jar output path. java: Add CMAKE_JAVA_TARGET_OUTPUT_DIR optional variable. java: Add CMAKE_JAVA_JAR_ENTRY_POINT optional variable. Peter Collingbourne (19): Add cmSystemTools::TrimWhitespace function Add executable with exports flag support to cmLocalGenerator::GetTargetFlags Provide dependency file flags to generator Ninja: Add the Ninja generator Ninja: Fix a 79-col violation Ninja: Remove some default arguments Ninja: Appease various compilers Ninja: Partially revert "win fixes: escape back slash/colon, use cd. as cmd.exe nop" Ninja: Identifier encoding rules for ' ' and ':' Ninja: Backslash rules for Windows Ninja: Shell encode paths used in "cd" commands Ninja: Shell encode various CMake invocations Ninja: Shell encode the command used in custom commands Ninja: Import library support for Windows Ninja: Add a missed license header Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commands Ninja: Remove an unnecessary variable Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test case Ninja: shell escape $(CMAKE_SOURCE_DIR) and $(CMAKE_BINARY_DIR) Peter Kuemmel (12): Find VC Express during default generator selection (#12917) Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nop Ninja: don't define MSVC_IDE when using the ninja generator Ninja: also build ninja support on Windows Ninja: add some hacks for Windows Ninja: disable unfinished Windows ninja support Ninja: mark the Windows specific hacks with a comment only Ninja: windows msvc: create for each target a .pdb file Ninja: ensure the output dir exists at compile time Ninja: add .def file support Ninja: add /DEF: flag to linker call Ninja: Fix substitution Philip Lowman (5): FindProtobuf: Merge patch that allows extra import dirs FindProtobuf: Update documentation comment for 2.8.8 Findosg: New modules for osgQt and osgPresentation FindALSA: Fix incorrect include path detection FindALSA: Fix version detection after last commit Rolf Eike Beer (95): remove reference to CVS directory when installing files CheckSymbolExists: force the compiler to keep the referenced symbol add a test for Check{,CXX}SymbolExists FindOpenSSL: improve version number handling FindOpenSSL: only try to parse opensslv.h if it exists FindOpenSSL: also parse version number define with uppercase letters GenerateExportHeader test: add newlines before end of file add a test that loops through most Find* modules AllFindModules test: keep complete output AllFindModules test: also check Qt3 modules if Qt4 is not found FindPythonInterp: make version selectable FindPythonInterp: fix version parsing LoadCommand test: cleanup FindThreads: Try pthreads with no special option first (#11333) fix uninitialized var in if(NOT foo bar STREQUAL "foo bar") use pkg_check_modules() quiet in other modules FindLibXml2: support version selection FindGnuTLS: partly support version selection FindGit: support version number FindCups: major overhaul FindEXPAT: support version number FindCURL: support version selection FindFLEX: fix version parsing for old flex versions FindFLEX: fix version parsing when the executable is quoted FindJasper: find debug libraries FindJasper: support version number FindBZip2: add support for version checking FindBZip2: add support for debug libraries (#12867) FindImageMagick: make use of more FPHSA features FindPNG: support version selection FindRuby: do not blindly set version to 1.8.0 FindTclsh: support version selection SelectLibraryConfigurations: do not output identical configurations FindLua51: add version support FindTIFF: support version selection FindCURL: detect version number also for older versions FindLibXml2: detect version when PkgConfig is not used FindPostgreSQL: support version selection FindOpenSSL: properly parse the hex version components FindBISON: add a version expression for GNU Bison 1.x FindPythonInterp: try harder to get a version number FindJasper: fix library name FindGnuplot: add version selection FindALSA: support version selection FindGettext: support version selection CheckCXXCompilerFlag test: make it a CMakeOnly test CMakeOnly.AllFindModules: clean up the Qt3/Qt4 code CMakeOnly.AllFindModules: always check FindQt CMakeOnly.AllFindModules: suppress two modules from testing CMakeOnly.AllFindModules: require version for some modules CheckIncludeFiles: fix status output FindPerl{,Libs}: move version detection into FindPerl FindLibArchive: support version selection FindX11: also search for Xmu (#12447) detect "pgfortran" as PGI Fortran compiler (#12425) FindSDL*: use FPHSA (#12467) AllFindModules test: do not enforce GNUPLOT version FindPerlLibs: properly detect libperl on Windows (#12224) CTest: mark all gcov covered files as covered FindGLUT: honor REQUIRED (#12466) FindRuby: clean up querying variables from Ruby FindLibXslt: support version selection Tests: document where to put tests FindPkgConfig: support version selection of pkg-config itself fix the same typos as found by Debian in other places, too Find_library(): allow searching for versioned shared objects FindFreetype: support version selection AllFindModules test: expect more modules to have a version number available FindOpenMP: do not fail if only C or CXX is enabled (#11910) FindOpenMP: try the most likely flags first FindOpenMP: simplify check for enabled languages UseSWIG: clean up string compares FindPython{Interp,Libs}: document Python_ADDITIONAL_VERSIONS as input FindPythonLibs: make the version selection work as for PythonInterp FindPythonLibs: get the exact version of the found library (#3080) FindPythonLibs: put debug libraries into PYTHON_LIBRARIES FindPythonLibs: stop scanning when libraries are found Check{C,CXX}CompilerFlag: detect ICC error messages GenerateExportHeader: remove unneeded code GenerateExportHeader: improve compiler identification FindOpenSceneGraph: give every message() with an explicit level FindHSPELL: set HSPELL_VERSION_STRING FindImageMagick: fix fail if no components were given FindPythonInterp: rework the version detection document when version detection will not work AllFindModules test: once again expand version checking improve error message on a stray "endwhile()" add testcases for while()/endwhile() errors reflect that the QtAutomoc depends on QtGui FindQt3: fix warning when Qt3 is not found FindQt3: fix version extraction for versions with letters FindQt3: let FPHSA handle the version selection FindQt3: fix detection of Qt3 include directory AllFindModules test: do not require TCLSH version add test for get_property() errors Stephen Kelly (13): Fix typos arguement -> argument. Exit the loop when we have determined the language. Add whitespace after '.' in CMAKE_SKIP_RPATH docs. Fix documented function signature to match reality. Add default initializers for WIN32_EXECUTABLE and MACOSX_BUNDLE Add an option to skip RPATH during installation. Refactor GetIncludeFlags to take includes instead of fetching them Make it safe to call this method without creating duplicates. Remove include flags memoization. Add API to get the ordered includes for a target. Keep the INCLUDE_DIRECTORIES target property up to date. Extract and use the INCLUDE_DIRECTORIES target properties. Fix some typos in the docs comments. Yury G. Kudryashov (23): FindDoxygen: add DOXYGEN_VERSION variable cmInstallCommand: Fix indentation error cmInstallCommand: Remove duplicated sentence from docs FindPkgConfig: respect REQUIRED (#12620) FindPackageHandleStandardArgs: fix documentation Remove unused file cmake.1 Fix typo in documentation Drop if(...) check because condition is always true CMakeFindPackageMode: fix 32/64bit detection if 'file' is a symlink Run vim spellcheck on some files cmPropertyDefinition::IsChained is const Add 'const' qualifier to some cmCommand members doxygen: cmPropertyDefinition doxygen: Improve API docs of GetRealDependency doxygen: Use proper syntax to document enum doxygen: Small fixes in cmake.h apidocs doxygen: fix some comments in cmPolicies.h doxygen: remove a few comments doxygen: review cmake.h doxygen: MathCommand is not about string operators Rename UsedCommands to FinalPassCommands Remove UnionsAvailable member from 2 classes Remove cmExprParserHelper::SetLineFile() Changes in CMake 2.8.7 (since 2.8.7-rc2) -------------------------------------------- None Changes in CMake 2.8.7-rc2 (since 2.8.7-rc1) -------------------------------------------- Alex Neundorf (5): automoc: default to strict mode, use CMAKE_AUTOMOC_RELAXED_MODE automoc: improved warning message in relaxed mode Remove trailing whitespace Add comment about one more problem of the C depency scanner. fix #12262: dependency scanning for ASM files Bill Hoffman (1): Fix the case where cmake --build failed with two project cmds in one file. Brad King (11): KWSys: Correctly handle empty environment variables FortranCInterface: Work around mingw32-make trouble with parens Xcode: Create separate rerun dependencies for subprojects (#12616) Fix Intel Fortran .vfproj files for VS 10 HP: Drive shared library linking with compiler front end Follow all dependencies of shared library private dependencies Do not link private dependent shared libraries on OS X > 10.4 Avoid clobbering variable 'OUTPUT' in compiler tests (#12628) Fix and simplify Fortran test compiler compatibility check CTest: Recognize Intel errors without space before colon (#12627) Windows-GNU: Remove extra quotes in GNUtoMS rule variable David Cole (4): Release: Increase timeout for slow-testing cygwin build Modules: Use "windres" as rc compiler base name for cross-compiles (#12480) Tests: Only really run MFC test if we can build MFC apps (#11213) FindBoost: Quote possibly empty string argument (#12273) Eric NOULARD (1): CPackRPM fix #0012608 and unoticed related bug Johan Fänge (1): CMake: Fix progress reporting for custom targets (#12441) Mike McQuaid (2): Unset configurations variable when no build type. Improve component support and output indentation. Raphael Kubo da Costa (2): Remove the apparently outdated README in Source/QtDialog. QtDialog: Set Ctrl+Q as the shortcut for quitting the program. Tim Gallagher (2): FindLAPACK: Correct CMAKE_FIND_LIBRARY_SUFFIXES spelling (#12624) FindLAPACK: List thread libs to avoid link errors (#12625) Valat Sébastien (1): CTest: Do not get CDash version without drop site (#12618) Changes in CMake 2.8.7-rc1 (since 2.8.6) ---------------------------------------- Aaron Ten Clay (1): VS: Add support for three new project properties (#12586) Alex Neundorf (60): fix #12392: handle CMAKE_CXX_COMPILER_ARG1 for Eclipse projects fix #12262: use the C dependency scanner also for ASM files fix #12465: detect the masm compiler ID ("MSVC") Silence make on OpenBSD in FindPackageModeTest(#12508) Remove trailing whitespace Find Ruby on OpenBSD when installed from ports (#12507) Eclipse generator: detect Eclipse version Detect whether the current Eclipse version supports VirtualFolders Eclipse: don't create VirtualFolders if not supported Eclipse: better message when Eclipse version could not be determined automoc:run moc on the header if the source file contains include "foo.moc" Add copyright notices automoc: always run moc on the cpp file if there is a foo.moc included Eclipse: add virtual folder for each target Eclipse: move code for generating links to projects into separate function Eclipse: move code for generating links to targets into separate function Eclipse: add Build and Clean targets to targets Eclipse: detect number of CPUs, set CMAKE_ECLIPSE_MAKE_ARGUMENTS accordigly Eclipse: fix #12417, don't create wrong src pathentries FindLibXslt: also search libexslt and xsltproc don't crash in automoc with empty COMPILE_DEFINITIONS property Automoc: fix the fix, need to use std::string, not just char* pointer automoc: fix #12541, support moc options add documentation for the AUTOMOC_MOC_OPTIONS property Eclipse: warn if CMAKE_BINARY_DIR is subdir of CMAKE_SOURCE_DIR Eclipse: make targets work from any directory Eclipse: quote the build dir (to make it work with spaces) make automoc work when using ccmake via PATH (#12551) Strip trailing whitespace -make GETTEXT_PROCESS_PO_FILES() work with files with multiple dots FindGettext: two more fixes for files with multiple dots FindPNG: provide PNG_INCLUDE_DIRS, as the readme.txt says (#11312) Eclipse: create links to subprojects also in the source-project (#12579) Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT install(EXPORT): Enforce existence of imported target files Remove trailing whitespace cmake-gui: add completion for the names when adding cache entries automoc: stricter checking for what file is included automoc: rework the checking for the matching header, to give better warnings automoc: handle the case when the developer includes the wrong mocfile automoc: add more test cases automoc: improved diagnostics automoc: minor optimization automoc: another runtime optimization Automoc: modified handling of included .moc files automoc: add a test for including both abc.moc and moc_abc.cpp automoc: add test for including the moc file from another header automoc: add test for including a moc_abc_p.cpp file automoc: move some code from the big parsing loop into separate functions automoc: add special handling for including basename_p.moc, with test automoc: add extra check whether the header contains Q_PRIVATE_SLOT automoc: some more linebreaks for the warnings for better readability automoc: fix handling of included _p.moc files automoc: move the code for finding headers into separate function automoc: add a StrictParseCppFile(), which is only qmake-compatible automoc: also accept other files when .moc is included in non-strict mode automoc: accept even more .moc files in non-strict mode automoc: add variable CMAKE_AUTOMOC_STRICT_MODE, to enable strict parsing automoc: fix line length automoc: add documentation for CMAKE_AUTOMOC_STRICT_MODE Alexey Ozeritsky (1): FindLAPACK: Fix linking to static LAPACK on Unix (#12477) Bernhard Walle (1): Source/cmCTest.cxx: Add missing newline (#12538) Brad King (65): Refactor find_* command final path list computation Constify XCode generator getters to match cmGlobalGenerator Fix line-too-long style violations KWSys: Fix Doxygen warnings Add pre-commit|commit-msg|prepare-commit-msg hook placeholders pre-commit: Reject changes to KWSys through Git Fix CTest.UpdateSVN with Subversion 1.7 (#12535) Teach CTest.UpdateSVN to detect svn add --depth before using it KWSys: Address Intel compiler remarks Fix linking to OS X Frameworks named with spaces (#12550) Watcom: Use shortpath to CMake if full path has parens (#12548) KWSys: Remove trailing whitespace in SystemTools.cxx KWSys: Fix wrong spelling of __INTEL_COMPILER Update main Copyright.txt year range for 2011 KWIML: The Kitware Information Macro Library Configure KWIML inside CMake as cmIML KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.h KWIML: Suppress printf/scanf format warnings in test KWIML: No INT_SCN*8 on SunPro compiler KWIML: No INT_SCN*8 on Intel for Windows KWIML: Create test output dir for Xcode Order VS local generator Version ivar values consistently Enumerate VS11 version explicitly in local generators KWIML: Test header inclusion after system headers KWIML: Ignore _LONGLONG on MS compiler KWIML: Teach ABI.h about PGI compiler KWIML: Avoid MSVC linker warning about not using C++ runtime Factor Compute(File|String)MD5 into cmCryptoHash helper Add file(MD5) command to compute cryptographic hash Import sha2 implementation 1.0 from Aaron D. Gifford Import sha2 implementation 1.1 from Aaron D. Gifford sha2: Use KWIML fixed-size integer types and endian-ness sha2: Build as part of CMakeLib Add file(SHA*) commands to compute cryptographic hashes sha2: Use "static const" instead of "const static" declarations cmCryptoHash: Provide factory "New" method Add string(MD5) and string(SHA*) commands to compute hashes sha2: Use KWIML fixed-size integer constant macros sha2: Suppress Borland warnings in third-party code Disable file() and string() hash commands during bootstrap sha2: Wrap long lines in third-party declarations Fix CMake.File hash test for CRLF checkouts cmCryptoHash: Add virtual destructor sha2: Cast safe conversions to smaller integer types sha2: Suppress -Wcast-align warning from Clang sha2: Zero entire SHA_CTX structure during cleanup target_link_libraries: Add missing space in documentation target_link_libraries: Simplify argument processing state tests install(EXPORT): Improve target import failure message format Remove trailing whitespace from cmLocalGenerator bootstrap: Include cmNewLineStyle in build cmNewLineStyle: Remove trailing comma in enum cmNewLineStyle: Use cmStandardIncludes.h Provide std::ios_base typedef on GCC < 3 FindZLIB: Search under ZLIB_ROOT if it is set Factor out target location undefined behavior helper macro export(): Document undefined behavior of location properties Recognize the Tiny C Compiler (#12605) TinyCC: Add compiler info for shared libs on Linux (#12605) Fortran: Detect pointer size in gfortran on MinGW Load platform files that need to know the ABI when possible Factor makefile generator link rule lookup into helper function Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .lib Test CMAKE_GNUtoMS option in ExportImport on MinGW and MSys cmTarget: Create helper method for versioned library names Clinton Stimpson (2): Fix XML safety issue with adding preprocessor defines in CodeBlocks project. Qt4: Fix dependencies of QtDeclartive. Dan Kegel (1): Modules: Add XRes to FindX11.cmake David Cole (17): Begin post-2.8.6 development CTest: Fix crash when variables are not defined VS11: Fix comment generated at the top of *.sln files CTest: Add COVERAGE_EXTRA_FLAGS cache variable (#12490) CTest: Clear custom vectors before populating (#12383) Tests: Add the MFC test (#11213) Tests: Avoid MFC test automatically for VCExpress builds (#11213) Tests: Fix MFC test w/ Make-based generators (#11213) Tests: Fix MFC test for old vs6 dashboards (#11213) Tests: Avoid MFC test automatically for Watcom WMake builds (#11213) Tests: Fix MFC test to work with VS 10 and later (#11213) VS10: Use expected values for UseOfMfc (#11213) Tests: Add environment logging to the MFC test (#11213) VS11: Update InstallRequiredSystemLibraries.cmake for VS11 (#11213) Tests: Nudge MFC test to pass on VS 6 dashboards (#11213) VS: Use "call " keyword with .cmd and .bat file custom commands (#12445) CTest: Disallow problem chars in build and site names (#11792) Eric NOULARD (3): CPackRPM support component specific variables for spec files Fix old reference to CMAKE_MAKE_PROGRAM inside CMAKE_BUILD_TOOL doc. CPackRPM fix #12556 and enhance documentation James Bigler (6): Added support for CUDA_PATH which is present in the CUDA toolkit 3.2 onward. Reset dependency file list when a dependency disappeared. Add work around for CUDA in UNC paths. Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099). Make CUDA working directory unique for each target. Miscellaneous fixes. Jean-Christophe Fillion-Robin (1): CTest: Look for CTestConfig.cmake in build dir first, then source dir Johan Bjork (1): Xcode: Avoid spewing the environment on every script run (#12522) Mateusz Loskot (1): FindBoost: Use MSVC11 to find Boost on Windows (#12568) Mathieu Malaterre (1): TinyCC: Add default compilation flags (#12605) Mike McQuaid (6): Add QT_LIBRARIES_PLUGINS variable to UseQt4. Add DeployQt4 module. Match fixup_qt4_executable with documentation. Don't resolve directories; are never relative. Check plugin variables are defined before warning. Check QtCore without warning. Nicolas Despres (17): Refactor TargetTypeNames. Add const versions of some getters. Constify many getters of cmGlobalGenerator. Remove trailing white-spaces. Fix typo. Doxygen: Improve code documentation. Doxygen: Generate call graph and relationships. Doxygen: Fix warnings. Doxygen: Remove dependency on VTK when building doxygen. Usage: Document -j|--parallel option in help message. Usage: Document all options printing usage information. Usage: Document all options printing the version number. Usage: Print help, version and copyright options in usage information. Usage: Add missing exepath argument in get_prerequisites documentation. ccmake: Align 'g' and 'q' key instructions. ccmake: Document '/' key. ccmake: Factor toggle key help instructions. Niels Dekker (1): Fix CMAKE_VERBOSE_MAKEFILE for VS10 vcxproj files (#12504) Ondrej Balaz (1): FindBISON: Fix bison++ version parsing to avoid "Offending entry" Peter Collingbourne (4): Make cmLocalGenerator::ConvertToLinkReference virtual Introduce a cmLocalGenerator::ConvertToIncludeReference function Introduce a cmGlobalGenerator::ResolveLanguageCompiler function Fix configuration-dependent flag lookup in cmLocalGenerator::GetTargetFlags Peter Kuemmel (1): Add NEWLINE_STYLE option to configure_file (#3957) Philip Lowman (1): FindProtoBuf: Documented limitation of the public macro Pierre-Francois Laquerre (1): Fix path quoting in Qt4 macros Robert Dailey (1): VS: Add VS_SCC_AUXPATH target property (#12549) Rolf Eike Beer (4): libarchive: fix typo in CheckFileOffsetBits.cmake Tell people that link_directories() is not what they are searching for FindBISON: Fix matching output of "bison --version" Tests: ExternalProject: Remove unnecessary 'svn --version' call Stephen Kelly (13): Add features from KDE for arguments to qdbusxml2cpp. Remove unused define. Build each library only once instead of once for each test. Initialize LINK_INTERFACE_LIBRARIES target property with a variable Also run moc automatically with Qt5. Fix typo. Don't assume the existence of QT_MAJOR_VERSION. Update comments and method names to not be Qt4 specific. Fix style. target_link_libraries: Trim trailing whitespace target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options moc is now part of the Qt5Core module Add a test case for the use of Q_PRIVATE_SLOT. Changes in CMake 2.8.6 (since 2.8.6-rc4) ---------------------------------------- Alex Neundorf (5): Remove trailing whitespace Minor improvements to the UsePkgConfig.cmake docs Remove trailing whitespace Improve behaviour of --find-package mode with try_run/try_compile Use makefile->IssueMessage() for better error messages Bill Hoffman (2): Use version 11.0 for 12.x and 9.10 for 10.x intel versions to fix 12.1 vsIDE. Also, check for 11.x as an intel fortran version. Brad King (2): Add Visual Studio 11 generator for x86 and x64 tools Teach our tests about special cases for VS 11 David Cole (1): CTestCustom.cmake: Ignore clang's summary warning Philip Lowman (1): FindBullet: Also search for _Debug postfixed library names Raphael Kubo da Costa (1): Fix typo in set_target_properties' documentation. Rolf Eike Beer (1): Fix typo in UsePkgConfig.cmake Changes in CMake 2.8.6-rc4 (since 2.8.6-rc3) -------------------------------------------- Alex Neundorf (3): FindFLEX.cmake: also search the include dir Fix typos in FeatureSummary.cmake (#12462) Don't warn when setting a property multiple times to the same value #12464 Bill Hoffman (2): For VS Intel Fortran IDE builds, add a check to find the Fortran library PATH. Enable Fortran tests for IDE builds. Brad King (5): FortranCInterface: Compile separate Fortran lib in VerifyC[XX] Move IntelVSImplicitPath project to better location Simplify IntelVSImplicitPath detection project libarchive: Fix ssize_t detection with mingwrt 3.20 Make file(DOWNLOAD) fail on http error David Cole (8): Tests: Add a KWStyle test, equivalent to the make StyleCheck target KWStyle Test: Activate by default if KWStyle is found Xcode: Use EFFECTIVE_PLATFORM_NAME reference in ComputeOutputDir Xcode: Add test to demonstrate iOS project in Xcode CMake: Reference test targets only when BUILD_TESTING is ON Tests: Add the more modern Mac64 nightly build Release Scripts: Use Qt 4.7.4 on dashmacmini5 (#12460) Revert "FindThreads: Try pthreads with no special option first (#11333)" Eric NOULARD (4): CPack fix #12449 doc mispelled CPack fix template too CPackDeb fix #10325 automagically use fakeroot for DEB if fakeroot is found CPackRPM authorize per-component pre/post-[un]install scripts (#0012063) Marcus D. Hanwell (4): Just code style changes. Don't warn when nothing to do in visibility function. Made ADD_COMPILER_EXPORT_FLAGS into a macro. Make add_compiler_export_flags a function again. Rolf Eike Beer (1): remove stray brace in CPackDeb documentation Changes in CMake 2.8.6-rc3 (since 2.8.6-rc2) -------------------------------------------- Alexey Ozeritsky (2): FindBLAS/LAPACK fixes FindBLAS/LAPACK fixes Andreas Schneider (1): Modules: Add support for more java archives in add_jar(). Björn Ricks (4): Search for the installed python interpreter first Determine python version Update documentation of FindPythonInterp.cmake Use FIND_PACKAGE_HANDLE_STANDARD_ARGS second mode Brad King (5): VS: Map per-source Fortran flags to IDE options VS: Map Fortran free- and fixed-format flags to IDE options Fortran: Add support for free- and fixed-form flags Xcode: Honor Fortran_FORMAT target and source file property Set CMAKE__COMPILER_ID for VS generators David Cole (8): KWSys: Remove always-true dir_only parameter KWSys: Add symlinks to directories as files (#12284) FindPackageMessage: Eliminate new lines in cache entries FindPackageMessage: Eliminate new lines using REGEX REPLACE CMake: Add SaveCache at the end of successful Generate calls Suppress Qt warning for dashmacmini5 builds Suppress Qt warning for dashmacmini5 builds Tests: Look for "Illegal" or "SegFault" in the output Eric NOULARD (2): CPack fix #12366 components RPM packages have the same package name CPackRPM fix #12305, include directories in RPM package Johan Björk (5): Xcode: No spaces in makefile target names (#12370) CMake: Write symlinks to directories as files in archives (#12284) CPack: Do not recurse through directory symlinks (#12284) Xcode: Do not emit the ZERO_CHECK target more than once Xcode: Honor -g0 to disable debugging (#12377) Johannes Stallkamp (1): CTest: Fixed valgrind output parsing (#12260) Matt McCormick (1): CMake: Remove documentation for -E build (#12446) Stephen Kelly (2): Add some more unit tests. Don't put what some compilers consider junk at the end of the line. Thomas Jarosch (3): CTest: Fix memory leaks on error Fix file() command descriptor leak on error ccmake: Fix off-by-one memory access error Changes in CMake 2.8.6-rc2 (since 2.8.6-rc1) -------------------------------------------- Brad King (2): KWSys: Add hash function for std::string KWSys: Fix std::string hash function for Borland Clinton Stimpson (1): qt4: also find QtUiTools when cross compiling with mingw. David Cole (3): Xcode4: Requires more quoting of single quote char cmake.m4: Use modern signature of install(FILES ...) CMake Release Scripts: Changes for next release candidate... David Faure (1): Don't use a variable name that might be used in other files. Stephen Kelly (73): Create moc files in the current binary dir, not the top level. Make the formatting of feature_summary output a little better. Add the GenerateExportMacro with unit tests. Handle the case where the user changes the DEFINE_SYMBOL property. Add a newline at the end of the file. Add a newline at the end of the file. Add missing licence header. Remove the fatal_warnings option which is no longer used. Test for features, not specific compilers. Simplify. We already know we have hidden visibility at this point. Simplify the compiler feature check Add some debug output. Short-circuit the tests on unsupported compilers. Test expected no-op instead of aborting the build. Fix tests with clang. Fix typo and tests failing as a result. Only run the failure tests with gcc >= 4.2 Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds. Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2 Disable all export macros on Borland. Another attempt to fix the tests on Borland. Use the correct project name compiletest not compilefail Fix off-by-not in test for Borland. Another attempt at fixing Borland. Add some debug output to narrow down deprecation test issues Export deprecated free methods too. Remember to surround the other deprecated test in the Borland check. Only set the deprecated attribute if hidden visibilty is enabled. Make sure the hidden visibility variables never get set on MINGW. Don't use hidden visibility on non-mingw windows either. Don't export methods on already exported classes. Split the deprecated available check from setting macro values. Test for compiler features, instead of for specific platforms. Exclude the XL compiler from the hidden-visibility test. Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant Don't change the expected build result based on the platform. Expect the tests to pass if hidden visibilty is not enabled. Test -Werror instead of enabling it per compiler. Add some messaging output to make remaining issues findable. Perform the -Werror test only once. Test for deprecated attribute before declspec. Try to error on deprecated on Intel and SunCC. Borland can't do deprecated. Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8 Disable testing of deprecated macros. Don't enable deprecated on HP. Don't enable deprecated on old GCC Exclude cygwin from the hidden visibility feature. Exclude PGI from exports and deprecated. Start testing expected values for compiler flags. Exclude win32 from hidden visibility checks. Comment the test assertion for now Test the correct cxx variable. Fix the version extraction regex for clang. Hopefully add version extraction for Intel. Add some settings for non-truncation of test output. Fix up the regex command for Intel. Test for too-old-intel compilers. Possibly fix test on HPUX. Possibly fix configuration test on AIX. Try to make the macros do almost nothing for Watcom. More consistency in the macro options. Add missing NO_EXPORT macro variant. Look for errors reported by PGI too. Quote paths in case there is a space in one of them. Disable the tests for Watcom. Fix Compiler id variable name. Add quotes in case cmake is installed in a prefix with a space. Fix the feature of using a specific prefix for macros. Add documentation about the prefix and no_deprecated options. Remove blank line at the start of the file. Don't start a line with a dash(-) Fix up verbatim code sections of the dox. Todd Gamblin (3): FindBoost: Call find_package with NO_MODULE first Fix XL compilers on non-AIX machines. Fixed link bugs in BlueGeneP build. Changes in CMake 2.8.6-rc1 (since 2.8.5) -------------------------------------------- Aaron C. Meadows (1): FindSubversion: Invoke svn non-interactively (#12304) Alex Neundorf (92): Add a switch to disable a find_package() call completely Add documentation for the CMAKE_DISABLE_FIND_PACKAGE_ switch Add a basic test for CMAKE_DISABLE_FIND_PACKAGE_ Add macros cmake_push/pop_check_state() as discussed on the list. Fix copyright notice test Add CheckCXXSymbolExists.cmake, so this can be used also for C++ Minor fix to try_compile() docs (#12333) Fix #12342: Add APPEND_STRING option to set_property() Extend FeatureSummary: add PURPOSE of package and TYPE FeatureSummary.cmake: remove "comment" field FeatureSummary.cmake: add INCLUDE_QUIET_PACKAGES keyword FeatureSummary.cmake: error out when a REQUIRED package is missing FeatureSummary.cmake: only higher TYPEs can override previous TYPEs FeatureSummary.cmake: cosmetics FeatureSummary.cmake: update documentation Remove debug output from CheckSymbolExists Don't put files from CMAKE_ROOT into CodeBlocks projects (#12110) More PATH_SUFFIXES for finding Postgresql and also search catalog/pg_type.h Use FPHSA(), remove unnecessary stuff and don't recommend link_directories() Mark the results from find() as advanced FindPostgreSQL: fix PATH_SUFFIXES, better output for FPHSA Strip trailing whitespace FindGIF/FindFreetype.cmake: remove standard search paths from find-calls FindGif: add giflib4 as one more name for the library under Windows Add basic version check for giflib Patch by Campbell Barton: puts definitions into C::B project file Remove useless line of code Also put builtin include dirs into CodeBlocks project file Remove trailing whitespace Also search for libxkbfile, XSync and SM include dir Provide macro write_basic_config_version_file() Add example to documentation Add some tests for write_basic_config_version_file() Fix copyright notice Really fix copyright notice Set UNSUITABLE instead of not COMPATIBLE Improve documentation for WriteBasicConfigVersionFile.cmake Add macros GETTEXT_PROCESS_POT() and GETTEXT_PROCESS_PO_FILES() Support REQUIRED in FindGettext.cmake (using FPHSA.cmake) Fix #12358: make optionally enabling ASM work again Start work on automoc: add empty cmQtAutomoc class Start implementing skeleton for automoc in cmake Add actual automoc code from automoc Remove the need to check for .h/.cxx during buildtime Add the cmake module required currently for automoc Add AUTOMOC to the add_library() command Fix line lengths Move code for parsing a cpp-file from the big loop to separate function Initialize verbose based onb the env.var. Color output when running moc Add the generated automoc.cpp file to the cleaned files Use cout instead of printf() Remove trailing whitespace Refactor SetupAutomocTarget() so it can be run after creating the target Remove trailing whitespace Move automoc processing from add_executable/library to cmGlobalGenerator Nicer progress message for the automoc target Add a test for automoc Add documentation for AUTOMOC, add initialization via CMAKE_AUTOMOC Fix logic which decides when to execute automoc test Automoc.cmake is not needed anymore Fix build: non-void function must return a value Fix warnings Fix bootstrap test with automoc Only enable the automoc test after checking that Qt4 works Fix build: use std::ios::out|ios::trunc instead of std::ios_base::out Silence warning in automoc: use long instead of int Fix automoc with VS builds: apply patch from Bill Make clLocalGenerator::GetTargetFlags() public Add find-package mode, which does nothing yet Implement find-package mode of cmake Replace cmake::GetScriptMode() with GetWorkingMode() Fix copyright notice in new CMakeFindPackageMode.cmake Better support for lib64 and Debian multiarch Use the file-utility to test for 64bit if there is no /usr/lib64 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig Improve documentation for --find-package mode Add a test for the new --find-package mode Only run the test if we are using a makefile generator under UNIX The makefile for the test was kindof wrong Fix test on OpenBSD with BSD make Rename helper macros print_compile_flags() to set_compile_flags_var() Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode Disable any STATUS output in --find-package mode Much improved test, should now be executed on all UNIXes Make the --find-package test harder Make the test harder by always having a space in the include dirs Only enable the test when using GNU make Fix line length Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile Require the current cmake version in --find-package mode Fix --find-package mode on Cygwin, where enable_language(RC) is called Alexey Ozeritsky (5): fixed: search of acml libraries gotoblas supported ACML-GPU supported ACML-GPU supportede fixed: search of ATLAS library for C/C++-only projects Andreas Schneider (6): FindJava: Find missing java development executables. Modules: Added CMake Java support. Tests: Java tests should test UseJava.cmake Tests: Check for the new Java exeutable variables. Java: Use set_property/get_property for target variables. Java: Fix documentation format and indentation Arnaud Gelas (1): Search for the ASPELL executable Bill Hoffman (5): Only pay for unused variable checking if it is on. Initial support for Intel Fortran VS2010. Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test. Use MSBuild when devenv is not around, since VCExpress seems broken. Fix for bug #12413, nmake did not handle targets with + in the name. Brad King (13): MinGW: Remove old workaround and use native echo (#12283) Document caveat of custom commands in multiple targets (#12311) cmSystemTools: Remove trailing whitespace RunSingleCommand: Fix indentation RunSingleCommand: Avoid assignment in condition Documentation: WIN32 not defined on Cygwin (#12334) KWSys: Simplify SystemTools::GetTime implementation (#12261) KWSys: Avoid conversion warning in SystemTools::GetTime KWSys: Fix using long long and __int64 with hash_(set|map) KWSys: __int64 and long long may be same type in specialization XL: Fix old VisualAge branding of Fortran compiler Do not crash when an imported target depends on a missing target Fix CHECK_(C|CXX)_COMPILER_FLAG for Clang (#12394) Clinton Stimpson (5): Add -DQT_NO_DEBUG if no build type is specified so Qt plugins will work. Add qt4/QtCore to help find Qt headers when cross-compiling. Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X Remove C compiler requirement from FindQt4.cmake CPack/NSIS: Fix reinstall and multiple install issues when using components. David Cole (26): Begin post-2.8.5 development Fix Architecture test to work with Xcode 4 Fix BuildDepends test to work with Xcode 4 Base architecture choice logic on Xcode version Use correct default multiple architecture values in test Add use of EFFECTIVE_PLATFORM_NAME to generated Xcode projects. Correct KWStyle line too long error Add fail regex to detect supported warning flags correctly. Add support for Visual Studio project-specific globals (#8707) Fix machine-specific UpdateGIT test failures Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators Watcom: Add -c flag to wlib calls (#12245) Add Watcom support to InstallRequiredSystemLibraries (#11866) Watcom: Use correct args for execute_process call (#11866) CTest: print failed tests in index order (#11746) Fix line too long style violation Documentation: Fix comments in the source code (#10941) Add more find_path locations for DCMTK header files (#12323) VS9: Add include_directories to midl command lines KWSys: Remove translation path for "/tmp_mnt/" (#10595) VS10: Avoid unnecessary rebuilds for custom commands QtAutomoc test: Pass QT_QMAKE_EXECUTABLE QtAutomoc: Eliminate compiler warning CheckSymbolExists: Use IMMEDIATE flag for configure_file (#11333) Xcode: Suppress same-old warning again. Xcode: Save object id values in CMakeCache.txt (#11690) Johan Björk (5): Xcode: Remove PREBINDING attribute for Xcode 4 and above RunSingleCommand: Replace verbose boolean with enum RunSingleCommand: Add a OUTPUT_NORMAL flag. Xcode: Quote ',' in Xcode string values (#12259) Xcode: Rearrange CMakeReRun to enable parallel builds Matej Hribernik (2): VS: Factor Find64BitTools out of Win64 generator to parent Add VisualStudio 9 and 10 generators for Itanium platform Modestas Vainius (1): multiarch: Treat lib/ as implicit link dir (#12326) Oliver Buchtala (3): Java: Create java_class_filelist only if it does't exist. Java: Added some dependency magic to avoid recompilations. Java: Create correct jar archive dependencies. Rolf Eike Beer (2): remove extra output message from FindJava.cmake FindThreads: Try pthreads with no special option first (#11333) Steven Velez (1): VS10: Add SCC support Todd Gamblin (2): Try regular compiler when no MPI compiler. Fix issues with removing try_compile input file. Will Dicharry (1): Added HDF5 high level Fortran bindings to available components. Changes in CMake 2.8.5 (since 2.8.5-rc3) -------------------------------------------- Brad King (1): Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake" (this revert means that issue #4147 has been re-opened) Changes in CMake 2.8.5-rc3 (since 2.8.5-rc2) -------------------------------------------- Bill Hoffman (4): Use devenv instead of msbuild for vs2010. Revert "With very long file names, VS 2010 was unable to compile files." Use relative paths for custom command inputs. Look for VCExpress as a possible build tool as well as devenv. Brad King (3): KWSys: Recognize color TERM=screen-256color-bce (#12287) find_library: Use lib->lib64 conversion in CXX-only projects (#12247,#12248) libarchive: Install COPYING with CMake documentation Christoph Höger (1): FindJNI: Search in Fedora arch-specific JVM location (#12276) Julien Malik (1): FindSWIG: Use NAMES in find_program directives (#12280) Modestas Vainius (1): Documentation: Fix spelling / formatting errors (#12287) Philip Lowman (3): FindBoost: Fixes #12188 FindBoost: Also search for 1.46.1 Detect VS 2010 SP1, faster and more robust detection Changes in CMake 2.8.5-rc2 (since 2.8.5-rc1) -------------------------------------------- Bill Hoffman (6): Fix a memory leak. Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop. Append and do not clobber CMAKE_CXX_FLAGS in the test. Use bin tree for inclues to avoid -I with spaces in the path. One more try. Use full path by default, and relative on broken compilers. Fix for bug #11927, external project git clone step always runs vs10. Brad King (9): XL: Place Fortran modules with -qmoddir= flag (#12246) Teach file(DOWNLOAD|UPLOAD) to timeout after inactivity Xcode: Fix parallel build depends with universal binaries (#11844) Fix style errors added by parent and grandparent Use cascading-if for per-config test and install code CTest: Report tests not run due to unknown configuration GNU: Fix CMAKE_INCLUDE_SYSTEM_FLAG_ value (#12258) Teach find_(library|package) about Linux multiarch (#12037) Test find_package multiarch support (#12037) Clinton Stimpson (11): BundleUtilities: Work w/ non .app exes on Mac (#12034) BundleUtilities: Fix regex to extract dependents from ldd (#12034) BundleUtilities: Fix test when using xcode (#12034) BundleUtilities: Fix issues with custom target DEPENDS in test (#12034) BundleUtilities: Disable running test on Windows unless using MSVC. BundleUtilities: Run test on Windows if either MSVC or dumpbin was found. BundleUtilities: Print reason for not loading module.so BundleUtilities: Add rpath to loadable modules in test. Revert "BundleUtilities: Run test on Windows if either MSVC or dumpbin was found." Qt4: complete module dependencies in UseQt4.cmake Add imported targets support for frameworks on Mac. Daniel R. Gomez (1): Fix plugin API for gcc 2.9-aix51-020209 (#12233) David Cole (3): BundleUtilities: Avoid a cryptic and unhelpful error message BundleUtilities: Avoid test on Watcom dashboards (#12034) CMake: eliminate use of cvs in the Release scripts Eric NOULARD (2): CPackRPM: Enhance documentation Add some more Specs file tag handling. Johan Björk (3): CMake: Move tokenize to cmSystemTools Xcode: Support multiple level nesting of XCode folders (#10039) XCode: Support target folders on XCode. Modestas Vainius (1): multiarch: Set CMAKE_LIBRARY_ARCHITECTURE_REGEX for Linux|Hurd|kFreeBSD Philip Lowman (3): FindProtobuf: Better MSVC support, Searching for protobuf lite Fix , to - in Copyright message so it passes CMake.ModuleNotices test 10997: PROTOBUF_GENERATE_CPP now supports proto files outside current dir Rolf Eike Beer (1): CMake: Update documentation of STRING(SUBSTRING) for length -1 (#10740) Sean McBride (1): Fix XCode -> Xcode typos, notably in man page (#12231) Tim Gallagher (1): Modified the FindHDF5.cmake file to locate the Fortran bindings. Will Dicharry (7): HDF5 high level library is a find COMPONENT now. Add logic for CMake built HDF5 install. Use CMAKE_CURRENT_LIST_DIR to locate FindPackageHandleStandardArgs. Use HDF5_FOUND to control autoconf and CMake built FindHDF5. Fix for bug 11752, mixed debug and release libraries. FindHDF5 ensures good link lines when libraries are duplicated. Remove unnecessary mark_as_advanced from FindHDF5. Zach Mullen (3): Dynamic analysis test output should not be compressed. We will actually compress memcheck output if the server supports it. Fix type conversion warning Changes in CMake 2.8.5-rc1 (since 2.8.4) ---------------------------------------- Alex Neundorf (33): Rework the way assembler is handled, use the C/CXX compiler by default Make it possible to exlude external libs from dot files GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressions Also generate dependers-graphviz files. Fix XML escaping for the project() name in Eclipse projects (#11658) Fix XML escaping for target names in Eclipse project files (#11658) Add XML escaping for directory name in Eclipse projects (#11658) Eclipse projects: created one linked resource for each subproject Also add the SOURCES from add_custom_target() to CodeBlocks projects (#11736) Add ASM support for the Intel compiler Actually use CMAKE_ASM_COMPILER for asm, instead of CMAKE_C_COMPILER Add support for ASM for the SunPro compiler Add suport for ASM for the IBM XL compiler Add support for ASm for the HP compiler. Set the HP asm file suffix Change the default rules so they fit better to the new ASM handling Fix the default CMAKE_ASM_COMPILE_OBJECT, make XL-ASM use it Add assemble- and preprocess commands for HP The Assembler test now tests ASM for GNU, Intel, HP, XL and SunPro Use a regexp instead a lot of ORs for checking the compiler ID Only try assembler support for Makefile-based generators Fix bad comparison in the detect assembler-code It's ELSEIF(), not ELSIF() Add temporary debug output for compiler ID detection for ASM Add more regex for gcc, always print the ASM compiler ID Add support for the Intel compiler used for ASM under Windows -use CMAKE_C_FLAGS when generating the assembler file -only enable the asm test for the Intel compiler if we are under UNIX Remove trailing whitespace Make use_mangled_mesa() available in cmake script mode (#11926) Fix parsing include dirs and builtin macros for CXX-only projects Don't skip the last builtin include dir for the Eclipse project file -fix VirtualFolders in Eclipse under Windows Alexey Ozeritsky (1): ACML search improvement Andreas Schneider (6): Modules: Added CheckPrototypeDefinition module. Tests: Added test for check_prototype_definition. FindOpenSSL: Added support for pkg-config. FindOpenSSL: We should only use hints to find OpenSSL. FindOpenSSL: Fixed crypto und ssl variable names. FindOpenSSL: Use find_package_handle_standard_args for version check. Bill Hoffman (2): With very long file names, VS 2010 was unable to compile files. Fix for bug where VS2010 did not use .obj files as part of the build. Brad King (94): Reject directory names containing '=' (#11689) FindQt4: Include builtin FindPackageHandleStandardArgs directly Handle trailing slashes on add_custom_command DEPENDS Handle relative WORKING_DIRECTORY in add_custom_(command|target) Pass -o after -c for Fortran to avoid mpif77 ordering bug Add link flag table entries for VS 7,8,9 VS: Create a Fortran DLL's import library directory Fix linker flag initialization from LDFLAGS (#11840) ccmake: Remove extra parens around comparison Avoid direct use of std::stringstream Honor module .def files with MinGW tools (#9997) CTest: Update Git submodules with --recursive libarchive: Remove unused build/windows directory (#11885) Pass .def files directly to MinGW tools (#9997) Fix Fortran test .def file symbol mangling Require at least CMake 2.6.3 to build current CMake GNUInstallDirs: Simplify and clarify documentation KWSys: Require at least CMake 2.6.3 Remove unused CMAKE_BACKWARDS_COMPATIBILITY mark Factor AIX and XL compiler flags into common module Move RPATH flags to AIX per-compiler information files Initialize ASM rpath flags for executables with those for shared libs Add ASM platform information for XL compiler on AIX Factor HP compiler flags into per-platform/per-compiler files Add ASM platform information for HP compiler on HP Add target property LINK_SEARCH_START_STATIC to aid static linking Test static linking with LINK_SEARCH_START_STATIC Fix Assembler test to parse C flags string before using Teach Assembler test to generate main.s at build time Do not bother enabling C++ in Assembler test The link interface of MODULE libraries is empty (#11945) CTest: Do not fail with submodules and Git < 1.6.5.0 Remove trailing whitespace Add parens in cmTarget::ComputeLinkInterface logic Validate custom command arguments (#11963) Factor old-style -D flags out from -I flag generation FindMPI: Fix documentation formatting Generate target-wide flags before individual build rules Optionally pass include directories with response files Pass include directories with response files to GNU on Windows Enable Java test more carefully on Apple Disable Java test with Xcode generator Allow '.' in target names in generator expressions (#12002) GNUInstallDirs: Propagate DATAROOTDIR changes to dependent defaults KWSys: Do not trust EXECUTABLE_OUTPUT_PATH for ProcessFwd9x encoding Refine unused cache variable warning Fix unused cache warning after multiple configure iterations FortranCInterface: Fix mangling detection with Cray Fortran >= 7.3.2 Fix typo in include_directories documentation (#12020) KWSys: Recognize rxvt-unicode-256color terminal (#12013) Normalize slashes of add_custom_(command|target) DEPENDS (#11973) COMP: Fix build against non-standard outside libarchive Modules: Add comment and copyright notice validation to readme.txt cmArchiveWrite: Clear xattr and acl from entries (#11958) find_package: Forward component list for recursive calls in modules XL: Set C++ and Fortran flags consistently with C XL: Consolidate compiler flag information XL: Avoid copying archives into shared libraries that link them VS10: Fix working directory of consecutive custom commands (#11938) Fix working drive of make rules on Windows Change working drive only in MinGW Makefiles VS: Use setlocal/endlocal only in VS 10 custom commands VS10: Fix exit code of custom commands with setlocal/endlocal (#11938) KWSys: Remove unused CheckCXXSourceRuns cmake module find_package: Rename implementation of user package registry find_package: Cleanup user package registry less aggressively find_package: Document user package registry locations find_package: Search a "system package registry" find_package: Check both 32-bit and 64-bit registry views find_package: Test system package registry when possible find_package: Fix system package registry test path conversion FindITK: Use passthru find_package config mode for messages OpenBSD: Use 'arch -s' for host processor (#12143) Fix case typo in CMAKE_BUILD_TYPE docs (#12148) KWSys: Fix leaked FILE in EncodeExecutable error case ENH: Fix Intel 12 plugin project generation for VS < 10 Revert "Honor RULE_MESSAGES property for build target messages" (#12190) Fix signed/unsigned comparison in EscapeJSON Fix run_compile_commands build on Apple GCC 3.3 Make std::map usage more portable in language=>flags/defines maps Provide std::map<>::at for use in run_compile_commands run_compile_commands: Avoid shadow in std::map<>::at workaround Improve string(RANDOM) default seed run_compile_commands: Avoid extra stl vector conversion VS 6: Define _WIN32_WINNT to load wincrypt.h correctly run_compile_commands: Cast istream::get() result to char Fix CompileCommandOutput test for Make tools not supporting spaces Explicitly cast time value in cmSystemTools::RandomSeed Fix CompileCommandOutput test build on Windows Add Absoft Fortran compiler id and basic flags Absoft: Detect implicit link libraries on Linux and Mac Absoft: Enable FortranCInterface check in Fortran test Document status of output_required_files command (#12214) Fix forced-seed argument type in string(RANDOM) Clement Creusot (2): Add new module Armadillo Corrected copyright format in FindArmadillo.cmake Clinton Stimpson (8): Change to use fphsa to check required variables and version. Fix grouping bug where "Ungrouped Entries" showed up as a child. When checking find_package() components, special case qtmain. Fix issues with find_path() for QtCore include dir on Mac. Fixes 11868. Fix regression in 43cb9b8. Speed up creation of parameters file for moc custom command. Combine component packaging methods into an enum. Add component support to DragNDrop generator. David Cole (34): ExternalProject Test: Increase test timeout value CFBundle Test: Add PATHS for finding Rez (#11295) CTest: Mark DART_TESTING_TIMEOUT as advanced (#10150) Xcode: Allow override of CMAKE_CONFIGURATION_TYPES (#8914) Tests: Eliminate unnecessary files and variables. VS9: Map enable/disable PREfast flags (#10638) Strip trailing space from xcode-select output (#10723) CTest: Add alias for make test target (#4564) Add CMAKE_SCRIPT_MODE_FILE variable (#2828) Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828) Fix KWStyle line-too-long complaint (#2828) Documentation: Sync two differing copies of -E docs (#10446) Clarify list subcommand documentation (#8154) VS2010: Fixed GenerateManifest flag (#10704) VS: Only use /MANIFEST if hasManifest is true (#11216) Make file DOWNLOAD less noisy (#11761) Begin post-2.8.4 development Use stable_sort to preserve test order (#11877) Implement file(UPLOAD (#11286) Fix KWStyle line too long error (#11286) ExternalProject: Extract file names from more urls InstallRequiredSystemLibraries: Read reg values with get_filename_component Add correct module notice header. If getconf returns empty output, try cpuinfo. (#11302) Add ProcessorCount support for QNX via pidin. (#11302) Compare ProcessorCount to SystemInformation count. (#11302) ProcessorCount test: more output, do not fail. (#11302) ProcessorCount: Add support for remaining platforms (#11302) ProcessorCount: Test fails if count is 0 (#11302) ProcessorCount: Use ERROR_QUIET with execute_process (#11302) ExternalProject: Add SVN_TRUST_CERT argument CMake: Clarify the --debug-trycompile help text ExternalProject: Always use --non-interactive with svn VS10: Write header-only files in correct xml element (#11925) Eric NOULARD (25): CPackRPM honors all the different ways of packaging components CPackRPM fix IRIX compiler warning (variable never used) CPack remove "-ALL" suffix for ALL-IN-ONE packages CPack Authorize DISPLAY_NAME usage in component package CPack fix KWStyle warning CPack remove previously CPack generated files (if any) before running CPack CPackRPM Replace space in some CPACK_ vars (Fix bug 9932) CPackRPM activate CPackRPM test on Linux systems where rpmbuild is found CPackArchive package all components specified in CPACK_COMPONENTS_ALL CPack more robust way to collect files belonging to a component CPackRPM do not run test if build dir contains space CPack fix compile error on VS70 and avoid KWStyle warnings CPackRPM add more trace output in order to help failing diagnostics CPackRPM even more trace in debug mode or in case of failure CPackRPM non matching ENDIF CPack try to please SUSE 64 bits and install lib in lib64 and not lib. Remove debbuging typo CPack fix CPackDeb crash when CPackDeb.cmake ends with a FATAL_ERROR CPack fix #11930 and simplifies component packaging options Fix #11964 Handle lib64 library on Linux Fix KWStyle warnings Split CPack.cmake in more manageable parts Fix KWStyle warnings CPackRPM Fix #12096: handle absolute install path with component install CPack make RPM work on AIX. fix #0012183 merge patch from Pasi Valminen James Bigler (1): Add FloatingPointModel to the list of known VS7 generator flags. Johan Björk (1): XCode: Also qoute [] as needed to set build-configurations. Kovarththanan Rajaratnam (1): Documentation: document platform specific -E commands (#10446) M. Konrad (1): CPackDeb add Component Support to DEB generator fix #0011655 Manuel Klimek (6): refactor flags and defines cache flags and defines implement cxx command output make compile command output optional Adds a test for the compile command line output. Only offer the compile command output feature on unix systems Marco Craveiro (1): CTest: Use the gcov --preserve-paths flag (#11717) Markus Rathgeb (1): When cross compiling, don't double-root paths when using find_*. Martin Konrad (2): CPackDeb: Fix #12006 broken package names CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging components Mathieu Malaterre (8): This commit fixes bug #0010316 Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake Add support for Java on HP Add support for java on fedora UseSWIG.cmake does not expand $(OutDir) Add support for new swig 2.0 application UseSWIG.cmake did not support multiple modules and parallel builds Add support for FindJava on HP-UX and alpha Michael Wild (1): Add module ProcessorCount.cmake (#11302) Modestas Vainius (1): Documentation: Fix a few typos (#11883) Nikita Krupen'ko (1): Add GNUInstallDirs module to define GNU layout (#3976) Philip Lowman (1): VS7/8/9: Map whole program optimization flags (#10263) Richard Bateman (1): Add support for CFBundle targets on the Mac (#11295) Rolf Eike Beer (2): CTest: catch warning output of Apache Maven FindZLIB: print library instead of include directory Sean McBride (1): Removed most usage of Carbon in favour of CoreFoundation Sebastian Herbst (2): VS8/9: Add flag map entries for /Zc:wchar_t (#10397) VS7/8/9: Add flag map for string pooling option (#10397) Tim Hütz (1): Add a string(FIND) sub-command (#11795) Todd Gamblin (2): FindMPI: Handle multiple languages Added backward compatibility for input as well as output vars. Wesley Turner (1): Ensure executable files have executable permissions. Zach Mullen (5): Implement ctest_upload command Change 'Files' tag to 'Upload' in Upload.xml Don't tar/gz ctest_upload() files Add the FILES keyword to ctest_upload command cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES Changes in CMake 2.8.4 (since 2.8.4-rc2) ---------------------------------------- Alex Neundorf (1): Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used Andreas Schneider (1): FindPerlLibs: Add notice of copyright Brad King (3): libarchive: Define major/minor/makedev only where needed (#11648) libarchive: Use OpenSSL only if CMAKE_USE_OPENSSL (#11815) Fix documentation of MSVC_VERSION (#11833) David Cole (1): Silence the may be used uninitialized warnings: initialize stuff. Eric NOULARD (2): CPack Tests the different ways of packaging components Avoid foreach IN LISTS syntax which is not supported by CMake 2.6 Changes in CMake 2.8.4-rc2 (since 2.8.4-rc1) -------------------------------------------- Alex Neundorf (3): Make cmake build again with cmake < 2.6.3 Strip trailing whitespace. Fix parsing of compiler name with a version number Ben Boeckel (86): ... 86 commit messages summarized as: Fix ADD_TEST regression when WORKING_DIRECTORY not given Add new "strict-mode" CMake variable checking Activate / avoid using new command line arguments: --warn-uninitialized --warn-unused-vars --no-warn-unused-cli --check-system-vars Bill Hoffman (3): For macros make sure the FilePath points to a valid pointer in the args. Add a warning when variables are used uninitialized. Make --strict-mode option, and integrate with cmake-gui Brad King (34): bootstrap: Granular system library selection (#11431) bootstrap: Clarify --init flag documentation (#11431) bootstrap: --verbose implies verbose Makefiles (#11708) Combine duplicate COMPILE_DEFINITIONS disclaimer Document COMPILE_DEFINITIONS known limitations (#11660, #11712) Document try_compile behavior more clearly (#11688) Document Check(C|CXX)SourceCompiles behavior more clearly (#11688) Fix get_(cmake|test)_property documentation (#11703) Reference get_property() from old get_*_property() commands Replace misleading example in the if() documentation (#10773) Clarify auto-dereference cases in if() command (#11701) Document CheckFunctionExists more clearly (#10044) Document CheckSymbolExists more clearly (#11685) Update CheckSymbolExists copyright year Report directory with missing source file (#11677) Test that missing source mentions directory (#11677) Teach Simple_Mingw_Linux2Win test to use windres Disable SubDirSpaces parens with GNU Make 3.82 (#11654) libarchive: Fix major() check for LSB 4.0 (#11648) Xcode: Make generation depend on all input directories Recognize SCO UnixWare C/C++ compilers (#11700) Factor SCO compiler info out of platform file (#11700) Honor CMAKE_TRY_COMPILE_CONFIGURATION in Makefile generators (#10809) Document CMAKE_TRY_COMPILE_CONFIGURATION variable Honor VS_SCC_* properties in Fortran targets (#10237) Normalize slashes in scanned #include lines (#10281) Improve try_compile and try_run error messages Use shortest extension to verify try_compile language (#11731) Modules: Include builtin FindPackageHandleStandardArgs directly Fix relative CMAKE_USER_MAKE_RULES_OVERRIDE (#11725) Clarify CMAKE_USER_MAKE_RULES_OVERRIDE documentation (#11724) Always place try_compile executables predictably (#11724) try_compile: Allow only languages loaded in caller (#11469) Fix ArgumentExpansion test expected results Clinton Stimpson (1): Replace exec_program with execute_process for qmake queries. David Cole (16): Update script with new machine name VS10: Fix problems with InstallRequiredSystemLibraries. Add CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS variable Add CPACK_NSIS_INSTALL_ROOT for CMake's own installer (#9148) Xcode: Disable implicit make rules in custom rules makefiles. Add freeglut as library name (#10031) Add new names for PNG and ZLIB libraries Avoid exceptions when ccmake terminal window is too small (#11668) VS10: Load projects with obj "source" files (#11147) VS10: Enable using devenv as CMAKE_MAKE_PROGRAM (#11459) Xcode: Fix crash: avoid strlen call on NULL char * CTestTest2: Avoid running purify unless requested VS10: Escape double quote chars in defines for rc files (#11695) Fix line too long KWStyle issue (#11695) Avoid space in rc /D values for VS6 and Cygwin (#11695) VSResource: Avoid windres /D with quoted spaces (#11695) Marcus D. Hanwell (1): Bug #11715 - generate header in the build tree. Nicolas Despres (1): bootstrap: Add --enable-ccache option (#11707) Changes in CMake 2.8.4-rc1 (since 2.8.3) ---------------------------------------- Alex Neundorf (32): Add support for nasm assembler, patch by Peter Collingbourne (see #10069) Improve misleading comments. Add missing copyright headers We already have 2010, fix copyright year. Make FindBISON work properly with non-C locales (#11326) Add support for yasm, a nasm compatible assembler Use CMAKE_ASM_NASM_FLAGS for nasm instead of FLAGS Remove trailing whitespace and minor formatting changes for the dot-code Move the code for collecting targets and libraries into separate functions Properly insert all targets, also those which don't link to anything. Generate separate dot files for each target, and a big one with everything. Move the code for generating dot-files into separate class cmGraphVizWriter Fix #11421: FindQt3.cmake doesn't honor the REQUIRED keyword Remove trailing whitespace Don't enforce VERBOSE makefiles for the CodeBlocks generator Remove the "early alpha stage" comments about Eclipse and C::B Don't disable colors in the CodeBlocks generator and minor cleanup. Some more fixes for nasm support, from Etienne (#10069) Enable/disable generating graphs depending on the target type Use std::cout instead of fprintf Collect targets and libs on demand instead of in the ctor Exclude targets from the graphviz file based on a regex Include CMakeDetermineCompilerId in CMakeDetermineASMCompiler.cmake (#11467) Fix typos in the doc Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631) Fix crash in Eclipse generator with empty project (#11616) Fix indentation in cmPolicies::ApplyPolicyVersion() Remove trailing whitespace Prefer files from CMAKE_ROOT when including from CMAKE_ROOT Improve documentation and messages for the new CMP0017 Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017 Alexey Ozeritsky (5): FindBLAS works in C/C++ projects without Fortran ACML find fixes (issue 0011219) find ACML fixes fix for Fortran-only projects FindLAPACK works with C/C++ only projects (issue 0009976) Andrius Štikonas (1): Modules: Fix spelling 'becase' -> 'because'. Ben Boeckel (25): Fix parsing of cache variables without a type Use cmCacheManager to load entries from the cache Support manual cache entries Condense parsing of cache entries Use FPHSA in FindOpenGL Ignore strerror_r since CMake isn't threaded Use _POLL_EMUL_H_ instead of HAVE_POLL_FINE Rename WorkingDirectory test Add WORKING_DIRECTORY argument to add_test Add tests for WORKING_DIRECTORY arg to add_test Rename the project to match the test Fix header includes for C++ and Visual Studio Add ctype.h include for toupper() Flip slashes around on Windows Use --><-- markers to denote the path Simplify the _default_cwd derivation Only test the default cwd with Makefiles Group adding tests with its properties Fully specify the path to old-signature add_test Use iostream to make Borland happy Check for poll when looking for _POLL_EMUL_H_ Toss out strerror_r macros Fix missed _POLL_EMUL_H_ and HAVE_POLL combo Make TestsWorkingDirectory test a C file Pass the expected value as the first argument Bill Hoffman (17): Fixes for the OSF operating system build. Add a fix for the inline keyword on the osf os. Add a "Contract" test for VTK. The test downloads and builds VTK. Fix contract test so it is not hard coded to the vtk542 test. Fix incremental linking for VS2010 with nmake or make. Change cpack run and verify script to work with multi-config generators. Fix vs2010 project generation error when HEADER_FILE_ONLY is set. Add more documentation for LANGUAGE property. Add flags to resource builds on vs 2010 with a test. Disable incremental testing for this test, it crashes vs9 linker. Only run resource test for MSVC compilers. Add support for windows resources with mingw/msys. Add support for windres to cygwin. Add testing for windows resources for mingw/msys/cygwin and remove for watcom. Enable resource building with the intel compiler on windows. Add support for source files in custom targets for VS 10 (Bug#11330). Change the nightly tests to build from the nightly branch and not next. Brad King (90): Store direct dependencies in solutions for VS >= 8 BUG: Fix compiler flag test for non-English MSVC (#11336) Document custom command behavior without DEPENDS (#11407) Consolidate duplicate link rule make dependency code Define LINK_DEPENDS target property (#11406) KWSys: Teach SystemInformation about WinXP Pro and Win7 Fix Intel .vfproj SubSystem attribute values Set Intel .vfproj RuntimeLibrary attribute Create Fortran info variables for .mod behavior Teach CMake about Cray C, C++, and Fortran compilers Speedup find_* commands (#11412) Prefer non-empty prefixes when matching lib names (#11468) Record edge type in global dependency graph Use modern global dependency graph for VS < 8 deps Allow add_dependencies() on imported targets (#10395) Pass Mac linker flag through PGI compiler using "-Wl," Modernize FindITK module (#11494) Fix find_* argument parsing crash (#11513) Skip VS <= 7.1 dependency analysis for VS >= 8 Enable 64-bit tools with VS 2010 Express (#9981, #10722) KWSys: Associate installed library with an EXPORT Fix try_compile RemoveFile anti-virus loop (#11503) Fix Fortran .mod timestamps with Cray compiler Make Fortran $obj.provides.build targets not .PHONY Honor custom command dependencies on imported targets (#10395) Improve signature of cmLocalGenerator::GetRealDependency Skip file-level dependencies on custom targets (#11332) Simplify VS generator ConstructScript interface Factor out common custom command generator Remove cmLocalGenerator::GetRealLocation KWSys: Remove realpath from SystemTools::GetPath (#10335) Fix parallel "make install" of CMake itself CTest: Fix ctest_sleep documentation (#11554) Fix soname in cross-compiled targets with Mac host (#11547) Detect object files in implicit link information Allow Fortran platform files to set empty values Recognize the NAG Fortran compiler Add NAG Fortran compiler information files FortranCInterface: Recognize NAG Fortran module symbols Remove unused variable "rootdir" in VS generators Avoid msbuild idiosyncrasy that builds multiple configs (#11594) Remove unused parameter "root" in some VS generator methods Fix dependency tracing of INSTALL and PACKAGE (#11598) Remove unused GLOBAL_TARGET generation code KWSys: Use EXPORT name only if installing library Write full version into try_compile CMakeLists KWSys: Do not mangle UNC paths in ConvertToUnixOutputPath (#10206) Normalize add_custom_command OUTPUT names (#10485) Make link rule depend on ".def" file (#11014) Document target_link_libraries target scope (#11058) Record backtrace in cmCustomCommand Factor generator expression docs out of add_test Factor per-config sample targets out of 'Testing' test Optionally suppress errors in cmGeneratorExpression Record set of targets used in cmGeneratorExpression Introduce "generator expression" syntax to custom commands (#11209) CTest: Fix test DEPEND cycle detection Make Intel defines consistent with MSVC on Windows (#9904) CTest: Fix line-too-long style in DEPEND cycle error Detect Fortran target architecture on Windows Modernize Intel compiler info on Windows Remove unused old-style g++ info file CheckCCompilerFlag: Strict signature of 'main' (#11615) Warn in find(GLOB) docs about bad use case (#11617) Remove call to SystemTools::GetMaximumFilePathLength Xcode: Generate native 3.2 projects Declare min CMake version in --system-information project Cygwin: Fix tests to check CYGWIN instead of WIN32 Cygwin: Do not define 'WIN32' (#10122) Revert "Remove unused parameter "root" in some VS generator methods" Revert "Avoid msbuild idiosyncrasy that builds multiple configs" (#11633) Avoid msbuild ".\" idiosyncrasy that builds multiple configs (#11594) Mark CustomCommand test perconfig.out as SYMBOLIC CTest: Factor out duplicate Git author/committer code KWSys: Avoid buffer overflow in SystemInformation (#11018) Fix sentence break in add_test documentation Pass Mac linker flag through all compilers with -Wl, KWSys: Avoid passing string literal as char* Avoid passing string literal to char* type Fix constness in compiler id detection Build enable_language command during bootstrap Map multiple /FI flags for VS < 10 (#11649) KWSys: Remove useless include (#11648) Allow users to specify defaults for unset policies ccmake: Use LSB 4.0 curses API conditionally CTest: Do not truncate UTF-8 test output too early (#10656) ccmake: Use LSB 4.0 getmaxyx conditionally Allow platform files to set large archive rules (#11674) Document reading LOCATION early as undefined (#11671) Document reading LOCATION_ early as undefined (#11671) Brian Bassett (1): VS: Fix linking of Fortran-only DLL projects (#10803) Campbell Barton (1): Honor RULE_MESSAGES property for build target messages Chuck Atkins (1): CTest: Teach launcher to ignore empty/no-op make commands Clinton Stimpson (11): Fix regex for moc includes when looking for frameworks. cmake-gui: use BundleUtilities in place of custom script. Fix regression in 2dae2f1 which added find of Qt imports dir. Force cmake to run again when qrc dependency scanning needs to happen. Fix regression to allow specifying a CMakeCache.txt file on the command line. BundleUtilities: only do rpath strip on copied prerequisites. Fix build issues cross compiling with static Qt. CTest: multiple ctest_test calls w/LABEL regexs (#11487) cmake-gui: always enable generate button. allow absolute paths for dbus interface. Add support for using static/dynamic Qt plugins. Craig Scott (1): ccmake: Port for LSB 4.0 (#11648) Dave Abrahams (1): FindPerlLibs: Fix for Mac locally applied patches David Cole (31): Add a contract test for building the CSE. Enable overriding contract test timeout values. Update tag in the Contracts/cse-snapshot test. Make HTML test fail when --nonet arg is not available. Begin post-2.8.3 development No CMake.HTML test if xmllint has no --nonet. Suppress "loop was vectorized" "warnings." Add contract test for Trilinos 10.6.1 snapshot. Honor FOLDER on include_external_msproject targets (#11436) Correct misspelling in error message text. BundleUtilities: error if fixup_bundle_item called on non-embedded item VS10: stop build on custom command error (#11533) CPack: look for makensis in the PATH (#8210) VS10: avoid warning, no nologo when verbose (#10587) Use m prefix in shorttag value to indicate "md5 of tarball" Establish pass criteria for the Trilinos contract test. Suppress erroneous warnings from Intel compiler Avoid running CMake.Install test simultaneously with other tests VS10: Finish Midl support (#11461) Prohibit space in HOME value for VSMidl test. KWSys: Fix CPU speed calculations (#9963) KWSys: Retrieve QNX specific memory and processor info (#11329) Improve build error detection. VSMidl Test: Use correct include_directories with VS6 (#11461) Add PATH_SUFFIXES for finding git. ExternalProject: Avoid bleed-through output when logging. Fix WOW64 registry mode on Windows 2000 (#10759) ExternalProject: Replace location tags in CMAKE_CACHE_ARGS CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644) KWSys: Fix WOW64 registry mode on Windows 2000 (#10759) CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148) Eric NOULARD (13): CPackRPM add basic component support to CPackRPM CPack fix kwstyle breakage and make CPackRPM backward compatible CPack backward compatibility fix 2.8.3-2.8.2 (bug 11452) CPack Fix KWStyle error CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time too CPack use IsOn when it's better than IsSet CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...) CPack new tests for component install CPack Default component test for ZIP should be OK CPackTest spit out more output in case of failure Arrange output in a better way Precise the project config type when invoking cpack CPackSTGZ quote here-doc, fix bug10518 Kai Wasserbäch (1): FindTCL: Fix TCL and TK version variable references (#11528) Marcus D. Hanwell (5): BUG 11451 - pass CMAKE_EXTRA_GENERATOR down. Added CMAKE_CACHE_ARGS to ExternalProject. Escape file write expansion, and build up lists. Fixed bug where last entry would be lost. Python additional version support, bug #10279. Matthias Kretz (1): Inline help in vim with vertical split. Mike McQuaid (6): Fix incorrect variable documentation (#11127) Add variable for InstallRequiredSystemLibraries dir (#11140) InstallRequiredSystemLibraries debug-only (#11141) Allow NSIS package or uninstall icon (#11143) Add CPACK_NSIS_EXECUTABLES_DIRECTORY (#7828) Add CPack NSIS MUI_FINISHPAGE_RUN support (#11144) Philip Lowman (8): 11363: FindBoost.cmake fails to find debug libraries in tagged layout install 11429: FindGTK2 does not find libraries built for Visual Studio 2010 11430: FindBullet doesn't find header files installed by Bullet >= 2.77 11384: FindCxxTest now includes test code in VS project [patch] Add Boost 1.45 to search, simplify a check removing VERSION_LESS Add Boost 1.46 Fix spelling BOOST_LIBRARYDIR message. Add error for common misspellings. Lowercase all function names and improve consistency Rolf Eike Beer (2): allow STRING(SUBSTRING) work with length -1 as "rest of the string" Add the WORKING_DIRECTORY property to tests Wojciech Migda (1): Recognize the Texas Instruments DSP compiler (#11645) Yaakov Selkowitz (2): Cygwin: Use 'cyg' prefix for module DLLs (#10122) Cygwin: Fix release script libncurses search patterns (#10766) Zach Mullen (4): Remove debugging message from parallel ctest CTest git update should pass the committer as well as the author Support explicitly set test costs in non-parallel testing. Test TIMEOUT property explicitly set to zero should be honored No changes in CMake 2.8.3 since 2.8.3-rc4. Changes in CMake 2.8.3-rc4 (since 2.8.3-rc3) -------------------------------------------- Bill Hoffman (1): When processing DartMeasurements use the tests working directory. David Cole (2): ExternalProject: No svn --username if empty (#11173) Avoid problem reading jni.h on Macs. David Partyka (5): Fixed appending PATH to dumpbin tool from growing without bounds. Switch to CMAKE_PATH when doing PATH comparisons on Windows. Remove unecessary TO_CMAKE_PATH for gp_cmd_dir. Append the gp_tool path to the system PATH using native slashes. Fixes to GetPrerequisites for cygwin Eric NOULARD (1): CPackDeb Added several optional debian binary package fields Marcus D. Hanwell (2): ENH: Added case for Python 2.7. Fixed parallel build for generators with EXTRA. Changes in CMake 2.8.3-rc3 (since 2.8.3-rc2) -------------------------------------------- Alex Neundorf (4): Remove trailing whitespace Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE) Use absolute path to FindPackageHandleStandardArgs.cmake everywhere CodeBlocks Generator: Do not omit files in the project file listing. Brad King (4): VS10: Order .vcxproj dependencies deterministically (#10502) Document ENABLE_EXPORTS behavior on Mac (#11295) FindHDF5: Fix typo in parallel-IO support check (#11291) Xcode: Recognize .hh as C++ (#11307) Clinton Stimpson (1): Find imports dir in Qt 4.7 David Partyka (1): Update module to locate newely released MS MPI HPC Pack R2. Philip Lowman (1): Remove superfluous variable Boost_COMPAT_STATIC_RUNTIME. Rolf Eike Beer (2): FindSubversion: Fix for German localized client (#11273) FindSubversion: Use C locale to detect version (#11273) Changes in CMake 2.8.3-rc2 (since 2.8.3-rc1) -------------------------------------------- Alex Neundorf (5): APPEND and not-APPEND mode of feature_summary() were swapped Set a default DESCRIPTION if none is given for ALL mode of feature_summary() Close ENDFUNCTION() properly with the same name as FUNCTION() Make cmake-gui remember whether the "Advanced" checkbox was checked or not Also store the required version number in the details message. Ben Boeckel (3): Add test that CMake errors with empty libs Fix which string is checked for in the test XCode generation should fail if lang isn't known Bill Hoffman (5): Fix the name of the variable being tested. Fix KWStyle line length issues. Add a delay after untar on windows to make external project work on windows 7 Add a new line to the end of the generated main.cxx for the hpux compiler. Fix for bug #11274, VS10 custom commands that create files in INTDIR fix. Brad King (12): Evaluate rule variable for executables ccmake: Fix search with '/' MinGW: Support long object file lists Document IMPORTED_NO_SONAME target property FindMPI: Recoginze -f flags from mpicc (#10771) Add module-dir flag for Compaq Visual Fortran (#11248) FindPythonInterp: Look for python2.7 interpreter VS10: Use $(IntDir) for per-source output directory (#11270) Reset platform/compiler info status for each language Remove trailing whitespace from Xcode generator source VS10: Skip targets with no linker language (#11230) VS10: Encode custom command comments for echo (#11283) Clinton Stimpson (1): Fix regression in cross-compile patches with finding Qt libs. David Cole (7): Enable calling commands with : in argv[1] (#9963) No extra spaces in CustomCommand test (#9963) Avoid CustomCommand test failure on VS71 (#9963) Update release scripts. Avoid CustomCommand test failure on VS71 (#9963) Honor MAKECOMMAND value saved in cache (#11026) New USE_FOLDERS property OFF by default. (#3796) David Gobbi (1): Set the module prefix, updated Windows suffix. Eric NOULARD (2): InstallGen/CPack fix handling absolute installed file regression CPackRPM Handle parenthesis in CPACK_SYSTEM_NAME (fix bug 10737) James Bigler (2): Fix for bug 0011263. Allow -g3 for CUDA v3.0+. Mikkel Krautz (2): Xcode: Avoid trailing space in ARCHS list (#11244) Xcode: Quote string values containing '$' (#11244) Philip Lowman (12): FindBoost.cmake fixes for issues 11204 & 8529 FindBoost.cmake: Miscellaneous changes and refactoring FindBoost.cmake: Add Boost_NO_SYSTEM_PATHS option FindBoost.cmake: Fix compiling against a boost source tree FindBoost.cmake: Fixes 11246 FindBoost.cmake: Fixes 11121 FindBoost.cmake: Fixes 10436 FindBoost.cmake: Implements 11160 Fix 11136: [patch] FindThreads.cmake documents the wrong variable FindBoost.cmake: Fix library search path glitch introduced in earlier commit FindFLEX.cmake: Fix issue 11249 Fixes issue 11279: CMakeDetermineVSServicePack support for VS10 Yaakov Selkowitz (2): FindFLTK*: Use Cygwin fltk on Cygwin (#11290) Use 'uname -m' for processor on Cygwin (#10774) Changes in CMake 2.8.3-rc1 (since 2.8.2) ---------------------------------------- Alex Neundorf (39): fix build on SUSE 11.2 in cmcurl due to ssize_t -add an additional name for finding libtiff on Windows -fix typo in docs of deprecated MacroAddFileDependencies.cmake add 2nd, more powerful mode to find_package_handle_standard_args() -fix indentation of the documentation Add version checking support to FindFlex and FindPerlLibs FindSquish doesn't detect the version, remove that from the documentation Improved version checking for FindRuby using the new mode of FPHSA() Improved version checking for FindJava using the new FPHSA() mode Fix DETAILS string with version number in FHPSA() Improved version checking for FindSubversion using the new mode of FPHSA() Improved version checking for FindCUDA using the new mode of FPHSA Use FPHSA() in FindSWIG, including version checking. Change documentation of Subversion_FOUND and SUBVERSION_FOUND. Add macro CMakeParseArguments() and use it in FPHSA() Fix ZLIB version parsing if no TWEAK version exists Fix EclipseCDT include path parsing with spaces (#10868) Fix EclipseCDT parsing of builtin macros with spaces (#10868) Remove trailing spaces Detect a COMPILER_ID also for ASM. Add timeout to execute_process() in CMAKE_DETERMINE_COMPILER_ID(). Fix parsing of builtin macros so Eclipse handles them properly (#10868) Log the required package version and major improvement to FeatureSummary Improve documentation. Improve wording of the documentation. Add macro ADD_FEATURE_INFO() and improve docs. Remove trailing whitespace Make target_link_libraries() complain if bad target name is used Just warn in case of a bad target as only argument for t_l_l() Remove trailing whitespace New CMP0016 for deciding whether an unknown target in TLL() is an error. Record all considered Config files and their versions. Improve error message in Config-mode when no appropriate version was found Replace the two vector with one vector Small cleanup of FindPackageHandleStandardArgs.cmake Don't create an empty element at the end of Foo_CONSIDERED_CONFIGS/VERSIONS Add option CONFIG_MODE to FPHSA() Improve version notice in the generated message Improve wording of the error message of find_package() in config-mode Andrew Maclean (3): Adding a FindPostgreSQL.cmake module Forgot the copyright notice. Changed ADDITIONAL_SEARCH_PATHS to PostgreSQL_ADDITIONAL_SEARCH_PATHS. Arjen Verweij (1): Pass objects to Intel linker using a response file Bill Hoffman (9): Disable gcc 33 on OpenBSD because it crashes CPack by default. Fix for bug#10483, INCLUDE_EXTERNAL_MSPROJECT: ProjectGUID now ProjectGuid Remove the ctest submit larget output test. Let CMake recognize .CPP .CXX and .C++ as c++ files. Fix for bug 10388, fix various default flags. Only use .CPP .CXX and .C++ do not work by default with g+++. Fix targets with . in the name for VS 10 IDE. Only test for .CPP on Microsoft compilers which will handle .CPP as c++. Allow testing of .CPP on WIN32 as it is a case insensitive OS and should work. Brad King (69): ExternalProject: Add LOG_* options to hide step output FindMPI: Do not parse -l in middle of library name FindMPI: Parse mpicc flags more carefully (#9093) Fix or cast integer conversions in cmake Begin post-2.8.2 development FindMPI: Failure is not an error if not REQUIRED FindMPI: Trust mpicc -showme on BlueGene/L VS: Always separate preprocessor defs by semicolon (#10902) KWSys: Cleanup putenv leak option implementation KWSys: Pass ptrdiff_t check result to System.c Fix or cast more integer conversions in cmake Use same type in both cases of '?:' operator FindMPI: Fix parsing of mpicc -Wl,-L link flags (#9093) Fix signed/unsigned comparison warnings in ccmake Fix integer conversions in cpack bootstrap: Detect known C/C++ compiler toolchains KWSys: Use short fallback timeout for Process tests KWSys: Optionally suppress consistent test failures KWSys: Avoid Clang optimizer bug in testProcess-[45] Poison GCC 3.3 on OpenBSD a bit later KWSys: Avoid undefined behavior in Process crash tests Optionally use system bzip2 library (#10932) ctest_update: Abort if Git FETCH_HEAD has no candidates ctest_update: Support ".git file" work trees ctest_update: Run 'git submodule' at top level FindBoost: Search for Boost 1.42 Add FindLibArchive module (#10923) Add option CMAKE_USE_SYSTEM_LIBARCHIVE (#10923) Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046) ExternalProject: Fix $(MAKE) with cygpath on Windows FindBoost: Search for Boost 1.43 and 1.44 Include headers from chosen libarchive (#10923) No response files with GNU ld <= 2.16 (#10913) Create class cmArchiveWrite to wrap libarchive (#11020) Include entries for directories in tarballs (#11020) cmArchiveWrite: Fix signed/unsigned compare/convert cmArchiveWrite: Fix signed/unsigned again CPack: Avoid member shadowing after API refactor KWSys: Fix SplitPath for leading '\' on Windows KWSys: Fix GetActualCaseForPath for UNC paths ModuleNoticesTest: Do not require "Kitware" copyright Modules: Fix CMakeParseArguments copyright notice FortranCInterface: Fix doc typo FC.h -> FCMangle.h CTest: Avoid use of old EscapeSpaces method Remove cmSystemTools::EscapeSpaces method Clarify install(TARGETS) docs for EXPORT option Factor out global generator ComputeTargetDepends method Factor out duplicate VS target dependency code Refactor VS <= 7.1 utility-depends workaround Restore GetTargetDirectDepends const return Split notion of node lists and edge lists Distinguish "strong" and "weak" target dependency edges Honor strong intra-component target dependencies libarchive: Remove SCHILY dev,ino,nlink attributes (#11176) Fix unused parameter warning in VS 7.1 generator KWSys: Avoid empty string dereference in SplitString KWSys: Improve SplitPath method documentation KWSys: Use SplitPath in GetActualCaseForPath Add whitespace=tab-in-indent attribute for sources Search MacPorts /opt/local prefix on Mac HP-UX: Always add /usr/lib to rpath (#10571) No CMAKE_CONFIGURATION_TYPES in single-config generators (#10202) KWSys: Suppress -Wcast-align warning in MD5.c Suppress -Wcast-align in curl and bzip2 libarchive: Fix purposeful crash bootstrap: Honor CFLAGS during "make" test (#10545) file(DOWNLOAD): Fix error message formatting Fix line-too-long style errors Report missing source files with context of target Clinton Stimpson (10): Fix performance issue with getting version from zlib.h Fix bug 10418 - GetPrerequisites returning "not" as a dependency. Fix regression in 5e6634fd77969433a87c150a2fb3f2079131484f for Windows. Change Qt4ConfigDependentSettings to use more standard find modules. Add cross-compiling support to FindQt4.cmake Tweak for cygwin, don't convert : to ; Fix some issues with refinding when qmake executable is changed. Find correct Qt plugins for cross-compiling. Fix mingw/VS warning message with cross compile re-org. Make sure moc parameters file goes in binary directory. David Cole (20): CheckSourceTree test: read UpdateCommand from Update.xml. Eliminate -Wconversion warnings. Detect CMake warnings and errors in build output. Activate retry code on any curl submit failure. Add another expected output for the failed submit tests. ExternalProject: Use $(MAKE) whenever possible. Copy Resources in Frameworks during fixup_bundle (#10020) Update path to git. dashmacmini2 was "upgraded." ExternalProject: Remove 'unknown keyword' warning (#11034) Add documentation for CPACK_PROJECT_CONFIG_FILE. Add STEP_TARGETS to ExternalProject module. Refine formatting for cmake --help-module output. Improve documentation of OPTION command. Add FOLDER target property, for IDEs (#3796) Avoid adding self as prerequisite. (#10417) Correct CMAKE_INSTALL_PREFIX value for Win64 apps (#9992) Preserve timestamps on files on tar extract. Use QUIET to avoid Java status messages. VS2010: Honor PROJECT_LABEL target property (#10611) VS2010: Set IntDir for utility and global targets. David Genest (1): Honor CMAKE_USER_MAKE_RULES_OVERRIDE in try_compile (#10902) Eric NOULARD (20): CPackRPM:: Replace - with _ in RPM Version (fix bug 0010934) Provides default changelog if no file is provided CPackRPM:: Quote every filenames in %file section (see bugs 10701,10871,10345) CPackRPM:: [partially] support relocatable package CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292) CPackDeb optionally generates auto-dependency list part fix of bug 10292 Proposal for bash-completion support file CPack: Refactor API in order to handle multi-file packages CPack: Avoid member shadowing after API refactor (part2) Improve cmake-completion (install doc, ctest -R completion) Add ZIP archive format and LZMA compress support to libarchive-wrapper Add XZ compress support to libarchive-wrapper Add Compress compress support to libarchive-wrapper CPack Backward-compatibly enforce DESTDIR for DEB and RPM CPack Enable better handling of absolute installed files CPackArchiveGenerator use cmArchiveWrite wrapper CPackArchiveGenerator add component supports CPackArchiveGenerator improve usability and robustness CPack fix broken compilation for CygwinSource generator CPack handle symlinks in CPACK_INSTALLED_DIRECTORIES fix for bug5430 James Bigler (1): Added CUDA 3.2 directory changes. Disable emulation mode for CUDA 3.1+. Kai Wasserbäch (1): Fix spelling errors reported by Lintian. Kovarththanan Rajaratnam (4): FindZLIB: optimize zlib.h version parsing FindCygwin: add new registry entry for Cygwin 1.7 (#10951) FindZLIB: use the FPHSA version mode FindSubversion: set compatibility variables based on FPHSA() Marcel Loose (1): Issue 10199: Fixed code documentation and now set _WC_ROOT Marcus D. Hanwell (1): Bug with default library type of Python modules. Mathieu Malaterre (3): Add missing PATHS to find_path commands to fix openssl searching BUG: 0009611 Fix Arch independent FindJNI.cmake on Linux Fix 11035 : debug/release library configuration mistake Michael Wild (2): Improve documentation of BundleUtilities.cmake Improve documentation of GetPrerequisites.cmake Miguel A. Figueroa-Villanueva (7): ENH: #9775 Added support for new wxWidgets 2.9 libraries. BUG: #9775 Fixed patch FindwxWidgets-fixed-bug-9775. BUG #10658: FindwxWidgets USE_FILE should not include .cmake extension. STYLE: Clarified/Fixed documentation of UsewxWidgets. BUG #11123: Generic include dir should come after config specific one. BUG #8184: Fixed FindwxWidgets wrong order of default libs for MinGW. ENH #8993: FindwxWidgets add support for wx-config custom options. Mike McQuaid (1): Make bundle items writable before fixup (#9284) Modestas Vainius (1): CTestTestFailedSubmit-xmlrpc: Pass with "Submission problem" Patrick Gansterer (4): VS: Convert PlatformName member to a virtual method VS: Add more TargetMachine option values VS: Map /ENTRY linker option to EntryPointSymbol VS: Add ArchitectureId to VS 8 and 9 generators Philip Lowman (7): Fixes problem finding libraries under Boost (#9510) Add detection for new pangommconfig.h header file Several fixes needed to improve Windows support 11041: Improve FindCxxTest to use Python or Perl automatically; custom flags 10241: FindBISON.cmake clears wrong variable 10688: FindGTK2.cmake doesn't auto-detect macports Merge patch for detecting gdk-pixbuf library Pino Toscano (1): GNU/Hurd platform support fixes (#9873) Robert Goulet (1): VS2010: Disable PDBs when there is no debug info Rolf Eike Beer (2): clean up some stuff in CPack RPM script Set MSVC_VERSION for MSVC 6, 7, 7.1 (#7944) Todd Gamblin (3): Modules: Fix spelling 'To distributed' -> 'To distribute' Teach find_* commands to ignore some paths Add platform files for BlueGene/P systems Zach Mullen (12): Checksums on CTest submit files, and retry timed out submissions. Cross-platform fixes for checksum/retry code Fix subscript out of range crash CTest should resubmit in the checksum failed case Testing for CTest checksum Mock checksum failure output for old CDash versions Checksum test should use CMAKE_TESTS_CDASH_SERVER Fix cycle detection for test dependencies More robust cost-based scheduling impl Fix hard-coded CDash URI in version query Added CTest command --print-labels We shouldn't ask CDash for its version info until/unless we actually need it. No changes in CMake 2.8.2 since 2.8.2-rc4. Changes in CMake 2.8.2-rc4 (since 2.8.2-rc3) -------------------------------------------- Bill Hoffman (1): Fix for bug #10859, ctest exit exception incorrectly reported. Brad King (3): Run CMake.HTML test without net access (#10857) Run CMake.HTML test with older xmllint (#10857) CTest: Parse empty Git commits correctly David Cole (2): Qualify name of extraction location with ExternalProject name. For VS10: Really use full path file names. James Bigler (1): Add support for the emulation version of the cudart library. Mathieu Malaterre (1): Cleanup FindOpenSSL. Add support for win64 installation. Zach Mullen (1): Parallel CTest hangs if serial test has depends Changes in CMake 2.8.2-rc3 (since 2.8.2-rc2) -------------------------------------------- Brad King (1): Preserve ENV{MAKEFLAGS} in CMake script mode David Cole (4): Remove "Microsoft Visual Studio .NET" from VS8 and VS9 find modules. Use full path file names in generate.stamp.list. Use full path file names to express dependencies. Look in the ctest ini file for GitCommand. James Bigler (2): Fixed: CUDA_VERSION_MAJOR/MINOR now computed after first run. CUDA_VERSION variable passed to REGEX needs quotes to work when not defined. Mathieu Malaterre (1): Cleanup FindDCMTK (using foreach). Fix linking on win32 static libs. Zach Mullen (2): Do not exit if stoptime is passed. Document ctest_build() TARGET option Changes in CMake 2.8.2-rc2 (since 2.8.2-rc1) -------------------------------------------- Bill Hoffman (1): Make sure libarchive uses cmzlib and not the system libz if found. Brad King (12): Use forward slashes for objects in response files Use platform variable for response file flag Use response file for objects on MinGW and MSYS Generalize CTest.Update* test dashboard script helpers ctest_update: Support custom Git update command ctest_update: Support Git upstream branch rewrites Fix CMake data and doc paths in Cygwin package Document scope of source file properties Run CTest.NoNewline test using built CMake Tru64: Place cmOStringStream vtable uniquely (#10541) Enable BootstrapTest on MSYS Tru64: Use full-path include directives in Makefiles (#10569) Christoph Watzl (1): Fix nested source groups with VS 10 (#9863) Clinton Stimpson (2): Support pthreads on irix. Remove macro for querying qmake for qmake variables. David Cole (2): Fix issue #10346. Error if SOURCE_DIR is empty. Remove CTestTest3. Zach Mullen (1): Extra coverage glob should subtract the explicitly defined excluded files Changes in CMake 2.8.2-rc1 (since 2.8.1): - Build on Tru64 (#10542) - Build on mingw-w64 - Build on old Sun (#10550, #10543) - CPack: Add native BZip2 support - CPack: Set compression type in RPM spec (#10363) - CPack: Try harder to initialize staging directory (#10793) - CTest: Add --stop-time argument - CTest: Cost data with '-j' - CTest: Fix memory report - CTest: Glob for uncovered files during coverage tests - CTest: Option to specify cdash server - CTest: PHP Coverage support - CTest: Process tree kill for OpenBSD, FreeBSD, kFreeBSD, GNU/Hurd - CTest: Report failure in Update.xml - CTest: Submit author email in Update.xml - CTest: Teach ctest_update about Git submodules - CTest: Teach ctest_update to handle Git upstream branch rewrites - Cygwin: Export all symbols with ENABLE_EXPORTS (#10122) - Do not list file names during 'cmake -E tar xz' - Documentation: Comply with "XHTML 1.0 Strict" - Documentation: Fix typo in CMAKE_LIBRARY_PATH (#10291) - Documentation: Fix typo in HAS_CXX docs (#10578) - Documentation: More consistent command signatures - Eclipse: Do not add INCLUDE to environment twice - Enable extra CodeBlocks generator on Cygwin - ExternalProject: Support .zip and .bz2 archives, MD5 verification - ExternalProject: Reconfigure when args change (#10258) - ExternalProject: Support Git, SVN username/password - FindCurses: Fix for cygwin ncurses package - FindHSPELL: Version support - FindJava: Error if version is not found only when REQUIRED - FindJava: Support runtime and development components (#9840) - FindKDE4: Prefer kdeconfig results over system paths - FindMPEG: Check for 'vo' library - FindPNG: Support png 1.4 versioned lib names (#10551) - FindPkgConfig: Add QUIET keyword to pkgconfig macros (see #10469) - FindZLIB: GnuWin32 support, version support (#5588) - FindwxWidget: Fix CXX flag parsing (#10209) - Fix .pdb name attribute in VS project files (#10614) - Fix CodeBlocks to work with Fortran-only - Fix VS 2010 custom commands (#10503) - Fix VS 6 support for COMPILE_DEFINITIONS_MINSIZEREL (#10700) - Fix cross-compiling from Linux to iPhone (#10526) - Fix documentation typos - Fix g95 Fortran compiler support - Fix uname masking in file(WRITE) and write_file (#10789) - GetPrerequisites: Provide an override hook - Handle non-ASCII terminators in file(STRINGS) - Module fixes: FindPythonLibs, FindQt4, FindX11, FindwxWidgets - PathScale Fortran compiler tool detection - Qt4 OpenGL framework fix - Qt4ConfigDependentSettings.cmake Qt4Macros.cmake UseQt4.cmake - Recognize ARM ABI/EABI with GNU compilers - Recognize Clang compiler - Search basic directories on "Generic" platform - Set MSVC* variables consistently on all generators, and test - Support SunPro C++ 5.11 on Linux (new compiler) - Support VS 10 Express (related to #10670) - Support compression with 'cmake -E tar' - Support multiple arguments in CC,CXX,FC environment variables - Support per-configuration librarian flags (#10768) - Support per-platform initial ASM language flags (#10577) - Use Fortran ABI detection results conservatively - Use libarchive to replace the unmaintained libtar - UseQt4: Support QtMultimedia (#10675) - bootstrap: Fix make tool detection (#10544) - cmake-gui: Add simple grouped view - cmake-gui: Support build tree under symlink (#9975) - Cleanup modules FindASPELL, FindAVIFile, FindBZip2, FindDart, FindEXPAT, FindGCCXML, FindGLU, FindHSPELL, FindJasper, FindLibXml2, FindLibXslt, FindMPEG, FindOpenAL, FindPhysFS, FindQuickTime, FindSubversion, FindZLIB. Changes in CMake 2.8.1 - Fix failing test on cygwin - Add a new serach path for MPICH2 Changes in CMake 2.8.1 RC 5 - Fix FindQt4 to work with OpenGL on the mac - Add .git .bzr and .hg to the list of default CPack ignore directories. Changes in CMake 2.8.1 RC 4 - CTest: Do not hide test GUI windows (fixes 2.8.0 regression) - Documentation: Clarify CMAKE_MODULE_PATH variable - FindQt4: Add support for QtDeclartive module - FortranCInterface: Fix PathScale detection - Suppress GNU flag -fPIC on Windows (fixes 2.8.1-rc1 regression) Changes in CMake 2.8.1 RC 3 - Add CMAKE_XCODE_ATTRIBUTE_ interface to set compiler (#9125) - Fix Eclipse files for targets in subdirectories (#9978) - Fix custom command rule hashes to avoid extra rebuilds - Print non-make generator name in initial compiler test Changes in CMake 2.8.1 RC 2 - CPack: Avoid deleting long PATH values with NSIS (#10257) - CTest: Fix and test cost-based test scheduler - CTest: Fix and test git updates for case of out-dated index - CTest: Fix regression caused by fix for (#2336) in rc1 - CTest: Setup command-line dashboard support with Git - FindCUDA: Improve docs, use -rpath on Apple, fix dependency scanning - Fix OS X deployment-target and sysroot defaults (#9959,#9898,#10155) - Recognize the Compaq Fortran compiler Changes in CMake 2.8.1 RC 1 - Add "NMake Makefiles JOM" generator - Add PathScale compiler support - Add per-configuration OUTPUT_DIRECTORY properties - Add per-target OSX_ARCHITECTURES property - check_type_size(): Handle mixed-size universal binaries - CPack: Document Mac generators - CPack: Improve RPM spec files - Create CMAKE_FORCE_Fortran_COMPILER for cross-compiling - CTest: Add --http1.0 command-line option - CTest: Add --timeout command-line option - CTest: Do not munge UTF-8 output in XML files - CTest: Document CTEST_USE_LAUNCHERS option - CTest: Fix killing of whole test process trees - CTest: Handle failure of running invalid executables - CTest: Honor the -C arg to ctest (#2336) - CTest: Improve host system introspection - CTest: Optionally randomize test order (--schedule-random) - CTest: Skip tests with unsatisfied REQUIRED_FILES test property - CTest: Submit arbitrary results with ATTACHED_FILES test property - ctest_build(): Enhance signature - ctest_start(): Add APPEND option - ctest_start(): Move CTEST_CHECKOUT_COMMAND from ctest_update - ctest_update(): Submit global tree revision in Update.xml - Cygwin: Do not export all symbols from DLLs (#10122) - Cygwin: Name DLLs with SOVERSION, not VERSION (#10122) - Detect 32/64-bit Windows with Intel compiler - Eclipse generator enhancements - ExternalProject: Add TIMEOUT parameter - FindCUDA: Respect CUDA version differences - FindCURL: Find import libraries on Windows - FindDCMTK: Look in more places - FindGTest: Handle spaces better (#10065) - FindGTK2: Look in fink locations on Mac OS X - FindHDF5: Follow find-module API conventions - FindJava: Support for versioned find - FindJNI: Honor find_package() REQUIRED and QUIET options - FindMPI: Improve Windows support - FindOpenSSL: Fix MinGW support - FindPythonLibs: Look in config for static library - FindQt4: Misc enhancements, sync with KDE vesion - FindRuby: Fix version convention on Windows - FindX11: Improve documentation - Fortran: Detect address size (#10119) - FortranCInterface: Honor user flags - Improve VS 2010 beta2 support - link_directories(): Treat relative paths consistently (CMP0015) - Modernize FindLibXslt and FindLibXml.cmake - Refactor platform info to simplify adding new compilers - Support cross-compiling versioned DLLs - UseQt4: Provide dependencies only for static Qt (#10021) - Address issues: #2336, #3571, #5041, #7541, #8725, #9011, #9042, #9054, #9163, #9171, #9450, #9697, #9764, #9782, #9792, #9862, #9894, #9913, #9916, #9917, #9918, #9949, #9965, #9970, #9982, #9985, #10003, #10014, #10021, #10032, #10055, #10060, #10065, #10114, #10119, #10122, #10126, #10136. Changes in CMake 2.8.0 Release - CPack: Honor CPACK_NSIS_DISPLAY_NAME (fixes regression) Changes in CMake 2.8.0 RC 7 - Partially sync FindQt4 with KDE version - Improve implementation of fix for #9090 - Fix CTest infinite loop when test executable could not be found - Fix #9833: Document ctest --help-command - FindCUDA: Fix -fPIC from being used on executable object files - Fix #9654: %files section in spec file should not list directories - Fix #9851: Better STRING(RANDOM) seeding - Fix double bootstrap build for in source builds - Fix CTest to use allowed value for valgrind --num-callers - Remove non-language implicit link dependencies - Implement LINK_FLAGS_ property on Xcode Changes in CMake 2.8.0 RC 6 - Partially sync FindQt4 with KDE version - Fix #9090: Teach CTest subdirs() command to handle absolute paths - Fix CTest bug that could start a test twice Changes in CMake 2.8.0 RC 5 - CTest now detects cycles in test dependency graph - Warn on set(PARENT_SCOPE) at top scope - Fix Xcode <= 2.0 projects with CMAKE_BUILD_TYPE - Fix flags for Intel Fortran on Windows - Fix #2199: UseSWIG documentation for swig_generated_file_fullname - Fix #7915: UseSWIG interaction with JNI - Fix #8971: FindOpenSSL now works on windows - Fix #9124: CPackDeb documentation - Fix #9722: cmake-gui reports error when not able to create build directory - Fix #9767: Match more valgrind-reported leaks in CTest memcheck - Fix #9777: Sync CMakeDetermineJavaCompiler paths with FindJava - Fix #9793: FindJNI should find matching jni.h and jni_md.h - Fix #9817: FindJNI on Solaris - Fix FindHDF5 when hdf5.h exists without H5pubconf.h - Fix FindZLIB to follow variable name conventions - Fix invalid use of auto_ptr on array - Mention temp var convention in Modules/readme.txt documentation Changes in CMake 2.8.0 RC 4 - Fix try_compile when file cannot be found - Add new module to test manifest installation issues on windows. - Add more test coverage -Improvements in finding MPI on windows. ENH: reorganized searching mpi for mpi components (include,lib,bin) using a single set of search paths instead of seperately mainted lists of paths for each. - Look for nvcc in the 32 bit bin directory before the 64 bin directory. - BUG: hardcore some values so output matches cmVS10CLFlagTable.h (addresses bug #9753) - Avoid Intel linker crash in BuildDepends test - Fix Intel Fortran SHARED libraries on Linux - Fix working dir issue for ctest - Fix if() command and CMP0012 OLD/NEW behavior - Allow for /D to change install directory on the command line for NSIS - Move SetErrorMode around calls to generate and configure instead of setting it for the whole application for cmake-gui on windows. Allows for bad installs of windows shell programs to not break file completion. - Fix Intel and MinGW Fortran DLL import libraries - Fix Xcode dylib version default - Fix the showing of non-cpp files in the IDE for VS 10 - Fix optionally-valued booleans in VS 10 flag table - Detect and set Unicode character set in VS 10 - Add support for the g95 Fortran compiler - Test all target types in Fortran - Add Xcode file association for Fortran - Fix VS 10 flag table for precompiled headers - Fix VS 10 .sln files for Windows Explorer - Fix Microsoft.Cpp.$(Platform).user.props in VS10b2 - Fix up file(DOWNLOAD ) a bit, better error checking and uses of long not double for timeout as curl needs, bug# 9748 - Add a VS 10 Win64 generator - Fix for bug#9686 convert java_home to a cmake path before using. - fix for bug# 9751, add check for MSVC10 - Fix for bugs #9756, #9690 and #9755, header files were not included, and link_directories we incorrect - Add a module to test an install tree to verify that the MS CRT version is correct. - Fix seg fault for empty ENV{} call bug #9747 - Better fix for finding the MSBuild that matches the VS 10 install. - make testing the CodeBlocks and Eclipse generators easier by not requiring the CMAKE_EDIT_COMMAND variable - Do not link library dependencies in VS solutions - Ctest was broken for subdirs. Restored working directory state for tests so that their executables could be found. - Fixes version detection using osg/Version on Mac OSX when OSG is installed as a framework - Avoid C++ linker language in VS Fortran project - Avoid duplicate ZERO_CHECK in VS solutions - Fixed bug 8319, search for the Python shared library in the standard locations. - Fix bug#9714, should not crash when version file is not where it should be... - Fix ctest output alignment for cases where total tests run is not the same width as max test index. - make it more robust wrt. #9621 - Add another possible error message that curl might emit with an empty drop location. - Fix issue #5668 - use CollapseFullPath when determining if covered file is within source or binary tree. Allows gcc/gcov coverage analysis using MinGW on Windows. - CTest-side support for compiler name and compiler version information. Requires CDash update to show on CDash. - Add a bunch more testing coverage. Changes in CMake 2.8.0 RC 3 - CTest Added OS Platform (cpu architecture) detection support to windows system - Several minor FindBoost changes to address posts on mailing list - Resolve #9685: Fix include dir to be correct path for gnutils - Fix color check for dependency scanning - Remove CMP00015 for now as it breaks more things than it fixes - Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.) - Do not use -fPIC to link executables - Split Borland compiler information files - Trimmed off the newline from sw_vers output on mac, it could cause xml parsing errors if left in - Check for openssl-linked option with Qt 4.4+ before making ssl a dependency. - Make Complex test of CMakeLib more optional - Modernize FindVTK module - Fix find_package() when _DIR is wrong - Do not collapse path of NOTFOUND values - More robust implicit link line detection regex - fix Xcode 30 generator - Use the correct CMake (the freshly built one) to drive the CMakeWizardTest. - Support more special characters in file(STRINGS) - Log implicit link line detection regex - speedup C dependency scanning even more - Avoid non-root copies of root-only targets - Added better OS information for Mac OS X - Use work-around from bug 4772 for C++ and Fortran - FortranCInterface: Mangling for Intel on Windows - cmake-gui don't allow consecutive generates without a configure. - Fix Preprocess test for Intel on Windows - Teach intel compiler on windows to place .lib files and .pdb files. - CPack: Fix bash-isms in launch script - BUG: #0009648 Change "The following tests FAILED" message to print on stdout rather than stderr - Avoid (Unix|Windows)Paths.cmake multiple include - When getting include dirs for moc, also watch for framework includes and use -F instead of -I. - Find locally installed software first - Add '#!/bin/sh' to cygwin-package.sh - Fix permsissions of installed SquishRunTestCase.sh - Fix module docs to be manpage (groff) friendly - Support GNU/kFreeBSD - Remove old Encoding field from CMake.desktop - FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic) - Match width of ctest "Start xx: " line to line up with the end test line - Remove old license from FindPkgConfig.cmake module - Test target link information invalidation - Invalidate target link info when necessary - Use new style header generation and get rid of OBJECT_DEPENDS in tutorial - Fix issue #8649 - move the location of CPACK_NSIS_EXTRA_INSTALL_COMMANDS so that it is not excluded from execution when 'Do not create shortcuts' is checked. - add the additional features for the dbus macros from KDE's FindQt4.cmake fc9f7a5 Fix warnings in CMake source code. - Correct some typos in error messages in the string command. Add a test that covers more of the code implemented in cmStringCommand.cxx, especially the error handlers. - Create INTERPROCEDURAL_OPTIMIZATION build feature - Document CMAKE_CURRENT_LIST_FILE more precisely - Fix the documentation to say what it really does. Bug #9638 - document how the minimum version can be specified - Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files. - Add documentation for Cocoa flag and move Motif under X11 flag. Changes in CMake 2.8.0 RC 2 - Fix FindQt4 so that QtHelp depends on QtNetwork - Add missing copyright notice to CMake.cmake module - Add alternative _UTILITY targets to all VS solutions - FindGTest.cmake some bugfixes, also added public function for closer integration btwn GoogleTest & CTest, contributed by Dan Blezek. - Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate. - Fix for bug #9611, some more paths for OpenJDK. - Fix get_filename_component() registry view with wow64 - Fix warnings in CMake source code. - Fix module definition file reference for VS6 NMake - Fix for bug #9611 do not hard code archs for search paths of java, look at the machine type. - Fix bug#9619 add a link to module maintainers page in readme.txt for Modules - Add cmake-help-command function to emacs-mode - Add initial XL C compiler flags for safer builds - Split XL compiler information files - Fix default install prefix on Haiku - Fix use of module .def files for MS tools - Add StringProperty options includeing /def: for VS 10 flag table - Convert copyright to OSI BSD and clean up licenses - ENH: Added ctest test coverage for a test timeout - CTest honors test timeouts again. - Remove ctest_submit from CTestTestParallel - Fix shared library creation flag for XL on Linux - Fix BUG: 0009612: --output-on-failure option doesn't work with the new parallel CTest handler - Removed support for cutil library and header file. - Fixed CUDA_PROPAGATE_HOST_FLAGS, added path for Mac SDK. - Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613 - Fix issue #9412 - remove RPATH from files copied by BundleUtilities.cmake on Linux. Thank - Fix support for OLD behavior of policy CMP0002 - Fix issue #8818 - escape quotes in the license file when using the DragNDrop cpack genera - Fix .vfproj file version for Intel Fortran 10.1 - Use BeAPI for per-user package registry on Haiku - Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM env. var to initialize - Fix bug #9529. - Fix Windows GUI implib and image version in VS 6 - Convert newlines from CRLF to LF - Oops. Last commit did not create subdir before doing a touch on a file in it. So it fails of a type that is expected to have a location... - Policies 14 and 15 will be first released in 2.8.0 - Document full version number with policy default - Simplify bootstrap script source dir detection - Documentation fixes, new CUDA_PROPAGATE_HOST_FLAGS, changed output directory. Changes in CMake 2.8.0 RC 1 - Qt based GUI cmake-gui is now the default GUI, MFC CMakeSetup is no longer included in CMake. ccmake is still supported. - cmake-gui supports multi-state values options. - CMake now has cmake --build command that can build any CMake generated project from the command line. - Visual Studio 2010 beta support has been added. - KDevelop generator now has color output for builds. - CTest supports running tests in parallel with a -j N option. - A new CTest CTEST_USE_LAUNCHERS option can be used to get better dashboard error reports with make based tools. - CTest has support for sub-projects and labels which can interact with CDash. - CTest now supports Git, Mercurial, and Bazaar. - It is now possible to use DESTDIR in CPack for any CMake based projects giving more flexibility on the final path names. - The CPack Deb generator now computes the arch instead of hard coding it. - Fortran/C mixed language projects made much easier. CMake now automatically can compute the run time libraries for a compiler. In addition, a new FortranCInterface module can determine the correct name mangling needed to mix C and Fortran. - Intel compiler support added to OSX, and support for embedded manifests in the windows intel compiler was added. - Depend scanning is now much faster with makefiles. - Many FindQt4 improvements to stay working with current Qt releases - FindMPI has improvements for windows. - FindBoost has been updated to work with the most recent boost releases. - New External Project Module. The 'ExternalProject_Add' function creates a custom target to drive download, update/patch, configure, build, install and test steps of an external project. - xmlrpc dependancy has been removed - CMAKE_OSX_DEPLOYMENT_TARGET cache variable has been created to set the deployment OS for a build on OSX. - Several new policies were added: CMP0012 The if() command can recognize named boolean constants. CMP0013 Duplicate binary directories are not allowed. CMP0014 Input directories must have CMakeLists.txt. CMP0015 The set() CACHE mode and option() command make the cache value visible. - Lots of bug fixes. cmake-2.8.12.2/ChangeLog.txt000644 000765 000024 00011735003 12266011633 016237 0ustar00kitwarestaff000000 000000 2009-09-23 14:13 zach.mullen * Tests/CMakeLists.txt: Uncommented the dependency of CTestTestNoExe on CTestTestNoBuild so that it will work in parallel now. 2009-09-23 14:10 king * Source/cmGlobalXCodeGenerator.cxx: Add Xcode SYMROOT setting for custom targets Xcode 1.5 writes helper scripts at the projectDirPath location for targets that do not set SYMROOT. We now add SYMROOT to custom targets so that all targets set it. This prevents Xcode 1.5 from touching the source directory now that we always set projectDirPath. See issue #8481. 2009-09-23 14:07 zach.mullen * Tests/CTestTestParallel/lockFile.c: Make portable c for Parallel test 2009-09-23 14:01 alex * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsJava.cxx, cmDependsJava.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: Major optimization of C/C++ dependency scanning. Now only the dependencies for the file where the dependencies actually may have changed are rescanned, before that this was done for all source files even if only one source file had changed. This reduces e.g. on my machine the time for scanning the dependencies of kdelibs/khtml/ when only one file (khtml_global.cpp) has changed from around 7.5 seconds to 1.2 seconds. The tests succeed, it does what I expected it to do on kdelibs, and Brad also reviewed the patch, so I think it should be ok. Alex 2009-09-23 13:09 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h: fix compile warnings 2009-09-23 12:46 hoffman * Utilities/Release/: magrathea_release.cmake, release_cmake.cmake: Handle older cvs clients that do not allow for the password to be in the CVSROOT. 2009-09-23 12:45 hoffman * Tests/CMakeLists.txt: Add nightly builds for linux windows and mac. 2009-09-23 11:38 zach.mullen * Tests/: CMakeLists.txt, CTestTestParallel/CMakeLists.txt, CTestTestParallel/lockFile.c, CTestTestParallel/lockFile.cxx: Set new ctest tests to always run, whether CTEST_TEST_CTEST is enabled or not. Changed parallel test to be portable. 2009-09-23 10:45 king * Source/kwsys/SystemTools.cxx: Fix KWSys SystemTools build on cygwin with -mwin32 Commit "Optimize KWSys SystemTools::FileExists on Windows" accidentally added "#undef _WIN32" when including on cygwin, which breaks builds using the -mwin32 flag. This commit removes that line and fixes the real error it was intended to avoid. 2009-09-23 09:00 zach.mullen * Tests/CTestTestParallel/test.cmake.in: CTestTestParallel now submits to public dashboard for easier debugging 2009-09-23 08:48 king * Source/cmDocumentVariables.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Tests/SystemInformation/SystemInformation.in: Teach Xcode generator to set XCODE_VERSION We set the variable 'XCODE_VERSION' in the CMake language to the Xcode version string (e.g. "3.1.2"). Platform config files may use it later. 2009-09-23 01:01 bigler * Modules/FindCUDA.cmake: Updated formatting of documentation plus a little reorganization. 2009-09-23 00:50 bigler * Modules/FindCUDA/run_nvcc.cmake: Added a command to make the output directory. This is to fix the XCode build that uses a different output directory than other systems, and rather than try to match that we'll just make it. 2009-09-23 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-22 18:44 clinton * Modules/FindQt4.cmake: add support for finding qcollectiongenerator executable. fixes #9248. 2009-09-22 18:29 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx: fix issue 9346. add binary directory to window title to make it easier to deal with multiple cmake-gui instances 2009-09-22 17:08 hoffman * Utilities/Release/dash2win64_release.cmake: new windows build machine for cmake 2009-09-22 17:07 hoffman * Utilities/Release/vogon_cygwin.cmake: disable svn 2009-09-22 16:28 clinton * Modules/FindQt4.cmake: Add support for Qt configured with custom qtlibinfix (see issue 9571). Also fix CMP 15 warnings. 2009-09-22 16:18 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: Fix Xcode project references to the source tree Xcode project source file references need to always be relative to the top of the source tree in order for SCM and debug symbols to work right. We must even allow the relative paths to cross outside of the top source or build directories. For subdirectory project() command Xcode projects we use the source directory containing the project() command as the top. Relative paths are generated accordingly for each subproject. See issue #8481. 2009-09-22 16:16 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: Optionally force conversion to relative path In cmLocalGenerator::ConvertToRelativePath we normally convert to relative path only if the local and remote paths both lie inside the source tree or both lie inside the build tree. This commit adds an optional 'force' argument to allow conversion even when this rule is violated. 2009-09-22 16:12 hoffman * bootstrap: Make sure KWSYS_DO_NOT_CLEAN_PUTENV is defined at bootstrap time for cmake in the bootstrap script. 2009-09-22 16:02 king * Modules/CMakeDetermineCompilerABI.cmake: Skip implicit link info for multiple OS X archs Implicit link information contains architecture-specific libraries and directories. The link information cannot be explicitly specified safely when CMAKE_OSX_ARCHITECTURES contains more than one architecture. As a result, we currently cannot support mixed-language C++/Fortran targets and OS X universal binaries simultaneously. In order to avoid conflicts for simple C/C++ cases, we now simply skip detection of implicit link information in this case. 2009-09-22 15:58 hoffman * Source/kwsys/: CMakeLists.txt, Configure.hxx.in: Can not use cmakedefine in kwsys because bootstrap of cmake does not support it. 2009-09-22 14:56 hoffman * Source/kwsys/: Configure.hxx.in, SystemTools.cxx: Put a flag in that will stop system tools from deleting system environment memory on exit, as it can cause gcov to crash the programs. 2009-09-22 14:40 alex * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: Rescan dependencies also if CMakeDirectoryInformation.cmake has changed. If CMakeDirectoryInformation.cmake is newer than depend.internal the include directories may have changed, so dependencies need to be scanned again. Ok by Brad. Alex 2009-09-22 13:02 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: Optimize KWSys SystemTools::FileExists on Windows We optimize this method by using the GetFileAttributesExA native Windows API to check for file existence when possible. For real Windows builds we always use it. For Cygwin we use cygwin_conv_to_win32_path to get a native Windows path if possible and otherwise fall back to 'access'. Cygwin-to-Windows path conversion and cache by Wojciech Migda. See issue #8826. 2009-09-22 12:05 zach.mullen * Tests/: CMakeLists.txt, CTestTestParallel/CMakeLists.txt, CTestTestParallel/CTestConfig.cmake, CTestTestParallel/lockFile.cxx, CTestTestParallel/test.cmake.in: Added tests for ctest parallel options (PARALLEL_LEVEL, PROCESSORS, RUN_SERIAL) 2009-09-22 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-21 23:42 lowman * Modules/FindBoost.cmake: Make Boost easier to find 2009-09-21 23:07 clinton * Modules/FindQt4.cmake: Fix issue 9581. Qt 4.5+ needs gobject-2.0. 2009-09-21 22:38 lowman * Modules/: FindCxxTest.cmake, FindGTK2.cmake, FindOpenSceneGraph.cmake, FindProtobuf.cmake: Add a blank line to my contributed find modules to prevent copyright info from showing up in CMake docs 2009-09-21 22:21 lowman * Modules/FindBoost.cmake: Fix Bug #9158: FindBoost.cmake does not work properly with nmake and icl 2009-09-21 17:22 hoffman * Utilities/Release/release_cmake.sh.in: Use ctest -j to speed up tests for release builds. 2009-09-21 17:19 hoffman * Utilities/Release/release_cmake.cmake: Do not require a cvs login for checkout. 2009-09-21 15:29 zach.mullen * Source/CTest/cmCTestBatchTestHandler.cxx: More SLURM experimentation (ctest batch mode) 2009-09-21 15:26 hoffman * Tests/CMakeLists.txt: For the complex tests since they link to the CMake library make sure that they are built with the type of build. 2009-09-21 14:58 zach.mullen * Source/CTest/cmCTestBatchTestHandler.cxx: Fixed a slurm batch argument identifier. 2009-09-21 14:21 zach.mullen * Source/CTest/: cmCTestBatchTestHandler.cxx, cmCTestBatchTestHandler.h: Need to quote args when generating batch scripts from ctest 2009-09-21 13:40 zach.mullen * Source/CTest/cmCTestBuildHandler.cxx, Tests/CMakeLists.txt: Re-enabled failing tests; fixed ctest_build output to be consistent in the error condition across different make programs so that these tests would pass. 2009-09-21 13:18 hoffman * Source/cmGlobalXCodeGenerator.cxx: Fix Bug #8332, add support for .pch files for Xcode. 2009-09-21 13:15 hoffman * Source/cmGlobalXCodeGenerator.cxx: Fix Bug #8928, add support for .xib files for Xcode. 2009-09-21 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-20 23:55 lowman * Modules/FindProtobuf.cmake: Fix glitch where we were accidently unsetting CMAKE_FIND_LIBRARY_PREFIXES 2009-09-20 21:15 lowman * Modules/FindProtobuf.cmake: Forgot to mark Protobuf cache variables as advanced 2009-09-20 20:20 lowman * Modules/FindALSA.cmake: [NEW Module] FindAlsa audio library (Advanced Linux Sound Architecture) 2009-09-20 20:12 lowman * Modules/FindProtobuf.cmake: [NEW Module] Find and use Google's Protocol Buffers library & compiler 2009-09-20 11:33 lowman * Modules/FindBoost.cmake: Fix boost library detection with Sun Studio compiler (Issue #9153) 2009-09-20 09:42 hoffman * Tests/CMakeLists.txt: Disable test as it fails on every system. 2009-09-20 08:03 lowman * Modules/FindThreads.cmake: Improve readability 2009-09-20 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-19 13:02 alex * Source/cmDepends.cxx: Minor optimization in dependency checking. When reading the depend.internal file, check only once for every depender whether it exists, instead of repeatedly in a loop for each dependee. Within that function it can only change of the depender is removed. This is taken care of. This reduces the number of access() calls in kdelibs/khtml from 180000 to 90000 (i.e. 50%), and reduces the time for that (without the actual scanning) from 0.3 s to 0.21 s on my system. Alex 2009-09-19 12:00 king * Source/: CMakeLists.txt, cmGlobalXCode21Generator.cxx, cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: Remove cmGlobalXCode21Generator subclass This subclass of cmGlobalXCodeGenerator only provided two virtual method overrides, and it made construction of the Xcode generator instance complicated. This commit removes it and replaces the virtual methods with tests of the Xcode version. The change removes duplicate code. 2009-09-19 10:14 king * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/Platform/Darwin-GNU-C.cmake, Modules/Platform/Darwin-GNU-CXX.cmake, Modules/Platform/Darwin-GNU.cmake, Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: Fix check for -isysroot on OS X Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMakeCompiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly. 2009-09-19 04:33 alex * Modules/Compiler/: Intel-C.cmake, Intel-CXX.cmake: The preprocessing and assembly rules also need the , otherwise different reults are created. Alex 2009-09-19 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-18 15:16 hoffman * Source/cmLocalGenerator.cxx: Only do the OSX arch stuff on OSX. 2009-09-18 15:01 zach.mullen * Tests/CMakeLists.txt: Disabling CTestTestNoBuild pending investigation of odd g++ output issues. 2009-09-18 14:22 hoffman * Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: Add detection of gcc versions that do not support isysroot option and do not use it for them. 2009-09-18 14:02 zach.mullen * Tests/CMakeLists.txt: Apparently, on FarAway the presence of errors during ctest_build does not cause the calling ctest to return an error condition. 2009-09-18 13:34 zach.mullen * Tests/CMakeLists.txt: Cosmetic change to test CMakeLists 2009-09-18 12:56 david.cole * Modules/ExternalProject.cmake: Better error message tells user possible ways to resolve the error. 2009-09-18 12:16 zach.mullen * Tests/: CMakeLists.txt, CTestTestCrash/CMakeLists.txt, CTestTestCrash/CTestConfig.cmake, CTestTestCrash/crash.cxx, CTestTestCrash/test.cmake.in, CTestTestFailure/CMakeLists.txt, CTestTestFailure/CTestConfig.cmake, CTestTestFailure/badCode.cxx, CTestTestFailure/testNoBuild.cmake.in, CTestTestFailure/testNoExe.cmake.in: Added test coverage for ctest. Covers WILL_FAIL condition, tests that do not build, tests that segfault, and test executable not found (bad command), as well as some pass and fail regular expressions. 2009-09-18 10:28 hoffman * Source/cmGlobalXCodeGenerator.cxx: Fix the build for version 2.5 of Xcode. 2009-09-18 09:49 king * Tests/TryCompile/CMakeLists.txt: Fix CHECK_(C|CXX)_COMPILER_FLAG macro test The flag "-_this_is_not_a_flag_" was not rejected by GCC 4.0 on older Mac OS X. We now use "---_this_is_not_a_flag_" instead, which will hopefully be rejected by all compilers. 2009-09-18 09:49 king * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake: Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunPro These compilers warn and return 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. We also update the regex for GNU on older Macs. See issue #9516. 2009-09-18 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-17 17:16 king * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake: Fix CHECK_(C|CXX)_COMPILER_FLAG for HP This compiler warns and returns 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. See issue #9516. 2009-09-17 16:09 hoffman * Source/cmLocalGenerator.cxx: Fix case where no archs are found on older macs. 2009-09-17 15:33 king * Tests/TryCompile/CMakeLists.txt: Test CHECK_(C|CXX)_COMPILER_FLAG macros This teaches the TryCompile test to check that the compiler flag check macros correctly reject a bad flag. See issue #9516. 2009-09-17 15:32 king * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake: Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVC These compilers warn and return 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. See issue #9516. 2009-09-17 15:29 king * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake: Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILES This teaches the CHECK_C_SOURCE_COMPILES and CHECK_CXX_SOURCE_COMPILES macros to recognize a FAIL_REGEX option. If they see the regular expression in the output of the test compilation, the check fails. 2009-09-17 15:28 king * Modules/: CheckCCompilerFlag.cmake, CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake, CheckCXXCompilerFlag.cmake, CheckCXXSourceCompiles.cmake, CheckCXXSourceRuns.cmake: Cleanup generic compiler check macro documentation This commit improves formatting and style of the documentation for the general-purpose compiler check macros: CHECK_C_COMPILER_FLAG CHECK_C_SOURCE_COMPILES CHECK_C_SOURCE_RUNS CHECK_CXX_COMPILER_FLAG CHECK_CXX_SOURCE_COMPILES CHECK_CXX_SOURCE_RUNS This sytle is more consistent with CMake command documentation. It also looks nicer in the generated documentation text files. 2009-09-17 13:08 alex * Modules/CMakeFindEclipseCDT4.cmake: The check for include dirs and builtin macros also works with the Intel compiler Alex 2009-09-17 11:52 hoffman * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx: Fix for bug #9466. Change the implementation of OSX arch lists. If no ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT. 2009-09-17 09:18 hoffman * Source/cmLocalVisualStudio7Generator.cxx: Bug #9430, recognize the FR flag 2009-09-17 08:42 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: Do not call CollapseFullPath for PDB file names Some vendor tools convert PDB file names given on the command line to lower-case before creating the file. When CMake places a mixed-case PDB file name into the build system, the file does not exist the first time and it is written with mixed case. After the first build though the native tool has created a lower-case version of the file. If CMake does CollapseFullPath again, the file exists so the actual-case lookup gets the lower-case name. This causes the build files to change so the project rebuilds. The solution is to avoid calling CollapseFullPath for files generated by the build. In the case of PDB files we already construct them from paths that have been collapsed, so we can just skip the call altogether. See issue #9350. 2009-09-17 08:25 king * Source/cmMakefile.cxx: Remove old check for duplicate subdirectories In cmMakefile::AddSubDirectory we were checking for addition of the same source directory multiple times. However, the check code was incorrect because it compared pointers instetad of pointed-to strings. Since the check was written, a better check was added right after it to enforce unique binary directories (in which case duplicate sources are fine). This commit simply removes the old-style check code. 2009-09-17 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-16 21:02 hoffman * Source/cmake.cxx: Fix typo in name 2009-09-16 18:01 alex * Source/: cmExtraEclipseCDT4Generator.h, cmExtraEclipseCDT4Generator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: Major improvement of the generated targets in Eclipse. Before this change all targets were displayed in the top level directory of the project. Now the targets are displayed in the correct directory. The targets "clean" and "all" are now created in every subdirectory. Also now the targets for just compiling one file, preprocessing one file, assembling one file are are created for Eclipse. Additionally all targets get a prefix now in eclipse, so that they are sorted in a way which makes sense (global targets first, then executable and libraries, then object files, then preprocessed, then assembly). Also this prefix gives the user a hint what the target is, i.e. whether it's a library or an executable or something else. Alex 2009-09-16 15:09 king * Tests/CMakeTests/: CMakeLists.txt, ConfigureFile-BadArg.cmake, ConfigureFile-DirInput.cmake, ConfigureFile-DirOutput.cmake, ConfigureFile-Relative.cmake, ConfigureFileTest.cmake.in: Create CMake.ConfigureFile test for configure_file This test checks that configure_file() handles input and output file arguments as documented. 2009-09-16 15:09 king * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h: Teach configure_file to handle directory names This commit teaches configure_file how to handle directories for input and output. It is an error if the input is a directory. If the output is a directory we put the configured copy of the input file in it with the same name. See issue #9537. 2009-09-16 15:09 king * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h: Teach configure_file to handle relative paths The configure_file() command now converts relative output paths to full paths using the current binary directory. Input relative paths were already converted using the current source directory, but this behavior was not previously documented. 2009-09-16 15:09 king * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h: Fix typo in cmConfigureFileCommand ivar name Rename 'OuputFile' to 'OutputFile'. 2009-09-16 15:09 king * Tests/CMakeTests/: CheckCMakeTest.cmake, FileTest.cmake.in: Factor out CMake.File test result check for re-use The CMake.File test runs several scripts through "cmake -P" and checks the output and result against known good values. This commit factors out the checking code into a separate CMakeCheckTest module. The module may be used by new tests. 2009-09-16 14:37 alex * Source/cmExtraEclipseCDT4Generator.cxx, Modules/CMakeFindEclipseCDT4.cmake: Put compiler defined macros into eclipse project files Now gcc is queried also for the builtin definitions, and they are then added to the .cproject file. This should make the preprocessor highlighting in eclipse work better (#9272) Patch mostly from Miguel. Alex 2009-09-16 14:20 hoffman * Modules/FindJNI.cmake: Bug #09476, add more search paths for jni. 2009-09-16 12:40 hoffman * Modules/UsePkgConfig.cmake: Fix for bug#9553, print a warning if pkg-config is not found. 2009-09-16 12:33 king * Modules/Platform/: Linux-VisualAge-CXX.cmake, Linux-XL-CXX.cmake: Fix XL C++ compiler flags on Linux In Platform/Linux.cmake we add GNU flags as default for the platform which breaks non-GNU compilers. Later we should refactor these flag files to put compiler-specific flags only in files loaded for each compiler. Until then this commit fixes the XL C++ compiler flags on Linux by erasing the GNU flags. See issue #9469. 2009-09-16 11:49 hoffman * Source/CTest/cmCTestRunTest.cxx: Fix uninitialized errors. 2009-09-16 11:44 king * Source/cmLocalVisualStudio7Generator.cxx: Generate proper Intel Fortran project version The Intel Visual Fortran compiler plugin for MS Visual Studio may be one of several versions of the Intel compiler. This commit teaches CMake to detect the plugin version and set the version number in .vfproj files. See issue #9169. 2009-09-16 11:44 king * Source/: cmGlobalVisualStudio10Generator.h, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.h, cmGlobalVisualStudio9Generator.h, cmGlobalVisualStudioGenerator.cxx, cmGlobalVisualStudioGenerator.h: Create VS generator GetRegistryBase method This method returns the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\ A protected GetIDEVersion method retrieves the version-specific part of the key name. 2009-09-16 09:52 king * Tests/FunctionTest/CMakeLists.txt: Test add_subdirectory inside function This commit teaches the FunctionTest to check variable scope behavior when a subdirectory is added inside a function call. Any PARENT_SCOPE sets in the subdirectory should affect only the function scope which called add_subdirectory and not its parent scope. 2009-09-16 09:51 king * Source/cmMakefile.cxx: Initialize directory scope with closure of parent The commit "Improve dynamic variable scope implementation" optimized function scopes using an efficient parent scope pointer. However, the parent scope used to initialize a new directory might not exist later (like add_subdirectory called inside a function of the parent scope). This caused CMake to crash when following the dangling pointer to the original parent scope. We fix the problem in this commit by always computing the closure of the parent scope at directory initialization time so that no parent scope pointer is needed. See issue #9538. 2009-09-16 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-15 02:38 bigler * Modules/: FindCUDA.cmake, FindCUDA/make2cmake.cmake, FindCUDA/parse_cubin.cmake, FindCUDA/run_nvcc.cmake: Initial version of FindCUDA script. Still needs documentation formatting. 2009-09-15 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-14 22:16 hoffman * Source/cmake.cxx: Fix for bug #8969, pick a better default version for VS, and make it easier to add new versions of VS to look for. 2009-09-14 20:54 hoffman * Source/cmDocumentationFormatterHTML.cxx: Fix for bug# 5373, include CMake verison in generated docs. 2009-09-14 15:53 alex * Modules/FindPNG.cmake: fix #9152: find ZLIB quietly if PNG is searched QUIETLY Alex 2009-09-14 15:20 hoffman * Source/cmGlobalXCodeGenerator.cxx: Bug #8356, add support for image types in Xcode files. 2009-09-14 14:59 hoffman * Source/cmGlobalXCodeGenerator.cxx: Fix for bug #8807, add support for CMAKE_EXE_LINKER_FLAGS_(config) to Xcode generator. 2009-09-14 13:45 hoffman * Source/: cmake.cxx, kwsys/Glob.cxx, kwsys/Glob.hxx.in: Fix for Bug #9190, -U did not work on case insensitive file systems because of call to glob convert to regex that expected to work with files. 2009-09-14 13:42 hoffman * Source/cmIfCommand.h: Clarify documentation for if. 2009-09-14 11:23 zach.mullen * Source/CTest/: cmCTestBatchTestHandler.cxx, cmCTestRunTest.cxx: Removed fork-and-continue option from ctest generated batch script entries 2009-09-14 10:31 hoffman * Source/: cmDependsJavaParserHelper.cxx, cmDependsJavaParserHelper.h: Fix open solaris build issue with concept checking that breaks std vector for a class of itself. Bug #9523. 2009-09-14 09:34 hoffman * Modules/FindPythonLibs.cmake: Change FindPythonLibs to use the standard _DIR instead of _PATH but stay backwards compatible 2009-09-14 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-13 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-12 10:20 king * Source/CTest/cmProcess.cxx: Avoid shadowing std::vector member The cmProcess::Buffer class derives from std::vector. We were using local variable 'data' in the GetLine method but this name shadowed a member of vector with GNU. This renames it to 'text'. 2009-09-12 06:25 alex * Modules/FindRuby.cmake: major improvement of FindRuby.cmake -now supports specifying minimum required version -now supports ruby 1.8 and 1.9 -uses find_package_handle_standard_args() now -fix #6212 and using a lot of ideas from the file attached there Alex 2009-09-12 04:38 alex * Modules/FindRuby.cmake: use HINTS instead of PATHS and also look for libruby-static.a (which is built by default) Alex 2009-09-12 02:15 alex * Modules/CMakeASM-ATTInformation.cmake: Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed Alex 2009-09-12 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-11 17:15 hoffman * Source/CTest/cmCTestHandlerCommand.cxx: Fix for bug#9442, ctest crash if CTEST_SOURCE_DIRECTORY was not set. 2009-09-11 16:39 king * Tests/CMakeLists.txt: Test that CTest can handle missing newlines We create test 'CTest.NoNewline' to print output with no newline. This tests CTest's ability to handle a missing newline. 2009-09-11 16:20 king * Source/CTest/cmProcess.cxx: Fix new CTest output handling for no newline When we clear the buffer for an output pipe after returning the last partial line (without a newline) we need to set the partial line range to empty. Otherwise the buffer object is left in an inconsistent state. 2009-09-11 13:34 hoffman * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx, CTest/cmCTestTestHandler.cxx: Add label summary times to ctest default output. Also, remove parallel time output. Add flag to disable label summary. 2009-09-11 12:26 king * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestRunTest.cxx, cmCTestRunTest.h, cmProcess.cxx, cmProcess.h: Rewrite CTest child output handling This commit fixes cmCTestRunTest and cmProcess to more efficiently handle child output. We now use the buffer for each child output pipe to hold at most a partial line plus one new block of data at a time. All complete lines are scanned in-place, and then only the partial line at the end of the buffer is moved back to the beginning before appending new data. We also simplify the cmProcess interface by making GetNextOutputLine the only method that needs to be called while the process is running. This simplifies cmCTestRunTest so that CheckOutput can be called until it returns false when the process is done. 2009-09-11 10:09 king * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestRunTest.cxx, cmCTestRunTest.h: Initialize cmCTestRunTest instances robustly All instances of this class need a cmCTestTestHandler, so we now require one to construct it. The instance also provides the cmCTest instance too. 2009-09-11 10:04 king * Source/: cmCacheManager.cxx, cmCacheManager.h, cmake.cxx: Remove barely-used cmCacheManager::AddCacheEntry The commit "Remove barely-used cmMakefile::AddCacheDefinition" removed all but one use of the cmCacheManager method 'bool' overload. This commit removes the other use and the entire method, thus reducing code duplication. 2009-09-11 10:03 king * Source/cmOptionCommand.cxx: Fix option() interpretation of non-boolean values The commit "Remove barely-used cmMakefile::AddCacheDefinition" broke option() calls that pass a non-boolean default value. We restore the old behavior by always coercing the value to 'ON' or 'OFF'. 2009-09-11 08:17 king * Source/: CPack/cpack.cxx, CTest/cmCTestBuildHandler.cxx, CursesDialog/cmCursesMainForm.cxx, cmCMakeMinimumRequired.cxx, cmExecuteProcessCommand.cxx, cmFileCommand.cxx, cmFindPackageCommand.cxx, cmPolicies.cxx, cmSetCommand.cxx, cmSystemTools.cxx, cmUtilitySourceCommand.cxx: Add parentheses around '&&' between '||' for gcc The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order. 2009-09-11 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-10 16:59 king * Source/: cmMakefile.cxx, cmMakefile.h, cmOptionCommand.cxx, cmPolicies.cxx, cmPolicies.h, cmSetCommand.cxx, cmSetCommand.h: Create CMake Policy CMP0015 to fix set(CACHE) The set(CACHE) and option() commands should always expose the cache value. Previously we failed to expose the value when it was already set if a local variable definition hid it. When set to NEW, this policy tells the commands to always remove the local variable definition to expose the cache value. See issue #9008. 2009-09-10 16:59 king * Source/: cmMakefile.cxx, cmMakefile.h, cmOptionCommand.cxx: Remove barely-used cmMakefile::AddCacheDefinition The boolean overload of this method was used only to implement option(). We re-implement option() in terms of the main method and removes the now-unused signature. This removes some duplicate code that had already fallen behind on changes (it was not removing the local definition instead of setting it). 2009-09-10 13:49 alex * Source/: cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h: sync target generation with the CodeBlocks generator Basically the code is now a copy of the one from the CodeBlocks generator, maybe this could move into a common helper function somewhere: -only insert GLOBAL targets from the toplevel directory -don't insert the edit_cache target if it calls ccmake, since this doesn't work in the output tab of Eclipse -add the /fast targets Alex 2009-09-10 13:44 alex * Source/cmExtraCodeBlocksGenerator.cxx: As in the Eclipse generator: don't insert the edit_cache target if it is ccmake, since this doesn't work in the output tab of the IDE 2009-09-10 11:18 zach.mullen * Source/CTest/: cmCTestBatchTestHandler.cxx, cmCTestBatchTestHandler.h: Added some ctest batch capabilities 2009-09-10 11:16 zach.mullen * Source/: CMakeLists.txt, CTest/cmCTestMultiProcessHandler.cxx, CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: BUG: Fixed segfault and bad reporting if a ctest executable could not be found. Also added some batch testing code that is not yet complete. 2009-09-10 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-09 16:39 king * Tests/Fortran/CMakeLists.txt: Enable C and C++ first in Fortran test CMake now looks for a Fortran compiler matching any C or C++ compiler already enabled. We test this by enabling C and C++ first in the Fortran test, which is what user projects will likely do. 2009-09-09 16:39 king * Modules/CMakeDetermineFortranCompiler.cmake: Bias Fortran compiler search with C/C++ compilers When CMAKE_Fortran_COMPILER and ENV{FC} are not defined CMake searches for an available Fortran compiler. This commit teaches the search code to look for compiler executables next to the C and C++ compilers if they are already found. Furthermore, we bias the compiler executable name preference order based on the vendor of the C and C++ compilers, which increases the chance of finding a compatible compiler by default. 2009-09-09 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-08 17:28 david.cole * Modules/ExternalProject.cmake: Missed another CMAKE_CFG_INTDIR reference in the previously previous commit. 2009-09-08 17:10 zach.mullen * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestMultiProcessHandler.h, cmCTestTestHandler.cxx: ENH: ctest now writes time cost data to a file after a test set is run, and uses these time costs to schedule the processes the next time ctest is run in that build tree. 2009-09-08 16:11 david.cole * Modules/ExternalProject.cmake: Missed a CMAKE_CFG_INTDIR reference in the previous commit. 2009-09-08 15:55 king * Modules/: CMakeBuildSettings.cmake.in, CMakeExportBuildSettings.cmake, CMakeImportBuildSettings.cmake, UseVTK40.cmake: Drop old CMake "build settings" export/import The CMakeExportBuildSettings and CMakeImportBuildSettings modules used to export compiler paths and flags from one project and import them into another. The import process would force the settings on the including project. Forcing settings helped long ago when compiler ABIs changed frequently but is now just a nuisance. We've deemed the behavior harmful so this commit simply removes it. The modules and macros now error out if included or called from a project that requires CMake 2.8 or higher. 2009-09-08 15:37 david.cole * Modules/ExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: Use more verbose/descriptive names for the "public API" functions in the ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator. 2009-09-08 14:48 zach.mullen * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmProcess.cxx: BUG: Fixed extraneous newlines from ctest process output 2009-09-08 13:39 zach.mullen * Source/: CTest/cmCTestMultiProcessHandler.cxx, cmSetTestsPropertiesCommand.h, CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: Replaced the EXPENSIVE test property with a COST test property taking a floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified. 2009-09-08 10:16 zach.mullen * Source/CTest/: cmCTestRunTest.cxx, cmProcess.cxx, cmProcess.h: BUG: Fixed issue where ctest would hang if a process terminated with output in its buffers but no newline 2009-09-08 09:12 zach.mullen * Source/CTest/cmCTestRunTest.h: Fixed warning 2009-09-08 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-07 10:26 zach.mullen * Source/: CTest/cmCTestMultiProcessHandler.cxx, CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, cmSetTestsPropertiesCommand.h: ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow specification of resource allocation for given tests running with the ctest -j N option. RUN_SERIAL ensures that a given test does not run in parallel with any other test. Also forced appending of "..." to the longest test name in ctest. 2009-09-07 10:12 king * Source/cmVisualStudio10TargetGenerator.cxx, Source/cmVisualStudio10TargetGenerator.h, Tests/CMakeLists.txt: Put custom commands in topological order for VS 10 Visual Studio 10 uses MSBuild to drive the build. Custom commands appear in MSBuild files inside CustomBuild elements, which appear inside ItemGroup elements. The Outputs and AdditionalInputs elements of each CustomBuild element are evaluated according to timestamps on disk. MSBuild does not use inputs/outputs to order CustomBuild steps within a single ItemGroup or across multiple ItemGroup elements. Instead we must put only unrelated CustomBuild elements in a single ItemGroup and order the item groups from top to bottom using a topological order of the custom command dependency graph. This fixes CustomCommand and ExternalProject test failures, so we remove the expectation of these failures. 2009-09-07 10:11 king * Source/: cmTarget.cxx, cmTarget.h: Save source dependencies from custom command trace In each target we trace dependencies among custom commands to pull in all source files and build rules necessary to complete the target. This commit teaches cmTarget to save the inter-source dependencies found during its analysis. Later this can be used by generators that need to topologically order custom command rules. 2009-09-07 10:11 king * Source/: cmLocalVisualStudio10Generator.cxx, cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h, cmVisualStudio10TargetGenerator.cxx: Do Windows command line escapes for VS 10 too Until now the VS 10 generator did no Windows command-line escaping and just did XML escapes. This commit teaches the generator to use the same command-line escape addition code used by other generators. The script construction method cmLocalVisualStudioGenerator::ConstructScript need not do XML escapes. Each VS generator version adds the XML escapes necessary for that version. 2009-09-07 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-06 13:24 alex * Source/cmFileCommand.cxx: Try to fix the failing new StringFileTest on HP-UX It seems that while(i=file.get(), file) iterates one character too much on HP-UX, let's see whether while(file.get(c)) works, at least this is given as example on http://h30097.www3.hp.com/cplus/ifstream_3c__std.htm Alex 2009-09-06 10:26 alex * Tests/StringFileTest/: CMakeLists.txt, test.bin: Add a test for FILE(READ ... HEX) together with a tiny binary file. Alex 2009-09-06 09:49 alex * Source/cmFileCommand.cxx: fix #9316: when converting binary data to hex, also print the leading 0's Alex 2009-09-06 05:43 alex * Source/cmExtraCodeBlocksGenerator.cxx: Improve the algorithm which skips targets so they are not added to the codeblocks GUI. -add all global targets from CMAKE_BINARY_DIR to the menu, but not from the subdirs -add all utility targets to the menu, except the Nightly/Experimental/Continuous-"sub"targets as e. Alex 2009-09-06 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-05 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-04 18:19 david.cole * Modules/FindMPI.cmake: Oops. Close strings with double quotes. Where they're supposed to be. 2009-09-04 18:02 david.cole * Modules/FindMPI.cmake: Add MPICH2 and Microsoft HPC paths, add paths to find mpiexec. Now it works better automatically on Windows. Thanks to Dave Partyka for developing the patch. 2009-09-04 17:01 hoffman * Source/CTest/cmCTestScriptHandler.cxx: Fix memory and process leak in ctest_run_script. 2009-09-04 16:43 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: fix focus fighting between search field and cache value editors 2009-09-04 14:00 david.cole * Source/CTest/cmCTestSubmitHandler.cxx: Increase curl submit timeout. A submit will timeout if there are 120 seconds of very little activity. 30 seconds was too short. 2009-09-04 13:50 zach.mullen * Source/CTest/: cmCTestRunTest.cxx, cmProcess.cxx, cmProcess.h: Fixed ctest output processing. Should now display output as it occurs, as well as be able to consume multiple lines if they exist within the timeout. 2009-09-04 13:24 hoffman * Source/CTest/: cmCTestRunScriptCommand.cxx, cmCTestRunScriptCommand.h, cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: Change run_ctest_script in ctest to not stop processing when there is an error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed 2009-09-04 12:39 king * Source/cmTarget.cxx: Cleanup source file dependency tracing logic In cmTarget we trace the dependencies of source files in the target to bring in all custom commands needed to generate them. We clean up the implementation to use simpler logic and better method names. The new approach is based on the observation that a source file is actually an input (dependency) of the rule that it runs (compiler or custom) even in the case that it is generated (another .rule file has the rule to generate it). 2009-09-04 12:39 king * Source/: cmTarget.cxx, cmTarget.h: Cleanup cmTarget source file list representation This teaches cmTarget to use a set of cmSourceFile pointers to guarantee unique insertion of source files in a target. The order of insertion is still preserved in the SourceFiles vector. 2009-09-04 12:38 king * Source/cmake.cxx: Simplify VS CMake re-run check When CMake is invoked by the VS IDE re-run rule we compute whether or not CMake really needs to re-run based on some timestamp helper files. Previously we assumed that if the main generate.stamp file exists then VS has correctly detected that the file is out of date. However, this assumption is too aggressive and re-runs CMake unnecessarily sometimes. This commit removes the assumption and always checks timestamps itself. The change breaks the explicit user re-run request (R-click -> Compile) but only in cases when the build system is already up to date. 2009-09-04 12:37 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h: Simplify VS generator ZERO_CHECK dependency The VS generators use a ZERO_CHECK target on which all other targets depend to check whether CMake needs to re-run. This commit simplifies the addition of a dependency on the target to all other targets. We also move addition of dependencies to the beginning of the Generate step. This allows the dependency on ZERO_CHECK to be included in the global inter-target dependency analysis. 2009-09-04 11:23 zach.mullen * Source/CTest/cmProcess.cxx: Fixed output as-it-happens issue. Now displays output as it receives each newline. 2009-09-04 10:16 zach.mullen * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestMultiProcessHandler.h, cmCTestTestHandler.cxx, cmProcess.cxx: Added the test property EXPENSIVE, which denotes that the given test(s) should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess. 2009-09-04 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-03 17:01 hoffman * CMakeCPackOptions.cmake.in, CMakeLists.txt, Source/CMakeLists.txt, Source/cmDocumentVariables.cxx, Source/cmake.cxx: Remove CMakeSetup. Long live cmake-gui, start building Qt now. 2009-09-03 15:58 martink * Source/cmSubdirCommand.h: some white space fixes for the book 2009-09-03 15:50 zach.mullen * Source/CTest/cmProcess.cxx: Fixed 2 unused variable warnings 2009-09-03 15:33 zach.mullen * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestRunTest.cxx, cmCTestRunTest.h, cmProcess.cxx, cmProcess.h: Allowed tests to pull more than one line of output in their quantum. Fixed uninitialized variables in the case that the test process could not start. 2009-09-03 15:29 martink * Modules/CPack.cmake, Modules/FeatureSummary.cmake, Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.h, Source/cmDefinePropertyCommand.h, Source/cmDocumentVariables.cxx, Source/cmEnableLanguageCommand.h, Source/cmFindCommon.cxx, Source/cmListCommand.h, Source/cmSetCommand.h, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSubdirCommand.h, Source/cmTryRunCommand.h: some white space fixes for the book 2009-09-03 12:11 david.cole * Modules/ExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: Add test step to ExternalProject builds. Rename SVN_TAG to SVN_REVISION since it is a more accurate name. 2009-09-03 11:14 zach.mullen * Source/: CTest/cmCTestMultiProcessHandler.cxx, CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, cmSetTestsPropertiesCommand.h: Fixed warnings 2009-09-03 11:10 king * Source/kwsys/RegularExpression.hxx.in: COMP: Silence useless Borland inlining warning KWSys tries not to force anything on source files that include its headers, but Borland warning 8027 leaves us no choice when we want to have inline function definitions. This commit disables the warning for the RegularExpression header and any file that includes it. 2009-09-03 10:47 zach.mullen * Source/cmSetTestsPropertiesCommand.h, Source/CTest/cmCTestMemCheckCommand.h, Source/CTest/cmCTestMultiProcessHandler.cxx, Source/CTest/cmCTestRunTest.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Tests/CTestTest3/test.cmake.in: ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS option to set_tests_properties (implementation to come). 2009-09-03 08:27 king * Source/: cmLocalGenerator.cxx, cmPolicies.cxx, cmPolicies.h: Create CMP0014 to require CMakeLists.txt files Until now CMake accidentally accepted add_subdirectory() and subdirs() calls referring to directories that do not contain a CMakeLists.txt file. We introduce CMake Policy CMP0014 to make this case an error. 2009-09-03 08:26 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: Factor cmLocalGenerator::Configure input file read This method tells the cmMakefile to read the input CMakeLists.txt file. We factor out the call into a ReadInputFile method so it can be extended without polluting the Configure method. 2009-09-03 08:26 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: Factor cmLocalGenerator::Configure object max path Much of the code in this method was dedicated to computing ObjectMaxPath after configuring the directory. We move this last step into its own ComputeObjectMaxPath method for better organization. 2009-09-03 08:26 king * Source/cmLocalGenerator.cxx: Manage current local generator with automatic var The cmLocalGenerator::Configure method sets its cmLocalGenerator instance as the global generator's current local generator during configuration. This commit refactors management of the current local generator to use an automatic variable. This will allow early returns from the method. 2009-09-03 08:26 king * Source/cmPolicies.cxx: Fix typo in REQUIRED_ALWAYS policy error message 2009-09-03 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-02 16:32 zach.mullen * Source/CTest/cmCTestMultiProcessHandler.cxx: STYLE: line length 2009-09-02 16:07 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: Silence VS generator for missing CMakeLists.txt CMake Makefile generators silently ignore missing CMakeLists.txt files and just treat the source directory as if it had an empty input file. This will be addressed with a new CMake Policy, but for now we make the VS generator consistent with the Makefile generator behavior. The VS generator will need to handle the OLD behavior of the policy anyway. 2009-09-02 16:06 king * Source/cmGlobalGenerator.cxx: Speed up graph traversal for project->targets map The cmGlobalGenerator::AddTargetDepends method traces the dependencies of targets recursively to collect the complete set of targets needed for a given project (for VS .sln files). This commit teaches the method to avoid tracing its dependencies more than once. Otherwise the code does an all-paths walk needlessly. 2009-09-02 12:35 zach.mullen * Source/CTest/: cmCTestTestCommand.cxx, cmCTestTestCommand.h, cmCTestTestHandler.cxx: ENH: Added PARALLEL_LEVEL option to ctest_test() command. 2009-09-02 10:08 zach.mullen * Modules/CTest.cmake, Modules/DartConfiguration.tcl.in, Source/cmCTest.cxx, Source/CTest/cmCTestMultiProcessHandler.cxx, Source/CTest/cmCTestMultiProcessHandler.h, Source/CTest/cmCTestRunTest.cxx, Source/CTest/cmCTestRunTest.h, Source/CTest/cmCTestTestHandler.h, Source/cmCTest.h: Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs 2009-09-02 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-09-01 17:23 david.cole * Source/CTest/cmCTestSubmitHandler.cxx: Add curl timeout options to the SubmitUsingHTTP method. They were only in the SubmitUsingFTP method. 2009-09-01 16:33 hoffman * Modules/Platform/: Windows-icl.cmake, Windows-ifort.cmake: Add support for embeded manifests for Intel C/C++/Fortran compilers 2009-09-01 16:23 hoffman * Modules/Platform/Windows-Intel.cmake: Add a module to determine if the intel linker supports manifest creation 2009-09-01 15:41 king * Tests/CTestUpdateGIT.cmake.in: Make CTest.UpdateGIT robust to user git config Part of this test does "git pull" on a dirty work tree. We need to make sure that 'branch.master.rebase' is false for the test repository. Otherwise if it is true in the user configuration then pull will refuse to rebase and the test will fail. 2009-09-01 15:21 clinton * Modules/FindQt4.cmake: use -o flag instead of > for qdbuscpp2xml 2009-09-01 15:08 hoffman * Source/cmake.cxx: Use the MANIFEST flag for non incremental linking as well. 2009-09-01 14:33 hoffman * Modules/Platform/Windows-cl.cmake, Source/cmake.cxx: Move /MANIFEST flag into -E vs_link. This is so it can be used by the intel compilers without having to specifiy it in the intel compiler files 2009-09-01 14:10 hoffman * Source/cmake.cxx: Handle embeded manifests with ifort. 2009-09-01 14:05 king * Tests/FindPackageTest/: CMakeLists.txt, Exporter/CMakeLists.txt, Exporter/CMakeTestExportPackageConfig.cmake.in, Exporter/CMakeTestExportPackageConfigVersion.cmake.in, Exporter/dummy.c: Test the user package registry We teach the FindPackageTest to build a sample project that stores its build tree in the user package registry using export(PACKAGE), and then find it with find_package. 2009-09-01 14:04 king * Source/: cmExportCommand.cxx, cmExportCommand.h: Teach export(PACKAGE) to fill the package registry We define the export(PACKAGE) command mode to store the location of the build tree in the user package registry. This will help find_package locate the package in the build tree. It simplies user workflow for manually building a series of dependent projects. 2009-09-01 14:04 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: Teach find_package to search a "package registry" A common user workflow is to build a series of dependent projects in order. Each project locates its dependencies with find_package. We introduce a "user package registry" to help find_package locate packages built in non-standard search locations. The registry explicitly stores locations of build trees providing instances of a given package. There is no defined order among the locations specified. These locations should provide package configuration files (-config.cmake) and package version files (-config-version.cmake) so that find_package will recognize the packages and test version numbers. 2009-09-01 13:55 king * Modules/: Compiler/Intel-C.cmake, Compiler/Intel-CXX.cmake, Compiler/Intel-Fortran.cmake, Compiler/Intel.cmake, Platform/Linux-Intel-C.cmake, Platform/Linux-Intel-CXX.cmake, Platform/Linux-Intel-Fortran.cmake, Platform/Linux-Intel.cmake: Use Intel for Linux flags only on Linux The commit "Split Intel compiler information files" moved some Linux specific flags into the platform-independent Intel compiler info files. This moves them back. 2009-09-01 13:03 king * Modules/FortranCInterface/Verify/CMakeLists.txt: Fix FortranCInterface_VERIFY for non-C++ case The verification program entry point (main) is defined in a C source file, so the C compiler should be used to link when only Fortran and C are involved. The C++ compiler should still be used when the CXX option is enabled. 2009-09-01 11:58 zach.mullen * Source/CTest/cmCTestRunTest.cxx: ENH: Improved test reporting output 2009-09-01 10:38 king * Tests/ExportImport/: Export/CMakeLists.txt, Export/testLibCycleA1.c, Export/testLibCycleA2.c, Export/testLibCycleA3.c, Export/testLibCycleB1.c, Export/testLibCycleB2.c, Export/testLibCycleB3.c, Import/A/CMakeLists.txt, Import/A/imp_testExe1.c: Test link multiplicity export/import We test that LINK_INTERFACE_MULTIPLICITY propagates through export() and install(EXPORT) into dependent projects. A simple cycle of two archives that need to be scanned three times ensures that the importing project uses the multiplicity correctly. 2009-09-01 10:38 king * Tests/Dependency/Case2/: CMakeLists.txt, foo1c.c, foo2c.c, foo3b.c, foo3c.c: Test link multiplicity This tests the LINK_INTERFACE_MULTIPLICITY property for a cycle of three static libraries that must be scanned three times to link properly. 2009-09-01 10:37 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmExportFileGenerator.cxx, cmTarget.cxx, cmTarget.h: Define 'multiplicity' for cyclic dependencies We create target property "LINK_INTERFACE_MULTIPLICITY" and a per-config version "LINK_INTERFACE_MULTIPLICITY_". It sets the number of times a linker should scan through a mutually dependent group of static libraries. The largest value of this property on any target in the group is used. This will help projects link even for extreme cases of cyclic inter-target dependencies. 2009-09-01 08:52 king * Modules/FortranCInterface.cmake: Make FortranCInterface_VERIFY verbose on failure We enable verbose build output in the try_compile of the simple project. This makes valuable information available in the case of failure. 2009-09-01 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-31 18:18 wdicharry * Modules/FindHDF5.cmake: Fixed link order dependence in FindHDF5 module for static link. 2009-08-31 13:25 king * bootstrap: Test KWSYS_IOS_HAVE_BINARY during bootstrap We need to do this KWSys configuration test in the CMake bootstrap script to create a proper cmsys/Configure.hxx file. This fixes the bootstrap script which was broken by the addition of the test to KWSys. 2009-08-31 13:00 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformTestsCXX.cxx, testIOS.cxx: Define kwsys_ios_binary macro for std::ios::binary The 'binary' openmode does not exist on all compilers. We define macro _ios_binary, where is the KWSys namespace, to refer to std::ios::binary if it exists and 0 otherwise. Sample usage: kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary); 2009-08-31 11:32 zach.mullen * Source/CTest/cmCTestMemCheckCommand.h: Fixed ctest_memcheck docs (http://www.cmake.org/Bug/view.php?id=9242) 2009-08-31 10:32 wdicharry * Modules/FindHDF5.cmake: In FindHDF5, added C library names to CXX search libraries. 2009-08-31 10:28 zach.mullen * Source/CTest/cmCTestTestHandler.cxx: Fixed Dart time recording for ctest 2009-08-31 09:50 zach.mullen * Source/CTest/: cmCTestMultiProcessHandler.h, cmCTestRunTest.cxx, cmCTestRunTest.h, cmCTestTestHandler.cxx: Fixed conversion warning on 64 bit machines 2009-08-31 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-30 10:57 zach.mullen * Source/CTest/cmCTestRunTest.cxx: Fixed line length issue 2009-08-30 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-29 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-28 15:08 zach.mullen * Source/CTest/: cmCTestMemCheckHandler.cxx, cmCTestMemCheckHandler.h, cmCTestMultiProcessHandler.cxx, cmCTestRunTest.cxx, cmCTestRunTest.h, cmCTestTestHandler.cxx, cmCTestTestHandler.h: MemCheck should now work again in ctest 2009-08-28 11:40 zach.mullen * Source/CTest/cmCTestRunTest.cxx: Replaced std::stringstream with cmOStringStream 2009-08-28 11:08 zach.mullen * Source/CTest/cmCTestMemCheckHandler.cxx, Source/CTest/cmCTestMultiProcessHandler.cxx, Source/CTest/cmCTestMultiProcessHandler.h, Source/CTest/cmCTestRunTest.cxx, Source/CTest/cmCTestRunTest.h, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Tests/CMakeLists.txt: Added ctest -N test. Fixed ctest working directory bug. MemCheck fix coming soon... 2009-08-28 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-27 10:37 zach.mullen * Source/: CTest/cmCTestGenericHandler.cxx, CTest/cmCTestMultiProcessHandler.cxx, CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx, CTest/cmCTestRunTest.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, cmCTest.cxx, cmCTest.h, ctest.cxx: Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover for ctest 2009-08-27 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-26 12:09 zach.mullen * Source/: CTest/cmCTestMultiProcessHandler.cxx, CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx, cmCTest.cxx, cmCTest.h, CTest/cmCTestRunTest.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: refactored ctest. All testing is now parallel. If no -j option is specified, defaults to a MP level of 1 (non parallel) 2009-08-26 06:52 david.cole * Modules/ExternalProject.cmake: Add missing argument to _ep_write_downloadfile_script. 2009-08-26 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-25 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-24 13:24 wdicharry * Modules/FindHDF5.cmake: Fixed HDF5 Find module error that caused no list to be passed into remove duplicates when HDF5 is not found. 2009-08-24 13:15 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: Factor implicit link info addition into methods In cmComputeLinkInformation::Compute we add implicit link information from languages other than the linker language to the end of the link line. This factors out that code into separate methods to improve readability and organization. 2009-08-24 13:07 king * Tests/Fortran/CMakeLists.txt: Enforce FortranCInterface_VERIFY in Fortran test This removes the QUIET option from FortranCInterface_VERIFY in the Fortran test to really test the detected interface everywhere. 2009-08-24 12:04 wdicharry * Modules/: SelectLibraryConfigurations.cmake, FindHDF5.cmake: Add HDF5 find module and select_library_configurations module. 2009-08-24 09:54 king * Source/: cmComputeTargetDepends.cxx, cmComputeTargetDepends.h, cmake.cxx: Create GLOBAL_DEPENDS_NO_CYCLES property This global property disallows cycles in the inter-target dependency graph even among STATIC libraries. See issue #9444. 2009-08-24 08:49 king * Modules/FortranCInterface.cmake, Modules/FortranCInterface/Detect.cmake, Modules/FortranCInterface/Verify/CMakeLists.txt, Modules/FortranCInterface/Verify/VerifyC.c, Modules/FortranCInterface/Verify/VerifyCXX.cxx, Modules/FortranCInterface/Verify/VerifyFortran.f, Modules/FortranCInterface/Verify/main.c, Tests/Fortran/CMakeLists.txt: Create FortranCInterface_VERIFY function This function builds a simple test project using a combination of Fortran and C (and optionally C++) to verify that the compilers are compatible. The idea is to help projects report very early to users that the compilers specified cannot mix languages. 2009-08-24 08:49 king * Modules/: FortranCInterface.cmake, FortranCInterface/Detect.cmake: Teach FortranCInterface to load outside results We split the main detection logic into a Detect.cmake support module and load it only when detection results are not already available. This allows results computed by the main project to be used in try-compile projects without recomputing them. The call to try_compile() need only to pass FortranCInterface_BINARY_DIR through the CMAKE_FLAGS option. 2009-08-24 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-23 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-22 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-21 10:32 king * Modules/: Compiler/SunPro-C.cmake, Compiler/SunPro-CXX.cmake, Compiler/SunPro-Fortran.cmake, Platform/Linux-SunPro-C.cmake, Platform/Linux-SunPro-CXX.cmake, Platform/Linux-SunPro-Fortran.cmake, Platform/SunOS-SunPro-Fortran.cmake, Platform/SunOS.cmake: Split SunPro compiler information files This moves platform-independent SunPro compiler flags into separate "Compiler/SunPro-.cmake" modules. Platform-specific flags are left untouched. 2009-08-21 09:54 king * Modules/: Compiler/Intel-C.cmake, Compiler/Intel-CXX.cmake, Compiler/Intel-Fortran.cmake, Compiler/Intel.cmake, Platform/Linux-Intel-C.cmake, Platform/Linux-Intel-CXX.cmake, Platform/Linux-Intel-Fortran.cmake: Split Intel compiler information files This moves platform-independent Intel compiler flags into separate "Compiler/Intel-.cmake" modules. Platform-specific flags are left untouched. 2009-08-21 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-20 16:21 king * Modules/FortranCInterface.cmake: Teach FortranCInterface to verify languages This module requires both C and Fortran to be enabled, so error-out if they are not. 2009-08-20 16:21 king * Source/cmDocumentVariables.cxx: Document CMAKE__COMPILER_LOADED variable 2009-08-20 09:46 zach.mullen * Source/CTest/cmCTestRunTest.cxx: Fixed line length over 80 2009-08-20 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-19 22:28 lowman * Modules/FindBoost.cmake: Add Boost 1.39 & 1.40. Move ${Boost_INCLUDE_DIR}/lib to front of library search. 2009-08-19 12:19 david.cole * Modules/: DownloadFile.cmake, ExternalProject.cmake, UntarFile.cmake: Remove DownloadFile.cmake and UntarFile.cmake from the Modules directory. Put functionality directly into ExternalProject.cmake itself so that these modules do not end up in the upcoming release of CMake. 2009-08-19 09:24 zach.mullen * Source/: cmCTest.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: Fixed overwriting of a previous change set 2009-08-19 08:58 zach.mullen * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestRunTest.cxx, CTest/cmCTestRunTest.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: Refactored CTest test execution code into an object 2009-08-19 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-18 14:03 hoffman * Source/CTest/cmCTestTestHandler.cxx: Add test times to log file as well as the stdout. 2009-08-18 13:34 hoffman * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: If labels are found on the tests, then print a time summary for all the tests run with each label. 2009-08-18 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-17 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-16 23:07 lowman * Modules/FindBullet.cmake: Find module for the Bullet physics engine 2009-08-16 22:12 lowman * Modules/FindGTest.cmake: A find module for the Google C++ Testing Framework 2009-08-16 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-15 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-14 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-13 00:11 lowman * Modules/: FindBISON.cmake, FindFLEX.cmake: Checking in the FindFLEX.cmake & FindBISON.cmake attached to Issue #4018 after some minor improvements * Improved examples * Switched to FindPackageHandleStandardArgs * Cleaned up indentation * Sanitized else()/endif() blocks 2009-08-13 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-12 22:40 lowman * Modules/FindDevIL.cmake: Fixes Issue #8994 2009-08-12 22:25 lowman * Modules/FindGnuTLS.cmake: Find module for GnuTLS, the GNU Transport Layer Security library (Issue #9228) 2009-08-12 21:58 lowman * Modules/FindOpenSceneGraph.cmake: Improved error output and documentation * Fixed errant output when version number not found * Improved error output when REQUIRED is passed * Improved docs and example 2009-08-12 09:09 king * Modules/Platform/Windows-bcc32.cmake: Quote the target name for Borland tlib tool The Borland librarian tool "tlib" requires that the output target name be quoted if it contains the character '-' (and perhaps a few others). This commit restores the use of the TARGET_QUOTED rule variable replacement for this purpose. Otherwise no static library can have a '-' in its name. This problem was exposed by the 'Testing' test when it builds the pcStatic library with the '-dbg' suffix. 2009-08-12 08:06 king * Source/CTest/cmCTestSVN.cxx: Fix classification of externals in svn status CTest runs 'svn status' to identify modified and conflicting files in the working directory. This commit fixes the interpretation of the 'X' status, which corresponds to svn eXternals. This status should be ignored rather than treated as a local modification. 2009-08-12 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-11 22:02 hoffman * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestTestHandler.cxx, cmProcess.h: Output total time when using -j N 2009-08-11 22:01 hoffman * Tests/CTestUpdateCommon.cmake: Output command that failed, if it fails. 2009-08-11 16:25 hoffman * Source/CTest/cmCTestCVS.cxx: Fix failing test on release build for VS 10 cmSystemTools::GetLineFromStream crashes if the stream is not open in that case. 2009-08-11 09:55 king * Tests/Testing/: CMakeLists.txt, driver.cmake, pcShared.c, pcShared.h, pcStatic.c, perconfig.c: Test add_test() generator expressions This teaches the 'testing' test to try generator expressions in arguments to add_test(NAME). This test case mimics a common use-case of passing executables to test driver scripts. We excercise the syntax for per-configuration target file names. 2009-08-11 09:54 king * Source/CMakeLists.txt, Source/cmAddTestCommand.h, Source/cmGeneratorExpression.cxx, Source/cmGeneratorExpression.h, Source/cmTestGenerator.cxx, bootstrap: Introduce "generator expressions" to add_test() This introduces a new syntax called "generator expressions" to the test COMMAND option of the add_test(NAME) command mode. These expressions have a syntax like $ and are evaluated during build system generation. This syntax allows per-configuration target output files to be referenced in test commands and arguments. 2009-08-11 09:07 king * Source/: cmTarget.cxx, cmTarget.h: Create cmTarget DLL query methods We creates methods IsDLLPlatform() and HasImportLibrary(). The former returns true on Windows. The latter returns whether the target has a DLL import library. It is true on Windows for shared libraries and executables with exports. 2009-08-11 09:07 king * Source/: cmMakefile.cxx, cmTest.cxx, cmTest.h: Record backtrace for every add_test command We teach cmTest to hold a backtrace for the add_test command that created it. This will be used later to report context for errors at generate time. 2009-08-11 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-10 14:32 clinton * Source/QtDialog/QCMake.cxx: ENH: Patch from Alexander Neundorf to remove "KDevelop3" from list of generators. "KDevelop3 - Unix Makefiles" should be used instead. 2009-08-10 13:25 clinton * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Allow edit on single click. Fixes #9393. Also fix row heights to be consistent. 2009-08-10 09:07 king * Source/cmTestGenerator.cxx: Cleanup test property script code generation We teach cmTestGenerator::GenerateScriptConfigs to use the general cmLocalGenerator::EscapeForCMake method to write escaped test property values into test scripts. This eliminates the previous hand-coded escaping implementation. 2009-08-10 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-09 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-08 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-07 10:13 king * Modules/: CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp.in, CMakeFortranCompilerId.F.in, Compiler/VisualAge-C.cmake, Compiler/VisualAge-CXX.cmake, Compiler/VisualAge-Fortran.cmake, Compiler/XL-C.cmake, Compiler/XL-CXX.cmake, Compiler/XL-Fortran.cmake, Platform/Linux-VisualAge-C.cmake, Platform/Linux-VisualAge-Fortran.cmake, Platform/Linux-XL-C.cmake, Platform/Linux-XL-Fortran.cmake: Teach compiler id about VisualAge -> XL rebranding IBM rebranded its VisualAge compiler to XL starting at version 8.0. We use the compiler id "XL" for newer versions and "VisualAge" for older versions. We now also recognize the "z/OS" compiler, which is distinct from XL. 2009-08-07 10:12 king * Modules/: Compiler/VisualAge-Fortran.cmake, Platform/AIX-VisualAge-Fortran.cmake, Platform/Linux-VisualAge-Fortran.cmake, Platform/xlf.cmake: Move flag to Compiler/VisualAge-Fortran module The CMAKE_Fortran_DEFINE_FLAG value applies to the IBM Fortran compilers on all platforms. This moves the setting to the platform-independent compiler information file. 2009-08-07 09:56 king * Modules/Platform/OpenBSD.cmake: Use NetBSD to initialize OpenBSD configuration We teach Modules/Platform/OpenBSD.cmake to load NetBSD first since the platforms are so similar. This enables RPATH support on OpenBSD. 2009-08-07 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-06 19:01 partyd * Source/kwsys/SystemTools.cxx: COMP: attempt to fix more 'hidden by' warnings. 2009-08-06 07:53 king * Modules/FortranCInterface/CMakeLists.txt: Teach FortranCInterface about g77 mangling The old GNU g77 Fortran compiler uses the suffix '__' for symbols containing an underscore in their name. 2009-08-06 07:53 king * Modules/FortranCInterface/CMakeLists.txt: Sort FortranCInterface global mangling symbols This just cleans up the list ordering so more entries can be added while keeping everything organized. 2009-08-06 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-05 17:07 king * Modules/FortranCInterface/: CMakeLists.txt, my_module_.c, mymodule_.c: Cleanup FortranCInterface for PGI and GCC 4.2 This documents the purpose of the extra my_module_.c and mymodule.c source files, and sorts the symbols. 2009-08-05 16:55 hoffman * Modules/FortranCInterface/: CMakeLists.txt, my_module_.c, mymodule_.c: Teach FortranC interface for Intel, PGI, and gcc 4.2 2009-08-05 15:39 david.cole * Modules/AddExternalProject.cmake: Remove AddExternalProject.cmake. ExternalProject.cmake supercedes/replaces it. 2009-08-05 14:59 david.cole * Modules/: BundleUtilities.cmake, GetPrerequisites.cmake: Overhaul GetPrerequisites and BundleUtilities: make fixup_bundle do something useful on Windows and Linux. Formerly, fixup_bundle was useful only on the Mac for making standalone bundle applications that could be drag-n-drop moved to anyplace in the file system. fixup_bundle is not just for the Mac any more. It will now analyze executable files on Windows and Linux, too, and copy necessary non-system dlls to the same folder that the executable is in. This should work with dlls that you build as part of your build and also with 3rd-party dlls as long as you give fixup_bundle the right list of directories to search for those dlls. Many thanks to Clinton Stimpson for his help in ironing out the details involved in making this work. 2009-08-05 13:40 king * Modules/FortranCInterface.cmake, Modules/FortranCInterface.h.in, Modules/FortranCInterface/CMakeLists.txt, Modules/FortranCInterface/Input.cmake.in, Modules/FortranCInterface/Macro.h.in, Modules/FortranCInterface/Output.cmake.in, Modules/FortranCInterface/call_mod.f90, Modules/FortranCInterface/call_sub.f, Modules/FortranCInterface/main.F, Modules/FortranCInterface/my_module.f90, Modules/FortranCInterface/my_sub.f, Modules/FortranCInterface/mymodule.f90, Modules/FortranCInterface/mysub.f, Modules/FortranCInterface/symbol.c.in, Tests/Fortran/CMakeLists.txt, Tests/Fortran/myc.c: Rewrite FortranCInterface module This is a new FortranCInterface.cmake module to replace the previous prototype. All module support files lie in a FortranCInterface directory next to it. This module uses a new approach to detect Fortran symbol mangling. We build a single test project which defines symbols in a Fortran library (one per object-file) and calls them from a Fortran executable. The executable links to a C library which defines symbols encoding all known manglings (one per object-file). The C library falls back to the Fortran library for symbols it cannot provide. Therefore the executable will always link, but prefers the C-implemented symbols when they match. These symbols store string literals of the form INFO:symbol[] so we can parse them out of the executable. This module also provides a simpler interface. It always detects the mangling as soon as it is included. A single macro is provided to generate mangling macros and optionally pre-mangled symbols. 2009-08-05 10:45 hoffman * Source/cmVisualStudio10TargetGenerator.cxx: Allow for static libraries to depend on other targets so that the MSBuild runs build things in the correct order 2009-08-05 10:14 king * Source/CMakeLists.txt, Tests/CMakeLists.txt, Utilities/Doxygen/doxyfile.in: Remove WXDialog source code The QtDialog is our supported cross-platform GUI, so the WXDialog source is no longer needed. 2009-08-05 10:13 king * Source/CMakeLists.txt: Remove FLTKDialog source code The QtDialog is our supported cross-platform GUI, so the FLTKDialog source is no longer needed. 2009-08-05 09:56 king * Source/cmFindPackageCommand.cxx: Fix find_package for cmake-gui registry entry The find_package commands looks at the "WhereBuild" registry entries created by CMakeSetup and cmake-gui hoping that the project was recently built. CMakeSetup created WhereBuild1..WhereBuild10 but cmake-gui creates WhereBuild0-WhereBuild9. This fixes find_package to look at WhereBuild0 so that the most recently configured project can be found. It is important in the case that the package to be found was the last one configured in cmake-gui but the current project that is finding it is configured from the command line. 2009-08-05 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-04 15:41 martink * Source/cmLocalGenerator.cxx: ENH: minor cleanup of test 2009-08-04 14:37 king * Source/cmCoreTryCompile.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/TryCompile/CMakeLists.txt, Tests/TryCompile/Inner/CMakeLists.txt, Tests/TryCompile/Inner/innerexe.c, Tests/TryCompile/Inner/innerlib.c: No /fast targets in try_compile project mode The try_compile command builds the cmTryCompileExec executable using the cmTryCompileExec/fast target with Makefile generators in order to save time since dependencies are not needed. However, in project mode the command builds an entire source tree that may have dependencies. Therefore we can use the /fast target approach only in one-source mode. 2009-08-04 14:06 king * Tests/Fortran/: CMakeLists.txt, foo.c, foo.cxx, mainc.c, maincxx.c, myc.c, mycxx.cxx: Test C, C++, Fortran interface combinations Previously the Fortran test created a single executable containing C, C++, and Fortran sources. This commit divides the executable into three libraries corresponding to each language, and two executables testing Fortran/C only and Fortran/C/C++ together. The result tests more combinations of using the languages together, and that language requirements propagate through linking. 2009-08-04 13:16 martink * Source/cmTest.cxx: ENH: change to CDASH 2009-08-04 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-03 13:37 king * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Tests/TryCompile/Inner/CMakeLists.txt: Fix recursive try_compile calls When building an entire source tree with try_compile instead of just a single source file, it is possible that the CMakeLists.txt file in the try-compiled project invokes try_compile. This commit fixes propagation of language-initialization results from the outer-most project into any number of try-compile levels. 2009-08-03 13:37 king * Tests/TryCompile/: CMakeLists.txt, Inner/CMakeLists.txt: Test try_compile project mode The try_compile command project mode builds an entire source tree instead of one source file. It uses an existing CMakeLists.txt file in the given source tree instead of generating one. This commit creates a test for the mode in the TryCompile test. 2009-08-03 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-02 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-08-01 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-07-31 16:11 alex * Source/cmake.cxx: DOCS: fix typo (#9231) Alex 2009-07-31 09:19 king * Source/CTest/cmCTestScriptHandler.cxx: Set current directory variables in CTest scripts The commit "Fix get_filename_component ABSOLUTE mode" broke the code get_filename_component(cwd . ABSOLUTE) because CTest scripts did not make cmMakefile::GetCurrentDirectory() available. This commit fixes the problem by setting the proper information on CTest script instances of cmMakefile. This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR available to CTest scripts. They are set to the working directory at script startup. 2009-07-31 08:27 king * CMakeLists.txt, Source/QtDialog/CMakeLists.txt: Fix installation when built by CMake 2.4 CMake 2.4 generates old-style cmake_install.cmake code including calls to the file(INSTALL) command with the COMPONENTS argument. We need to set CMAKE_INSTALL_SELF_2_4 for the whole install tree to prevent the command from complaining in this special case. Previously this was needed only in the QtDialog directory, but now it is needed in the entire tree. 2009-07-31 06:22 alex * Source/: cmFunctionCommand.h, cmMacroCommand.h: DOCS: fix typo (see #9308) Alex 2009-07-31 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp 2009-07-30 13:46 king * Modules/: CMakeFortranCompiler.cmake.in, CMakeTestFortranCompiler.cmake: Pass Fortran90 test result to try-compile This stores CMAKE_Fortran_COMPILER_SUPPORTS_F90 in the Fortran compiler information file CMakeFiles/CMakeFortranCompiler.cmake instead of in CMakeCache.txt. This file makes the result available to try-compile projects. 2009-07-30 10:59 king * Modules/CMakeCXXCompiler.cmake.in, Source/cmDocumentVariables.cxx, Source/cmTarget.cxx: Do not always propagate linker language preference The commit "Consider link dependencies for link language" taught CMake to propagate linker language preference from languages compiled into libraries linked by a target. It turns out this should only be done for some languages, such as C++, because normally the language of the program entry point (main) should be used. We introduce variable CMAKE__LINKER_PREFERENCE_PROPAGATES to tell CMake whether a language should propagate its linker preference across targets. Currently it is true only for C++. 2009-07-30 10:59 king * Source/cmTarget.cxx: Refactor target linker language selection This factors the decision logic out of cmTarget::ComputeLinkClosure into dedicated class cmTargetSelectLinker. We replace several local variables with a single object instance, and organize code into methods. 2009-07-30 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-29 16:40 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: Separate Xcode flag escaping code from defines Generalize the core Xcode generator preprocessor flag escaping code to be useful for escaping all flags. 2009-07-29 16:39 king * Source/cmGlobalXCodeGenerator.cxx: Re-order cmGlobalXCodeGenerator implementation This defines class cmGlobalXCodeGenerator::BuildObjectListOrString early in the source file so it can be used in more places. 2009-07-29 16:38 king * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: Check PGI linker lines in ImplicitLinkInfo test This adds sample linker invocation lines for the PGI compiler on Linux. 2009-07-29 16:38 king * Modules/Compiler/: PGI-C.cmake, PGI-CXX.cmake, PGI-Fortran.cmake: Set CMAKE__VERBOSE_FLAG variables for PGI We set the variables to contain "-v", the verbose front-end output option for PGI compilers. This enables detection of implicit link libraries and directories for these compilers. 2009-07-29 16:07 king * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: Check Intel linker lines in ImplicitLinkInfo test This adds sample linker invocation lines for the Intel compiler on Linux. In particular, this exercises the case when "ld" appears without a full path. 2009-07-29 16:07 king * Modules/Compiler/: Intel-C.cmake, Intel-CXX.cmake, Intel-Fortran.cmake: Set CMAKE__VERBOSE_FLAG variables for Intel We set the variables to contain "-v", the verbose front-end output option for Intel compilers. This enables detection of implicit link libraries and directories for these compilers. 2009-07-29 16:07 king * Modules/CMakeParseImplicitLinkInfo.cmake: Recognize linker commands without paths This teaches the implicit link line parsing code to recognize link lines that do not have a full path to the linker executable. At least one version of the Intel compiler on Linux invokes the linker as just "ld" instead of "/usr/bin/ld". 2009-07-29 11:29 king * Source/: CMakeLists.txt, cmIDEOptions.cxx, cmIDEOptions.h, cmVisualStudioGeneratorOptions.cxx, cmVisualStudioGeneratorOptions.h: ENH: Separate option mapping from VS generators Split cmVisualStudioGeneratorOptions core functionality out into a base class cmIDEOptions. It will be useful for other generators. 2009-07-29 11:28 king * Source/: CMakeLists.txt, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h, cmIDEFlagTable.h, cmLocalVisualStudio7Generator.h, cmVisualStudioGeneratorOptions.h: ENH: Separate VS flag table type Move the cmVS7FlagTable type out of the VS generators and rename it to cmIDEFlagTable. It will be useful for other generators. 2009-07-29 08:39 king * Tests/Properties/CMakeLists.txt: Test cache entry property "STRINGS" The STRINGS property tells cmake-gui to create a drop-down selection list. This teaches the Properties test to set and verify its value. 2009-07-29 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-28 14:30 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: ENH: remove code duplication and use cmVisualStudioGeneratorOptions for all versions of vs 7 and greater. 2009-07-28 10:46 king * Source/: CPack/cmCPackGenerator.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestTestHandler.cxx, cmCTest.cxx, cmake.cxx: BUG: Do not double-initialize local generators All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls. 2009-07-28 08:36 king * Source/cmComputeLinkInformation.cxx: BUG: Do not filter non-library implicit link items We list implicit link items of languages linked into a target but filter them by the implicit libraries known to be passed by the main linker language. Implicit link flags like "-z..." should not be filtered out because they are not libraries. 2009-07-28 08:36 king * Modules/CMakeParseImplicitLinkInfo.cmake, Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: BUG: Parse implicit link editor -z*extract options The Sun Fortran compiler passes -zallextract and -zdefaultextract to the linker so that all objects from one of its archives are included in the link. This teaches the implicit options parser to recognize the flags. We need to pass them explicitly on C++ link lines when Fortran code is linked. 2009-07-28 08:08 king * Source/cmComputeLinkInformation.cxx: BUG: Always pass linker flags untouched In cmComputeLinkInformation we recognize link options that look like library file names, but pass flags starting in '-' through untouched. This fixes the ordering of the check to recognize '-' flags first in case the rest of the option looks like a library file name, as in the case of "-l:libfoo.a". 2009-07-28 08:07 king * Source/cmComputeLinkInformation.cxx: BUG: Do not recognize ':' in a library name In cmComputeLinkInformation we construct regular expressions to recognize library file names. This fixes the expressions to not allow a colon (':') in the file name so that "-l:libfoo.a" is left alone. 2009-07-28 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-27 16:45 king * Source/kwsys/: CMakeLists.txt, kwsysPlatformTestsCXX.cxx: BUG: Enable large files only if works Some AIX/gcc version combinations the header breaks when large file support is enabled. See this GCC issue for details: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366 We work around the problem by enhancing the configuration check for large file support to include when available. This will cause LFS to be disabled when the above problem occurs. 2009-07-27 14:17 hoffman * Source/CTest/cmCTestTestHandler.cxx: ENH: add test times and a total time to the output of command line ctest 2009-07-27 12:43 king * Tests/Fortran/: CMakeLists.txt, foo.c, foo.cxx: ENH: Test Fortran and C++ in one executable This extends the Fortran-to-C interface test to add a C++ source file. The executable can only link with the C++ linker and with the proper Fortran runtime libraries. These libraries should be detected by CMake automatically, so this tests verifies the detection functionality. 2009-07-27 12:43 king * Tests/Fortran/CMakeLists.txt: ENH: Remove EXTRA_FORTRAN_C_LIBS Fortran test hack This hack was created to help the Fortran test executables link to the implicit C libraries added by BullsEye. Now that implicit libraries from all languages are detected and included automatically the hack is no longer needed. 2009-07-27 12:43 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h, cmOrderDirectories.cxx, cmOrderDirectories.h: ENH: Link runtime libraries of all languages This adds implicit libraries and search directories for languages linked into a target other than the linker language to its link line. For example, when linking an executable containing both C++ and Fortran code the C++ linker is used but we need to add the Fortran libraries. The variables CMAKE__IMPLICIT_LINK_LIBRARIES CMAKE__IMPLICIT_LINK_DIRECTORIES contain the implicit libraries and directories for each language. Entries for the linker language are known to be implicit in the generated link line. Entries for other languages that do not appear in the known implicit set are listed explicitly at the end of the link line. 2009-07-27 12:35 king * Tests/SystemInformation/DumpInformation.cxx: ENH: Report CMake logs in SystemInformation test This teaches the SystemInformation test to report the CMake log files CMakeOutput.log and CMakeError.log from the CMake build tree and from the SystemInformation test build tree. These logs may help diagnose dashboard problems remotely. 2009-07-27 12:04 david.cole * Tests/CMakeTests/: CMakeLists.txt, CheckSourceTreeTest.cmake.in: ENH: Make the CheckSourceTree test emit a warning (but pass instead of fail) when there is an in-source build on a dashboard machine. 2009-07-27 11:56 king * Tests/Fortran/mysub.f: ENH: Require language libs in Fortran/C test This extends the Fortran/C interface test to require that the executable link to the fortran language runtime libraries. We must verify that the proper linker is chosen. 2009-07-27 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-26 01:01 partyd * Source/kwsys/SystemTools.cxx: ENH: try and see if using string.append instead of += will make valgrind not complaing that JoinPath is leaking. 2009-07-26 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-25 13:32 david.cole * Tests/CMakeTests/CheckSourceTreeTest.cmake.in: ENH: Improvements to the new CheckSourceTree test: ignore Thumbs.db and .DS_Store files. Force all output to stderr by not using STATUS with message. Better error text. 2009-07-25 08:11 king * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: BUG: Further avoid ImplicitLinkInfo case change The commit "Avoid case change in ImplicitLinkInfo test" did not change all of the paths to mingw, so some case change still occurs. This changes more of them. 2009-07-25 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-24 18:30 david.cole * Tests/CMakeLists.txt: BUG: One last attempt for today to get the new CheckSourceTree test running on dashboards driven by CMake 2.4... Good night now. 2009-07-24 17:33 king * CMakeLists.txt: ENH: Allow empty endif() and such with CMake 2.4 This allows us to use empty endif() and similar block terminators when building with CMake 2.4. It is allowed by default with 2.6 already. 2009-07-24 17:28 david.cole * Tests/CMakeTests/CMakeLists.txt: BUG: Close endif statements with same string as if so that it still configures with CMake 2.4. One more time. Encore, encore. 2009-07-24 17:12 david.cole * Tests/CMakeTests/CheckSourceTreeTest.cmake.in: BUG: Improve CheckSourceTree test so that it ignores 'U ' output from cvs update. Also: improve failure logic for dashboard runs and developer runs. 2009-07-24 16:57 king * Tests/CMakeTests/VariableWatchTest.cmake.in: BUG: Teach VariableWatch test to check results Previously this test was only a smoke test for manual verification. This teaches the test to actually check that the variable watch succeeds. 2009-07-24 16:53 king * Source/cmVariableWatchCommand.h: BUG: Keep variable_watch() commands in memory The "Keep only FinalPass commands in memory" commit caused instances of this command to be deleted after the InitialPass. Even though the variable_watch command does not have a final pass, it does need to stay alive because it owns the callback information. 2009-07-24 16:31 david.cole * Tests/CMakeLists.txt: BUG: Close endif statements with same string as if so that it still configures with CMake 2.4 -- also check for existence of FindCVS.cmake before doing find_package(CVS QUIET) also for CMake 2.4 sake... 2009-07-24 16:15 david.cole * Tests/CMakeLists.txt: BUG: Oops. Left chunk of junk at the bottom of the main Tests CMakeLists.txt file with the last commit... Sorry. 2009-07-24 15:58 david.cole * Source/cmGlobalXCodeGenerator.cxx, Tests/CMakeLists.txt, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/CheckSourceTreeTest.cmake.in: BUG: Additional fix necessary for issue #8481 so that Xcode builds do not write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally. 2009-07-24 13:31 king * Source/: cmCommand.h, cmConfigureFileCommand.h, cmExportLibraryDependencies.h, cmFLTKWrapUICommand.h, cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmLoadCommandCommand.cxx, cmMakefile.cxx: ENH: Keep only FinalPass commands in memory In cmMakefile we save all invoked commands so that FinalPass can be called on them later. Most commands have no final pass, so we should keep only the few that do. 2009-07-24 13:17 king * CMakeLists.txt, Modules/CMakeLists.txt, Modules/Platform/CMakeLists.txt, Templates/CMakeLists.txt: ENH: Install all Modules and Templates This removes the file-wise installation rules for Modules and Templates and instead installs the whole directories. This approach is much less error-prone. The old approach was left from before CMake had the install(DIRECTORY) command. 2009-07-24 12:55 king * Modules/CMakeLists.txt: BUG: Install new fortran compiler id source. The extension of the id source file was changed from .F90 to .F so this fixes the install rule. 2009-07-24 12:15 malaterre * Source/kwsys/SharedForward.h.in: COMP: Fix compilation of VTK on debian/sparc (sparc is a CPU not an OS) 2009-07-24 07:34 king * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: BUG: Avoid case change in ImplicitLinkInfo test Since "get_filename_component(... ABSOLUTE)" retrieves the actual case for existing paths on windows, we need to use an obscure path for mingw. Otherwise the test can fail just because the case of the paths changes. 2009-07-24 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-23 16:19 king * Modules/CMakeDetermineCompilerABI.cmake: BUG: Skip implicit link information on Xcode Xcode adds extra link directories that point at the build tree, so detection of implicit link directories is not reliable. Since Fortran is not supported in Xcode we will not need implicit link information yet anyway. 2009-07-23 10:07 king * Tests/CMakeTests/: CMakeLists.txt, ImplicitLinkInfoTest.cmake.in: ENH: Create ImplicitLinkInfo test This tests the internal CMakeParseImplicitLinkInfo.cmake module to ensure that implicit link information is extracted correctly. The test contains many manually verified examples from a variety of systems. 2009-07-23 10:07 king * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeDetermineCompilerABI.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeParseImplicitLinkInfo.cmake, Modules/Compiler/GNU-C.cmake, Modules/Compiler/GNU-CXX.cmake, Modules/Compiler/GNU-Fortran.cmake, Modules/Compiler/HP-C.cmake, Modules/Compiler/HP-CXX.cmake, Modules/Compiler/HP-Fortran.cmake, Modules/Compiler/MIPSpro-C.cmake, Modules/Compiler/MIPSpro-CXX.cmake, Modules/Compiler/MIPSpro-Fortran.cmake, Modules/Compiler/SunPro-C.cmake, Modules/Compiler/SunPro-CXX.cmake, Modules/Compiler/SunPro-Fortran.cmake, Modules/Compiler/VisualAge-C.cmake, Modules/Compiler/VisualAge-CXX.cmake, Modules/Compiler/VisualAge-Fortran.cmake, Source/cmDocumentVariables.cxx, Tests/SystemInformation/SystemInformation.in: ENH: Implicit link info for C, CXX, and Fortran This teaches CMake to detect implicit link information for C, C++, and Fortran compilers. We detect the implicit linker search directories and implicit linker options for UNIX-like environments using verbose output from compiler front-ends. We store results in new variables called CMAKE__IMPLICIT_LINK_LIBRARIES CMAKE__IMPLICIT_LINK_DIRECTORIES The implicit libraries can contain linker flags as well as library names. 2009-07-23 10:06 king * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeFortranInformation.cmake: ENH: Load platform-independent per-compiler files This teaches the language configuration modules to load per-compiler information for each language using the compiler id but no system name. They look for modules named "Compiler/-.cmake". Such modules may specify compiler flags that do not depend on the platform. 2009-07-23 08:10 king * Source/cmGetFilenameComponentCommand.cxx: BUG: Fix get_filename_component ABSOLUTE mode This teaches the command to recognize full windows paths when built on UNIX. CollapseFullPath knows when the input path is relative better than FileIsFullPath because the latter is only meant for paths from the host platform. 2009-07-23 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-22 14:22 king * bootstrap, Source/CMakeLists.txt, Source/cmDefinitions.cxx, Source/cmDefinitions.h, Source/cmMakefile.cxx, Source/cmMakefile.h: ENH: Improve dynamic variable scope implementation Previously each new variable scope (subdirectory or function call) in the CMake language created a complete copy of the key->value definition map. This avoids the copy using transitive lookups up the scope stack. Results of queries answered by parents are stored locally to maintain locality of reference. The class cmDefinitions replaces cmMakefile::DefinitionsMap, and is aware of its enclosing scope. Each scope stores only the definitions set (or unset!) inside it relative to the enclosing scope. 2009-07-22 13:42 king * Tests/FunctionTest/SubDirScope/CMakeLists.txt: ENH: Improve strictness of Function test The command "set(... PARENT_SCOPE)" should never affect the calling scope. This improves the Function test to check that such calls in a subdirectory scope affect the parent but not the child. 2009-07-22 12:06 david.cole * Source/cmCTest.cxx: BUG: Fix typo pointed out by Monsieur Francois Bertel. Merci, Francois. 2009-07-22 11:14 david.cole * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix issue #8481 - generate Xcode projects such that breakpoints may be used from the Xcode debugger without adjusting any settings within the Xcode GUI first... Thanks to Doug Gregor for the patch. 2009-07-22 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-21 12:45 martink * Modules/FindPNG.cmake: ENH: just converted case to lower for the book 2009-07-21 11:58 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Disable color makefile inside try-compile Generated makefiles for try-compile projects should never use color output. On MSYS the color escapes end up in the try-compile output text because there is no way to identify whether the output is going to a color-capable terminal. Instead we should just always skip color for try-compile projects. 2009-07-21 10:56 king * Tests/SystemInformation/DumpInformation.h.in: BUG: Fix SystemInformation dump output When this test was renamed from DumpInformation to SystemInformation the configured header that points the dump executable to the directory containing information files was broken. No information has been dumped by this test for 2 years! This fixes it. 2009-07-21 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-20 12:08 david.cole * CMakeCPackOptions.cmake.in: BUG: Add CPACK_NSIS_PACKAGE_NAME to the list of CPack variables that CMake overrides. We use the same value as the CPack-provided default, but do it here such that configuring with an older CMake will still give us this new variable. Necessary so that the CMake release process works with the new variable: CMake is configured with a previous CMake, but packaged with the freshly built CPack. (This fix is necessary because the fix for issue #8682 caused the side effect of having an empty CPACK_NSIS_PACKAGE_NAME for the CMake nightly package.) 2009-07-20 10:58 hoffman * Tests/CMakeLists.txt: ENH: set expected failure for tests 2009-07-20 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-19 13:40 hoffman * Source/CTest/cmCTestTestHandler.cxx: ENH: fix warning 2009-07-19 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-18 01:05 lowman * Modules/FindSDL.cmake: BUG: Fix include path detection with SDLDIR env var (issue #9086). Also removed some superfluous search paths. 2009-07-18 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-17 23:51 lowman * Modules/FindPerlLibs.cmake: ENH: Also add ARCHLIB/CORE to include search paths so perl.h can be found on non-standard install prefixes 2009-07-17 23:31 lowman * Modules/FindPerlLibs.cmake: ENH: Improve detection of perl.h/libperl, issue #7898 2009-07-17 16:15 hoffman * Source/CTest/cmCTestTestHandler.cxx: ENH: fix warning 2009-07-17 14:51 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Edit button label for new changes dialog. 2009-07-17 14:38 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Add a "Show my changes" to the Tools menu. Changes by the user are recorded and when requested, it shows -D arguments for commandline or contents for a cache file. 2009-07-17 10:06 hoffman * Source/CTest/cmCTestTestHandler.cxx: ENH: compute the max test name width based on the length of the tests 2009-07-17 10:05 hoffman * Source/: cmGlobalGenerator.h, cmGlobalVisualStudioGenerator.h, cmLocalGenerator.cxx, cmMakefile.cxx: ENH: make sure GUIDs for filters are cached 2009-07-17 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-16 18:53 clinton * Modules/FindQt4.cmake: BUG: fix relative paths from different drives on Windows 2009-07-16 11:48 david.cole * Modules/: CPack.cmake, NSIS.template.in: BUG: Re-fix issue #8682. Use new variable CPACK_NSIS_PACKAGE_NAME in appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation. 2009-07-16 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-15 12:43 hoffman * Modules/Platform/Windows-cl.cmake: ENH: remove debug message 2009-07-15 12:18 hoffman * Modules/Platform/Windows-cl.cmake: ENH: do not use /INCREMENTAL:YES with VS 10 compiler 2009-07-15 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-14 19:34 clinton * Source/QtDialog/CMakeSetup.cxx: BUG: Don't let Qt suppress error dialogs. Add call to SetErrorMode(0); See #9258. 2009-07-14 16:06 hoffman * Source/cmIncludeExternalMSProjectCommand.cxx: ENH: fix vsexternal test on vs 71 2009-07-14 15:17 king * Modules/: CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp.in, CMakeFortranCompilerId.F.in: ENH: Check _SGI_COMPILER_VERSION for compiler id Some SGI compilers define _SGI_COMPILER_VERSION in addition to the old _COMPILER_VERSION preprocessor symbol. It is more distinctive, so we should check it in case the old one is ever removed. 2009-07-14 15:16 king * Modules/CMakeFortranCompilerId.F.in: BUG: Avoid SGI preprocessor bug for Fortran Id The SGI preprocessor /usr/lib/cpp produces bad output on this code: #if 1 A #elif 1 B #else C #endif Both 'A' and 'C' appear in the output! We work around the problem by using '#elif 1' instead of '#else'. This fixes detection of the SGI Fortran compiler id in -o32 mode. 2009-07-14 14:44 alex * Modules/MacroAddFileDependencies.cmake: STYLE: add documentation for MACRO_ADD_FILE_DEPENDENCIES() Alex 2009-07-14 14:16 hoffman * Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmGlobalVisualStudioGenerator.h, Source/cmIncludeExternalMSProjectCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio10Generator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmVisualStudio10TargetGenerator.cxx, Tests/VSExternalInclude/CMakeLists.txt: ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties instead, fix VXExternalInclude test for VS10 2009-07-14 10:15 king * Source/cmSeparateArgumentsCommand.cxx, Source/cmSeparateArgumentsCommand.h, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/SeparateArgumentsTest.cmake.in: ENH: Teach separate_arguments() to parse commands This adds UNIX_COMMAND and WINDOWS_COMMAND modes to the command. These modes parse unix- and windows-style command lines. 2009-07-14 10:14 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: STYLE: Factor cmComputeLinkInformation constructor This factors some code out of the constructor into a new method cmComputeLinkInformation::LoadImplicitLinkInfo for readability. 2009-07-14 10:14 king * Source/: cmOrderDirectories.cxx, cmOrderDirectories.h: STYLE: Factor CollectOriginalDirectories code This factors code out of cmOrderDirectories::CollectOriginalDirectories into cmOrderDirectories::AddOriginalDirectories. Later a new call will be added, and this is more readable anyway. 2009-07-14 08:38 king * Tests/ExportImport/: CMakeLists.txt, InitialCache.cmake.in: COMP: Shorten ExportImport test command lines The ExportImport test drives its Export and Import projects using the same compiler and flags. This converts the ctest --build-and-test command lines to use an initial cache file instead of passing all settings on the command line. We need a shorter command line to pass through VS 6 on Win98. This approach reduces duplicate code anyway. 2009-07-14 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-13 17:35 king * Source/kwsys/System.c: BUG: Parse escapes in single-quoted unix arguments This fixes KWSys's unix-style command-line parsing to interpret backslash escapes inside single-quoted strings. 2009-07-13 17:08 king * Source/cmSystemTools.cxx: COMP: Include for 'free' on QNX 2009-07-13 16:58 hoffman * Source/cmLocalVisualStudio10Generator.cxx, Source/cmLocalVisualStudio10Generator.h, Source/cmLocalVisualStudio7Generator.h, Source/cmVisualStudio10TargetGenerator.cxx, Source/cmVisualStudio10TargetGenerator.h, Source/cmVisualStudioGeneratorOptions.cxx, Tests/PrecompiledHeader/CMakeLists.txt, Tests/Preprocess/CMakeLists.txt, Tests/VSExternalInclude/CMakeLists.txt: ENH: almost all tests passing in vs 10, commit fixes preprocess and starts vs external project 2009-07-13 16:46 king * Source/cmSystemTools.cxx: COMP: Include for 'free' 2009-07-13 16:22 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add cmSystemTools::ParseUnixCommandLine This method is a C++ wrapper around the KWSys System library function to parse unix-style command lines. 2009-07-13 16:22 king * Source/kwsys/: ProcessUNIX.c, System.c, System.h.in: ENH: Provide unix-sytle command line parsing Add System_Parse_CommandForUnix to the KWSys System interface as a utility to parse a unix-style command line. Move the existing implementation out of ProcessUNIX. Add a flags argument reserved for future use in providing additional behavior. 2009-07-13 11:24 king * Modules/: CMakeFortranCompilerABI.F, CMakeTestFortranCompiler.cmake: ENH: Create Fortran ABI detection framework This invokes CMakeDetermineCompilerABI.cmake for Fortran at the same place it is already done for C and CXX. 2009-07-13 10:46 king * Modules/ExternalProject.cmake: ENH: Check tarball filename in ep_add This teaches the ExternalProject module to check the download URL file name. If it is not a tarball (.tar, .tgz, .tar.gz) it is an error because UntarFile does not yet understand other archive formats. 2009-07-13 10:46 king * Modules/UntarFile.cmake: BUG: Teach UntarFile to delete dir on error When tarball extraction fails we should still cleanup the temporary extraction directory. Otherwise the next attempt will create a new directory and the first one will never be removed. 2009-07-13 10:40 king * Modules/Platform/Linux-SunPro-CXX.cmake: BUG: Fix rpath-link flag for SunPro C++ on Linux This teaches Modules/Platform/Linux-SunPro-CXX.cmake the -rpath-link flag. The SunPro C++ compiler does not have a '-Wl,' option, so we just pass the flag directly. This problem was exposed by the ExportImport test now that it links an executable through the C++ compiler with the -rpath-link flag. 2009-07-13 09:20 king * Tests/ExportImport/Export/: CMakeLists.txt, testLib6.c, testLib6c.c: COMP: Fix ExportImport testLib6 on VS6 The compiler does not support multiple source files differing only by extension in one target. This renames the C source file in the test. 2009-07-13 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-12 14:52 alex * Tests/CMakeLists.txt: BUG: disable the test for now, will make it work correctly later Alex 2009-07-12 04:51 alex * Source/CTest/cmCTestScriptHandler.cxx, Tests/CMakeLists.txt, Modules/CTestScriptMode.cmake, Tests/CTestScriptMode/CTestTestScriptMode.cmake.in: STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly from cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake -> that makes it more flexible, also add a simple test that the system name has been determined correctly Alex 2009-07-12 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-11 16:30 alex * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: STYLE: move the code for writing the initial cache into its own separate function, makes the long ProcessHandler() a little bit shorter Alex 2009-07-11 16:27 alex * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: STYLE: rename InitCache to InitialCache, since it contains the contents for the initial cache and is not e.g. a flag which shows whether the cache should be initialized Alex 2009-07-11 10:12 king * Source/: cmExportFileGenerator.cxx, cmTarget.cxx: ENH: Export and import link interface languages Now that languages are part of the link interface of a target we need to export/import the information. A new IMPORTED_LINK_INTERFACE_LANGUAGES property and per-config IMPORTED_LINK_INTERFACE_LANGUAGES_ property specify the information for imported targets. The export() and install(EXPORT) commands automatically set the properties. 2009-07-11 10:10 king * Tests/ExportImport/: CMakeLists.txt, Export/CMakeLists.txt, Export/testLib6.c, Export/testLib6.cxx, Import/CMakeLists.txt, Import/A/CMakeLists.txt, Import/A/imp_testExe1.c: ENH: Test export/import of link interface languages This extends the ExportImport test. The Export project creates a C++ static library and exports it. Then the Import project links the library into a C executable. On most platforms the executable will link only if the C++ linker is chosen correctly. 2009-07-11 00:05 hoffman * Source/cmLocalGenerator.h, Source/cmMakefile.cxx, Source/cmSourceGroup.cxx, Source/cmSourceGroup.h, Source/cmVisualStudio10TargetGenerator.cxx, Source/cmVisualStudio10TargetGenerator.h, Tests/SourceGroups/CMakeLists.txt, Tests/SourceGroups/README.txt: ENH: add group support and fix borland error 2009-07-11 00:01 kwrobot * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-10 16:51 king * Source/: cmGlobalGenerator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: BUG: Fix Xcode linker language Xcode does not seem to support direct requests for using the linker for a particular language. It always infers the linker using the languages in the source files. When no user source files compile with target's linker language we add one to help Xcode pick the linker. A typical use case is when a C executable links to a C++ archive. The executable has no C++ source files but we need to use the C++ linker. 2009-07-10 13:53 king * Source/cmTarget.cxx: ENH: Update LINKER_LANGUAGE and HAS_CXX docs This updates the documentation of these properties to account for the new automatic linker language computation. 2009-07-10 13:53 king * Tests/: CMakeLists.txt, LinkLanguage/CMakeLists.txt, LinkLanguage/LinkLanguage.c, LinkLanguage/foo.cxx: ENH: Test transitive link languages This test creates a C executable that links to a C++ static library. On most platforms the executable will not link unless the C++ linker is chosen correctly. 2009-07-10 13:53 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Consider link dependencies for link language This teaches cmTarget to account for the languages compiled into link dependencies when determining the linker language for its target. We list the languages compiled into a static archive in its link interface. Any target linking to it knows that the runtime libraries for the static archive's languages must be available at link time. For now this affects only the linker language selection, but later it will allow CMake to automatically list the language runtime libraries. 2009-07-10 13:08 king * Source/CTest/cmCTestHG.cxx: COMP: Fix cmCTestHG for old HP compiler The compiler does not have a fully compliant std::string. 2009-07-10 12:26 hoffman * Source/cmVisualStudio10TargetGenerator.cxx: ENH: change so rules show up in GUI, must be windows path 2009-07-10 11:07 king * Modules/CTest.cmake, Source/CMakeLists.txt, Source/CTest/cmCTestHG.cxx, Source/CTest/cmCTestHG.h, Source/CTest/cmCTestUpdateCommand.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/CTest/cmCTestUpdateHandler.h, Tests/CMakeLists.txt, Tests/CTestUpdateHG.cmake.in: ENH: Teach CTest to handle Mercurial repositories This creates cmCTestHG to drive CTest Update handling on hg-based work trees. Currently we always update to the head of the remote tracking branch (hg pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #7879. Patch from Emmanuel Christophe. I modified the patch slightly for code style, to finish up some parsing details, and to fix the test. 2009-07-10 11:07 king * Source/cmProcessTools.h: ENH: New OutputParser::Process() signature This overload accepts a null-terminated string instead of requiring a length. It is useful to pass some fake process output before and after the real process output. 2009-07-10 09:53 david.cole * CTestCustom.cmake.in: COMP: Mask out shadowed declaration warnings that always follow already masked Utilities/cmtar warnings. 2009-07-10 09:12 hoffman * Modules/CMakeVS10FindMake.cmake, Source/cmCTest.cxx, Source/cmGlobalVisualStudio10Generator.cxx, Source/cmGlobalVisualStudio10Generator.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmLocalVisualStudio10Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmTarget.cxx, Source/cmVisualStudio10TargetGenerator.cxx, Source/cmVisualStudio10TargetGenerator.h, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: only 5 failing tests for VS 10 2009-07-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-09 14:15 king * Source/kwsys/SharedForward.h.in: COMP: More KWSys SharedForward pointer const-ness This adds another cast to avoid pointer conversion warnings. Unfortunately C does not recognize implicit conversions that add cv-qualifiers as well as C++ does. 2009-07-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-08 16:18 david.cole * Source/kwsys/MD5.c: COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. (Missed one warning with last commit: add a cast to md5_word_t.) 2009-07-08 16:15 david.cole * Source/kwsys/MD5.c: COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. 2009-07-08 15:09 king * Source/kwsys/SharedForward.h.in: COMP: Fix KWSys SharedForward sign conversion This uses size_t where necessary to avoid size_t/int conversion warnings. 2009-07-08 15:09 king * Source/kwsys/SharedForward.h.in: COMP: Fix KWSys SharedForward pointer const-ness This adds const-ness and casts where necessary to avoid pointer conversion warnings. 2009-07-08 14:43 david.cole * CTestCustom.cmake.in: COMP: Suppress warnings from the Utilities/cmtar code in dashboard results. 2009-07-08 14:33 king * Source/: cmDocumentVariables.cxx, cmTarget.cxx: BUG: Use link language for target name computation The commit "Do not compute link language for LOCATION" was wrong. The variables CMAKE_STATIC_LIBRARY_PREFIX_Java CMAKE_STATIC_LIBRARY_SUFFIX_Java are used for building Java .jar files. This commit re-enables the feature and documents the variables: CMAKE_EXECUTABLE_SUFFIX_ CMAKE_IMPORT_LIBRARY_PREFIX_ CMAKE_IMPORT_LIBRARY_SUFFIX_ CMAKE_SHARED_LIBRARY_PREFIX_ CMAKE_SHARED_LIBRARY_SUFFIX_ CMAKE_SHARED_MODULE_PREFIX_ CMAKE_SHARED_MODULE_SUFFIX_ CMAKE_STATIC_LIBRARY_PREFIX_ CMAKE_STATIC_LIBRARY_SUFFIX_ Instead of making separate, repetitive entries for the _ variable documentation, we just mention the per-language name in the text of the platform-wide variable documentation. Internally we keep undocumented definitions of these properties to satisfy CMAKE_STRICT mode. 2009-07-08 13:03 king * Source/: cmComputeLinkInformation.cxx, cmGlobalXCodeGenerator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h, cmVisualStudio10TargetGenerator.cxx: ENH: Pass config to cmTarget::GetLinkerLanguage This passes the build configuration to most GetLinkerLanguage calls. In the future the linker language will account for targets linked in each configuration. 2009-07-08 13:03 king * Source/: cmComputeLinkInformation.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmInstallTargetGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Pass config to cmTarget RPATH install methods This passes the build configuration to cmTarget methods IsChrpathUsed and NeedRelinkBeforeInstall. Later these methods will use the value. 2009-07-08 13:03 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Use fixed header file type mapping for Xcode This simplifies computation of the lastKnownFileType attribute for header files in Xcode projects. We now use a fixed mapping from header file extension to attribute value. The value is just a hint to the Xcode editor, so computing the target linker language is overkill. 2009-07-08 13:03 king * Source/: cmDocumentVariables.cxx, cmTarget.cxx: ENH: Do not compute link language for LOCATION The LOCATION property requires the full file name of a target to be computed. Previously we computed the linker language for a target to look up variables such as CMAKE_SHARED_LIBRARY_SUFFIX_. This led to locating all the source files immediately instead of delaying the search to generation time. In the future even more computation will be needed to get the linker language, so it is better to avoid it. The _ versions of these variables are undocumented, not set in any platform file we provide, and do not produce hits in google. This change just removes the unused feature outright. 2009-07-08 12:04 king * Source/: cmComputeLinkDepends.cxx, cmTarget.cxx, cmTarget.h: ENH: Introduce cmTarget::LinkImplementation API The new method centralizes loops that process raw OriginalLinkLibraries to extract the link implementation (libraries linked into the target) for each configuration. Results are computed on demand and then cached. This simplifies link interface computation because the default case trivially copies the link implementation. 2009-07-08 11:41 king * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, CustomCommand/CMakeLists.txt, Dependency/CMakeLists.txt, Dependency/Case4/CMakeLists.txt, ExportImport/Export/CMakeLists.txt, ExportImport/Import/CMakeLists.txt, FunctionTest/CMakeLists.txt, LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, MacroTest/CMakeLists.txt, MakeClean/CMakeLists.txt, Plugin/CMakeLists.txt, Preprocess/CMakeLists.txt, ReturnTest/CMakeLists.txt, RuntimePath/CMakeLists.txt, SourceGroups/CMakeLists.txt: ENH: Remove CMAKE_ANSI_CFLAGS from tests As of CMake 2.6 this variable is not defined, and the ANSI flags for the HP compiler are simply hard-coded in the default C flags. 2009-07-08 09:14 king * Modules/CMakeDetermineCCompiler.cmake: ENH: Identify HP C compiler This compiler does not enable ANSI mode by default. When identifying the C compiler we try passing -Aa in case it is the HP compiler. 2009-07-08 08:31 king * Source/: cmTarget.cxx, cmTarget.h: COMP: Pimplize cmTarget ImportInfo and OutputInfo These member structures are accessed only in the cmTarget implementation so they do not need to be defined in the header. This cleanup also aids Visual Studio 6 in compiling them. 2009-07-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-07 14:02 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: get the build type specific location Alex 2009-07-07 11:30 king * Source/cmTarget.cxx: BUG: Do not recompute link interfaces The config-to-interface map in cmTarget should use case-insensitive configuration names. The change avoids repeating work if the given configuration has a different case than one already computed. 2009-07-07 10:57 king * Source/cmTarget.cxx: BUG: Fix CMP0003 wrong-config link dir support This fixes a dumb logic error introduced by the centralization of link interface computation. It prevented link directories from alternate configurations from getting listed by the OLD behavior of CMP0003 for targets linked as transitive dependencies. 2009-07-07 10:56 king * Source/cmTarget.h: STYLE: Fix comment on cmTarget::LinkInterface The comment had a typo and was longer than necessary. 2009-07-07 09:45 king * Source/: cmComputeLinkDepends.cxx, cmExportFileGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Simplify cmTarget link interface storage This makes the LinkInterface struct a member of cmTarget, pimplizes the config-to-interface map, and stores interface instances by value. 2009-07-07 07:44 king * Source/: cmComputeLinkInformation.cxx, cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h, cmVisualStudio10TargetGenerator.cxx: ENH: Simpler cmTarget::GetLinkerLanguage signature This method previously required the global generator to be passed, but that was left from before cmTarget had its Makefile member. Now the global generator can be retrieved automatically, so we can drop the method argument. 2009-07-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-06 16:25 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmExportFileGenerator.cxx, cmExportFileGenerator.h, cmTarget.cxx, cmTarget.h: ENH: Centralize default link interface computation When LINK_INTERFACE_LIBRARIES is not set we use the link implementation to implicitly define the link interface. These changes centralize the decision so that all linkable targets internally have a link interface. 2009-07-06 16:24 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmTarget.cxx, cmTarget.h: ENH: Move CMP0004 check into cmTarget This moves code implementing policy CMP0004 into cmTarget::CheckCMP0004. The implementation is slightly simpler and can be re-used outside of cmComputeLinkDepends. 2009-07-06 16:24 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Exception safe link interface computation This fixes cmTarget::GetLinkInterface to compute and return the link interface in an exception-safe manner. We manage the link interface returned by cmTarget::ComputeLinkInterface using auto_ptr. 2009-07-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-03 10:34 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: Pass config to cmTarget::GetDirectory() This teaches the makefile generators to always pass the configuration name to the cmTarget::GetDirectory method. Later this will allow per-configuration target output directories, and it cleans up use of the current API. 2009-07-03 10:33 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Refactor target output dir computation This creates cmTarget::GetOutputInfo to compute, cache, and lookup target output directory information on a per-configuration basis. It avoids re-computing the information every time it is needed. 2009-07-03 10:33 king * Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Templates/UtilityHeader.dsptemplate: BUG: Avoid cmTarget::GetDirectory for utilities Since utility targets have no main output files like executables or libraries, they do not define an output directory. This removes a call to cmTarget::GetDirectory from cmLocalVisualStudio{6,7}Generator for such targets. 2009-07-03 10:33 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: STYLE: Replace large if() with named boolean In cmLocalVisualStudio{6,7}Generator this replaces a large if() test with a re-usable result stored in a boolean variable named accordingly. 2009-07-03 08:41 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Create cmMakefileTargetGenerator::ConfigName This member stores the build configuration for which Makefiles are being generated. It saves repeated lookup of the equivalent member from cmLocalUnixMakefileGenerator3, making code shorter and more readable. 2009-07-03 08:40 king * Source/: cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: Cleanup per-config target install generation This cleans up cmInstallTargetGenerator's code that computes the build tree location of a target under each configuration. 2009-07-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-02 17:38 david.cole * Modules/ExternalProject.cmake: BUG: Allow arbitrary text in values for some keywords. (And avoid warning that the arbitrary text is an unknown keyword.) 2009-07-02 16:13 king * Source/CTest/cmCTestTestHandler.cxx: ENH: Reports "Passed" for WILL_FAIL tests Previously tests marked with WILL_FAIL have been reported by CTest as ...............***Failed - supposed to fail when they correctly failed. Now we just report ".....Passed" because there is no reason to draw attention to something that works as expected. 2009-07-02 14:14 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: BUG: Do not generate "global" Xcode config Xcode 2.0 and below supported only one configuration, but 2.1 and above support multiple configurations. In projects for the latter version we have been generating a "global" set of buildSettings for each target in addition to the per-configuration settings. These global settings are not used by Xcode 2.1 and above, so we should not generate them. 2009-07-02 14:13 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Simplify Xcode CreateBuildSettings method The cmGlobalXCodeGenerator::CreateBuildSettings had the three arguments productName, productType, and fileType that returned information used by only one of the call sites. This change refactors that information into separate methods named accordingly. 2009-07-02 14:13 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Use logical target names in Xcode projects Previously we named Xcode targets using the output file name from one of the configurations. This is not very friendly, especially because it changes with CMAKE_BUILD_TYPE. Instead we should use the original logical target names for the Xcode target names. This is also consistent with the way the other IDE generators work. 2009-07-02 13:17 david.cole * Modules/ExternalProject.cmake: BUG: cmd_set logic was missing from update and patch steps. Fix it so that UPDATE_COMMAND "" means "no update step even though this is a CVS/SVN repository..." 2009-07-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-07-01 14:29 king * Tests/CMakeLists.txt: BUG: Skip CTest.Update* for cygwin tools on Windows These tests cannot run with cygwin tools unless testing cygwin CTest. The version control tools do not understand all Windows paths. 2009-07-01 13:48 david.cole * Tests/ExternalProject/CMakeLists.txt: BUG: Exclude svn portions of ExternalProject test when: svn client version is less than 1.2 or cygwin/non-cygwin mismatch detected -- avoids ExternalProject test failures on dash5 and dash22-cygwin. Also, non-code change: allow cvslock through Windows firewall to prevent ExternalProject test failure on dash1vista32. 2009-07-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-30 09:10 king * Source/cmVS10CLFlagTable.h: STYLE: Fix line-too-long style violation. 2009-06-30 09:05 king * Source/cmDocumentVariables.cxx: BUG: Fix documentation of CMAKE_CFG_INTDIR The documentation of this variable was out-dated and misleading. See issue #9219. 2009-06-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-29 14:27 alex * Source/cmExtraCodeBlocksGenerator.cxx: COMP: don't use vector::at(), this doesn't seem to exist everyhwere (http://www.cdash.org/CDash/viewBuildError.php?buildid=366375) Alex 2009-06-29 13:02 king * Source/: cmGlobalXCode21Generator.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Generate native Xcode 3.0 and 3.1 projects CMake previously generated Xcode project files labeled as 2.4-compatible by recent versions of Xcode (3.0 and 3.1). It is better to generate native Xcode 3.0 and 3.1 projects. In particular, this can improve build times by using the "Build independent targets in parallel" feature. Patch from Doug Gregor. See issue #9216. 2009-06-29 10:46 david.cole * Tests/ExternalProject/CMakeLists.txt: BUG: Avoid running the cvs portions of the ExternalProject test on non-cygwin builds that are using cygwin cvs.exe. 2009-06-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-28 09:46 hoffman * Source/cmVisualStudio10TargetGenerator.h: ENH: add rest of lib check 2009-06-28 08:59 hoffman * Source/cmVisualStudio10TargetGenerator.cxx: ENH: fix line length 2009-06-28 08:06 alex * Source/cmConfigureFileCommand.h: STYLE: document #cmakedefine01 (see #9189 , there's also a test for it in Tests/Complex/ ) Alex 2009-06-28 08:05 alex * Source/cmDocumentationFormatterText.cxx: STYLE: don't print the section name "SingleItem" if the documentation for just a single item is printed Alex 2009-06-28 05:59 alex * Modules/CMakeFindEclipseCDT4.cmake: BUG: recognize system include paths also when the languages are set to something different from "C", by resetting them to "C" (#9122) Alex 2009-06-28 04:58 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: create a "Virtual Folder" in CodeBlocks, which contains all the cmake files of the project, i.e. there is now a "CMake Files" folder additionally to the "Sources", "Headers" and "Others" folders which already existed. Patch by Daniel Teske. Alex 2009-06-28 04:30 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: also support nmake and msvc for use with CodeBlocks under Windows, patch by Daniel Teske Alex 2009-06-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-27 11:17 alex * Source/cmDocumentVariables.cxx: STYLE: document CMAKE_SKIP_INSTALL_ALL_DEPENDENCY variable Alex 2009-06-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-26 13:00 david.cole * Tests/ExternalProject/: CMakeLists.txt, svnrepo.tgz: BUG: Downgrade svn repository to be created with an svn 1.2 installation (rather than 1.4) so that it works (hopefully) with more svn clients in the wild. Change time stamps of test projects in CMakeLists.txt to reflect times available in newly created repository. Add UPDATE_COMMAND "" for checkouts that are tag-based or date-stamp-based to avoid unnecessary update steps. 2009-06-26 11:50 hoffman * Source/: cmGlobalVisualStudio10Generator.h, cmVS10CLFlagTable.h, cmVS10LibFlagTable.h, cmVS10LinkFlagTable.h, cmVisualStudio10TargetGenerator.cxx, cmparseMSBuildXML.py: ENH: fix line length issues 2009-06-26 11:32 david.cole * Tests/ExternalProject/CMakeLists.txt: ENH: Do not unzip the local repositories unless CVS and SVN executables are available. Add 'configure' step to the repository extraction 'projects' to print the version number of CVS and SVN in the dashboard test/build output. 2009-06-26 10:18 hoffman * CMakeCPackOptions.cmake.in, Source/QtDialog/QtDialogCPack.cmake.in: ENH: do not create a desktop link for CMakeSetup 2009-06-26 10:00 hoffman * Utilities/KWStyle/CMake.kws.xml.in: ENH: 80 is fine, i guess not 2009-06-26 09:59 hoffman * Utilities/KWStyle/CMake.kws.xml.in: ENH: 80 is fine 2009-06-26 09:55 david.cole * Tests/ExternalProject/CMakeLists.txt: ENH: Revise the ExternalProject test to use local CVS and SVN repositories to avoid network activity. Also: stop building KWStyle and kwsys as part of this test to reduce the amount of time spent running the test. Instead, build TutorialStep1 as retrieved from the new local repositories with various tags, date stamps and revision numbers. 2009-06-26 00:07 hoffman * Source/cmVisualStudio10TargetGenerator.cxx: ENH: remove debug print 2009-06-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-25 22:53 hoffman * Source/: cmVisualStudio10TargetGenerator.cxx, cmVisualStudio10TargetGenerator.h: ENH: add obj file support and remove a warning 2009-06-25 16:41 hoffman * CompileFlags.cmake, Modules/CMakeVS10FindMake.cmake, Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio10Generator.cxx, Source/cmGlobalVisualStudio10Generator.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmListFileLexer.c, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio10Generator.cxx, Source/cmLocalVisualStudio10Generator.h, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx, Source/cmVS10CLFlagTable.h, Source/cmVS10LibFlagTable.h, Source/cmVS10LinkFlagTable.h, Source/cmVisualStudio10TargetGenerator.cxx, Source/cmVisualStudio10TargetGenerator.h, Source/cmVisualStudioGeneratorOptions.cxx, Source/cmVisualStudioGeneratorOptions.h, Source/cmake.cxx, Source/cmparseMSBuildXML.py, Source/kwsys/ProcessWin32.c: ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail 2009-06-25 16:39 hoffman * Source/CTest/cmCTestScriptHandler.cxx: ENH: add reminder comment 2009-06-25 16:38 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: ENH: set an upload speed limit for ctest 2009-06-25 12:03 david.cole * Tests/ExternalProject/: cvsrepo.tgz, svnrepo.tgz: ENH: Add *.tgz files of cvs and svn repositories containing the TutorialStep1 project to test cvs and svn capabilities of ExternalProject without requiring network activity. 2009-06-25 10:51 king * Tests/CMakeLists.txt: BUG: Fix CTest.UpdateBZR tests to run in parallel The UpdateBZR and UpdateBZR.CLocale tests should run in different directories so that they can be executed in parallel. 2009-06-25 09:58 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Cleanup make progress rule generation code This cleans up the Makefile generator's progress rule code. Instead of keeping every cmMakefileTargetGenerator instance alive to generate progress, we keep only the information necessary in a single table. This approach keeps most of the code in cmGlobalUnixMakefileGenerator3, thus simplifying its public interface. 2009-06-25 09:43 king * Source/cmLocalUnixMakefileGenerator3.cxx: STYLE: Remove unused variable 2009-06-25 08:45 king * Modules/: CMakeDetermineFortranCompiler.cmake, CMakeFortranCompilerId.F.in, CMakeFortranCompilerId.F90.in: ENH: Identify Fortran compilers with fixed format This enhances the Fortran compiler id detection by using a source that can compile either as free or fixed format. As long as the compiler knows it should preprocess the source file (.F) the identification can work. Even free-format compilers may try fixed-format parsing if the user specifies certain flags, so we must support both. 2009-06-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-24 16:50 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Save/restore splitter sizes. Fixes #9070. 2009-06-24 15:09 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Remove unused cmSystemTools::RemoveEscapes The RemoveEscapes method is no longer used anywhere. All uses of it have been replaced by a real lexer. We can remove the method. 2009-06-24 15:03 king * Modules/ExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: ENH: New ExternalProject.cmake module interface This creates new module ExternalProject.cmake to replace the prototype AddExternalProject.cmake module. The interface is more refined, more flexible, and better documented than the prototype. This also converts the ExternalProject test to use the new module. The old module will be removed (it was never in a CMake release) after projects using it have been converted to the new module. 2009-06-24 14:48 king * Tests/CMakeLists.txt: BUG: Extend timeout of ExternalProject test This test requires a long time on slower machines, so we need to extend its timeout. It is an important test, so it does not fall under the CMAKE_RUN_LONG_TESTS option. In the future we should try to shorten the test by building simpler external projects. 2009-06-24 13:24 king * Source/cmTargetLinkLibrariesCommand.h: ENH: Mention cycles in target_link_libraries docs This documents CMake's support for cycles in the dependency graph of STATIC libraries. 2009-06-24 09:36 king * Source/: cmMakefile.cxx, cmSourceFile.cxx, cmTarget.cxx: ENH: Clarify COMPILE_DEFINITIONS separator in docs The COMPILE_DEFINITIONS properties are semicolon-separated lists. Make this clear in the documentation. See issue #9199. 2009-06-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-23 16:40 hoffman * Modules/FindBoost.cmake: ENH: boost lib is often found under the boost include dir 2009-06-23 16:31 hoffman * Modules/FindBoost.cmake: ENH: add additional place to look for boost so it works out of the box on windows 2009-06-23 12:58 martink * Tests/Tutorial/: Step5/MathFunctions/MakeTable.cxx, Step6/MathFunctions/MakeTable.cxx, Step7/MathFunctions/MakeTable.cxx: ENH: fix spelling mistake 2009-06-23 09:06 king * Source/CTest/cmCTestCVS.cxx: BUG: Fix CVS update parsing for TortoiseCVS The TortoiseCVS version of cvs.exe includes the '.exe' in cvs update messages for files removed from the repository. This change accounts for it in the regular expressions that match such lines. Now removed files are properly reported by ctest_update() when using TortoiseCVS. 2009-06-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-22 16:25 king * Tests/: CMakeLists.txt, CTestUpdateCVS.cmake.in: ENH: Auto-enable CTest.UpdateCVS test on Windows The test needs to create a cvs repository with 'cvs init', but the CVSNT client on Windows needs 'cvs init -n' to avoid administrator access. Previously we required users to explicitly enable CTEST_TEST_UPDATE_CVS to activate the test on Windows. This teaches the test to use the '-n' option when necessary. Now we can enable the test in all cases except when trying to use a cygwin cvs.exe without cygwin paths. 2009-06-22 14:19 king * Source/kwsys/Configure.h.in: COMP: Quiet aggressive Borland warnings in KWSys This disables Borland warning 8027 while compiling KWSys source files. It provides no useful information. 2009-06-22 14:19 king * Source/kwsys/SystemTools.cxx: COMP: Remove useless variable assignment This removes an assignment whose result is never used, thus quieting a warning from Borland. 2009-06-22 10:02 hoffman * Modules/CMakeTestCCompiler.cmake: BUG: remove warning in test of compiler so -Werror does not fail 2009-06-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-19 17:09 king * Modules/Platform/HP-UX.cmake: BUG: Look in arch-specific HPUX implicit link dirs On HP-UX machines some system libraries appear in architecture-specific implicit linker search paths. We need to add these paths to our system library search path. However, at the time we construct the search path we do not know the target architecture. A full solution requires re-organizing platform configuration files so that the target architecture can be known when needed. Until that happens we can avoid the problem by searching in both 32-bit and 64-bit implicit link directories. By telling CMake that they are implicit directories the generated link lines will never pass the paths, leaving the linker free to find the library of the proper architecture even if the find_library call finds the wrong one. 2009-06-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-17 14:18 king * Source/cmPolicies.cxx: ENH: Improve CMP0012 doc and message formatting This fixes the CMP0012 description to have a one-line summary in the 'brief' section and the rest of the explanation in the 'full' section. It makes the warning message shorter and improves formatting of the policy documentation, especially in the HTML pages. The convention is already used by all other policies. 2009-06-17 14:18 king * Source/cmIfCommand.cxx: ENH: Improve format of if() command messages Errors and warnings from the if() command always display the argument list given to the command followed by an explanation of the problem. This moves the argument list into a pre-formatted block and follows it with a paragraph-form explanation. The result looks cleaner. 2009-06-17 13:40 king * Source/: cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx, cmPolicies.h: ENH: Create CMP0013 to disallow duplicate dirs In CMake 2.6.3 and below we silently accepted duplicate build directories whose build files would then conflict. At first this was considured purely a bug that confused beginners but would not be used in a real project. In CMake 2.6.4 we explicitly made it an error. However, some real projects took advantage of this as a "feature" and got lucky that the subtle build errors it can cause did not occur. Therefore we need a policy to deal with the case more gracefully. See issue #9173. 2009-06-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-16 11:57 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Create an exe's implib output dir for VS 6 VS 6 forgets to create the output directory for an executable's import library in case the exe dllexport-s symbols. We work around this VS bug by creating a pre-link event on the executable target to make the directory. 2009-06-16 11:57 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: ENH: Refactor VS 6 build event generation In cmLocalVisualStudio6Generator we generate pre-build, pre-link, and post-build events into project files. This refactors the generation code for the three event types into a private EventWriter class to avoid duplicate code. 2009-06-16 11:44 king * Source/cmLocalVisualStudio7Generator.cxx: ENH: Create exe implib dir in VS pre-link rule This moves creation of an executable's import library directory in VS projects from the pre-build step to the pre-link step. It makes sense to create the directory at the last moment. 2009-06-16 11:44 king * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h: ENH: Generalize exe implib dir creation for VS In VS 7,8,9 executable targets we generate a build event to create the output directory for the import library in case the executable marks symbols with dllexport (VS forgets to create this directory). This generalizes computation of the custom command line to support future use with other VS versions. 2009-06-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-15 16:12 king * Source/: cmDefinePropertyCommand.cxx, cmDefinePropertyCommand.h: ENH: Simplify docs args for define_property This teaches the define_property command signature to accept multiple arguments after the BRIEF_DOCS and FULL_DOCS keywords. We append the arguments together, making specification of long documentation easier. 2009-06-15 14:22 hoffman * Source/CTest/cmCTestBuildAndTestHandler.cxx: STYLE: fix warning 2009-06-15 13:51 hoffman * Source/CTest/cmCTestBuildAndTestHandler.cxx: BUG: fix crash when running ctest coverage for VTK 2009-06-15 13:22 hoffman * Modules/FindOpenGL.cmake: ENH: add path for 64 bit on old hp 2009-06-15 13:17 hoffman * Modules/Platform/HP-UX.cmake: ENH: put the 64 bit paths first 2009-06-15 12:39 hoffman * Modules/: Platform/HP-UX.cmake, FindOpenGL.cmake: ENH: add more search paths on HPUX 2009-06-15 12:33 martink * Source/cmPolicies.cxx: COMP: fix line length 2009-06-15 10:55 king * Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Tests/Plugin/CMakeLists.txt: BUG: Create an exe's implib output dir for VS If an executable marks symbols with __declspec(dllexport) then VS creates an import library for it. However, it forgets to create the directory that will contain the import library if it is different from the location of the executable. We work around this VS bug by creating a pre-build event on the executable target to make the directory. 2009-06-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-12 15:44 king * Source/kwsys/ProcessUNIX.c: COMP: Do not compile VMS-specific code on non-VMS This helps avoid fixing VMS-specific code for non-VMS compilers where it isn't needed anyway. 2009-06-12 15:28 king * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: ENH: Refactor VS 7,8,9 build event generation In cmLocalVisualStudio7Generator we generate pre-build, pre-link, and post-build events into project files. This refactors the generation code for the three event types into a private EventWriter class to avoid duplicate code. 2009-06-12 13:33 fbertel * Source/kwsys/ProcessUNIX.c: COMP:Fixed warning with gcc 4.3.3: passing argument 1 of kwsysProcessSetVMSFeature discards qualifiers from pointer target type. 2009-06-12 13:25 martink * Source/: cmIfCommand.h, cmPolicies.cxx: ENH: clean up some help text 2009-06-12 11:10 martink * Source/cmIfCommand.cxx: ENH: warning fix 2009-06-12 11:05 king * Source/cmStandardIncludes.h: COMP: Block warnings in Borland system headers In Release builds the Borland compiler warns about code in its own system headers. This blocks the warnings by disabling them where the headers are included. 2009-06-12 10:46 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y, cmDependsFortranParserTokens.h: ENH: Use KWSys String strcasecmp to parse Fortran This replaces the Fortran dependency parser source's custom strcasecmp implementation with one from KWSys String. It removes duplicate code and avoids a Borland warning about inlining functions with 'while'. 2009-06-12 10:46 king * Source/kwsys/String.c: COMP: Avoid double-initialization in KWSys String The KWSys String implementation of strcasecmp initialized 'result' immediately before assigning to it. Borland produces a warning in this case, so this commit removes the extra initialization. 2009-06-12 10:46 king * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l: COMP: Remove useless assignment in Fortran lexer The generated Fortran dependency scanning lexer includes an assignment to a local variable that is unused. Borland warns, so we remove the assignment. 2009-06-12 10:07 martink * Source/: cmIfCommand.cxx, cmIfCommand.h, cmPolicies.cxx, cmPolicies.h, cmWhileCommand.cxx: ENH: modified the if command to address bug 9123 some 2009-06-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-11 15:25 hoffman * Modules/Platform/OpenVMS.cmake, Source/kwsys/SystemTools.cxx: ENH: use .exe on vms 2009-06-11 15:18 king * CMakeLists.txt: COMP: We now require CMake 2.4.5 or higher to build We use the CMakeDependentOption module unconditionally, so we must require a version of CMake new enough to provide it. 2009-06-11 14:57 king * Source/cmComputeLinkInformation.cxx: BUG: Do not create empty build-tree RPATH The fix for issue #9130 appends ':' to the end of the build-tree RPATH unconditionally. This changes the fix to add ':' only when the RPATH is not empty so that we do not create a build-tree RPATH with just ':'. An empty RPATH produces no string at all, so there is no chance of merging with a symbol name anyway. 2009-06-11 11:24 king * CMakeLists.txt, CTestCustom.cmake.in, Source/CTest/cmCTestSubmitHandler.cxx, Utilities/cmThirdParty.h.in, Utilities/cm_xmlrpc.h: ENH: Disable the xmlrpc drop method by default We've chosen to drop our default dependence on xmlrpc. Thus we disable the corresponding CTest submission method and remove the sources for building xmlrpc locally. Users can re-enable the method by setting the CTEST_USE_XMLRPC option to use a system-installed xmlrpc library. 2009-06-11 09:04 king * CMakeLists.txt, Utilities/cmThirdParty.h.in, Utilities/cm_curl.h: ENH: Remove option to build cmcurl-7.19.0 This version of curl was added experimentally but does not address the problem we were hoping it fixed (an occasional upload hang). Importing a new curl can wait until the problem is fully diagnosed and addressed. 2009-06-11 09:04 king * CMakeLists.txt: ENH: Simplify decision to use system libraries Previously we disallowed use of system libraries if FindXMLRPC.cmake was not available. Now that CMake 2.4 is required to build, the module is always available. This change simplifies the logic accordingly. 2009-06-11 09:03 king * Source/cmXMLParser.cxx: COMP: Fix build with system-installed expat 2.0.1 In cmXMLParser::ReportXmlParseError we were accidentally passing a value of type 'XML_Parser*' to expat methods instead of 'XML_Parser'. It was not caught because XML_Parser was just 'void*' in the cmexpat version. Newer system-installed expat versions catch the error because XML_Parser is now a pointer to a real type. This correct the type. 2009-06-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-10 14:11 king * Source/cmComputeLinkInformation.cxx: BUG: Do not mangle symbols when editing RPATHs In ELF binaries the .dynstr string table is used both for the RPATH string and for program symbols. If a symbol name happens to match the end of the build-tree RPATH string the linker is allowed to merge the symbols. We must not allow this when the RPATH string will be replaced during installation because it will mangle the symbol. Therefore we always pad the end of the build-tree RPATH with ':' if it will be replaced. Tools tend not to use ':' at the end of symbol names, so it is unlikely to conflict. See issue #9130. 2009-06-10 14:11 king * Source/cmDocumentVariables.cxx: ENH: Document variable CMAKE_NO_BUILTIN_CHRPATH This adds documentation for the variable which was previously missing. See issue #9130. 2009-06-10 13:39 king * bootstrap: BUG: Fix bootstrap for Debian Almquist Shell The Debian Almquist Shell (dash) provides minimal POSIX compliance instead of the power of bash. It converts literal '\n' to a real newline even in a single-quoted string. This works around the problem by avoiding the literal. We can no longer use HEREDOC. 2009-06-10 13:04 king * bootstrap: ENH: Make bootstrap script work on VMS bash A few sweeping changes were needed: - Avoid use of HEREDOC, which does not seem to work. - Avoid extra '.' in paths by using '_cmk' and '_tmp' instead of '.cmk' and '.tmp'. 2009-06-10 13:04 king * Modules/Platform/OpenVMS.cmake, Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: Enable basic OpenVMS platform support This adds the Modules/Platform/OpenVMS.cmake platform file for OpenVMS. We just use Unix-like rules to work with the GNV compiler front-end. A problem with process execution currently prevents CMake link scripts from working, so we avoid using them. 2009-06-10 13:03 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Skip 'SHELL = /bin/sh' in Makefiles on VMS This shell does not exist on VMS, so we leave it out. 2009-06-10 13:03 king * Source/: cmGeneratedFileStream.cxx, cmLocalUnixMakefileGenerator3.cxx, cmTarget.cxx: ENH: On VMS use _dir and _tmp, not .dir and .tmp The VMS posix path emulation does not handle multiple '.' characters in file names in all cases. This avoids adding extra '.'s to file and directory names for target directories and generated files. 2009-06-10 13:02 king * Source/kwsys/SystemTools.cxx: ENH: Teach KWSys SystemTools about VMS paths This teaches ConvertToUnixSlashes to convert VMS paths into posix-style paths. We also set the DECC$FILENAME_UNIX_ONLY feature so the process always sees posix-style paths on disk. 2009-06-10 13:02 king * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Avoid std::unique algorithm on VMS The Compaq compiler's std::unique algorithm followed by deletion of the extra elements seems to crash. For now we'll accept the duplicate dependencies on this platform. 2009-06-10 11:49 king * Utilities/cmtar/extract.c: COMP: Fix cmtar build on VMS The mknod and mkfifo functions are not available on VMS. 2009-06-10 11:49 king * Utilities/cmcurl/setup.h: COMP: Fix cmcurl build on VMS This defines IOCTL_3_ARGS in 'cmcurl/setup.h' to teach curl sources about the three-argument ioctl() on VMS. 2009-06-10 11:49 king * Utilities/cmtar/: append.c, decode.c, extract.c, libtar.c, util.c, wrapper.c: COMP: Use HAVE_SYS_PARAM_H properly in libtar The value is computed by a try-compile for libtar. This teaches the sources to actually use the result. 2009-06-10 11:48 king * Source/kwsys/ProcessUNIX.c: ENH: Teach KWSys Process basic VMS support This achieves basic process execution on OpenVMS. We use work-arounds for different fork()/exec() behavior and a lack of select(). VMS emulates fork/exec using setjmp/longjmp to evaluate the child and parent return cases from fork. Therefore both must be invoked from the same function. Since select() works only for sockets we use the BeOS-style polling implementation. However, non-blocking reads on empty pipes cannot be distinguished easily from the last read on a closed pipe. Therefore we identify end of data by an empty read after the child terminates. 2009-06-10 11:46 king * Source/kwsys/ProcessUNIX.c: BUG: Fix non-select process impl without timeout This avoids use of an uninitialized value in the KWSys ProcessUNIX polling implementation when no timeout is given. 2009-06-10 11:46 king * Source/kwsys/CMakeLists.txt, bootstrap, Source/kwsys/String.c, Source/kwsys/kwsysPrivate.h: COMP: Avoid String.c inclusion by Compaq templates The Compaq compiler (on VMS) includes 'String.c' in source files that use the stl string while looking for template definitions. This was the true cause of double-inclusion of the 'kwsysPrivate.h' header. We work around the problem by conditionally compiling the entire source file on a condition only true when really building the source. 2009-06-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-09 15:58 hoffman * Source/cmStandardIncludes.h: STYLE: suppress warnings for borland 2009-06-09 15:44 hoffman * Source/kwsys/testAutoPtr.cxx: STYLE: suppress warnings for borland 2009-06-09 15:18 hoffman * Source/: cmStandardIncludes.h, kwsys/hashtable.hxx.in, kwsys/testAutoPtr.cxx: STYLE: suppress warnings for borland 2009-06-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-05 14:59 partyd * Source/kwsys/hashtable.hxx.in: COMP: Hopefully fix hashmap on VS6, Thanks Brad K! 2009-06-05 13:17 hoffman * Source/kwsys/SystemTools.cxx: ENH: fix warning on borland 2009-06-05 12:01 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.hxx.in, kwsys/SystemTools.cxx: ENH: move PutEnv to SystemTools 2009-06-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-03 15:08 king * Modules/Platform/HP-UX.cmake, Source/cmComputeLinkInformation.cxx, Source/cmDocumentVariables.cxx: BUG: Recognize .so shared libraries on HP-UX HP-UX uses both .sl and .so as extensions for shared libraries. This teaches CMake to recognize .so shared libraries so they are treated properly during link dependency analysis. 2009-06-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-06-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-31 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-29 16:09 alex * Modules/CPackRPM.cmake: BUG: fix #9031: newer rpm versions complain about the "#%" lines Alex 2009-05-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-27 11:33 king * Modules/Platform/CYGWIN.cmake, bootstrap: ENH: Auto-import symbols for cygwin executables This enables the --enable-auto-import linker flag on Cygwin when linking executables. It works with the old gcc 3.x compiler and is necessary for the new gcc 4.x compiler. See issue #9071. 2009-05-27 11:14 hoffman * Source/CTest/cmCTestMemCheckHandler.cxx: BUG: fix for bug #8153 add purify suppression file and fix output to not be one big line 2009-05-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-26 09:55 david.cole * Modules/: CMakeVS8FindMake.cmake, CMakeVS9FindMake.cmake: BUG: Rearrange paths to find correct installations of Visual Studio. Patch devenv.modified_search_order.patch came from issue #7919. 2009-05-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-20 09:50 hoffman * Source/kwsys/SystemInformation.cxx: ENH: make this work for older versions of OSX 2009-05-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-19 21:50 hoffman * Source/kwsys/SystemInformation.cxx: ENH: revert back because it does not build on older macs for now 2009-05-19 16:56 hoffman * Source/kwsys/SystemInformation.cxx: ENH: remove warning 2009-05-19 16:46 hoffman * Source/kwsys/SystemInformation.cxx: ENH: make this build on other machines besides the mac 2009-05-19 16:35 hoffman * Source/kwsys/: SystemInformation.cxx, testSystemInformation.cxx: ENH: fix system info for mac 2009-05-19 11:38 clinton * Modules/FindQt4.cmake: ENH: Better error message for those who switch from Qt3 to Qt4 and don't clean their cache file. 2009-05-19 11:25 hoffman * Source/cmCoreTryCompile.cxx: BUG: fix for #0009051 CMake does not pass CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET when running TRY_COMPILE 2009-05-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-18 15:27 alex * Source/cmFindFileCommand.cxx: STYLE: fix docs: it must replace "find_path" instead of "FIND_PATH" with "find_file", otherwise the docs talk about find_path() instead of find_file (patch from Michael Wild, #9047) Alex 2009-05-18 10:34 king * Source/CTest/cmCTestBZR.cxx, Tests/CMakeLists.txt: BUG: Parse more bzr xml output encodings The BZR xml output plugin can use some encodings that are not recognized by expat, which leads to "Error parsing bzr log xml: unknown encoding". This works around the problem by giving expat a mapping, and adds a test. Patch from Tom Vercauteren. See issue #6857. 2009-05-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-15 15:39 king * Modules/CTest.cmake, Source/CTest/cmCTestSubmitCommand.cxx: ENH: Remove CTest public.kitware.com drop default Previously CTest would drop dashboard submissions at public.kitware.com on the PublicDashboard project if there was no configuration. The server no longer supports forwarding to cdash.org, so there is no point in this default. Furthermore, there should be no default at all because it could leak information about proprietary projects that are not configured correctly. 2009-05-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-14 16:13 king * Modules/CTest.cmake, Source/CMakeLists.txt, Source/CTest/cmCTestBZR.cxx, Source/CTest/cmCTestBZR.h, Source/CTest/cmCTestUpdateCommand.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/CTest/cmCTestUpdateHandler.h, Tests/CMakeLists.txt, Tests/CTestUpdateBZR.cmake.in: ENH: Teach CTest to handle Bazaar repositories This creates cmCTestBZR to drive CTest Update handling on bzr-based work trees. Currently we always update to the head of the remote tracking branch (bzr pull), so the nightly start time is ignored for Nightly builds. A later change will address this. Patch from Tom Vercauteren. See issue #6857. 2009-05-14 15:31 alex * Modules/CPackRPM.cmake: STYLE: add documentation for CPackRPM (#9029) Alex 2009-05-14 09:27 king * Source/cmDocumentVariables.cxx: ENH: Make CMAKE__SIZEOF_DATA_PTR public The variable was previously documented for internal-use only. This officially documents it for general use by projects. 2009-05-14 09:27 king * Source/kwsys/kwsysPrivate.h: STYLE: Simplify and document VMS workarounds The kwsysPrivate header double-inclusion check hits a false positive on VMS for an undetermined reason. This simplifies the workaround and documents it. 2009-05-14 09:26 king * Source/kwsys/kwsysPrivate.h: STYLE: Remove trailing whitespace 2009-05-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-13 11:08 hoffman * Source/: cmForEachCommand.cxx, cmWhileCommand.cxx: BUG: fix for #9014, FATAL_ERROR not ending loops 2009-05-13 10:30 king * Source/kwsys/SystemTools.cxx: BUG: Fix removal of read-only directories Read-only directories must be given write permission before we can remove files and subdirectories from them. 2009-05-13 10:30 king * Tests/StringFileTest/CMakeLists.txt: BUG: file(COPY) test should not make read-only dir CMake directory removal code cannot remove content from read-only directories (a separate bug which will be fixed). Therefore we should not create them in the StringFileTest. This tweaks the file(COPY) call to test not giving OWNER_WRITE to files rather than directories. 2009-05-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-12 15:17 alex * Modules/: CMakeEclipseCDT4.cmake, CMakeCodeBlocks.cmake, CMakeKDevelop3.cmake: STYLE: remove these files now that I added them with a more consistent name as CMakeFind.cmake (should have been in the same commit...) Alex 2009-05-12 15:13 alex * Modules/CPackRPM.cmake: BUG: apply patch from Eric Noulard, so cpack works with rpmbuild 4.6.0, #8967 Alex 2009-05-12 15:11 alex * Modules/: CMakeFindCodeBlocks.cmake, CMakeFindEclipseCDT4.cmake, CMakeFindKDevelop3.cmake, CMakeLists.txt, CMakeSystemSpecificInformation.cmake: STYLE: rename the files from CMake.cmake to CMakeFind.cmake, so it is more consistent e.g. with CMakeFindXcode.cmake Alex 2009-05-12 15:06 king * Readme.txt: STYLE: Remove trailing whitespace 2009-05-12 15:03 king * cmake.1: BUG: Remove manual man-page from CMake-SourceFile2-b branch 2009-05-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-11 13:58 king * Source/cmCTest.cxx: COMP: Avoid operator precedence warning GCC warns that parens should be used for nested and/or operators. 2009-05-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-10 16:07 alex * Source/cmSetCommand.cxx: STYLE: cacheStart is used only locally in the if-branch Alex 2009-05-10 06:01 alex * Modules/CTest.cmake: STYLE: first lower-casing the string makes comparing its contents easier Alex 2009-05-10 06:00 alex * Modules/: CMakeCodeBlocks.cmake, CMakeEclipseCDT4.cmake, CMakeKDevelop3.cmake, CMakeSystemSpecificInformation.cmake: ENH: move the code which queries gcc for the system include dirs from CMakeSystemSpecificInformation.cmake into a separate file, CMakeEclipseCDT4.cmake -if CMAKE_EXTRA_GENERATOR is set, i.e. either CodeBlocks or KDevelop3 or EclipseCDT4, load a matching cmake script file, which can do things specific for this generator - added such files for Eclipse, KDevelop and CodeBlocks, one thing they all do is they try to find the respective IDE and store it in the CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable. This could be used by cmake-gui to open the project it just generated with the gui (not sure this is possible with eclipse). Alex 2009-05-10 05:29 alex * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: don't report changed compiler variables if the path to the compiler differs only e.g. a double slash somewhere instead only one slash as directory separator (#8890) Alex 2009-05-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-09 17:25 alex * Source/cmDocumentVariables.cxx: STYLE: document CMAKE_INCLUDE_CURRENT_DIR Alex 2009-05-09 08:15 alex * Modules/: CMakeVS8FindMake.cmake, CMakeVS9FindMake.cmake: ENH: when cross compiling, e.g. for WinCE, don't use VCExpress, since this doesn't support it This is the first patch to add support for WinCE to cmake (#7919) Alex 2009-05-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-07 18:22 hoffman * Source/ctest.cxx: ENH: add docs for command line ctest 2009-05-07 18:20 hoffman * Source/cmCTest.cxx: BUG: 8898 fix date in ctest nightly time 2009-05-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-06 11:21 clinton * Modules/FindQt4.cmake: BUG: Fix spaces in file paths for lupdate command 2009-05-06 09:42 clinton * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: Add support for QtScriptTools in Qt 4.5. 2009-05-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-05-01 10:39 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Remove cmTarget internal type arguments Internally cmTarget was passing the target type in several name computation signatures to support computation of both shared and static library names for one target. We no longer need to compute both names, so this change simplifies the internals by using the GetType method and dropping the type from method signatures. 2009-05-01 10:39 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Remove cmTarget::GetExecutableCleanNames This method was redundant with GetExecutableNames. 2009-05-01 10:38 king * Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: Always imply CLEAN_DIRECT_OUTPUT target prop This property was left from before CMake always linked using full path library names for targets it builds. In order to safely link with "-lfoo" we needed to avoid having both shared and static libraries in the build tree for targets that switch on BUILD_SHARED_LIBS. This meant cleaning both shared and static names before creating the library, which led to the creation of CLEAN_DIRECT_OUTPUT to disable the behavior. Now that we always link with a full path we do not need to clean old library names left from an alternate setting of BUILD_SHARED_LIBS. This change removes the CLEAN_DIRECT_OUTPUT property and instead uses its behavior always. It removes some complexity from cmTarget internally. 2009-05-01 09:45 king * Source/cmTarget.cxx, Source/cmTarget.h, Tests/ExportImport/Export/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Allow more specification of target file names This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME, and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties ARCHIVE_OUTPUT_NAME_, LIBRARY_OUTPUT_NAME_, and RUNTIME_OUTPUT_NAME_. They allow specification of target output file names on a per-type, per-configuration basis. For example, a .dll and its .lib import library may have different base names. For consistency and to avoid ambiguity, the old _OUTPUT_NAME property is now also available as OUTPUT_NAME_. See issue #8920. 2009-05-01 09:45 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Refactor target output file type computation This creates method cmTarget::GetOutputTargetType to compute the output file type 'ARCHIVE', 'LIBRARY', or 'RUNTIME' from the platform and target type. It factors out logic from the target output directory computation code for later re-use. 2009-05-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-29 15:07 king * Modules/UntarFile.cmake: ENH: Teach UntarFile to preserve file timestamps After extracting the tarball in a temporary directory we copy the tree to the destination directory. The 'cmake -E copy_directory' command does not preserve file timestamps, so we use file(COPY) instead. 2009-04-29 14:50 king * Source/cmFileCommand.cxx: COMP: Avoid unused arg warnings in cmFileCommand The default cmFileCopier::ReportCopy implementation is empty, so we should leave out the argument names. 2009-04-29 14:20 king * Source/CTest/cmCTestCVS.cxx: BUG: Remove '-d )" to rename a file or directory within a single disk volume. 2009-04-15 09:57 king * Source/: cmGeneratedFileStream.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Move RenameFile to cmSystemTools This moves the cmGeneratedFileStream::RenameFile method implementation into cmSystemTools. It works only within a single filesystem volume, but is atomic when the operating system permits. 2009-04-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-14 09:35 king * Source/kwsys/: Base64.h.in, Configure.h.in, Configure.hxx.in, FundamentalType.h.in, MD5.h.in, Process.h.in, String.h.in, System.h.in, Terminal.h.in: ENH: Skip KWSys name maros in case of identity All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at configuration time. For ease of editing we write canonical names with the prefix 'kwsys' and use macros to map them to the configured prefix at preprocessing time. In the case of standalone KWSys, the prefix is 'kwsys', so the macros were previously defined to their own names. We now skip defining the macros in the identity case so that the final symbol names are never themselves macros. This will allow the symbols to be further transformed behind the scenes to help linkers in special cases on some platforms. 2009-04-14 00:50 lowman * Modules/CMakeDetermineVSServicePack.cmake: ENH: New function for determining Visual Studio service pack 2009-04-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-11 09:29 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: ENH: remove warning and improve message 2009-04-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-10 13:00 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: ENH: remove cerr call 2009-04-10 12:15 hoffman * Modules/DartConfiguration.tcl.in, Source/CTest/cmCTestSubmitHandler.cxx: ENH: add ability to control ssl cert checking 2009-04-10 11:59 hoffman * CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: allow for shared build of libcurl and fix build with openssl option (ssl tested on linux and windows 2009-04-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-09 13:56 king * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt, Tests/ExternalProject/Step1Patch.cmake: ENH: Allow lists in AddExternalProject arguments The add_external_project function separates its arguments with ';' separators, so previously no command line argument could contain one. When specifying CMAKE_ARGS, some -D argument values may need to contain a semicolon to form lists in the external project cache. This adds add_external_project argument LIST_SEPARATOR to specify a list separator string. The separator is replaced by ';' in arguments to any command created to drive the external project. For example: add_external_project(... LIST_SEPARATOR :: CMAKE_ARGS -DSOME_LIST:STRING=A::B::C ...) passes "-DSOME_LIST:STRING=A;B;C" to CMake for the external project. 2009-04-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-08 16:29 king * Source/cmTarget.cxx, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Export/testLib5.c, Tests/ExportImport/Import/A/CMakeLists.txt, Tests/ExportImport/Import/A/imp_testExe1.c: ENH: Allow IMPORTED_IMPLIB w/o IMPORTED_LOCATION Linking to a Windows shared library (.dll) requires only its import library (.lib). This teaches CMake to recognize SHARED IMPORTED library targets that set only IMPORTED_IMPLIB and not IMPORTED_LOCATION. 2009-04-08 16:28 king * Source/cmTarget.cxx: BUG: Fix imported target config guess When an IMPORTED target provides no generic configuration and no match for a desired configuration then we choose any available configuration. This change corrects the choice when the first listed available configuration does not really have a location. 2009-04-08 09:22 king * Tests/: CTestUpdateCVS.cmake.in, CTestUpdateSVN.cmake.in: ENH: Teach Update* tests to report local mod step The CTest.UpdateCVS/SVN tests report every step with a message. This adds a message for the local modification step. 2009-04-08 09:21 king * Tests/CTestUpdateCVS.cmake.in: ENH: Make UpdateCVS test robust to 1s file time res CVS clients recognize file modifications only if a file's timestamp is newer than its CVS/Entries line. This fixes intermittent failure of the test on filesystems with low timestamp resolution by delaying before creating a local modification. 2009-04-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-07 15:32 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.h, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/kwsys/SystemInformation.cxx, Tests/ExportImport/Import/CMakeLists.txt, Tests/ExportImport/Import/imp_mod1.c, Tests/ExportImport/Import/imp_testExe1.c, Tests/ExportImport/Import/imp_testTransExe1.c, Tests/ExportImport/Import/A/CMakeLists.txt, Tests/ExportImport/Import/A/imp_lib1.c, Tests/ExportImport/Import/A/imp_mod1.c, Tests/ExportImport/Import/A/imp_testExe1.c: ENH: merge in changes for RC 4 2009-04-07 15:31 david.cole * Modules/NSIS.template.in: BUG: Fix issue #8682. Use CPACK_NSIS_DISPLAY_NAME in appropriate places rather than CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two variables (which have the same value by default) allows an easy workaround for issue #7881, too. 2009-04-07 15:13 david.cole * Source/cmLocalGenerator.cxx: BUG: Fix invalid array access discovered during investigation of issue #7832. 2009-04-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-06 14:55 king * Source/kwsys/SystemInformation.cxx: BUG: Fix parsing of linux 2.6 /proc/meminfo format Previously KWSys SystemInformation parsed this file assuming a strict order and set of fields, but the order is not reliable. This generalizes the implementation to support any order and extra fields. 2009-04-06 11:11 hoffman * Tests/ExportImport/Import/imp_testTransExe1.c: file imp_testTransExe1.c was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000 2009-04-06 11:11 hoffman * Tests/ExportImport/Import/A/imp_testExe1.c: file imp_testExe1.c was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000 2009-04-06 11:11 hoffman * Tests/ExportImport/Import/A/imp_mod1.c: file imp_mod1.c was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000 2009-04-06 11:11 hoffman * Tests/ExportImport/Import/A/imp_lib1.c: file imp_lib1.c was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000 2009-04-06 11:11 hoffman * Tests/ExportImport/Import/A/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000 2009-04-06 11:11 king * Tests/ExportImport/Import/: A/CMakeLists.txt, A/imp_lib1.c, A/imp_mod1.c, A/imp_testExe1.c, CMakeLists.txt, imp_mod1.c, imp_testExe1.c, imp_testTransExe1.c: ENH: Test transitive link to subdir-imported lib This tests linking to an imported target that is not visible but is a transitive dependency of a target that is visible. See issue #8843. 2009-04-06 11:10 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG: Lookup transitive link deps in depender scope The transitive link dependencies of a linked target must be followed in its own scope, not in the scope of the original target that depends on it. This is necessary since imported targets do not have global scope. See issue #8843. 2009-04-06 03:39 malaterre * Source/kwsys/testIOS.cxx: BUG: comment out faulty seekp which make kwsys::*stringstream fails on platform with no std::*stringstream implementation 2009-04-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-05 06:55 malaterre * Source/kwsys/testIOS.cxx: ENH: hopefully seekp is the call making kwsys::stringstream behaves oddly on sunos 2009-04-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-03 13:12 david.cole * Source/CPack/cmCPackDragNDropGenerator.cxx: BUG: Fix issue #8759 - add support for setting dmg volume name and compression type by CPack variables. Also add custom .DS_Store and background image support. Thanks to Mike Arthur for the patches. 2009-04-03 11:41 david.cole * Source/cmTest.cxx: BUG: Fix documentation deficiency noted in issue #7885. Thanks to Philip Lowman for the gist of the patch. 2009-04-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-02 06:12 malaterre * Source/kwsys/testIOS.cxx: ENH: trying to reproduce issue on sunos 2009-04-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-04-01 10:31 king * Source/: cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h: ENH: Clarify VERBATIM option documentation The previous wording of the VERBATIM option documentation in the add_custom_command and add_custom_target commands was confusing. It could be interpreted as the opposite of what the option means (no escaping instead of escaping). This clarifies the documentation to explicitly state that it escapes. 2009-04-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-31 16:15 david.cole * Modules/FindVTK.cmake: BUG: Fix issue #8804. Add vtk-5.4 lib path to the FindVTK.cmake module. 2009-03-31 15:30 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: ENH: use 0 not FALSE 2009-03-31 15:24 hoffman * Source/CTest/: cmCTestSubmitHandler.cxx, cmCTestSubmitHandler.h: ENH: add submit via cp mode 2009-03-31 13:50 david.cole * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: STYLE: White space only change to see if continuous is working on new dashboard machine... 2009-03-31 13:16 david.cole * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: STYLE: White space only change to see if continuous is working on new dashboard machine... 2009-03-31 10:28 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.h, Source/CTest/cmCTestSubmitCommand.cxx, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/QCMakeCacheView.cxx: ENH: next RC 2009-03-31 10:27 hoffman * Utilities/Release/vogon_release.cmake: ENH: use a newer cmake 2009-03-31 10:13 king * Modules/AddExternalProject.cmake: BUG: Fix AddExternalProject config command id This fixes the get_configure_command_id function to not mistake CONFIGURE_COMMAND values that run "cmake -P" or "cmake -E" for a CMake project configuration. These values just help run scripts. 2009-03-31 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-30 16:34 clinton * Source/QtDialog/QCMake.cxx: BUG: Fix inconsistency with lowercase drive letters on Windows. 2009-03-30 11:38 king * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject install step This simplifies the implementation with add_external_project_step. 2009-03-30 11:38 king * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject build step This simplifies the implementation with add_external_project_step. 2009-03-30 11:38 king * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject configure step This simplifies the implementation with add_external_project_step. 2009-03-30 11:37 king * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject patch step This simplifies the implementation with add_external_project_step. 2009-03-30 11:37 king * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject update step This simplifies the implementation with add_external_project_step. 2009-03-30 11:37 king * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject download step This simplifies the implementation with add_external_project_step. 2009-03-30 11:36 king * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: ENH: Generalize AddExternalProject step creation This creates function 'add_external_project_step' to centralize creation of external project steps. Users may call it to add custom steps to external project builds. 2009-03-30 11:35 king * Modules/AddExternalProject.cmake: ENH: Factor argument parsing in AddExternalProject The add_external_project function parses its arguments and puts them in properties of the target it creates. This factors out implementation of the behavior for use by other functions in the module. 2009-03-30 11:35 king * Modules/AddExternalProject.cmake: ENH: Teach AddExternalProject a 'complete' step This separates creation of the project completion sentinel file from the 'install' step to allow more steps to be added in between later. 2009-03-30 10:56 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Add version info to about dialog, including Qt version. 2009-03-30 08:27 malaterre * Source/kwsys/testIOS.cxx: COMP: missing string.h header for strlen. 2009-03-30 08:27 king * Source/: cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h: ENH: Document scope of add_custom_command outputs This explicitly states the scope of add_custom_command rules in the documentation of add_custom_command and add_custom_target. See issue #8815. 2009-03-30 04:10 malaterre * Source/kwsys/testIOS.cxx: ENH: remote debugging of sunos 2009-03-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-28 13:02 hoffman * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix line lenght 2009-03-28 10:23 hoffman * Utilities/Release/: vogon_release.cmake, vogon_release_qt.cmake: ENH: change qt to 4.5 2009-03-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-27 21:57 hoffman * Tests/MacroTest/context.cmake: ENH: add missing file to branch 2009-03-27 17:11 alex * Modules/FindAVIFile.cmake: ENH: mark the two variables as advanced -remove unnecessary deault search dirs Alex 2009-03-27 12:33 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for #8686 add some more compiler flags 2009-03-27 11:55 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeSystemSpecificInformation.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCSourceRuns.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckCXXSourceRuns.cmake, Modules/FindBoost.cmake, Source/cmCommandArgumentParserHelper.cxx, Source/cmExtraCodeBlocksGenerator.cxx, Source/cmExtraEclipseCDT4Generator.cxx, Source/cmExtraEclipseCDT4Generator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmIncludeDirectoryCommand.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx, Source/cmProjectCommand.h, Source/cmSourceFile.cxx, Source/cmStringCommand.h, Source/cmTarget.cxx, Tests/MacroTest/CMakeLists.txt, Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/preprocess.c, Tests/Preprocess/preprocess.cxx: ENH: merge in from main tree to create RC 2 2009-03-27 11:18 hoffman * Source/cmGlobalNMakeMakefileGenerator.cxx: ENH: LIBPATH is not required for cl to work 2009-03-27 10:49 hoffman * Utilities/Release/vogon_release.cmake: ENH: fix spaces in path escape 2009-03-27 10:37 hoffman * Utilities/Release/vogon_release.cmake: ENH: use a different cmake 2009-03-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-26 11:42 clinton * Source/QtDialog/QCMakeCacheView.cxx: BUG: Don't return checkable flag for item when in the middle of configure/generate. 2009-03-26 11:04 clinton * Modules/FindQt4.cmake: ENH: Do a recheck of QT_MAC_USE_COCOA when qmake executable changes. 2009-03-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-25 15:29 clinton * Modules/FindQt4.cmake: ENH: Support OUTPUT_LOCATION property for qm files. Fixes #8492. 2009-03-25 10:37 hoffman * Tests/MacroTest/context.cmake: file context.cmake was added on branch CMake-2-6 on 2009-03-28 01:57:34 +0000 2009-03-25 10:36 king * Source/cmCommandArgumentParserHelper.cxx, Tests/MacroTest/CMakeLists.txt, Tests/MacroTest/context.cmake: BUG: Fix CMAKE_CURRENT_LIST_FILE in macros The value of CMAKE_CURRENT_LIST_FILE is supposed to be the list file currently being executed. Before macros were introduced this was always the context of the argument referencing the variable. Our original implementation of macros replaced the context of command arguments inside the macro with that of the arguments of the calling context. This worked recursively, but only worked when macros had at least one argument. Furthermore, it caused parsing errors of the arguments to report the wrong location (calling context instead of line with error). The commit "Improve context for errors in macros" fixed the latter bug by keeping the lexical context of command arguments in macros. It broke evaluation of CMAKE_CURRENT_LIST_FILE because the calling context was no longer preserved in the argument referencing the variable. However, since our list file processing now maintains the proper value of CMAKE_CURRENT_LIST_FILE with dynamic scope we no longer need the context of the argument and can just evaluate the variable normally. 2009-03-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-23 15:46 hoffman * CMakeLists.txt: ENH: put an rc number other than 0 in 2009-03-23 14:48 king * Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/preprocess.c, Tests/Preprocess/preprocess.cxx: ENH: Support preprocessor def values in VS6 The add_definitions() command and COMPILE_DEFINITIONS dir/tgt/src properties support preprocessor definitions with values. Previously values were not supported in the VS6 generator even though the native tool supports them. It is only values with spaces that VS6 does not support. This enables support and instead complains only for values with spaces. See issue #8779. 2009-03-23 14:04 hoffman * Tests/: CMakeTests/GetFilenameComponentRealpathTest.cmake.in, Fortran/include/test_preprocess.h: ENH: add missing files 2009-03-23 13:58 hoffman * CMakeLists.txt, ChangeLog.manual, Docs/cmake-mode.el, Modules/CMakeASMInformation.cmake, Modules/Platform/Darwin-icc.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/UnixPaths.cmake, Source/cmCPluginAPI.cxx, Source/cmDependsFortran.cxx, Source/cmDependsFortranParser.cxx, Source/cmDependsFortranParser.y, Source/cmDocumentVariables.cxx, Source/cmDocumentationFormatterMan.cxx, Source/cmFileCommand.cxx, Source/cmGetFilenameComponentCommand.cxx, Source/cmGetFilenameComponentCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakeDepend.cxx, Source/cmMakeDepend.h, Source/cmMakefile.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Source/cmake.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Tests/CMakeTests/CMakeLists.txt, Tests/Fortran/CMakeLists.txt, Tests/Fortran/test_preprocess.F90: ENH: check in changes to branch, most importantly the header file do not compile fix 2009-03-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-22 17:13 lowman * Modules/FindGTK2.cmake: ENH: NEW: FindGTK2 module 2009-03-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-20 23:52 lowman * Modules/FindBoost.cmake: BUG: LIST(REMOVE_ITEM...) was being called on a variable that could be empty. 2009-03-20 14:19 king * Source/CTest/: cmCTestUpdateCommand.h, cmCTestUpdateHandler.cxx: BUG: Fix return value of ctest_update The CTest version control refactoring broke the value returned for the ctest_update command's RETURN_VALUE argument. The value is supposed to be the number of files updated, but the refactoring accidentally made it the number of locally modified files after the update. 2009-03-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-19 22:48 fbertel * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in: COMP:Fixed warnings with gcc 4.3.2. 2009-03-19 15:44 clinton * Modules/FindQt4.cmake: BUG: Need to fix find of qtmain library when qmake executable is changed. 2009-03-19 11:48 fbertel * Source/kwsys/CommandLineArguments.cxx: COMP:Try to fix error on HP. 2009-03-19 10:53 king * Source/cmTarget.cxx: ENH: Mention CMAKE_* variables in RPATH properties The RPATH target properties are initialized by CMAKE_ variables at target creation time. This notes the feature in the property documentation. It is already noted in the variable documentation. 2009-03-19 10:03 fbertel * Source/kwsys/RegularExpression.hxx.in: COMP:try to fix error on qnx-V3.3.5-gcc_ntox86. 2009-03-19 09:20 fbertel * Source/kwsys/CommandLineArguments.cxx: COMP:Fixed warnings. 2009-03-19 09:09 fbertel * Source/kwsys/RegularExpression.hxx.in: COMP:Fixed VS 64-bit warning C4267 line 432 of RegularExpression.cxx 2009-03-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-18 11:01 king * Modules/AddExternalProject.cmake: STYLE: Reminder note for add_external_project work 2009-03-18 11:00 king * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt, Tests/ExternalProject/Step1Patch.cmake: ENH: Add patch step for add_external_project The patch step runs parallel to the update step since it does not make sense to have both. Configuration of the step requires specification of a PATCH_COMMAND argument to add_external_project. 2009-03-18 11:00 king * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: ENH: Improve add_external_project interface This rewrites the keyword/argument parsing and handling in the AddExternalProject module to use arguments more literally: - The strict keyword-value pairing is gone in favor of keywords with arbitrary non-keyword values. This avoids requiring users to escape spaces and quotes in command lines. - Customized step command lines are now specified with a single keyword _COMMAND instead of putting the arguments in a separate entry (previously called _ARGS). - Build step custom commands now use VERBATIM mode so that arguments are correctly escaped on the command line during builds. 2009-03-18 08:50 fbertel * Source/kwsys/SystemTools.cxx: COMP:Fixed warnings. 2009-03-18 07:57 fbertel * Source/kwsys/RegularExpression.cxx: STYLE:Empty commit just add information about rev 1.15: the reason is that long is 64-bit on gcc on Linux because it uses the LP64 data model whereas long is 32-bit on VS 64-bit because it uses the LLP64 model (ref: http://en.wikipedia.org/wiki/64-bit#64-bit_data_models ) 2009-03-18 07:32 fbertel * Source/kwsys/RegularExpression.cxx: COMP:Fix warning on VS 64bit. Don't why gcc 4.3.2 didn't catch this one on a 64bit machine with -Wconversion on. 2009-03-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-17 15:11 king * Source/cmLocalGenerator.cxx: BUG: Allow more shell ops in custom commands This extends the set of common shell operators to include "||", "&&", "1>", and "2>". See issue #6868. 2009-03-17 15:10 king * Source/cmForEachCommand.cxx, Source/cmForEachCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: New foreach( IN ...) mode This creates a new mode of the foreach command which allows precise iteration even over empty elements. This mode may be safely extended with more keyword arguments in the future. The cost now is possibly breaking scripts that iterate over a list of items beginning with 'IN', but there is no other way to extend the syntax in a readable way. 2009-03-17 10:48 fbertel * Source/kwsys/: Glob.cxx, RegularExpression.cxx, RegularExpression.hxx.in: COMP:Fixed warnings. 2009-03-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-16 22:28 lowman * Modules/FindBoost.cmake: BUG: Eliminates detection of Boost system library prior to 1.35 (see issue #8734) 2009-03-16 17:38 fbertel * Source/kwsys/ProcessUNIX.c: COMP:Try to fix compile error with qnx gcc. 2009-03-16 17:13 fbertel * Source/kwsys/ProcessUNIX.c: COMP:Fixed gcc 4.3.2 warning with -O1 and above: ignoring return value of read'), declared with attribute warn_unused_result 2009-03-16 16:55 king * Modules/CMakeGenericSystem.cmake, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmake.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Allow projects to disable per-rule echo lines This creates global property RULE_MESSAGES which can be set to disbale per-rule progress and action reporting. On Windows, these reports may cause a noticable delay due to the cost of starting extra processes. This feature will allow scripted builds to avoid the cost since they do not need detailed information anyway. This replaces the RULE_PROGRESS property created earlier as it is more complete. See issue #8726. 2009-03-16 16:55 king * Source/cmMakefileLibraryTargetGenerator.cxx: STYLE: Separate unrelated logic This separates unrelated uses of a library-type switch into separate switches. An upcoming commit will conditionally enter one of the switches. 2009-03-16 16:22 king * Modules/CMakeGenericSystem.cmake, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmake.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Allow projects to disable per-rule progress This creates global property RULE_PROGRESS which can be set to disbale per-rule progress reporting. On Windows, progress reports may cause a noticable delay due to the cost of starting an extra process. This feature will allow scripted builds to avoid the cost since they do not need detailed progress anyway. See issue #8726. 2009-03-16 16:22 king * Source/: cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Factor out makefile progress rule commands This factors duplicate progress rule code into a common method. 2009-03-16 15:02 fbertel * Source/kwsys/ProcessUNIX.c: COMP:Fixed warnings. 2009-03-16 14:30 king * Source/: cmCPluginAPI.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmSourceFile.cxx: BUG: Do not automatically set HEADER_FILE_ONLY Long ago the native build system generators needed HEADER_FILE_ONLY to be set on header files to stop them from building. The modern generators correctly handle headers without the help of this property. This removes automatic setting of the property so that it can be used reliably as an indicator of project author intention. It fixes VS IDE project files to show header files normally instead of excluded (broken by the fix for issue #7845). 2009-03-16 14:30 king * Source/: cmMakeDepend.cxx, cmMakeDepend.h: ENH: Remove unused code from cmMakeDepend This class is the old-style dependency scanner. It is needed only to implement the output_required_files command. This change removes some code not needed for that purpose, including a reference to the HEADER_FILE_ONLY property. 2009-03-16 10:51 king * Source/cmAddTestCommand.cxx, Source/cmAddTestCommand.h, Source/cmTest.cxx, Source/cmTest.h, Source/cmTestGenerator.cxx, Source/cmTestGenerator.h, Tests/Testing/CMakeLists.txt, Tests/Testing/perconfig.c: ENH: Add NAME mode to ADD_TEST command This creates command mode add_test(NAME ...). This signature is extensible with more keyword arguments later. The main purpose is to enable automatic replacement of target names with built target file locations. A side effect of this feature is support for tests that only run under specific configurations. 2009-03-16 10:42 king * Source/: cmAddTestCommand.cxx, cmTest.cxx, cmTest.h, cmTestGenerator.cxx: ENH: Refactor storage of test command lines We used to separate the command executable from its argument vector. It is simpler to just store the whole command line in one vector. 2009-03-16 10:40 king * Source/CMakeLists.txt, Source/cmAddTestCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTestGenerator.cxx, Source/cmTestGenerator.h, bootstrap: ENH: Refactor generation of CTestTestfile content This moves code which generates ADD_TEST and SET_TESTS_PROPERTIES calls into CTestTestfile.cmake files out of cmLocalGenerator and into a cmTestGenerator class. This will allow more advanced generation without cluttering cmLocalGenerator. The cmTestGenerator class derives from cmScriptGenerator to get support for per-configuration script generation (not yet enabled). 2009-03-16 10:39 king * Source/CMakeLists.txt, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmScriptGenerator.cxx, Source/cmScriptGenerator.h, bootstrap: ENH: Refactor cmInstallGenerator for re-use A new cmScriptGenerator base class factors out the non-install-specific part of cmInstallGenerator. This will be useful for other generators that want per-configuration functionality. 2009-03-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-13 17:04 alex * Source/cmExtraEclipseCDT4Generator.cxx: ENH: don't enforce VERBOSE Makefiles, but set the env. var VERBOSE to 1 in when make is executed from within Eclipse. This way when building from the command line one can build also in non-verbose mode. Alex 2009-03-13 16:52 alex * Modules/CMakeSystemSpecificInformation.cmake, Source/cmExtraEclipseCDT4Generator.cxx, Source/cmExtraEclipseCDT4Generator.h: ENH: when using the Eclipse project generator, run gcc so that it tells us its system include directories. These are catched in CMakeSystemSpecificInformation.cmake (only with the Eclipse generator) and then written by the Eclipse generator in the Eclipse project file. This way Eclipse can find the standard headers (#7585) Not sure CMakeSystemSpecificInformation.cmake is the best place to do this. Alex 2009-03-13 14:58 alex * Source/cmStringCommand.h: STYLE: add line breaks to the documentation for CMAKE_MATCH_(0..9), otherwise one might miss this information Alex 2009-03-13 10:53 king * Source/cmCacheManager.cxx: BUG: Document internal cache property MODIFIED All cmake-defined properties should be documented, even if they are internal. This fixes the DocTest when CMAKE_STRICT is enabled. 2009-03-13 10:53 king * Source/: cmCacheManager.cxx, cmCacheManager.h, cmake.cxx: BUG: Fix cache properties for CMAKE_STRICT build All cmPropertyMap instances must have CMakeInstance set. This teaches cmCacheManager to set it on cache entries. 2009-03-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-12 21:06 lowman * Modules/FindBoost.cmake: STYLE: Moved functions/macros to top of file so main is more readable. 2009-03-12 19:24 alex * Source/cmIncludeDirectoryCommand.cxx: BUG: fix #8704, sometimes crash if include_directories() is called with a whitespace string Alex 2009-03-12 18:43 alex * Source/cmProjectCommand.h: STYLE: document NONE for disabling any languages, slightly change wording of the rest of the documentation, so it is more similar to ENABLE_LANGUAGE() (#8718) Alex 2009-03-12 14:54 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: ENH: allow for https submission if ctest is built with a curl that supports it 2009-03-12 13:11 king * Source/cmCacheManager.cxx: COMP: Do not use void returns VS 6 does not support the C++ void returns feature. This removes an accidental use of it. 2009-03-12 11:19 clinton * Source/QtDialog/: QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h, QCMakeWidgets.h: ENH: Add support for showing combo box for choosing from a list of strings that a cache property can have. 2009-03-12 10:52 king * Source/: cmCacheManager.cxx, cmSetPropertyCommand.cxx: ENH: Define STRINGS cache entry property This property defines a list of values for a cache entry of type STRING. A CMake GUI may optionally use a drop-down selection widget for the entry instead of a generic text entry field. We do not enforce that the value of the entry match one of the strings listed. 2009-03-12 10:49 king * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Refactor cache entry writing and reading This factors out duplicated code into reusable methods, thus simplifying writing and reading of cache entry help strings, keys, values, and properties. 2009-03-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-11 18:13 alex * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake, CheckCXXSourceCompiles.cmake, CheckCXXSourceRuns.cmake: STYLE: fix documentation: the second short description discarded the first one, but the first one was the correct one (i.e. the one which mentioned that CheckC[XX]SourceRuns.cmake also tries to run the executable) Alex 2009-03-11 13:31 king * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Do not produce empty coverage log files This moves the filtering of source files to before the production of coverage log files in order to avoid producing a CoverageLog-*.xml file for 100 filtered-out files. The change greatly reduces the number of submitted coverage files when using label filters. 2009-03-11 13:31 king * Source/: CTest/cmCTestCoverageHandler.cxx, cmCTest.h: BUG: Do not carry over file list between coverage When performing multiple ctest_coverage() commands in a single CTest instance we need to clear the list of CoverageLog-*.xml files for submission. Otherwise if the current coverage run produces fewer log files than the previous run CTest will attempt to submit non-existing files. 2009-03-11 12:03 king * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: BUG: Avoid duplicate CTest coverage submission This teaches ctest_coverage() to remove any existing CoverageLog-*.xml when it creates new coverage results. Otherwise the next ctest_submit() may submit old coverage log files which unnecessarily. 2009-03-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-10 17:34 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: only check for the existance of a header file if: -the original file is a C/C++ implementation file -the header file is not already part of the sources Alex 2009-03-10 11:11 king * Source/: cmCacheManager.cxx, cmCacheManager.h, cmDocumentation.cxx, cmake.cxx: ENH: Document CACHE entry properties This adds a property documentation section for CACHE properties. We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties. 2009-03-10 11:10 king * Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmGetPropertyCommand.cxx, Source/cmGetPropertyCommand.h, Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h, Tests/Properties/CMakeLists.txt: ENH: Teach set/get_property about CACHE properties This adds the CACHE option to set_property and get_property commands. This allows full control over cache entry information, so advanced users can tweak their project cache as desired. The set_property command allows only pre-defined CACHE properties to be set since others would not persist anyway. 2009-03-10 11:10 king * Source/: cmCacheManager.cxx, cmCacheManager.h, cmProperty.h, cmPropertyDefinitionMap.cxx: ENH: Use cmPropertyMap for cache properties This re-implements cache entry property storage in cmCacheManager to use cmPropertyMap so it can share the standard property implementation. 2009-03-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-09 17:57 king * Source/cmGetPropertyCommand.cxx: BUG: Fix get_property result for bad property When a property does not exist we are supposed to return an empty value. Previously if a property did not exist we just left the value of the output variable unchanged. This teaches CMake to remove the definition of the output variable in this case. 2009-03-09 12:19 king * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Efficiently filter CTest coverage by label This teaches CTest to process coverage information only for object files in targets containing labels of interest. This change also improves loading of global coverage information by globbing only in each target support directory instead of the entire build tree. 2009-03-09 12:19 king * Source/: CTest/cmCTestCoverageHandler.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, CTest/cmCTestCoverageHandler.h: ENH: Generate a central list of target directories This generalizes the previous CMakeFiles/LabelFiles.txt created at the top of the build tree to a CMakeFiles/TargetDirectories.txt file. It lists the target support directories for all targets in the project. Labels can still be loaded by looking for Labels.txt files in each target directory. 2009-03-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-08 15:33 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: automatically add headers of implementation file to the codeblocks project file Alex 2009-03-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-06 14:29 david.cole * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: STYLE: White space only change to see if continuous is working on new dashboard machine... 2009-03-06 12:06 king * Source/: cmMessageCommand.cxx, cmMessageCommand.h: BUG: Fix message(SEND_ERROR) to continue During testing of the new message() signatures I mistakenly concluded that SEND_ERROR stops processing. The corresponding commit enforced this wrong behavior. This restores the correct behavior and fixes the documentation accordingly. 2009-03-06 10:04 king * Source/cmMessageCommand.cxx, Source/cmMessageCommand.h, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/MessageTest.cmake.in, Tests/CMakeTests/MessageTestScript.cmake: ENH: Teach message() how to display warnings This adds message(WARNING) and message(AUTHOR_WARNING) command modes and fully documents the command behavior in all modes. 2009-03-06 10:01 king * Source/cmDocumentationFormatterMan.cxx: BUG: Fix man-page preformatted text paragraphing Man page preformatted text needs an extra newline after the ending marker to create a paragraph break. This bug was introduced by the patch from issue #7797 to place explicit ".nf" and ".fi" markers around preformatted blocks. 2009-03-06 09:14 king * Source/cmFileCommand.cxx: ENH: Teach file(REMOVE) how to use relative paths This teaches the command to interpret relative paths with respect to the location of the invoking CMakeLists.txt file. The convention is already used by most commands and won't change the behavior in script mode. 2009-03-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-05 15:17 king * CMakeCPack.cmake, CMakeLists.txt, bootstrap, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCacheManager.cxx, Source/cmConfigure.cmake.h.in, Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx, Source/cmStandardIncludes.h, Source/cmVersion.cxx, Source/cmVersion.h, Source/cmVersionConfig.h.in, Source/cmVersionMacros.h, Source/cmake.cxx, Source/CursesDialog/cmCursesLongMessageForm.cxx, Source/CursesDialog/cmCursesMainForm.cxx, Source/QtDialog/CMakeSetup.cxx, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/VersionTest.cmake.in: ENH: Overhaul CMake version numbering This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "..[-rc]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions. 2009-03-05 13:57 king * Source/: cmake.cxx, cmake.h: STYLE: Remove unused cmake::CacheVersionMatches This remove the method completely since nothing uses it. 2009-03-05 10:17 king * Source/CTest/: cmCTestCoverageCommand.cxx, cmCTestCoverageCommand.h: BUG: Initialize ctest_coverage command ivar This initializes the LabelsMentioned ivar in cmCTestCoverageCommand. 2009-03-05 10:08 david.cole * Modules/CPack.cmake: STYLE: Use $ style variable dereference instead of @ style. 2009-03-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-04 15:39 king * Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Tests/CMakeBuildTest.cmake.in: ENH: Cleanup cmake --build interface. This cleans up the 'cmake --build' command-line interface: - Rename --clean to --clean-first to better describe it. - Replace --extra-options with a -- separator to simplify passing of multiple native build tool options. - Document the options in the main CMake man page description of the --build option, and shares this with the usage message. - Require --build to be the first argument when present. - Move implementation into cmakemain where it belongs. 2009-03-04 15:38 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: Extend GG::Build method for pre-parsed args This adds an argument to the cmGlobalGenerator::Build method to pass a vector of arguments for the native build tool programatically. 2009-03-04 12:30 hoffman * Modules/CPack.background.png.in: ENH: add file back bug use cmake image 2009-03-04 11:45 king * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: ENH: Better recursive make in AddExternalProject This teaches AddExternalProject to run "$(MAKE)" for build and install steps of CMake-based external projects when using a Makefile generator. It allows the external project to participate in a parallel make invoked on the superproject. 2009-03-04 11:24 hoffman * Source/CTest/cmCTestScriptHandler.cxx: BUG: make sure error condition is reset before loading scripts 2009-03-04 09:21 king * Modules/AddExternalProject.cmake: ENH: Allow empty arguments in external project API This uses the get_property command to simplify property lookup in the AddExternalProject module. It distinguishes for build and install argument properties the cases of unset and set to empty. 2009-03-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-03 07:56 hoffman * Modules/CPack.background.png.in: ENH: remove unused file 2009-03-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-02 21:09 lowman * Modules/FindBoost.cmake: STYLE: Fix documentation bug regarding Boost__LIBRARY (COMPONENT should be uppercase). 2009-03-02 20:29 lowman * Modules/FindCxxTest.cmake: ENH: Detect perl & python scripts based on CXXTEST_INCLUDE_DIR (patch from Tyler Roscoe on mailing list). 2009-03-02 16:27 king * Source/cmXMLSafe.cxx: BUG: Avoid encoding invalid XML chars in CTest CTest encodes test and tool output in XML for dashboard submission. This fixes the XML encoding implementation to not encode an invalid character and instead put a human-readable tag in its place. See issue #8647. 2009-03-02 16:02 king * Source/cmake.cxx: BUG: Gracefully handle broken version symlinks This teaches the helper commands 'cmake -E cmake_symlink_executable' and 'cmake -E cmake_symlink_library' to remove broken symlinks before creating a symlink and report an error when the symlink cannot be created. See issue #8654. 2009-03-02 15:33 king * Source/CTest/: cmCTestCoverageCommand.cxx, cmCTestCoverageCommand.h, cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Teach ctest_coverage to filter with LABELS This teaches ctest_coverage() to report only coverage of files labeled with at least one label given by a new LABELS option. 2009-03-02 15:33 king * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix coverage label reports for Bullseye This teaches CTest to report Labels elements in the Coverage.xml file for Bullseye coverage results. 2009-03-02 15:32 king * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix coverage handler initialization This resets coverage handler internal state on initialization so that multiple coverage runs are independent. 2009-03-02 09:59 king * Source/cmXMLSafe.cxx: BUG: Hack for issue #8647 2009-03-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-03-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-27 16:28 hoffman * Source/CTest/cmCTestTestHandler.cxx: BUG: #8611 add pass fail reasons into log file 2009-02-27 13:08 king * Modules/CMakeASMInformation.cmake: BUG: Fix ASM source file extension default list This replaces @ASM_DIALECT@ syntax with ${ASM_DIALECT} syntax so it will be replaced correctly. Patch from Derek Bruening. See issue #8639. 2009-02-27 12:59 king * Source/cmMakefileTargetGenerator.cxx: BUG: Pass shared library export symbol in DEFINES The _EXPORTS macro defined for object files when built in a shared library should be put in the make rule replacement and not . Also, it should honor the platform variable CMAKE__DEFINE_FLAG. See issue #8107. 2009-02-27 11:23 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmMakefile.cxx: ENH: Enforce unique binary directories The second argument of add_subdirectory must name a unique binary directory or the build files will clobber each other. This enforces uniqueness with an error message. 2009-02-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-26 13:28 king * Docs/cmake-mode.el: BUG: Fix cmake-mode.el indentation cursor motion This makes cursor motion in the indent function consistent with emacs conventions. Patch from Mike Wittman. See issue #8625. 2009-02-26 09:22 king * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Refactor initial checkout into cmCTestVC This adds cmCTestVC::InitialCheckout and uses it in cmCTestUpdateHandler to run the initial checkout command. The new implementation logs the command in the update log consistently with the rest of the new update implementation. 2009-02-26 09:22 king * Tests/: CTestUpdateCVS.cmake.in, CTestUpdateCommon.cmake, CTestUpdateSVN.cmake.in: ENH: Extend CTest.UpdateSVN to test local mods This teaches the test to create local modifications in the work tree before updating. 2009-02-26 09:16 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: BUG: Use new include dir suppresson for all gens This fixes CMAKE__IMPLICIT_INCLUDE_DIRECTORIES to be used for all generators instead of just those that construct their own compiler command lines directly. See issue #8598. 2009-02-26 08:49 king * Source/cmLocalGenerator.cxx: ENH: Simplify reverse cmLocalGenerator::Convert It does not make sense to call the reverse Convert signature (for remote paths corresponding to CMake-managed directories) with NONE or FULL since they have no path. Patch from Modestas Vainius. See issue #7779. 2009-02-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-25 17:17 miguelf * Modules/FindwxWidgets.cmake: BUG: Fix copy/paste error in previous commit that references wrong variable (wxWidgets_INCLUDE_DIRS instead of wxWidgets_DEFINITIONS). 2009-02-25 16:29 alex * Modules/FindQt4.cmake: ENH: add patch from Debian, which adds support lrelease-qt4 and lupdate-qt4 http://patch-tracking.debian.net/patch/series/view/cmake/2.6.3-1/FindQt4_qt4_lupdate_lrelease.diff Alex 2009-02-25 15:45 king * Source/CTest/: cmCTestSVN.cxx, cmCTestVC.h: COMP: Fix cmCTestVC member access for HP compiler The HP C++ compiler needs some help to allow access to some member classes of cmCTestVC. 2009-02-25 14:42 king * Source/CTest/: cmCTestCVS.cxx, cmCTestCVS.h, cmCTestSVN.cxx, cmCTestSVN.h, cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Rewrite CTest Update implementation This adds a new VCS update implementation to the cmCTestVC hierarchy and removes it from cmCTestUpdateHandler. The new implementation has the following advantages: - Factorized implementation instead of monolithic function - Logs vcs tool output as it is parsed (less memory, inline messages) - Uses one global svn log instead of one log per file - Reports changes on cvs branches (instead of latest trunk change) - Generates simpler Update.xml (only one Directory element per dir) Shared components of the new implementation appear in cmCTestVC and may be re-used by subclasses for other VCS tools in the future. 2009-02-25 11:44 king * Modules/Platform/UnixPaths.cmake, Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx: ENH: Re-enable system include dir suppression This creates variable CMAKE__IMPLICIT_INCLUDE_DIRECTORIES to specify implicit include directories on a per-language basis. This replaces the previous platform-wide variable. It is necessary to avoid explicit specification of -I/usr/include on some compilers (such as HP aCC) because: 1.) It may break ordering among system include directories defined internally by the compiler, thus getting wrong system headers. 2.) It tells the compiler to treat the system include directory as a user include directory, enabling warnings in the headers. See issue #8598. 2009-02-25 09:20 king * Source/CTest/cmCTestVC.cxx: COMP: Fix cmCTestVC char[]->string Borland warning The Borland compiler warns about returning a char[] from a function with return type std::string without an explicit construction. 2009-02-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-24 17:23 hoffman * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: add a CDash measured value showing the reason for passed and failed tests based on regular expressions 2009-02-24 17:07 king * Utilities/CMakeLists.txt: BUG: Fix cmake-gui docs generation PATH feature Automatic addition of the Qt DLL location to PATH can be done only for generators that use a Windows shell. 2009-02-24 16:49 miguelf * Modules/: FindwxWidgets.cmake, UsewxWidgets.cmake: BUG: Using PROPERTY COMPILE_DEFINITIONS_DEBUG to support Debug only preprocessor options (e.g., _DEBUG __WXDEBUG__). 2009-02-24 15:43 king * Source/: cmXMLParser.cxx, cmXMLParser.h: ENH: Added cmXMLParser::FindAttribute method This method will help subclasses look for element attributes in their StartElement methods. 2009-02-24 15:43 king * Source/: cmXMLParser.cxx, cmXMLParser.h: ENH: Allow cmXMLParser subclasses to report errors This tells cmXMLParser to report error messages through virtual method cmXMLParser::ReportError so that subclasses can override the default report. 2009-02-24 15:43 king * Source/CTest/: cmCTestSVN.cxx, cmCTestSVN.h: ENH: Teach cmCTestSVN to load repo/tree relation This teaches cmCTestSVN::NoteNewRevision to save the repository URL checked out in the work tree, the repository root, and the path below the root to reach the full URL. 2009-02-24 15:43 king * Source/: cmCTest.cxx, cmCTest.h: ENH: Add cmCTest::DecodeURL method This new method decodes the "percent-encoding" used in URL syntax. 2009-02-24 15:37 king * Modules/Platform/Darwin-icc.cmake, Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Remove implicit include dir suppression We used to suppress generation of -I/usr/include (and on OSX also -I/usr/local/include). This behavior seems to cause more trouble than it's worth, so I'm removing it until someone encounters the original problem it fixed. See issue #8598. 2009-02-24 14:32 hoffman * Tests/Fortran/include/test_preprocess.h: file test_preprocess.h was added on branch CMake-2-6 on 2009-03-23 18:04:12 +0000 2009-02-24 14:32 king * Tests/Fortran/: CMakeLists.txt, test_preprocess.F90, include/test_preprocess.h: ENH: Test included header in Fortran preprocessing This extends the Fortran preprocessing test to include a header file through a preprocessor directive. 2009-02-24 14:32 king * Source/cmDependsFortran.cxx: BUG: Fix Fortran implicit dependency include path The previous change to Source/cmDependsFortran.cxx while refactoring implicit dependency scanning configuration rules completely broke loading of the include file search path while scanning Fortran dependencies. This adds the line that should have been added during the previous change to load the include path correctly. 2009-02-24 12:52 king * Source/CTest/: cmCTestSVN.cxx, cmCTestSVN.h, cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Factor out VCS work tree revision checks This moves checks of the work tree revision before and after update from cmCTestUpdateHandler::ProcessHandler into the cmCTestVC hierarchy. 2009-02-24 12:50 king * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Factor out nightly start time computation Move generation of the nightly start time string from cmCTestUpdateHandler::ProcessHandler into cmCTestVC. 2009-02-24 12:50 king * Source/CTest/: cmCTestSVN.cxx, cmCTestSVN.h, cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Factor out svn work tree cleanup This removes work tree cleanup from cmCTestUpdateHandler and adds an interface for it in cmCTestVC with an implementation in cmCTestSVN. 2009-02-24 12:49 king * Source/CTest/: cmCTestVC.cxx, cmCTestVC.h: ENH: Create cmCTestVC::RunChild and parse helpers This method will help VCS tool subclasses run child processes and log the output while parsing it. 2009-02-24 11:41 king * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallDirectoryGenerator.cxx, Source/cmInstallDirectoryGenerator.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add install(DIRECTORY) option 'OPTIONAL' This adds the OPTIONAL option to the install(DIRECTORY) command. It tells the installation rule that it is not an error if the source directory does not exist. See issue #8394. 2009-02-24 11:41 king * Source/cmInstallCommand.cxx: ENH: Refactor install(DIRECTORY) argument parsing We previously used several booleans with at most one set to true at a time to track argument parsing state. This refactors it to use one enumeration. 2009-02-24 11:08 king * Source/cmProcessTools.h: COMP: cmProcessTools::OutputParser virtual dtor This class has virtual methods and therefore should have a virtual destructor. 2009-02-24 10:40 king * Source/: CMakeLists.txt, cmProcessTools.cxx, cmProcessTools.h: ENH: Create cmProcessTools to parse child output This class provides a RunProcess method to run a child process and send its output to an abstract parsing interface. This also provides a simple line parser and logger implementing the parsing interface. 2009-02-24 10:39 king * Source/: CMakeLists.txt, CTest/cmCTestCVS.cxx, CTest/cmCTestCVS.h, CTest/cmCTestSVN.cxx, CTest/cmCTestSVN.h, CTest/cmCTestUpdateHandler.cxx: ENH: Add cmCTestCVS and cmCTestSVN These cmCTestVC subclasses will implement interaction with CVS and SVN tools. 2009-02-24 10:39 king * Source/: CMakeLists.txt, CTest/cmCTestVC.cxx, CTest/cmCTestVC.h: ENH: Create cmCTestVC for VCS interaction This creates cmCTestVC, the base for a forthcoming class hierarchy to interact with version control systems. 2009-02-24 09:34 david.cole * Source/CPack/cmCPackDragNDropGenerator.cxx: STYLE: Fix line length violation. 2009-02-24 09:09 king * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h: ENH: Factor out VCS tool detection In cmCTestUpdateHandler, this factors out version control tool detection from the monolithic cmCTestUpdateHandler::ProcessHandler to separate methods. This also places priority on detection of the tool managing the source tree since using any other tool will cause errors. 2009-02-24 09:09 king * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h: ENH: Factor out initial checkout method This moves the initial checkout code from the monolithic cmCTestUpdateHandler::ProcessHandler to a separate method cmCTestUpdateHandler::InitialCheckout. 2009-02-24 09:00 king * Utilities/CMakeLists.txt: ENH: Help cmake-gui docs generation on Windows We use a custom command to run 'cmake-gui --help...' to generate the documentation for the application. Since this is a Qt application, the executable must find the Qt DLLs in order to run. As a convenience, if QtCore4.dll appears next to qmake.exe, we put its location in the PATH environment variable when running the custom command on Windows. 2009-02-24 00:49 lowman * Modules/FindBoost.cmake: BUG: Fix issue #8576 FindBoost regression finding static libs, impacts MinGW and Intel/Windows compilers. 2009-02-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-23 16:54 king * Tests/CTestUpdateCommon.cmake: BUG: Fix CTest.UpdateCVS/SVN tests for win slashes This fixes the tests to allow windows slashes in reported file names in the generated Update.xml file. 2009-02-23 15:59 king * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Refactor quoting of VCS tool command Previously we pre-quoted the command line tool path. This avoids it by quoting the command everywhere it is used, thus preserving access to the original, unquoted command. 2009-02-23 15:59 king * Tests/CTestUpdateSVN.cmake.in: ENH: Test svn updates with space in author name This enhances the CTest.UpdateSVN test with a space in the test author name. It will check that author name parsing works correctly. 2009-02-23 15:59 king * Tests/: CTestUpdateCVS.cmake.in, CTestUpdateCommon.cmake, CTestUpdateSVN.cmake.in: ENH: Enhance CTest.UpdateCVS/SVN tests This adds a source tree subdirectory to the content of the test projects. It also smoke tests more than one revision worth of changes. 2009-02-23 15:58 king * Tests/CTestUpdateCommon.cmake: ENH: Better failure output from CTest.Update* This teaches CTestUpdateCommon to report the process exit condition from failed child processes executed during tests. 2009-02-23 13:25 david.cole * Source/CPack/cmCPackDragNDropGenerator.cxx: ENH: Add license file presentation to the Drag-N-Drop dmg file CPack generator. Fixes issue #8442. Thanks to Clinton Stimpson for the patch. 2009-02-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-21 14:43 hoffman * Source/QtDialog/CMakeSetup.cxx: BUG: make sure you can build cmake without an X server 2009-02-21 14:38 hoffman * Source/QtDialog/CMakeSetup.cxx: BUG: make sure the gui still runs... 2009-02-21 14:23 hoffman * Source/QtDialog/CMakeSetup.cxx: BUG: make sure an x server is not required for the build 2009-02-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-20 15:51 king * Source/CTest/: cmCTestBuildCommand.h, cmCTestConfigureCommand.h, cmCTestCoverageCommand.h, cmCTestHandlerCommand.h, cmCTestMemCheckCommand.h, cmCTestTestCommand.h: ENH: Document APPEND option in ctest_* commands This adds documentation of the APPEND option to the configure, build, test, memcheck, and coverage commands. The docs leave specific semantics for the dashboard server to define. 2009-02-20 15:50 king * Source/CTest/: cmCTestBuildCommand.h, cmCTestConfigureCommand.h, cmCTestCoverageCommand.h, cmCTestMemCheckCommand.h, cmCTestTestCommand.h, cmCTestUpdateCommand.h: ENH: Improve ctest_* command documentation This corrects the terse documentation and adds detail to the full documentation of some commands. It also normalizes the layout of the documentation string endings to make adding lines easier. 2009-02-20 15:50 king * Source/CTest/cmCTestSubmitCommand.h: ENH: More documentation for ctest_submit command This clarifies the terse documentation and lists valid values for PARTS. 2009-02-20 14:03 king * Source/cmDocumentVariables.cxx: ENH: Clarify docs of old *_OUTPUT_PATH vars This clarifies the documentation of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to sound less like deprecation. 2009-02-20 11:10 hoffman * CMakeLists.txt, ChangeLog.manual: ENH: final 2.6.3 commit remove RC and clean changelog a bit 2009-02-20 10:14 david.cole * Source/CPack/: cmCPackDragNDropGenerator.cxx, cmCPackDragNDropGenerator.h: STYLE: Fix style line-too-long violations. 2009-02-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-19 16:04 clinton * Modules/FindQt4.cmake: ENH: Support COMPONENTS argument to find_package(). See bug #8542. 2009-02-19 16:02 hoffman * Tests/BuildDepends/Project/CMakeLists.txt: ENH: merge in fix for test on older macs 2009-02-19 15:51 clinton * Modules/FindQt4.cmake: ENH: Support version argument in find_package(). See bug #8542. 2009-02-19 15:24 hoffman * Tests/BuildDepends/Project/CMakeLists.txt: ENH: make sure multiple archs are only tested when the work 2009-02-19 11:53 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmGlobalXCodeGenerator.cxx, Tests/BuildDepends/Project/CMakeLists.txt: BUG: fix xcode depend issue again with a test 2009-02-19 11:51 hoffman * Source/cmGlobalXCodeGenerator.cxx, Tests/BuildDepends/Project/CMakeLists.txt: BUG: fix xcode depend issue and add a test for it 2009-02-19 11:20 david.cole * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix issue #8253 - handle xib file extension in Xcode projects so that double clicking on xib files opens them up in Interface Builder. Thanks to baron_roberts for the patch. 2009-02-19 11:17 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmGlobalXCodeGenerator.cxx: BUG: fix xcode depend issue again on branch 2009-02-19 10:39 david.cole * Source/CPack/: cmCPackBundleGenerator.cxx, cmCPackDragNDropGenerator.cxx, cmCPackDragNDropGenerator.h: BUG: A little bit more refactoring from BundleGenerator to DragNDropGenerator. See issue #8556. Thanks for Clinton Stimpson for the patch. 2009-02-19 10:31 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: fix depend bug again for Xcode 2009-02-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-18 12:40 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmGlobalXCodeGenerator.cxx: ENH: put in fix for Xcode rebuild issue on branch 2009-02-18 12:09 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: use the top level project name for the xcode depend helper directory names 2009-02-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-17 16:59 david.cole * Modules/Platform/Darwin.cmake: BUG: Allow third component of Mac OSX sw_vers output to be empty. Mac OSX 10.5 was recently reinstalled on dashmacmini3 and pointed out the fact that this expression is faulty when the reported version is simply 10.5 rather than 10.5.x... for example. This fixes it. 2009-02-17 11:53 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: BUG: Do not use 'char' type as array subscript This converts uses of 'char' as an array subscript to 'unsigned char' to heed the warning from gcc. The subscript must be an unsigned type to avoid indexing before the beginning of the array. This change avoids a potential crash if input text contains a byte value beyond 0x7f. 2009-02-17 11:37 king * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h: ENH: Remove generation of unused Update.xml parts This removes generation of some Update.xml content that is not used by any Dart1, Dart2, or CDash servers: - Revisions elements - Directory attribute of File elements - File elements within Author elements The content was generated only because the original Dart1 Tcl client generated it, but the content was never used. 2009-02-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-16 18:09 hoffman * Utilities/CMakeLists.txt: ENH: add missiong install docs for cmake-gui 2009-02-16 14:06 hoffman * CMakeCPackOptions.cmake.in, CMakeLists.txt, ChangeLog.manual, Source/QtDialog/CMakeLists.txt, Source/QtDialog/QtDialogCPack.cmake.in: ENH: merge in a few more changes for installer on windows and cmake-gui 2009-02-16 13:56 martink * Source/cmIfCommand.h: ENH: fix style 2009-02-16 11:17 hoffman * Source/QtDialog/QtDialogCPack.cmake.in: ENH: change name for start menu entry 2009-02-16 10:33 king * Modules/readme.txt: STYLE: Note find_package COMPONENTS in modules doc This mentions the COMPONENTS option of find_package in the module author documentation file "Modules/readme.txt". See issue #8539. 2009-02-16 10:01 king * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Fix svn update logic for modified files The main svn update parsing loop in cmCTestUpdateHandler previously had a logic error because the variable 'res' was not reset for each iteration. For a locally modified file it would report the update info for the previous non-modified file, or nothing if there was no previous file. This fixes the logic by setting variable 'res' in both control paths for each iteration. See issue #8168. 2009-02-16 10:00 king * Source/CTest/cmCTestUpdateHandler.cxx: STYLE: Fix spelling in cmCTestUpdateHandler This renames the variable 'numModiefied' to 'numModified' to fix its spelling. It also renames 'modifiedOrConflict' to 'notLocallyModified' to describe its purpose (rather than the opposite of its purpose). See issue #8168. 2009-02-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-13 21:51 hoffman * Utilities/CMakeLists.txt, CMakeCPackOptions.cmake.in: ENH: add cmake gui docs 2009-02-13 18:52 clinton * Modules/FindQt4.cmake: ENH: Allowing finding a relocated Qt installation which contains a qt.conf to override the hardcoded paths in qmake. Fixes #8532. 2009-02-13 16:29 hoffman * CMakeCPackOptions.cmake.in: ENH: deprecate CMakeSetup 2009-02-13 16:28 hoffman * Source/QtDialog/: CMakeLists.txt, QtDialogCPack.cmake.in: ENH: take cmake-gui out of beta 2009-02-13 15:49 king * Source/kwsys/CMakeLists.txt: ENH: Optionally label KWSys targets and tests This provides an API for parent projects to use to specify values to be set in the LABELS properties of KWSys libraries, executables, and tests. 2009-02-13 15:49 king * Source/kwsys/CMakeLists.txt: ENH: Add KWSys header files to library targets This adds the configured KWSys header files to the library targets that implement their APIs so that they show up in IDE project files. 2009-02-13 15:17 king * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Teach CTest to put labels in coverage results This teaches CTest to include source file labels in coverage dashboard submissions. The labels for each source are the union of the LABELS property from the source file and all the targets in which it is built. 2009-02-13 15:16 king * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Remove unused variable 2009-02-13 11:49 king * Source/CTest/cmCTestBuildCommand.cxx: BUG: Fix CTEST_USE_LAUNCHERS in dashboard scripts Since CTest does not currently load configuration settings computed at CMake Configure time while running dashboard scripts, the ctest_build command must honor the CTEST_USE_LAUNCHERS option directly. 2009-02-13 11:49 king * Source/cmCTest.h: STYLE: Add TODO comment about CTest configuration Currently CTest does not load configuration settings computed at CMake Configure time when running a dashboard script. This adds a comment describing refactoring that might help resolve the problem. 2009-02-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-12 13:25 king * Source/cmGlobalGenerator.cxx: BUG: Fix logic of LabelFiles.txt generation This fixes a dumb logic error which causes generation of LabelFiles.txt to try to open the file once for every target with labels. 2009-02-12 13:00 king * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestLaunch.cxx, cmCTestLaunch.h: ENH: Report file names relative to source dir This teaches cmCTestLaunch to report source files that lie under the top source directory relative to the top. 2009-02-12 12:50 martink * Source/cmIfCommand.h: ENH: fix documentation and add docs on parenthetical expressions 2009-02-12 10:08 hoffman * Source/kwsys/SystemInformation.cxx: BUG: #8496 add support for system info on haiku 2009-02-12 10:01 king * Source/CTest/cmCTestBuildHandler.cxx: BUG: Do not drop build fragments with same time When we collect Build.xml fragments generated by 'ctest --launch', this lexicographically orders fragments with the same time stamp on disk instead of incorrectly dropping duplicates. 2009-02-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-11 15:18 king * Modules/: CTest.cmake, DartConfiguration.tcl.in: ENH: Create include(CTest) launcher interface This defines a new CTest configuration variable CTEST_USE_LAUNCHERS. When set to true it puts 'ctest --launch' in RULE_LAUNCH_* properties and enables the CTest configuration option 'UseLaunchers'. Currently this works only for Makefile generators. 2009-02-11 15:18 king * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ENH: Teach CTest dashboard builds to use launchers This defines a 'UseLaunchers' CTest configuration option. When enabled, CTest skips log scraping from the Build step output. Instead it defines the environment variable CTEST_LAUNCH_LOGS to a log directory during the build. After the build it looks for error-*.xml and warning-*.xml files containing fragments for inclusion in Build.xml and submission. This is useful in conjuction with 'ctest --launch' and the RULE_LAUNCH_* properties to get reliable, highly-granular build failure reports. 2009-02-11 13:05 hoffman * Utilities/Release/: ferrari_sgi64_release.cmake, release_cmake.sh.in: ENH: add FFLAGS back into release script 2009-02-11 11:57 king * Source/CTest/cmCTestLaunch.cxx: COMP: Do not use modern empty init list syntax cmCTestLaunch first used an empty initializer list to zero-initialize a buffer, but this is not supported on older compilers. Instead we avoid the need for initialization altogether. 2009-02-11 11:31 king * Source/: CMakeLists.txt, ctest.cxx, CTest/cmCTestLaunch.cxx, CTest/cmCTestLaunch.h: ENH: Create internal 'ctest --launch' tool This creates an undocumented 'ctest --launch' mode. It launches a specified command and optionally records a failure in an xml fragment. We will optionally use this in CTest's Build stage to record per-rule build failure information when using Makefile generators. 2009-02-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-10 18:13 clinton * Modules/FindQt4.cmake: ENH: Change FILEPATH to STRING for a list of libraries. 2009-02-10 17:28 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindBoost.cmake, Modules/FindQt4.cmake, Source/cmCacheManager.cxx, Source/cmSystemTools.cxx: ENH: merge in some more fixes for RC 13 2009-02-10 17:25 hoffman * Source/cmCacheManager.cxx: ENH: fix fix for unc paths 2009-02-10 16:08 hoffman * Source/cmCTest.cxx: ENH: add label global property to ctest scripts 2009-02-10 14:24 hoffman * Source/: cmCTest.cxx, CTest/cmCTestTestCommand.cxx, CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: add the ability to run tests by labels 2009-02-10 14:19 hoffman * Source/CTest/cmCTestMultiProcessHandler.cxx: BUG: partial fix for 8056 -W now works with -j 2009-02-10 12:56 hoffman * Modules/FindFLTK.cmake: ENH: change include command 2009-02-10 08:52 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Add rule substitutions useful for launchers This defines make rule substitutions , , , and . They will be useful for RULE_LAUNCH_* property values. 2009-02-10 08:51 king * Modules/CTestTargets.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefile.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmTarget.cxx, Source/cmake.cxx: ENH: Define RULE_LAUNCH_* properties This defines global, directory, and target properties RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM. Their values specify 'launcher' command lines which are prefixed to compile, link, and custom build rules by Makefile generators. 2009-02-10 08:50 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileUtilityTargetGenerator.cxx: ENH: Give target in which custom commands build This gives the cmTarget instance for which custom command rules are being generated to cmLocalUnixMakefileGenerator3::AppendCustomCommands. It will be useful in the future. 2009-02-10 08:50 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmSourceFile.cxx, cmTarget.cxx: ENH: Define target and source property LABELS This creates a new LABELS property for targets and source files. We write the labels of each target and its source files in target-specific locations in the build tree for future use. 2009-02-10 08:50 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Define target-specific support directories This creates method cmTarget::GetSupportDirectory to compute a target-specific support directory in the build tree. It uses the "CMakeFiles/.dir" convention already used by the Makefile generators. The method will be useful for any code that needs to generate per-target information into the build tree for use by CMake tools that do not run at generate time. 2009-02-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-09 23:05 lowman * Modules/FindCxxTest.cmake: STYLE: Clarified example to illustrate need to call target_link_libraries() in response to Issue #8485. Changed CMake commands to lowercase. Added licensing info to copyright 2009-02-09 22:39 lowman * Modules/FindBoost.cmake: BUG: Resolves Issue #8393, Remove workarounds in FindBoost once UNC-Path bug is fixed 2009-02-09 22:34 lowman * Modules/FindBoost.cmake: STYLE: Improved examples, spelling & grammar in documentation 2009-02-09 16:45 alex * Source/cmGlobalUnixMakefileGenerator3.h: COMP: remove unused variable TargetSourceFileCount, it seems it is unused since version 1.88 of cmGlobalUnixMakefileGenerator3.cxx patch by Daniel DOT Teske AT Nokia DOT com Alex 2009-02-09 16:45 king * Source/kwsys/SystemTools.cxx: BUG: Work around broken GetLongPathName case On Windows the GetLongPathName API function does not work on some filesystems even if the file exists. In this case we should just use the original long path name and not the GetShortPathName result. See issue #8480. 2009-02-09 16:42 clinton * Modules/FindQt4.cmake: ENH: Support .hpp with automoc. 2009-02-09 16:36 alex * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: STYLE: fix two typos in the comments, patch from Daniel DOT Teske AT Nokia DOT com, QtCreator developer Alex 2009-02-09 16:25 chris * Modules/FindDevIL.cmake: ENH: Made the documentation for FindDevIL.cmake cleaner. Changed the XXX_LIBRARYs to XXX_LIBRARIES. 2009-02-09 09:23 hoffman * Tests/CMakeTests/GetFilenameComponentRealpathTest.cmake.in: file GetFilenameComponentRealpathTest.cmake.in was added on branch CMake-2-6 on 2009-03-23 18:04:12 +0000 2009-02-09 09:23 king * Source/cmGetFilenameComponentCommand.cxx, Source/cmGetFilenameComponentCommand.h, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/GetFilenameComponentRealpathTest.cmake.in: ENH: Add get_filename_component(... REALPATH) This patch from Philip Lowman creates a REALPATH mode in the get_filename_component command. It is like ABSOLUTE, but will also resolve symlinks (which ABSOLUTE once did but was broken long ago). See issue #8423. 2009-02-09 09:23 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: BUG: Fix GetRealPath when realpath fails This patch from Philip Lowman teaches SystemTools::GetRealPath to deal with paths that do not exist by dealing with the case that realpath returns NULL. See issue #8423. 2009-02-09 08:25 hoffman * Source/cmCacheManager.cxx: BUG: fix for 0008378, lists with FILEPATH and UNC //server/path fail 2009-02-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-07 12:23 clinton * Modules/FindQt4.cmake: BUG: When detecting if qmake executable is changed, don't error if path contains regex chars. 2009-02-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-06 16:16 hoffman * ChangeLog.manual: ENH: fix comment 2009-02-06 16:15 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake, Modules/UseQt4.cmake, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmake.cxx: ENH: fix osx bundle re-config issue on branch RC 12 2009-02-06 11:49 king * Source/cmake.cxx: BUG: Fix OS X FW symlink byproduct dependencies When testing whether to re-run CMake, a byproduct may be a symlink. If so, the existence of the link is important rather than the link's target. See issue #8465. 2009-02-06 11:18 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmake.cxx: BUG: Fix OS X AppBundle/FW byproducts dependencies App Bundle and Framework directories, symlinks, and Info.plist files we create during generation are byproducts, not outputs. We should re-run CMake only when they are missing, not when they are old. See issue #8465. 2009-02-06 09:08 king * Source/: cmXMLSafe.cxx, cmXMLSafe.h: COMP: Avoid parameter/member shadow in cmXMLSafe A cmXMLSafe constructor named its parameter 'str' which shadowed the name of the 'str' method. This renames the parameter to avoid the conflict warning. 2009-02-06 09:03 king * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Do not re-generate after a AppBundle build A previous change accidentally added the MacOS content directory and Info.plist files created for MACOSX_BUNDLE executables to the list of CMake input files. This causes CMake to re-generate the project too often. These items should be added to the list of CMake output files. 2009-02-06 08:33 king * Source/cmGetFilenameComponentCommand.cxx, Source/cmGetFilenameComponentCommand.h, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/GetFilenameComponentSymlinksTest.cmake.in: BUG: Alternative fix to bug #8423 The patch used to fix this bug used SystemTools::GetRealPath which works only for existing files. It broke the case of using the command get_filename_component for a non-existing file. Also, it changed long-standing behavior in a possibly incompatible way even for existing files. This reverts the original fix and instead updates the documentation to be consistent with the behavior. 2009-02-06 08:15 king * Source/cmCMakePolicyCommand.h: ENH: Clarify cmake_policy(VERSION) documentation The previous documentation could be interpreted as setting policies newer than the given version to OLD instead of unset. This clarifies it. 2009-02-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-05 23:01 clinton * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: Add support for building with Qt's ActiveX support on Windows. 2009-02-05 17:09 king * Source/cmXMLSafe.cxx: COMP: Avoid warning about signed-char comparison On some compilers 'char' is signed and is therefore always equal to or less than 0x7f. In order to avoid the compiler warning we perform the comparison with an unsigned char type. 2009-02-05 16:31 king * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, cmSystemTools.cxx, cmSystemTools.h, cmXMLSafe.cxx, cmXMLSafe.h, CPack/cmCPackGenerator.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: Create cmXMLSafe to help escapes in XML This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data. 2009-02-05 11:04 hoffman * Source/CMakeLists.txt: ENH: merge in cmakelist file that uses drag n drop 2009-02-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-04 22:04 hoffman * Source/CPack/: cmCPackDragNDropGenerator.cxx, cmCPackDragNDropGenerator.h: ENH: add missing files 2009-02-04 18:24 david.cole * Modules/UntarFile.cmake: BUG: Add debug message calls to figure out ExternalProject test failure on AIX dashboard. 2009-02-04 17:04 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindDoxygen.cmake, Modules/FindGDAL.cmake, Modules/FindLua50.cmake, Modules/FindLua51.cmake, Modules/FindMPEG2.cmake, Modules/FindOpenSceneGraph.cmake, Modules/FindOpenThreads.cmake, Modules/FindProducer.cmake, Modules/FindQt4.cmake, Modules/Findosg.cmake, Modules/FindosgAnimation.cmake, Modules/FindosgDB.cmake, Modules/FindosgFX.cmake, Modules/FindosgGA.cmake, Modules/FindosgIntrospection.cmake, Modules/FindosgManipulator.cmake, Modules/FindosgParticle.cmake, Modules/FindosgProducer.cmake, Modules/FindosgShadow.cmake, Modules/FindosgSim.cmake, Modules/FindosgTerrain.cmake, Modules/FindosgText.cmake, Modules/FindosgUtil.cmake, Modules/FindosgViewer.cmake, Modules/FindosgVolume.cmake, Modules/FindosgWidget.cmake, Modules/Findosg_functions.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Haiku.cmake, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmLinkDirectoriesCommand.h, Source/cmLocalGenerator.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/DynamicLoader.hxx.in: ENH: merge in a few more changes for RC 11 2009-02-04 14:34 king * Source/CTest/cmCTestBuildHandler.cxx: ENH: Re-order generation of build summary and xml This moves the error/warning count summary printed by cmCTestBuildHandler to after Build.xml is generated. Later we will compute the counts during generation of the xml. 2009-02-04 14:34 king * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ENH: Refactor Build.xml generation This divides cmCTestBuildHandler::GenerateDartBuildOutput into three methods to generate the header, content, and footer components of Build.xml files. It will allow the content generation to be replaced later. 2009-02-04 12:38 david.cole * Source/CTest/cmCTestSubmitHandler.cxx: COMP: Iterator version of std::set not available with vs6 implementation of STL. Use explicit iteration to insert individual elements one at a time. Sigh. 2009-02-04 11:44 hoffman * CMakeLists.txt, CTestConfig.cmake, CTestCustom.cmake.in, ChangeLog.manual, Modules/CPack.OSXX11.Info.plist.in, Modules/CPack.RuntimeScript.in, Modules/CPack.cmake, Modules/FindBoost.cmake, Modules/FindCxxTest.cmake, Modules/FindDevIL.cmake, Modules/FindDoxygen.cmake, Modules/FindFLTK.cmake, Modules/FindKDE3.cmake, Modules/FindKDE4.cmake, Modules/FindOpenMP.cmake, Modules/FindOpenThreads.cmake, Modules/FindQt4.cmake, Modules/FindRTI.cmake, Modules/Findosg.cmake, Modules/FindosgAnimation.cmake, Modules/FindosgDB.cmake, Modules/FindosgFX.cmake, Modules/FindosgGA.cmake, Modules/FindosgIntrospection.cmake, Modules/FindosgManipulator.cmake, Modules/FindosgParticle.cmake, Modules/FindosgProducer.cmake, Modules/FindosgShadow.cmake, Modules/FindosgSim.cmake, Modules/FindosgTerrain.cmake, Modules/FindosgText.cmake, Modules/FindosgUtil.cmake, Modules/FindosgViewer.cmake, Modules/FindosgVolume.cmake, Modules/FindosgWidget.cmake, Modules/Findosg_functions.cmake, Modules/UseQt4.cmake, Source/cmBootstrapCommands.cxx, Source/cmCMakePolicyCommand.cxx, Source/cmCMakePolicyCommand.h, Source/cmCoreTryCompile.cxx, Source/cmExportBuildFileGenerator.cxx, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmForEachCommand.cxx, Source/cmForEachCommand.h, Source/cmFunctionBlocker.h, Source/cmFunctionCommand.cxx, Source/cmFunctionCommand.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMacroCommand.cxx, Source/cmMacroCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmTarget.cxx, Source/cmUnsetCommand.cxx, Source/cmUnsetCommand.h, Source/cmWhileCommand.cxx, Source/cmWhileCommand.h, Source/CPack/cmCPackBundleGenerator.cxx, Source/CPack/cmCPackBundleGenerator.h, Source/CPack/cmCPackGeneratorFactory.cxx, Source/CPack/cmCPackLog.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackOSXX11Generator.cxx, Source/CPack/cpack.cxx, Tests/CMakeLists.txt, Tests/PolicyScope/Bar.cmake, Tests/PolicyScope/CMakeLists.txt, Tests/PolicyScope/FindFoo.cmake, Tests/PolicyScope/main.c, Tests/Unset/CMakeLists.txt, Tests/Unset/unset.c: ENH: merge in changes to 2.6 RC 10 2009-02-04 10:34 king * Source/: cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx, cmLocalGenerator.cxx: BUG: Fix old-style install to prefix top The old install_files, install_programs, and install_targets commands used to permit installation to the top of the prefix by specifying destination '/'. This was broken in 2.6.0 to 2.6.2 by changes to enforce valid destinations that did not account for this case. This change fixes the case by converting the install destination to '.' which is the new-style way to specify the top of the installation prefix. 2009-02-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-03 11:52 david.cole * Source/CTest/: cmCTestSubmitCommand.cxx, cmCTestSubmitCommand.h, cmCTestSubmitHandler.cxx, cmCTestSubmitHandler.h: ENH: Add FILES arg to the ctest_submit command. BUG: Propagate the IsCDash setting properly to the ctest configuration during a submit. Also, do not propagate TriggerSite for projects submitting to CDash. No triggers are necessary with CDash. 2009-02-03 11:27 hoffman * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: ENH: fix dynamic loading on haiku 2009-02-03 08:38 hoffman * Modules/FindKDE3.cmake: BUG: fix potential issue with empty strings 2009-02-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-02 16:30 hoffman * Modules/FindMPEG2.cmake: BUG: include should not have .cmake 2009-02-02 14:36 king * Source/cmMakefileTargetGenerator.cxx: BUG: Fix preprocess and assembly rule expansion The recent change to avoid expanding rule variables in informational and 'cd' commands broke the logical order in generation of preprocess and assembly rules. This corrects the order. 2009-02-02 14:36 king * Source/cmGlobalGenerator.cxx: COMP: Fix rule hash code during bootstrap During bootstrap we do not bother with rule hashing. This updates the dummy implementation to account for the recent change in rule hash method signatures. 2009-02-02 13:28 king * Source/cmMakefileTargetGenerator.cxx: BUG: Do not expand rule variables in info rules Previously the makefile generator would expand rule variables even on its progress and echo commands for object compilation rules (but not for link rules). This fixes the implementation to only expand rule variables on user-specified rules. 2009-02-02 13:28 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx: ENH: Refactor custom command rule hashing This simplifies computation of custom command rule hashes to hash content exactly chosen as the custom commands are generated. Unfortunately this will change the hashes of existing build trees from earlier CMake versions, but this is not a big deal. The change is necessary so that in the future we can make optional adjustments to custom command lines at generate time without changing the hashes every time the option is changed. 2009-02-02 13:27 king * Source/: cmMakefile.cxx, cmake.cxx: ENH: More robust property lookup This teaches cmMakefile::GetProperty and cmake::GetProperty methods to return NULL when the property name is NULL, making them more robust and consistent with the behavior of cmTarget::GetProperty. 2009-02-02 13:24 king * Source/CTest/: cmCTestMemCheckHandler.cxx, cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: Put test labels in MemCheck results This refactors generation of element headers and footers in cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler. The change removes duplicate code and enables the new element for MemCheck results. 2009-02-02 09:42 king * Source/cmTargetLinkLibrariesCommand.h: ENH: Clarify target_link_libraries docs The target_link_libraries command supports flags as well as libraries. This makes the support explicit in the documentation. 2009-02-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-02-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-31 13:57 hoffman * Modules/FindOpenSceneGraph.cmake: file FindOpenSceneGraph.cmake was added on branch CMake-2-6 on 2009-02-04 22:04:48 +0000 2009-01-31 13:57 lowman * Modules/FindOpenSceneGraph.cmake: BUG: Fixes configure error if you don't specify a version with find_package() 2009-01-31 01:50 lowman * Modules/FindGDAL.cmake: BUG: Fix library detection for GDAL on most Linux distributions (Issue #7445) 2009-01-31 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-30 20:09 hoffman * Modules/Findosg_functions.cmake: file Findosg_functions.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:16 +0000 2009-01-30 20:09 lowman * Modules/: FindOpenSceneGraph.cmake, Findosg.cmake, Findosg_functions.cmake: ENH: Added FindOpenSceneGraph.cmake which is intended to wrap any of the existing Findosg* modules (or even user specified modules in CMAKE_MODULE_PATH) and aggregate the include dirs & libraries while providing a COMPONENT frontend and version checking (Fixes Issue #6973). Also added a note to Findosg.cmake to refer new users to the module. 2009-01-30 16:55 lowman * Modules/: FindOpenThreads.cmake, Findosg_functions.cmake: ENH: Added OSG_ROOT as supported env var (it's in the wild already). Cleaned up FindOpenThreads to support PATH_SUFFIXES. Removed superfluous WIN32 registry checks which should have been $ENV{} checks. 2009-01-30 15:13 lowman * Modules/: FindDoxygen.cmake, FindOpenThreads.cmake, FindProducer.cmake: BUG: Fix other modules not respecting QUIET and REQUIRED 2009-01-30 14:33 hoffman * Modules/FindosgVolume.cmake: file FindosgVolume.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:16 +0000 2009-01-30 14:33 hoffman * Modules/FindosgWidget.cmake: file FindosgWidget.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:16 +0000 2009-01-30 14:33 hoffman * Modules/FindosgAnimation.cmake: file FindosgAnimation.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:13 +0000 2009-01-30 14:33 lowman * Modules/: Findosg.cmake, FindosgAnimation.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake, FindosgManipulator.cmake, FindosgParticle.cmake, FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake, FindosgVolume.cmake, FindosgWidget.cmake: BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not being respected. 2009-01-30 14:29 lowman * Modules/Findosg_functions.cmake: ENH: Added a mark_as_advanced() wrapper function. 2009-01-30 03:02 lowman * Modules/: FindLua50.cmake, FindLua51.cmake: BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421) 2009-01-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-29 15:23 david.cole * Source/cmCoreTryCompile.cxx: ENH: Emit a little more information in the error message when the output file is not found during a core try compile. 2009-01-29 14:57 david.cole * Modules/Platform/Darwin.cmake: BUG: Remove unnecessary double quotes from SET statements. Hopefully resolves the strange and difficult to diagnose (or reproduce) test failures on the dashmacmini2 Continuous dashboard. 2009-01-29 14:31 hoffman * Source/cmake.cxx: BUG: fix for #8418 -E chdir should return fail of dir does not exist 2009-01-29 14:14 king * Source/cmLinkDirectoriesCommand.h: ENH: Docs for relative paths in link_directories The link_directories command treats relative paths differently from most CMake commands. This notes the difference in the documentation. See issue #8377. 2009-01-29 13:41 king * Modules/Platform/Darwin.cmake: BUG: Fix OS X dylib version flags for more linkers Some OS X linkers want a 'dylib_' prefix on the -compatiblity_version and -current_version flags while others do not. This passes the flags through gcc instead since it never wants the prefix and translates the flags for the linker correctly. 2009-01-29 13:26 clinton * Modules/FindQt4.cmake: ENH: Also find .moc files if there are spaces between # and include. Fixes #8433. 2009-01-29 11:57 hoffman * Tests/CMakeTests/GetFilenameComponentSymlinksTest.cmake.in: ENH: add missing file 2009-01-29 11:42 hoffman * Modules/Platform/Haiku.cmake: BUG: fix for # 8413 add more haiku searching 2009-01-29 11:39 hoffman * Source/cmGetFilenameComponentCommand.cxx, Tests/CMakeTests/CMakeLists.txt: BUG: fix for #8423 2009-01-29 09:26 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: fix warning 2009-01-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-28 22:56 lowman * Modules/FindDoxygen.cmake: STYLE: Reworded some of the OS-X code comments 2009-01-28 16:56 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: fix warning 2009-01-28 15:04 clinton * Modules/UseQt4.cmake: ENH: Better way to add framework includes. 2009-01-28 12:55 hoffman * Modules/FindOpenMP.cmake: ENH: clean up status and change order for more common compilers first 2009-01-28 12:55 hoffman * Modules/FindOpenMP.cmake: file FindOpenMP.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:02 +0000 2009-01-28 12:45 hoffman * Modules/FindOpenMP.cmake: ENH: add openmp support 2009-01-28 06:10 david.cole * Modules/Platform/Darwin.cmake: BUG: Fix careless typo that only caused test failures on clean builds... 2009-01-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-27 15:51 david.cole * Modules/Platform/Darwin.cmake: BUG: Try to fix the universal binary continuous dashboard on dashmacmini2. I am deducing that the value of CMAKE_OSX_ARCHITECTURES_DEFAULT is responsible for the failure, although I cannot reproduce it on other builds or even by running the test via ctest interactively *on* the continuous dashboard's build... 2009-01-27 11:50 david.cole * Modules/Platform/Darwin.cmake: BUG: Only set CMAKE_OSX_DEPLOYMENT_TARGET on Mac OSX 10.4 or later. The gcc that runs on 10.3 and earlier does not understand the compiler flag it maps to... 2009-01-27 11:35 david.cole * Source/cmCoreTryCompile.cxx: STYLE: Emit filenames in try_compile error message to get more information from the Continuous dashboard test that is failing. 2009-01-27 10:58 king * Source/: cmCTest.cxx, cmCTest.h: BUG: Reset file submission list on test restart When running in script mode it is possible to run multiple separate dashboard submissions in one cmCTest instance. The recent refactoring of file submission lists into parts failed to clear the submission lists when starting a new dashboard (ctest_start or ctest_update). Only the unused old submission set was cleared. This fixes the refactored version to remove the old submission set completely and also clear the part-wise lists. 2009-01-27 10:58 king * Source/CTest/cmCTestSubmitHandler.cxx: BUG: Fix CTest submit-only operation We need to initialize cmCTestSubmitHandler on construction to make sure all parts get enabled by default. The recent fix to re-enable all parts on initialization broke submit-only operations because the handler did not initialize on construction. This also removes duplicate initialization code. 2009-01-27 10:34 hoffman * Utilities/Release/README, Utilities/Release/create-cmake-release.cmake, Utilities/Release/release_cmake.cmake, Utilities/Release/release_cmake.sh.in, Tests/CMakeLists.txt: ENH: change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as CMAKE_VERSION is auto-defined now 2009-01-27 10:30 david.cole * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx: BUG: Fix issue #6195. Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch. 2009-01-27 10:26 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7845, idl files compile even with headerfile only on 2009-01-27 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-26 10:12 clinton * Modules/FindQt4.cmake: BUG: Fixed recent regression when finding some includes. 2009-01-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-23 17:37 clinton * Modules/UseQt4.cmake: ENH: Should have a -F for framework includes on Mac. Fixes ParaView build with Qt 4.5 on Mac. 2009-01-23 16:52 clinton * Modules/FindQt4.cmake: ENH: Add convenience for identifying Cocoa based Qt. 2009-01-23 13:36 david.cole * Modules/CPack.cmake: ENH: Turn off CPACK_BINARY_TBZ2 and CPACK_BINARY_ZIP by default. Strictly speaking, this changes behavior from cpack 2.6, but now that cpack returns a non-zero exit code when it encounters an error, and it is an error to try to use a generator that is not available... It makes sense to turn these off by default since not everybody has these generators installed. It is easy for a project to turn these options back on if they need to: simply set(CPACK_BINARY_TBZ2 ON) or set(CPACK_BINARY_ZIP ON) before include(CPack) in your CMakeLists.txt... 2009-01-23 12:20 hoffman * Source/cmPolicies.h: ENH: try to fix vs6 build 2009-01-23 00:30 lowman * Modules/FindFLTK.cmake: ENH: Better support for "fltk-config" binary, added options so the user doesn't have to have everything in order for FLTK_FOUND to be true. #7809 2009-01-23 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-22 14:23 david.cole * Source/CPack/cmCPackBundleGenerator.h: BUG: Forgot to change parent class in cmCPackTypeMacro when I added cmCPackDragNDropGenerator. Fix it now that it really matters. (The BundleGenerator test started failing after the last commit. This fixes it.) 2009-01-22 13:56 david.cole * Source/CPack/: cmCPackBundleGenerator.cxx, cmCPackBundleGenerator.h, cmCPackLog.cxx, cpack.cxx: BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code. 2009-01-22 13:18 hoffman * Tests/PolicyScope/Bar.cmake: file Bar.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:18 +0000 2009-01-22 13:18 hoffman * Tests/PolicyScope/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2009-02-04 16:44:18 +0000 2009-01-22 13:18 hoffman * Tests/PolicyScope/FindFoo.cmake: file FindFoo.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:19 +0000 2009-01-22 13:18 king * Source/cmCMakePolicyCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmPolicies.cxx, Source/cmPolicies.h, Tests/PolicyScope/Bar.cmake, Tests/PolicyScope/CMakeLists.txt, Tests/PolicyScope/FindFoo.cmake: ENH: Isolate policy changes in included scripts Isolation of policy changes inside scripts is important for protecting the including context. This teaches include() and find_package() to imply a cmake_policy(PUSH) and cmake_policy(POP) around the scripts they load, with a NO_POLICY_SCOPE option to disable the behavior. This also creates CMake Policy CMP0011 to provide compatibility. See issue #8192. 2009-01-22 13:16 hoffman * Tests/PolicyScope/main.c: file main.c was added on branch CMake-2-6 on 2009-02-04 16:44:19 +0000 2009-01-22 13:16 king * Source/cmCMakePolicyCommand.h, Source/cmFunctionCommand.cxx, Source/cmFunctionCommand.h, Source/cmMacroCommand.cxx, Source/cmMacroCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/CMakeLists.txt, Tests/PolicyScope/CMakeLists.txt, Tests/PolicyScope/main.c: ENH: Better policies for functions and macros This teaches functions and macros to use policies recorded at creation time when they are invoked. It restores the policies as a weak policy stack entry so that any policies set by a function escape to its caller as before. 2009-01-22 13:16 king * Source/cmCMakePolicyCommand.h: ENH: Improve stack discussion in cmake_policy This re-organizes the discussion of the policy stack in documentation of the cmake_policy() command. The new organization clearer and easier to extend with new information. 2009-01-22 13:16 king * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Create notion of a 'weak' policy stack entry A 'weak' poilcy stack entry responds normally to queries. However, setting a policy in a weak entry will recursively set the policy in the next entry too. This also gives the internal interface to create a weak entry the option to provide an initial PolicyMap for it. 2009-01-22 12:12 hoffman * Source/CPack/cmCPackDragNDropGenerator.cxx: file cmCPackDragNDropGenerator.cxx was added on branch CMake-2-6 on 2009-02-05 03:04:09 +0000 2009-01-22 12:12 hoffman * Source/CPack/cmCPackDragNDropGenerator.h: file cmCPackDragNDropGenerator.h was added on branch CMake-2-6 on 2009-02-05 03:04:18 +0000 2009-01-22 12:12 david.cole * Modules/CPack.cmake, Source/CMakeLists.txt, Source/CPack/cmCPackBundleGenerator.cxx, Source/CPack/cmCPackBundleGenerator.h, Source/CPack/cmCPackDragNDropGenerator.cxx, Source/CPack/cmCPackDragNDropGenerator.h, Source/CPack/cmCPackGeneratorFactory.cxx, Tests/CMakeLists.txt: BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch. 2009-01-22 10:57 king * Source/: cmCMakePolicyCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Create policy scope barriers This creates a barrier mechanism to prevent user code from using cmake_policy(POP) to pop a scope it didn't push with cmake_policy(PUSH). 2009-01-22 10:57 king * Source/cmMakefile.h: ENH: Make policy push/pop methods private This makes cmMakefile::PushPolicy and cmMakefile::PopPolicy private so that any outside place that uses them needs to use the PolicyPushPop helper in an automatic variable. We grant an exception to cmCMakePolicyCommand so it can implement cmake_policy(PUSH) and cmake_policy(POP). 2009-01-22 10:56 king * Source/cmFindPackageCommand.cxx: ENH: Refactor find_package version file scoping This converts the variable and policy scope protection find_package() uses when loading version files to use automatic variables. 2009-01-22 10:56 king * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Create automatic policy push/pop helper This creates cmMakefile::PolicyPushPop to push and pop policy scope automatically. It also enforces balanced push/pop pairs inside the scope it handles. 2009-01-22 10:56 king * Source/: cmMakefile.cxx, cmMakefile.h, cmPolicies.h: ENH: Refactor policy stack representation This defines PolicyMap as a public member of cmPolicies. Its previous role as a policy stack entry is now called PolicyStackEntry and represented as a class to which more information can be added later. 2009-01-22 10:22 david.cole * Tests/CMakeLists.txt: BUG: Avoid trying to package the X11 test on Windows when there is no NSIS installer available. 2009-01-22 07:16 david.cole * Source/CTest/cmCTestTestHandler.cxx: BUG: Fix issue #8363. Wrap output with MakeXMLSafe calls so that the generated XML files are valid, parse-able XML. 2009-01-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-21 23:52 lowman * Modules/FindFLTK.cmake: BUG: Fixes detection of FLTK on Gentoo (Issue #7809) 2009-01-21 22:43 lowman * Modules/FindFLTK.cmake: BUG: Fixes #8376: FindFLTK fails because include file can be FL/Fl.H and CMake only looks for FL/Fl.h. Verified: all FLTK header files in 1.1.9 are .H ... how bizarre. 2009-01-21 17:36 king * Source/cmGlobalVisualStudio7Generator.h: BUG: Fix VS IDE solution files order again The previous change to order projects in the VS IDE did not account for duplicate target names (such as ALL_BUILD and ZERO_CHECK) among the input set. While we suppress generation of the duplicate project entries, we need to use a multiset to store ordered duplicates. 2009-01-21 17:24 king * Source/cmGlobalVisualStudio7Generator.cxx: BUG: Fix ALL_BUILD ordering enforcement The previous change to make ALL_BUILD come first among targets did not account for comparing the target name against itself. This led to an invalid ordering of the target set. This change fixes it. 2009-01-21 17:06 king * Source/cmGlobalVisualStudio7Generator.cxx: ENH: Make ALL_BUILD always the default project This teaches the VS IDE generators to write ALL_BUILD into solution files first so that it is always the default active project. Previously it was first only if no target name sorted lexicographically earlier. See issue #8172. 2009-01-21 16:39 king * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: BUG: Fix VS IDE project order Our implementation of the feature to pull in dependent targets in VS solution files for subprojects caused the order of project files in the solution to be arbitrary (based on pointer value in the representation). Target ordering in solution files is important to prevent unnecessary changing of the files and because the VS IDE selects the first project listed as the default active target. This change restores lexicographic order by target name. 2009-01-21 13:39 david.cole * Source/CPack/cmCPackBundleGenerator.cxx, Source/CPack/cmCPackBundleGenerator.h, Tests/BundleGeneratorTest/CMakeLists.txt, Tests/BundleGeneratorTest/CustomVolumeIcon.icns: BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code. 2009-01-21 13:20 david.cole * Source/QtDialog/CMakeSetup.icns: ENH: Use the latest CMake-logo-triangle-high-res.png to improve the look of CMakeSetup.icns on the Mac. 2009-01-21 11:54 hoffman * Modules/CPack.OSXScriptLauncher.rsrc.in: file CPack.OSXScriptLauncher.rsrc.in was added on branch CMake-2-6 on 2009-04-21 20:48:54 +0000 2009-01-21 11:54 hoffman * Modules/CPack.OSXX11.main.scpt.in: file CPack.OSXX11.main.scpt.in was added on branch CMake-2-6 on 2009-04-21 18:12:47 +0000 2009-01-21 11:54 david.cole * Modules/CPack.OSXScriptLauncher.in, Modules/CPack.OSXScriptLauncher.rsrc.in, Modules/CPack.OSXX11.Info.plist.in, Modules/CPack.OSXX11.main.scpt.in, Modules/CPack.RuntimeScript.in, Source/CPack/OSXLauncherScript.scpt, Source/CPack/cmCPackOSXX11Generator.cxx, Tests/CMakeLists.txt, Tests/X11/CMakeLists.txt: BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 09:49 king * Modules/FindKDE4.cmake: STYLE: Fix if/endif mismatch in FindKDE4 2009-01-21 09:49 king * Source/: cmFunctionCommand.cxx, cmMacroCommand.cxx: ENH: Enforce logical blocks in functions/macros This teaches function() and macro() to enforce matching logical blocks inside the recorded bodies. This makes the error message more specific. 2009-01-21 09:49 king * Source/: cmForEachCommand.cxx, cmFunctionCommand.cxx, cmIfCommand.cxx, cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmWhileCommand.cxx: ENH: Better handling of mismatched blocks If a logical block terminates with mismatching arguments we previously failed to remove the function blocker but replayed the commands anyway, which led to cases in which we failed to report the mismatch (return shortly after the ending command). The recent refactoring of function blocker deletion changed this behavior to produce an error on the ending line by not blocking the command. Furthermore, the function blocker would stay in place and complain at the end of every equal-level block of the same type. This teaches CMake to treat the begin/end commands (if/endif, etc.) as correct and just warns when the arguments mismatch. The change allows cases in which CMake 2.6.2 silently ignored a mismatch to run as before but with a warning. 2009-01-21 09:48 king * Source/: cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h, cmFunctionCommand.cxx, cmFunctionCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmMacroCommand.cxx, cmMacroCommand.h, cmMakefile.cxx, cmMakefile.h, cmWhileCommand.cxx, cmWhileCommand.h: ENH: Better error message for unclosed blocks This centralizes construction of the error message for an unclosed logical block (if, foreach, etc.). We record the line at which each block is opened so it can be reported in the error message. 2009-01-21 09:48 king * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Refactor logical block enforcement This uses a stack of 'barriers' to efficiently divide function blockers into groups corresponding to each input file. It simplifies detection of missing block close commands and factors it out of ReadListFile. 2009-01-21 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-20 15:49 king * Source/: cmExportBuildFileGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmTarget.cxx: BUG: Fix LOCATION property for Mac AppBundles Previously cmTarget::GetLocation and cmTarget::GetFullPath would return for Mac AppBundles the top-level bundle directory but without the .app extension. We worked around this at the call sites. This fixes the methods and removes the work-arounds. See issue #8406. 2009-01-20 14:36 king * Source/: cmForEachCommand.cxx, cmForEachCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h, cmWhileCommand.cxx, cmWhileCommand.h: ENH: Refactor function blocker deletion When a function blocker decides to remove itself we previously removed it at every return point from the C++ scope in which its removal is needed. This teaches function blockers to transfer ownership of themselves from cmMakefile to an automatic variable for deletion on return. Since this removes blockers before they replay their commands, we no longer need to avoid running blockers on their own commands. 2009-01-20 14:35 king * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Improve response to bad if or elseif Previously bad arguments to an if() or elseif() would cause some subsequent statements in the corresponding block to execute. This teaches CMake to stop processing commands with a fatal error. It also provides context to bad elseif() error messages. 2009-01-20 14:29 david.cole * Source/CPack/cmCPackNSISGenerator.cxx, Tests/CPackComponents/CMakeLists.txt, Tests/CPackComponents/Issue 7470.html: BUG: Fix for issue #7470. Allow spaces in the path names of installed files with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes. 2009-01-20 10:06 hoffman * Source/cmSystemTools.cxx: BUG: fix crash with cmd.exe shell and cmake in the path 2009-01-20 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-19 22:51 lowman * Modules/FindBoost.cmake: BUG: Fix detection of boost libraries without any compiler encoding (e.g. Gentoo 1.37 system installed boost). Fixes issue #8404 reported on mailing list. 2009-01-19 22:28 lowman * Modules/FindDoxygen.cmake: BUG: Fixes Issue #8054 and more. DOXYGEN_DOT_FOUND now exists, errant mark_as_advanced variables removed, documentation cleaned up and OSX stuff isolated to it's own section, support added for DOXYGEN_SKIP_DOT, support added to call FindPackageHandleStandardArgs to avoid output on every CMake run. 2009-01-19 21:30 lowman * Modules/FindBoost.cmake: BUG: Missing "icpc" as a possible CXX compiler for Intel C++. Also refactored gcc -dumpversion code and regex to a function. 2009-01-19 19:21 lowman * Modules/FindBoost.cmake: BUG: Switch FindBoost.cmake to use CMAKE_COMPILER_IS_GNUCXX (Issue #8398) 2009-01-19 13:33 lowman * Modules/: FindOpenThreads.cmake, Findosg.cmake, FindosgAnimation.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake, FindosgManipulator.cmake, FindosgParticle.cmake, FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake, FindosgVolume.cmake, FindosgWidget.cmake, Findosg_functions.cmake: BUG: Fixed Issue #7331 Bugs in Findosg*.cmake. Also added OPENTHREADS_LIBRARIES. 2009-01-19 05:14 lowman * Modules/FindBoost.cmake: BUG: Reverted change made in 1.27, should be unnecessary (Issue #7508) 2009-01-19 02:35 lowman * Modules/FindBoost.cmake: BUG: Resolve Issue #7508, FindBoost fails to find boost on SuSE 10.3 2009-01-19 02:27 lowman * Modules/FindBoost.cmake: ENH: Added 1.38 since it'll be out soon. More documentation and clarified examples, addressed autolinking issue on MSVC 2009-01-19 01:02 lowman * Modules/FindBoost.cmake: BUG: Do not check for GCC version encoding in filenames on Boost libraries prior to 1.35. Eliminate "lib" prefix except on MSVC. 2009-01-19 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-18 17:19 lowman * Modules/FindBoost.cmake: BUG: Fixed additional issues with autodetecting compiler tags properly including Issue #6926 2009-01-18 16:40 lowman * Modules/FindBoost.cmake: BUG: Fixes problem with _boost_ABI_TAG appending to itself if FindBoost is called more than once (Issue #7460) 2009-01-18 15:53 lowman * Modules/FindBoost.cmake: STYLE: minor cleanup 2009-01-18 15:41 lowman * Modules/FindBoost.cmake: BUG: Removed some code which was squashing Boost_LIBRARIES on WIN32 under the auspices of forcing the user to use autolinking, but it only did this squashing on the first call to FindBoost. Subsequent calls to FindBoost would not have Boost_LIBRARIES squashed so this code was doing nothing. If you link your target_link_libraries() against dynamic boost libraries it appears from tools like Dependency Walker that the pragma calls to autolink to the static boost libraries are ignored. It's therefore too late to make this squash apply to all calls to FindBoost because that would break users that have not setup autolinking properly. For now this fix is largely cosmetic since the original code never worked anyways (see version 1.5 introduced on 4/22/08). 2009-01-18 15:17 lowman * Modules/FindBoost.cmake: BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION() call since it would be useless and confusing after an initial configure. 2009-01-18 14:40 lowman * Modules/FindBoost.cmake: BUG: Fixed superfluous and duplicate dirs in Boost_LIBRARY_DIR. Employed workaround for Issue #8378. Resolves Issue #8099 2009-01-18 13:03 hoffman * Source/: cmCTest.h, cmCTest.cxx, ctest.cxx: BUG: add output on failure to ctest #8255 2009-01-18 12:05 hoffman * Source/cmMakefile.cxx: BUG: fix crash with empty properties 2009-01-18 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-17 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-16 04:07 lowman * Modules/FindBoost.cmake: BUG: Fixed issues using FindBoost with BoostPro packaged releases. Fixed regression for bjam users on Win32 introduced in 1.4.2.4 (7/13/08). This commit partially or completely resolves Issues #8173, #8326, #7943, #7725! 2009-01-16 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-15 16:16 king * Source/cmFindPackageCommand.cxx: BUG: Fix find_package docs for refind feature Recently we taught find_package to re-find a package configuration file if it is given a wrong answer. This fixes the documentation to reflect the change. 2009-01-15 14:37 king * Source/: cmMakefile.cxx, cmMakefile.h: BUG: Enforce matching policy PUSH/POP in all files The documentation of cmake_policy PUSH and POP states that they must always match. Previously we enforced this only for the top scope of each CMakeLists.txt file. This enforces the requirement for all files. 2009-01-15 13:24 hoffman * Source/CTest/: cmCTestGenericHandler.cxx, cmCTestSubmitHandler.cxx: ENH: fix part submission to not have memory of the last part submission 2009-01-15 10:32 hoffman * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: BUG: fix for bug #8174 2009-01-15 09:17 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmDocumentVariables.cxx, Source/cmExtraEclipseCDT4Generator.cxx, Source/cmFunctionCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/FindPackageTest/CMakeLists.txt: ENH: merge in changes from main tree, fix borland build 2009-01-15 08:57 king * Source/: cmDocumentVariables.cxx, cmMakefile.cxx: ENH: Provide variable CMAKE_VERSION This creates the variable CMAKE_VERSION containing the full version of cmake in "major.minor.patch" format. It is particularly useful with the component-wise version comparison provided by the if() command. 2009-01-15 08:57 king * Source/cmDocumentVariables.cxx: ENH: Document variable CMAKE_PATCH_VERSION This adds documentation of CMAKE_PATCH_VERSION to the generated variables documentation. 2009-01-15 02:07 lowman * Modules/FindBoost.cmake: BUG: fixed bug #7529: FindBoost fails to find boost on SuSE 11.0 due to GCC reporting version x.y and not x.y.z 2009-01-15 01:22 lowman * Modules/FindBoost.cmake: BUG: Fixes bug #8059. Also added Boost_DEBUG variable for troubleshooting. 2009-01-15 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-14 15:14 king * Source/: cmFunctionCommand.cxx, cmMakefile.h: BUG: Pop a function scope even on error This uses an automatic variable to push and pop variable scope inside a function call. Previously if the function failed its scope would not be popped. This approach guarantees a balanced push/pop. 2009-01-14 13:48 hoffman * Source/CTest/: cmCTestBuildHandler.cxx, cmProcess.cxx: ENH: fix return value to ctest_build and remove debug print in cmProcess 2009-01-14 13:01 hoffman * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestBuildCommand.h, cmCTestBuildHandler.cxx, cmCTestBuildHandler.h, cmProcess.cxx: ENH: allow ctest_build to return error and warning counts 2009-01-14 09:51 king * Source/: cmExtraEclipseCDT4Generator.cxx, CTest/cmCTestSubmitHandler.cxx: COMP: Fix const set find for Borland 5.5 The Borland 5.5 compiler's STL set does not define correct signatures for its find() members, leading to build errors. This works around the problem. 2009-01-14 09:34 king * Tests/FindPackageTest/CMakeLists.txt: ENH: Test find_package re-find feature Recently we taught find_package to re-find a package if its _DIR result variable was set to a location not containing the package (instead of reporting an error as before). This tests the feature. 2009-01-14 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-13 13:03 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeGenericSystem.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/FindGettext.cmake, Modules/FindPythonInterp.cmake, Source/cmCMakeMinimumRequired.cxx, Source/cmCMakeMinimumRequired.h, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmDocumentVariables.cxx, Source/cmDocumentationFormatterDocbook.cxx, Source/cmExportFileGenerator.cxx, Source/cmExportInstallFileGenerator.cxx, Source/cmExportInstallFileGenerator.h, Source/cmExtraCodeBlocksGenerator.cxx, Source/cmExtraEclipseCDT4Generator.cxx, Source/cmExtraEclipseCDT4Generator.h, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmGetTargetPropertyCommand.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmInstallExportGenerator.cxx, Source/cmInstallExportGenerator.h, Source/cmInstallGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmSetCommand.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Source/cmake.cxx, Source/cmake.h, Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/QtDialog/CMakeLists.txt, Source/QtDialog/CrossCompiler.ui, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/testProcess.c, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate, Tests/CustomCommand/CMakeLists.txt, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Import/CMakeLists.txt, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/Baz 1.1/BazConfig.cmake, Tests/FindPackageTest/Baz 1.1/BazConfigVersion.cmake, Tests/FindPackageTest/Baz 1.2/CMake/BazConfig.cmake, Tests/FindPackageTest/Baz 1.2/CMake/BazConfigVersion.cmake, Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake, Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config.cmake, Tests/StringFileTest/CMakeLists.txt: ENH: merge in changes from CVS to branch for 2.6.3 RC 8 2009-01-13 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-12 11:10 king * Source/cmCTest.cxx: COMP: Remove unused variable 2009-01-12 10:38 king * Source/CTest/cmCTestSubmitCommand.cxx, Source/CTest/cmCTestSubmitCommand.h, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestSubmitHandler.h, Tests/CTestTest2/test.cmake.in: ENH: Teach ctest_submit about parts This adds a PARTS option to the ctest_submit command which tells it to submit only parts whose names are listed with the option. 2009-01-12 10:37 king * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: Divide CTest file submission list by part This splits the list of files for CTest to submit into those belonging to each part. The set is recombined just before submission. Later this will allow piecewise submissions. 2009-01-12 10:37 king * Source/: cmCTest.cxx, cmCTest.h: ENH: Refactor cmCTest test part representation This introduces the name "part" to denote a portion of the testing and submission process performed by ctest. We generalize the boolean indicating whether each part is enabled into a structure to which more information can be added later. We provide bi-directional mapping between part id and part names. 2009-01-12 09:11 king * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestTestHandler.cxx: ENH: Teach ctest_* to create appending XML files This adds an APPEND option to the ctest_* commands which tells them to put the Append="true" attribute in the Site element of their XML file. 2009-01-12 09:10 king * Source/CTest/: cmCTestHandlerCommand.cxx, cmCTestHandlerCommand.h: ENH: Refactor CTest command argument handling The previous approach to handling of arguments to ctest_* commands worked only for keyword/value arguments with a single value. This refactors the approach to allow some commands to define alternative argument forms. 2009-01-12 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-11 12:18 alex * Source/: cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h: ENH: patch from Miguel, As it is today the generator creates linked resources to LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH if they are not a subdirectory of the binary dir, so that the IDE can detect the Binaries (this was addressed previously as a result of a bug report). Reduces code redundancy by encapsulating common behaviour for LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in AppendLinkedResource. Addresses the two new variable names for these locations, CMAKE_LIBRARY_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY respectively. Finally, it is addressing a bug in the current code for relative paths in these variables. If it is a relative path to the binary dir, the IsSubdirectory call returns false and so it creates the linked resource. The created linked resource produces an error in the Eclipse IDE because the IDE expects it to be a full path. The patch now addresses this by concatenating the binary dir if it is a relative path. 2009-01-11 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-10 09:01 alex * Source/cmDocumentationFormatterDocbook.cxx: BUG: don't create empty s (#7289), dblatex didn't like that Alex 2009-01-10 08:46 alex * Modules/FindPythonInterp.cmake: ENH: fix #7913: find also python 2.6 on windows Alex 2009-01-10 08:39 alex * Modules/FindGettext.cmake: BUG: fix #8122, _firstPoFile was not empty because it was no real variable but just a macro argument -> make it a real variable Alex 2009-01-10 08:16 alex * Source/cmDocumentVariables.cxx: STYLE: document CMAKE_COLOR_MAKEFILE (#7878) Alex 2009-01-10 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-09 20:35 alex * Source/cmExtraEclipseCDT4Generator.h: COMP: forgot to commit this file Alex 2009-01-09 20:26 alex * Modules/CMakeSystemSpecificInformation.cmake: STYLE: fix typo Alex 2009-01-09 20:18 alex * Modules/CMakeGenericSystem.cmake: STYLE: this is not necessary anymore for kdevelop, the kdevelop generator now generates the project so that the environment variable VERBOSE is set to 1 when make is executed by kdevelop (and additionally this didn't work, since CMAKE_GENERATOR never matches KDevelop3, this is now in CMAKE_EXTRA_GENERATOR) Alex 2009-01-09 20:09 alex * Source/cmExtraEclipseCDT4Generator.cxx: STYLE: remove debug output Alex 2009-01-09 19:52 alex * Source/cmExtraEclipseCDT4Generator.cxx: BUG: fix #8073: also show targets created using add_custom_targets() -additionally also create the target/fast targets for Eclipse -skip preinstall and install/local, they should be only rarely used Alex 2009-01-09 19:08 alex * Source/cmExtraEclipseCDT4Generator.cxx: BUG: remove the call to EnableInstallTarget(), don't know why it was there. This caused that always an install target was created which installed nothing, even if there was no install rule in the project. Alex 2009-01-09 18:58 alex * Source/: cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h: BUG: fix #8105: don't hardcode "gcc" and "make" but use CMAKE_C_COMPILER and CMAKE_MAKE_PROGRAM instead Alex 2009-01-09 18:04 alex * Source/cmExtraCodeBlocksGenerator.cxx: BUG: fix #8203: codeblocks + mingw doesn't like the extra quotes around the path to the makefile if it contains spaces, under Linux it works with spaces Alex 2009-01-09 16:44 king * Source/cmCTest.cxx: ENH: Add missing newline to CTest-generated xml The Generator="ctest..." attribute of Site elements in CTest-generated XML files was missing a newline, causing the next attribute to appear on the same line. This adds the newline. 2009-01-09 12:56 hoffman * Source/cmCTest.cxx: ENH: fix crash for old style scripts 2009-01-09 12:32 hoffman * Source/cmCTest.h: ENH: fix return type 2009-01-09 12:05 hoffman * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestScriptHandler.h: ENH: add subproject tag property for ctest 2009-01-09 11:44 king * Source/kwsys/testProcess.c: ENH: Extend kwsys.testProcess-4 timeout The test is supposed to terminate quickly when its child crashes, but that seems to take over 10s on busy systems. This extends the test's timeout to 30s to help it pass when running on a busy system. 2009-01-09 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-08 18:09 alex * Source/: cmExtraEclipseCDT4Generator.h, cmExtraEclipseCDT4Generator.cxx: BUG: apply patch from #8205, also fixes #8212: escape characters for XML when writing the eclipse project files Alex 2009-01-08 17:57 alex * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: when trying to find a FooConfig.cmake file, if in the directory pointed to by the Foo_DIR variable there is no FooConfig.cmake file, then instead of abort and complain that the user should set or clear the Foo_DIR variables, just search for the file and discard the old Foo_DIR contents The tests succeed, ok by Brad. Alex 2009-01-08 04:47 hoffman * Modules/FindCxxTest.cmake: file FindCxxTest.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:01 +0000 2009-01-08 04:47 lowman * Modules/FindCxxTest.cmake: BUG: Fixed CXXTEST_INCLUDE_DIRS so it will work properly with NOTFOUND. Also eliminated superfluous CXXTEST_FOUND assignment and cleaned up the code and added additional documentation. Tagged v1.0. 2009-01-08 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-07 17:28 clinton * Source/QtDialog/CrossCompiler.ui: ENH: Tweak System Name field for cross compiling, so it doesn't have a file chooser button. 2009-01-07 14:16 king * Source/cmInstallExportGenerator.cxx: ENH: Clean per-config export files during install When installing the main export file the install tree may be dirty. If out-dated per-config files exist they may break the newly installed main file which when it globs them. This teaches the installation script to detect when it is about to replace the main export file with a different one and cleans out any existing per-config files. 2009-01-07 14:16 king * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add undocumented file(DIFFERENT) command This new command will be used by generated installation scripts to determine whether an already-installed export file has changed. 2009-01-07 14:16 king * Source/: cmExportInstallFileGenerator.cxx, cmExportInstallFileGenerator.h: ENH: Refactor computation of import file glob New method cmExportInstallFileGenerator::GetConfigImportFileGlob computes the globbing expression that an installed export file uses to load its per-configuration support files. 2009-01-07 10:41 king * Source/: cmTest.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: Teach CTest to submit test property LABELS This teaches CTest to send the test property "LABELS" in Test.xml dashboard submissions as Label elements inside a Labels element. 2009-01-07 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-06 15:05 king * CTestCustom.cmake.in: COMP: Ignore warning LNK4204 for CMake dashboard This warning appears for libtar.obj, curltest.obj, and synch_client.obj regularly on CMake dashboard submissions from VS builds. They seem to occur due to some kind of race condition for objects in small targets. There is nothing wrong with the code, so this just suppresses the warnings. 2009-01-06 14:58 king * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Manage LC_MESSAGES with an object This moves management of the LC_MESSAGES environment variable into an automatic variable. Previously if an error occurred the original environment value was not restored. This makes the fix to issue #5936 more robust. 2009-01-06 14:41 king * Source/CTest/cmCTestUpdateHandler.cxx: STYLE: Remove trailing whitespace 2009-01-06 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-05 15:00 king * Source/: cmGetPropertyCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmSetPropertyCommand.cxx, cmSetTestsPropertiesCommand.cxx: ENH: Improve test property speed with a map Previously we stored a vector of tests to preserve their order. Property set/get operations would do a linear search for matching tests. This uses a map to efficiently look up tests while keeping the original order with a vector for test file generation. 2009-01-05 14:14 king * Tests/: CMakeLists.txt, EnforceConfig.cmake, EnforceConfig.cmake.in: ENH: Re-enable new 'testing' test mode This fixes selection of a configuration when none is specified to find an available configuration of the ctest test-command. 2009-01-05 14:14 king * Source/: cmCTest.cxx, cmCTest.h: BUG: Capture cout and cerr from internal ctest When CTest detects that a test is running its own executable it optimizes the test by using an internal instance of cmCTest instead of creating a new process. However, the internal instance was using cout and cerr directly. This redirects the output to a string stream to avoid direct display of the internal test's output. 2009-01-05 11:05 king * Source/: cmFileCommand.cxx, QtDialog/CMakeLists.txt: COMP: Fix installation of cmake-gui by CMake 2.4 When CMake 2.4 generates the build tree for CMake itself it asks the built CMake to install itself using the rules that 2.4 generated. Since the install rules use undocumented commands that are not compatible from 2.4 to 2.6 we need a special case to avoid failure. This sets a special indicator variable in the install rules that enables a compatibility hack to support the old install rule format. 2009-01-05 11:03 king * Source/cmFileCommand.cxx: ENH: Refactor internal file(INSTALL) arg parsing The internal file(INSTALL) command argument parsing used several booleans with at most one set to true at a time to track argument parsing state. This refactors it to use one enumeration. 2009-01-05 09:53 king * Source/cmGetTargetPropertyCommand.h: BUG: Remove old get_target_property docs The get_target_property command contained some outdated documentation of the LOCATION and TYPE properties. This removes it since they are now documented in the properties list section of the documentation. 2009-01-05 09:53 king * Source/cmTarget.cxx: ENH: Enable LOCATION property for imported targets Previously we left the LOCATION property undefined for imported targets since it should no longer be used for non-imported targets. However, in the case we do not know the name of an available imported configuration, it is more readable to get the LOCATION property than LOCATION_ for a bogus configuration . This enables LOCATION for imported targets and returns an unspecified available imported configuration. 2009-01-05 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-04 04:12 alex * Source/cmCMakeMinimumRequired.h: STYLE: changed "one may" into "it should" to make it stronger Alex 2009-01-04 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-03 15:48 king * Source/cmCMakeMinimumRequired.h: ENH: Clarify FATAL_ERROR option to min-req command The FATAL_ERROR to cmake_minimum_required is useful for projects that require 2.6 to convince CMake 2.4 to error out. This clarifies its usefulness in the documentation. 2009-01-03 15:47 king * Source/: cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h: ENH: Ignore unknown cmake_minimum_required args When cmake_minimum_required is called with an unknown argument it should not complain about it if the version specified is in the future. This allows the proper error to be shown about the current CMake being too old. 2009-01-03 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-02 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2009-01-01 12:49 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx, Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentLexer.h, Source/cmCommandArgumentLexer.in.l, Source/cmCommandArgumentParser.cxx, Source/cmCommandArgumentParser.y, Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserHelper.h, Source/cmCommandArgumentParserTokens.h: ENH: RC 7 merge fix missing stuff from RC 6 and fix change log 2009-01-01 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-31 10:14 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeASM_MASMInformation.cmake, Modules/CMakeDetermineASM_MASMCompiler.cmake, Modules/CMakeTestASM_MASMCompiler.cmake, Modules/CPackRPM.cmake, Modules/FindCurses.cmake, Modules/FindDoxygen.cmake, Modules/FindEXPAT.cmake, Modules/FindLibXml2.cmake, Modules/FindQt4.cmake, Modules/FindSquish.cmake, Modules/FindwxWidgets.cmake, Modules/GetPrerequisites.cmake, Modules/SquishRunTestCase.bat, Modules/SquishRunTestCase.sh, Modules/SquishTestScript.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Haiku.cmake, Modules/Platform/WindowsPaths.cmake, Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmOrderDirectories.cxx, Source/CPack/cmCPackBundleGenerator.cxx, Source/QtDialog/CMake.desktop, Source/QtDialog/CMakeLists.txt, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/Compilers.h, Source/QtDialog/Compilers.ui, Source/QtDialog/CrossCompiler.ui, Source/QtDialog/FirstConfigure.cxx, Source/QtDialog/FirstConfigure.h, Source/QtDialog/QCMakeWidgets.cxx, Source/kwsys/ProcessUNIX.c, Source/kwsys/System.c, Source/kwsys/SystemInformation.cxx, Templates/TestDriver.cxx.in: ENH: merge fixes for RC 6 2008-12-31 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-30 09:13 david.cole * Source/CTest/: cmCTestConfigureCommand.cxx, cmCTestConfigureCommand.h, cmCTestConfigureHandler.cxx, cmCTestGenericHandler.cxx: ENH: Add OPTIONS argument to the ctest_configure command so that you can pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages. 2008-12-30 09:11 david.cole * Modules/Platform/Darwin.cmake: BUG: Fix install_name_tool problem on the Mac when a PROJECT(... NONE) is followed by multiple calls to ENABLE_LANGUAGE. Use find_program to set the CMAKE_INSTALL_NAME_TOOL variable so it gets saved in the cache as a full path to the install_name_tool executable rather than a simple set which eventually goes out of scope. 2008-12-30 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-29 18:11 hoffman * Tests/JCTest/CMakeLists.txt: ENH: make it take longer 2008-12-29 17:49 hoffman * Source/CTest/: cmProcess.cxx, cmProcess.h: ENH: add start end time for procs 2008-12-29 17:43 hoffman * Tests/JCTest/: CMakeLists.txt, TestTime.cxx: ENH: add test for -j N ctest stuff 2008-12-29 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-28 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-27 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-26 15:27 david.cole * Source/CTest/cmCTestHandlerCommand.cxx: STYLE: Fix line length violation. 2008-12-26 13:28 king * Source/cmOrderDirectories.cxx: BUG: Fix same-file check for directory ordering When computing runtime search path ordering a constraint exists when a file that may be found by the runtime search exists in a directory other than that containing the desired file. We test whether a potential conflict is really the same due to a symlink. Recently the change to cmFindLibraryCommand to load directory content created a case in which the same-file check would be incorrectly skipped. This avoids skipping the check. 2008-12-26 12:06 david.cole * Modules/FindDoxygen.cmake: ENH: New location to look for "dot" 2008-12-26 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-25 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-24 10:10 david.cole * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step. 2008-12-24 04:31 miguelf * Modules/FindwxWidgets.cmake: BUG: Fixed placement of initial wxWidgets_FOUND=TRUE statement, which allowed some cases to breakaway from tests without resetting to FALSE (BUG: 8188). 2008-12-24 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-23 10:01 david.cole * Tests/ExternalProject/CMakeLists.txt: BUG: Workaround for Watcom WMake not handling "always out of date" custom commands to fix the failing ExternalProject test on the CMake nightly dashboard. 2008-12-23 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-22 03:00 alex * Modules/FindLibXml2.cmake: BUG: use FindPkgConfig.cmake instead of UsePkgConfig.cmake, sync with KDE svn and fix bug #8290 Alex 2008-12-22 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-21 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-20 00:04 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-19 10:35 david.cole * Modules/AddExternalProject.cmake: ENH: Add the update step in between download and build. Add UPDATE_ARGS and UPDATE_COMMAND handling. Output a -complete sentinel in synch with the -install sentinel, but do not list it as an OUTPUT of the custom command. That breaks the chaining of add_custom_commands between custom targets, but allows for a file-level dependency expression that will cause proper incremental rebuilds. When earlier targets rebuild, subsequent dependent targets will also rebuild. CVS and SVN update commands are always out-of-date so that they always run to get the latest source. To suppress that behavior on a per-external project basis use an explicit empty string for UPDATE_COMMAND. The source will still be checked out from the repository prior to the update step by the download step. 2008-12-19 10:19 hoffman * Source/CTest/cmCTestTestHandler.cxx: STYLE: fix shadow warning 2008-12-19 00:04 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-18 21:59 hoffman * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: BUG: partial fix for #8056 2008-12-18 21:57 hoffman * Source/CTest/: cmCTestHandlerCommand.cxx, cmCTestScriptHandler.cxx: BUG: fix for bug #8224 fix crash 2008-12-18 21:53 hoffman * Modules/FindEXPAT.cmake: BUG: fix for #8298 look for libexpat as well 2008-12-18 21:52 hoffman * Source/cmFileCommand.h: BUG: fix spelling 2008-12-18 17:15 king * Tests/CMakeLists.txt: BUG: Disable new 'testing' test mode for now The new 'testing' test behavior of actually running the tests generated by the project still fails when the test script guesses the Debug configuration but the CMake build tree was only built Release. The inner ctest needs to find the ctest executable but is given the wrong configuration. 2008-12-18 14:56 king * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: COMP: Add set_directory_properties to bootstrap We now need this command in the Tests/CMakeLists.txt file. 2008-12-18 14:26 king * Tests/: CMakeLists.txt, EnforceConfig.cmake: BUG: Fix new 'testing' test for CMake releases The recent change of the 'testing' test to actually drive the tests within it does not work on Windows with released CMakes 2.6.2 and lower if no configuration is given to ctest with a -C option. This works around the problem by detecting the case and changing the empty configuration to Debug. 2008-12-18 13:36 king * Source/kwsys/System.c, Tests/CustomCommand/CMakeLists.txt: BUG: Fix windows command line escape for empty arg On Windows the KWSys System package generates escapes for command-line arguments. This fix enables quoting of the empty string as an argument. This also adds a test to pass an empty argument to a custom command. 2008-12-18 12:28 king * Tests/: CMakeLists.txt, Testing/CMakeLists.txt, Testing/Sub/Sub2/CMakeLists.txt: ENH: Improve 'testing' test to actually test The 'testing' CMake test builds a project that uses add_test. This strengthens the test to actually run CTest on the project build tree after building it. 2008-12-18 12:27 king * Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: Minor readability improvement in CTest output When ctest --build-and-test runs the --test-command its output did not quote the arguments of the command being tested making it difficult to read. This adds the quotes. This also changes the wording of the failure case to not sound like CTest could not run the executable when in fact it ran and returned failure. 2008-12-18 12:27 king * Source/cmCTest.cxx: BUG: Fix crash when running internal CTest When CTest encounters a test whose executable is the ctest executable iteslf, it just invokes code inside itself to avoid starting a new process. This fixes a null-pointer dereference in the logging code of that case. 2008-12-18 10:43 david.cole * Source/: cmFileCommand.cxx, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: BUG: Do not copy permissions of files when making the copy in an install rule. If the source file was read-only, this prevents the subsequent set of the destination file's modification time, making the copied file always different in time-stamp than the original and always installing a new file with a new time stamp (but the same content) causing unnecessary downstream incremental rebuilds. As part of this fix, add an optional copyPermissions parameter to the SystemTools routines CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory. The copyPermissions parameter defaults to true to preserve the behavior of these routines for existing callers. 2008-12-18 10:06 king * Source/: cmInstallDirectoryGenerator.h, cmInstallExportGenerator.h, cmInstallFilesGenerator.h, cmInstallTargetGenerator.h: STYLE: Remove useless install generator typedefs The cmInstall*Generator classes all derive from cmInstallGenerator which provides the Indent typedef so they do not need to provide it 2008-12-18 09:58 king * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l: COMP: Restore fixes to generated lexer The command argument lexer was recently regenerated which erased some fixes that had been applied directly to the output. This restores the fixes and adds reminder notes in the generation instructions. 2008-12-18 09:58 king * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y: BUG: Move previous parser bugfixes into input file The command argument parser code is generated by bison. This change restores some fixes previously applied to the generated output that were destroyed by regenerating the parser source. This time the fixes have been put in the input file so regenerating the parser will not destroy them again. 2008-12-18 09:37 clinton * Source/QtDialog/CMake.desktop: ENH: Remove Application category. See #8151. 2008-12-18 00:04 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-17 09:33 king * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l: COMP: Fix unused yyunput warning in lexer This adds the "nounput" option to the flex input file so that yyunput is not generated. The function is static but not used so some compilers warn. 2008-12-17 09:24 hoffman * Tests/FindPackageTest/Baz 1.1/BazConfig.cmake: file BazConfig.cmake was added on branch CMake-2-6 on 2009-01-13 18:03:55 +0000 2008-12-17 09:24 hoffman * Tests/FindPackageTest/Baz 1.2/CMake/BazConfig.cmake: file BazConfig.cmake was added on branch CMake-2-6 on 2009-01-13 18:03:56 +0000 2008-12-17 09:24 hoffman * Tests/FindPackageTest/Baz 1.1/BazConfigVersion.cmake: file BazConfigVersion.cmake was added on branch CMake-2-6 on 2009-01-13 18:03:55 +0000 2008-12-17 09:24 hoffman * Tests/FindPackageTest/Baz 1.2/CMake/BazConfigVersion.cmake: file BazConfigVersion.cmake was added on branch CMake-2-6 on 2009-01-13 18:03:56 +0000 2008-12-17 09:24 king * Source/cmFindPackageCommand.cxx, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/Baz 1.1/BazConfig.cmake, Tests/FindPackageTest/Baz 1.1/BazConfigVersion.cmake, Tests/FindPackageTest/Baz 1.2/CMake/BazConfig.cmake, Tests/FindPackageTest/Baz 1.2/CMake/BazConfigVersion.cmake: ENH: Teach find_package about more install dirs We now search in /*/ /*/(cmake|CMake) when looking for package configuration files. This is useful on Windows since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH. These paths are the Windows equivalent to the Apple convention application and framework paths we already search. See issue #8264. 2008-12-17 09:23 king * Modules/Platform/WindowsPaths.cmake: ENH: Use 32-bit and 64-bit Program Files folders On 64-bit Windows there may be two Program Files folders, one for 32-bit binaries and one for 64-bit binaries. When we compute CMAKE_SYSTEM_PREFIX_PATH we should put both folders in the path. 2008-12-17 08:24 king * Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentLexer.h, Source/cmCommandArgumentLexer.in.l, Source/cmCommandArgumentParser.cxx, Source/cmCommandArgumentParser.y, Source/cmCommandArgumentParserTokens.h, Tests/StringFileTest/CMakeLists.txt: ENH: Allow most characters in ENV variable refs The $ENV{VAR} syntax permits access to environment variables. This teaches CMake to recognize most characters in the VAR name since some environments may have variables with non-C-identifier characters. 2008-12-17 00:04 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-16 15:15 clinton * Source/QtDialog/QCMakeWidgets.cxx: ENH: Improve performance with file completion. Fix for #8292. 2008-12-16 15:00 hoffman * Source/QtDialog/Compilers.h: file Compilers.h was added on branch CMake-2-6 on 2008-12-31 15:14:30 +0000 2008-12-16 15:00 hoffman * Source/QtDialog/Compilers.ui: file Compilers.ui was added on branch CMake-2-6 on 2008-12-31 15:14:30 +0000 2008-12-16 15:00 hoffman * Source/QtDialog/CrossCompiler.ui: file CrossCompiler.ui was added on branch CMake-2-6 on 2008-12-31 15:14:30 +0000 2008-12-16 15:00 hoffman * Source/QtDialog/FirstConfigure.cxx: file FirstConfigure.cxx was added on branch CMake-2-6 on 2008-12-31 15:14:30 +0000 2008-12-16 15:00 hoffman * Source/QtDialog/FirstConfigure.h: file FirstConfigure.h was added on branch CMake-2-6 on 2008-12-31 15:14:30 +0000 2008-12-16 15:00 clinton * Source/QtDialog/: CMakeFirstConfigure.cxx, CMakeFirstConfigure.h, CMakeFirstConfigure.ui, CMakeLists.txt, CMakeSetupDialog.cxx, Compilers.h, Compilers.ui, CrossCompiler.ui, FirstConfigure.cxx, FirstConfigure.h: ENH: For bug #7191. Improvements to the dialog that sets up the first configure. Fixing the large size of it by breaking it up into a wizard. Also incorporated suggestions from bug report. 2008-12-16 09:23 king * Source/cmFindPackageCommand.cxx: BUG: find_package must push/pop policies When the find_package command loads a -version.cmake file to test the package version it must prevent the version file from affecting policy settings. Therefore the policy settings must be pushed and popped. 2008-12-16 09:20 king * Source/cmInstallGenerator.cxx: BUG: Fix component-name test on installation Generated cmake_install.cmake script code used MATCHES to compare component names. This does not support characters considered special by regular expression syntax in component names. This change uses STREQUAL instead. See issue #8256. 2008-12-16 09:15 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Warn if build dir is too long for filesystem When an object file directory is too deep to place an object file without exceeding CMAKE_OBJECT_PATH_MAX, this issues a warning. Previously we silently ignored the problem. See issue #7860. 2008-12-16 09:14 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: Refactor passing of max length object dir When computing the maximum length full path to the build directory under which object files will be placed, pass the actual path instead of just its length. This will be useful for error message generation. 2008-12-16 09:13 hoffman * Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake: file zot-config-version.cmake was added on branch CMake-2-6 on 2009-01-13 18:03:56 +0000 2008-12-16 09:13 hoffman * Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config.cmake: file zot-config.cmake was added on branch CMake-2-6 on 2009-01-13 18:03:56 +0000 2008-12-16 09:13 king * Tests/FindPackageTest/: CMakeLists.txt, lib/cmake/zot-4.0/zot-config-version.cmake, lib/cmake/zot-4.0/zot-config.cmake, lib/zot-3.1/zot-config-version.cmake, lib/zot-3.1/zot-config.cmake: ENH: Strengthen FindPackageTest version check The previous change to test finding in lib/cmake/* weakened the versioned find tests. Since the lib/cmake paths are searched before lib/* paths the previous change skipped requiring the command to ignore zot-3.0 when finding zot-3.1. This change restores that and adds zot-4.0 to test the lib/cmake path. 2008-12-16 00:04 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-15 18:48 clinton * Modules/FindQt4.cmake: BUG: Fix for #8247. Add QT_TRANSLATIONS_DIR pointing to the Qt translation files, and docs for it. Also add docs for QT_BINARY_DIR. 2008-12-15 17:19 fbertel * Source/kwsys/: ProcessUNIX.c, SystemInformation.cxx: COMP:Fixed warnings. 2008-12-15 13:30 king * Source/: cmDocumentVariables.cxx, cmTarget.cxx: BUG: Fix _POSTFIX property/variable docs The CMAKE__POSTFIX variable and _POSTFIX property were not documented. This updates the CMAKE_DEBUG_POSTFIX and DEBUG_POSTFIX documentation to refer to the more general variable/property. It also clarifies that the variable is used as the property default only for non-executable targets. See issue #7868. 2008-12-14 00:04 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-12 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-11 22:05 lowman * Modules/FindCxxTest.cmake: ENH: Added FindCxxTest module to assist others in using the CxxTest unit testing framework within CTest 2008-12-11 15:55 david.cole * Tests/ExternalProject/CMakeLists.txt: BUG: One more conditional in the ExternalProject test to prevent build errors of Tutorial Step5 on Win98 using Visual Studio 6 when the path length of its build tree exceeds 72 characters. Crazy, perhaps. But this fixes the last real dashboard failure of the ExternalProject test. 2008-12-11 14:35 hoffman * Tests/CMakeLists.txt: ENH: remove some verbosity to reduce test time 2008-12-11 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-10 11:30 david.cole * Tests/ExternalProject/CMakeLists.txt: BUG: Prevent KWStyle portion of ExternalProject test from configuring, building, installing and testing on WATCOM dashboards. WATCOM STL support is still under development. 2008-12-10 10:50 david.cole * Source/: cmGlobalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.cxx: STYLE: Fix line length style violations. 2008-12-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-09 16:07 david.cole * Source/: cmGlobalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.cxx, cmake.cxx: COMP: Fix the ExternalProject test for Visual Studio 6. Visual Studio 6 *.dsp files cannot have hyphens in them. Add utility function GetVS6TargetName to replace hyphens with underscores when generating *.dsp file names. Use the function everywhere necessary in the VS6 generators. And, a workaround: VS6 uses ".\Debug" (for example) as an "$(IntDir)" value - strip any leading ".\" when processing a --config argument in the cmake --build handling code. 2008-12-09 15:31 david.cole * Modules/AddExternalProject.cmake: ENH: Default to the same cmake used for configuring when building and installing. If none specified default to the cmake used to configure the outer/aggregating project. 2008-12-09 14:07 king * Source/cmFindPackageCommand.cxx, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake, Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake: ENH: Add useful search locations to find_package This teaches find_package to search /(share|lib)/cmake/*/ for package configuration files. Packages that do not already have files in a /lib/* directory can use this location to avoid cluttering the lib directory. 2008-12-09 14:07 king * Source/cmFindPackageCommand.cxx: STYLE: Remove old TODO comment in find_package Versioning has been introduced to find_package, so the comment about it is out of date. 2008-12-09 10:56 david.cole * Templates/TestDriver.cxx.in: COMP: Don't emit old style cast warning when configured as C++ but still allow being configured as C. Thanks to Monsieur Francois Bertel for the patch. 2008-12-09 10:08 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Preserve _FIND_XXX vars in find_package When the find_package command loads a module it sets several _FIND_XXX variables to communicate information about the command invocation to the module. This restores the original state of the variables when the command returns. This behavior is useful when a find-module recursively calls find_package with NO_MODULE so that the inner call does not change the values in the find-module. 2008-12-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-08 17:39 hoffman * Modules/FindSquish.cmake: file FindSquish.cmake was added on branch CMake-2-6 on 2008-12-31 15:14:25 +0000 2008-12-08 17:39 hoffman * Modules/SquishRunTestCase.bat: file SquishRunTestCase.bat was added on branch CMake-2-6 on 2008-12-31 15:14:28 +0000 2008-12-08 17:39 hoffman * Modules/SquishRunTestCase.sh: file SquishRunTestCase.sh was added on branch CMake-2-6 on 2008-12-31 15:14:29 +0000 2008-12-08 17:39 hoffman * Modules/SquishTestScript.cmake: file SquishTestScript.cmake was added on branch CMake-2-6 on 2008-12-31 15:14:29 +0000 2008-12-08 17:39 davisb * Modules/: FindSquish.cmake, SquishRunTestCase.bat, SquishRunTestCase.sh, SquishTestScript.cmake: ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 2008-12-08 14:58 david.cole * Modules/AddExternalProject.cmake: BUG: Make sure all directories used as working directories exist at CMake configure time as well as having custom commands that create them. Necessary for the Borland Makefiles generator to generate short path names in the makefile build rules. Also, make sure all custom commands chain together properly through the use of the sentinel files. 2008-12-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-07 19:36 hoffman * Source/cmLocalVisualStudio6Generator.cxx: STYLE: fix link length issues 2008-12-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-05 17:54 david.cole * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes. 2008-12-05 17:18 david.cole * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes. 2008-12-05 16:46 david.cole * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes. 2008-12-05 16:13 david.cole * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes. 2008-12-05 15:18 david.cole * Modules/AddExternalProject.cmake, Tests/ExternalProject/CMakeLists.txt: ENH: Make it easier to use configure/make/make-install as the build steps for an external project. Add capability of customizing the download step. Add tests of empty projects. Better comments and error checking in AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to see if QNX continuous can build the latest KWStyle. Make KWStyle test depend on all previous test external projects so it builds last to catch other issues before any KWStyle compile errors. 2008-12-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-04 15:30 david.cole * Tests/ExternalProject/: CMakeLists.txt, TryCheckout.cmake: ENH: Use a TryCheckout technique to decide whether or not to attempt building the projects that depend on a cvs or svn download method. 2008-12-04 13:27 david.cole * Modules/AddExternalProject.cmake, Modules/DownloadFile.cmake, Modules/RepositoryInfo.txt.in, Modules/UntarFile.cmake, Tests/CMakeLists.txt, Tests/ExternalProject/CMakeLists.txt, Tests/ExternalProject/Step1.tar, Tests/ExternalProject/Step1.tgz, Tests/ExternalProject/Step1NoDir.tar, Tests/ExternalProject/Step1NoDir.tgz: ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 2008-12-04 10:51 hoffman * Source/kwsys/SystemInformation.cxx: BUG: fix cpu info string 2008-12-04 09:12 hoffman * Modules/GetPrerequisites.cmake: BUG: make sure list is not size 0 before sort 2008-12-04 09:09 hoffman * Source/CPack/cmCPackBundleGenerator.cxx: ENH: allow startup command to be optional 2008-12-04 08:57 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for bug #8216 2008-12-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-03 16:13 hoffman * Modules/: FindCurses.cmake, Platform/Haiku.cmake: ENH: fix curses on haiku 2008-12-03 15:35 hoffman * Source/cmLocalVisualStudio6Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: BUG: fix for rc and vs6 2008-12-03 14:37 hoffman * Modules/CPackRPM.cmake: BUG: #7904 add rpm package depend 2008-12-03 11:21 hoffman * Utilities/cmcurl/Testing/curltest.c: ENH: disable ftp test on branch 2008-12-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-02 21:44 hoffman * Tests/Fortran/: foo.c, foo.f, mysub.f: ENH: add missing files 2008-12-02 16:40 hoffman * Utilities/cmcurl/Testing/curltest.c: ENH: disable ftp check because it is no longer active on public 2008-12-02 07:07 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeASM-ATTInformation.cmake, Modules/CMakeDetermineASM-ATTCompiler.cmake, Modules/CMakeDetermineASMCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeTestASM-ATTCompiler.cmake, Modules/CTest.cmake, Modules/FindQt4.cmake, Modules/FortranCInterface.cmake, Modules/FortranCInterface.h.in, Modules/InstallRequiredSystemLibraries.cmake, Modules/Platform/SunOS-SunPro-Fortran.cmake, Modules/Platform/Windows-g77.cmake, Source/cmIncludeExternalMSProjectCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestTestCommand.cxx, Source/CTest/cmCTestTestCommand.h, Source/kwsys/CTestConfig.cmake, Templates/TestDriver.cxx.in, Tests/Fortran/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: merge in RC 5 2008-12-02 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-12-01 14:41 david.cole * Source/cmGlobalMSYSMakefileGenerator.cxx: BUG: Do not require CMAKE_AR in the MSYS Makefiles generator when enabling language "NONE". 2008-12-01 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-30 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-29 00:05 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-28 10:50 david.cole * Source/cmCTest.h: STYLE: Fix line length style violation. 2008-11-28 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-27 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-26 16:19 hoffman * Utilities/cmcurl/CMakeLists.txt: ENH: fix warning on HPUX 2008-11-26 15:41 david.cole * Source/cmSystemTools.cxx: COMP: Using the proper type for local variables can eliminate compiler warnings. 2008-11-26 14:38 david.cole * Source/cmCTest.cxx, Source/cmCTest.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Tests/CMakeLists.txt, Tests/Environment/CMakeLists.txt, Tests/Environment/main.cxx: ENH: Implement feature request from issue 7885. Allow setting environment variables on a per-test basis for ctest using set_test_properties ENVIRONMENT. 2008-11-26 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-25 16:56 clinton * Modules/FindQt4.cmake: BUG: Revert 1.138. 2008-11-25 16:50 king * Source/cmInstallTargetGenerator.cxx: BUG: Do not map install_name of imported targets When we install a target on Mac, we generate a call to install_name_tool to fix install_name entries in the target for shared libraries it links. This change makes the step ignore entries for imported targets since their install_name will not change and cmTarget cannot produce a mapping for them. This fixes the error GetLibraryNamesInternal called on imported target: kdelibs seen by kde folks. 2008-11-25 09:52 perera * Templates/TestDriver.cxx.in: BUG: the return value of scanf should not be ignored 2008-11-25 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-24 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-23 22:07 hoffman * Source/kwsys/CTestConfig.cmake: ENH: make it submit to cdash 2008-11-23 10:49 hoffman * Source/cmCTest.cxx, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestScriptHandler.cxx, Tests/CMakeLists.txt: ENH: add more debug stuff to CTestCTest2 so I can figure out redwall 2008-11-23 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-22 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-21 16:37 hoffman * Tests/CMakeLists.txt: ENH: make ctest more verbose so that we can see failure on redwall 2008-11-21 16:32 hoffman * Source/: cmMakefile.cxx, cmMakefile.h, cmSetCommand.cxx: BUG: fix issue with -D and cache force 2008-11-21 16:10 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make this test pass if new curl is on 2008-11-21 14:57 hoffman * Source/cmIncludeExternalMSProjectCommand.h: BUG: fix for 8123 documentation issue 2008-11-21 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-20 14:06 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: only link in curl directories that exist, this will help with vs6 nmake 2008-11-20 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-19 01:15 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make it work if new curl is on 2008-11-19 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-18 09:37 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make it work if new curl is on 2008-11-18 09:37 hoffman * Tests/CMakeLists.txt: ENH: add gfortran-4 2008-11-18 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-17 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-16 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-14 17:45 hoffman * Modules/CMakeDetermineFortranCompiler.cmake: BUG: fix for #8089, fix rebuild with fortran and -D 2008-11-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-13 17:12 david.cole * Modules/InstallRequiredSystemLibraries.cmake: BUG: Because of Windows registry madness, we could not find the redistributables directory on Win64 builds... Add a search directory based on devenv (CMAKE_MAKE_PROGRAM) location so we can find it despite the madness. 2008-11-13 16:46 hoffman * Modules/FindDevIL.cmake: file FindDevIL.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:01 +0000 2008-11-13 16:46 alex * Modules/FindDevIL.cmake: BUG: the modules shipped with cmake don't need CMAKE_MINIMUM_REQUIRED(VERSION), because the cmake they are shipped with is always ok. Additionally, if a Find-module does CMAKE_MINIMUM_REQUIRED(), it changes the policies as they may be set up by the project. So this shouldn't be done in a Find-module (or surrounded by policy-push/pop commands) Alex 2008-11-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-12 12:26 chris * Modules/FindDevIL.cmake: ENH: Added First revision of FindDevIL.cmake 2008-11-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-11 16:52 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/GetPrerequisites.cmake, Modules/UseQt4.cmake, Source/cmGlobalGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/kwsys/DynamicLoader.hxx.in: ENH: merge in fixes from head RC 4 2008-11-11 14:03 hoffman * Tests/Fortran/CMakeLists.txt: ENH: fix gcc sun fortran mix 2008-11-11 13:58 hoffman * Modules/Platform/Windows-g77.cmake: ENH: fix fortran flags on g77 windows 2008-11-11 13:58 hoffman * Modules/Platform/SunOS-SunPro-Fortran.cmake: ENH: fix fortran flags on sun 2008-11-11 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-10 13:42 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix package_source target 2008-11-10 10:53 hoffman * Tests/Fortran/CMakeLists.txt: ENH: put a check in for the gnu sunpro case 2008-11-10 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-09 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-08 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-07 16:40 hoffman * Source/kwsys/DynamicLoader.hxx.in: BUG: fix for bug 8060 Haiku build 2008-11-07 15:56 alex * Source/CTest/cmCTestScriptHandler.cxx: ENH: load CMakeDetermineSystem and CMakeSystemSpecificInformation when executing a ctest script so the search paths are fully set up and variables like CMAKE_SYSTEM are available. This is useful e.g. for new-style ctest scripting. (these files are also loaded on startup by cpack, so now they behave similar). Hmmm, maybe they should be also loaded by cmake -P ? Alex 2008-11-07 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-06 17:33 hoffman * Tests/Fortran/CMakeLists.txt: ENH: make the test pass when fortran is gnu and c is cl 2008-11-06 10:54 hoffman * CMakeLists.txt, ChangeLog.manual, Utilities/cmcurl/CMakeLists.txt: ENH: merge in haiku build change from head, again... 2008-11-06 09:41 hoffman * Tests/Fortran/CMakeLists.txt: ENH: add a way to fix bullseye link with fortran 2008-11-06 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-05 18:51 alex * Modules/CMakeASM-ATTInformation.cmake: STYLE: add some comment, so it says at least a bit what it is good for Alex 2008-11-05 17:56 clinton * Modules/FindQt4.cmake: BUG: Fix #7969. Fix moc output files if source dir contains regex characters. 2008-11-05 17:27 hoffman * Modules/CMakeASM_MASMInformation.cmake: file CMakeASM_MASMInformation.cmake was added on branch CMake-2-6 on 2008-12-31 15:14:18 +0000 2008-11-05 17:27 hoffman * Modules/CMakeDetermineASM_MASMCompiler.cmake: file CMakeDetermineASM_MASMCompiler.cmake was added on branch CMake-2-6 on 2008-12-31 15:14:18 +0000 2008-11-05 17:27 hoffman * Modules/CMakeTestASM_MASMCompiler.cmake: file CMakeTestASM_MASMCompiler.cmake was added on branch CMake-2-6 on 2008-12-31 15:14:19 +0000 2008-11-05 17:27 alex * Modules/: CMakeASM_MASMInformation.cmake, CMakeDetermineASM-ATTCompiler.cmake, CMakeDetermineASMCompiler.cmake, CMakeDetermineASM_MASMCompiler.cmake, CMakeTestASM-ATTCompiler.cmake, CMakeTestASM_MASMCompiler.cmake: ENH: add support for the MS masm and masm64 assemblers, works with nmake, not (yet) with the Visual Studio generators Alex 2008-11-05 16:54 clinton * Modules/UseQt4.cmake: BUG: Fix #7934. phonon doesn't always depend on QtDBus. 2008-11-05 10:20 hoffman * Tests/Fortran/CMakeLists.txt: ENH: only call the fortran c interface test when compilers match 2008-11-05 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-04 15:16 hoffman * CMakeLists.txt, ChangeLog.manual, Utilities/cmcurl/select.c, Utilities/cmcurl/CMake/CurlTests.c, Utilities/cmcurl/curl/curl.h, Utilities/cmtar/util.c, Utilities/cmzlib/zconf.h, Utilities/cmzlib/zutil.h: ENH: merge in the rest of the haiku changes 2008-11-04 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-03 16:23 alex * Modules/CTest.cmake: STYLE: mention cdash (not only dart) Alex 2008-11-03 12:15 hoffman * Tests/Fortran/CMakeLists.txt: ENH: only allow matching fortran a c compilers to be used 2008-11-03 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-02 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-11-01 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-31 16:08 hoffman * Tests/Fortran/: CMakeLists.txt: ENH: do not error when sunpro or mipspro fortran used 2008-10-31 07:50 hoffman * Modules/FortranCInterface.cmake: ENH: fix for intel module on linux 2008-10-31 07:50 hoffman * Modules/FortranCInterface.cmake: file FortranCInterface.cmake was added on branch CMake-2-6 on 2008-12-02 12:07:37 +0000 2008-10-31 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-30 17:48 hoffman * Modules/FortranCInterface.cmake: ENH: better output if module linkage is not found 2008-10-30 17:32 hoffman * Tests/Fortran/CMakeLists.txt: ENH: add some debug stuff for the dashboards 2008-10-30 16:50 hoffman * Modules/FortranCInterface.cmake: ENH: fix uppercase version so defines are not upper as well 2008-10-30 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-29 19:49 hoffman * Modules/FortranCInterface.cmake: ENH: fix check for intel windows module mangling 2008-10-29 19:34 hoffman * Modules/FortranCInterface.cmake: ENH: fix check for intel windows module mangling 2008-10-29 17:40 hoffman * Modules/: FortranCInterface.cmake: ENH: add check for intel windows module mangling 2008-10-29 17:37 hoffman * Modules/FortranCInterface.cmake: ENH: fix upper case 2008-10-29 12:27 david.cole * Tests/: CMakeLists.txt, CPackComponents/CMakeLists.txt: ENH: Use settings for CPackComponents test to make it fail if the recent fix of cmCPackGenerator.cxx revision 1.16 ever encounters another regression. 2008-10-29 12:24 hoffman * Modules/FortranCInterface.cmake: ENH: only check for module linkage if f90 is available 2008-10-29 11:50 hoffman * Modules/FortranCInterface.cmake: ENH: fix for xlf module linkage 2008-10-29 10:58 hoffman * Modules/FortranCInterface.cmake, Tests/Fortran/CMakeLists.txt, Tests/Fortran/foo.c, Tests/Fortran/foo.f, Tests/Fortran/mysub.f: ENH: add test for FortranCInterface 2008-10-29 10:58 hoffman * Tests/Fortran/foo.c: file foo.c was added on branch CMake-2-6 on 2008-12-03 02:44:25 +0000 2008-10-29 10:58 hoffman * Tests/Fortran/foo.f: file foo.f was added on branch CMake-2-6 on 2008-12-03 02:44:25 +0000 2008-10-29 10:58 hoffman * Tests/Fortran/mysub.f: file mysub.f was added on branch CMake-2-6 on 2008-12-03 02:44:25 +0000 2008-10-29 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-28 19:53 hoffman * Modules/FortranCInterface.cmake: ENH: add support for g77 extra _ at the end of functions that have an _ in the name... 2008-10-28 00:03 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-27 21:42 hoffman * Modules/FortranCInterface.cmake: ENH: add support for module functions 2008-10-27 15:31 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: make the scc optional 2008-10-27 15:23 hoffman * Modules/: FortranCInterface.cmake, FortranCInterface.h.in: ENH: add fortran link discovery module 2008-10-27 15:23 hoffman * Modules/FortranCInterface.h.in: file FortranCInterface.h.in was added on branch CMake-2-6 on 2008-12-02 12:07:37 +0000 2008-10-27 13:51 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7839 and 4524 2008-10-27 05:23 hoffman * Modules/FindRTI.cmake: file FindRTI.cmake was added on branch CMake-2-6 on 2009-02-04 16:44:12 +0000 2008-10-27 05:23 gotthardp * Modules/FindRTI.cmake: BUG: Fixed CMAKE_FIND_LIBRARY_PREFIXES related error on Win32 systems. 2008-10-25 14:25 gotthardp * Modules/FindRTI.cmake: BUG: removed unused CMakeFindFrameworks include 2008-10-25 12:20 gotthardp * Modules/FindRTI.cmake: ENH: added a module to find M&S HLA RTI 2008-10-24 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-24 17:48 clinton * Modules/FindQt4.cmake: BUG: Fix find of assistant on Mac. 2008-10-24 11:39 david.cole * Modules/GetPrerequisites.cmake, Tests/CMakeTests/CMakeLists.txt: ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for finishing it off. 2008-10-24 11:18 hoffman * CMakeLists.txt, ChangeLog.manual, bootstrap, Modules/CMakeASMInformation.cmake, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranCompilerId.F90.in, Modules/CMakeFortranInformation.cmake, Modules/CMakePlatformId.h.in, Modules/CMakeRCInformation.cmake, Modules/CheckForPthreads.c, Modules/FindBoost.cmake, Modules/FindGLUT.cmake, Modules/FindMFC.cmake, Modules/FindPerlLibs.cmake, Modules/FindQt4.cmake, Modules/FindTclStub.cmake, Modules/FindwxWidgets.cmake, Modules/Platform/Linux.cmake, Modules/Platform/OpenBSD.cmake, Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt, Source/cmAddCustomTargetCommand.cxx, Source/cmAddCustomTargetCommand.h, Source/cmCTest.cxx, Source/cmCallVisualStudioMacro.cxx, Source/cmCommand.h, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.h, Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmDocumentationFormatter.cxx, Source/cmDocumentationFormatter.h, Source/cmDocumentationFormatterDocbook.cxx, Source/cmDocumentationFormatterDocbook.h, Source/cmDocumentationFormatterHTML.cxx, Source/cmDocumentationFormatterHTML.h, Source/cmDocumentationFormatterMan.cxx, Source/cmDocumentationFormatterMan.h, Source/cmEnableLanguageCommand.cxx, Source/cmFindBase.cxx, Source/cmFindCommon.cxx, Source/cmFindLibraryCommand.cxx, Source/cmFindPackageCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmListFileCache.cxx, Source/cmListFileCache.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMacroCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmOutputRequiredFilesCommand.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmSetTargetPropertiesCommand.h, Source/cmSourceFile.cxx, Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmWhileCommand.cxx, Source/cmake.cxx, Source/cmakemain.cxx, Source/CPack/cmCPackBundleGenerator.cxx, Source/CPack/cmCPackGenerator.cxx, Source/CPack/cmCPackGenerator.h, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/CursesDialog/cmCursesMainForm.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/DynamicLoader.hxx.in, Source/kwsys/ProcessUNIX.c, Source/kwsys/SystemInformation.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/testDynamicLoader.cxx, Source/kwsys/testProcess.c, Tests/CMakeLists.txt, Tests/CTestUpdateCVS.cmake.in, Tests/CTestUpdateCommon.cmake, Tests/CTestUpdateSVN.cmake.in, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake, Tests/FindPackageTest/lib/zot/zot-config-version.cmake, Tests/FindPackageTest/lib/zot/zot-config.cmake, Modules/FindCoin3D.cmake, Modules/Platform/Haiku.cmake, Tests/FindPackageTest/FindRecursiveA.cmake, Tests/FindPackageTest/FindRecursiveB.cmake, Tests/FindPackageTest/FindRecursiveC.cmake: ENH: merge in changes for 2.6.3 RC 1 2008-10-23 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-22 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-21 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-20 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-20 13:31 clinton * Modules/FindQt4.cmake: BUG: Fix regression in finding QtAssistant 2008-10-20 11:50 miguelf * Modules/FindwxWidgets.cmake: BUG: Fix to find wxWidgets_LIB_DIR for windows platform more generally; supports gcc, nmake, and visual studio in all configurations. 2008-10-19 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-19 21:14 miguelf * Modules/FindwxWidgets.cmake: BUG: Added unicode paths for wxWidgets_LIB_DIR search and the 2.8.9 suffix for wxWidgets_ROOT_DIR search. 2008-10-19 16:16 king * Tests/CMakeLists.txt: ENH: Enable cvs update test with CMake before 2.6 When CMake is built by CMake 2.4 or lower the FindCVS module is not available. In that case we activiate CTest.UpdateCVS by searching for the cvs command directly. 2008-10-19 11:53 hoffman * Tests/CTestUpdateCVS.cmake.in: file CTestUpdateCVS.cmake.in was added on branch CMake-2-6 on 2008-10-24 15:18:56 +0000 2008-10-19 11:53 hoffman * Tests/CTestUpdateCommon.cmake: file CTestUpdateCommon.cmake was added on branch CMake-2-6 on 2008-10-24 15:18:56 +0000 2008-10-19 11:53 hoffman * Tests/CTestUpdateSVN.cmake.in: file CTestUpdateSVN.cmake.in was added on branch CMake-2-6 on 2008-10-24 15:18:56 +0000 2008-10-19 11:53 king * Tests/: CMakeLists.txt, CTestUpdateCVS.cmake.in, CTestUpdateCommon.cmake, CTestUpdateSVN.cmake.in: ENH: Test CTest update logic with VCS tools This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS". They test that the Update.xml produced by CTest for a version-controlled project contains entries for files added, changed, and removed. 2008-10-19 10:44 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: BUG: use LC_MESSAGES = C instead of en_EN 2008-10-18 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-18 12:07 king * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Fix recognition of files deleted from CVS The output of "cvs update" contains a line such as one of cvs update: `foo.txt' is no longer in the repository cvs update: foo.txt is no longer in the repository cvs update: warning: foo.txt is not (any longer) pertinent when file "foo.txt" has been removed in the version to which the update occurs. Previously only the first case would be recognized. This fixes the regular expression to match all these cases. 2008-10-18 10:31 hoffman * Tests/CMakeBuildTest.cmake.in: ENH: fix test to work with in-source testing of CMake 2008-10-17 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-17 12:52 king * Source/kwsys/CMakeLists.txt: BUG: Fix KWSys SystemInformation dependencies The SystemInformation component of KWSys requires Process and FundamentalType. 2008-10-17 12:51 king * Source/kwsys/CMakeLists.txt: BUG: Enforce KWSys component dependencies early KWSys component dependencies must be enforced before any tests for enabled components are done. This moves the dependency enforcement code to be as early as possible. 2008-10-17 11:29 barre * Source/kwsys/: SystemInformation.cxx: ENH: fix for VS6 and Cygwin 2008-10-16 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-16 19:30 barre * Source/kwsys/: SystemInformation.cxx, SystemTools.cxx, SystemTools.hxx.in: ENH: fix for Vista 2008-10-16 11:34 barre * Source/kwsys/: SystemTools.cxx: ENH: oops 2008-10-15 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-15 23:24 barre * Source/kwsys/: SystemTools.cxx: ENH: fix for Windows Vista 2008-10-15 18:05 clinton * Modules/FindQt4.cmake: ENH: better way to find uic and moc. 2008-10-15 16:56 hoffman * Tests/CMakeBuildTest.cmake.in: ENH: run the right cmake 2008-10-15 16:50 hoffman * Tests/CMakeBuildTest.cmake.in: ENH: run the right cmake 2008-10-15 15:13 hoffman * Source/cmake.cxx: ENH: fix bootstrap test and warning 2008-10-15 13:56 hoffman * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmProjectCommand.cxx, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Tests/CMakeBuildTest.cmake.in, Tests/CMakeLists.txt: BUG: 4244, add a --build option to cmake that can build projects configured by CMake 2008-10-15 10:49 hoffman * Modules/CMakeDetermineRCCompiler.cmake: ENH: remove extra set 2008-10-15 10:40 king * Source/: cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx: BUG: Fix color check for dependency scanning Generation of color rules for dependency scanning messages did not account for disabling color at generation time. See issue #7814. 2008-10-15 10:21 king * Source/cmMakefileTargetGenerator.cxx: ENH: Support object lists longer than 128K on MSVC We use response files to list object files for the MSVC linker. The linker complains if any response file is greater than 128K, so we split the object file lists into multiple response files. 2008-10-15 10:21 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Factor out listing of objects on command line Previously generation of object file lists for linker and cleaning command lines was duplicated for library and executable target generators. This combines the implementations. 2008-10-15 10:21 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx: STYLE: Remove computed but unused variable. An old list of object files for cleaning seems to have been left behind. This removes it. 2008-10-15 09:35 david.cole * Source/CPack/cmCPackGenerator.cxx: BUG: Use the DESTDIR prefix when creating the directory in CPack when CPACK_SET_DESTDIR is ON. Thanks to Petri Hodju for reporting this regression to the CMake mailing list: http://www.cmake.org/pipermail/cmake/2008-October/024563.html. 2008-10-14 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-14 16:07 hoffman * Modules/: CMakeASMInformation.cmake, CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeDetermineRCCompiler.cmake, CMakeFortranInformation.cmake, CMakeRCInformation.cmake, Platform/Windows-cl.cmake: ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 13:56 hoffman * Source/cmEnableLanguageCommand.cxx: ENH: revert last change, as it fails tests 2008-10-14 11:42 hoffman * Modules/Platform/Windows-cl.cmake, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmEnableLanguageCommand.cxx: ENH: better error message for mis-configured nmake environment 2008-10-14 08:43 king * Source/cmFindBase.cxx: ENH: Clarify PATH_SUFFIXES documentation This clarifies documentation of the find_* commands' PATH_SUFFIXES option. The option adds paths with the suffixes but does not remove the paths without the suffixes. 2008-10-13 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-13 22:12 clinton * Modules/FindQt4.cmake: ENH: When changing the qmake pointed to, re-find all of Qt's includes, libraries, etc... This makes it much easier to switch between Qt versions. 2008-10-13 19:39 clinton * Modules/FindQt4.cmake: BUG: Fix find of dbus dependency in Qt 4.4 2008-10-13 09:58 king * Source/cmFindBase.cxx: BUG: Fix find_* search order with path suffixes In cmFindBase we were searching all path suffixes appended to all paths before considering the paths without any suffixes. Instead we should consider each path with and without suffixes before moving to the next path. See issue #7783. 2008-10-12 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-11 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-11 15:35 king * Source/cmDocumentation.cxx: COMP: Fix assignment inside condition 2008-10-11 12:02 king * Source/cmListFileCache.h: BUG: Make sure context info is always initialized This adds a missing default constructor to cmListFileContext that makes sure the line number is initialized to zero. A zero line number will indicate a generated context. 2008-10-10 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-10 17:43 david.cole * Modules/FindMFC.cmake: BUG: Fix for issue #5193. Base result of FindMFC.cmake mostly on a TRY_COMPILE result. Gives accurate answer about whether MFC is available. 2008-10-10 17:08 david.cole * Source/CPack/cmCPackNSISGenerator.cxx: BUG: Fix issue #7800. Enable CPack to find the NSIS installer on Windows 2000. 2008-10-10 11:23 king * Source/: cmDocumentation.cxx, cmDocumentation.h, cmDocumentationFormatter.cxx, cmDocumentationFormatter.h, cmDocumentationFormatterDocbook.cxx, cmDocumentationFormatterDocbook.h, cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h, cmDocumentationFormatterMan.cxx, cmDocumentationFormatterMan.h: ENH: Improve generated documentation formatting Applying patch provided in issue #7797. Fixes to man-pages: - Character '-' must be espaced as '\-' - Surround preformatted text with '.nf' and '.fi' to adjust filling - Give every page a NAME section for indexing by mandb - Pass the man page filename without extension to .TH in its header Also added a title to the HTML header. 2008-10-10 11:23 king * Source/cmDocumentation.cxx: BUG: Fix help type for filenames with many dots The help page type should be determined using only the extension after the last dot. See issue #7797. 2008-10-10 11:23 king * Source/kwsys/SystemTools.cxx: STYLE: Fix typo in GetFilenameLastExtension docs See issue #7797. 2008-10-10 10:48 hoffman * Source/cmOutputRequiredFilesCommand.cxx: BUG: fix for 5071, report error if output file can not be opened 2008-10-10 10:20 hoffman * Source/cmakemain.cxx: BUG: fix for 3778, better docs for -E 2008-10-10 09:36 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: ENH: play it safe and restore the value of LC_MESSAGES 2008-10-10 09:23 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: ENH: make sure LC_MESSAGES is en_EN so that we can parse the output of svn and cvs 2008-10-10 08:11 king * Source/cmGlobalXCodeGenerator.h: STYLE: Fix line-too-long 2008-10-09 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-09 17:04 king * Modules/FindBoost.cmake: BUG: Avoid boost versions less than required Construction of a list of candidate versions used to produce search paths now discards versions less than requested by the user. See issue #7783. 2008-10-09 15:30 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: Fix optional use of relative paths. These changes refactor cmLocalGenerator methods Convert and ConvertToOutputForExisting to support references inside the build tree using relative paths. After this commit, all tests pass with Makefile generators when relative paths are enabled by default. See issue #7779. 2008-10-09 15:08 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Simplify makefile ref to interactive editor The CMAKE_EDIT_COMMAND make variable need not be constructed with ConvertToOutputForExisting. The CMAKE_COMMAND variable works fine without it. 2008-10-09 15:07 king * Source/: cmLocalGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: Simplify framework -F flag generation This removes an unnecessary use of ConvertToOutputForExisting which is needed only on Windows to consider short-pathing. 2008-10-09 13:52 king * Modules/CMakeRCInformation.cmake: BUG: Pass definitions to rc with Makefiles The build rule to run the resource compiler on Windows with a Makefiles generator should include the placeholder to add the definition flags. See issue #7769. 2008-10-09 13:52 king * Source/cmMakefile.cxx: BUG: Finish fix to old DEFINITIONS property The cmMakefile::DefineFlagsOrig ivar was created to help preserve the old DEFINITIONS property behavior now that definitions are moved from DefineFlags to the COMPILE_DEFINITIONS directory property. This fixes propagation of the original value into subdirectories. 2008-10-09 13:00 hoffman * Source/CTest/cmCTestBuildHandler.cxx: BUG: fix for 5218 Error message pattern match for VS8 2008-10-09 12:49 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: BUG: fix for 4026, display a message if ccmake has errors 2008-10-09 11:01 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Put custom target sources in Xcode projects Source files in custom targets are now placed in the Xcode project for convenient editing. See issue #5848. 2008-10-09 11:01 king * Source/cmAddCustomTargetCommand.cxx, Source/cmAddCustomTargetCommand.h, Tests/CustomCommand/CMakeLists.txt: ENH: Allow custom sources in custom targets This adds a SOURCES option to ADD_CUSTOM_TARGET, enabling users to specify extra sources for inclusion in the target. Such sources may not build, but will show up in the IDE project files for convenient editing. See issue #5848. 2008-10-09 11:00 king * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Return utility target after creation After creating a utility target with AddUtilityCommand, return a pointer to the cmTarget instance so the caller may further modify the target as needed. 2008-10-08 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-08 17:58 alex * Source/CTest/cmCTestTestCommand.h: STYLE: lowercase ctest_test() in the documentation Alex 2008-10-08 14:19 david.cole * Source/: CMakeLists.txt, cmCallVisualStudioMacro.cxx: BUG: Fix issue #7533. Revise fix for issue #7058 to use pragma comment libs in the source file rather than using TARGET_LINK_LIBRARIES in CMakeLists.txt because of the complex ifdef logic used in correct copies of comdef.h. 2008-10-08 10:56 hoffman * Tests/FindPackageTest/FindRecursiveA.cmake: file FindRecursiveA.cmake was added on branch CMake-2-6 on 2008-10-24 15:20:35 +0000 2008-10-08 10:56 king * Source/cmFindPackageCommand.cxx, Tests/FindPackageTest/FindRecursiveA.cmake: ENH: Remove implicit NO_MODULE when recursing Recently we taught find_package that the NO_MODULE option is implied when it is recursively invoked in a find-module. This behavior may be confusing because two identical calls may enter different modes depending on context. It also disallows the possibility that one find-module defers to another find-module by changing CMAKE_MODULE_PATH and recursively invoking find_package. This change reverts the feature. 2008-10-07 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-07 16:46 hoffman * Source/cmTarget.cxx: ENH: add missing property definitions 2008-10-07 16:23 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmSetTargetPropertiesCommand.h: BUG: fix for 4524, add support for target properties to set vs source code control information 2008-10-07 10:35 clinton * Modules/FindQt4.cmake: ENH: Fix #7784. Fix link of glib when needed. 2008-10-06 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-06 11:04 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix convenience rule working directory We generate convenience rules to build object files, preprocessed outputs, and assembly outputs of source files individually with make rules. This removes a redundant working directory change when more than one target builds the same source file. 2008-10-05 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-04 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-03 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-03 10:41 hoffman * Tests/FindPackageTest/lib/zot/zot-config-version.cmake: file zot-config-version.cmake was added on branch CMake-2-6 on 2008-10-24 15:19:03 +0000 2008-10-03 10:41 hoffman * Tests/FindPackageTest/lib/zot/zot-config.cmake: file zot-config.cmake was added on branch CMake-2-6 on 2008-10-24 15:19:06 +0000 2008-10-03 10:41 king * Source/cmFindPackageCommand.cxx, Tests/FindPackageTest/lib/zot/zot-config-version.cmake, Tests/FindPackageTest/lib/zot/zot-config.cmake: ENH: Add UNSUITABLE result to package version test Package version test files may now declare that they are unsuitable for use with the project testing them. This is important when the version being tested does not provide a compatible ABI with the project target environment. 2008-10-03 10:40 hoffman * Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake: file recursivea-config.cmake was added on branch CMake-2-6 on 2008-10-24 15:19:01 +0000 2008-10-03 10:40 hoffman * Tests/FindPackageTest/FindRecursiveB.cmake: file FindRecursiveB.cmake was added on branch CMake-2-6 on 2008-10-24 15:20:35 +0000 2008-10-03 10:40 hoffman * Tests/FindPackageTest/FindRecursiveC.cmake: file FindRecursiveC.cmake was added on branch CMake-2-6 on 2008-10-24 15:20:35 +0000 2008-10-03 10:40 king * Source/cmFindPackageCommand.cxx, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/FindRecursiveA.cmake, Tests/FindPackageTest/FindRecursiveB.cmake, Tests/FindPackageTest/FindRecursiveC.cmake, Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake: ENH: Help recursive find_package calls in modules These changes teach find_package to behave nicely when invoked recursively inside a find-module for the same package. The module will never be recursively loaded again. Version arguments are automatically forwarded. 2008-10-03 10:39 king * Source/cmFindPackageCommand.cxx: ENH: Warn and ignore EXACT without version If the find_package command is invoked with the EXACT option but without a version, warn and ignore the option. 2008-10-03 10:11 king * Source/: cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: BUG: Fix config test for target install rules In single-configuration generators a target installation rule should apply to all configurations for which the INSTALL command was specified. The configuration in which the target is built does not matter. In multi-configuration generators each installation rule must be associated with a particular build configuration to install the proper file. The set of configurations for which rules are generated is the intersection of the build configurations and those for which the INSTALL command was specified. 2008-10-03 08:16 hoffman * Source/cmFindCommon.cxx: ENH: undo bad checkin 2008-10-02 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-02 18:48 alex * Source/cmTarget.cxx: STYLE: add documentation for the "TYPE" target property Alex 2008-10-02 13:49 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: 7763 fix, OPTIMIZATION was not set right. Also fix for BUG 7764, put XCODE_ATTRIBUTES_ last 2008-10-02 12:11 hoffman * Modules/Platform/Windows-gcc.cmake: BUG: fix for 5705, link in standard libs for mingw 2008-10-02 09:18 hoffman * Source/: cmFindCommon.cxx, CPack/cmCPackBundleGenerator.cxx, CPack/cmCPackGenerator.cxx, CTest/cmProcess.cxx: STYLE: fix line length issues 2008-10-01 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-10-01 16:16 hoffman * Source/cmake.cxx: BUG: fix for 6280, -E time was not sending back return value 2008-10-01 16:10 hoffman * Modules/FindPerlLibs.cmake: ENH: find perl with FindPerl not find_program, bug: 6243 2008-10-01 14:19 hoffman * Modules/FindTclStub.cmake: BUG: fix for 7451 2008-10-01 13:24 hoffman * Modules/: CMakeCInformation.cmake, Platform/Linux.cmake: BUG: fix for bug 4772, enable_language should now work on linux with correct flags 2008-10-01 13:13 hoffman * Utilities/Release/: ferrari_sgi64_release.cmake, ferrari_sgi_release.cmake: ENH: add new sgi release scripts 2008-10-01 12:46 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: BUG: undo fix for 7292 because a switched file should show up as an odd thing on the dashbaord 2008-10-01 12:45 hoffman * Source/cmGlobalGenerator.cxx: STYLE: fix hidden variable warning 2008-10-01 09:50 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: fix for 7738, allow for spaces in the package target path to CPackConfig files 2008-10-01 09:04 hoffman * Source/: cmCTest.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmIfCommand.cxx, cmInstallCommand.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmake.cxx, CPack/cmCPackBundleGenerator.cxx, CPack/cmCPackGenerator.cxx, CPack/cmCPackGenerator.h, CPack/cmCPackNSISGenerator.cxx, CPack/cmCPackNSISGenerator.h, CPack/cmCPackPackageMakerGenerator.cxx, CTest/cmCTestTestHandler.cxx: STYLE: fix line length stuff for KWStyle 2008-09-30 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-29 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-29 16:09 hoffman * Utilities/cm_curl.h: ENH: fix syntax error 2008-09-29 15:47 hoffman * CMakeLists.txt, Utilities/cmThirdParty.h.in, Utilities/cm_curl.h: ENH: check in ability to build with new curl -f -DCMAKE_USE_NEW_CURL is set 2008-09-28 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-27 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-27 08:04 king * Source/kwsys/SharedForward.h.in: COMP: Avoid incompatible pointer warning In SharedForward, the call to execvp warned on MinGW because the signature declared in process.h has an extra const. We use an explicit cast to convert the pointer type. 2008-09-26 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-26 20:09 hoffman * Modules/FindGLUT.cmake: BUG: fix for 7746 2008-09-26 12:08 barre * Source/kwsys/SharedForward.h.in: ENH: fix bug where sharedforward would not work if there was a space in the path (it would but would interpret the space as the separation between two arguments, and would therefore pass an extra arg that would throw some apps off). Thanks to Brad King. 2008-09-26 08:24 king * Source/kwsys/: CMakeLists.txt, testSharedForward.c.in: ENH: Add test for KWSys SharedForward This tests the basic capability of running another executable from the build tree. 2008-09-26 08:24 king * Source/kwsys/SharedForward.h.in: BUG: Fix SharedForward with spaces on windows The windows execvp function does not re-escape arguments correctly. Instead we generate the escape sequences before calling it. 2008-09-26 08:24 king * Source/kwsys/SharedForward.h.in: BUG: Fix SharedForward in-tree detection To detect when the launcher is running from the build tree we now test if the directory containing it is the same as the build-tree directory using an inode test instead of string comparison. This makes it more robust on case-insensitive filesystems and other quirky situations. 2008-09-26 08:24 king * Source/kwsys/SharedForward.h.in: COMP: Avoid 64-to-32-bit integer conversion warning In SharedForward we are only dealing with command-line-length strings so we need not worry about integer overflow. 2008-09-25 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-25 17:02 hoffman * Modules/Platform/Windows-gcc.cmake: BUG: fix for 7704 2008-09-25 16:52 hoffman * Source/cmakemain.cxx: BUG: fix for bug 7733, document that debug try compile may break the build 2008-09-25 10:21 hoffman * Tests/Unset/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2009-02-04 16:44:19 +0000 2008-09-25 10:21 king * Source/cmCommandArgumentParserHelper.cxx, Tests/Unset/CMakeLists.txt: ENH: Create $CACHE{VAR} syntax This syntax allows reading of cache entries even when variables of the same name have been defined in the local scope. See issue #7715. 2008-09-24 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-24 13:53 hoffman * Utilities/Release/README: ENH: add comment about fixing RC 2008-09-24 13:52 hoffman * CMakeLists.txt: ENH: remove RC 2.6.2 is ready 2008-09-24 10:07 hoffman * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h, cpack.cxx: STYLE: remove warning from branch 2008-09-24 10:01 hoffman * Source/CPack/cpack.cxx: ENH: missed one 2008-09-24 09:57 hoffman * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h: STYLE: fix compiler warning 2008-09-24 08:51 king * Source/: cmCommand.h, cmMakefile.cxx, cmMakefile.h: BUG: Skip a command if its arguments fail to parse If the arguments to a command fail to parse correctly due to a syntax error, the command should not be invoked. This avoids problems created by processing of commands with bad arguments. Even though the build system will not be generated, the command may affect files on disk that persist across CMake runs. 2008-09-24 08:51 king * Source/cmMacroCommand.cxx: ENH: Improve context for errors in macros We now properly report the source location of command arguments inside macros instead of using the macro invocation site. No information is lost because full call-stack information is already reported. 2008-09-24 08:51 king * Source/: cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h, cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h: ENH: Improve argument parsing error messages Previously error messages produced by parsing of command argument variable references, such as bad $KEY{VAR} syntax or a bad escape sequence, did not provide good context information. Errors parsing arguments inside macro invocations gave no context at all. Furthermore, some errors such as a missing close curly "${VAR" would be reported but build files would still be generated. These changes teach CMake to report errors with good context information for all command argument parsing problems. Policy CMP0010 is introduced so that existing projects that built despite such errors will continue to work. 2008-09-23 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-23 13:34 king * Source/cmFindLibraryCommand.cxx: BUG: Fix lib/ to lib/64/ search path conversion Automatic generation of 64-bit library search paths must preserve trailing slashes. This fixes a failure case exposed by the recent rewrite of find_library, which assumes trailing slashes occur on all search paths. 2008-09-23 12:04 hoffman * Source/kwsys/testDynamicLoader.cxx: ENH: one more fix for HAIKU 2008-09-23 11:32 hoffman * CMakeLists.txt, ChangeLog.manual, Source/CPack/cmCPackGenerator.cxx, Source/CPack/cmCPackGenerator.h: ENH: merge in changes for RC 6, fix cpack working from symlink is the only change 2008-09-23 10:15 hoffman * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h: STYLE: fix warning and rename method 2008-09-22 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-22 18:12 hoffman * Source/CPack/cmCPackGenerator.cxx: BUG: fix 7669, cpack did not work with symlinks 2008-09-22 15:00 clinton * Modules/FindQt4.cmake: ENH: Fix #7433. Put list of files in a .pro file and call lupdate on it, instead of putting the list of files on the command line. 2008-09-22 14:05 hoffman * Source/kwsys/: DynamicLoader.hxx.in, ProcessUNIX.c, testProcess.c: ENH: a few more haiku fixes, stop the debugger from coming up for tests 2008-09-22 14:04 hoffman * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: add max width option to ctest ouptut 2008-09-22 14:00 clinton * Modules/FindQt4.cmake: BUG: remove debug statements. 2008-09-22 11:08 king * Modules/Platform/OpenBSD.cmake, Source/cmFindLibraryCommand.cxx, Source/cmake.cxx: ENH: Teach find_library to find OpenBSD-style libs OpenBSD shared libraries use a ".so.." extension and do not have a symlink with just a ".so" extension. Its "ld" is capable of finding the library with the best version. This change adds support for finding such libraries. See issue #3470. 2008-09-22 10:59 king * Source/cmFindLibraryCommand.cxx: ENH: Refactor find_library search logic Previously we searched for library files by enumerating every possible combination of prefix and suffix. Now we load (and cache) directory content from disk and search for matching file names. This should reduce disk access. It will also allow more advanced matching rules in the future. See issue #3470. 2008-09-22 10:56 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: Make dir content cache work during configure Previously the cmGlobalGenerator::GetDirectoryContent method would work safely only during build system generation. These changes make it safe to use during each configure step by flushing it at the beginning. 2008-09-22 10:05 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/BundleUtilities.cmake, Modules/CPackRPM.cmake, Modules/FindBoost.cmake, Modules/FindCurses.cmake, Modules/FindQt4.cmake, Modules/GetPrerequisites.cmake: ENH: merge in changes for RC 5 2008-09-22 09:56 hoffman * Modules/CPackRPM.cmake: BUG: 7435, remove warning for not setting DESTDIR 2008-09-22 09:42 king * Source/cmSourceFile.cxx: ENH: Improve docs of OBJECT_DEPENDS property Specify exactly what the value of the property should contain and the resulting behavior. Note alternatives for a common out-dated usage. 2008-09-21 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-20 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-19 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-19 17:45 hoffman * Modules/CPackRPM.cmake: BUG: 7435 fixes to add optional post-install 2008-09-18 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-18 15:23 hoffman * Modules/FindCurses.cmake: ENH: try to make this work if ncurses lib is found bug not the ncurses header 2008-09-18 10:56 clinton * Modules/FindQt4.cmake: ENH: For #7433, add a bit more documentation and add ability to specify extra flags to lupdate. 2008-09-17 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-17 14:29 hoffman * Modules/FindCoin3D.cmake: file FindCoin3D.cmake was added on branch CMake-2-6 on 2008-10-24 15:20:35 +0000 2008-09-17 14:29 mleotta * Modules/FindCoin3D.cmake: ENH: added a module to find Coin3D 2008-09-16 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-16 17:40 barre * Utilities/cmtar/util.c: ENH: wow. On some Windows machine, trying to mkdir("C:") would fail miserably. WHy not in debug mode? Why not on other win32 machines. Who knows. 2008-09-16 10:30 king * Modules/FindBoost.cmake: BUG: Fix FindBoost versioned find To locate the boost include directory, all search paths and versioned path suffixes should be passed to one call of FIND_PATH. Previously the test for one version would find an unversioned system boost even when the user set BOOST_ROOT (since the NO_DEFAULT_PATH option is not used). See issue #7456. 2008-09-15 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-15 18:23 hoffman * Utilities/cmcurl/select.c: ENH: missed this one, cmake now bootstraps on HAIKU 2008-09-15 17:53 hoffman * bootstrap, Modules/CMakeFortranCompilerId.F90.in, Modules/CMakePlatformId.h.in, Modules/CheckForPthreads.c, Modules/Platform/Haiku.cmake, Source/cmCTest.cxx, Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.h, Source/cmSystemTools.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/ProcessUNIX.c, Source/kwsys/SystemTools.cxx, Source/kwsys/testDynamicLoader.cxx, Source/kwsys/testProcess.c, Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/CMake/CurlTests.c, Utilities/cmcurl/curl/curl.h, Utilities/cmzlib/zconf.h, Utilities/cmzlib/zutil.h: ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53 hoffman * Modules/Platform/Haiku.cmake: file Haiku.cmake was added on branch CMake-2-6 on 2008-10-24 15:20:35 +0000 2008-09-15 13:46 king * Source/cmGlobalGenerator.cxx: ENH: Simplify NOTFOUND variable check When looking for NOTFOUND libraries, use the direct dependencies of a target instead of all dependencies. At least one target will trigger the NOTFOUND error anyway because at least one must directly link it. This removes another use of the old-style link line computation. 2008-09-15 13:30 king * Source/cmMakefileTargetGenerator.cxx: ENH: Use new link info during dependency scanning This removes another use of the old-style link line computation. 2008-09-15 13:30 king * Source/cmTarget.cxx: ENH: Allow link line computation for static libs In some cases it may be useful to compute a "link" line for a static library even though it will not be put in the generated build system. This removes the assertion which previously diallowed the case. 2008-09-15 13:30 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: ENH: Keep target information in final link line In cmComputeLinkInformation items in the final link line returned by GetItems now contain a pointer to their corresponding cmTarget if they were produced by a target. This makes available the set of all targets linked. 2008-09-15 09:51 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Use improved target dependencies for Xcode In cmGlobalGenerator we use cmComputeTargetDepends to construct a safe, non-circular set of inter-target dependencies. This change enables use of the results by the Xcode generator. It also removes a lot of old code and another use of the old-style linking logic. See issue #7652. 2008-09-14 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-13 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-12 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-12 13:29 hoffman * Tests/CMakeTests/ToolchainTest.cmake.in: ENH: merge in from main tree 2008-09-12 10:56 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CheckCCompilerFlag.cmake, Modules/FindThreads.cmake, Modules/readme.txt, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/CPack/cmCPackDebGenerator.cxx, Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/FindVersionTestA.cmake, Tests/FindPackageTest/FindVersionTestB.cmake, Tests/FindPackageTest/FindVersionTestC.cmake, Tests/FindPackageTest/FindVersionTestD.cmake, Tests/Framework/CMakeLists.txt, Tests/Framework/fooExtensionlessResource, Tests/Framework/fooPrivateExtensionlessHeader, Tests/Framework/fooPublicExtensionlessHeader: ENH: 2.6.2 RC 4 merge into main tree 2008-09-11 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-11 14:50 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: make sure flag is found even with extra spaces at the start 2008-09-11 14:34 david.cole * Source/: cmFileCommand.cxx, cmFileCommand.h, cmPolicies.cxx, cmPolicies.h, kwsys/Glob.cxx, kwsys/Glob.hxx.in: ENH: Improve FILE GLOB_RECURSE handling of symlinks with a new CMake policy. CMP0009 establishes NEW default behavior of not recursing through symlinks. OLD default behavior or explicit FOLLOW_SYMLINKS argument to FILE GLOB_RECURSE will still recurse through symlinks. 2008-09-11 11:41 hoffman * Modules/FindThreads.cmake: BUG: fix for 6586, set THREADS_FOUND 2008-09-11 10:48 hoffman * Source/CPack/cmCPackDebGenerator.cxx: ENH: add installed size to deb package 2008-09-10 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-10 11:58 king * Source/cmIfCommand.cxx, Source/cmIfCommand.h, Tests/FindPackageTest/CMakeLists.txt: ENH: Add version comparison to if() command Provide VERSION_LESS, VERSION_EQUAL, and VERSION_GREATER operators in the if() command. This simplifies component-wise comparison of version numbers in the form "major[.minor[.patch[.tweak]]]". 2008-09-10 10:36 hoffman * Templates/DLLHeader.dsptemplate: ENH: fix failing tests 2008-09-10 10:11 hoffman * Tests/FindPackageTest/FindVersionTestD.cmake: file FindVersionTestD.cmake was added on branch CMake-2-6 on 2008-09-12 14:56:21 +0000 2008-09-10 10:11 king * Modules/readme.txt, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/FindVersionTestA.cmake, Tests/FindPackageTest/FindVersionTestB.cmake, Tests/FindPackageTest/FindVersionTestC.cmake, Tests/FindPackageTest/FindVersionTestD.cmake: ENH: Improve find_package version numbering Make the number of version components specified explicitly available. Set variables for unspecified version components to "0" instead of leaving them unset. This simplifies version number handling for find- and config-modules. Also support a fourth "tweak" version component since some packages use them. 2008-09-10 10:10 hoffman * Templates/: DLLHeader.dsptemplate, EXEWinHeader.dsptemplate: BUG: fix bug OUTPUT_LIBNAME_EXPORTS done differently now 2008-09-09 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-09 14:12 hoffman * Modules/CheckCCompilerFlag.cmake: ENH: fix docs, bug 7590 2008-09-09 13:12 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: BUG: fix for bug 7292, svn parsing flagged errors or conflicts for switched or locked files 2008-09-09 13:04 hoffman * Source/cmLocalVisualStudio6Generator.cxx, Templates/EXEHeader.dsptemplate: BUG: fix empty /D option for vs6, fix for 7580 2008-09-09 13:01 hoffman * CTestConfig.cmake: ENH: support old cmake for dashboards 2008-09-09 12:48 david.cole * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: PERF: Test takes too long when recursing for executable files and when doing recursive prerequisite analysis. Put it back the way it was. Add another test later to do the recursive prerequisite analysis. 2008-09-09 11:44 hoffman * Source/CTest/: cmCTestTestCommand.cxx, cmCTestTestCommand.h: BUG: 0007569 add ability to do -R/-E in ctest_test command 2008-09-08 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-08 20:21 hoffman * Tests/CMakeTests/ToolchainTest.cmake.in: BUG: fix test to work with new restrictions that cross compiling must be on 2008-09-08 17:53 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7624, vs7 flag table missing /MAP 2008-09-08 17:43 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: BUG: only check for a toolchain prefix (e.g. "arm-linux-" in "arm-linux-gcc") if we are cross compiling and the compiler is gcc Alex 2008-09-08 11:23 hoffman * Modules/GetPrerequisites.cmake: ENH: do not add the same thing to the PATH again and again 2008-09-08 10:08 king * Source/cmFindPackageCommand.cxx: ENH: Improve message for bad find_package call Use the new-style error reporting mechanism to provide more context information for a find_package call with a bad package name. When the package is not required, issue a warning instead of an error. 2008-09-07 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-07 16:54 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: BUG: #7359 make llvm-gcc work, by explicitely excluding "llvm-" from _CMAKE_TOOLCHAIN_PREFIX (use the (relatively) new CMAKE_MATCH_x variables set by all regex operations) Alex 2008-09-07 06:52 alex * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: COMP: fix compile warning/error (non-void function returning void) Alex 2008-09-06 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-06 19:10 alex * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: provide the xxx_FIND_QUIETLY, xxx_FIND_REQUIRED and xxx_FIND_VERSION_ variables also in Config mode, so the xxxConfig.cmake files can e.g. test the QUIETLY parameter and print something or not Alex 2008-09-06 12:20 hoffman * Modules/BundleUtilities.cmake: file BundleUtilities.cmake was added on branch CMake-2-6 on 2008-09-22 14:05:16 +0000 2008-09-06 12:20 david.cole * Modules/BundleUtilities.cmake, Modules/GetPrerequisites.cmake, Tests/CMakeTests/GetPrerequisitesTest.cmake.in: ENH: Add BundleUtilities.cmake and supporting changes to GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided. 2008-09-05 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-05 15:51 hoffman * Tests/Framework/fooExtensionlessResource: file fooExtensionlessResource was added on branch CMake-2-6 on 2008-09-12 14:56:21 +0000 2008-09-05 15:51 hoffman * Tests/Framework/fooPrivateExtensionlessHeader: file fooPrivateExtensionlessHeader was added on branch CMake-2-6 on 2008-09-12 14:56:21 +0000 2008-09-05 15:51 hoffman * Tests/Framework/fooPublicExtensionlessHeader: file fooPublicExtensionlessHeader was added on branch CMake-2-6 on 2008-09-12 14:56:21 +0000 2008-09-05 15:51 david.cole * Source/cmGlobalXCodeGenerator.cxx, Tests/Framework/CMakeLists.txt, Tests/Framework/fooExtensionlessResource, Tests/Framework/fooPrivateExtensionlessHeader, Tests/Framework/fooPublicExtensionlessHeader: BUG: Fix issue #7046 - make sure extensionless headers and resource files work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test. 2008-09-04 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-04 17:34 king * Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmExportFileGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Source/cmake.cxx, Source/cmake.h, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Import/CMakeLists.txt: ENH: Allow a custom list of debug configurations Create a DEBUG_CONFIGURATIONS global property as a way for projects to specify which configuration names are considered to be 'debug' configurations. 2008-09-04 17:10 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmGetPropertyCommand.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: 2.6.2 RC 3, merge in changes from main tree 2008-09-04 17:02 hoffman * Source/cmWin32ProcessExecution.cxx: BUG: fix extra close that killed cmake when being debugged 2008-09-04 13:15 king * Source/cmGetPropertyCommand.h: BUG: Fix typo in get_property documentation Add some missing whitespace to fix formatting of the documentation. 2008-09-04 13:15 king * Source/cmake.cxx: BUG: Fix unsetting of global properties The set_property command unsets a property if it is given no value. In the case of GLOBAL properties, the cmake::SetProperty method would replace a NULL value with "NOTFOUND". Instead it should be left as NULL so that the property is unset as expected. Once it is unset the get_cmake_property command will still report NOTFOUND while the get_property command will return the empty string as documented. 2008-09-04 11:31 king * Source/CTest/cmCTestBuildAndTestHandler.cxx: BUG: Make CTest honor user-specified config When the -C or --build-config option is used to specify the configuration to be tested by CTest, do not override it with the configuration in which CTest is built. 2008-09-03 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-03 16:22 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7519 extra closing > in fortran projects 2008-09-03 09:43 hoffman * CMakeLists.txt, ChangeLog.manual, Docs/cmake-syntax.vim, Modules/CMakeCCompilerABI.c, Modules/CMakeCCompilerId.c.in, Modules/CMakeCXXCompilerABI.cpp, Modules/CMakeCXXCompilerId.cpp.in, Modules/CheckTypeSizeC.c.in, Modules/FindKDE3.cmake, Modules/FindKDE4.cmake, Modules/FindLibXml2.cmake, Modules/FindLua50.cmake, Modules/FindLua51.cmake, Modules/FindOpenGL.cmake, Modules/FindPHP4.cmake, Modules/FindPNG.cmake, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindTIFF.cmake, Modules/FindX11.cmake, Modules/MacOSXFrameworkInfo.plist.in, Modules/NSIS.template.in, Modules/TestEndianess.c.in, Modules/UsePkgConfig.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Windows-icl.cmake, Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmAddSubDirectoryCommand.h, Source/cmCMakePolicyCommand.cxx, Source/cmCMakePolicyCommand.h, Source/cmCacheManager.cxx, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmComputeTargetDepends.cxx, Source/cmComputeTargetDepends.h, Source/cmDocumentVariables.cxx, Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmExtraCodeBlocksGenerator.cxx, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalKdevelopGenerator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmReturnCommand.h, Source/cmSetPropertyCommand.cxx, Source/cmSetTargetPropertiesCommand.cxx, Source/cmStringCommand.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Source/cmXCodeObject.cxx, Source/cmXCodeObject.h, Source/cmake.cxx, Source/cmakemain.cxx, Source/CTest/cmCTestCoverageHandler.cxx, Source/CursesDialog/cmCursesStringWidget.cxx, Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in, Source/kwsys/ProcessUNIX.c, Tests/BundleTest/BundleLib.cxx, Tests/BundleTest/BundleTest.cxx, Tests/BundleTest/CMakeLists.txt, Tests/BundleTest/BundleSubDir/CMakeLists.txt, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/CustomCommand/CMakeLists.txt, Tests/Dependency/CMakeLists.txt, Tests/Dependency/Case4/CMakeLists.txt, Tests/Dependency/Case4/bar.c, Tests/Dependency/Case4/foo.c, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Export/testLib4lib.c, Tests/ExportImport/Export/testLib4libdbg.c, Tests/ExportImport/Export/testLib4libdbg1.c, Tests/ExportImport/Export/testLib4libopt.c, Tests/ExportImport/Export/testLib4libopt1.c, Tests/ExportImport/Import/CMakeLists.txt, Tests/ExportImport/Import/imp_testExe1.c, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/ReturnTest/CMakeLists.txt, Tests/ReturnTest/include_return.cmake, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: 2.6.2 rc 2 merge from main tree 2008-09-02 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-09-02 14:47 hoffman * Modules/Platform/Windows-icl.cmake: BUG: make sure the intel compiler uses the intel linker 2008-09-02 14:46 hoffman * Modules/NSIS.template.in: BUG: remove Catalan as 2.29 does not have it 2008-09-02 12:43 david.cole * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Fix issue #3648 - make sure CMake reruns if a Bundle application's directory is removed or if it's Info.plist file disappears since those elements are put in place at CMake configure time. 2008-09-02 12:06 hoffman * Modules/MacOSXFrameworkInfo.plist.in: file MacOSXFrameworkInfo.plist.in was added on branch CMake-2-6 on 2008-09-03 13:43:16 +0000 2008-09-02 12:06 king * Modules/MacOSXFrameworkInfo.plist.in, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmTarget.cxx: ENH: Create Info.plist files in OS X Frameworks A Mac OS X Framework should provide a Resources/Info.plist file containing meta-data about the framework. This change generates a default Info.plist for frameworks and provides an interface for users to customize it. 2008-09-02 11:06 david.cole * Tests/BundleTest/: BundleLib.cxx, BundleTest.cxx, CMakeLists.txt: ENH: Add indirect dependency to Carbon and call a Carbon function from executable. This will allow detecting broken dependency chaining for '-framework blah' style lib dependencies. 2008-09-02 10:27 king * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx, cmXCodeObject.h: ENH: Simplify string attributes in Xcode generator This change cleans up the implementation of cmXCodeObject to avoid un-escaping and re-escaping string values. There is no need to store the string in escaped form. It can be escaped once when it is printed out to the generated project file. 2008-09-01 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-31 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-30 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-30 10:32 hoffman * Tests/Unset/unset.c: file unset.c was added on branch CMake-2-6 on 2009-02-04 16:44:19 +0000 2008-08-30 10:32 king * Tests/Unset/: CMakeLists.txt, unset.c, unset.cc: BUG: Fix Unset test on VS 6 Visual Studio 6 does not recognize .cc as a C++ extension by default. Simplify the test to be C-only and use a .c extension. 2008-08-30 09:39 clinton * Modules/FindQt4.cmake: ENH: For #7433, add documentation that directories also can be specified to update the translation files. 2008-08-29 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-29 13:22 king * Source/cmComputeLinkDepends.cxx: BUG: Link flags should still be chained The recent fix to avoid including flags in dependency inferral also dropped them from chaining of dependencies through targets. This fix restores chaining of flags through known dependency lists while still leaving them out of inferred dependency lists. 2008-08-28 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-28 22:25 king * Source/cmComputeLinkDepends.cxx: BUG: A -framework Foo is also a lib 2008-08-28 22:12 king * Source/cmComputeLinkDepends.cxx: BUG: Fix previous fix. 2008-08-28 22:07 king * Source/cmComputeLinkDepends.cxx: BUG: When recognizing flags on link lines, we must still treat -l as a library. 2008-08-27 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-27 12:53 david.cole * Tests/BundleTest/: CMakeLists.txt, BundleSubDir/CMakeLists.txt: ENH: Changes that allow configuring/building BundleTest test separately from the main CMake build. (Eliminate reference to CMake_SOURE_DIR.) 2008-08-27 10:35 king * Source/cmComputeLinkDepends.h: COMP: Do not use private typedef from outside class. 2008-08-27 10:21 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: ENH: New link line item ordering algorithm This change introduces a new algorithm for link line construction. The order it computes always begins with the exact link line specified by the user. Dependencies of items specified by the user are tracked, and those that are not already satisified by the line are appended to it at the end with minimal repeats. This restores the behavior of CMake 2.4 and below while still fixing some of its bugs. See issue #7546. 2008-08-27 10:21 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG: Do not infer dependencies of link flags In cmComputeLinkDepends link items that look like flags (starting in '-') should not be included in dependency inferral. They are not libraries and therefore have no dependencies. They should just be passed through to the final link line unchanged. See issue #7546. 2008-08-27 10:21 king * Source/cmComputeLinkDepends.cxx: BUG: Treat empty config name as no configuration In cmComputeLinkDepends we should treat an empty configuration name as equivalent to no specific configuration at all. 2008-08-26 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-26 16:43 david.cole * Modules/NSIS.template.in: BUG: Do not use "Default" as a language, remove 2nd occurence of "English", and remove three other languages not supported by older versions of NSIS. Tested with version 2.18 of NSIS on gaia.kitware. 2008-08-26 16:04 clinton * Modules/FindQt4.cmake: ENH: Add comments about pre-processor defines and moc. 2008-08-26 12:54 david.cole * Source/cmStringCommand.cxx: BUG: Correct typo in error message. 2008-08-26 11:50 clinton * Modules/FindQt4.cmake: ENH: Use COMPILE_DEFINTIONS instead of DEFINITIONS. 2008-08-26 11:22 clinton * Modules/FindQt4.cmake: ENH: Add -DWIN32 for moc on Windows. Final fix for #7465. 2008-08-25 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-25 19:41 clinton * Modules/FindQt4.cmake: ENH: Add -D preprocessor defines to the moc commands. Needed to fix #7465. 2008-08-25 10:31 hoffman * Source/cmUnsetCommand.cxx: file cmUnsetCommand.cxx was added on branch CMake-2-6 on 2009-02-04 16:44:17 +0000 2008-08-25 10:31 hoffman * Source/cmUnsetCommand.h: file cmUnsetCommand.h was added on branch CMake-2-6 on 2009-02-04 16:44:17 +0000 2008-08-25 10:31 king * Docs/cmake-syntax.vim, Source/cmBootstrapCommands.cxx, Source/cmCacheManager.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSetCommand.h, Source/cmUnsetCommand.cxx, Source/cmUnsetCommand.h, Tests/CMakeLists.txt, Tests/Unset/CMakeLists.txt, Tests/Unset/unset.cc: ENH: Add unset() command. This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507. 2008-08-24 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-23 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-23 13:47 david.cole * Source/cmFileCommand.h: BUG: Correct typo in documentation: or -> of 2008-08-23 13:33 david.cole * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add the RECURSE_SYMLINKS_OFF flag to the FILE GLOB_RECURSE command. Exposes the recently added kwsys capability that prevents recursing through symlinks to CMake scripts. 2008-08-22 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-22 06:56 hoffman * Modules/NSIS.template.in: BUG: remove extension from inserts 2008-08-22 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-21 15:13 hoffman * Modules/NSIS.template.in: ENH: sort languages and use list from NSIS 2.22 2008-08-21 13:55 hoffman * Modules/NSIS.template.in: BUG: remove some languages that are not supported in older versions of NSIS 2008-08-21 09:54 king * Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: ENH: Allow custom limit on object file path length Some native build tools, particularly those for cross compiling, may have a limit on the length of the full path to an object file name that is lower than the platform otherwise supports. This change allows the limit to be set by the project toolchain file through the variable CMAKE_OBJECT_PATH_MAX. 2008-08-21 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-20 18:00 hoffman * Modules/NSIS.template.in: ENH: try to fix error 2008-08-20 13:24 david.cole * Source/: CTest/cmCTestCoverageHandler.cxx, kwsys/Glob.cxx, kwsys/Glob.hxx.in: ENH: Add RecurseThroughSymlinks data member to kwsys::Glob. Allows recursive globs to skip symlinks when necessary. Default to true for backwards compatible behavior. Used from the ctest coverage handler to avoid recursing through the '/Applications' directory on the Mac looking for *.da files... Should fix the hangs reported recently by Mac CMake dashboard submitters. 2008-08-20 11:45 king * Source/cmIfCommand.cxx, Source/cmIfCommand.h, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: Add if(TARGET) command It is useful to be able to test if a target has been created. Often targets are created only inside conditions. Rather than storing the result of the condition manually for testing by other parts of the project, it is much easier for the other parts to just test for the target's existence. This will also be useful when find-modules start reporting results with IMPORTED targets and projects want to test if a certain target is available. 2008-08-20 09:57 king * Source/kwsys/ProcessUNIX.c: BUG: Handle case when select() lies According to "man select" on Linux it is possible that select() lies about data being ready on a pipe in some subtle cases. We deal with this by switching to non-blocking i/o and checking for EAGAIN. See issue #7180. 2008-08-20 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-19 16:40 hoffman * Source/CursesDialog/cmCursesStringWidget.cxx: BUG: fix for 6462, delete key should delete the current char 2008-08-19 15:59 hoffman * Modules/FindOpenGL.cmake: BUG: fix for bug 7104 look for GL in X11R6 dirs 2008-08-19 15:55 hoffman * Source/cmSystemTools.cxx: BUG: fix for 7045, use gcc for .m 2008-08-19 15:42 hoffman * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx: BUG: fix 6647 arguments after -E should not be parsed by CMake 2008-08-19 15:07 hoffman * Source/cmGlobalVisualStudio7Generator.cxx: BUG: fix for 6794 support for LTCG WholeProgramOptimization, which is not available in VS 8 and newer. 2008-08-19 14:28 hoffman * Modules/FindPHP4.cmake: BUG: fix for bug 6775, FindPHP4 did not honor required 2008-08-19 14:23 hoffman * Modules/Platform/Darwin.cmake: BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH 2008-08-19 14:07 hoffman * Modules/NSIS.template.in: BUG: fix for 7446 NSIS support for other languages 2008-08-19 13:59 hoffman * Utilities/Release/: create-cmake-release.cmake, magrathea_release.cmake, upload_release.cmake, v20n17_aix_release.cmake: ENH: check in current build scripts 2008-08-19 13:48 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix for 7496, do not just report configure done when there is an error during configure 2008-08-19 13:31 hoffman * Source/cmake.cxx: BUG: 7448 fix crash in ccmake when compiler is changed 2008-08-19 11:43 king * Tests/: CMakeLists.txt, test_clean.cmake.in: ENH: Add test_clean target to wipe out tests We frequently need to wipe out all the CMake test build directories in order to run tests from scratch. This change adds a test_clean custom target to remove all these directories for out-of-source builds. 2008-08-19 11:43 king * Source/: cmSetPropertyCommand.cxx, cmSetTargetPropertiesCommand.cxx, cmTarget.cxx, cmTarget.h: ENH: Disallow link-type keywords in link interface The LINK_INTERFACE_LIBRARIES target property may not contain the "debug", "optimized", or "general" keywords. These keywords are supported only by the target_link_libraries (and link_libraries) command and are not a generic library list feature in CMake. When a user attempts to add one of these keywords to the property value, we now produce an error message that refers users to alternative means. 2008-08-19 10:29 king * Source/cmTarget.cxx: ENH: Clarify link interface documentation The LINK_INTERFACE_LIBRARIES property does not apply for STATIC libraries. The IMPORTED_LINK_INTERFACE_LIBRARIES property does apply for STATIC libraries. State both explicitly in the documentation. Also, clarify that the per-configuration version of these properties completely overrids the generic version. 2008-08-19 10:28 king * Source/cmMakefile.cxx: BUG: Linking to modules is for 2.2 compat only The compatibility check to allow linking to modules should test for CMake 2.2, not the unreleased 2.3. See issue #7500. Furthermore, the message should be more clear about fixing the code instead of setting CMAKE_BACKWARDS_COMPATIBILITY unless one is just trying to build an existing project. 2008-08-19 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-18 16:29 king * Source/: cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx, cmPolicies.h: ENH: Improve errors when a policy is REQUIRED In the future some policies may be set to REQUIRED_IF_USED or REQUIRED_ALWAYS. This change clarifies the error messages users receive when violating the requirements. 2008-08-18 11:39 king * Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkInformation.cxx, Source/cmLocalGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add UNKNOWN type for IMPORTED libraries When creating an IMPORTED target for a library that has been found on disk, it may not be known whether the library is STATIC or SHARED. However, the library may still be linked using the file found from disk. Use of an IMPORTED target is still important to allow per-configuration files to be specified for the library. This change creates an UNKNOWN type for IMPORTED library targets. The IMPORTED_LOCATION property (and its per-config equivalents) specifies the location of the library. CMake makes no assumptions about the library that cannot be inferred from the file on disk. This will help projects and find-modules import targets found on disk or specified by the user. 2008-08-18 11:26 king * Source/: cmLocalGenerator.cxx, cmTarget.cxx: STYLE: Convert unused target type cases to default In switch statements that deal with only a few target types, use a 'default' case for the remaining target types instead of listing them explicitly. This will make it easier to add more types in the future. 2008-08-18 10:11 king * Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Tests/ExportImport/Export/CMakeLists.txt: ENH: Make link interface mode more distinct Rename the recently added INTERFACE mode of the target_link_libraries() command to LINK_INTERFACE_LIBRARIES. This makes it much more distinct from a normal call to the command, and clearly states its connection to the property of the same name. Also require the option to appear immediately after the target name to make it a mode rather than an option. 2008-08-18 09:53 king * Source/cmCMakePolicyCommand.cxx, Source/cmCMakePolicyCommand.h, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Add cmake_policy(GET) command mode It is likely that projects or CMake modules in the future will need to check the value of a policy setting. For example, if we add a policy that affects the results of FindXYZ.cmake modules, the module code will need to be able to check the policy. 2008-08-18 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-17 05:38 alex * Modules/FindKDE4.cmake: BUG: fix closing ENDIF() Alex 2008-08-17 05:11 alex * Modules/FindQt4.cmake: BUG: fix closing IF() Alex 2008-08-17 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-16 19:11 alex * Modules/: FindKDE3.cmake, FindKDE4.cmake, FindQt3.cmake, FindQt4.cmake: BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can be found in the system Qt3 and Qt4 cannot be used together in one project. Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET Alex 2008-08-16 18:06 hoffman * Tests/ReturnTest/include_return.cmake: file include_return.cmake was added on branch CMake-2-6 on 2008-09-03 13:43:31 +0000 2008-08-16 18:06 alex * Source/cmReturnCommand.h, Tests/ReturnTest/CMakeLists.txt, Tests/ReturnTest/include_return.cmake: STYLE: extend documentation for RETURN() a bit ENH: add a test for calling RETURN() in an included file Alex 2008-08-16 17:14 alex * Modules/FindQt3.cmake: STYLE: remove some unnecessary lines STYLE: everything uppercase in this file Alex 2008-08-16 16:58 alex * Source/cmGlobalKdevelopGenerator.cxx: BUG: fix #7477, set VERBOSE=1 in the kdevelop setting for the environment, not together with the make executable Alex 2008-08-16 16:48 alex * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: remove some commented code Alex 2008-08-16 16:33 alex * Source/cmGlobalKdevelopGenerator.cxx: BUG: fix #7471, only put build directories and CMakeFiles/ in the blacklist Alex 2008-08-16 07:38 alex * Modules/FindX11.cmake: ENH: also search in /usr/X11R7, remove /usr/lib and /usr/local/lib, they are part of the standard search paths (partly sync wih KDE) Alex 2008-08-16 07:29 alex * Modules/FindTIFF.cmake: ENH: add more names for libtiff, mark TIFF_INCLUDE_DIR and TIFF_LIBRARY as advanced (sync with KDE) Alex 2008-08-16 07:22 alex * Modules/FindLibXml2.cmake: ENH: also search for xmllint, which comes with libxml2 (sync with FindLibXml2.cmake from KDE) Alex 2008-08-16 07:10 alex * Modules/FindPNG.cmake: ENH: add more names of linpng (sync with the KDE version) Alex 2008-08-16 07:01 alex * Modules/UsePkgConfig.cmake: STYLE: /usr/local/bin is in the path anyway STYLE: this file is mostly uppercase commands, so make all commands uppercase ENH: add a status message in case pkgconfig didn't find the package (sync with the one from KDE) Alex 2008-08-16 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-15 15:07 hoffman * Modules/Platform/Windows-NMcl.cmake: ENH: add platform file for bounds checker 2008-08-15 09:47 king * Source/cmSystemTools.cxx: COMP: Work-around bogus compiler warning. 2008-08-15 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-14 15:34 alex * Modules/: FindLua50.cmake, FindLua51.cmake: BUG: fix documentation, the variables are named LUA50_FOUND and LUA51_FOUND (in all released versions) Alex 2008-08-14 09:53 king * Source/: cmFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Inform user when RPATH or RUNPATH is removed 2008-08-14 09:53 king * Source/cmSystemTools.cxx: BUG: Update both RPATH and RUNPATH entries During installation the RPATH and RUNPATH entries of ELF binaries are edited to match the user specification. Usually either one entry is present or both entries refer to the same string literal. In the case that they are both present and refer to separate string literals we need to update both. I have never seen this case in practice, but we should do this just in case. 2008-08-14 09:53 king * Source/cmSystemTools.cxx: BUG: Remove both RPATH and RUNPATH entries Removal of the RPATH and RUNPATH from ELF binaries must work when both entries are present. Both entries should be removed. Previously only one would be removed and the other would be blanked because it pointed at the same string which was zeroed. This fixes gentoo bug number 224901. 2008-08-14 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-13 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-12 19:01 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Teach find_package about lib64 paths When find_package is about to look in /lib, search first in /lib64 in cases that find_library would use lib64 paths. 2008-08-12 17:27 hoffman * Tests/ExportImport/Export/testLib4libdbg1.c: file testLib4libdbg1.c was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000 2008-08-12 17:27 hoffman * Tests/ExportImport/Export/testLib4libopt1.c: file testLib4libopt1.c was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000 2008-08-12 17:27 king * Tests/ExportImport/Export/: CMakeLists.txt, testLib4libdbg1.c, testLib4libopt1.c: BUG: Fix ExportImport test on VS6 Visual Studio 6 does not support per-target object files, so just use two separate source file names in this case. 2008-08-12 07:01 alex * Source/cmakemain.cxx: STYLE: one ifdef block less, the documentation object can be created a bit later Alex 2008-08-12 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-11 16:23 hoffman * Tests/ExportImport/Export/testLib4lib.c: file testLib4lib.c was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000 2008-08-11 16:23 hoffman * Tests/ExportImport/Export/testLib4libdbg.c: file testLib4libdbg.c was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000 2008-08-11 16:23 hoffman * Tests/ExportImport/Export/testLib4libopt.c: file testLib4libopt.c was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000 2008-08-11 16:23 king * Tests/ExportImport/: Export/CMakeLists.txt, Export/testLib4lib.c, Export/testLib4libdbg.c, Export/testLib4libopt.c, Import/CMakeLists.txt, Import/imp_testExe1.c: ENH: Test target_link_libraries INTERFACE option 2008-08-11 16:23 king * Source/: cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h: ENH: Simple specification of link interfaces Create an INTERFACE option to the target_link_libraries command to help set the LINK_INTERFACE_LIBRARIES and LINK_INTERFACE_LIBRARIES_DEBUG properties. This will help users specify link interfaces using variables from Find*.cmake modules that include the 'debug' and 'optimized' keywords. 2008-08-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-07 17:51 king * Source/: cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h: ENH: Tolerate repeated link library types The "debug", "optimized", and "general" link library type specifier arguments to the target_link_library commands are sometimes repeated in user code due to variable expansion and other complications. Instead of silently accepting the duplicates and trying to link to a bogus library like "optimized.lib", warn and ignore the earlier specifiers. 2008-08-07 17:12 king * Source/cmAddSubDirectoryCommand.h: ENH: Clarify documentation of EXCLUDE_FROM_ALL The add_subdirectory() command's EXCLUDE_FROM_ALL option does not override inter-target dependencies. This change clarifies the documentation accordingly. 2008-08-07 10:13 hoffman * Tests/Dependency/Case4/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2008-09-03 13:43:27 +0000 2008-08-07 10:13 hoffman * Tests/Dependency/Case4/bar.c: file bar.c was added on branch CMake-2-6 on 2008-09-03 13:43:27 +0000 2008-08-07 10:13 hoffman * Tests/Dependency/Case4/foo.c: file foo.c was added on branch CMake-2-6 on 2008-09-03 13:43:27 +0000 2008-08-07 10:13 king * Tests/Dependency/: CMakeLists.txt, Case4/CMakeLists.txt, Case4/bar.c, Case4/foo.c: ENH: Test fake circular dependency case A recent change fixed a case in which CMake incorrectly diagnosed a circular dependency involving a non-linkable executable target. This adds a test for that case. 2008-08-07 09:09 king * Modules/: CMakeCCompilerABI.c, CMakeCCompilerId.c.in, CMakeCXXCompilerABI.cpp, CMakeCXXCompilerId.cpp.in, CheckTypeSizeC.c.in, TestEndianess.c.in: ENH: Improve robustness of compiler INFO strings Compiler INFO strings built at preprocessing time encode information that must appear as a string literal in the resulting binary. We must make sure the strings appear in the final binary no matter what compiler and flags are used. The previous implementation worked in most places but failed with the GNU linker's --gc-sections option which managed to discard the string. Instead we make the program return value depend on an element of the string indexed by a runtime program parameter, which absolutely requires the string to be present. 2008-08-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-06 17:48 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmComputeTargetDepends.cxx, cmComputeTargetDepends.h: BUG: Avoid bogus dependency on executable targets When an executable target within the project is named in target_link_libraries for another target, but the executable does not have the ENABLE_EXPORTS property set, then the executable cannot really be linked. This is probably a case where the user intends to link to a third-party library that happens to have the same name as an executable target in the project (or else will get an error at build time). We need to avoid making the other target depend on the executable target incorrectly, since the executable may actually want to link to that target and this is not a circular depenency. 2008-08-06 17:48 king * Source/cmComputeTargetDepends.cxx: ENH: Improve readability of circular depends error When reporting the dependencies in a strongly connected component quote the target names to make the message more readable no matter the target name. 2008-08-06 17:48 king * Source/cmGlobalGenerator.cxx: BUG: Fix crash on circular target dependencies After reporting an error about circular target dependencies do not try to continue generation because the dependency computation object is not in a useful state. 2008-08-06 17:43 alex * Tests/CMakeLists.txt: BUG: fix endif() Alex 2008-08-06 17:04 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/FindImageMagick.cmake, Modules/FindKDE3.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Linux-Intel-C.cmake, Modules/Platform/Linux-Intel-CXX.cmake, Source/CMakeLists.txt, Source/cmELF.cxx, Source/cmExtraEclipseCDT4Generator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmSourceFileLocation.cxx, Source/cmSourceFileLocation.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Source/CTest/cmCTestCoverageHandler.cxx, Tests/CustomCommand/CMakeLists.txt: ENH: merge in fixes from main tree 2.6.2 RC 1 2008-08-06 16:16 alex * Tests/CMakeLists.txt: ENH: add simple tests to test that the extra generators don't crash Alex 2008-08-06 16:05 king * Modules/Platform/: Linux-Intel-C.cmake, Linux-Intel-CXX.cmake: ENH: Add preprocessor and assembly rules for Intel 2008-08-06 15:35 alex * Source/cmExtraEclipseCDT4Generator.cxx: BUG: don't crash in the generator is EXECUTABLE_OUTPUT_PATH or LIBRARY_OUTPUT_PATH are empty Alex 2008-08-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-05 16:06 alex * Modules/FindKDE3.cmake: BUG: fix #7452, bad closing ENDIF() statement Alex 2008-08-05 13:27 king * Tests/CustomCommand/CMakeLists.txt: ENH: Test relative path custom command output As of CMake 2.6 a custom command output specified by relative path is placed in the build tree. This adds a test to make sure other references to the output are hooked up correctly, fixing a bug in CMake 2.6.1. 2008-08-05 13:27 king * Source/cmLocalGenerator.cxx: BUG: Custom command depends may match sources Custom command dependencies that are not full paths or targets may also match source files. When one does, the full information about the source file's location and name may be used. This fixes the case when a custom commands depends by relative path on a source file generated by another custom command specifying its output by relative path. 2008-08-05 13:27 king * Source/: cmSourceFileLocation.cxx, cmSourceFileLocation.h: BUG: Fix matching of ambiguous sf extensions. A name with an ambiguous extension may only match an unambiguous name that is extended by one of the fixed set of extensions tried when finding the source file on disk. This rule makes matching of source files with ambiguous extensions much less aggressive but still sufficient. 2008-08-05 09:55 king * Source/cmLocalGenerator.cxx: BUG: Do not convert RPATH entries to full path. When generating RPATH entries on the link line using a repeated linker flag (-R ... -R ... style) do not convert individual entries to a full path. We need to preserve what the user requested. 2008-08-05 09:55 king * Source/cmLocalGenerator.cxx: BUG: Fix escaping in link scripts When generating escape sequences for the native build tool do not put in Makefile escapes for paths generated into link scripts. This fixes putting "$ORIGIN" into the RPATH, and probably some other subtle problems. 2008-08-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-04 11:37 king * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Source/cmMakefileLibraryTargetGenerator.cxx: ENH: Build large archives incrementally Creation of archive libraries with the unix 'ar' tool should be done incrementally when the number of object files is large. This avoids problems with the command line getting too many arguments. 2008-08-04 09:38 king * Source/cmELF.cxx: BUG: Fix operator precedence error in cmELF When attempting to load the RPATH out of a non-ELF file cmELF would crash because the check for a valid file was done with in correct operator precedence. See bug#7392. 2008-08-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-08-01 20:38 miguelf * Modules/FindImageMagick.cmake: STYLE: Fixed module list in documentation; Magick should be MagickCore. 2008-08-01 12:10 david.cole * Source/CMakeLists.txt: BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6. 2008-08-01 11:03 hoffman * CMakeLists.txt: ENH: final 2.6.1 2008-08-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-31 14:16 david.cole * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix issue#4792 - improve verbose and log output when ctest cannot find a file during coverage analysis. 2008-07-31 13:46 david.cole * Source/CMakeLists.txt: BUG: Fix issue #7058 - link the commsup lib explicitly for use on some Visual Studio + SDK combinations 2008-07-31 13:36 hoffman * Source/cmake.cxx: BUG: fix for 7426 bad check for cpack 2008-07-31 12:54 david.cole * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fix issue #5773 - add table entry to map /W0 to WarningLevel="0" 2008-07-31 12:00 hoffman * Tests/BundleGeneratorTest/CMakeLists.txt: ENH: fix for branch 2008-07-31 11:52 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/InstallRequiredSystemLibraries.cmake, Source/cmCallVisualStudioMacro.cxx, Source/cmCallVisualStudioMacro.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmake.cxx, Tests/CMakeLists.txt, Tests/BundleGeneratorTest/BundleIcon.icns, Tests/BundleGeneratorTest/CMakeLists.txt, Tests/BundleGeneratorTest/Executable.cxx, Tests/BundleGeneratorTest/Info.plist, Tests/BundleGeneratorTest/Library.cxx, Tests/BundleGeneratorTest/StartupCommand: ENH: merge in stuff from cvs head RC 16 2008-07-31 11:28 david.cole * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix issue #4971 - use lower case when comparing file names from gcov output on _WIN32 since sometimes the drive letters have different case. 2008-07-31 10:54 hoffman * Tests/CMakeLists.txt: ENH: fix build with Xcode project was missing 2008-07-31 10:33 hoffman * Source/: cmMakefile.cxx, cmake.cxx, cmake.h, cmakemain.cxx: ENH: add a --trace option 2008-07-31 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-30 16:36 hoffman * Tests/BundleGeneratorTest/BundleIcon.icns: file BundleIcon.icns was added on branch CMake-2-6 on 2008-07-31 15:52:24 +0000 2008-07-30 16:36 hoffman * Tests/BundleGeneratorTest/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000 2008-07-30 16:36 hoffman * Tests/BundleGeneratorTest/Executable.cxx: file Executable.cxx was added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000 2008-07-30 16:36 hoffman * Tests/BundleGeneratorTest/Info.plist: file Info.plist was added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000 2008-07-30 16:36 hoffman * Tests/BundleGeneratorTest/Library.cxx: file Library.cxx was added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000 2008-07-30 16:36 hoffman * Tests/BundleGeneratorTest/StartupCommand: file StartupCommand was added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000 2008-07-30 16:36 david.cole * Tests/: CMakeLists.txt, BundleGeneratorTest/BundleIcon.icns, BundleGeneratorTest/CMakeLists.txt, BundleGeneratorTest/Executable.cxx, BundleGeneratorTest/Info.plist, BundleGeneratorTest/Library.cxx, BundleGeneratorTest/StartupCommand: ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the patch. See issue #7170 for more details. 2008-07-30 15:43 david.cole * Modules/InstallRequiredSystemLibraries.cmake: BUG: Fix issue #6610. Use 64-bit system binaries when using the 64-bit MSVC compiler. Thanks to Clinton Stimpson for the patch. 2008-07-30 15:26 david.cole * Source/: cmCallVisualStudioMacro.cxx, cmCallVisualStudioMacro.h, cmGlobalVisualStudioGenerator.cxx, cmake.cxx: BUG: Fix issue #7088 - do not emit error messages when attempts to run Visual Studio macros fail. You can still get the error output as messages if you want using --debug-output from the cmake command line. 2008-07-30 15:18 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix for bug 7427, preinstall target name hard coded 2008-07-30 14:54 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindBoost.cmake, Modules/FindImageMagick.cmake, Modules/FindJPEG.cmake, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmLocalGenerator.cxx, Source/cmOrderDirectories.cxx, Source/cmOrderDirectories.h, Source/cmSourceFileLocation.cxx, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h: ENH: merge in from main tree RC 15 2008-07-30 13:28 david.cole * Source/CPack/: cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h: BUG: Fix issue #7414 - do not crash when given components with circular dependencies. Thanks to Doug Gregor for the patch. 2008-07-30 11:06 king * Source/cmSourceFileLocation.cxx: ENH: Recognize src extensions of all enabled langs For historical reasons we still support naming of source files without their extension. Sources without known extensions are located on disk by iterating through a fixed set of possible extensions. We now want users to always specify the extension, so the fixed set will not be expanded and is preserved for compatibility with older projects. This change adds recognition of extensions of all enabled languages to avoid checking the disk for files whose extensions are unambiguous but not in the original fixed set. 2008-07-30 11:06 king * Source/cmSourceFileLocation.cxx: BUG: Avoid double-slash in check for source file 2008-07-30 10:44 hoffman * Source/cmLocalGenerator.cxx: BUG: fix for bug 7421, fortran did not get arch flags on the mac 2008-07-30 10:23 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmComputeLinkInformation.cxx: BUG: Preserve all non-targets on user link lines In CMake 2.4 the generated link line for a target always preserved the originally specified libraries in their original order. Dependencies were satisfied by inserting extra libraries into the line, though it had some bugs. In CMake 2.6.0 we preserved only the items on the link line that are not known to be shared libraries. This reduced excess libraries on the link line. However, since we link to system libraries (such as /usr/lib/libm.so) by asking the linker to search (-lm), some linkers secretly replace the library with a static library in another implicit search directory (developers can override this by using an imported target to force linking by full path). When this happens the order still matters. To avoid this and other potential subtle issues this commit restores preservation of all non-target items and static library targets. This will create cases of unnecessary, duplicate shared libraries on the link line if the user specifies them, but at least it will work. In the future we can attempt a more advanced analysis to safely remove duplicate shared libraries from the link line. 2008-07-30 09:25 king * Source/cmComputeLinkDepends.cxx: BUG: Preserve shared lib order for 2.4 compatibility We preserve the order and multiplicity of libraries directly linked by a target as specified by the user. Items known to be shared libraries may be safely skipped because order preservation is only needed for static libraries. However, CMake 2.4 did not skip shared libs, so we do the same when in 2.4 compatibility mode. 2008-07-30 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-29 16:41 hoffman * Modules/FindJPEG.cmake: BUG: #7416 fix error when jpeg is not found 2008-07-29 14:57 king * Source/: cmComputeLinkInformation.cxx, cmOrderDirectories.cxx, cmOrderDirectories.h: ENH: Warn when system libraries may be hidden. We never explicitly specify system library directories in linker or runtime search paths. Furthermore, libraries in these directories are always linked by asking the linker to search for them. We need to generate a warning when explicitly specified search directories contain files that may hide the system libraries during the search. 2008-07-29 14:01 king * Source/: cmComputeLinkInformation.cxx, cmOrderDirectories.cxx, cmOrderDirectories.h: ENH: Provide context in path ordering warnings 2008-07-29 14:00 king * Source/cmOrderDirectories.cxx: STYLE: Fix typo in comment in cmOrderDirectories 2008-07-29 10:51 hoffman * Source/cmComputeLinkInformation.cxx: ENH: do not depend on files that do not exist 2008-07-29 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-28 15:40 dgregor * Modules/FindBoost.cmake: BUG: Be more careful with Boost_MINOR_VERSION in FindBoost module 2008-07-28 14:33 dgregor * Modules/FindBoost.cmake: BUG: Work around Boost 1.36.0 bug fix on Darwin by setting the mangled compiler name to -xgccVERSION 2008-07-28 11:31 hoffman * CMakeLists.txt, CTestConfig.cmake, ChangeLog.manual, DartConfig.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: merge in policy 0008 and cdash direct submission 2008-07-28 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-27 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-26 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-25 23:23 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindJNI.cmake, Source/cmSourceFileLocation.cxx: ENH: merge in from main tree and fix bug for flex and yacc stuff in SecondLife 2008-07-25 18:00 hoffman * Source/cmSourceFileLocation.cxx: BUG: fix source file extension bug that broke Second life build 2008-07-25 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-24 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-23 12:59 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h, cmPolicies.cxx, cmPolicies.h, cmTarget.cxx, cmTarget.h: ENH: Support full-path libs w/out valid names. This change introduces policy CMP0008 to decide how to treat full path libraries that do not appear to be valid library file names. Such libraries worked by accident in the VS IDE and Xcode generators with CMake 2.4 and below. We support them in CMake 2.6 by introducing this policy. See policy documentation added by this change for details. 2008-07-23 12:19 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: ENH: Skip libs in known dirs for CMP0003 warnings. Sometimes we ask the linker to search for a library for which the path is known but for some reason cannot be specified by full path. In these cases do not include the library in CMP0003 warnings because we know the extra paths are not needed for it. 2008-07-23 02:47 miguelf * Modules/FindImageMagick.cmake: ENH: Updated FindImageMagick to: - Find newer additions such as animate, compare, etc. - Find development api: Magick++, MagickCore, MagickWand - Use FindPackageHandleStandardArgs to output standard messages. 2008-07-23 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-22 14:04 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CheckFortranFunctionExists.cmake, Modules/FindBLAS.cmake, Modules/FindLAPACK.cmake, Modules/FindMPI.cmake, Modules/FindwxWidgets.cmake, Source/cmComputeLinkInformation.cxx, Source/cmDocumentVariables.cxx, Source/cmDocumentation.cxx, Source/cmDocumentationFormatter.cxx, Source/cmDocumentationFormatterHTML.cxx, Source/cmLocalGenerator.cxx, Source/CPack/cmCPackBundleGenerator.cxx: ENH: merge in changes from main tree for RC12 2008-07-22 13:34 hoffman * Modules/: FindBLAS.cmake, FindLAPACK.cmake, FindOpenSSL.cmake: ENH: change to correct line feed 2008-07-22 13:32 hoffman * Source/cmLocalGenerator.cxx: COMP: fix compiler warning and follow style 2008-07-22 07:15 alin.elena * Modules/: CheckFortranFunctionExists.cmake, FindBLAS.cmake, FindLAPACK.cmake: ENH: FindBLAS.cmake, FindLAPACK.cmake modules were redesigned so now you have three new variables BLA_VENDOR (you can specify the VENDOR), BLA_STATIC (gets the static version of libs), BLA_F95 (gets the fortran 95 interface). BLA_VENDOR can be specified as an environment variable. Intel mkls libs need FindThreads to be found correctly so you will need to enable the C/CXX 2008-07-22 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-21 17:52 alex * Source/: cmDocumentation.cxx, cmDocumentationFormatter.cxx, cmDocumentationFormatterHTML.cxx: ENH: handle HTML documentation for single items better: no warning about ComputeSectionLinkPrefix, don't create an index for only one item Alex 2008-07-21 15:44 hoffman * CTestConfig.cmake, DartConfig.cmake: ENH: switch to using cdash for submissions 2008-07-21 15:34 hoffman * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH: get out of module if no fortran 2008-07-21 15:11 hoffman * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH: this should fail only if required is sent to find package 2008-07-21 13:40 alin.elena * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH: checks if Fortran is enbaled. If not an error message is produced. 2008-07-21 10:07 king * Source/cmComputeLinkInformation.cxx: ENH: Support full-path libs w/out extension in VS IDE. - This case worked accidentally in CMake 2.4, though not in Makefiles. - Some projects build only with the VS IDE on windows and have this mistake. - Support them when 2.4 compatibility is enabled by adding the extension. 2008-07-21 04:56 alin.elena * Modules/: CheckFortranFunctionExists.cmake, FindLAPACK.cmake: ENH: Modules/CheckFortranFunctionExists.cmake helps gfortran to check the existence of a file ENH: Modules/FindLAPACK.cmake returns the full list of libraries required to link against Lapack 2008-07-21 00:02 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-20 17:14 alex * Source/cmDocumentVariables.cxx: STYLE: fix #7146, add documentation for CMAKE[_SYSTEM]_(LIBRARY|PROGRAM|INCLUDE|PREFIX)_PATH variables -moved CMAKE_CROSSCOMPILING from "Variables that modify behaviour" to "variables that Provide Information", since it should be used only for testing whether we are currently in cross compiling mode, not for switching between the modes. Alex 2008-07-20 15:50 alex * Modules/FindJNI.cmake: BUG: #7333, search dirs for Fedora Alex 2008-07-20 15:45 alex * Modules/FindJNI.cmake: BUG: #7360: add support for FreeBSD BUG: #7345: add support for ppc Alex 2008-07-20 15:39 alex * Modules/FindJNI.cmake: BUG: fix #6416: provide JNI_LIBRARIES and JNI_INCLUDE_DIRS Alex 2008-07-19 23:52 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-18 23:52 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-18 16:12 david.cole * Source/CPack/cmCPackBundleGenerator.cxx: ENH: Improvements to the bundle cpack generator from second patch attached to feature request #7170. Thanks to Tim Shead. 2008-07-18 11:24 hoffman * CMakeLists.txt, ChangeLog.manual, Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/CMake/CheckCSourceCompiles.cmake, Utilities/cmcurl/CMake/CheckCSourceRuns.cmake, Utilities/cmcurl/CMake/CurlCheckCSourceCompiles.cmake, Utilities/cmcurl/CMake/CurlCheckCSourceRuns.cmake, Utilities/cmcurl/CMake/OtherTests.cmake: ENH: merge in fix for xcode 3.1 build from main tree 2008-07-18 08:17 dgregor * Modules/FindMPI.cmake: ENH: Use the HINTS feature of find_library to find the right libraries for MPI, and act a bit more intelligently when MPI cannot be found. 2008-07-17 23:52 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-17 15:19 king * Utilities/cmcurl/CMakeLists.txt: COMP: Check for -Wno-long-double before using Older GCC on the Mac warns for use of long double, so we use -Wno-long-double. Newer GCC on the Mac does not have this flag and gives an error. We now check for the flag before using it. See bug #7357. 2008-07-17 15:19 hoffman * Utilities/cmcurl/CMake/CurlCheckCSourceCompiles.cmake: file CurlCheckCSourceCompiles.cmake was added on branch CMake-2-6 on 2008-07-18 15:24:26 +0000 2008-07-17 15:19 hoffman * Utilities/cmcurl/CMake/CurlCheckCSourceRuns.cmake: file CurlCheckCSourceRuns.cmake was added on branch CMake-2-6 on 2008-07-18 15:24:26 +0000 2008-07-17 15:19 king * Utilities/cmcurl/CMake/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake, CurlCheckCSourceCompiles.cmake, CurlCheckCSourceRuns.cmake, OtherTests.cmake: ENH: Avoid cmcurl CMake macro name conflicts Utilities/cmcurl/CMake provides macros with the same file names and macro names as others in Modules, but with different interfaces. We rename the curl ones to avoid conflict. 2008-07-17 10:14 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Tests/TryCompile/CMakeLists.txt: ENH: merge in two bug fixes to 26 2008-07-16 23:52 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-16 11:03 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Fix try_compile during EnableLanguage - The source-file signature of try_compile looks up the language of the source file using the extension-to-language map so that it knows what language to enable in the generated project. - This map needs to be filled before loading a file specified by CMAKE_USER_MAKE_RULES_OVERRIDE CMAKE_USER_MAKE_RULES_OVERRIDE_ so that the user file may call the try_compile() source-file signature. - It must still be re-filled after loading CMakeInformation.cmake in case the compiler- or platform-specific files added anything. - See bug #7340. 2008-07-16 09:29 hoffman * Tests/TryCompile/CMakeLists.txt: ENH: remove test that does not work on all compilers 2008-07-15 23:52 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-15 11:35 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindBoost.cmake, Source/cmGlobalXCodeGenerator.cxx, Tests/TryCompile/CMakeLists.txt: ENH: merge in fix for xcode and new version of find boost 2008-07-15 10:04 hoffman * Tests/TryCompile/CMakeLists.txt: ENH: add a test for bug 7316 2008-07-14 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-14 18:51 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: fix for bug 7316 2008-07-14 13:52 dgregor * Modules/FindBoost.cmake: ENH: FindBoost can now find the upcoming Boost 1.46 2008-07-14 12:24 hoffman * CMakeLists.txt, ChangeLog.manual, Source/CMakeLists.txt: ENH: add cmCPackComponentGroup to build 2008-07-14 09:22 hoffman * Source/CPack/cmCPackComponentGroup.cxx: ENH: add missing merged file 2008-07-13 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-13 18:06 miguelf * Modules/FindwxWidgets.cmake: ENH: Improved support for finding wxWidgets in MinGW environment. 2008-07-13 17:55 hoffman * CMakeCPackOptions.cmake.in, CMakeLists.txt, ChangeLog.manual, Modules/CPack.Info.plist.in, Modules/CPack.cmake, Modules/FindBoost.cmake, Modules/FindQt4.cmake, Modules/FindwxWidgets.cmake, Modules/NSIS.template.in, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmGetCMakePropertyCommand.cxx, Source/cmGetCMakePropertyCommand.h, Source/cmGlobalGenerator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmInstallCommand.cxx, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmInstallTargetGenerator.h, Source/cmInstallTargetsCommand.cxx, Source/cmake.cxx, Source/CPack/cmCPackComponentGroup.h, Source/CPack/cmCPackGenerator.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/CMakeSetupDialog.h, Source/QtDialog/CMakeSetupDialog.ui, Source/QtDialog/QCMakeCacheView.cxx, Source/kwsys/RegularExpression.cxx, Tests/CPackComponents/CMakeLists.txt: ENH: Merge from head create RC7 2008-07-12 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-11 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-10 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-10 17:20 hoffman * Source/kwsys/RegularExpression.cxx: COMP: remove warning and check for assignment to itself in operator= 2008-07-09 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-09 17:45 king * Modules/Platform/Darwin.cmake: BUG: Fix dylib versioning flags for old OSX. - ld flags -dylib_compatibility_version and -dylib_current_version are libtool flags -compatibility_version and -current_version - OSX 10.3 does not like the dylib_ prefixes. 2008-07-09 16:30 david.cole * Source/CPack/cmCPackComponentGroup.h: COMP: Fix HP continuous. Pull stl headers into CMake header files using cmStandardIncludes.h 2008-07-09 13:38 hoffman * Source/CPack/cmCPackComponentGroup.cxx: file cmCPackComponentGroup.cxx was added on branch CMake-2-6 on 2008-07-14 13:22:45 +0000 2008-07-09 13:38 david.cole * Modules/CPack.Info.plist.in, Modules/CPack.cmake, Source/CMakeLists.txt, Source/CPack/cmCPackComponentGroup.cxx, Source/CPack/cmCPackComponentGroup.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h: ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 2008-07-09 11:46 hoffman * Source/kwsys/RegularExpression.cxx: ENH: fix memory leak 2008-07-09 10:09 king * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h: ENH: Set version info for shared libs on OSX. - Map SOVERSION major.minor.patch to compatibility_version - Map VERSION major.minor.patch to current_version - See issue #4383. 2008-07-09 10:09 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Add full target version signature cmTarget::GetTargetVersion. 2008-07-08 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-08 17:47 david.cole * Tests/CPackComponents/CMakeLists.txt: ENH: Use new cpack_add_component macro (and friends) from the CPackComponents test. Thanks again to Doug Gregor! 2008-07-08 11:52 david.cole * Modules/CPack.cmake, Modules/NSIS.template.in, Source/CPack/cmCPackComponentGroup.h, Source/CPack/cmCPackGenerator.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/cmGetCMakePropertyCommand.cxx, Source/cmGetCMakePropertyCommand.h, Source/cmGlobalGenerator.h, Source/cmInstallCommand.cxx, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmInstallTargetGenerator.h, Source/cmInstallTargetsCommand.cxx: ENH: Further refinement of the CPack components functionality from Doug Gregor. Details: ========== - New cpack_add_component, cpack_add_component_group, and cpack_add_install_type "commands" defined as macros in the CPack module. - Documentation for all of the variables and commands in the CPack module. - Added get_cmake_property(... COMPONENTS) to CMake to ask for the names of all components. Used in the CPack module to automatically build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to turn off component-based installation). - A group can declare its PARENT_GROUP, to build an arbitrary hierarchy of groups. - New CPack command cpack_configure_downloads, which creates an installer that downloads only the selected components on-the-fly. Those components marked DOWNLOADED will be separate packages downloaded on-the-fly (or, all packages can be marked as such with the ALL option to cpack_configure_downloads). Individual components are compressed with ZIP at installer-creation time and downloaded/uncompressed by the installer as needed. This feature is only available on Windows with NSIS at the moment. - NSIS installers can install themselves and enable the "Change" button in Add/Remove programs, allowing users to go back and install or remove components. This can be disabled through cpack_configure_downloads, because it's only really useful is most of the application's functionality is in downloaded components. - Bug fix: automatically install everything whose COMPONENT was not specified (it's a hidden, required group) - Bug fix: fixed removal of components when re-running the NSIS installer and unchecking components - Bug fix: NSIS installers now only install/remove the minimal number of files when re-run to update the installation (or by clicking "Change" in Add/Remove programs) 2008-07-07 23:53 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-07 15:07 hoffman * Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Tests/CMakeLists.txt: ENH: add get_test_property to bootstrap so bootstrap builds test the same as non-bootstrap builds 2008-07-07 13:12 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Do not build human-reference files in Xcode - The Info.plist file in app bundles should not be built. - User-specified files such as foo.txt should not be built. - Only files with a recognized language should be built, just as in the Makefiles generators. - See bug #7277. 2008-07-07 10:57 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Add projectRoot to Xcode projects - This attribute points Xcode at the source tree. - Xcode 3 wants this to be set always. - See bug #7044. 2008-07-07 10:05 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix AppBundle=>Library depends in Xcode - The Xcode generator xcode-depend-helper needs to account for the paths of executables within application bundles. - See bug #7278. 2008-07-06 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-06 22:06 hoffman * Source/CTest/cmCTestTestHandler.cxx: COMP: fix warning 2008-07-06 20:03 hoffman * Source/CTest/cmCTestMultiProcessHandler.h: COMP: fix some more warnings 2008-07-06 19:58 hoffman * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: COMP: fix a few more warnings 2008-07-06 04:57 miguelf * Modules/FindwxWidgets.cmake: BUG: Add new library richtext. Reported in #7284 thanks to earith. 2008-07-05 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-05 13:25 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui: ENH: Replace Advanced checkbox and group option in menu with a combo box to choose view type. 2008-07-05 11:57 clinton * Modules/FindQt4.cmake: BUG: Watch for empty qconfig.pri files. Fixes #7287. 2008-07-05 09:29 hoffman * Source/cmGlobalGenerator.cxx: COMP: fix warning 2008-07-04 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-04 10:28 hoffman * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmCTestMultiProcessHandler.h, cmCTestTestHandler.cxx: COMP: try to fix sgi compiler problem with set and also shorten symbol lengths for set class 2008-07-04 10:10 hoffman * Source/CTest/cmCTestTestHandler.cxx: COMP: fix more warnings 2008-07-04 09:55 hoffman * Source/CTest/cmCTestTestHandler.cxx: COMP: fix warning 2008-07-04 09:50 hoffman * Source/: cmCTest.cxx, CTest/cmCTestTestHandler.cxx: COMP: fix some warnings 2008-07-03 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-03 18:19 dgregor * Modules/FindBoost.cmake: COMP: Find Boost as installed by the BoostPro/Boost Consulting installers on Windows 2008-07-03 16:26 hoffman * Source/CTest/cmCTestMultiProcessHandler.cxx: ENH: one more fix for the old hp c++ compiler 2008-07-03 15:49 dgregor * Modules/FindBoost.cmake: ENH: Cleanup FindBoost module, fixing several small bugs and providing better diagnostic information when things go wrong 2008-07-03 15:46 king * Tests/CMakeLists.txt: BUG: Replace non-bootstrap command with macro - The GET_TEST_PROPERTY command does not exist during bootstrap. - Instead of lots of conditionals, replace it with a macro. 2008-07-03 15:02 hoffman * Source/CTest/cmProcess.cxx: ENH: one more fix for hp 2008-07-03 14:38 king * Tests/CMakeLists.txt: ENH: Remove condition on use of CMake 2.4 commands - Commands SET_TESTS_PROPERTIES and GET_TEST_PROPERTY exist in CMake 2.4, which is now required. - Therefore we need not check before using them. 2008-07-03 14:34 king * Tests/CMakeLists.txt: COMP: Don't set properties on a non-existing test - Test SubProject-Stage2 is conditionally created. - Set properties on it only if it exists. 2008-07-03 13:55 hoffman * Source/CTest/cmProcess.h: ENH: fix for old hp compiler 2008-07-03 13:55 king * Source/cmake.cxx: ENH: Do not auto-create out-dated cache variables - We used to always put LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in the cache if the project did not. - In CMake 2.6 these variables should no longer be used. - Now add them only if CMAKE_BACKWARDS_COMPATIBILITY is also cached. - This happens only when CMP0001 is set to OLD or WARN or if the user or project sets it. In any case compatibility is needed. - Reported by Miguel A. Figueroa-Villanueva and Philip Lowman. 2008-07-03 13:28 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: BUG: Fix Xcode reference to Info.plist resource - Generated Xcode projects for application bundles list the CMake-generated Info.plist input file as a resource. - The location of the input file was moved by a previous commit, but the reference to it as a resource file was not updated. - This change moves the file to CMakeFiles/.dir/Info.plist to give it a more intuitive name in the Xcode project. - We also update the reference to point at the correct location. - See bug #7277. 2008-07-03 13:28 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix Xcode per-config bundle name in Info.plist - The Xcode generator creates one Info.plist input file which is converted at build time by Xcode and placed in the final bundle. - The _OUTPUT_NAME target property can place different content for the exe name in Info.plist on a per-configuration basis. - Instead of generating a per-config Info.plist input file just let Xcode put the name in at build time using the $(EXECUTABLE_NAME) var. 2008-07-03 09:49 hoffman * Source/CTest/: cmProcess.cxx, cmProcess.h: ENH: add missing file 2008-07-03 09:31 hoffman * Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/CTest/cmCTestGenericHandler.cxx, Source/CTest/cmCTestMultiProcessHandler.cxx, Source/CTest/cmCTestMultiProcessHandler.h, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Tests/CMakeLists.txt: ENH: add initial ctest -j feature 2008-07-02 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-01 23:54 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-07-01 10:58 hoffman * CMakeCPackOptions.cmake.in: ENH: fix install in add/remove programs, again... 2008-06-30 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-30 16:10 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindGettext.cmake, Modules/FindKDE4.cmake, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h: ENH: check in RC 6 merges from trunk 2008-06-30 14:29 clinton * Source/QtDialog/QCMakeCacheView.cxx: BUG: Fix column widths on some systems. 2008-06-30 09:57 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not escape make variable references in VS additional options. 2008-06-29 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-29 18:58 alex * Modules/FindGettext.cmake: BUG: fix 7230: don't ignore first parameter if it's not ALL Alex 2008-06-28 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-28 11:16 martink * Source/: cmIfCommand.cxx, cmIfCommand.h, cmWhileCommand.cxx: BUG: fix memory leak and cleanup error string code 2008-06-27 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-26 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-26 13:30 king * Source/: cmMakefile.cxx, cmMakefile.h: BUG: Fix computed directory property DEFINITIONS. - The property tracks the value formed by add_definitions and remove_definitions command invocations. - The string should be maintained for use in returning for the DEFINITIONS property value. - It is no longer used for any other purpose. - The DEFINITIONS property was recently documented as deprecated. - See bug #7239. 2008-06-26 13:14 hoffman * Modules/FindKDE4.cmake: BUG: don't run KDE4_KDECONFIG_EXECUTABLE if it is notfound 2008-06-26 13:01 martink * Source/cmIfCommand.cxx, Source/cmListFileCache.cxx, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: support parenthesis as arguments and in conditionals feature request #6191 2008-06-26 10:58 king * Source/: cmGetDirectoryPropertyCommand.h, cmMakefile.cxx: ENH: Update documentation of computed directory properites. - Fix documentation of get_directory_property command. - Convert its list of computed directory properties to be defined/documented directory properties. 2008-06-26 10:58 king * Source/cmMakefile.cxx: BUG: Fix PARENT_DIRECTORY property in top-level to not crash. 2008-06-25 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-25 09:51 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CPack.Info.plist.in, Modules/CPack.cmake, Modules/CPack.distribution.dist.in, Modules/FindBLAS.cmake, Modules/FindFLTK.cmake, Modules/FindKDE3.cmake, Modules/FindMatlab.cmake, Modules/FindOpenSSL.cmake, Modules/FindQt3.cmake, Modules/FindSWIG.cmake, Modules/FindwxWidgets.cmake, Modules/NSIS.template.in, Source/CMakeLists.txt, Source/cmFLTKWrapUICommand.cxx, Source/cmFindPackageCommand.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmake.cxx, Source/cmake.h, Source/CPack/cmCPackBundleGenerator.cxx, Source/CPack/cmCPackBundleGenerator.h, Source/CPack/cmCPackComponentGroup.h, Source/CPack/cmCPackGenerator.cxx, Source/CPack/cmCPackGenerator.h, Source/CPack/cmCPackGeneratorFactory.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h, Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/CMakeSetupDialog.h, Source/QtDialog/CMakeSetupDialog.ui, Source/QtDialog/QCMakeCacheView.cxx, Source/QtDialog/QCMakeCacheView.h, Tests/CMakeLists.txt, Tests/CPackComponents/CMakeLists.txt, Tests/CPackComponents/VerifyResult.cmake, Tests/CPackComponents/mylib.cpp, Tests/CPackComponents/mylib.h, Tests/CPackComponents/mylibapp.cpp, Tests/FindModulesExecuteAll/CMakeLists.txt, Tests/FindModulesExecuteAll/main.c, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: merge in changes from main tree 2008-06-25 09:44 hoffman * Source/cmMakefile.cxx: BUG: fix for bug 7239, DEFINITIONS property not backwards compatible to 2.4 2008-06-24 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-24 16:47 hoffman * Modules/Platform/Windows-cl.cmake: ENH: undo optional because we need it 2008-06-24 15:50 hoffman * Modules/Platform/Windows-cl.cmake: ENH: rc is not so optional at least with 2005 and newer, as it is used to embed the manifest files 2008-06-24 00:00 clinton * Source/QtDialog/QCMakeCacheView.cxx: BUG: Don't create empty property. Fixes bug #7193. 2008-06-23 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-23 13:37 hoffman * Modules/Platform/Windows-cl.cmake: ENH: make rc optional 2008-06-23 11:08 hoffman * Source/cmFLTKWrapUICommand.cxx: BUG: fix for bug 7228 FLTK_WRAP_UI segfault fixed 2008-06-22 23:55 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-21 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-20 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-20 16:25 hoffman * Source/: cmake.h, cmake.cxx: BUG: fix for bug 7222 manifest:no not working for makefiles 2008-06-19 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-19 11:08 david.cole * Tests/CMakeLists.txt: BUG: Avoid running the new CPackComponents test on Windows unless the NSIS installer is available. 2008-06-19 06:17 hoffman * Source/CPack/cmCPackBundleGenerator.cxx: file cmCPackBundleGenerator.cxx was added on branch CMake-2-6 on 2008-06-25 13:51:32 +0000 2008-06-19 06:17 david.cole * Source/CPack/cmCPackBundleGenerator.cxx: COMP: Eliminate unreferenced variable warning 2008-06-18 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-18 19:02 alex * Modules/FindKDE3.cmake: BUG: modify the compiler flags only if KDE3 has actually been found Alex 2008-06-18 18:57 alex * Modules/FindKDE3.cmake: STYLE: use uppercase to be consistent with the rest of the file Alex 2008-06-18 16:39 alex * Modules/FindKDE3.cmake: BUG: the variable is _KDE4_USE_FLAGS ENH: I guess this is also true for gcc 2.95 ? Alex 2008-06-18 16:00 david.cole * Source/CPack/cmCPackGenerator.cxx: COMP: Eliminate compiler warning on 64-bit build. 2008-06-18 14:25 david.cole * Source/CPack/cmCPackNSISGenerator.cxx: BUG: Always look for the NSIS reg value in the 32-bit hive even in 64-bit builds of CPack. 2008-06-18 13:28 hoffman * Source/cmake.cxx: ENH: support large object file lists with incremental visual studio linking 2008-06-18 12:23 hoffman * Modules/FindKDE3.cmake: ENH: use correct variable 2008-06-18 09:53 hoffman * Source/CPack/cmCPackBundleGenerator.h: file cmCPackBundleGenerator.h was added on branch CMake-2-6 on 2008-06-25 13:51:33 +0000 2008-06-18 09:53 david.cole * Modules/CPack.cmake, Source/CMakeLists.txt, Source/CPack/cmCPackBundleGenerator.cxx, Source/CPack/cmCPackBundleGenerator.h, Source/CPack/cmCPackGeneratorFactory.cxx: ENH: Apply patch for feature request #7170. Thanks to Tim Shead for contributing... 2008-06-18 09:28 hoffman * Tests/CPackComponents/VerifyResult.cmake: file VerifyResult.cmake was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000 2008-06-18 09:28 david.cole * Tests/CPackComponents/VerifyResult.cmake: BUG: Be more specific about the expected file name of the installer. (So we don't get mylibapp.exe in our GLOB results in make based build trees where the built exes end up in the same directory as the CPack installers...) 2008-06-18 09:22 hoffman * Modules/FindKDE3.cmake: ENH: fix for findall 2008-06-18 09:07 hoffman * Source/CTest/cmCTestBuildAndTestHandler.cxx: BUG: make sure ctest sees the output of the cmake run in build and test cases, it was not... 2008-06-18 08:42 hoffman * Modules/FindKDE3.cmake: ENH: try to module run test 2008-06-18 08:37 hoffman * Modules/: FindKDE3.cmake, FindQt3.cmake: ENH: try to module run test 2008-06-18 07:08 hoffman * Modules/CPack.distribution.dist.in: file CPack.distribution.dist.in was added on branch CMake-2-6 on 2008-06-25 13:51:31 +0000 2008-06-18 07:08 david.cole * Modules/CPack.distribution.dist.in, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h: BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch. 2008-06-17 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-17 21:46 hoffman * Modules/FindSWIG.cmake: ENH: no fatal error if not required 2008-06-17 18:02 miguelf * Modules/FindwxWidgets.cmake: ENH: Added support for MSYS as a unix style search. 2008-06-17 14:07 david.cole * Source/CPack/cmCPackNSISGenerator.cxx: COMP: Use cmOStringStream instead of std::ostringstream for the HP compiler. 2008-06-17 14:03 hoffman * Source/CTest/cmCTestTestHandler.cxx: BUG: fix for bug 7136 2008-06-17 13:27 hoffman * Modules/FindBLAS.cmake: ENH: make find blas work if there is no fortran compiler 2008-06-17 13:13 hoffman * Source/cmake.cxx: ENH: add an enabled language property 2008-06-17 12:44 david.cole * Source/CPack/: cmCPackGenerator.cxx, cmCPackNSISGenerator.cxx: COMP: Fix errors and warnings from continuous dashboards running different compilers... 2008-06-17 12:09 david.cole * Source/CPack/cmCPackGenerator.h: COMP: Include full class definitions of classes used in std::map data members. 2008-06-17 11:39 hoffman * Tests/CPackComponents/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000 2008-06-17 11:39 hoffman * Source/CPack/cmCPackComponentGroup.h: file cmCPackComponentGroup.h was added on branch CMake-2-6 on 2008-06-25 13:51:35 +0000 2008-06-17 11:39 hoffman * Tests/CPackComponents/mylib.cpp: file mylib.cpp was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000 2008-06-17 11:39 hoffman * Tests/CPackComponents/mylib.h: file mylib.h was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000 2008-06-17 11:39 hoffman * Tests/CPackComponents/mylibapp.cpp: file mylibapp.cpp was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000 2008-06-17 11:39 david.cole * Modules/CPack.Info.plist.in, Modules/CPack.distribution.dist.in, Modules/NSIS.template.in, Source/CPack/cmCPackGenerator.cxx, Source/CPack/cmCPackGenerator.h, Source/CPack/cmCPackComponentGroup.h, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h, Tests/CMakeLists.txt, Tests/CPackComponents/CMakeLists.txt, Tests/CPackComponents/VerifyResult.cmake, Tests/CPackComponents/mylib.cpp, Tests/CPackComponents/mylib.h, Tests/CPackComponents/mylibapp.cpp, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available. 2008-06-17 11:29 hoffman * Modules/FindBLAS.cmake: STYLE: fix indent for file 2008-06-17 10:58 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 6619 2008-06-17 10:51 hoffman * Tests/CMakeLists.txt: ENH: try turning this on again 2008-06-16 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-16 20:10 hoffman * Tests/CMakeLists.txt: ENH: turn this off until it passes on all systems 2008-06-16 20:05 hoffman * Tests/FindModulesExecuteAll/CMakeLists.txt: ENH: add a project name 2008-06-16 20:05 hoffman * Tests/FindModulesExecuteAll/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000 2008-06-16 18:37 alex * Modules/FindOpenSSL.cmake: BUG: don't fail with FATAL_ERROR if REQUIRED was not used Alex 2008-06-16 15:19 hoffman * Modules/FindFLTK.cmake, Modules/FindKDE3.cmake, Modules/FindMatlab.cmake, Tests/FindModulesExecuteAll/CMakeLists.txt: ENH: fix find module stuff for test 2008-06-16 14:15 miguelf * Modules/FindwxWidgets.cmake: BUG: Fix so that MinGW use win32_find_style (6478). Also, consolidated search styles selection into a single variable, so that they are mutually exclusive. 2008-06-16 14:03 hoffman * Tests/FindModulesExecuteAll/main.c: file main.c was added on branch CMake-2-6 on 2008-06-25 13:52:00 +0000 2008-06-16 14:03 alex * Tests/: CMakeLists.txt, FindModulesExecuteAll/CMakeLists.txt, FindModulesExecuteAll/main.c: ENH: add test which executes all FindXXX.cmake modules Alex 2008-06-15 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-14 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-13 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-13 16:57 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: remove red blending. It didn't look good on some systems. 2008-06-13 16:33 miguelf * Modules/FindwxWidgets.cmake: BUG: Fixed incorrectly matched FOREACH (7008). 2008-06-13 15:29 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: instead of solid red for new entries, blend it with the alternating white/gray (depending on style). 2008-06-13 11:19 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Make original flat view the default. Add option to switch to grouped view (and remember it). 2008-06-13 10:15 hoffman * Source/cmVersion.cxx: ENH: remove beta stuff from version 2008-06-13 08:55 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeFindBinUtils.cmake, Modules/CPack.RuntimeScript.in, Modules/FindCurses.cmake, Modules/FindFreetype.cmake, Modules/FindGDAL.cmake, Modules/FindGIF.cmake, Modules/FindKDE3.cmake, Modules/FindKDE4.cmake, Modules/FindLua50.cmake, Modules/FindLua51.cmake, Modules/FindOpenAL.cmake, Modules/FindOpenThreads.cmake, Modules/FindPhysFS.cmake, Modules/FindProducer.cmake, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindQuickTime.cmake, Modules/FindSDL.cmake, Modules/FindSDL_image.cmake, Modules/FindSDL_mixer.cmake, Modules/FindSDL_net.cmake, Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake, Modules/FindTCL.cmake, Modules/FindTclsh.cmake, Modules/FindWish.cmake, Modules/FindXMLRPC.cmake, Modules/Findosg.cmake, Modules/FindosgDB.cmake, Modules/FindosgFX.cmake, Modules/FindosgGA.cmake, Modules/FindosgIntrospection.cmake, Modules/FindosgManipulator.cmake, Modules/FindosgParticle.cmake, Modules/FindosgProducer.cmake, Modules/FindosgShadow.cmake, Modules/FindosgSim.cmake, Modules/FindosgTerrain.cmake, Modules/FindosgText.cmake, Modules/FindosgUtil.cmake, Modules/FindosgViewer.cmake, Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmFindCommon.cxx, Source/cmFindCommon.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmFindPathCommand.cxx, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmake.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/SystemInformation.cxx, Source/kwsys/Terminal.c, Tests/CMakeTests/FindBaseTest.cmake.in, Tests/CMakeTests/A/include/cmake_i_do_not_exist_in_the_system.h, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in, Tests/CustomCommand/gen_once.c.in, Tests/CustomCommand/wrapper.cxx, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/A/wibble-config.cmake, Tests/FindPackageTest/B/wibble-config.cmake: ENH: merge in changes from head 2008-06-12 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-11 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-11 15:08 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: better name for ungrouped entries. 2008-06-11 14:47 clinton * Source/QtDialog/QCMakeCacheView.cxx: BUG: need to invalidate filtering when using Qt 4.3+. 2008-06-10 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-10 22:19 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Add items under the Options menu for collapsing and expanding the variable tree. 2008-06-10 20:17 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: Give a label for the group of properties that didn't get put into another group. 2008-06-10 18:53 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: group together items with no prefix and items that won't be grouped with others. 2008-06-10 18:28 alex * Source/cmGlobalGenerator.cxx: BUG: -fail with error if the CMakeInformation.cmake file wasn't found ENH: -if no compiler has been found, don't test it, and also remove the compiler information file again. This makes optionally enabling a language work better. Alex 2008-06-10 13:22 king * Source/cmFindBase.cxx: BUG: In find_* commands support NO_* options in short-hand - The short-hand forms do not document the NO_* options. - CMake 2.4 and 2.6.0 accepted them accidentally, but also treated the options as paths. - Now the options are accepted but do not become paths. 2008-06-10 00:17 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Use a tree view of the properties instead of a flat list view. Properties are grouped by a prefix (up to first "_") and can be expanded or collapsed. Fixes #6359. 2008-06-09 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-09 16:04 king * Modules/: CMakeFindBinUtils.cmake, FindCurses.cmake, FindFreetype.cmake, FindGDAL.cmake, FindGIF.cmake, FindKDE3.cmake, FindKDE4.cmake, FindLua50.cmake, FindLua51.cmake, FindOpenAL.cmake, FindOpenThreads.cmake, FindPhysFS.cmake, FindProducer.cmake, FindQt3.cmake, FindQuickTime.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake, FindSDL_ttf.cmake, FindTCL.cmake, FindTclsh.cmake, FindWish.cmake, FindXMLRPC.cmake, Findosg.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake, FindosgManipulator.cmake, FindosgParticle.cmake, FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake: ENH: Cleanup Find* modules with new HINTS feature - The find_* commands now provide a HINTS option. - The option specifies paths to be preferred over the system paths. - Many Find* modules were using two find calls with NO_DEFAULT_PATH to approximate the behavior, but that blocked users from overriding things with CMAKE_PREFIX_PATH. - This commit uses the HINTS feature to get desired behavior in only one find command call. 2008-06-09 15:50 alex * Modules/CPack.RuntimeScript.in: STYLE: apply patch from Thomas Klausner (NetBSD): use "=" for testing strings for equality instead of "==" This also matches what the man page for test says "s1 = s2 True if the strings s1 and s2 are identical." Alex 2008-06-09 15:22 king * Source/: cmFindBase.cxx, cmFindPackageCommand.cxx: ENH: Make find_* command search order more intuitive. - The CMAKE_PREFIX_PATH and similar variables have both environment and CMake cache versions. - Previously the environment value was checked before the cache value. - Now the cache value is favored because it is more specific. 2008-06-09 15:09 hoffman * Tests/FindPackageTest/: A/wibble-config.cmake, B/wibble-config.cmake: file wibble-config.cmake was added on branch CMake-2-6 on 2008-06-13 12:55:19 +0000 2008-06-09 15:09 hoffman * Tests/CMakeTests/A/include/cmake_i_do_not_exist_in_the_system.h: file cmake_i_do_not_exist_in_the_system.h was added on branch CMake-2-6 on 2008-06-13 12:55:18 +0000 2008-06-09 15:09 king * Tests/: CMakeTests/A/include/cmake_i_do_not_exist_in_the_system.h, CMakeTests/FindBaseTest.cmake.in, FindPackageTest/CMakeLists.txt, FindPackageTest/A/wibble-config.cmake, FindPackageTest/B/wibble-config.cmake: ENH: Add test for new find_* command HINTS option. 2008-06-09 15:08 king * Source/: cmFindBase.cxx, cmFindBase.h, cmFindCommon.cxx, cmFindCommon.h, cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Add HINTS option to find_* commands. - Hints are searched after user locations but before system locations - The HINTS option should have paths provided by system introspection - The PATHS option should have paths that are hard-coded guesses 2008-06-09 12:51 king * Source/cmFindPathCommand.cxx: ENH: Improve framework search speed for find_file and find_path - Locating a header inside a framework often requires globbing - Previously the glob was /*/Headers/ - Now the glob is /*.framework/Headers/ - This is much faster when is not really a framework dir 2008-06-09 11:58 king * Source/: cmFindBase.cxx, cmFindBase.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx: ENH: Refactor find_* command framework/appbundle search order impl. - CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE are supposed to specify whether to find frameworks/appbundles FIRST, LAST, ONLY, or NEVER. - Previously this affected only the placement of CMAKE_FRAMEWORK_PATH and CMAKE_APPBUNDLE_PATH with respect to the other path specifiers. - Now it behaves as documented. The entire search path is inspected for each kind of program, library, or header before trying the next kind. - Additionally the ONLY mode is now honored for headers so that users do not end up with a library in framework and a header from elsewhere. 2008-06-09 11:57 king * Source/: cmFindBase.cxx, cmFindCommon.cxx, cmFindCommon.h, cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx, cmFindPathCommand.cxx: ENH: In find_* implementation centralize addition of trailing slashes - Create cmFindCommon::AddTrailingSlashes - Use it in cmFindBase and cmFindPackageCommand - Remove duplication from other find commands 2008-06-08 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-08 11:41 king * Source/cmake.cxx: ENH: Whenever CMake re-runs from inside the VS IDE inform the user why. 2008-06-08 11:41 king * Tests/CMakeTests/FindBaseTest.cmake.in: BUG: Fix CMake.FindBase test to normalize paths before comparing. - Previously the find_* commands did not normalize the search paths - The recent refactoring enabled such normalization - The FindBase test must also normalize before comparing paths 2008-06-08 11:41 king * Source/cmFindBase.cxx: BUG: Fix find_* command calls with no PATHS but new-style options. - In cmFindBase when CheckCommonArgument returns true, set newStyle - Otherwise if there are no PATHS then the ancient-style compatibility mode is enabled and the common argument is treated as a path. 2008-06-07 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-06 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-06 11:52 king * Source/kwsys/Terminal.c: ENH: Recognize more color terminals. - Patch from Matthew McCormick, slightly tweaked - See issue #6833 2008-06-06 11:49 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for flags that have sub-string matches 2008-06-06 10:22 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level 2008-06-06 09:06 king * Source/cmFindBase.cxx: BUG: Fix cmFindBase::AddMacPath to actually use its arguments after previous refactoring commit. 2008-06-06 01:36 clinton * Modules/FindQt4.cmake: BUG: Fix for #7118. Relative paths going outside the current source dir resulted in badly placed moc source files in the build dir (or out of the build dir). 2008-06-05 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-05 18:20 king * Source/: cmFindBase.cxx, cmFindBase.h, cmFindCommon.cxx, cmFindCommon.h, cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Refactor cmFindCommon, cmFindBase, and cmFindPackageCommand - Add each part of the search order in a separate method. - Collect added paths in an ivar in cmFindCommon. - Move user path storage up to cmFindCommon and share between cmFindBase and cmFindPackageCommand. - Expand user path registry values up in cmFindCommon - Enables 32-/64-bit registry view for find_package - Disables registry expansion for paths not specified with the PATHS argument, which is not expected. 2008-06-05 10:01 king * Tests/CustomCommand/wrapper.cxx: BUG: Fix new custom command with make-var expansion test on VS6. The VS6 IDE adds some extra characters to the variable value during expansion. 2008-06-05 09:54 king * Source/cmFindBase.cxx: BUG: Fix 64-bit build of CMake so it can find 32-bit VS install. - cmFindBase should search both 32-bit and 64-bit registry views for FIND_PROGRAM even if CMAKE_SIZEOF_VOID_P is not set. - Needed because the variable is not available when CMAKE_MAKE_PROGRAM is to be found. 2008-06-04 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-04 12:10 king * Tests/CustomCommand/: CMakeLists.txt, wrapper.cxx: ENH: Add test for make variable replacement in a custom command with the VERBATIM option. 2008-06-04 12:10 king * Source/cmMakefile.cxx: ENH: Allow custom commands with VERBATIM option to have $(SomeVar) make variable replacement. 2008-06-03 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-03 10:29 clinton * Modules/FindQt4.cmake: ENH: Some Linux distros don't install xorg-devel, png-devel, etc... when qt4-devel is installed. Finding them was required to support building against static Qt. Changing it so they are ignored if not found. 2008-06-03 10:02 king * Source/cmGlobalGenerator.cxx: COMP: Fix bootstrap build after previous change to signature of AddRuleHash. 2008-06-03 09:55 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmMakefileTargetGenerator.cxx: BUG: Include less content as input to "rule hash" computation. - The rule hash should use only commands specified by the user. - No make output (echo and progress) rules should be included. - No outputs or dependencies need be included. The native build tool will take care of them. 2008-06-02 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-02 19:44 clinton * Source/kwsys/DynamicLoader.cxx: BUG: FormatMessage can return a NULL message. Add check for NULL pointer. 2008-06-02 16:45 king * Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in, Tests/CustomCommand/gen_once.c.in: ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command() - Option was recently added but never released. - Custom commands no longer depend on build.make so we do not need the option. - Rule hashes now take care of rebuilding when rules change so the dependency is not needed. 2008-06-02 16:44 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmMakefileTargetGenerator.cxx: ENH: Introduce "rule hashes" to help rebuild files when rules change. - In CMake 2.4 custom commands would not rebuild when rules changed. - In CMake 2.6.0 custom commands have a dependency on build.make which causes them to rebuild when changed, but also when any source is added or removed. This is too often. - We cannot have a per-rule file because Windows filesystems do not deal well with lots of small files. - Instead we add a persistent CMakeFiles/CMakeRuleHashes.txt file at the top of the build tree that is updated during each CMake Generate step. It records a hash of the build rule for each file to be built. When the hash changes the file is removed so that it will be rebuilt. 2008-06-02 14:53 ewing * Modules/FindLua51.cmake: BUG: fixed Lua50 to be Lua51 in FIND_PACKAGE_HANDLE_STANDARD_ARGS call. 2008-06-02 09:39 martink * Source/cmMakefile.cxx: COMP: fix warning 2008-06-01 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-06-01 23:40 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix crash on dash17 linux where the parsing of the proc file must not have worked right 2008-06-01 16:11 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix crash on cygwin 2008-06-01 14:40 fbertel * Source/kwsys/SystemInformation.cxx: BUG:cpuinfo format are different between Linux and Cygwin. Cygwin does not have physical id tag or cpu cores tag. 2008-06-01 11:23 hoffman * Source/kwsys/SystemInformation.cxx: ENH: avoid divide by zero, temporary fix until cygwin cpu file is read better, bad cpu info is better than a crash 2008-05-31 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-31 11:23 fbertel * Source/kwsys/SystemInformation.cxx: BUG:Fixed NumberOfLogicalCPU, NumberOfPhysicalCPU and LogicalProcessorsPerPhysical under Linux. Some part was just wrong. Some other part missed to take the multicore value into account. 2008-05-31 08:15 martink * Source/cmMakefile.cxx: ENH: make end of file checking for close if, foreach, macro, functions etc enabled. Not sure why it was disabled to start with, but I suspect I will find out. In reponse to Bill email about a ctest -S script with a function that waqs not closed. Closure was only checked for regular listfiles not other files. 2008-05-30 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-30 09:14 martink * Source/CTest/cmCTestTestHandler.cxx: ENH: make tes test finding logic also try full paths as relative paths because some folks have been doing that and 2.4 handled it 2008-05-29 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-29 11:50 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: BUG: improve progress reporting when there are multiple targets with the same name, bug# 7042 2008-05-29 09:15 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake, Source/cmFileCommand.cxx, Source/cmFindBase.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmSourceFile.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in: ENH: merge in changes from head for RC 3 2008-05-28 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-27 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-27 16:50 king * Source/cmFindBase.cxx: BUG: Fix previous registry lookup change for executables. - The target platform does not matter for finding executables so find_program should expand to both 32-bit and 64-bit registry values. - See issue #7095. 2008-05-27 14:47 king * Source/cmFindBase.cxx: BUG: Fix registry lookups for FIND commands to use view of target platform. - See issue #7095. 2008-05-27 14:46 king * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Added WOW64 key view support to KWSys SystemTools' windows registry API. - Add an argument to registry read/write/delete methods to specify a 32-bit or 64-bit view. - Default is the bit-ness of the running program. - See issue #7095. 2008-05-27 13:10 king * Source/cmSourceFile.cxx: ENH: Catch missing source files specified by full path earlier. - Revert previous change to trust user-provided full paths. - Instead trust them only far enough to determine the source language but still check for existence for non-generated sources. 2008-05-27 11:18 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Fix crash on repeated configure steps and exported targets. - In cmGlobalGenerator the ExportSets ivar must be cleared at the beginning of each Configure. - See issue #7101. 2008-05-27 10:22 king * Source/: cmFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Inform user when RPATH is set during installation. - Original patch from Alex. - Modified to print only when RPATH is actually set. 2008-05-27 10:21 king * Source/cmInstallTargetGenerator.cxx: BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink. 2008-05-26 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-26 11:17 clinton * Modules/FindQt4.cmake: ENH: Find debug libs from static Qt on Windows. 2008-05-25 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-24 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-23 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-23 16:09 hoffman * CMakeCPack.cmake, CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineASMCompiler.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeFortranCompilerId.F90.in, Modules/CMakeImportBuildSettings.cmake, Modules/FindQt4.cmake, Modules/FindSubversion.cmake, Modules/MacOSXBundleInfo.plist.in, Modules/UseQt4.cmake, Modules/Platform/Linux-PGI-Fortran.cmake, Source/cmFileCommand.cxx, Source/cmFindBase.cxx, Source/cmListCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmSourceGroup.cxx, Source/cmSourceGroup.h, Source/cmTarget.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/QtDialog/AddCacheEntry.cxx, Source/QtDialog/AddCacheEntry.h, Source/QtDialog/AddCacheEntry.ui, Source/QtDialog/CMakeFirstConfigure.cxx, Source/QtDialog/CMakeFirstConfigure.h, Source/QtDialog/CMakeFirstConfigure.ui, Source/QtDialog/CMakeLists.txt, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/CMakeSetupDialog.h, Source/QtDialog/QCMake.cxx, Source/QtDialog/QCMake.h, Source/QtDialog/QCMakeCacheView.cxx, Source/QtDialog/QCMakeCacheView.h, Source/QtDialog/QCMakeWidgets.cxx, Source/QtDialog/QCMakeWidgets.h, Source/kwsys/RegularExpression.cxx, Source/kwsys/RegularExpression.hxx.in: ENH: push in changes from head 2008-05-23 15:52 hoffman * Source/cmFindBase.cxx: ENH: better fix for not adding / 2008-05-23 15:25 hoffman * Modules/FindQt4.cmake: ENH: use PATHS keyword 2008-05-23 15:25 hoffman * Source/cmFindBase.cxx: BUG: 7011 findqt hangs because of glob with find_path and framework header serach 2008-05-23 11:47 hoffman * CMakeCPack.cmake: ENH: do not put system name into cygwin package 2008-05-23 11:28 hoffman * Source/CTest/cmCTestTestHandler.cxx: BUG: fix for bug 7077 handle DartMeasurement tags with tyep text/html 2008-05-22 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-21 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-21 19:57 king * Source/cmMakefileTargetGenerator.cxx: BUG: Fix makefile generator to have link rules depend on all full path libraries that appear on the link line. This allows projects to relink when imported targets have changed. 2008-05-21 14:02 king * Modules/CMakeImportBuildSettings.cmake: ENH: Extend previous patch from Mathieu Malaterre to apply override to the build tool also. 2008-05-21 13:36 clinton * Modules/FindQt4.cmake: ENH: Make Qt not found if the QtCore library can't be found. Also report an error when trying to use MSVC with Qt built by mingw. 2008-05-21 10:50 hoffman * Source/cmVersion.cxx: ENH: fix version to not report beta for 1 2008-05-21 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-20 12:35 hoffman * CMakeCPack.cmake: ENH: make sure Cygwin-Unknown is not the name for the package 2008-05-20 12:15 hoffman * Source/cmListCommand.cxx: BUG: fix failing test 2008-05-20 11:30 hoffman * Source/cmListCommand.cxx: BUG: fix bugs in new style list command that handles empty stuff 2008-05-20 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-19 18:07 clinton * Modules/UseQt4.cmake: ENH: Similar to how qmake does it... Don't add compile flags for dependent modules the user didn't specify. But still add the link libs. This reduces the number of unecessary compile flags. 2008-05-19 10:03 king * Modules/FindSubversion.cmake: BUG: Fixes for FindSubversion - Split log out from Subversion_WC_INFO into Subversion_WC_LOG - Fix report of log info to be in _WC_LAST_CHANGED_LOG as documented (instead of Subversion_LAST_CHANGED_LOG) - Fix setting of LC_ALL environment variable to be inside macro - Patch from Tanguy Krotoff - See issue #7047 2008-05-19 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-18 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-17 17:35 hoffman * Modules/Platform/Linux-PGI-Fortran.cmake: file Linux-PGI-Fortran.cmake was added on branch CMake-2-6 on 2008-05-23 20:09:35 +0000 2008-05-17 17:35 king * Modules/Platform/Linux-PGI-Fortran.cmake: ENH: Add basic flags for Portland Group fortran compiler. 2008-05-17 12:53 hoffman * Modules/MacOSXBundleInfo.plist.in: file MacOSXBundleInfo.plist.in was added on branch CMake-2-6 on 2008-05-23 20:09:35 +0000 2008-05-17 12:53 king * Modules/MacOSXBundleInfo.plist.in, Source/cmLocalGenerator.cxx, Source/cmTarget.cxx: ENH: Allow users to specify a custom Info.plist template - Create MACOSX_BUNDLE_INFO_PLIST target property to specify template. - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by default. - See issue #6983. 2008-05-17 11:42 king * Source/cmFileCommand.cxx: BUG: Fix previous change to file(STRINGS) command. - Previous change added form-feed as a string terminator. - Instead it should just be recognized as a valid string character. 2008-05-17 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-16 17:56 king * Modules/Platform/Linux-PGI-Fortran.cmake: ENH: Add Linux-PGI-Fortran platform file to support the Portland Group Fortran compiler (PGI). 2008-05-16 17:50 king * Modules/CMakeFortranCompilerId.F90.in, Source/cmFileCommand.cxx: ENH: Teach Fortran compiler identification about the Portland Group compiler (PGI). 2008-05-16 16:56 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmSourceGroup.cxx, cmSourceGroup.h: COMP: Fix build with concept checking of STL. - Fix cmSourceGroup to not use std::vector with an incomplete type. 2008-05-16 11:06 king * Source/kwsys/: RegularExpression.cxx, RegularExpression.hxx.in: ENH: Add assignment operator to KWSys RegularExpression. 2008-05-16 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-15 19:21 hoffman * Source/QtDialog/CMakeFirstConfigure.cxx: file CMakeFirstConfigure.cxx was added on branch CMake-2-6 on 2008-05-23 20:09:42 +0000 2008-05-15 19:21 hoffman * Source/QtDialog/CMakeFirstConfigure.h: file CMakeFirstConfigure.h was added on branch CMake-2-6 on 2008-05-23 20:09:43 +0000 2008-05-15 19:21 hoffman * Source/QtDialog/CMakeFirstConfigure.ui: file CMakeFirstConfigure.ui was added on branch CMake-2-6 on 2008-05-23 20:09:43 +0000 2008-05-15 19:21 hoffman * Source/QtDialog/QCMakeWidgets.cxx: file QCMakeWidgets.cxx was added on branch CMake-2-6 on 2008-05-23 20:09:44 +0000 2008-05-15 19:21 hoffman * Source/QtDialog/QCMakeWidgets.h: file QCMakeWidgets.h was added on branch CMake-2-6 on 2008-05-23 20:09:44 +0000 2008-05-15 19:21 clinton * Source/QtDialog/: AddCacheEntry.cxx, AddCacheEntry.h, AddCacheEntry.ui, CMakeFirstConfigure.cxx, CMakeFirstConfigure.h, CMakeFirstConfigure.ui, CMakeLists.txt, CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h, QCMakeWidgets.cxx, QCMakeWidgets.h: ENH: Add cross compiling support in the GUI in the same dialog that prompts for the generator on the first configure. It either ask for a toolchain file or asks for all the information a toolchain file might contain. Also added option for setting non-default compilers if not cross compiling. Fixes #6849. Also a bit of code cleanup and re-organizing. 2008-05-15 15:39 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeTestFortranCompiler.cmake, Modules/FindBoost.cmake, Modules/FindCurses.cmake, Modules/FindPackageHandleStandardArgs.cmake, Modules/FindQt4.cmake, Modules/NSIS.template.in, Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmDepends.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmDependsC.h, Source/cmDependsFortran.cxx, Source/cmDependsFortran.h, Source/cmDocumentationFormatterDocbook.cxx, Source/cmELF.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmListCommand.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmSetSourceFilesPropertiesCommand.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmXCodeObject.cxx, Source/cmake.cxx, Source/cmakemain.cxx, Source/CTest/cmCTestBuildCommand.h, Source/CTest/cmCTestConfigureCommand.h, Source/CTest/cmCTestCoverageCommand.h, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h, Source/CTest/cmCTestMemCheckCommand.h, Source/CTest/cmCTestReadCustomFilesCommand.h, Source/CTest/cmCTestRunScriptCommand.h, Source/CTest/cmCTestSleepCommand.h, Source/CTest/cmCTestStartCommand.h, Source/CTest/cmCTestSubmitCommand.h, Source/CTest/cmCTestUpdateCommand.h, Source/kwsys/CMakeLists.txt, Source/kwsys/CPU.h.in, Source/kwsys/ProcessUNIX.c, Source/kwsys/ProcessWin32.c, Source/kwsys/SystemInformation.cxx, Source/kwsys/SystemTools.cxx, Tests/BuildDepends/CMakeLists.txt, Tests/BuildDepends/Project/CMakeLists.txt, Tests/BuildDepends/Project/zot.cxx, Tests/BuildDepends/Project/zot_macro_dir.cxx, Tests/BuildDepends/Project/zot_macro_tgt.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in, Tests/CustomCommand/gen_once.c.in, Utilities/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt: ENH: merge in from main tree 2008-05-15 12:07 alex * Modules/: CMakeDetermineASMCompiler.cmake, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: BUG: make the toolchain-prefix recognition work with prefixes which contain dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe), NAME_WE returns only up to the 6, instead of everything in front of the .exe Alex 2008-05-15 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-14 11:55 king * Source/kwsys/CMakeLists.txt: ENH: In KWSys set the IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property. - Tells CMake about the KWSYS_HEADER macro. - Enables implicit dependencies of private source files. - When a CMake new enough to support the property is required the "#if 0" hack can be removed from the source files. 2008-05-14 11:55 hoffman * Tests/BuildDepends/Project/zot_macro_dir.cxx: file zot_macro_dir.cxx was added on branch CMake-2-6 on 2008-05-15 19:40:01 +0000 2008-05-14 11:55 hoffman * Tests/BuildDepends/Project/zot_macro_tgt.cxx: file zot_macro_tgt.cxx was added on branch CMake-2-6 on 2008-05-15 19:40:01 +0000 2008-05-14 11:55 king * Tests/BuildDepends/: CMakeLists.txt, Project/CMakeLists.txt, Project/zot.cxx, Project/zot_macro_dir.cxx, Project/zot_macro_tgt.cxx: ENH: Update BuildDepends test to check #include lines with macros. - Tests IMPLICIT_DEPENDS_INCLUDE_TRANSFORM properties. - See issue #6648. - Works without help in VS IDEs due to native dependency handling. - Xcode needs help to rebuild correctly. 2008-05-14 11:54 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmTarget.cxx: ENH: Allow users to specify macro-like #include line transforms for dependency scanning. - Define IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property on targets and directories. - Make the directory version inherited. - See issue #6648. 2008-05-14 11:54 king * Source/: cmDependsC.cxx, cmDependsC.h: ENH: Teach cmDependsC about user-configured macro transformations. - Syntax is SOME_MACRO(%)=value-with-% - Later we will configure these with target and directory properties. - See issue #6648. 2008-05-14 11:38 hoffman * Tests/CustomCommand/gen_once.c.in: file gen_once.c.in was added on branch CMake-2-6 on 2008-05-15 19:40:01 +0000 2008-05-14 11:38 king * Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmMakefileTargetGenerator.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in, Tests/CustomCommand/gen_once.c.in: ENH: Add SKIP_RULE_DEPENDS option for add_custom_command() - Allows make rules to be created with no dependencies. - Such rules will not re-run even if the commands themselves change. - Useful to create rules that run only if the output is missing. 2008-05-14 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-13 16:57 hoffman * Modules/NSIS.template.in: BUG: if CPACK_NSIS_MODIFY_PATH was OFF then the PATH was automatically modified 2008-05-13 15:43 alex * Source/cmakemain.cxx, Utilities/CMakeLists.txt: STYLE: add "--help-policy" and "--help-policies" to the documentation -generate and install the policy documentation files -generate and install the docbook files for cmake, ctest, cpack, ccmake (cmake-gui not yet ?) Alex 2008-05-13 10:34 king * Source/cmELF.cxx: BUG: When byte order is not known at compile time make sure NeedSwap in cmELF is still initialized. 2008-05-13 10:24 king * Source/cmELF.cxx: ENH: In cmELF it is okay if the byte order is not known at compile time. - We perform a runtime check of the input file anyway. 2008-05-13 10:24 king * Source/kwsys/CPU.h.in: ENH: Add ARM support to KWSys CPU header. - Patch from Pierre Habouzit 2008-05-13 05:18 malaterre * Source/kwsys/ProcessUNIX.c: ENH: all ctype function have the same issue: char can be signed or unsigned, since isspace only deal with >=0 value (except EOF) one has to first cast it to unsigned char 2008-05-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-12 18:33 alex * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: make ENABLE_LANGUAGE(ASM-ATT OPTIONAL) work again: if it didn't work but was optional, don't delete the cache Alex 2008-05-12 18:11 alex * Modules/CMakeTestFortranCompiler.cmake: STYLE: use IF(NOT ...) instead of IF() ELSE() ... ENDIF() Alex 2008-05-12 17:43 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmTarget.cxx, cmTarget.h: BUG: Make sure all source files are found before generating. - Previously this was done implicitly by the check for a target link language which checked all source full paths. - The recent change to support computing a link language without finding all the source files skipped the implicit check. - This change adds an explicit check to find all source files. 2008-05-12 16:54 alex * Source/cmake.cxx: BUG: make "cmake -Wno-dev ../srcdir" work, advancing i had the effect that the argument after -Wno-dev was skipped, which happened to be the source directory, and so the current working directory was assumed as source directory, although it was the build directory (maybe this didn't have an effect if there was already a CMakeCache.txt in the build dir) Alex 2008-05-12 12:01 lorensen * Source/kwsys/ProcessUNIX.c: COMP: warning, isprint and isspace take int args. 2008-05-12 09:11 alex * Source/CTest/: cmCTestBuildCommand.h, cmCTestConfigureCommand.h, cmCTestCoverageCommand.h, cmCTestEmptyBinaryDirectoryCommand.h, cmCTestMemCheckCommand.h, cmCTestReadCustomFilesCommand.h, cmCTestRunScriptCommand.h, cmCTestSleepCommand.h, cmCTestStartCommand.h, cmCTestSubmitCommand.h, cmCTestUpdateCommand.h: STYLE: use lower case also for the ctest-specific commands, as in cmake I hope I didn't make a typo anywhere, at least the tests still succeed Alex 2008-05-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-11 05:12 alex * Modules/FindPackageHandleStandardArgs.cmake: BUG: fix #6375: print the variables which were not found, so it's easier to see what went wrong Alex 2008-05-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-10 22:48 lorensen * Source/kwsys/: ProcessWin32.c, SystemInformation.cxx, SystemTools.cxx: COMP: sprintf warnings. DWORD should use %ld rather than %d. Also, const char *p, a shadowed variable warning. 2008-05-10 19:07 alex * Modules/FindCurses.cmake: BUG: fix #6993 FindCurses.cmake is now almost exactly reverted back to the state when CURSES_LIBRARY and CURSES_INCLUDE_PATH where set for compatibility but not in the cache. It is important that CURSES_CURSES_LIBRARY and CURSES_NCURSES_LIBRARY really contain the path to these files. Later on CURSES_LIBRARY is set to the one of the two which will be used as curses library. This is now done in the cache, without FORCE. So preloading the cache still seems to work (at least what I tested). Alex 2008-05-10 18:39 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: BUG: Fix generation of some paths into .cmake files in the build tree to escape strings for the CMake language. This fix allows users to put double quotes in the SOVERSION of a shared library. 2008-05-10 18:39 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix logic that loops over multiple output pairs to not loop beyond the vector when there are an odd number of entries. 2008-05-10 11:12 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: make sure english is used for output of gcov 2008-05-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-09 21:26 dgregor * Modules/FindBoost.cmake: BUG: Fix FindBoost version variable names to correct bug in Boost version detection 2008-05-09 17:50 alex * Source/cmDocumentationFormatterDocbook.cxx: STYLE: insert newlines after listitem so the generated lines don't get several thousand characters long Alex 2008-05-09 11:50 clinton * Modules/FindQt4.cmake: ENH: Qt/Mac binary install puts QtCLucene library in a different place than the normal Qt frameworks. Let's find it. 2008-05-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-08 21:14 hoffman * Source/cmXCodeObject.cxx: ENH: fix for 64 bit cmake on mac 2008-05-08 15:49 hoffman * Source/cmSetSourceFilesPropertiesCommand.cxx: BUG:6990 fix crash with set_source_files_properties 2008-05-08 12:47 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: BUG: 0006988 do not set coverage to false when it is not 2008-05-08 10:09 king * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Light refactoring of implicit dependency scanning configuration implementation. - Move lookup of config variables from cmLocalUnixMakefileGenerator3 to cmDepends hierarchy. 2008-05-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-07 17:25 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix repeated re-scanning of dependencies when the results do not change. - We re-scan deps when DependInfo.cmake is newer than depend.internal - Therefore depend.internal should not be copy-if-different 2008-05-07 14:57 hoffman * Source/cmListCommand.cxx: ENH: fix sort to work with CMP0007 2008-05-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-06 12:56 barre * Utilities/cmtar/CMakeLists.txt: ENH: update for CMake 2.6 2008-05-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-05 13:38 hoffman * ChangeLog.manual, Source/cmDocumentationFormatter.cxx, Source/cmDocumentationFormatter.h, Source/cmDocumentationFormatterDocbook.cxx, Source/cmDocumentationFormatterHTML.cxx: ENH: merge in changes for generated docs 2008-05-05 12:38 hoffman * CMakeLists.txt: ENH: try for 2.6.0 2008-05-05 12:02 king * Source/: cmDocumentationFormatter.cxx, cmDocumentationFormatter.h, cmDocumentationFormatterDocbook.cxx, cmDocumentationFormatterHTML.cxx: ENH: Fix generated documentation internal links. - Previously all links started in 'command_' which led to conflicts and was confusing for non-command items. - Use a per-section name that is meaningful to humans. - Fix link id names to be valid HTML. 2008-05-05 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-04 18:07 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CTest.cmake, Modules/FindQt4.cmake, Modules/FindX11.cmake, Modules/GetPrerequisites.cmake, Source/kwsys/SystemInformation.cxx: ENH: merge from main tree 2008-05-04 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-03 17:55 clinton * Modules/FindQt4.cmake: ENH: Allow finding phonon and QtDBus on Mac. Fixes #6950. 2008-05-03 15:27 barre * Modules/FindX11.cmake: ENH: X11_SM_LIB should be advanced as well 2008-05-03 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-02 17:36 hoffman * Source/kwsys/SystemInformation.cxx: BUG: really fix build on vs6 2008-05-02 17:22 hoffman * Source/kwsys/SystemInformation.cxx: BUG: fix build on vs6 2008-05-02 11:44 hoffman * Source/kwsys/SystemInformation.cxx: ENH: use GlobalMemoryStatusEx as it is able to report more than 2gigs 2008-05-02 11:25 hoffman * Modules/CTest.cmake: ENH: recognize vs 9 and possible 10 or greater when they come out... 2008-05-02 09:14 king * Source/kwsys/SystemInformation.cxx: COMP: Fix warnings in KWSys SystemInformation on Borland compiler. - Remove two unused variables. - Replace dynamically allocated array with static. 2008-05-02 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-05-01 18:49 king * Modules/GetPrerequisites.cmake: ENH: When GetPrerequisites.cmake runs dumpbin while running inside the VS IDE environment make sure the tool does not produce extra output. 2008-05-01 12:35 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CheckTypeSize.cmake, Modules/FindBoost.cmake, Modules/FindCurses.cmake, Modules/FindKDE.cmake, Modules/FindSDL.cmake, Modules/FindSDL_sound.cmake, Modules/FindVTK.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Linux-Intel-C.cmake, Modules/Platform/Linux-Intel-CXX.cmake, Modules/Platform/Linux-Intel-Fortran.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/Windows-ifort.cmake, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmExportFileGenerator.cxx, Source/cmExportLibraryDependencies.cxx, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmGlobalVisualStudioGenerator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmListFileCache.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSourceFile.cxx, Source/cmSourceFile.h, Source/cmWriteFileCommand.cxx, Source/cmake.cxx, Source/cmake.h, Source/kwsys/System.c, Source/kwsys/SystemInformation.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/gen_redirect_in.c, Tests/CustomCommand/generator.cxx, Tests/CustomCommand/tcat.cxx, Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt: ENH: merge from cvs create yikes RC 10! (I hope this is the last RC...) 2008-05-01 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-30 22:17 hoffman * Source/cmGlobalVisualStudioGenerator.cxx: STYLE: fix warning 2008-04-30 18:04 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: ENH: When preserving potentially static portions of original user link lines recognize shared library names by their extension and skip them. 2008-04-30 15:58 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: For Watcom WMake use the short path to avoid quoting problems in custom commands with shell redirections. 2008-04-30 15:58 king * Source/kwsys/System.c, Tests/CustomCommand/CMakeLists.txt: BUG: Fix escaping of more characters on Windows shells. 2008-04-30 15:53 hoffman * Modules/FindCurses.cmake: BUG: remove typo 2008-04-30 15:42 hoffman * Modules/FindCurses.cmake: BUG: fix for 6918 ncurses should work without curses 2008-04-30 14:13 king * Modules/Platform/SunOS.cmake: ENH: Make /opt/SUNWspro/lib, /opt/SUNWspro/prod/lib, and /usr/ccs/lib implicit link directories on the Sun when using the SunPro compiler. 2008-04-30 13:42 king * Source/: cmFileCommand.cxx, cmFileCommand.h, cmGlobalGenerator.cxx, cmMakefile.cxx, cmMakefile.h, cmWriteFileCommand.cxx, cmake.cxx, cmake.h: BUG: Remove check for files written by file(WRITE) being loaded. - CMake 1.8 and below did not do the check but could get in infinite loops due to the local generate step. - CMake 2.0 added the check but failed to perform it in directories with no targets (see bug #678). - CMake 2.2 removed the local generate which fixed the problem but did not remove the check. - Between CMake 2.4 and 2.6.0rc6 the check was fixed to work even when no targets appear in a directory (see bug #6923). - Bottom line: the check is no longer needed. 2008-04-30 13:26 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudioGenerator.cxx, cmGlobalVisualStudioGenerator.h, cmLocalGenerator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefile.cxx: ENH: add support for Intel Fortran Visual studio IDE 2008-04-30 11:33 hoffman * Modules/Platform/Windows-ifort.cmake: ENH: add more fortran flags 2008-04-30 10:02 king * Source/kwsys/System.c: BUG: Fix kwsysSystem_Shell_GetArgumentForWindows to reset the windows trailing backslash count to zero when a make variable reference is encountered. 2008-04-30 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-29 15:34 hoffman * Tests/CustomCommand/tcat.cxx: file tcat.cxx was added on branch CMake-2-6 on 2008-05-01 16:35:40 +0000 2008-04-29 15:34 hoffman * Tests/CustomCommand/gen_redirect_in.c: file gen_redirect_in.c was added on branch CMake-2-6 on 2008-05-01 16:35:40 +0000 2008-04-29 15:34 king * Source/cmLocalGenerator.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/gen_redirect_in.c, Tests/CustomCommand/generator.cxx, Tests/CustomCommand/tcat.cxx, Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt: BUG: Do not escape shell operators when generating command lines. - See bug#6868. - Update CustomCommand test to check. 2008-04-29 14:17 king * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: In cmSourceFile::GetLanguage use the file extension (if not ambiguous) to determine the language without requiring the source file to exist. 2008-04-29 14:17 king * Source/cmSourceFile.cxx: ENH: Add context information when a source file cannot be found. 2008-04-29 14:17 king * Source/cmMakefile.cxx: ENH: In cmMakefile::IssueMessage report the directory-level context even if no list file is currently being processed. 2008-04-29 12:10 hoffman * Source/cmLocalGenerator.cxx: BUG: move this back out of the if statemtn 2008-04-29 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-28 13:53 hoffman * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx: ENH: allow users to set sysroot 2008-04-28 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-27 11:41 alex * Modules/FindKDE.cmake: ENH: remove FindKDE.cmake, which was obsolete (i.e. disabled using SEND_ERROR) since cmake 2.4.0, agreed by Bill Alex 2008-04-27 07:35 alex * Modules/FindVTK.cmake: BUG: don't fail with FATAL_ERROR if REQUIRED was not used Alex 2008-04-27 07:30 alex * Source/cmExportFileGenerator.cxx: ENH: protect the export files against inclusion with cmake 2.4 Alex 2008-04-27 07:01 alex * Source/: cmExportLibraryDependencies.cxx, cmListFileCache.cxx: ENH: write the cmake version into the file created by EXPORT_LIBRARY_DEPENDENCIES() to help with debugging later on. The same should be done in the import target files (but I didn't have time to do it yet). STYLE: fix line length in cmListFileCache.cxx Alex 2008-04-27 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-26 13:25 alex * Modules/FindBoost.cmake: BUG: don't use CMAKE_MINIMUM_REQUIRED() in find modules, it can change the policy settings done in the projects cmake files (and it doesn't make sense since it is always part of the correct cmake version) Alex 2008-04-26 08:39 hoffman * Source/cmAuxSourceDirectoryCommand.cxx: BUG: fix for bug 6911, aux source dir was broken from a previous fix 2008-04-26 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-25 15:30 king * Source/cmSourceFile.cxx: BUG: Trust user-provided source file full paths. 2008-04-25 10:47 hoffman * Modules/CheckTypeSize.cmake: ENH: allow users to turn off extra checks 2008-04-25 09:49 hoffman * Modules/Platform/Linux-Intel-CXX.cmake: ENH: remove c flags from cxx config file 2008-04-25 09:49 hoffman * Modules/Platform/Linux-Intel-CXX.cmake: file Linux-Intel-CXX.cmake was added on branch CMake-2-6 on 2008-05-01 16:35:39 +0000 2008-04-25 09:43 hoffman * Modules/Platform/: Linux-Intel-Fortran.cmake, Linux-ifort.cmake: ENH: rename Linux-ifort to Linux-Intel-Fortran 2008-04-25 09:43 hoffman * Modules/Platform/Linux-Intel-Fortran.cmake: file Linux-Intel-Fortran.cmake was added on branch CMake-2-6 on 2008-05-01 16:35:39 +0000 2008-04-25 09:09 hoffman * Modules/CheckTypeSize.cmake: ENH: make sure all required headers are checked before checking type size 2008-04-25 09:07 hoffman * Modules/: FindSDL.cmake, FindSDL_sound.cmake: ENH: do not clear find variables 2008-04-25 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-24 22:00 hoffman * Modules/Platform/Linux-Intel-CXX.cmake: ENH: do not force the intel ar on C from CXX 2008-04-24 21:54 hoffman * Modules/Platform/: Linux-Intel-C.cmake, Linux-Intel-CXX.cmake, Linux-icpc.cmake: ENH: support intel compiler on linux 2008-04-24 21:54 hoffman * Modules/Platform/Linux-Intel-C.cmake: file Linux-Intel-C.cmake was added on branch CMake-2-6 on 2008-05-01 16:35:38 +0000 2008-04-24 15:47 hoffman * Source/kwsys/SystemInformation.cxx: ENH: remove odd chars from file 2008-04-24 14:57 hoffman * Source/kwsys/SystemTools.cxx: ENH: merge in changes from main tree, fortran mod stuff 2008-04-24 12:56 hoffman * ChangeLog.manual, Source/cmDependsFortranLexer.cxx, Source/cmDependsFortranLexer.in.l, Source/cmDependsFortranParser.cxx, Source/cmDependsFortranParser.y, Source/cmDependsFortranParserTokens.h: ENH: merge in changes from main tree, fortran mod stuff 2008-04-24 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-23 23:53 king * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l, cmDependsFortranParser.cxx, cmDependsFortranParser.y, cmDependsFortranParserTokens.h: ENH: Patch from Maik to add Fortran03 USE syntax support. - I tweaked the patch to add 'other' production rules for COMMA and DCOLON - See issue #6884. 2008-04-23 15:02 hoffman * CMakeLists.txt, ChangeLog.manual: ENH: rc9 ready 2008-04-23 12:51 jeff * Source/kwsys/SystemTools.cxx: ENH: Allow numbers in username in URL regex. 2008-04-23 12:14 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmInstallCommand.cxx, Source/cmListCommand.cxx, Source/QtDialog/QMacInstallDialog.cxx: ENH: merge in some fixes from head 2008-04-23 11:13 king * Source/cmInstallCommand.cxx: BUG: Fix implementation of CMP0006 to not override the BUNDLE destination with the RUNTIME destination. 2008-04-23 09:58 hoffman * Source/QtDialog/QMacInstallDialog.cxx: ENH: add better error checks to symlink create stuff 2008-04-23 09:56 hoffman * Source/cmListCommand.cxx: ENH: handle empty lists correctly 2008-04-23 08:50 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Tests/Dependency/CMakeLists.txt, Tests/Dependency/Case3/CMakeLists.txt, Tests/Dependency/Case3/bar.c, Tests/Dependency/Case3/foo1.c, Tests/Dependency/Case3/foo1b.c, Tests/Dependency/Case3/foo2.c: ENH: merge from main tree 2008-04-23 00:40 hoffman * Tests/Dependency/Case3/CMakeLists.txt: file CMakeLists.txt was added on branch CMake-2-6 on 2008-04-23 12:50:37 +0000 2008-04-23 00:40 hoffman * Tests/Dependency/Case3/bar.c: file bar.c was added on branch CMake-2-6 on 2008-04-23 12:50:37 +0000 2008-04-23 00:40 hoffman * Tests/Dependency/Case3/foo1.c: file foo1.c was added on branch CMake-2-6 on 2008-04-23 12:50:37 +0000 2008-04-23 00:40 hoffman * Tests/Dependency/Case3/foo1b.c: file foo1b.c was added on branch CMake-2-6 on 2008-04-23 12:50:37 +0000 2008-04-23 00:40 hoffman * Tests/Dependency/Case3/foo2.c: file foo2.c was added on branch CMake-2-6 on 2008-04-23 12:50:37 +0000 2008-04-23 00:40 king * Tests/Dependency/: CMakeLists.txt, Case3/CMakeLists.txt, Case3/bar.c, Case3/foo1.c, Case3/foo1b.c, Case3/foo2.c: ENH: Add test of preservation of static libraries on original link lines. 2008-04-23 00:40 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG: Fix preservation of static libraries on original link lines. 2008-04-23 00:40 king * Source/cmComputeLinkDepends.cxx: ENH: Simplify link lines in some cases by not allowing targets to be inferred dependees of items with unknown dependencies. 2008-04-23 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-22 22:05 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineASMCompiler.cmake, Modules/CMakeFortranInformation.cmake, Modules/CMakeRCInformation.cmake, Modules/FindBoost.cmake, Modules/FindMPI.cmake, Modules/Platform/Linux-icpc.cmake, Source/cmListCommand.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h: ENH: merge into main tree 2008-04-22 13:32 dgregor * Modules/FindBoost.cmake: ENH: FindBoost always sets Boost_LIBRARY_DIRS when it finds the Boost libraries 2008-04-22 13:14 dgregor * Modules/FindBoost.cmake: ENH: Integrated FindBoost improvements changes from Andreas Pakulat, Mike Jackson, and myself 2008-04-22 11:10 hoffman * Modules/CMakeRCInformation.cmake, Source/cmMakefileTargetGenerator.cxx: BUG: fix for bug 6834 RC should not get all COMPILE_FLAGS from a target and should work the same way as it does in the vs ide 2008-04-22 09:54 dgregor * Modules/FindMPI.cmake: BUG: As a last resort, FindMPI will look for mpi.h in the path 2008-04-22 09:41 dgregor * Modules/FindMPI.cmake: BUG: Use -showme:incdirs and -showme:libdirs when we need them 2008-04-22 09:35 hoffman * Modules/CMakeFortranInformation.cmake: ENH: fix FFFLAGS to be FLAGS 2008-04-22 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-21 18:51 alex * Modules/CMakeDetermineASMCompiler.cmake: BUG: fix handling of assembler executable (with path) #6858 Alex 2008-04-21 18:26 hoffman * Modules/Platform/Linux-icpc.cmake: ENH: use xiar for the intel compiler 2008-04-21 18:24 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for 6720, source groups on vs6 not working 2008-04-21 16:57 hoffman * Source/: cmListCommand.cxx, cmPolicies.cxx, cmPolicies.h: ENH: fix list command with empty elements 2008-04-21 15:21 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Source/cmComputeLinkInformation.cxx, Source/cmDependsFortran.cxx, Source/cmDependsFortranLexer.cxx, Source/cmDependsFortranLexer.h, Source/cmDependsFortranLexer.in.l, Source/cmDependsFortranParser.cxx, Source/cmDependsFortranParser.y, Tests/CMakeLists.txt: ENH: merge in from main tree 2008-04-21 13:04 hoffman * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeFortranInformation.cmake: ENH: fix init flags getting stuffed into the compile line by force. 2008-04-21 11:28 king * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l, cmDependsFortranParser.cxx, cmDependsFortranParser.y: STYLE: Fix reference to makedepf90 project. 2008-04-21 11:15 king * Source/: cmDependsFortran.cxx, cmDependsFortranLexer.cxx, cmDependsFortranLexer.h, cmDependsFortranLexer.in.l: BUG: Fix Fortran dependency parser preprocessor handling crash. - Do not crash if a #elseif occurs out of order - Recognize preprocessor directives only at the beginning of lines. - See issue #6855 2008-04-21 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-20 20:44 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineCompilerABI.cmake, Modules/CPack.RuntimeScript.in, Modules/CPack.cmake, Modules/FindMPI.cmake, Modules/FindwxWidgets.cmake, Source/cmELF.cxx, Source/cmELF.h, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMessageCommand.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/CPack/cpack.cxx, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/CMakeSetupDialog.h, Tests/Framework/CMakeLists.txt, Tests/Tutorial/Step7/CMakeLists.txt, Tests/X11/CMakeLists.txt, Tests/X11/HelloWorldX11.cxx: ENH: merge in from main tree 2008-04-20 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-19 13:37 david.cole * Tests/CMakeLists.txt: BUG: Allow timeouts larger than 1500 for tests that may take longer than 25 minutes on really slow/busy machines. bootstrap has been timing out on tiamat, a very old machine, this should help it... 2008-04-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-18 17:32 hoffman * Source/cmComputeLinkInformation.cxx: ENH: only complain about -l stuff for CMP0003 2008-04-18 10:55 david.cole * Source/CPack/cpack.cxx: COMP: auto_ptr will not compile without including memory on some platforms 2008-04-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-17 17:23 alex * Modules/CPack.cmake, Tests/Tutorial/Step7/CMakeLists.txt: ENH: use a common CPACK_BINARY_ prefix for the binary package generators Alex 2008-04-17 12:06 david.cole * Source/CPack/cpack.cxx: BUG: Fix mem leak. Thanks, Mathieu. 2008-04-17 11:16 david.cole * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fix for issue #6440. Use 0 instead of FALSE for ExceptionHandling with Visual Studio 2005 and later. 2008-04-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-16 11:31 david.cole * Modules/FindwxWidgets.cmake: BUG: There are compiler problems with wxWidgets and INCLUDE_DIRECTORIES(SYSTEM ...) use on the Mac. Set variable wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac in FindwxWidgets.cmake to avoid these problems. 2008-04-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-15 09:00 king * Source/cmELF.cxx: COMP: Fix signed/unsigned comparison warning in cmELF. 2008-04-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-14 18:03 king * Source/cmInstallCommand.h: ENH: Clarify documentation of install(TARGETS) command to refer to install target types by the upper-case keywords used when invoking the command. 2008-04-14 17:53 king * Source/: cmInstallCommand.cxx, cmInstallCommand.h, cmPolicies.cxx, cmPolicies.h: BUG: Fix compatibility with CMake 2.4 for installation of MACOSX_BUNDLE targets - Add policy CMP0006 to decide whether to use compatibility - OLD behavior is to fall back to RUNTIME rules - NEW behavior is to produce an error 2008-04-14 16:15 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: BUG: Fix issue when non-error messages were incorrectly colored red. 2008-04-14 15:27 king * Source/cmTarget.cxx, Tests/Framework/CMakeLists.txt: BUG: A per-config target name postfix should be ignored for Mac bundle and framework names. 2008-04-14 15:25 king * Modules/CMakeDetermineCompilerABI.cmake: ENH: Clarify message about checking for compiler ABI information. 2008-04-14 15:02 king * Source/: cmFileCommand.cxx, cmFileCommand.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: Improve RPATH behavior during installation. - If new RPATH is empty then remove the entry completely - Preserve file modification time so installation is not repeated - If installed file already exists remove it if its RPATH does not match that expected 2008-04-14 15:02 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added RPATH methods to cmSystemTools - RemoveRPath to remove the RPATH from a binary - CheckRPath to check for an existing RPATH in a binary 2008-04-14 15:02 king * Source/: cmELF.cxx, cmELF.h: ENH: Added cmELF methods to get information about DYNAMIC section entries. 2008-04-14 12:44 king * Source/cmSystemTools.cxx: COMP: Fix new cmSystemTools file time methods on Windows. 2008-04-14 11:43 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added methods to cmSystemTools to save and restore file modification times. 2008-04-14 09:20 king * Source/cmMessageCommand.cxx: ENH: Make message(SEND_ERROR) report context. 2008-04-14 09:08 king * Source/cmMakefileTargetGenerator.cxx: BUG: When MACOSX_PACKAGE_LOCATION specifies Headers/foo we must still create the Headers symlink. 2008-04-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-11 13:13 hoffman * Source/: cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: BUG: make sure OBJECT_DIR is in the path of the SHELL 2008-04-11 10:41 hoffman * Modules/CPack.RuntimeScript.in: ENH: fix x11 launch script for leopord x11 is auto-started for us on that os. 2008-04-11 10:23 hoffman * Tests/X11/: CMakeLists.txt, HelloWorldX11.cxx: ENH: add a simple x11 test for packaging 2008-04-11 10:23 hoffman * Tests/X11/HelloWorldX11.cxx: file HelloWorldX11.cxx was added on branch CMake-2-6 on 2008-04-21 00:44:59 +0000 2008-04-11 09:52 hoffman * Tests/X11/HelloWorldX11.cxx: ENH: add a simple x11 program 2008-04-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-10 16:54 dgregor * Modules/FindMPI.cmake: ENH: Deal with 32-bit and 64-bit variants of Microsoft's MPI properly 2008-04-10 12:50 hoffman * ChangeLog.manual: ENH: change to RC 8 2008-04-10 12:43 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake, Source/cmLocalUnixMakefileGenerator3.cxx: ENH: merge in from main tree 2008-04-10 11:55 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: the sun make goes into some odd n squared thing with this sccs and rcs stuff for gmake, so I am removing them. 2008-04-10 10:01 clinton * Modules/FindQt4.cmake: BUG: Fix typo reported in #6790. 2008-04-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-09 14:57 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindJNI.cmake, Source/cmSystemTools.cxx: ENH: merge from head for RC7 2008-04-09 08:41 hoffman * Tests/Framework/fooDeepPublic.h, Modules/Platform/Darwin-icc.cmake, Modules/Platform/Darwin-icpc.cmake: ENH: add missing file 2008-04-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-08 17:37 hoffman * Source/cmSystemTools.cxx: BUG: undo change as it breaks preprocess test for some reason?? 2008-04-08 16:26 hoffman * Source/cmTarget.h: ENH: merge from main tree 2008-04-08 16:13 hoffman * Source/cmTarget.h: ENH: remove qualifier from .h file 2008-04-08 16:09 hoffman * Modules/FindJNI.cmake: ENH: have jni look more places on linux 2008-04-08 16:06 hoffman * Source/cmSystemTools.cxx: BUG: half fix for 6688, expand registry stuff on unix just like it was not found on windows 2008-04-08 16:05 hoffman * Source/cmSystemTools.cxx: ENH: half fix for 6688, don't let [ count go negative 2008-04-08 13:42 king * Source/cmSystemTools.cxx: ENH: Update cmSystemTools::ChangeRPath to support replacing rpath values from the middle of the string. 2008-04-08 12:22 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake, Modules/InstallRequiredSystemLibraries.cmake, Source/cmComputeLinkInformation.cxx, Source/cmExtraEclipseCDT4Generator.cxx, Source/cmFileCommand.cxx, Source/cmFindBase.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmake.cxx, Source/cmake.h, Source/QtDialog/CMakeLists.txt, Source/QtDialog/CMakeSetup.cxx, Source/QtDialog/CMakeSetupDialog.cxx, Source/QtDialog/CMakeSetupDialog.h, Source/QtDialog/CMakeSetupDialog.ui, Source/QtDialog/QCMake.cxx, Source/QtDialog/QCMake.h, Source/QtDialog/QCMakeCacheView.cxx, Source/QtDialog/QCMakeCacheView.h, Source/QtDialog/QMacInstallDialog.cxx, Source/QtDialog/postflight.sh.in, Tests/Framework/CMakeLists.txt: ENH: merge in changes from main tree 2008-04-08 11:30 hoffman * Source/QtDialog/CMakeLists.txt: ENH: make sure cmake-gui builds with cmake 2.4.X 2008-04-08 00:06 hoffman * Tests/Framework/fooDeepPublic.h: file fooDeepPublic.h was added on branch CMake-2-6 on 2008-04-09 12:41:34 +0000 2008-04-08 00:06 king * Source/cmComputeLinkInformation.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/Framework/CMakeLists.txt, Tests/Framework/fooDeepPublic.h: BUG: Correct Mac OS X framework behavior - Place the built library in foo.framework/Versions/A/foo - Do not create unused content symlinks (like PrivateHeaders) - Do not use VERSION/SOVERSION properties for frameworks - Make cmTarget::GetDirectory return by value - Remove the foo.framework part from cmTarget::GetDirectory - Correct install_name construction and conversion on install - Fix MACOSX_PACKAGE_LOCATION under Xcode to use the Versions/ directory for frameworks - Update the Framework test to try these things 2008-04-07 23:56 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-07 19:43 clinton * Modules/FindQt4.cmake: BUG: Fix problem with last patch when trying to take substr of shorter strings than expected. Fixes #6730. 2008-04-07 19:19 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMake.h: BUG: Fix #6733. Always convert "\" to "/" in source & binary directory fields on Windows. 2008-04-07 13:39 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: BUG: Do not create target output directory in cmTarget. Let the generators do it. 2008-04-07 11:23 clinton * Modules/FindQt4.cmake: BUG: Fix 6726. Create correct moc rule for configured headers in binary dir. 2008-04-07 10:55 king * Source/: cmFileCommand.cxx, cmSystemTools.cxx: ENH: Improve error message when installation file(CHRPATH) cannot change the RPATH. 2008-04-06 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-06 22:19 hoffman * Source/cmFindBase.cxx: BUG: fix network path by mistake in search 2008-04-05 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-04 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-04 16:02 hoffman * CMakeLists.txt, Source/cmFileCommand.cxx, Source/cmake.cxx, Source/QtDialog/CMakeLists.txt, Source/QtDialog/CMakeSetup.cxx, Source/QtDialog/QMacInstallDialog.cxx, Source/QtDialog/postflight.sh.in: ENH: install the mac application bundle into /Applications directly with no enclosing folder 2008-04-03 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-03 18:43 alex * Source/cmExtraEclipseCDT4Generator.cxx: ENH: add edit_cache target for Eclipse (if it's not ccmake, because this doesn't work inside the log view) Alex 2008-04-03 18:35 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH: Fix exit shortcut to be more standard, and add shortcut for advanced checkbox. 2008-04-03 17:02 hoffman * Source/QtDialog/QMacInstallDialog.cxx: ENH: do not link . and .. during install 2008-04-03 16:49 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH: Add more shortcuts. Fixes 6357. 2008-04-03 16:18 hoffman * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, QMacInstallDialog.cxx: ENH: add ability to create symlinks for command line on mac from gui 2008-04-03 12:29 hoffman * Modules/InstallRequiredSystemLibraries.cmake: ENH: add vs9 mfc libraries 2008-04-03 11:11 hoffman * Source/cmMakefileTargetGenerator.cxx: BUG: response file must be a copy if different or you get relinks every time you run cmake 2008-04-02 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-02 17:41 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMake.h: ENH: Add debug output option to a new Options menu. Move dev warnings option to the new Options menu. Fixes #6335. 2008-04-02 17:29 alex * Source/: cmake.cxx, cmake.h: ENH: make it possible to disable debug output again Alex 2008-04-02 15:28 clinton * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h: BUG: Keep editor alive when file dialog comes up to pick another file or path. The editor going away prematurely Seems to only happen on Mac OS X. 2008-04-02 14:01 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: ENH: Allow cancelling the dialog that prompts for the generator. 2008-04-02 11:07 hoffman * ChangeLog.manual, Modules/FindQt4.cmake: ENH: merge in findqt change from main tree 2008-04-02 11:05 hoffman * Modules/FindQt4.cmake: BUG: make sure all paths extracted from qmake are converted to cmake paths because on windows they will have \ instead of / and you can get odd escaping errors 2008-04-02 09:16 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CPackDeb.cmake, Modules/FindQt4.cmake, Source/cmGetPropertyCommand.cxx, Source/cmGetPropertyCommand.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Source/cmTest.cxx, Source/CPack/cmCPackDebGenerator.cxx, Source/kwsys/Process.h.in, Source/kwsys/ProcessUNIX.c, Tests/Properties/CMakeLists.txt: ENH: merge in main tree for RC 6 2008-04-02 08:36 malaterre * Source/kwsys/: Process.h.in, ProcessUNIX.c: STYLE: minor comments 2008-04-01 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-04-01 17:59 alex * Modules/FindQt4.cmake: STYLE: add documentation for QT4_CREATE_MOC and QT4_AUTOMOC (#6687) Alex 2008-04-01 17:51 hoffman * Source/CPack/cmCPackDebGenerator.cxx, Modules/CPackDeb.cmake: ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable 2008-04-01 17:39 hoffman * Source/cmGlobalVisualStudio8Generator.cxx: BUG: fix location of tmp file to use the full path, caused error on vista not running as admin 2008-04-01 15:22 martink * Source/cmGetPropertyCommand.cxx: COMP: fix warning 2008-04-01 14:22 martink * Source/cmGetPropertyCommand.cxx, Source/cmGetPropertyCommand.h, Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Source/cmTest.cxx, Tests/Properties/CMakeLists.txt: ENH: support unset of properties 2008-04-01 09:56 hoffman * Modules/CPackDeb.cmake: ENH: remove trailing space 2008-03-31 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-31 17:57 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindMPI.cmake, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmExportFileGenerator.cxx, Source/cmListFileCache.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmPolicies.cxx: ENH: merge changes from head to 26 branch 2008-03-31 13:48 king * Source/cmExportFileGenerator.cxx: BUG: Generated target export files should set the policy version to 2.6 instead of the currently running version because they are 2.6 compatible. 2008-03-31 13:33 king * Source/: cmListFileCache.cxx, cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx: ENH: Allow policy CMP0000 to be set explicitly - Message for missing cmake_minimum_required is not issued until the end of processing the top CMakeLists.txt file - During processing a cmake_policy command may set behavior - OLD behavior is to silently ignore the problem - NEW behavior is to issue an error instead of a warning 2008-03-31 12:47 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmComputeLinkInformation.cxx: BUG: Fix bug 6605 more completely - CMake 2.4 added link directories for targets linked in the optimized configuration even when building debug - Old behavior for policy CMP0003 must account for this 2008-03-31 10:59 king * Source/cmLocalVisualStudio7Generator.cxx: ENH: Improve speed of manifest tool on VS8 and VS9. - Detect filesystem type where target will be linked - Use FAT32 workaround only when fs is FAT or FAT32 2008-03-31 10:55 dgregor * Modules/FindMPI.cmake: ENH: Enhance FindMPI module by properly handling backward compatibility with the older module, adding documentation, and coping with multiple include and linker paths 2008-03-31 08:04 hoffman * Modules/Platform/Darwin-icpc.cmake: file Darwin-icpc.cmake was added on branch CMake-2-6 on 2008-04-09 12:41:47 +0000 2008-03-31 08:04 hoffman * Modules/Platform/Darwin-icc.cmake: file Darwin-icc.cmake was added on branch CMake-2-6 on 2008-04-09 12:41:46 +0000 2008-03-31 08:04 david.cole * Modules/Platform/: Darwin-icc.cmake, Darwin-icpc.cmake: ENH: Add Intel compiler module files for the Mac. Thanks to Mike Jackson for contributing. 2008-03-30 23:57 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-30 09:08 hoffman * CMakeLists.txt, ChangeLog.manual, ChangeLog.txt, Modules/CMakeImportBuildSettings.cmake, Modules/CPackDeb.cmake, Modules/FindCurses.cmake, Modules/FindQt4.cmake, Source/CMakeLists.txt, Source/cmGlobalKdevelopGenerator.cxx, Source/cmGlobalKdevelopGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmake.cxx, Source/cmake.h, Source/CPack/cmCPackDebGenerator.cxx, Source/QtDialog/CMakeSetupDialog.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Tests/Fortran/test_use_in_comment_fixedform.f: ENH: merge from main tree 2008-03-29 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-29 13:16 hoffman * Source/cmake.h: ENH: make sure gui no-dev workis 2008-03-28 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-28 20:23 alex * Source/CPack/cmCPackDebGenerator.cxx: BUG: fix packaging of files installed to absolute paths, works only when used with SET(CPACK_SET_DESTDIR "ON") Alex 2008-03-28 19:09 alex * Modules/CPackDeb.cmake: STYLE: add a comma to make it better understandable, also use STATUS as the other MESSAGE() calls do Alex 2008-03-28 15:59 hoffman * Source/cmake.h: ENH: remove dangerous access to ivar that should not be used 2008-03-28 15:54 hoffman * Source/cmLocalGenerator.cxx: ENH: fix for the correct path to cmake 2008-03-28 14:29 hoffman * Source/: cmSystemTools.cxx, cmake.cxx: ENH: try to fix mac symlinks to the executable 2008-03-28 14:08 hoffman * Modules/CPackDeb.cmake: ENH: allow deb to work without dpkg 2008-03-28 14:07 king * Modules/CMakeImportBuildSettings.cmake: ENH: Patch from Mathieu Malaterre to add documentation for his previous patch for CMakeImportBuildSettings. 2008-03-28 14:04 king * Tests/Fortran/test_use_in_comment_fixedform.f: BUG: Fix Fortran test to use more portable comment syntax in fixed format source. 2008-03-28 13:26 king * Modules/CMakeImportBuildSettings.cmake: ENH: Patch from Mathieu Malaterre to allow users to tell CMakeImportBuildSettings to not force compiler settings. 2008-03-28 13:22 king * Source/CMakeLists.txt: COMP: Add missing module for CHECK_INCLUDE_FILE macro. 2008-03-28 13:07 king * Source/cmTarget.cxx: ENH: Add note to Fortran_MODULE_DIRECTORY property documentation about using CMAKE_Fortran_MODULE_DIRECTORY to initialize it. 2008-03-28 12:53 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Better default size for help dialog. 2008-03-28 11:47 hoffman * Modules/: CPackDeb.cmake: ENH: remove hard codeded arch 2008-03-28 10:12 hoffman * Modules/FindCurses.cmake: ENH: make this backwards compatible with older FindCurses 2008-03-28 10:08 hoffman * Modules/FindCurses.cmake: ENH: make this backwards compatible with older FindCurses 2008-03-27 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-27 22:00 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 6619 2008-03-27 21:54 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 6660 2008-03-27 21:51 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 6661 2008-03-27 17:40 alex * Source/: cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h: COMP: fix warning about unused mf -"make VERBOSE=1 " should be more portable than "VERBOSE=1 make ", since it doesn't rely on the shell, shouldn't it ? Alex 2008-03-27 17:05 hoffman * Source/: cmake.cxx, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: BUG: fix install problem on make and allow symlinks to cmake bin directory 2008-03-27 15:33 alex * Source/cmGlobalKdevelopGenerator.cxx: ENH: -enable colored output with the kdevelop generator -create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead Alex 2008-03-27 15:18 clinton * Modules/FindQt4.cmake: ENH: Add QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH variables. 2008-03-27 13:30 hoffman * ChangeLog.txt: ENH: remove DashboardScripts and CMakeWeb from the change log 2008-03-27 13:27 hoffman * ChangeLog.txt: ENH: check in new change log for 2.6 2008-03-27 11:16 hoffman * CMakeLists.txt, Modules/CPack.cmake, Source/cmInstallCommandArguments.cxx, Source/cmake.cxx: ENH: merge in from main tree 2008-03-26 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-26 22:34 hoffman * Source/cmake.cxx: ENH: clean up annoying output from rc tool in VS9 2008-03-26 20:12 alex * Modules/CPack.cmake: ENH: use CPACK_PACKAGE_VERSION instead of CPACK_PACKAGE_VERSION_MAJOR.CPACK_PACKAGE_VERSION_MINOR.CPACK_PACKAGE_VERSION_PATCH for creating the package file name Alex 2008-03-26 18:30 alex * Source/cmInstallCommandArguments.cxx: BUG: fix the default "Unspecified" component when only the generic (i.e. not RUNTIME, ARCHIVE, LIBRARY, etc.) arguments are given. If the component of a part of a target is queried, return the specific one, if a specific one hasn't been set, return the generic one, if that hasn't been set, return "Unspecified". Alex 2008-03-26 15:55 hoffman * Utilities/Release/: v20n17_aix_release.cmake, vogon_release_qt.cmake: ENH: 2008-03-26 14:08 hoffman * CMakeLists.txt, Modules/CMakeJavaInformation.cmake, Modules/FindSubversion.cmake, Source/cmCoreTryCompile.cxx: ENH: merge in from main tree 2008-03-26 13:50 hoffman * Source/cmCoreTryCompile.cxx: ENH: make sure numAttempts is incremented 2008-03-26 13:14 hoffman * Source/cmCoreTryCompile.cxx: ENH: try to fix dashboard issue with not being able to remove try compile code 2008-03-25 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-25 19:58 hoffman * CMakeLists.txt, Source/cmLocalUnixMakefileGenerator3.cxx, Tests/Assembler/CMakeLists.txt, Tests/BuildDepends/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt, Tests/COnly/CMakeLists.txt, Tests/CTestTest/CMakeLists.txt, Tests/CTestTest2/CMakeLists.txt, Tests/CommandLineTest/CMakeLists.txt, Tests/ConvLibrary/CMakeLists.txt, Tests/CustComDepend/CMakeLists.txt, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommandWorkingDirectory/CMakeLists.txt, Tests/Dependency/CMakeLists.txt, Tests/DocTest/CMakeLists.txt, Tests/ExportImport/CMakeLists.txt, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Import/CMakeLists.txt, Tests/ExternalOBJ/CMakeLists.txt, Tests/ExternalOBJ/Object/CMakeLists.txt, Tests/FindPackageTest/CMakeLists.txt, Tests/Fortran/CMakeLists.txt, Tests/Framework/CMakeLists.txt, Tests/FunctionTest/CMakeLists.txt, Tests/Java/CMakeLists.txt, Tests/Jump/CMakeLists.txt, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeLists.txt, Tests/LoadCommand/CMakeCommands/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, Tests/MacroTest/CMakeLists.txt, Tests/MakeClean/CMakeLists.txt, Tests/MathTest/CMakeLists.txt, Tests/NewlineArgs/CMakeLists.txt, Tests/OutOfSource/CMakeLists.txt, Tests/Plugin/CMakeLists.txt, Tests/PrecompiledHeader/CMakeLists.txt, Tests/Properties/CMakeLists.txt, Tests/ReturnTest/CMakeLists.txt, Tests/RuntimePath/CMakeLists.txt, Tests/SameName/CMakeLists.txt, Tests/SetLang/CMakeLists.txt, Tests/SimpleExclude/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SourceGroups/CMakeLists.txt, Tests/StringFileTest/CMakeLists.txt, Tests/SubDir/CMakeLists.txt, Tests/SubDir/Examples/CMakeLists.txt, Tests/SubDir/Examples/example1/CMakeLists.txt, Tests/SubDirSpaces/CMakeLists.txt, Tests/SubDirSpaces/Some Examples/CMakeLists.txt, Tests/SubDirSpaces/Some Examples/example1/CMakeLists.txt, Tests/SubProject/CMakeLists.txt, Tests/SwigTest/CMakeLists.txt, Tests/SystemInformation/CMakeLists.txt, Tests/TarTest/CMakeLists.txt, Tests/TargetName/CMakeLists.txt, Tests/TestDriver/CMakeLists.txt, Tests/Testing/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt, Tests/Tutorial/Step1/CMakeLists.txt, Tests/Tutorial/Step2/CMakeLists.txt, Tests/Tutorial/Step3/CMakeLists.txt, Tests/Tutorial/Step4/CMakeLists.txt, Tests/Tutorial/Step5/CMakeLists.txt, Tests/Tutorial/Step6/CMakeLists.txt, Tests/Tutorial/Step7/CMakeLists.txt, Tests/VSExternalInclude/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt, Tests/X11/CMakeLists.txt: ENH: merge in from main tree 2008-03-25 14:37 martink * Tests/ExternalOBJ/CMakeLists.txt: BUG: make test more robust 2008-03-25 14:15 martink * Tests/ExternalOBJ/CMakeLists.txt: BUG: add debugging into to check out a problem 2008-03-25 11:26 martink * Tests/: Assembler/CMakeLists.txt, BuildDepends/CMakeLists.txt, BundleTest/CMakeLists.txt, COnly/CMakeLists.txt, CTestTest/CMakeLists.txt, CTestTest2/CMakeLists.txt, CommandLineTest/CMakeLists.txt, ConvLibrary/CMakeLists.txt, CustComDepend/CMakeLists.txt, CustomCommand/CMakeLists.txt, CustomCommandWorkingDirectory/CMakeLists.txt, Dependency/CMakeLists.txt, DocTest/CMakeLists.txt, ExportImport/CMakeLists.txt, ExportImport/Export/CMakeLists.txt, ExportImport/Import/CMakeLists.txt, ExternalOBJ/CMakeLists.txt, ExternalOBJ/Object/CMakeLists.txt, FindPackageTest/CMakeLists.txt, Fortran/CMakeLists.txt, Framework/CMakeLists.txt, FunctionTest/CMakeLists.txt, Java/CMakeLists.txt, Jump/CMakeLists.txt, LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt, LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, MacroTest/CMakeLists.txt, MakeClean/CMakeLists.txt, MathTest/CMakeLists.txt, NewlineArgs/CMakeLists.txt, OutOfSource/CMakeLists.txt, Plugin/CMakeLists.txt, PrecompiledHeader/CMakeLists.txt, Properties/CMakeLists.txt, ReturnTest/CMakeLists.txt, RuntimePath/CMakeLists.txt, SameName/CMakeLists.txt, SetLang/CMakeLists.txt, SimpleExclude/CMakeLists.txt, SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt, SourceGroups/CMakeLists.txt, StringFileTest/CMakeLists.txt, SubDir/CMakeLists.txt, SubDir/Examples/CMakeLists.txt, SubDir/Examples/example1/CMakeLists.txt, SubDirSpaces/CMakeLists.txt, SubDirSpaces/Some Examples/CMakeLists.txt, SubDirSpaces/Some Examples/example1/CMakeLists.txt, SubProject/CMakeLists.txt, SwigTest/CMakeLists.txt, SystemInformation/CMakeLists.txt, TarTest/CMakeLists.txt, TargetName/CMakeLists.txt, TestDriver/CMakeLists.txt, Testing/CMakeLists.txt, TryCompile/CMakeLists.txt, Tutorial/Step1/CMakeLists.txt, Tutorial/Step2/CMakeLists.txt, Tutorial/Step3/CMakeLists.txt, Tutorial/Step4/CMakeLists.txt, Tutorial/Step5/CMakeLists.txt, Tutorial/Step6/CMakeLists.txt, Tutorial/Step7/CMakeLists.txt, VSExternalInclude/CMakeLists.txt, Wrapping/CMakeLists.txt, X11/CMakeLists.txt: ENH: preclean some warnings 2008-03-25 10:11 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for watcom can't use phony 2008-03-24 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-24 18:23 hoffman * CMakeLists.txt, Modules/FindBLAS.cmake, Modules/FindKDE4.cmake, Modules/FindLAPACK.cmake, Modules/FindMPI.cmake, Modules/FindQt4.cmake, Modules/FindSubversion.cmake, Source/cmCMakeMinimumRequired.cxx, Source/cmCMakePolicyCommand.cxx, Source/cmComputeLinkInformation.cxx, Source/cmCoreTryCompile.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmListFileCache.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmPolicies.cxx, Source/cmake.cxx, Source/cmake.h, Source/CTest/cmCTestBuildHandler.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/MakeClean/ToClean/CMakeLists.txt, Tests/Preprocess/CMakeLists.txt: ENH: merge in from CVS 2008-03-24 15:41 hoffman * Modules/FindMPI.cmake: ENH: remove use of undefined cdr 2008-03-24 15:40 hoffman * Modules/FindQt4.cmake: ENH: fix if 2008-03-24 11:49 alin.elena * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 10:56 king * Source/: cmCMakeMinimumRequired.cxx, cmCMakePolicyCommand.cxx, cmPolicies.cxx: ENH: Cleanup policy version interface presented to user. - In cmake_minimum_required do not set policy version if current CMake is too old - In cmPolicies::ApplyPolicyVersion report error if version is too new or cannot be parsed 2008-03-24 10:26 hoffman * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: add PHONY targets 2008-03-23 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-22 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-22 10:24 hoffman * Source/: cmake.h, cmake.cxx: ENH: make sure -Wno-dev sticks so make rebuild_cache will work 2008-03-21 23:58 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-20 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-20 21:11 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h, cmPolicies.cxx: ENH: Yet another attempt at warning for CMP0003. - Give example code to avoid the warning - Make explanation more consise - Explicitly state this is for compatibility - Issue the warning for at most one target 2008-03-20 18:25 king * Source/cmIfCommand.cxx, Source/cmIfCommand.h, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Add "if(POLICY policy-id)" option for IF command. - This will help projects support multiple CMake versions. - In order to set a policy when using a newer CMake but still working with an older CMake one may write if(POLICY CMP1234) cmake_policy(SET CMP1234 NEW) endif(POLICY CMP1234) - Note that since CMake 2.4 does not have if(POLICY) supporting it will also require using "if(COMMAND cmake_policy)" 2008-03-20 18:25 king * Tests/: MakeClean/ToClean/CMakeLists.txt, Preprocess/CMakeLists.txt: BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in Tests/MakeClean/ToClean/CMakeLists.txt and Tests/Preprocess/CMakeLists.txt. CMP0000 now requires the cmake_minimum_required command. 2008-03-20 11:44 david.cole * Modules/FindSubversion.cmake: BUG: Remove reference to PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be called from a ctest or cmake script. 2008-03-20 10:46 martink * Source/cmListFileCache.cxx: ENH: tiny performance improvement 2008-03-20 10:40 martink * Source/cmListFileCache.cxx: ENH: small simple projects do not need to specify cmake minimum required 2008-03-20 10:11 king * Source/cmake.cxx: ENH: Clarify end of (dev) warnings to explicitly state they are meant for project developers. 2008-03-19 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-19 16:14 clinton * Modules/FindQt4.cmake: BUG: Fix issue when Qt from Linux distro is used and glib and dbus development packages aren't installed. 2008-03-19 15:44 king * Source/cmCoreTryCompile.cxx: BUG: Change generated try-compile projects to use cmake_minimum_required instead of cmake_policy to set the version now that CMP0000 requires it. 2008-03-19 15:27 clinton * Modules/FindQt4.cmake: BUG: Don't clear output strings before using. 2008-03-19 15:18 king * Source/: cmListFileCache.cxx, cmPolicies.cxx: ENH: Improve warning about specifying a cmake version - Update policy CMP0000 to require use of the command cmake_minimum_required and not cmake_policy so there is only one way to avoid it. - Explicitly specify the line users should add. - Reference policy CMP0000 only at the end. - Fix policy CMP0000 documentation to not suggest use of the cmake_policy command. 2008-03-19 14:32 king * Source/cmComputeLinkInformation.cxx: ENH: Clarify warning for policy CMP0003 further. 2008-03-19 11:18 david.cole * Source/CTest/cmCTestBuildHandler.cxx: BUG: Missing a linker crashed error matching string. 2008-03-19 09:14 hoffman * Source/cmComputeLinkInformation.cxx: ENH: do not warn about frameworks as they are not affected by -L anyway 2008-03-18 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-18 21:22 hoffman * CMakeLists.txt: ENH: forgot to check this in, need to change the version in CVS 2008-03-18 18:37 clinton * Modules/FindQt4.cmake: STYLE: Improve documentation by expanding on how UseQt4.cmake fits in. 2008-03-18 17:54 alex * Modules/FindQt4.cmake: STYLE: fix documentation again: QT_LIBRARIES exists if you use Qt4 via UseQt4.cmake Alex 2008-03-18 17:32 hoffman * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: ENH: try to reduce the number of CMP0003 warnings that people see. Only report them for unique sets of libraries with no full path. Also add a message explaining the course of action that should be taken 2008-03-18 17:26 alex * Modules/FindQt4.cmake: STYLE: fix documentation, QT_LIBRARIES doesn't exist, and also didn't exist in cmake 2.4.3, the first stable cmake 2.4.x release Alex 2008-03-18 16:30 clinton * Modules/FindQt4.cmake: ENH: Satisfy QtDBus dependencies for builds with static Qt. Finish fix for #6607. 2008-03-18 11:51 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: exclude borland make as well 2008-03-18 11:28 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: turn off extra rules for nmake and wmake 2008-03-18 11:11 hoffman * CMakeLists.txt: ENH: set the version on 2.6 2008-03-18 10:23 hoffman * CMakeLists.txt, Modules/CTest.cmake, Modules/FindKDE4.cmake, Modules/FindPackageHandleStandardArgs.cmake, Modules/FindPackageMessage.cmake, Modules/FindQt4.cmake, Modules/FindX11.cmake, Modules/UseQt4.cmake, Modules/VTKCompatibility.cmake, Modules/Platform/Linux-GNU-Fortran.cmake, Modules/Platform/Linux-ifort.cmake, Modules/Platform/Windows-cl.cmake, Source/cmCMakeMinimumRequired.h, Source/cmCMakePolicyCommand.h, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx, Source/cmExportFileGenerator.cxx, Source/cmListCommand.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmSourceFileLocation.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/QtDialog/CMakeSetup.cxx, Source/QtDialog/CMakeSetupDialog.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/kwsysDateStamp.cmake, Utilities/cmcurl/CMakeLists.txt: ENH: move head to branch 2008-03-18 10:02 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: try to improve make speed by getting rid of some implicit rules that were still around. 2008-03-17 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-17 20:30 king * Source/cmCMakePolicyCommand.h: ENH: Improve documentation of cmake_policy command. - Add a paragraph introducing the policy mechanism - Explicitly introduce the CMP, OLD, and NEW notation - Note that setting policies by CMake version is preferred - Fix SET signature to use CMP notation - Add more details about the policy stack 2008-03-17 16:22 king * CMakeLists.txt, Source/kwsys/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release. 2008-03-17 14:53 clinton * Modules/FindQt4.cmake: ENH: For Mac OS X, remove QuickTime link for Qt 4.3+ and add AppKit link for Qt 4.2+. 2008-03-17 11:10 hoffman * Modules/FindPackageMessage.cmake: file FindPackageMessage.cmake was added on branch CMake-2-6 on 2008-03-18 14:23:52 +0000 2008-03-17 11:10 king * Modules/: FindPackageHandleStandardArgs.cmake, FindPackageMessage.cmake, FindQt4.cmake, FindX11.cmake: ENH: Added FindPackageMessage module - Defines FIND_PACKAGE_MESSAGE function to help display find result messages only once - Added use of it to FindPackageHandleStandardArgs - Added use of it to FindQt4, and FindX11 - This cleans up repeated messages in big projects 2008-03-17 11:10 king * Modules/CTest.cmake: ENH: Avoid printing message about unknown repository type repeatedly in CTest. 2008-03-17 08:55 king * Modules/Platform/: Linux-GNU-Fortran.cmake, Linux-ifort.cmake: ENH: Patch from Maik to add per-configuration default flags to GCC and Intel Fortran compilers on Linux. 2008-03-16 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-15 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-15 20:10 david.cole * Modules/CMakeJavaInformation.cmake: BUG: Go back to using "." so the Java test passes on the nightly nmake dashboards again. Still need a solution that works with both nmake and Visual Studio builds. 2008-03-15 10:00 king * Source/cmComputeLinkInformation.cxx: COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl. 2008-03-15 10:00 king * Source/: cmTarget.cxx, cmSourceFileLocation.cxx: STYLE: Fix line-too-long for new INTERNAL_ERROR messages. 2008-03-14 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-14 18:16 alex * Modules/FindKDE4.cmake: ENH: preparations for cross compiling KDE4 Alex 2008-03-14 16:39 barre * Source/cmListCommand.cxx: STYLE: yeah yeah. 2008-03-14 15:18 clinton * Source/QtDialog/CMakeSetup.cxx: ENH: Prevent loading standard qt plugins at runtime (which we dont' care about). This can cause problems if a Mac bundle doesn't contain the plugins. 2008-03-14 14:28 clinton * Modules/FindQt4.cmake: BUG: Fix typo to find QAssistantClient header. 2008-03-14 14:21 king * Source/cmComputeLinkInformation.cxx: ENH: Improve CMP0003 to provide more compatibility - Targets built in the tree now add compatibility paths too - The warning message's first list includes at most one item for each unique compatibility path - Clarified error message further 2008-03-14 13:29 clinton * Modules/FindQt4.cmake: ENH: Satisfy QtNetwork and QtOpenGL dependencies for builds with static Qt. Partial fix for #6607. 2008-03-14 13:16 clinton * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: Automatically add dependent modules. For example, if QT_USE_QTXMLPATTERNS is on, QT_USE_QTNETWORK is turned on. The equivalent happens in a qmake .pro file when QT += xmlpatterns is specified. 2008-03-14 12:11 clinton * Modules/FindQt4.cmake: ENH: Support static Qt 4.4 builds using QtHelp module. 2008-03-13 19:12 clinton * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: Add support for Qt 4.4's phonon module. Add new Qt 4.4 modules in UseQt4.cmake 2008-03-13 17:38 king * Source/cmMakefile.cxx: BUG: Fix impl of CMP0005 regex to match value-less definitions. 2008-03-13 17:32 king * Source/: cmCMakeMinimumRequired.h, cmPolicies.cxx: ENH: Clarify documentation of policy CMP0000 and its relationship with cmake_minimum_required. 2008-03-13 17:11 king * Source/: cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h: ENH: Add policy CMP0005 to decide whether add_definitions should escape defs. 2008-03-13 17:04 king * Source/cmExportFileGenerator.cxx: ENH: Add cmake_policy push/version/pop to import/export files. 2008-03-13 16:42 hoffman * Modules/Platform/Windows-cl.cmake: ENH: fix c flags for 2003 free command line tools 2008-03-13 16:35 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmPolicies.cxx, cmPolicies.h, cmTarget.cxx, cmTarget.h: ENH: Add policy CMP_0004 to require library names to have no leading or trailing whitespace. Replace previous check of CMAKE_BACKWARDS_COMPATIBILITY against version 2.4 with the policy. 2008-03-13 16:23 king * Modules/VTKCompatibility.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003. - Policy is WARN by default so projects will build as they did in 2.4 without user intervention - Remove CMAKE_LINK_OLD_PATHS variable since it was never in a release and the policy supercedes it - Report target creation backtrace in warning message since policy should be set by that point 2008-03-13 16:21 hoffman * Source/QtDialog/CMakeSetupDialog.cxx: ENH: make menu item match -Wno-dev command line 2008-03-13 16:13 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Preserve white spaces when printing messages. 2008-03-13 15:34 hoffman * Source/cmake.cxx: ENH: move the clear to before things are added to the maps 2008-03-13 15:29 clinton * Modules/FindQt4.cmake: ENH: Add support for new modules in Qt 4.4. Fixes #6316. Simplify and clarify some documentation. BUG: Fix order of include paths (from KDE's FindQt4) Fix find of Designer components debug library on Windows. 2008-03-13 15:06 king * Source/cmake.cxx: ENH: Make (dev) warnings show note about -Wno-dev option. Fix -Wdev and -Wno-dev options to not be mistaken for the source directory specification. 2008-03-13 15:03 david.cole * Modules/CMakeJavaInformation.cmake: COMP: Conditionalize the last change so that the fix only applies to WIN32. Leave it the way it was elsewhere, the new way does not work on the Mac continuous dashboard... 2008-03-13 15:01 king * Source/cmPolicies.cxx: ENH: Reduce whitespace in policy warning/error messages. 2008-03-13 14:29 david.cole * Modules/CMakeJavaInformation.cmake: BUG: Fix the Java test for Visual Studio builds. Before this, it had been trying to include "BuildLog.htm" in the .jar file because it was using "." as the list of files to include in the .jar file. Use "*.class" instead of "." to prevent this silliness. 2008-03-13 14:13 king * Source/cmMakefile.cxx: ENH: Improve error message when invalid policy is given. 2008-03-13 13:52 king * Source/cmSetCommand.cxx: ENH: Simplify error message for invalid set(... CACHE) calls to make it look nicer with new message format. 2008-03-13 13:48 king * Source/: cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx, cmMakefile.h, cmTarget.cxx, cmTarget.h, cmake.cxx, cmake.h: ENH: Improve new error/warning message generation - Add cmListFileBacktrace to record stack traces - Move main IssueMessage method to the cmake class instance (make the backtrace an explicit argument) - Change cmMakefile::IssueMessage to construct a backtrace and call the cmake instance version - Record a backtrace at the point a target is created (useful later for messages issued by generators) 2008-03-13 11:38 martink * Source/: cmCMakePolicyCommand.h, cmListFileCache.cxx, cmLocalGenerator.cxx, cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h, cmake.cxx: ENH: change CMP_ to CMP 2008-03-13 10:56 hoffman * Modules/FindGLUT.cmake: BUG: fix bug 6594 look for glut in more places on windows 2008-03-13 09:28 barre * Source/cmFileCommand.cxx: BUG: the directory the FILE DOWNLOAD command is writing to might not exist. 2008-03-12 23:59 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-12 21:54 hoffman * CMakeCPackOptions.cmake.in, Source/CPack/cmCPackCygwinBinaryGenerator.cxx, Source/CPack/cmCPackCygwinSourceGenerator.cxx, Source/CPack/cmCPackGenerator.cxx: ENH: fix crash in cpack when CPACK_CYGWIN_PATCH_NUMBER not specified 2008-03-12 21:06 hoffman * Source/: cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmSourceFileLocation.cxx, cmTarget.cxx, cmake.h: ENH: remove abort calls and replace with an IssueMessage INTERANL_ERROR, better to not crash on the end user. 2008-03-12 17:02 hoffman * Source/: cmake.cxx, cmake.h: ENH: make sure properties are re-set on each configure 2008-03-12 17:02 barre * Source/cmListCommand.cxx, Source/cmListCommand.h, Tests/CMakeTests/ListTest.cmake.in: ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering) 2008-03-12 14:37 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix some bad changes in progress calc 2008-03-12 09:25 hoffman * Source/cmMakefile.cxx: STYLE: fix line len 2008-03-12 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-11 22:52 hoffman * Source/QtDialog/CMakeSetupDialog.cxx: ENH: remove iostream, not used 2008-03-11 22:50 hoffman * Source/: cmake.cxx, cmake.h, QtDialog/CMakeSetupDialog.cxx, QtDialog/CMakeSetupDialog.h, QtDialog/QCMake.cxx, QtDialog/QCMake.h: ENH: add ability to suppress dev warnings to gui code 2008-03-11 17:53 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix subtle bug that prevented Makefile generators from rescanning dependencies when a new source file is added but no other sources are touched. 2008-03-11 17:37 king * Source/kwsys/SystemInformation.hxx.in: COMP: Fix shared lib build on windows for KWSys's SystemInformation by adding export macro. 2008-03-11 17:27 hoffman * Source/QtDialog/: CMake.desktop, CMakeLists.txt, cmakecache.xml: ENH: add KDE desktop stuff 2008-03-11 17:27 hoffman * Source/cmMakefile.cxx: ENH: fix warning message a bit 2008-03-11 17:25 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmake.cxx, cmake.h: BUG: Fixes to VS8/VS9 project regeneration rules - ZERO_CHECK should check all stamps in case of parallel build (fixes complex test failure) - ZERO_CHECK should not appear when CMAKE_SUPPRESS_REGENERATION is on (fixes bug 6490) 2008-03-11 16:02 hoffman * Source/: cmake.h, cmakemain.cxx: ENH: fix -Wno-dev for ccmake 2008-03-11 15:17 hoffman * Source/: cmMakefile.cxx, cmake.cxx, cmakemain.cxx: ENH: add a way to suppress the new policy warnings, still need ccmake and gui's 2008-03-11 10:54 barre * Docs/cmake-mode.el: ENH: add simple function to convert all CMake commands to lowercase 2008-03-11 10:29 hoffman * Source/: cmListFileCache.cxx, cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx, cmake.h: ENH: add enum to IssueMessage 2008-03-11 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-10 18:48 barre * Modules/: FindCVS.cmake: ENH: for some reasons there was never a FindCVS module? 2008-03-10 15:41 king * Source/cmMakefile.cxx: ENH: Enforce matching PUSH/POP calls for cmake_policy. 2008-03-10 15:40 king * Source/cmMakefile.cxx: ENH: Add directory-level context information to error/warning messages when no call stack is present. 2008-03-10 13:26 alex * Modules/: FindLua50.cmake, FindLua51.cmake: ENH: use the standard find_package_handle_standard_args() for lua 5.0 and 5.1 Alex 2008-03-10 09:32 king * Modules/: CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp.in, CMakePlatformId.h.in: ENH: Make compiler id detection more robust - Split INFO strings in source into multiple pieces to make sure assembly or other listings produced by the compiler are never matched by the regex - Store INFO strings via pointer instead of array to convince some compilers to store the string literally in the binary - This should help make it work for sdcc 2.8.0 RC1 2008-03-10 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-09 19:20 alex * Modules/CMakeDetermineCompilerId.cmake: BUG: make compiler id detection (almost) work again with sdcc 2.8.0 RC1, mail sent to Brad for the remaining issue don't match INFO:compiler[" COMPILER_ID "] which appears in the assembler file generated from the C file by sdcc, but make sure the first character after the [ is no double quote Alex 2008-03-09 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-08 09:50 king * Source/cmIncludeDirectoryCommand.cxx: BUG: Fix include_directories command to produce an immediately whether or not 2.4 compatibility is enabled. CMake 2.4 already produced an error, just not immediately. 2008-03-08 09:27 king * Source/cmIncludeCommand.cxx: ENH: Improve formatting of include command error message. 2008-03-08 09:21 king * Source/cmMakefile.cxx: COMP: Avoid using operator-> on const_reverse_iterator to help old compilers. 2008-03-08 09:13 king * Source/: cmMakefile.cxx, cmPolicies.cxx: ENH: Cleanup policy generic documentation. Cleanup some policy error/warning messages. 2008-03-08 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-07 19:58 hoffman * Modules/FindMPI.cmake: ENH: add new version of FindMPI, fix it to work with MPICH2 on windows 2008-03-07 17:05 king * Source/cmAddCustomTargetCommand.cxx: COMP: Fix unused parameter warning in cmAddCustomTargetCommand. 2008-03-07 16:36 king * Source/: cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h, cmake.cxx: ENH: Finish creating, documenting, and enforcing policy CMP_0002. 2008-03-07 16:32 hoffman * Source/CursesDialog/: cmCursesCacheEntryComposite.cxx, cmCursesMainForm.cxx: ENH: fix it for working with an empty cache 2008-03-07 16:26 king * bootstrap: COMP: Fix bootstrap build after using cmDocumentationFormatterText in cmMakefile. 2008-03-07 16:01 king * Source/: cmDocumentationFormatterText.cxx, cmMakefile.cxx: ENH: In cmMakefile::IssueMessage use cmDocumentationFormatterText to format the message nicely. 2008-03-07 15:30 king * Source/cmAddCustomTargetCommand.cxx, Source/cmCMakeMinimumRequired.h, Source/cmCMakePolicyCommand.h, Source/cmConfigureFileCommand.cxx, Source/cmFindBase.cxx, Source/cmListFileCache.cxx, Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx, Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmake.cxx, Tests/MakeClean/ToClean/CMakeLists.txt, Tests/Preprocess/CMakeLists.txt: ENH: Improve handling of old-style compatibility. - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies 2008-03-07 14:03 hoffman * Utilities/Release/: create-cmake-release.cmake, dashmacmini2_release.cmake, magrathea_release.cmake, release_cmake.sh.in: ENH: qtgui stuff 2008-03-07 11:50 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Use fixed pitch font in output window. 2008-03-07 11:43 martink * Source/: cmCMakeMinimumRequired.cxx, cmCacheManager.h, cmListFileCache.cxx, cmPolicies.cxx, cmake.cxx: ENH: clean up some policy stuff and interactions with CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED 2008-03-07 11:06 hoffman * Source/CPack/: cmCPackCygwinBinaryGenerator.cxx, cmCPackGenerator.cxx: ENH: fix crash in cygwin package stuff 2008-03-07 09:41 martink * Source/cmListFileCache.cxx: STYLE: fix line length issue 2008-03-07 09:09 king * Source/cmMakefile.cxx: BUG: Do not produce whitespace-only lines when indenting messages in new error/warning format. 2008-03-07 08:53 king * Source/cmCoreTryCompile.cxx: BUG: Generated try-compile CMakeLists.txt file should call cmake_policy with the current version of CMake, not just 2.6. 2008-03-07 08:40 king * Source/: cmAddCustomTargetCommand.cxx, cmExecutionStatus.h, cmFunctionCommand.cxx, cmListFileCache.cxx, cmListFileCache.h, cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx: ENH: New format for warning and error messages - Add cmMakefile methods IssueError and IssueWarning - Maintain an explicit call stack in cmMakefile - Include context/call-stack info in messages - Nested errors now unwind the call stack - Use new mechanism for policy warnings and errors - Improve policy error message - Include cmExecutionStatus pointer in call stack so that errors deeper in the C++ stack under a command invocation will become errors for the command 2008-03-07 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-06 16:03 martink * Source/cmListFileCache.cxx: BUG: keep CMAKE_BACKWARDS_COMP as internal 2008-03-06 15:51 martink * Source/cmListFileCache.cxx: BUG: make default CMAKE_BACKWARDS_COMPATIBILITY 2.5 2008-03-06 15:20 hoffman * Source/cmCoreTryCompile.cxx: ENH: make sure policy is set in generated cmakelist files 2008-03-06 15:08 martink * Source/: cmConfigureFileCommand.cxx, cmListFileCache.cxx, cmPolicies.cxx: BUG: change in handling of cmake_minimum_required 2008-03-06 11:34 hoffman * Source/cmDocumentationFormatterHTML.cxx: STYLE: fix line length 2008-03-06 10:57 martink * Source/: cmCMakeMinimumRequired.cxx, cmConfigureFileCommand.cxx, cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx, cmPolicies.cxx: BUG: change the handling of CMAKE_MINIMUM_REQUIRED and BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit 2008-03-06 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-05 18:42 king * Source/cmPolicies.cxx: ENH: Fix policy warning message to not give wrong code as example. 2008-03-05 18:21 king * Source/: cmCMakePolicyCommand.cxx, cmCMakePolicyCommand.h, cmMakefile.cxx, cmMakefile.h: ENH: Improve cmake_policy command signature - Replace NEW and OLD modes with a SET mode for clarity - Enforce VERSION argument validity (major.minor[.patch]) 2008-03-05 18:20 king * Source/cmPolicies.cxx: BUG: Require policy version to specify at least major.minor. Do not store CMAKE_BACKWARDS_COMPATIBILITY with an invalid version value. 2008-03-05 17:26 king * Source/cmPolicies.cxx: BUG: Fix parsing of policy version number in cmPolicies. 2008-03-05 15:55 king * Modules/CMakeFortranCompiler.cmake.in: ENH: Patch from Maik to add more fortran extensions. 2008-03-05 12:53 clinton * Modules/FindQt4.cmake: ENH: Allow users to recover from trying to use an improperly installed Qt without removing their cache, fixing their environment and trying again. 2008-03-05 11:41 martink * Source/: cmConfigureFileCommand.cxx, cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h: BUG: some fixes, still a few to go 2008-03-05 11:05 hoffman * Source/: cmDocumentation.cxx, cmDocumentationFormatter.h, cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h: ENH: add master index into html full help 2008-03-05 03:11 ewing * Modules/FindOpenAL.cmake: BUG: Fixed PATH_SUFFIXES copy/paste bug (0006201) 2008-03-05 00:00 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-04 18:57 king * Source/cmMakefile.cxx: BUG: Make sure at least one policy stack entry is created for every cmMakefile instance. 2008-03-04 18:42 king * Source/: cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h: ENH: Make CMAKE_MINIMUM_REQUIRED command FATAL_ERROR option implicit (always on). Accept but ignore the existing option. 2008-03-04 18:41 king * Source/: cmGlobalGenerator.cxx, cmIncludeDirectoryCommand.cxx: BUG: Fix crash when CMAKE_BACKWARDS_COMPATIBILITY is not set. 2008-03-04 14:51 martink * Source/: cmCMakeMinimumRequired.cxx, cmPolicies.cxx, cmake.cxx: ENH: more policy changes 2008-03-04 13:51 king * Source/cmTarget.cxx: BUG: Fix memory leak when cmTarget instances are assigned. We really need to get rid of global targets and their associated assignments. 2008-03-04 13:34 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: STYLE: fix line len 2008-03-04 09:40 king * Source/cmDocumentVariables.cxx: BUG: Fix typo in documentation of LIBRARY_OUTPUT_PATH. 2008-03-04 09:16 martink * Source/: cmDocumentation.cxx, cmDocumentation.h, cmDocumentationFormatter.h, cmPolicies.cxx, cmPolicies.h, cmake.cxx, cmake.h, cmakemain.cxx: ENH: add --help-policies and --help-policy command line options 2008-03-04 09:10 martink * CMakeLists.txt: BUG: undo accidental commit 2008-03-04 08:18 david.cole * Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/GetPrerequisitesTest.cmake.in, Modules/GetPrerequisites.cmake: ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results. 2008-03-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-03 20:31 king * Modules/UsewxWidgets.cmake: STYLE: Remove trailing whitespace. 2008-03-03 20:24 king * Modules/CMakeASMInformation.cmake: STYLE: Remove trailing whitespace. 2008-03-03 15:56 king * Modules/Use_wxWindows.cmake: STYLE: Remove trailing whitespace. 2008-03-03 11:57 king * Modules/VTKCompatibility.cmake: STYLE: Remove trailing whitespace. 2008-03-03 11:28 hoffman * Source/cmAddCustomTargetCommand.cxx: ENH: fix ICE with gcc in dash8 2008-03-03 11:18 king * Modules/CMakeForceCompiler.cmake: STYLE: Fixed docs of new CMakeForceCompiler 2008-03-03 11:16 king * Modules/CMakeForceCompiler.cmake: ENH: Restore CMAKE_FORCE_C_COMPILER and CMAKE_FORCE_CXX_COMPILER macros in CMakeForceCompiler module. 2008-03-03 08:48 king * Source/cmELF.cxx: COMP: Fix cmELF to build when ET_LOOS, ET_HIOS, ET_LOPROC, ET_HIPROC may not be defined. 2008-03-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-02 16:48 king * Source/cmInstallTargetGenerator.cxx: ENH: During installation do not use builtin chrpath if the rpath will not change. 2008-03-02 16:37 king * Source/cmTarget.cxx: ENH: Allow users to work around problems with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH. 2008-03-02 16:31 king * Source/cmELF.cxx: BUG: Fix bug introduced by workaround to warning. 2008-03-02 16:19 king * Source/: cmELF.cxx, cmELF.h: BUG: A few more corrections for cmELF - Add os-specific and processor-specific file types - Add more error strings for invalid files. - Byte order of header fields does not always match encoding 2008-03-02 16:19 king * Source/cmSystemTools.cxx: ENH: In cmSystemTools::ChangeRPath check for the RUNPATH if RPATH does not exist. 2008-03-02 14:35 king * Source/: cmComputeLinkInformation.cxx, cmFileCommand.cxx, cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx: ENH: Cleanup builtin chrpath support - Move computation of extended build-tree rpath to cmComputeLinkInformation - Only enable the extended build-tree rpath if the target will be installed - Generalize the interface of file(CHRPATH) - When changing the rpath on installation only replace the part generated by CMake because the native tools (ex SunCC on Linux) might have added their own part to the rpath 2008-03-02 14:35 king * CMakeLists.txt: ENH: Simplify tests for building CMake itself with rpath support now that 2.4 is required to build. 2008-03-02 09:12 martink * Source/cmPolicies.h: COMP: possible fix for VS6, but probably not, probably need tomake it internal 2008-03-02 09:11 martink * Source/cmMakefile.cxx: COMP: fix warning 2008-03-02 09:03 martink * Source/: cmPolicies.cxx, cmPolicies.h: ENH: revert dumb change 2008-03-02 08:36 martink * Source/: cmAddCustomTargetCommand.cxx, cmPolicies.cxx, cmPolicies.h: COMP: fix compile errors on vs6 and a warning 2008-03-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-03-01 16:21 martink * Source/cmMakefile.cxx: BUG: bad loop index unsigned compared to zero 2008-03-01 15:44 martink * Source/: cmAddCustomTargetCommand.cxx, cmMakefile.cxx: COMP: fix some warnings 2008-03-01 15:26 martink * Source/: cmPolicies.cxx, cmPolicies.h: STYLE: fix some line lengths 2008-03-01 15:20 martink * CMakeLists.txt, bootstrap, Source/CMakeLists.txt, Source/cmAddCustomTargetCommand.cxx, Source/cmBootstrapCommands.cxx, Source/cmCommand.h, Source/cmIncludeDirectoryCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx, Source/cmake.h: ENH: add first cut and policies still need to add the doc support 2008-03-01 15:16 king * Source/cmSystemTools.cxx: COMP: Fix unused parameter warning when cmSystemTools::ChangeRPath is built without ELF support. 2008-03-01 13:17 king * Source/cmSystemTools.cxx: BUG: Fix cmSystemTools::ChangeRPath to not complain if there is no RPATH entry in the file but the requested new rpath is empty. 2008-03-01 13:02 king * Source/cmTarget.cxx: BUG: Do not try to change the RPATH when installing a target if CMAKE_SKIP_RPATH is on or the path does not need to be changed. 2008-03-01 12:51 king * Modules/CMakeFindBinUtils.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: Use builtin chrpath instead of relinking ELF targets - Add cmSystemTools::ChangeRPath method - Add undocumented file(CHRPATH) command - When installing use file(CHRPATH) to change the rpath instead of relinking - Remove CMAKE_CHRPATH lookup from CMakeFindBinUtils - Remove CMAKE_USE_CHRPATH option since this should always work 2008-03-01 12:50 king * Source/: cmELF.cxx, cmELF.h: ENH: Add Size member to cmELF::StringEntry to return the amount of space in the string entry. 2008-03-01 10:56 king * Tests/Preprocess/CMakeLists.txt: BUG: Fix typo XCode -> Xcode in Preprocess test. 2008-03-01 09:08 king * Tests/Preprocess/CMakeLists.txt: ENH: Update Preprocess test to distinguish between the make tool or compiler tool that is at fault for not supporting a particular character in definitions. Make it skip the % character when the compiler is MSVC and it is a non-nmake tool. 2008-03-01 09:08 king * Modules/Platform/Windows-cl.cmake, Source/cmLocalGenerator.cxx: BUG: Do not place $(CMAKE_COMMAND) in link scripts. 2008-03-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-29 21:33 hoffman * Source/: cmIfCommand.cxx, cmWhileCommand.cxx: ENH: fix warnings 2008-02-29 21:33 hoffman * Source/cmSetSourceFilesPropertiesCommand.h: ENH: fix docs 2008-02-29 15:42 martink * Source/cmCMakePolicyCommand.cxx: ENH: just getting somethng checked in, still work to do 2008-02-29 15:41 martink * Source/cmCmakePolicyCOmmand.cxx: ENH: case 2008-02-29 15:28 martink * Source/: cmCMakePolicyCommand.h, cmCmakePolicyCOmmand.cxx, cmPolicies.cxx, cmPolicies.h: ENH: just getting somethng checked in, still work to do 2008-02-29 14:58 hoffman * Modules/DartConfiguration.tcl.in, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestSubmitHandler.h: ENH: allow cdash not to trigger 2008-02-29 14:36 hoffman * Modules/InstallRequiredSystemLibraries.cmake: ENH: add vs9 stuff, still need msvc9 mfc 2008-02-29 12:18 hoffman * Source/: cmForEachCommand.cxx, cmFunctionCommand.cxx, cmIfCommand.cxx, cmMacroCommand.cxx, cmMakefile.cxx, cmWhileCommand.cxx: ENH: make CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS the default and remove the property. If any value is specified in an endif, endforeach, endwhile, etc then make sure it matches the start string. If no values are given then it is no longer an error. 2008-02-29 11:12 king * Source/: cmELF.cxx, cmELF.h: ENH: Make cmELF parser more general and powerful - Add support to get RPATH and RUNPATH entries. - Add support to get file offsets to strings. - Add more DT_* tags to byte swapping. 2008-02-29 09:15 king * Source/cmComputeLinkInformation.cxx: BUG: cmComputeLinkInformation::CheckImplicitDirItem needs to extract the filename portion of the link item to test against the library regex. 2008-02-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-28 08:43 king * Source/cmELF.cxx: COMP: cmELF needs to include sys/link.h to get dynamic section structures on the Sun. 2008-02-28 08:32 king * Source/cmELF.cxx: COMP: Fix warnings in cmELF. 2008-02-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-27 17:10 king * Modules/Platform/Windows-ifort.cmake, Modules/Platform/cl.cmake, Source/cmDocumentVariables.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h: ENH: Handle large object file lists on some platforms - Use a response file when enabled by CMAKE__USE_RESPONSE_FILE_FOR_OBJECTS - Enable for C and CXX with cl (MSVC) - Enable for Fortran with ifort (Intel Fortran) 2008-02-27 16:26 king * Source/: CMakeLists.txt, cmConfigure.cmake.h.in, cmELF.cxx, cmELF.h, cmSystemTools.cxx: ENH: Add ELF file parsing - Enabled when system provides elf.h - Introduce cmELF class to parse ELF files - Use in cmSystemTools::GuessLibrarySOName to really get soname 2008-02-27 16:11 king * Source/kwsys/CPU.h.in: BUG: Fixed typo in previous commit of kwsys/CPU.h.in 2008-02-27 16:07 king * Source/kwsys/: CMakeLists.txt, CPU.h.in: ENH: Added CPU.h to KWSys to identify the target CPU and its byte order. 2008-02-27 14:31 king * Modules/Platform/: HP-UX.cmake, IRIX64.cmake, Linux-PGI-C.cmake, Linux-PGI-CXX.cmake, SunOS.cmake, Windows-bcc32.cmake, gcc.cmake: BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules. 2008-02-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-25 18:47 king * Modules/CMakeCCompilerId.c.in: ENH: Add support to C compiler identification for void return type from main. Cross-compilers for embedded platforms may require it. 2008-02-25 15:07 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Adjust when log is cleared. Its kept doing generate, and cleared when changing the source directory. #6358. 2008-02-25 14:23 alex * Modules/CPackRPM.cmake: BUG: fix rpmbuild bug, which expands variables in comments :-/ apparently rpmbuild can't handle paths with spaces and can't handle variables in comments... Alex 2008-02-25 10:17 david.cole * CTestCustom.cmake.in: BUG: Exclude try_compile sources and kwsys files from CMake coverage results. 2008-02-25 09:23 king * Modules/: CMakeCCompilerId.c, CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp, CMakeCXXCompilerId.cpp.in, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineCompilerId.cmake, CMakeDetermineFortranCompiler.cmake, CMakeFortranCompilerId.F90, CMakeFortranCompilerId.F90.in, CMakePlatformId.h, CMakePlatformId.h.in: ENH: Improvied compiler identification robustness - Write a single source file into the compiler id directory - This avoid requiring the compiler to behave correctly with respect to include rules and the current working directory - Helps to identify cross-compiling toolchains with unusual default behavior 2008-02-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-24 14:05 king * Modules/Platform/Windows-bcc32.cmake, Source/cmMakefileTargetGenerator.cxx: ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method. 2008-02-24 14:05 king * Source/: cmComputeLinkDepends.cxx, cmExportFileGenerator.cxx, cmStandardIncludes.h, cmTarget.cxx: COMP: Fix Borland 5.5 build - Its header includes windows.h which defines GetCurrentDirectory - It defines 'interface' so we cannot use it as a variable name. 2008-02-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-22 09:44 king * Source/cmOrderDirectories.cxx: COMP: Fix unreachable code warning in cmOrderDirectories. 2008-02-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-21 13:59 king * Source/cmOrderDirectories.cxx: COMP: Remove unused local variable from cmOrderDirectories. 2008-02-21 13:58 king * Source/: cmComputeLinkInformation.cxx, cmOrderDirectories.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Improve linking to third-party shared libraries on soname platforms - Reduce false positives in cases of unknown soname - Make library extension regular expressions match only at end of string - When linking to libraries in implicit dirs convert to the -l option only if the file name is one that can be found by the linker (ex. /usr/lib/libfoo.so.1 should be linked by full path) - Add cmSystemTools::GuessLibrarySOName to guess the soname of a library based on presence of a symlink - In cmComputeLinkInformation try to guess an soname before assuming that a third-party library is built without an soname - In cmOrderDirectories guess the soname of shared libraries in cases it is otherwise unknown 2008-02-21 11:41 king * bootstrap, Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/Linux.cmake, Modules/Platform/QNX.cmake, Modules/Platform/SunOS.cmake, Source/CMakeLists.txt, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmOrderDirectories.cxx, Source/cmOrderDirectories.h, Source/cmOrderRuntimeDirectories.cxx, Source/cmOrderRuntimeDirectories.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: Better linker search path computation. - Use linker search path -L.. -lfoo for lib w/out soname when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME - Rename cmOrderRuntimeDirectories to cmOrderDirectories and generalize it for both soname constraints and link library constraints - Use cmOrderDirectories to order -L directories based on all needed constraints - Avoid processing implicit link directories - For CMAKE_OLD_LINK_PATHS add constraints from libs producing them to produce old ordering 2008-02-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-20 14:56 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule. 2008-02-20 13:36 king * Source/: cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h: ENH: Deprecate export_library_dependencies - Reference export() and install(EXPORT) - Fix to support OUTPUT_NAME in simple cases 2008-02-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-19 18:50 ibanez * Source/kwsys/testSystemInformation.cxx: ENH: Missing copyright header. 2008-02-19 16:34 alex * Source/cmExtraEclipseCDT4Generator.cxx: STYLE: patch part 3 from Miguel: follow naming style for variables Alex 2008-02-19 16:27 alex * Source/: cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h: ENH: patch from Miguel part 2: if ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT is true, then the generator additionally generates eclipse project files in the source dir, since this is the only way to get cvs/svn working with eclipse This is off by default and the user has to enable it explicitely. If cmake can't write there it still continues. Alex 2008-02-19 15:07 alex * Source/: cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h: ENH: patch part 1 from Miguel: use the cmake project name for the eclipse project name Alex 2008-02-19 14:47 hoffman * Source/QtDialog/MacInstallDialog.ui: ENH: better ui 2008-02-19 14:33 alex * Source/: CMakeLists.txt, cmDocumentation.cxx, cmDocumentation.h, cmDocumentationFormatter.h, cmDocumentationFormatterDocbook.cxx, cmDocumentationFormatterDocbook.h, cmDocumentationFormatterHTML.cxx, cmakemain.cxx: ENH: add support for creating the documentation in docbook format (http://www.oasis-open.org/docbook/xml/4.2/), which users can then convert to other formats. Tested with meinproc from KDE, which generates HTML pages which look good. Alex 2008-02-19 14:26 hoffman * Source/: CPack/cmCPackPackageMakerGenerator.cxx, CPack/cmCPackPackageMakerGenerator.h, QtDialog/CMakeLists.txt, QtDialog/QtDialogCPack.cmake.in, QtDialog/postflight.sh.in, QtDialog/postupgrade.sh.in: ENH: install working with symlink qt tool 2008-02-19 14:06 hoffman * Source/QtDialog/: CMakeLists.txt, CMakeSetup.cxx, MacInstallDialog.ui, QMacInstallDialog.cxx, QMacInstallDialog.h: ENH: add mac install symlink option to dialog 2008-02-19 09:09 king * Source/cmTarget.cxx: COMP: Fix HP warning about cmTargetInternalPointer::operator= checking for self-assignment. 2008-02-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-18 16:38 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileExecutableTargetGenerator.h, cmMakefileLibraryTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.h, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h, cmMakefileUtilityTargetGenerator.cxx, cmMakefileUtilityTargetGenerator.h, cmSourceFile.cxx, cmTarget.cxx, cmTarget.h: ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE properties 2008-02-18 15:50 hoffman * CMakeCPackOptions.cmake.in, CMakeLists.txt: ENH: install seems to be working for cmake-gui 2008-02-18 15:42 hoffman * Source/cmFileCommand.cxx: ENH: add more information to message 2008-02-18 14:51 hoffman * Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake: ENH: make sure fixup has right paths 2008-02-18 13:11 hoffman * Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake: STYLE: use lowercase 2008-02-18 13:03 hoffman * Source/: cmConfigure.cmake.h.in, cmake.cxx: ENH: remove CMAKE_PREFIX so changing it does not rebuild all 2008-02-18 12:01 king * Modules/Platform/HP-UX.cmake: BUG: Fix passing of nodefaultrpath flag to linker through c++ compiler. 2008-02-18 11:10 hoffman * CMakeLists.txt: ENH: require 2.4 to build cmake 2008-02-18 10:26 hoffman * Modules/CMakeIngestOSXBundleLibraries.cmake, Source/CPack/cmCPackGenerator.cxx, Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake, Source/QtDialog/CMakeLists.txt: ENH: have cpack work with DESTDIR install and ingest qt framework libs into cmake-gui 2008-02-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-17 17:40 hoffman * Modules/CheckIncludeFiles.cmake: BUG: fix double cmakefiles directory 2008-02-17 14:04 alex * Source/cmDocumentation.cxx: BUG: actually print the docs for custom modules if this was requested Alex 2008-02-17 12:31 alex * Source/cmDocumentationFormatterHTML.cxx: PERF: reduce time for full docs as HTML from 1.4 s to 0.2 s, the map is now created and filled only once instead for every character I guess a simple case-switch would be still faster. Alex 2008-02-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-16 16:33 hoffman * Modules/CMakeIngestOSXBundleLibraries.cmake: ENH: add script to ingest library depends into a bundle 2008-02-16 13:05 hoffman * CMakeLists.txt, bootstrap, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmInstallProgramsCommand.cxx, Source/QtDialog/CMakeLists.txt, Source/QtDialog/QCMake.cxx, Source/QtDialog/QtDialogCPack.cmake.in: ENH: support for cpack and install of cmake-gui as mac app bundle 2008-02-16 13:02 hoffman * Source/CPack/cmCPackGenerator.cxx: ENH: fix DESTDIR install 2008-02-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-15 18:26 alex * Modules/FindPythonLibs.cmake: STYLE: use global property instead of helper target to collect all python modules from a source tree Alex 2008-02-15 15:36 clinton * Source/QtDialog/QCMake.cxx: ENH: remove unused code. 2008-02-15 12:12 hoffman * Source/QtDialog/QCMake.cxx: ENH: use package name on mac for edit cache 2008-02-15 11:56 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories. 2008-02-15 11:49 david.cole * Source/cmCallVisualStudioMacro.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalVisualStudio9Generator.cxx, Source/cmGlobalVisualStudio9Generator.h, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmGlobalVisualStudioGenerator.h, Templates/CMakeVSMacros2.vsmacros: ENH: Add code to support calling the VS reload macro from Visual Studio 7.1 and 9.0 in addition to 8.0 sp1... Make new macros file with VS 7.1 so that it can be read by 7.1 and later. VS 7.1 does not appear to run the macros while a build is in progress, but does not return any errors either, so for now, the reload macro is not called when using 7.1. If I can figure out how to get 7.1 to execute the macro, I will uncomment the code in cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to activate executing the macros in VS 7.1, too. 2008-02-15 11:22 king * Modules/Platform/Darwin.cmake, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmSetPropertyCommand.cxx, Source/cmSetSourceFilesPropertiesCommand.cxx, Source/cmSourceFile.cxx: ENH: Cleanup building of OS X bundle content - Fixes repeated rebuild of bundles by Makefile generators - Add special rules to copy sources to their MACOSX_PACKAGE_LOCATION bundle directory - Remove MacOSX_Content language hack - Remove EXTRA_CONTENT property - Remove MACOSX_CONTENT - Remove corresponding special cases in object names 2008-02-15 10:40 hoffman * Source/CPack/cmCPackNSISGenerator.cxx: BUG: fix for bug 6294, correct url for nsis 2008-02-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-14 20:18 alex * Source/cmExtraEclipseCDT4Generator.cxx: ENH: enable color in the eclipse generator, there doesn't seem to be problems Alex 2008-02-14 19:58 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Convert native paths from QFileDialog and QDirModel/QCompleter. BUG: Block possible completion loop. 2008-02-14 18:18 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMakeCacheView.cxx: ENH: Add shortcut to start search/filter. A bit of cleanup. Disable tab navigation in cache variable list. Enable home/end keys. BUG: Ensure currently edited values are saved before doing configure. 2008-02-14 16:42 king * Source/: cmAddCustomTargetCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmMakefile.cxx, cmMakefile.h, cmake.cxx: ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348. 2008-02-14 15:31 king * Modules/MacOSXBundleInfo.plist.in, Modules/MacOSXFrameworkInfo.plist.in, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx: ENH: Allow multiple OS X applications bundles to be created in a single build directory. Converted Info.plist files to be generated directly instead of configured with make variables. The MACOSX_BUNDLE_* variables are now properties (and vars for compatibility). 2008-02-14 15:06 hoffman * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: ENH: make sure html < > & stuff is escaped for the output window 2008-02-14 13:36 king * Modules/CTestTargets.cmake, Source/cmDefinePropertyCommand.cxx, Source/cmDefinePropertyCommand.h, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/Properties/CMakeLists.txt: ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures. 2008-02-14 11:58 king * Modules/CTestTargets.cmake, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmMakefile.cxx: ENH: Re-enable diagnosis of non-unique target names. - Re-enable enforcement in cmMakefile::EnforceUniqueName - Improve error message to help user resolve the problem - Fix Modules/CTestTargets.cmake to not duplicate testing targets - Move commands used by the changes to Modules/CTestTargets.cmake to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY 2008-02-14 10:50 king * Modules/: CMakeForceCompiler.cmake, CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable. 2008-02-14 09:14 hoffman * Source/QtDialog/CMakeSetupDialog.cxx: ENH: add a check before delete cache 2008-02-14 08:55 hoffman * Source/QtDialog/QCMake.cxx: ENH: do not show unititialized entries 2008-02-14 01:11 clinton * Modules/FindQt4.cmake: BUG: Fix error when paths have + in them. (special regex characters) 2008-02-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-13 17:00 barre * Modules/FindTCL.cmake: ENH: fix advanced bug 2008-02-13 15:29 king * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG: Update cmComputeLinkDepends to support leading/trailing whitespace stripping off link items for compatibility. 2008-02-13 14:47 king * bootstrap, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx: ENH: Add option to bootstrap script to enable Qt dialog. - Add --qt-gui and --no-qt-gui options - Add --qt-qmake= option to help locate Qt - Build more commands during bootstrap to help FindQt4.cmake: MATH, GET_DIRECTORY_PROPERTY, EXECUTE_PROCESS, SEPARATE_ARGUMENTS - Bootstrapping with the cmake-gui is now possible in MSys 2008-02-13 14:35 king * Modules/FindQt4.cmake: BUG: Fix FindQt4.cmake QT4_CREATE_MOC_COMMAND macro to work with spaces in the path while using the @ syntax on MSYS builds. 2008-02-13 13:58 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, QCMakeCacheView.cxx: ENH: Remove CurrentChanged from the table view's edit triggers. It results in editor issues when modifying the view. Remove workarounds for some of those issues. 2008-02-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-12 17:22 hoffman * Source/QtDialog/CMakeLists.txt: ENH: do not expand regular vars here 2008-02-12 10:19 king * Source/cmMakefile.cxx: BUG: Disable enforcement of unique target names until CTestTargets can be fixed. 2008-02-12 09:49 hoffman * Source/: cmake.cxx, cmake.h, CursesDialog/cmCursesMainForm.cxx, QtDialog/CMakeSetup.cxx, QtDialog/QCMake.cxx: ENH: fix make edit_cache for cmake-gui 2008-02-12 09:18 king * Source/cmExportLibraryDependencies.cxx: STYLE: Fix line-too-long in cmExportLibraryDependencies. 2008-02-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-11 20:13 king * Source/cmDocumentVariables.cxx: ENH: Update documentation of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to reference their replacements. 2008-02-11 17:33 king * Source/: cmAddCustomTargetCommand.cxx, cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx: COMP: Fix shadowed local variable warning. 2008-02-11 17:01 king * Modules/Platform/eCos.cmake: ENH: Fix eCos.cmake to not require a forced compiler - Search for libtarget.a explicitly - Do not complain about compiler id during try-compile 2008-02-11 17:00 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineFortranCompiler.cmake: ENH: When detecting the compiler id try compiling only to an object file. 2008-02-11 17:00 king * Source/cmFindLibraryCommand.cxx: BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set. 2008-02-11 17:00 king * Source/cmake.cxx: ENH: Add global computed property IN_TRY_COMPILE. 2008-02-11 15:31 king * Modules/Platform/HP-UX.cmake: ENH: Remove CMAKE_ANSI_CFLAGS variable and instead always add ansi flags to CMAKE_C_COMPILE_OBJECT. We should not require every project to reference CMAKE_ANSI_CFLAGS. 2008-02-11 13:35 king * Source/: cmAddCustomTargetCommand.cxx, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmMakefile.cxx, cmMakefile.h, cmTarget.cxx: ENH: Enforce global target name uniqueness. - Error if imported target is involved in conflict - Error for non-imported target conflict unless CMAKE_BACKWARDS_COMPATIBILITY <= 2.4 - Include OUTPUT_NAME property in error message - Update add_executable and add_library command documentation 2008-02-11 13:35 king * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add cmMakefile::NeedBackwardsCompatibility method to pass through to cmLocalGenerator::NeedBackwardsCompatibility for convenience. 2008-02-11 10:31 king * Source/cmExportLibraryDependencies.cxx: BUG: Fix export_library_dependencies command to produce a file that is compatible with CMake 2.4. 2008-02-11 10:31 king * Source/cmComputeLinkDepends.cxx: BUG: Fix cmComputeLinkDepends::AddVarLinkEntries - Track link type correctly - Use _LINK_TYPE variables exported by CMake 2.4 2008-02-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-10 17:19 alex * Source/cmIfCommand.h: STYLE: document that if(COMMAND) works also for macros and functions Alex 2008-02-10 11:37 king * Source/cmFindLibraryCommand.cxx: BUG: Fix recent find_library change to look for user-specified name first to do so only if the name matches a valid library extension. 2008-02-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-09 10:05 hoffman * Utilities/Release/vogon_release.cmake: ENH: build the qt gui 2008-02-09 09:53 hoffman * CMakeCPack.cmake, CMakeCPackOptions.cmake.in, Source/QtDialog/CMakeLists.txt, Source/QtDialog/QtDialogCPack.cmake.in: ENH: make it so cmake-gui only installs if qt is static on windows 2008-02-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-08 13:47 clinton * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Make sure editor closes when deleting cache entries. 2008-02-08 12:01 clinton * Modules/FindQt4.cmake: ENH: Better way to have escaping done correctly for all generators. 2008-02-08 11:26 clinton * Source/QtDialog/QCMake.cxx: ENH: Need to pick up the PreLoad.cmake files. 2008-02-08 10:42 clinton * Source/QtDialog/: CMakeSetup.cxx, QCMakeCacheView.cxx: COMP: Fix build with Qt 4.2. BUG: Fix new editors stealing focus while typing search text. ENH: Look for translation in data dir, not bin dir. 2008-02-08 09:24 king * Tests/Dependency/CMakeLists.txt: BUG: Need ANSI C. 2008-02-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-07 23:26 clinton * Modules/FindQt4.cmake: BUG: Fix arg for moc parameter file so it works with unix makefiles, when the build dir has a space in it. 2008-02-07 18:24 alex * Source/cmExtraEclipseCDT4Generator.cxx: patch from Miguel BUG: fix #5496: eclipse can't load projects where the build dir is a subdir of the src dir Alex 2008-02-07 17:58 clinton * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Show cache variable name in title of file dialogs. 2008-02-07 16:49 king * Source/: cmGlobalXCodeGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx: ENH: Avoid computing link information for static library targets. They do not link. 2008-02-07 16:26 alex * Source/cmExtraEclipseCDT4Generator.cxx: two patches from Miguel: BUG: fix #5819: put compile definitions into the eclipse project files so eclipse handles ifdef blcoks correctly STYLE: make the code for filtering some global targets out nicer Alex 2008-02-07 16:24 king * Source/cmComputeLinkDepends.cxx: COMP: Add missing assert include. 2008-02-07 16:22 alex * Source/cmInstallCommand.cxx: STYLE: add some comments Alex 2008-02-07 16:14 king * Tests/Dependency/Case2/: CMakeLists.txt, foo1.c, foo1b.c, foo2b.c, foo3.c, foo3b.c: ENH: Make Dependency test Case2 require two traversals of a static library loop. 2008-02-07 16:14 king * bootstrap, Source/CMakeLists.txt, Source/cmComputeComponentGraph.cxx, Source/cmComputeComponentGraph.h, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeTargetDepends.cxx, Source/cmComputeTargetDepends.h, Source/cmGraphAdjacencyList.h: ENH: Improve link line generation for static library cycles. - Move Tarjan algorithm from cmComputeTargetDepends into its own class cmComputeComponentGraph - Use cmComputeComponentGraph to identify the component DAG of link dependencies in cmComputeLinkDepends - Emit non-trivial component members more than once but always in a contiguous group on the link line 2008-02-07 13:26 hoffman * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: make sure files are binary for download and make status a pair of value string 2008-02-07 13:19 hoffman * Modules/FindPkgConfig.cmake: BUG: fix for bug 6117 pkgconfig 2008-02-07 11:43 hoffman * CMakeCPackOptions.cmake.in, Source/QtDialog/CMakeLists.txt: ENH: for windows only allow a static qt for install and NSIS of cmake-gui 2008-02-07 08:55 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: complex must link to curl now 2008-02-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-06 20:14 king * Source/cmComputeLinkInformation.cxx: BUG: Fix cmComputeLinkInformation to include the target's user link directories in the runtime path computation. This bug was introduced when cmOrderRuntimeDirectories was introduced. 2008-02-06 17:02 alex * Modules/FindPackageHandleStandardArgs.cmake: STYLE: use a function instead of a macro, to keep FAIL_MESSAGE local patch from Miguel Alex 2008-02-06 15:26 king * Source/cmFindLibraryCommand.cxx: ENH: Make find_library test for the library file as named before trying prefixes and suffixes. This will allow users to explicitly search for static libraries on unix. See bug #1643. 2008-02-06 15:23 king * Source/cmTargetLinkLibrariesCommand.h: STYLE: Improve documentation of target_link_libraries command to make target-level dependency explicit. See bug #6043. 2008-02-06 15:10 clinton * Source/QtDialog/CMakeSetup.cxx: ENH: Update some strings to match program name. 2008-02-06 14:52 king * Tests/: CMakeLists.txt, Dependency/CMakeLists.txt, Dependency/Case1/CMakeLists.txt, Dependency/Case1/a.c, Dependency/Case1/b.c, Dependency/Case1/b2.c, Dependency/Case1/c.c, Dependency/Case1/c2.c, Dependency/Case1/d.c, Dependency/Case1/main.c, Dependency/Case2/CMakeLists.txt, Dependency/Case2/bar1.c, Dependency/Case2/bar2.c, Dependency/Case2/bar3.c, Dependency/Case2/foo1.c, Dependency/Case2/foo2.c, Dependency/Case2/foo3.c, Dependency/Case2/zot.c: ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases. 2008-02-06 14:45 clinton * Source/QtDialog/CMakeSetup.cxx: BUG: On Mac OS X, give the CMake library the correct path to the cmake exectuables. Fixes #6286. 2008-02-06 14:20 king * Source/cmExportBuildFileGenerator.cxx, Source/cmExportCommand.cxx, Source/cmExportInstallFileGenerator.cxx, Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Tests/ExportImport/Export/CMakeLists.txt: ENH: Improve exporting/importing of targets - Use real name instead of link for location of versioned targets - Error when a target is exported multiple times 2008-02-06 14:19 king * Source/cmTarget.cxx: BUG: Make sure linking to a shared lib on windows uses import library and not the new realname. 2008-02-06 14:06 king * Source/cmTarget.cxx: BUG: Do not create versioned executable names on Xcode where they are not supported. 2008-02-06 13:34 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h, cmTarget.cxx, cmTarget.h: ENH: When linking to versioned targets whose real file name is known pass the real name to the linker instead of the symlink name. 2008-02-06 09:46 hoffman * Source/cmFileCommand.cxx: ENH: remove debug print stuff 2008-02-06 09:35 hoffman * Source/: CMakeLists.txt, cmFileCommand.cxx, cmFileCommand.h: ENH: add DOWNLOAD option to FILE command 2008-02-06 09:17 hoffman * Source/QtDialog/CMakeLists.txt: ENH: change name of qt-dialog 2008-02-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-05 23:10 king * bootstrap, Source/CMakeLists.txt, Source/cmComputeTargetDepends.cxx, Source/cmComputeTargetDepends.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmake.cxx: ENH: Analyze inter-target dependencies to safely fix cycles - Cycles may be formed among static libraries - Native build system should not have cycles in target deps - Create cmComputeTargetDepends to analyze dependencies - Identify conneced components and use them to fix deps - Diagnose cycles containing non-STATIC targets - Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE - Use results in cmGlobalGenerator as target direct depends 2008-02-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-04 19:00 king * Source/cmInstallTargetGenerator.cxx: COMP: Add missing include for assert. 2008-02-04 17:03 king * Source/: cmInstallCommand.cxx, cmInstallCommand.h, cmInstallCommandArguments.cxx, cmInstallCommandArguments.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: Allow separate installation of shared libs and their links. - Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command - Options select a \"namelink\" mode - cmInstallTargetGenerator selects files/link based on mode - See bug #4419 2008-02-04 16:05 hoffman * Source/cmGlobalVisualStudio7Generator.cxx: ENH: make sure ALL_BUILD only shows up once 2008-02-04 15:22 king * Modules/Platform/AIX.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmake.cxx: BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a". 2008-02-04 10:04 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineFortranCompiler.cmake, CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: BUG: When configuring compiler information files into the CMakeFiles directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower. 2008-02-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-03 17:24 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineFortranCompiler.cmake, CMakeForceCompiler.cmake, CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: BUG: When forcing the C and CXX compilers do not try to detect the ABI information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297. 2008-02-03 08:58 king * Source/kwsys/IOStream.cxx: COMP: Avoid warning in kwsys IOStream.cxx when the helper functions are not needed. Define one public symbol to avoid complaints from archivers about empty object files. 2008-02-03 08:57 king * Tests/ExportImport/Export/: testExe1.c, testExe1lib.c, testLib1.c, testLib2.c: COMP: Convert C function prototypes to use (void) instead of (). 2008-02-03 08:57 king * Source/: cmCTest.cxx, cmCTest.h: BUG: cmCTest::GetConfigType should return the string by reference-to-const so that callers may use .c_str() safely. 2008-02-03 08:20 king * Source/kwsys/SystemInformation.cxx: COMP: Fix warning in SystemInformation.cxx about possibly incorrect assignment in if condition. 2008-02-03 08:14 king * Source/kwsys/SystemInformation.cxx: COMP: Fix unreachable code warning. Remove runtime test of constant information. 2008-02-03 08:07 king * Source/kwsys/hash_set.hxx.in: COMP: Remove inline keyword from forward declaration for VS9. 2008-02-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-02 16:18 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix infinite loop from size_t change 2008-02-02 08:58 king * Modules/Platform/: NetBSD.cmake, kFreeBSD.cmake: ENH: Enable dependent library search paths on more platforms - NetBSD needs dependent library paths in -rpath-link option. - kFreeBSD needs dependent library paths in -rpath-link option. 2008-02-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-02-01 16:17 martink * Tests/CMakeLists.txt: ENH: disable test for vs 70 as devenv randomly segfaults when building the sub-project 2008-02-01 16:05 martink * Source/cmGlobalGenerator.cxx: ENH: really Bill, using Ken's checkout, fix output in ctest so clean output in build and test is not lost, also display the command lines used 2008-02-01 14:35 king * Source/cmExportInstallFileGenerator.cxx: BUG: Fixed typo resulting in confusing error message from cmExportInstallFileGenerator. 2008-02-01 13:52 clinton * Modules/FindQt4.cmake: BUG: When preserving relative paths for moc generated files, also consider paths to headers in the build directory. 2008-02-01 13:18 david.cole * Source/kwsys/CMakeLists.txt: ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.135 -j1.136 Utilities/kwsys/CMakeLists.txt) 2008-02-01 13:08 king * Source/cmInstallTargetGenerator.cxx, Source/cmTarget.h, Tests/ExportImport/Export/CMakeLists.txt: BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator. - Motivation: - It depended on the order of installation - It supported only a single destination for each target - It created directory portions of an install name without user request - Updated ExportImport test to install targets in an order that expoed this bug 2008-02-01 12:35 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix warnings 2008-02-01 12:02 clinton * Modules/UseQt4.cmake: ENH: Use new COMPILE_DEFINITIONS_* with set_property to add Qt release/debug defines. 2008-02-01 11:48 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx: ENH: Show version number in window title. 2008-02-01 11:40 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix more warnings 2008-02-01 11:33 hoffman * Source/kwsys/: SystemInformation.cxx: ENH: fix more warnings 2008-02-01 11:30 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix some warnings and 64 bit build windows 2008-02-01 11:09 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix win64 build and a warning 2008-02-01 10:41 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx: ENH: Use translation file if it exists for the locale. Consolidate some strings. More responsive interrupting. Prompt user if they try to close during configure, and allow them to close. 2008-02-01 09:57 king * Tests/ExportImport/: CMakeLists.txt, Export/CMakeLists.txt: ENH: Update ExportImport test to enforce dependent library paths - Build without rpaths - Place implementation libs in separate directories 2008-02-01 09:57 king * Modules/Platform/: FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake, SunOS.cmake: ENH: Enable dependent library search paths on more platforms - HP-UX needs dependent library paths as -L options. - IRIX needs dependent library paths as -L options. - Sun needs dependent library paths as -L options. - FreeBSD needs dependent library paths in -rpath-link option. 2008-02-01 09:36 king * Tests/CMakeLists.txt: BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after. 2008-02-01 08:56 king * bootstrap, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Linux.cmake, Modules/Platform/QNX.cmake, Source/CMakeLists.txt, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx, Source/cmExportBuildFileGenerator.cxx, Source/cmExportBuildFileGenerator.h, Source/cmExportFileGenerator.cxx, Source/cmExportFileGenerator.h, Source/cmExportInstallFileGenerator.cxx, Source/cmExportInstallFileGenerator.h, Source/cmLocalGenerator.cxx, Source/cmOrderRuntimeDirectories.cxx, Source/cmOrderRuntimeDirectories.h, Source/cmTarget.cxx: ENH: Pass dependent library search path to linker on some platforms. - Move runtime path ordering out of cmComputeLinkInformation into its own class cmOrderRuntimeDirectories. - Create an instance of cmOrderRuntimeDirectories for runtime path ordering and another instance for dependent library path ordering. - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean. - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean. - Create variables to specify -rpath-link flags: CMAKE_SHARED_LIBRARY_RPATH_LINK__FLAG CMAKE_EXECUTABLE_RPATH_LINK__FLAG - Enable -rpath-link flag on Linux and QNX. - Documentation and error message updates 2008-02-01 08:55 king * Source/cmTarget.cxx: COMP: Fix shadowed local warning. 2008-02-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-31 21:33 hoffman * Source/kwsys/SystemInformation.cxx: ENH: try to fix hp and vs 6, again... 2008-01-31 16:38 hoffman * Source/: CTest/cmCTestUpdateHandler.cxx, cmGlobalVisualStudio7Generator.h: STYLE: line length 2008-01-31 16:37 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fixes for borland 2008-01-31 16:33 martink * Source/CTest/cmCTestTestHandler.cxx: BUG: minor fix for ctest 2008-01-31 16:10 hoffman * Source/cmCTest.cxx: ENH: remove extra junk 2008-01-31 15:45 king * Modules/Platform/Darwin.cmake, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx, Source/cmExportFileGenerator.cxx, Source/cmExportFileGenerator.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/ExportImport/Export/CMakeLists.txt: ENH: Support linking to shared libs with dependent libs - Split IMPORTED_LINK_LIBRARIES into two parts: IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_DEPENDENT_LIBRARIES - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior - Set mode to LINK for Darwin (fixes universal binary problem) - Update ExportImport test to account for changes 2008-01-31 15:34 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix for qnx, I hope, and fix indent stuff 2008-01-31 15:10 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix build errors with asm stuff on mingw and hopefully win64 2008-01-31 14:50 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix build for mingw 2008-01-31 14:34 hoffman * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in: ENH: split into implementation and interface class to clean up namespace issues with #define stuff 2008-01-31 13:23 martink * Modules/Dart.cmake: ENH: use ctest to drive dashboards for make targets as opposed to tclsh 2008-01-31 12:56 king * Source/kwsys/CMakeLists.txt: BUG: Need to install cstddef header. 2008-01-31 12:19 hoffman * Source/cmGlobalGenerator.cxx: ENH: remove a const cast 2008-01-31 11:43 martink * Source/: ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: read in old file formats Dart as well 2008-01-31 08:32 king * Source/kwsys/kwsysPlatformTestsCXX.cxx: STYLE: Work-around std:: check since this is a platform test. 2008-01-31 08:21 king * Source/kwsys/: String.hxx.in, SystemTools.hxx.in, kwsys_ios_sstream.h.in: STYLE: Remove references to std:: inside KWSys, even in comments. This will allow a commit check to be added. 2008-01-31 08:21 king * Source/kwsys/SystemInformation.cxx: COMP: Replace kwsys_stl:: with kwsys_ios:: for streams access. 2008-01-31 08:05 king * Source/: cmComputeLinkInformation.cxx, cmTarget.cxx: ENH: Add target property LINK_SEARCH_END_STATIC to help people building static binaries on some platforms. 2008-01-31 07:50 king * Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h: BUG: Move decision to switch library paths found in implicit link directories to use -l options from cmFindLibraryCommand to cmComputeLinkInformation. Existing projects may depend on find_library returning a full path. This slightly weakens cmComputeLinkInformation but is necessary for compatibility. 2008-01-31 06:51 king * Source/: cmExportFileGenerator.cxx, cmExportFileGenerator.h: COMP: Remove unused parameter. 2008-01-31 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-30 22:56 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: remove const 2008-01-30 21:40 hoffman * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in: COMP: use kwsys_stl and not std:: 2008-01-30 17:57 king * Source/cmExportFileGenerator.cxx: BUG: Fixed previous commit in cmExportFileGenerator to separate libraries correctly in the import link list. 2008-01-30 17:26 king * Tests/ExportImport/: CMakeLists.txt, Export/CMakeLists.txt, Export/testExe2lib.c, Export/testExe2libImp.c, Export/testLib3.c, Export/testLib3Imp.c, Import/imp_mod1.c: ENH: Updated ExportImport test to try LINK_INTERFACE_LIBRARIES. 2008-01-30 17:25 king * Source/: cmComputeLinkDepends.cxx, cmExportBuildFileGenerator.cxx, cmExportBuildFileGenerator.h, cmExportCommand.cxx, cmExportCommand.h, cmExportFileGenerator.cxx, cmExportFileGenerator.h, cmExportInstallFileGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Implemented link-interface specification feature. - Shared libs and executables with exports may now have explicit transitive link dependencies specified - Created LINK_INTERFACE_LIBRARIES and related properties - Exported targets get the interface libraries as their IMPORTED_LINK_LIBRARIES property. - The export() and install(EXPORT) commands now give an error when a linked target is not included since the user can change the interface libraries instead of adding the target. 2008-01-30 16:22 hoffman * Source/cmGlobalVisualStudio7Generator.cxx: ENH: make sure global targets are in the right projects 2008-01-30 13:02 hoffman * Tests/SubProject/foo/: CMakeLists.txt, foo.cxx: ENH: add missing files 2008-01-30 12:55 hoffman * Source/kwsys/SystemInformation.hxx.in: ENH: fix for vs 70 2008-01-30 12:15 king * Source/cmComputeLinkDepends.cxx: BUG: cmComputeLinkDepends should not follow the dependencies of executables. 2008-01-30 12:04 hoffman * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Tests/CMakeLists.txt, Tests/SubProject/CMakeLists.txt, Tests/SubProject/bar.cxx, Tests/SubProject/car.cxx: ENH: fix for bug 3218 dependant projects are written out automatically if they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator 2008-01-30 11:54 hoffman * Source/CTest/: cmCTestTestHandler.cxx, cmCTestUpdateHandler.cxx: ENH: remove warnings 2008-01-30 11:22 king * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h: ENH: Make add_custom_command interpret relative OUTPUT locations with respect to the build tre instead of the source tree. This can greatly simplify user code since generating a file will not need to reference CMAKE_CURRENT_BINARY_DIR. The new behavior is what users expect 99% of the time. 2008-01-30 11:21 king * Source/: cmGetPropertyCommand.cxx, cmGetSourceFilePropertyCommand.cxx, cmSourceFile.cxx, cmSourceFile.h: BUG: Add cmSourceFile::GetPropertyForUser to centralize the LOCATION property hack. This fixes the LOCATION property when retrieved via the get_property command. 2008-01-30 11:17 hoffman * Source/: cmCTest.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateHandler.cxx, kwsys/CMakeLists.txt, kwsys/SystemInformation.hxx.in: ENH: enhancements for cdash, include system information and better time entries 2008-01-30 08:37 king * Source/cmMakefile.cxx: BUG: Fix misuse of stl vector that caused definitions to be dropped by cmMakefile::PushScope. 2008-01-30 07:44 king * CompileFlags.cmake, Source/kwsys/hash_map.hxx.in: COMP: Fix warnings on VS9. 2008-01-30 07:17 king * Utilities/cmtar/CMakeLists.txt: COMP: Fix warning about tolower by making sure ctype.h is included in cmtar. 2008-01-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-29 21:16 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx: ENH: Enable use of link script whenever incremental archive construction rules are available. Enable use of archive construction rules on MSYS. 2008-01-29 20:46 king * Modules/Platform/Windows-gcc.cmake, Source/cmDocumentVariables.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h: ENH: Added build rule variables CMAKE__ARCHIVE_CREATE, CMAKE__ARCHIVE_APPEND, and CMAKE__ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284. 2008-01-29 17:30 king * Source/: cmCacheManager.cxx, cmCacheManager.h: BUG: Fix uninitialzed members of cmCacheManager. 2008-01-29 17:30 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmTarget.cxx, cmTarget.h: BUG: cmTarget instances should not be copied. Removed pass-by-value arguments from cmLocalVisualStudio7Generator::WriteGroup and cmLocalVisualStudio6Generator::WriteGroup. Updated cmTarget to make this easier to find. 2008-01-29 17:01 clinton * Modules/FindQt4.cmake: ENH: Make lupdate and lrelease executables advanced variables. 2008-01-29 15:54 clinton * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Correctly format multi-line error messages. 2008-01-29 15:47 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h, cmInstallTargetGenerator.cxx: ENH: Update cmInstallTargetGenerator to get the shared libraries linked by a target from cmComputeLinkInformation instead of duplicating the computation. 2008-01-29 15:10 barre * Modules/FindHTMLHelp.cmake: ENH: need quotes 2008-01-29 15:07 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h, cmGlobalXCodeGenerator.cxx, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmTarget.cxx, cmTarget.h: ENH: Add cmTarget::GetLinkInformation method to allow several places in the generators to share link information while only computing it once per configuration for a target. Use it to simplify the chrpath feature. 2008-01-29 13:07 clinton * Modules/FindQt4.cmake: ENH: Allow QT4_WRAP_CPP to work with dir1/myobject.h dir2/myobject.h Fixes #5067. 2008-01-29 09:57 king * Source/cmFindPackageCommand.cxx: ENH: Added not to find_package documentation about unspecified choice among multiple versions. 2008-01-29 08:03 king * Tests/ExportImport/CMakeLists.txt: BUG: Custom command driver outputs must be SYMBOLIC since no corresponding file is created. 2008-01-29 07:57 king * Tests/ExportImport/CMakeLists.txt: BUG: Make sure CMAKE_INSTALL_PREFIX stays in subproject caches. 2008-01-29 07:48 king * Modules/Platform/Linux-SunPro-C.cmake: BUG: Fix dynamic exports executable link option for Sun C compiler on Linux. 2008-01-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-28 20:38 king * Modules/readme.txt, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake, Tests/FindPackageTest/lib/zot-1.0/zot-config.cmake, Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake, Tests/FindPackageTest/lib/zot-2.0/zot-config.cmake, Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake, Tests/FindPackageTest/lib/zot-3.0/zot-config.cmake, Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake, Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake: ENH: Added version support to Config mode of find_package command. - Added EXACT option to request an exact version. - Enforce version using check provided by package. - Updated FindPackageTest to test versioning in config mode. 2008-01-28 19:20 clinton * Modules/FindQt4.cmake: ENH: Improve find for glib/gthread when Qt is configured to use it. Fixes #6220. 2008-01-28 15:22 king * Source/: cmExportBuildFileGenerator.cxx, cmExportInstallFileGenerator.cxx: STYLE: Updated TODO comment for PUBLIC_HEADER_LOCATION export. 2008-01-28 15:12 king * Source/: cmInstallCommand.h, cmTarget.cxx: ENH: Document PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE target properties and corresponding arguments to INSTALL(TARGETS). 2008-01-28 14:46 king * Tests/Framework/CMakeLists.txt: BUG: Fix Framework test after fixing FRAMEWORK targets to not install like frameworks on non-Apple systems. 2008-01-28 14:46 king * Source/cmExportBuildFileGenerator.cxx, Source/cmExportFileGenerator.cxx, Source/cmExportInstallFileGenerator.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Export/testExe3.c, Tests/ExportImport/Import/CMakeLists.txt, Tests/ExportImport/Import/imp_testExe1.c: ENH: Support exporting/importing of AppBundle targets. - Imported bundles have the MACOSX_BUNDLE property set - Added cmTarget::IsAppBundleOnApple method to simplify checks - Document BUNDLE keyword in INSTALL command - Updated IMPORTED_LOCATION property documentation for bundles - Updated ExportImport test to test bundles 2008-01-28 13:37 king * Source/cmExportFileGenerator.cxx, Source/cmExportFileGenerator.h, Tests/ExportImport/Export/CMakeLists.txt, Tests/ExportImport/Export/testExe1.c, Tests/ExportImport/Export/testExe1lib.c: BUG: Fix export/import file generation to not store link dependencies of executables or modules. 2008-01-28 13:21 king * Source/cmExportBuildFileGenerator.h, Source/cmExportCommand.cxx, Source/cmExportCommand.h, Source/cmExportFileGenerator.cxx, Source/cmExportFileGenerator.h, Tests/ExportImport/Export/CMakeLists.txt: ENH: Restored APPEND option to EXPORT() command in new implementation. 2008-01-28 13:06 king * Tests/ExportImport/: Export/CMakeLists.txt, Export/testLib4.c, Import/CMakeLists.txt, Import/imp_testExe1.c: ENH: Added framework to ExportImport test. 2008-01-28 13:05 king * Source/: cmComputeLinkInformation.cxx, cmExportFileGenerator.cxx, cmExportInstallFileGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Support exporting/importing of Framework targets. - Imported frameworks have the FRAMEWORK property set - Added cmTarget::IsFrameworkOnApple method to simplify checks - Also remove separate IMPORTED_ENABLE_EXPORTS property and just use ENABLE_EXPORTS since, like FRAMEWORK, it just represents the target type. - Document FRAMEWORK keyword in INSTALL command. - Updated IMPORTED_LOCATION property documentation for Frameworks 2008-01-28 09:53 king * Source/cmExportFileGenerator.h: COMP: Add virtual destructor to cmExportFileGenerator to avoid warnings about other virtual functions. 2008-01-28 08:40 king * Tests/: CMakeLists.txt, ExportImport/CMakeLists.txt, ExportImport/main.c, ExportImport/Export/CMakeLists.txt, ExportImport/Export/testExe1.c, ExportImport/Export/testExe2.c, ExportImport/Export/testLib1.c, ExportImport/Export/testLib2.c, ExportImport/Export/testLib3.c, ExportImport/Import/CMakeLists.txt, ExportImport/Import/imp_mod1.c, ExportImport/Import/imp_testExe1.c: ENH: Added ExportImport test to test new export/import features. 2008-01-28 08:39 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Updated SimpleInstall tests for new export/import interface. 2008-01-28 08:38 king * Source/: CMakeLists.txt, cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmComputeLinkDepends.cxx, cmComputeLinkDepends.h, cmComputeLinkInformation.cxx, cmExportBuildFileGenerator.cxx, cmExportBuildFileGenerator.h, cmExportCommand.cxx, cmExportCommand.h, cmExportFileGenerator.cxx, cmExportFileGenerator.h, cmExportInstallFileGenerator.cxx, cmExportInstallFileGenerator.h, cmGetPropertyCommand.cxx, cmGetTargetPropertyCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudioGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmIncludeExternalMSProjectCommand.cxx, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallCommandArguments.cxx, cmInstallCommandArguments.h, cmInstallDirectoryGenerator.cxx, cmInstallExportGenerator.cxx, cmInstallExportGenerator.h, cmInstallFilesCommand.cxx, cmInstallFilesGenerator.cxx, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallProgramsCommand.cxx, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h, cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmSetPropertyCommand.cxx, cmSetTargetPropertiesCommand.cxx, cmTarget.cxx, cmTarget.h: ENH: Updated exporting and importing of targets to support libraries and configurations. - Created cmExportFileGenerator hierarchy to implement export file generation - Installed exports use per-config import files loaded by a central one. - Include soname of shared libraries in import information - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators - Import files compute the installation prefix relative to their location when loaded - Add mapping of importer configurations to importee configurations - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries - Scope IMPORTED targets within directories to isolate them - Place all properties created by import files in the IMPORTED namespace - Document INSTALL(EXPORT) and EXPORT() commands. - Document IMPORTED signature of add_executable and add_library - Enable finding of imported targets in cmComputeLinkDepends 2008-01-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-27 15:09 king * bootstrap, Source/cmComputeLinkDepends.cxx: COMP: Use kwsys to get STL set_intersection algorithm. 2008-01-27 13:42 king * bootstrap, Source/CMakeLists.txt, Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmTarget.cxx: ENH: Created cmComputeLinkDepends to compute link dependencies. - This will be useful for imported library dependencies - Replaces old cmTarget analyze-lib-depends stuff for linking - Formalizes graph construction and dump - Explicitly represents dependency inferral sets - Use BFS of initial dependencies to preserve order 2008-01-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-26 01:11 barre * Modules/: FindTCL.cmake, FindTclStub.cmake, FindTclsh.cmake, FindWish.cmake: ENH: Update Tcl/Tk 8.5 2008-01-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-25 13:07 barre * Modules/: FindPerl.cmake, FindTCL.cmake, FindTclStub.cmake, FindTclsh.cmake, FindWish.cmake: ENH: update for Tcl/Tk 8.5 2008-01-25 08:11 king * Source/cmSystemTools.cxx: COMP: Need to return a value from fake MD5 method under bootstrap. 2008-01-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-24 19:42 barre * Modules/FindTclsh.cmake: ENH: typo 2008-01-24 19:31 barre * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH: update for Tcl/Tk 8.5 2008-01-24 16:11 king * Source/cmSystemTools.cxx: COMP: Cannot do MD5 from KWSys during CMake bootstrap. 2008-01-24 14:41 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add cmSystemTools::ComputeStringMD5 method. 2008-01-24 14:37 king * Source/cmake.cxx: BUG: Make cmake -E remove_directory work when directory is not present. 2008-01-24 07:37 king * Source/cmFindLibraryCommand.cxx: ENH: Apply new implicit link directory find_library policy when loading a cache from an earlier CMake. 2008-01-24 07:37 king * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx, cmMakefile.h: ENH: Added cmMakefile::NeedCacheCompatibility method and support for it in cmCacheManager. This will allow commands to modify their behavior when running with a cache loaded from an earlier CMake version. 2008-01-24 07:31 king * Source/CPack/cmCPackDebGenerator.cxx: COMP: Add include of to get USHRT_MAX constant. 2008-01-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-23 18:34 alex * Source/cmReturnCommand.h: STYLE: fix typo Alex 2008-01-23 17:53 king * Modules/CMakeCompilerABI.h, Source/cmFindLibraryCommand.cxx: ENH: Remove sparcv9 architecture subdir added earlier. The new implicit link directory policy takes care of the problem. 2008-01-23 17:43 king * bootstrap: BUG: Do not have variable and function of the same name. Old shells do not likeit. 2008-01-23 16:53 king * Source/CursesDialog/CMakeLists.txt: ENH: Simplify code by removing unnecessary LINK_DIRECTORIES call. 2008-01-23 16:35 king * Modules/CMakeCXXInformation.cmake: BUG: CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG should get its default value from CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG, not CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG. 2008-01-23 16:27 barre * Modules/: FindTCL.cmake, FindTclStub.cmake, FindTclsh.cmake, FindWish.cmake: ENH: update for Tcl/Tk 8.5 2008-01-23 16:21 king * Source/: cmFindLibraryCommand.cxx, cmFindLibraryCommand.h: ENH: Teach find_library to avoid returning library paths in system directories that may be converted to architecture-specific directories by the compiler when it invokes the linker. 2008-01-23 15:56 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: BUG: Fix cmComputeLinkInformation cycle detection. 2008-01-23 15:22 king * Modules/VTKCompatibility.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx: ENH: Added CMAKE_LINK_OLD_PATHS compatibility mode for linker search paths. 2008-01-23 14:07 barre * Modules/: FindTCL.cmake, FindTclStub.cmake: ENH: keep cleaning up Tcl/Tk modules 2008-01-23 13:37 king * Source/cmComputeLinkInformation.cxx: COMP: Fix build on Borland 5.5. 2008-01-23 13:30 king * Modules/Platform/Windows-wcl386.cmake, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx: BUG: Fix generation of Watcom link lines. - Work-around bug in Watcom command line parsing for spaces in paths. - Add 'library' option before libraries specified by file path. 2008-01-23 13:03 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: BUG: Work-around bug in MSVC 6 command line parsing. 2008-01-23 12:51 martink * Source/cmCTest.cxx: ENH: look for CTestConfiguration.ini first 2008-01-23 10:29 martink * Tests/: CMakeLists.txt, ReturnTest/CMakeLists.txt, ReturnTest/returnTest.c, ReturnTest/subdir/CMakeLists.txt: ENH: add testing for return and break commands 2008-01-23 10:27 martink * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddSubDirectoryCommand.cxx, cmAddSubDirectoryCommand.h, cmAddTestCommand.cxx, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h, cmBootstrapCommands.cxx, cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h, cmCPluginAPI.cxx, cmCommand.h, cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmCreateTestSourceList.cxx, cmCreateTestSourceList.h, cmDefinePropertyCommand.cxx, cmDefinePropertyCommand.h, cmElseCommand.cxx, cmElseCommand.h, cmElseIfCommand.cxx, cmElseIfCommand.h, cmEnableLanguageCommand.cxx, cmEnableLanguageCommand.h, cmEnableTestingCommand.cxx, cmEnableTestingCommand.h, cmEndForEachCommand.cxx, cmEndForEachCommand.h, cmEndFunctionCommand.cxx, cmEndFunctionCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmEndMacroCommand.cxx, cmEndMacroCommand.h, cmEndWhileCommand.cxx, cmEndWhileCommand.h, cmExecProgramCommand.cxx, cmExecProgramCommand.h, cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h, cmExportCommand.cxx, cmExportCommand.h, cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h, cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h, cmFileCommand.cxx, cmFileCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPackageCommand.cxx, cmFindPackageCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h, cmFunctionCommand.cxx, cmFunctionCommand.h, cmGetCMakePropertyCommand.cxx, cmGetCMakePropertyCommand.h, cmGetDirectoryPropertyCommand.cxx, cmGetDirectoryPropertyCommand.h, cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmGetPropertyCommand.cxx, cmGetPropertyCommand.h, cmGetSourceFilePropertyCommand.cxx, cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.cxx, cmGetTargetPropertyCommand.h, cmGetTestPropertyCommand.cxx, cmGetTestPropertyCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeCommand.h, cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmIncludeExternalMSProjectCommand.cxx, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmListCommand.cxx, cmListCommand.h, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h, cmLoadCommandCommand.cxx, cmLoadCommandCommand.h, cmMacroCommand.cxx, cmMacroCommand.h, cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h, cmMarkAsAdvancedCommand.cxx, cmMarkAsAdvancedCommand.h, cmMathCommand.cxx, cmMathCommand.h, cmMessageCommand.cxx, cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h, cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h, cmProjectCommand.cxx, cmProjectCommand.h, cmQTWrapCPPCommand.cxx, cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h, cmRemoveCommand.cxx, cmRemoveCommand.h, cmRemoveDefinitionsCommand.cxx, cmRemoveDefinitionsCommand.h, cmSeparateArgumentsCommand.cxx, cmSeparateArgumentsCommand.h, cmSetCommand.cxx, cmSetCommand.h, cmSetDirectoryPropertiesCommand.cxx, cmSetDirectoryPropertiesCommand.h, cmSetPropertyCommand.cxx, cmSetPropertyCommand.h, cmSetSourceFilesPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.h, cmSetTargetPropertiesCommand.cxx, cmSetTargetPropertiesCommand.h, cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmStringCommand.cxx, cmStringCommand.h, cmSubdirCommand.cxx, cmSubdirCommand.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmTryCompileCommand.cxx, cmTryCompileCommand.h, cmTryRunCommand.cxx, cmTryRunCommand.h, cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h, cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h, cmVariableWatchCommand.cxx, cmVariableWatchCommand.h, cmWhileCommand.cxx, cmWhileCommand.h, cmWriteFileCommand.cxx, cmWriteFileCommand.h, CTest/cmCTestEmptyBinaryDirectoryCommand.cxx, CTest/cmCTestEmptyBinaryDirectoryCommand.h, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h, CTest/cmCTestReadCustomFilesCommand.cxx, CTest/cmCTestReadCustomFilesCommand.h, CTest/cmCTestRunScriptCommand.cxx, CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestSleepCommand.cxx, CTest/cmCTestSleepCommand.h, CTest/cmCTestStartCommand.cxx, CTest/cmCTestStartCommand.h, CTest/cmCTestTestHandler.cxx, cmBreakCommand.cxx, cmBreakCommand.h, cmExecutionStatus.h, cmReturnCommand.cxx, cmReturnCommand.h: ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class 2008-01-23 10:21 king * Source/cmComputeLinkInformation.cxx: BUG: Be less aggressive about finding conflicts in the runtime path when the real soname is not known. 2008-01-23 09:53 king * Modules/CMakeCompilerABI.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h: ENH: Enable library search path suffix for sparcv9 architecture. This should be generalized to a platform file later. 2008-01-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-22 10:11 clinton * Modules/FindQt4.cmake: ENH: Add macros to handle translations. Fixes #6229. 2008-01-22 10:05 king * Source/: cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: BUG: When a library file name is linked without a path make sure the link type is restored after the -l option. 2008-01-22 09:15 king * Tests/: CMakeLists.txt, RuntimePath/CMakeLists.txt, RuntimePath/bar1.c, RuntimePath/bar2.c, RuntimePath/foo1.c, RuntimePath/foo2.c, RuntimePath/main.c: ENH: Added RuntimePath test to make sure rpath gets correct order. 2008-01-22 09:13 king * bootstrap, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/Platform/AIX.cmake, Modules/Platform/HP-UX.cmake, Source/CMakeLists.txt, Source/cmComputeLinkInformation.cxx, Source/cmComputeLinkInformation.h, Source/cmDocumentVariables.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832 - This is purely an implementation improvement. No interface has changed. - Create cmComputeLinkInformation class - Move and re-implement logic from: cmLocalGenerator::ComputeLinkInformation cmOrderLinkDirectories - Link libraries to targets with their full path (if it is known) - Dirs specified with link_directories command still added with -L - Make link type specific to library names without paths (name libfoo.a without path becomes -Wl,-Bstatic -lfoo) - Make directory ordering specific to a runtime path computation feature (look for conflicting SONAMEs instead of library names) - Implement proper rpath support on HP-UX and AIX. 2008-01-22 08:52 king * Source/kwsys/hash_map.hxx.in: COMP: Remove inline keyword from forward declaration for VS9. 2008-01-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-21 22:48 king * Source/cmFindPackageCommand.cxx: ENH: Updated find_package documentation to describe common usage first. 2008-01-21 20:57 king * Modules/: CMakeDetermineCompilerId.cmake, CMakeFindBinUtils.cmake: ENH: Cleanup chrpath feature by not displaying exe format or placing non-advanced options in cache. 2008-01-21 18:30 king * Source/: cmFindLibraryCommand.cxx, cmFindLibraryCommand.h: ENH: Add support to find_library to transform /lib to /lib32 on some architectures. 2008-01-21 18:30 king * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCCompilerABI.c, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXCompilerABI.cpp, Modules/CMakeCompilerABI.h, Modules/CMakeDetermineCompilerABI.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Source/cmDocumentVariables.cxx: ENH: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 17:29 king * Tests/CMakeLists.txt: BUG: Do not get in infinite loop when checking make tool version in cmake build tree. 2008-01-21 13:59 king * Source/cmTarget.cxx: BUG: Added missing documentation of LINK_FLAGS_ property. 2008-01-21 13:04 king * Source/cmFindPackageCommand.cxx: COMP: snprintf is not portable. 2008-01-21 12:56 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-cl.cmake.in, Source/cmGlobalVisualStudio9Generator.cxx, Source/cmGlobalVisualStudio9Generator.h: ENH: final 2.4.8 2008-01-21 08:48 king * Modules/readme.txt, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/FindVersionTestA.cmake, Tests/FindPackageTest/FindVersionTestB.cmake, Tests/FindPackageTest/FindVersionTestC.cmake: ENH: Implement version support in the find_package command module mode. Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645. 2008-01-21 08:01 king * Source/kwsys/SystemTools.cxx: COMP: Fix VS6 and old HP build. This source does not have the #define for hack. 2008-01-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-20 19:29 king * Source/: cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, kwsys/SystemTools.cxx: BUG: Fix previous commit to not access empty strings out of bounds. 2008-01-20 17:41 king * Source/cmFindLibraryCommand.cxx: BUG: Make sure search paths never have double-slashes. Leading with two slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine. This file was left out of the previous checkin for this problem. 2008-01-20 17:24 king * Source/: cmFindPathCommand.cxx, kwsys/SystemTools.cxx: BUG: Make sure search paths never have double-slashes. Leading with two slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine. 2008-01-20 16:02 king * Modules/FindX11.cmake: BUG: FindX11 module should search for SM library instead of returning -lSM. 2008-01-20 13:36 king * Source/cmake.cxx: COMP: Fix build during bootstrap on MSys. 2008-01-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-19 15:09 martink * Source/: cmLocalGenerator.cxx, CTest/cmCTestTestHandler.cxx: ENH: improve backwards compatibility 2008-01-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-18 19:02 barre * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH: Tcl/Tk 8.6 alpha schedule for May 2008. 2008-01-18 18:40 king * Source/cmDependsFortran.cxx: COMP: Fix build on Borland 5.5. 2008-01-18 17:11 alex * Source/cmMakefile.cxx: BUG: don't crash if cmMakefile::RaiseScope() is called from a cmake file in the top level directory in normal code (i.e. not within a function) Alex 2008-01-18 16:06 hoffman * Modules/Platform/Windows-cl.cmake.in: ENH: make sure msvc90 gets set 2008-01-18 15:52 alex * Modules/CMakeDetermineCompilerId.cmake, Modules/FindwxWidgets.cmake, Source/cmBootstrapCommands.cxx, Source/cmRaiseScopeCommand.cxx, Source/cmRaiseScopeCommand.h, Source/cmSetCommand.cxx, Source/cmSetCommand.h, Tests/FunctionTest/CMakeLists.txt, Tests/FunctionTest/Util.cmake, Tests/FunctionTest/SubDirScope/CMakeLists.txt: ENH: remove RAISE_SCOPE() again and instead add SET( PARENT_SCOPE) Alex 2008-01-18 15:19 hoffman * Modules/Platform/Windows-cl.cmake: ENH: make sure MSVC90 is set 2008-01-18 14:34 hoffman * Source/: cmGlobalVisualStudio9Generator.cxx, cmGlobalVisualStudio9Generator.h: ENH: add MSVC90 define to vs9 ide 2008-01-18 14:02 barre * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:51 barre * Modules/: FindTclsh.cmake, FindWish.cmake: ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:46 barre * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:15 barre * Modules/: FindPerl.cmake, FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 12:26 martink * Source/cmMacroCommand.h: STYLE: fix bug 5682 2008-01-18 10:25 martink * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmake.cxx, CTest/cmCTestTestHandler.cxx: BUG: fix bugs 5539 (progress going beyond 100% when new files are added) and 5889 (tests are not found in some cases when using add_subdirectory to .. etc) 2008-01-18 08:35 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Construction of COMPILE_DEFINITIONS_ property name must use upper-case config name. 2008-01-18 08:19 king * Source/cmFindPackageCommand.cxx: STYLE: Fix line-too-long. 2008-01-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-17 20:59 king * Source/cmFindPackageCommand.cxx: ENH: Clarify documentation of find_package command. 2008-01-17 20:34 king * Source/cmMakefile.cxx, Tests/Complex/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: Make per-configuration COMPILE_DEFINITIONS_ directory property initialized from parent. 2008-01-17 19:58 king * Modules/CMakeFortranInformation.cmake, Modules/Platform/Windows-ifort.cmake, Source/cmDependsFortran.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources. 2008-01-17 19:50 king * Source/cmMakefile.cxx: BUG: COMPILE_DEFINITIONS directory property needs to be inherited from parent when a directory is created. 2008-01-17 19:29 king * Source/cmAddDefinitionsCommand.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileTargetGenerator.cxx, Source/cmRemoveDefinitionsCommand.h, Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/preprocess.c, Tests/Preprocess/preprocess.cxx: ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property. 2008-01-17 18:13 king * Source/: cmMakefile.cxx, cmMakefile.h, cmProperty.cxx, cmProperty.h, cmPropertyMap.cxx, cmPropertyMap.h, cmSetPropertyCommand.cxx, cmSetPropertyCommand.h, cmSourceFile.cxx, cmSourceFile.h, cmTarget.cxx, cmTarget.h, cmTest.cxx, cmTest.h, cmake.cxx, cmake.h: ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify implementation of SET_PROPERTY command by using them. 2008-01-17 17:49 alex * Source/cmFindBase.cxx: STYLE: PATHS is optional (#6253) Alex 2008-01-17 17:43 alex * Source/cmFindBase.cxx: STYLE: fix typo (#6252) Alex 2008-01-17 17:34 king * Tests/Preprocess/CMakeLists.txt: ENH: Use new set_property signature to set COMPILE_DEFINITIONS properties in Preprocess test. 2008-01-17 17:19 king * Modules/CPackDeb.cmake, Modules/FeatureSummary.cmake, Modules/FindPythonLibs.cmake, Source/cmGetPropertyCommand.cxx, Source/cmGetPropertyCommand.h, Tests/Properties/CMakeLists.txt: ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible. 2008-01-17 16:24 king * Source/cmSetPropertyCommand.cxx: COMP: Fix VS build. 2008-01-17 15:54 king * Modules/CMakeGenericSystem.cmake, Modules/FeatureSummary.cmake, Modules/Platform/BlueGeneL.cmake, Modules/Platform/Catamount.cmake, Modules/Platform/Generic.cmake, Modules/Platform/Linux.cmake, Modules/Platform/UnixPaths.cmake, Modules/Platform/eCos.cmake, Source/cmBootstrapCommands.cxx, Source/cmSetPropertiesCommand.cxx, Source/cmSetPropertiesCommand.h, Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h, Tests/DocTest/CMakeLists.txt, Tests/Properties/CMakeLists.txt: ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature. 2008-01-17 12:44 martink * Source/: cmLocalGenerator.cxx, ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: use CTestTestfile.txt 2008-01-17 12:35 martink * Source/cmEnableTestingCommand.h: ENH: remove unused prototype 2008-01-17 10:35 king * bootstrap: COMP: The find_package command needs more of kwsys. Added String.h, String.c, and auto_ptr.hxx to bootstrapping kwsys. 2008-01-17 10:32 king * Source/cmFindPackageCommand.cxx: COMP: Fix warning about missing virtual destructor. 2008-01-17 10:26 martink * Tests/Tutorial/Step7/: CMakeLists.txt, CTestConfig.cmake: STYLE: change case to match book 2008-01-17 10:00 king * Modules/Platform/xlf.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefileTargetGenerator.cxx: ENH: Enable CMAKE__DEFINE_FLAG for COMPILE_DEFINITIONS property implementation. 2008-01-17 09:06 king * Tests/FindPackageTest/: CMakeLists.txt, TApp.app/Contents/Resources/TAppConfig.cmake, TApp.app/Contents/Resources/cmake/tapp-config.cmake, TFramework.framework/Versions/A/Resources/tframework-config.cmake, TFramework.framework/Versions/A/Resources/CMake/TFrameworkConfig.cmake, lib/Bar/BarConfig.cmake, lib/Bar/cmake/bar-config.cmake, lib/TApp/TAppConfig.cmake, lib/foo-1.2/foo-config.cmake, lib/foo-1.2/CMake/FooConfig.cmake, lib/suffix/test/SuffixTestConfig.cmake: ENH: Updated FindPackageTest to test new find_package command features. 2008-01-17 09:02 king * Source/: cmBootstrapCommands.cxx, cmFindBase.cxx, cmFindBase.h, cmFindCommon.cxx, cmFindCommon.h, cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx, cmFindPackageCommand.h, cmFindPathCommand.cxx, cmFindProgramCommand.cxx: ENH: Major improvements to the FIND_PACKAGE command. See bug #3659. - Use CMAKE_PREFIX_PATH and CMAKE_SYSTEM_PREFIX_PATH among other means to locate package configuration files. - Create cmFindCommon as base for cmFindBase and cmFindPackageCommand - Move common functionality up to cmFindCommon - Improve documentation of FIND_* commands. - Fix FIND_* commands to not add framework/app paths in wrong place. 2008-01-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-16 11:53 karthik * Docs/: cmake-indent.vim, cmake-syntax.vim: ENH: ~/CMake/src/Docs * Additions for cmake-command highligting. * Additions for operator-highlighting 2008-01-16 11:24 king * Source/cmListCommand.cxx: ENH: Allow LIST(APPEND) command to append nothing. 2008-01-16 10:04 david.cole * Modules/FindJNI.cmake: BUG: Eliminate message - it pops up an annoying dialog whenever you run CMakeSetup in a project with java wrapping turned on. 2008-01-16 09:51 king * Modules/Platform/: Darwin.cmake, UnixPaths.cmake, WindowsPaths.cmake, syllable.cmake: ENH: Convert Modules/Platform specification of system search paths to use CMAKE_SYSTEM_PREFIX_PATH when possible. 2008-01-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-15 21:20 king * Modules/: FindFreetype.cmake, FindGDAL.cmake, FindGIF.cmake, FindLua50.cmake, FindLua51.cmake, FindOpenAL.cmake, FindOpenThreads.cmake, FindPhysFS.cmake, FindProducer.cmake, FindQuickTime.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_ttf.cmake, Findosg.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake, FindosgManipulator.cmake, FindosgParticle.cmake, FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake: BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:02 king * Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Tests/Preprocess/CMakeLists.txt: ENH: Renamed _COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_ for better documentation clarity. 2008-01-15 19:56 alex * Modules/CMakeFindBinUtils.cmake: STYLE: fix infinished comment Alex 2008-01-15 17:02 hoffman * CMakeCPackOptions.cmake.in: ENH: fix add/remove program name 2008-01-15 16:02 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudioGenerator.cxx: ENH: move more stuff over and get vs 9 working 2008-01-15 14:19 hoffman * Modules/Platform/SunOS.cmake: BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right 2008-01-15 14:00 hoffman * Source/: cmGlobalVisualStudio7Generator.cxx, cmLocalVisualStudioGenerator.cxx, QtDialog/README: ENH: remove patch as directory change was already fixed 2008-01-15 11:56 hoffman * Source/cmLocalVisualStudioGenerator.cxx: BUG: fix for bug 6234, use cd /d so that drives can be changed. 2008-01-15 10:49 king * Source/cmake.cxx: ENH: Added partial implementation of recognizing per-configration properties. 2008-01-15 10:49 king * Source/: cmSourceFile.cxx, cmTarget.cxx: ENH: Add explicit documentation entry for configuration-specific _COMPILE_DEFINITIONS. 2008-01-15 10:38 king * Tests/DocTest/DocTest.cxx: BUG: Add newline between properties. 2008-01-15 09:09 king * Tests/Preprocess/CMakeLists.txt: BUG: Test needs ansi C code support. 2008-01-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-14 19:20 alex * Docs/: cmake-indent.vim, cmake-syntax.vim: BUG: fix vim highlighting, see #6238 Alex 2008-01-14 19:02 alex * Modules/CMakeFindBinUtils.cmake: BUG: according to the binutils mailing list chrpath doesn't work when cross compiling Alex 2008-01-14 17:19 alex * Modules/FindSubversion.cmake: BUG: set LC_ALL to C, so message from svn are not translated, which can lead to problems (since the output is parsed, which fails then) Brad, Bill, can you think of any reasons this change might create problems ? Alex 2008-01-14 17:05 alex * Source/cmDocumentation.cxx: BUG: make -help-module-list work by filling the modules section first, also for custom modules Alex 2008-01-14 11:21 king * Tests/Preprocess/CMakeLists.txt: BUG: Disable semicolon test on VS 7.0. 2008-01-14 11:07 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Fix warning about backslash at end of c++ comment. 2008-01-14 09:20 king * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/Platform/AIX.cmake, Modules/Platform/Generic-SDCC-C.cmake, Modules/Platform/QNX.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-icl.cmake, Modules/Platform/Windows-wcl386.cmake, Modules/Platform/cl.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Tests/CMakeLists.txt, Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/file_def.h, Tests/Preprocess/preprocess.c, Tests/Preprocess/preprocess.cxx, Tests/Preprocess/preprocess.h.in, Tests/Preprocess/preprocess_vs6.cxx, Tests/Preprocess/target_def.h: ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create _COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators. 2008-01-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-13 16:59 king * Source/cmLocalGenerator.cxx: BUG: Removed stray debugging statement. 2008-01-13 16:36 king * Source/: cmGlobalNMakeMakefileGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio7Generator.cxx, kwsys/System.c, kwsys/System.h.in: ENH: Improved escaping in kwsys/System. Added escape of % for NMake. Added escape of ; for the VS IDE. 2008-01-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-12 09:52 king * Source/kwsys/SystemTools.cxx: COMP: Fix build on borland. 2008-01-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-11 17:37 hoffman * Modules/Platform/: AIX-VisualAge-Fortran.cmake, Linux-VisualAge-Fortran.cmake, xlf.cmake: ENH: add support for xlf with -WF,-D for -D 2008-01-11 13:00 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: add CMAKE_DEFINE_FLAG_(LANG) that can replace -D flags with what the compiler actually uses 2008-01-11 12:40 clinton * Modules/FindQt4.cmake: ENH: For moc commands on Windows, use @param_file method to allow arguments longer than Windows' command length limitation. Fixes #6221. 2008-01-11 10:36 david.cole * Source/kwsys/SystemTools.cxx: ENH: Merge changes from main tree into VTK-5-0 branch. (Selected Utilities/kwsys/SystemTools.cxx fixes for KWWidgets file browser dialog) 2008-01-11 08:33 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add SystemTools::SplitPathRootComponent and re-implement SplitPath to use it. Add better treatment of user home directory paths. 2008-01-11 08:30 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeVS9FindMake.cmake, Source/cmInstallTargetGenerator.cxx: ENH: push a few more changes to 2.4.8 2008-01-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-10 21:42 david.cole * Source/kwsys/SystemTools.cxx: ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.205 -j1.206 Utilities/kwsys/SystemTools.cxx) 2008-01-10 18:52 alex * Modules/FindBoost.cmake: BUG: it seems on some installations boost is installed under boost-1_34 , see #5030 FindBoost.cmake recommends using LINK_DIRECTORIES(), is this really good ? Alex 2008-01-10 18:32 king * Source/kwsys/ProcessUNIX.c: BUG: Fix hang in Process_Kill on OS X caused by an OS bug in which a pipe read end cannot be closed if the pipe write end is open, the pipe is full, and another process is blocking waiting to write. Work around the problem by killing the children before closing the pipes. 2008-01-10 16:22 hoffman * Modules/FindSWIG.cmake: BUG: fix for bug 4145 much better findSwig 2008-01-10 15:17 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmInstallTargetGenerator.cxx: BUG: fix for bug 6193, fix xcode depend helper 2008-01-10 14:47 king * Modules/Platform/Linux-VisualAge-C.cmake: BUG: Removed stray debugging message. 2008-01-10 14:47 king * Modules/CMakeLists.txt: BUG: Need to install fortran compiler id source. 2008-01-10 11:58 king * Modules/CMakeFortranCompilerId.F90: STYLE: Move VisualAge id macro to correct block. 2008-01-10 10:50 hoffman * Modules/: CMakeFortranCompilerId.F90, Platform/Linux-VisualAge-C.cmake, Platform/Linux-VisualAge-Fortran.cmake: ENH: add support for visual age fortran on linux 2008-01-10 09:46 king * Source/cmDependsFortran.cxx: COMP: Fix build on VS6. 2008-01-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-09 22:09 perera * Source/: cmAddExecutableCommand.h, cmConfigureFileCommand.h, cmDocumentation.cxx, cmEnableLanguageCommand.h, cmFindBase.cxx, cmMakefile.cxx, cmSourceFile.cxx, cmStringCommand.h, cmTarget.cxx, cmTest.cxx, cmTryCompileCommand.h, cmVariableWatchCommand.h, cmWhileCommand.h: STYLE: Spelling fixes on documentation 2008-01-09 16:59 alex * Source/cmDocumentation.cxx: ENH: sort the module files alphabetically when generating the documentation of rht modules Alex 2008-01-09 10:30 king * Modules/Platform/Windows-ifort.cmake, Source/cmDependsFortran.cxx, Source/cmDependsFortran.h, Source/cmLocalUnixMakefileGenerator3.cxx, Tests/Fortran/CMakeLists.txt, Tests/Fortran/test_preprocess.F90: ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default. 2008-01-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-08 17:51 hoffman * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in: ENH: figure out long long value 2008-01-08 17:20 hoffman * Source/kwsys/SystemInformation.cxx: ENH: fix lots of warnings 2008-01-08 16:40 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CPack.cmake: ENH: remove relocate option in mac installer as it is broken 2008-01-08 16:28 hoffman * Source/kwsys/CMakeLists.txt: ENH: turn off for now 2008-01-08 14:59 hoffman * Source/kwsys/: CMakeLists.txt, SystemInformation.cxx, SystemInformation.hxx.in: ENH: fix leaks and turn on by default 2008-01-08 11:43 hoffman * Source/kwsys/: CMakeLists.txt, testSystemInformation.cxx: ENH: add missing file 2008-01-08 11:38 hoffman * Source/kwsys/: CMakeLists.txt, SystemInformation.cxx, SystemInformation.hxx.in: ENH: add new system information class for use in ctest 2008-01-08 11:06 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake: ENH: last change for 2.4.8 branch, I hope, fix for findqt 2008-01-08 08:25 hoffman * Source/cmDependsFortran.cxx: BUG: make it compile on vs 6 2008-01-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-07 23:08 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: BUG: Fix parsing of fortran include directives during dependency scanning. Previously only #include worked but not just include. 2008-01-07 16:12 king * Modules/CMakeJavaCompiler.cmake.in, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefileTargetGenerator.cxx: BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169. 2008-01-07 14:52 alex * Source/cmFileCommand.cxx: BUG: with cmake 2.4 INSTALL_FILES() with no files was accepted by cmake, with cmake cvs without this patch an invalid cmake_install.cmake script was generated in this case, it failed with an error if no files were given. So just do nothing if no files are listed to make it compatible. http://lists.kde.org/?l=kde-commits&m=119965185114478&w=2 Alex 2008-01-07 11:36 king * Source/cmDependsFortran.cxx: ENH: Changes based on patch from Maik for better cmDependsFortran::ModulesDiffer. 2008-01-07 10:27 king * Modules/: CMakeDetermineCompilerId.cmake, CMakeDetermineFortranCompiler.cmake: ENH: Add support to CMAKE_DETERMINE_COMPILER_ID macro to try building the id source more than once with different extra flags added to the compiler. Use the support to correctly identify the Intel Fortran compiler on windows which does not preprocess by default without special flags. 2008-01-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-06 17:18 alex * Source/cmFindBase.cxx: BUG: fix #6105, if a directory inside CMAKE_FIND_ROOT_PATH is given to a FIND_XXX() command, don't prepend the root to it (since it is already in this root) Alex 2008-01-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-05 20:37 miguelf * Modules/FindwxWidgets.cmake: BUG: Support cross-compiling; wx-config should be searched for in target platform ONLY (bug 6187). 2008-01-05 11:19 miguelf * Modules/FindwxWidgets.cmake: ENH: Generalized the WXWIDGETS_ADD_RESOURCES to support header generation, xrs file generation, and other options (BUG: 6162). 2008-01-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-04 14:22 king * Source/cmFileCommand.cxx: BUG: File installation should overwrite the destination if the file times differ at all rather than only if the source file is newer. Users expect installation to overwrite destination files. This addresses the re-opening of bug#3349. 2008-01-04 12:38 alex * Modules/: FindFreetype.cmake, FindGIF.cmake: ENH: rename variables from GIFLIB_* to GIF_* -add standard QUIET and REQUIRED handling -add GIF_LIBRARIES variable as readme.txt says -add name giflib to the names for the gif library -remove some unnecessary search paths for the lib (they are already part of the standard search paths, see Modules/Platform/UnixPaths.cmake) -FindFreetype.cmake: use PATH_SUFFIXES include again for the headers with the CMAKE_PREFIX_PATH variable Alex 2008-01-04 12:29 alex * Modules/: FindGIF.cmake, FindGIFLIB.cmake: STYLE: rename FindGIFLIB.cmake to FindGIF.cmake, as discussed with Eric Alex 2008-01-04 11:56 alex * Modules/FindX11.cmake: BUG: fix spelling of the xf86misc and xf86vmode variables Alex 2008-01-04 11:42 ewing * Modules/FindOpenAL.cmake: ENH: Added all lowercase 'openal' to library search names in hopes of addressing bug 6201 (won't detect on Gentoo). 2008-01-04 07:29 alex * Modules/FindFreetype.cmake: STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() to handle QUIET and REQUIRED -remove some unnecessary search paths (they are part of the default paths) -don't use PATH_SUFFIXES for include/ when searching for a header, that's very uncommon style -add FREETYPE_LIBRARIES as the variable which should be used by the user (as documented in readme.txt) Alex 2008-01-04 07:25 alex * Modules/: FindFreeType.cmake, FindFreetype.cmake: STYLE: renamed FindFreeType.cmake to FindFreetype.cmake to make it more compatible with the one in KDE4 Alex 2008-01-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-03 11:21 martink * Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmRaiseScopeCommand.cxx, Source/cmRaiseScopeCommand.h, Tests/FunctionTest/CMakeLists.txt, Tests/FunctionTest/SubDirScope/CMakeLists.txt, Tests/FunctionTest/Util.cmake: ENH: change raise_scope signature to be safer for returned varuables 2008-01-03 09:40 king * Source/cmFileCommand.cxx: STYLE: Fix line-too-long. 2008-01-03 07:28 hoffman * Source/cmake.cxx: BUG: fix resource file with a full path 2008-01-03 04:19 alex * Source/cmFileCommand.cxx: COMP: fix build on Windows with gcc, patch from Maik Beckmann Alex 2008-01-03 00:01 king * Source/: cmFileTimeComparison.cxx, cmFileTimeComparison.h: ENH: Add method cmFileTimeComparison::FileTimesDiffer to check if file times differ by 1 second or more. 2008-01-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-02 18:30 king * Source/cmDependsFortran.cxx: ENH: Cleanup Fortran build directories by placing module stamp files in the target directory that builds them. This is actually a simpler implementation anyway. 2008-01-02 18:00 king * Tests/StringFileTest/CMakeLists.txt: ENH: Add test for FILE(READ ...HEX). 2008-01-02 17:49 king * Source/cmMakefile.cxx, Tests/FunctionTest/CMakeLists.txt, Tests/FunctionTest/SubDirScope/CMakeLists.txt: BUG: Make RAISE_SCOPE function work when variable is not defined. 2008-01-02 17:32 king * Docs/cmake-mode.el: ENH: Enable indentation of FUNCTION/ENDFUNCTION blocks in emacs. 2008-01-02 17:12 hoffman * Modules/UseSWIG.cmake: BUG: fix for bug 6151 2008-01-02 16:53 alex * Source/cmTarget.cxx: ENH: only allow usage of chrpath if the executable file format is ELF Alex 2008-01-02 16:52 alex * Modules/: CMakeDetermineCompilerId.cmake, CMakeFindBinUtils.cmake: ENH: check the magic code of the executable file to determine the executable file format. Tested for ELF on x86 Linux, COFF and Mach-O prepared but commented out since I don't have such systems available. Please have a look a CMakeDetermineCompilerId.cmake and enable the test for them too. Only add the option for using chrpath if the executable format is ELF Alex 2008-01-02 16:46 alex * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: add the keywords OFFSET and HEX to the FILE() command, using OFFSET an offset can be specified where the reading starts, and using HEX the data can be converted into a hex string, so binary data can be compared with text functions -add docs for LIMIT, OFFSET and HEX Alex 2008-01-02 15:55 king * Source/cmGlobalVisualStudio8Generator.cxx: STYLE: Fixed line-too-long. 2008-01-02 15:53 king * Source/cmGlobalVisualStudio8Generator.cxx: BUG: Do not use VSMacros stuff for VS8sp0 because macros do not work in that version. 2008-01-02 15:17 king * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help install a tree of header files while ignoring non-headers. 2008-01-02 12:32 alex * Modules/FindRuby.cmake: ENH: add more ruby paths: sitearch, sitelib, vendorarch, vendorlib (#5531) -make these variables cached and ADVANCED -remove unused QUIETLY code -document RUBY_LIBRARY Alex 2008-01-02 11:43 alex * Modules/FindRuby.cmake: BUG: make FindRuby work with the libs for MSVC, which can have additional pre- and suffixes (#5642) Alex 2008-01-02 11:08 hoffman * Source/cmAuxSourceDirectoryCommand.cxx: BUG: fix for bug 6197, absolute paths were not supported 2008-01-02 11:04 king * Source/: cmDependsFortran.cxx, cmDependsFortran.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Make the Fortran compiler id available to cmDependsFortran at scanning and module timestamp copy time. 2008-01-02 10:56 hoffman * Source/cmListCommand.h: BUG: fix for bug 6207 explain list index values better 2008-01-02 09:32 hoffman * Source/cmake.cxx: ENH: fix new incremental link stuff to work with nmake @ files 2008-01-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2008-01-01 17:19 hoffman * Source/cmake.cxx: ENH: remove warning 2008-01-01 15:13 hoffman * Modules/CMakeVCManifest.cmake, Modules/CMakeVCManifestExe.cmake, Modules/Platform/Windows-cl.cmake, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmake.cxx, Source/cmake.h: ENH: add ability to have manifest files and incremental linking with make and nmake 2008-01-01 10:54 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Fix SimpleInstall test to work with new dependency of package on all. 2008-01-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-31 17:29 david.cole * Source/cmGlobalGenerator.cxx: ENH: Add a dependency from the PACKAGE target to the ALL target so that "make package" will first (essentially) do a "make all"... A similar chunk of code already existed for the make install target. This change makes it easy to build an installer package as part of a dashboard run simply by setting CTEST_BUILD_TARGET to "package". 2007-12-31 11:25 king * Source/: cmDependsFortran.cxx, cmDependsFortran.h: ENH: Changes based on patch from Maik Beckmann to copy fortran modules to timestamps only if they have really changed. This optimization should reduce extra rebuilds caused by dependencies on modules whose providers have recompiled but whose interfaces have not changed. 2007-12-31 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-30 16:34 king * Modules/Platform/SunOS-SunPro-Fortran.cmake: ENH: Add SunPro fortran module flags on SunOS. 2007-12-30 16:11 king * Modules/Platform/Linux-GNU-Fortran.cmake, Modules/Platform/Linux-SunPro-Fortran.cmake, Modules/Platform/Linux-ifort.cmake, Source/cmDependsFortran.cxx, Source/cmDependsFortran.h, Source/cmDocumentVariables.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmTarget.cxx, Tests/Fortran/CMakeLists.txt, Tests/Fortran/Executable/CMakeLists.txt, Tests/Fortran/Library/CMakeLists.txt: ENH: Implemented Fortran module output directory and search path flags. 2007-12-30 12:23 king * Source/cmDependsFortran.cxx: ENH: Simplify Fortran module proxy dependency implementation by removing unnecessary target. 2007-12-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-29 11:53 alex * Source/cmDocumentation.cxx: BUG: create modules documentation not only for the first documentation creation step in cmake (the set ModulesFound wasn't cleared at the beginning of each PrintDocumentation() function, so when documentation for modules was executed the second time, ModulesFound already contained all modules and so no module was documented) Alex 2007-12-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-28 23:07 king * Source/cmLocalGenerator.cxx, Tests/ExternalOBJ/CMakeLists.txt, Tests/MakeClean/ToClean/CMakeLists.txt: BUG: Do not remove the source file extension when computing an object file name. This addresses bug #6169. If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected. 2007-12-28 23:07 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmStandardIncludes.h: ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements. 2007-12-28 22:53 king * Tests/Fortran/CMakeLists.txt: BUG: Disable test of fortran module dependencies except on GNU for now. A module path feature is needed for Sun support because it uses -M instead of -I for the module search path. 2007-12-28 22:29 king * Source/cmDependsFortran.cxx: COMP: Fix uninitialized variable and unused parameter warnings. 2007-12-28 14:59 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Simplified and moved link script implementation up from cmMakefileLibraryTargetGenerator to cmMakefileTargetGenerator and use for cmMakefileExecutableTargetGenerator too. This addresses bug #6192. 2007-12-28 13:20 hoffman * CMakeLists.txt, ChangeLog.manual, MacInstallReadme.txt: ENH: add some descriptive text for mac installer 2007-12-28 12:01 king * Source/cmFindBase.cxx: ENH: Make FIND_* commands look in the CMAKE_PREFIX_PATH directories directly after looking in each command's specific subdirectory (/include, /lib, or /bin). This may be useful on Windows where projects could be installed in a single directory. See issue #4947. 2007-12-28 11:50 king * Tests/Fortran/: CMakeLists.txt, Executable/CMakeLists.txt, Executable/main.f90, External/CMakeLists.txt, External/a.f90: ENH: Add tests of Fortran module dependencies across directories and on external modules. Tests based on cases provided by Maik in issue #5809. 2007-12-28 11:50 king * Source/: cmDependsFortran.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: Add per-language clean rule generation to cmake_clean.cmake files to include cmake_clean_.cmake files generated by dependency scanning. Add Fortran module file and timestamp cleaning rules. 2007-12-28 11:49 king * Source/: cmDepends.cxx, cmDepends.h, cmDependsFortran.cxx, cmDependsFortran.h: ENH: Implement Fortran module dependencies across targets and directories. - See issue #5809 - Keep information about all sources in the target until deps are written - Create a fortran.internal file after scanning that lists modules provided - Load fortran.internal files from linked targets to find modules - Search the include path for external modules - Create file-level deps on in-project module timestamps or external mods 2007-12-28 11:49 king * Source/cmMakefileTargetGenerator.cxx: ENH: Store in DependInfo.cmake files a list of the corresponding files for the targets to which a target links. This is useful for locating Fortran modules provided by linked targets. See issue #5809. 2007-12-28 09:49 hoffman * ChangeLog.manual, Modules/CPack.Info.plist.in, Modules/CPack.cmake: ENH: move over mac package change 2007-12-28 09:34 hoffman * CMakeLists.txt, ChangeLog.manual: ENH: ooppss there is no 2.4.9 2007-12-28 09:11 hoffman * CMakeLists.txt, ChangeLog.manual: ENH: make a new version number 2007-12-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-26 16:57 david.cole * CMakeCPackOptions.cmake.in, Modules/CPack.Info.plist.in, Modules/CPack.cmake: ENH: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE. 2007-12-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-24 11:15 king * Source/cmGlobalGenerator.cxx: COMP: Fix build on VS6. 2007-12-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-23 19:03 king * Source/cmLinkDirectoriesCommand.h: ENH: Clarify documentation of link_directories command for bug#6199. 2007-12-23 15:03 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmTarget.h: ENH: Moved global inter-target dependency analysis and cycle-prevention code up from cmGlobalUnixMakefileGenerator3 to cmGlobalGenerator. Simplified cmGlobalUnixMakefileGenerator3 to use it. Later other generators may be modified to use it also. 2007-12-23 13:16 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Revert previous change until it works on all OSX versions. 2007-12-23 13:13 king * Source/cmGlobalVisualStudio71Generator.cxx: BUG: Disable static lib deps until a global cycle removal can be done. 2007-12-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-22 22:41 king * Source/: cmDepends.cxx, cmDepends.h, cmDependsFortran.cxx, cmDependsFortran.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Convert cmDepends object interface to scan an entire target at once. 2007-12-22 14:17 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Simplify target-level dependencies by depending only on directly linked targets instead of those chained. 2007-12-22 13:08 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: BUG: Support cyclic dependencies among STATIC libraries by removing one from the generated Makefile rules. 2007-12-22 10:15 miguelf * Modules/FindwxWidgets.cmake: STYLE: Refactored common libs into a variable, modified comments, and cleaned use of monolithic build. 2007-12-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-21 20:19 king * Tests/BuildDepends/CMakeLists.txt: BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration. 2007-12-21 18:32 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: COMP: Remove unused parameter of method. 2007-12-21 16:46 ibanez * Source/kwsys/SystemTools.cxx: BUG: Fix bug#5590. When converting a relative path between two full paths on different windows drive letters do not create a ../../d:/foo/bar path and just return the full path to the destination. 2007-12-21 15:04 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio8Generator.h, cmGlobalVisualStudioGenerator.cxx, cmGlobalVisualStudioGenerator.h, cmGlobalXCodeGenerator.cxx: ENH: Make static library targets depend on targets to which they "link" for the purpose of build ordering. This makes the build order consistent for static and shared library builds. It is also useful when custom command inputs of one library are generated as custom commands outputs of another. It may be useful in the future for Fortran module dependencies. Implemented for Makefiles, Xcode, and VS 8 and above. Added sample code to do it for VS 7.1 and below, but left it disabled with comments explaining why. Likely it will never be needed on VS 7.1 or below anyway. 2007-12-21 13:10 king * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Now that custom targets have dependencies their DependInfo files should be listed in Makefile.cmake. 2007-12-21 12:22 king * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmake.cxx, Tests/BuildDepends/CMakeLists.txt, Tests/BuildDepends/Project/CMakeLists.txt, Tests/BuildDepends/Project/dep_custom.cxx, Tests/BuildDepends/Project/zot.cxx: ENH: Add a depends check step to custom targets. Add support for the IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global. 2007-12-21 11:00 king * Source/cmMakefileTargetGenerator.cxx: BUG: The dependency scanning target should be symbolic. 2007-12-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-20 20:59 ewing * Modules/: FindFreeType.cmake, FindGDAL.cmake, FindGIFLIB.cmake, FindLua50.cmake, FindLua51.cmake, FindOpenAL.cmake, FindOpenThreads.cmake, FindPhysFS.cmake, FindProducer.cmake, FindQuickTime.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake, FindSDL_ttf.cmake, Findosg.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake, FindosgManipulator.cmake, FindosgParticle.cmake, FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake: BUG: Fixed modules to set FOO_FOUND when both headers and libraries are found. BUG: FindSDL now has flag it responds to so it will not find/link against SDLmain. This is required to build libraries instead of applications since they don't have main(). ENH: All modules have a predictable search order, where environmental variables are searched before system paths. This is designed to make automation easier for those that need to automatically build projects without intervention but may be using alternative install locations for isolated testing. ENH: New modules for OpenSceneGraph, Freetype, GDAL, Lua, QuickTime, GIFLIB, Producer, OpenThreads. STYLE: Added documentation explaining peculuar SDL_LIBRARY_TEMP variable in SDL module when library find is incomplete. 2007-12-20 17:49 alex * Source/: cmAuxSourceDirectoryCommand.h, cmBuildCommand.h, cmCreateTestSourceList.h, cmExportCommand.h, cmExportLibraryDependencies.h, cmOptionCommand.h, cmSetCommand.h: STYLE: make formatting of help a bit more consistent Alex 2007-12-20 10:05 martink * Source/cmFunctionCommand.cxx: BUG: fix issue with CMAKE_CURENT_LIST_FILE reporting in funcitons 2007-12-20 09:35 king * Source/cmSystemTools.h: COMP: Fixed error on HP due to newline macro. 2007-12-20 09:27 king * Source/cmLocalGenerator.cxx: COMP: Fixed data loss warning. 2007-12-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-19 17:54 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix make depend target in subdirectory Makefile interface. 2007-12-19 17:15 king * Source/: cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Enabled color printing of "Scanning dependencies of target ..." message. 2007-12-19 16:53 alex * Source/cmOptionCommand.h: ENH: options() is now scriptable, set() is scriptable too, I don't see a big difference Alex 2007-12-19 16:48 clinton * Modules/FindQt4.cmake: ENH: Better QT4_EXTRACT_OPTIONS macro. 2007-12-19 16:46 alex * Source/cmMakefile.cxx: STYLE: nicer error message: "Command options() is not scriptable" is IMO better to understand than "Command options not scriptable" (with all uppercase commands it was easier to see) Alex 2007-12-19 16:36 king * Source/: cmDepends.cxx, cmDepends.h, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx, cmake.cxx: ENH: Moved dependency integrity check from CheckBuildSystem over to a per-target UpdateDependencies step. This greatly reduces the startup time for make processes and allows individual targets to be built without a global dependency check. 2007-12-19 16:35 king * Source/cmDependsFortran.cxx: BUG: cmDependsFortran should store the source file as a dependency of the object file when scanning for dependencies. 2007-12-19 14:28 king * Source/: cmDependsFortran.cxx, cmDependsFortran.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Pass target directory to cmDependsFortran scanning instances. 2007-12-19 11:51 king * Source/cmake.cxx: ENH: Improved speed of cmake::CheckBuildSystem when checking build system outputs versus dependencies. Instead of doing an O(m*n) comparison of every pair, just locate the oldest output and the newest input and compare them which is now O(m+n). 2007-12-19 11:06 king * Source/cmFindBase.cxx, Tests/FindPackageTest/CMakeLists.txt: ENH: Renamed CMAKE_FIND_PREFIX_PATH to CMAKE_PREFIX_PATH for brevity and consistency with other find path variable names. 2007-12-19 10:43 hoffman * Source/: cmListCommand.cxx, cmListCommand.h: ENH: merge in list find to support Findqt 2007-12-19 10:34 king * Source/cmFindBase.cxx: ENH: Added CMAKE_SYSTEM_PREFIX_PATH variable. 2007-12-19 03:56 alex * Source/: cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h: STYLE: fix warnings: comparison signed/unsigned, unused variable Alex 2007-12-19 03:55 alex * Modules/CMakeFindBinUtils.cmake: BUG: make CMAKE_USE_CHRPATH a simple variable instead an option, since an option is not scriptable and so breaks the toolchain test or maybe option() should be made scriptable ? Alex 2007-12-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-18 17:50 alex * Modules/CMakeFindBinUtils.cmake, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: add support for chrpath, so the RPATH in ELF files can be changed when installing without having to link the target again -> can save a lot of time chrpath is handled very similar to install_name_tool on the mac. If the RPATH in the build tree file is to short, it is padded using the separator character. This is currently disabled by default, it can be enabled using the option CMAKE_USE_CHRPATH. There are additional checks whether it is safe to enable it. I will rework them and use FILE(READ) instead to detect whether the binaries are actually ELF files. chrpath is available here http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/ or kde svn (since a few days): http://websvn.kde.org/trunk/kdesupport/chrpath/ Alex 2007-12-18 15:58 hoffman * Source/: cmGlobalVisualStudio9Generator.cxx, cmGlobalVisualStudio9Generator.h, cmGlobalVisualStudio9Win64Generator.cxx, cmGlobalVisualStudio9Win64Generator.h: ENH: merge from main tree 2007-12-18 15:02 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindPkgConfig.cmake, Modules/Platform/Linux-ifort.cmake, Source/CMakeLists.txt, Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx, Utilities/cmtar/encode.c: ENH: merge in from main tree 2007-12-18 14:50 clinton * Modules/FindQt4.cmake: ENH: should define QT_DLL instead of QT_SHARED 2007-12-18 13:05 clinton * Modules/FindQt4.cmake: ENH: Improve documentation of new features. 2007-12-18 10:02 hoffman * Modules/FindBoost.cmake: BUG: fix for bug 5464 better find boost for windows 2007-12-18 09:57 hoffman * Source/cmGetSourceFilePropertyCommand.cxx, Tests/COnly/CMakeLists.txt: BUG: fix for bug 6172 add get source file prop LANGUAGE 2007-12-18 09:50 king * Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio7Generator.cxx, Tests/CustomCommand/CMakeLists.txt: ENH: Implemented generation of display for pre-build, pre-link, and post-build custom command comments during the build. This addresses issue #5353. 2007-12-18 08:53 hoffman * Source/cmGlobalVisualStudio8Generator.cxx: STYLE: fix line len 2007-12-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-17 21:37 hoffman * Modules/FindPkgConfig.cmake: BUG: fix for 5722 2007-12-17 19:48 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Remove stray debugging message. 2007-12-17 18:38 king * Source/cmLocalVisualStudioGenerator.cxx: BUG: When the working directory for a custom command is on another drive letter we need to change to that drive letter after changing its working directory. Fixes issue #6150. 2007-12-17 17:57 hoffman * Modules/TestForANSIForScope.cmake: STYLE: fix doc string 2007-12-17 17:55 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: BUG: Fixed memory-leaks in fortran parser. 2007-12-17 17:55 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: BUG: Fix parsing of #include preprocessor directives. 2007-12-17 17:54 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Fortran include path is the same as C and CXX include paths. 2007-12-17 17:50 hoffman * Utilities/cmtar/encode.c: BUG: fix for bug 5837, libtar and long path names 2007-12-17 17:40 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindPkgConfig.cmake, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/UseQt4.cmake, Source/cmDependsFortran.cxx, Source/cmInstallCommand.cxx, Source/cmMakefile.cxx, Source/cmake.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/SystemTools.hxx.in.bak: ENH: move changes from main tree 2007-12-17 17:28 hoffman * Source/cmGlobalVisualStudio8Generator.cxx: BUG: fix for bug 5931 add some more flags for the gui 2007-12-17 17:22 hoffman * Modules/FindJNI.cmake: BUG: fix for 5933, look for java in more reg entries 2007-12-17 17:05 alex * Modules/CTest.cmake: STYLE: use IF(NOT ) instead of IF() ELSE() with empty IF() branch Alex 2007-12-17 16:15 alex * Docs/cmake-syntax.vim: STYLE: apply patch from #6166, better cmake syntax highlighting in vim, seems to fix the issues mentioned in the bug report and the rest also still seems to be ok Alex 2007-12-17 15:27 hoffman * Source/CPack/cmCPackPackageMakerGenerator.cxx: ENH: try to fix dashboard 2007-12-17 15:20 king * Source/cmInstallCommand.cxx: BUG: Apply patch from issue #6006. 2007-12-17 14:43 hoffman * Source/: CMakeLists.txt, cmGlobalVisualStudio9Win64Generator.cxx, cmGlobalVisualStudio9Win64Generator.h, cmake.cxx: ENH: add support for vs 9 win64 2007-12-17 12:04 hoffman * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeFortranInformation.cmake: BUG: fix for bug 6167 get rid of extra space in flags 2007-12-17 10:12 king * Source/cmTarget.cxx, Tests/Properties/CMakeLists.txt: ENH: Added SOURCES property to targets. This is based on patch from issues #6137. 2007-12-17 10:12 king * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: Added cmSourceFile::GetLocation method to get a read-only reference to the Location ivar. This partially addresses issue #6137. 2007-12-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-16 07:56 alex * Source/cmStringCommand.cxx: BUG: fix STRING(STRIP ...) if no non-space is contained in the input string, this should fix the dashboard Alex 2007-12-16 05:49 alex * Modules/FindQt4.cmake: STYLE: some whitespace syncing with FindQt4.cmake in KDE svn Alex 2007-12-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-15 16:03 king * Modules/CMakeDetermineCompilerId.cmake: BUG: Need to strip leading and trailing whitespace off the compiler 'ARG1'. This fixes bug#6141. 2007-12-15 15:36 king * Tests/Fortran/: CMakeLists.txt, Library/CMakeLists.txt, Library/a.f90, Library/b.f90, Library/main.f90: ENH: Added test for Fortran90 modules in subdirectories. 2007-12-15 15:35 king * Source/cmDependsFortran.cxx: ENH: Make module timestamps work for modules in subdirectories. Make sure timestamps for all modules provided by a target are created when the target is done building. 2007-12-15 14:16 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: STYLE: Removed trailing whitespace. 2007-12-15 14:14 king * Source/cmFindBase.cxx: STYLE: Fixed terminology to avoid confusion between roots and prefixes. 2007-12-15 14:13 king * Source/cmake.cxx: STYLE: Fixed line-too-long. 2007-12-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-14 20:46 hoffman * Source/: cmFindLibraryCommand.cxx, cmFindPathCommand.cxx: BUG: fix for bug 6039 LIB and INCLUDE not used for find stuff 2007-12-14 20:31 hoffman * Source/: cmDependsC.cxx, cmDependsFortran.cxx, cmMakeDepend.cxx, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: BUG: fix for bug 6136 make sure includes are not directories 2007-12-14 16:56 clinton * Modules/FindQt4.cmake: ENH: Add OPTIONS argument to some Qt4 macros. Addresses #6125. 2007-12-14 15:50 hoffman * Source/cmListCommand.h: BUG: fix bug 6081 2007-12-14 14:58 hoffman * Source/CPack/cmCPackNSISGenerator.cxx: BUG: fix for 6086 uninstall icon not set right 2007-12-14 12:51 hoffman * Modules/FindPkgConfig.cmake: BUG: fix for 6117, fix for second run 2007-12-14 12:49 hoffman * Source/cmCreateTestSourceList.h: STYLE: line length 2007-12-14 11:00 hoffman * Utilities/cmcurl/curl/mprintf.h: BUG: fix for bug 6054 remove some warnings 2007-12-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-13 18:30 king * Source/cmake.cxx: COMP: Add missing return value from Bill's change. 2007-12-13 17:56 king * Source/: cmCTest.cxx, cmCTest.h, cmDumpDocumentation.cxx, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h, cmakemain.cxx, ctest.cxx, CPack/cpack.cxx, CTest/cmCTestScriptHandler.cxx, CursesDialog/ccmake.cxx, QtDialog/CMakeSetup.cxx: ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information. 2007-12-13 17:39 king * Source/cmake.cxx: BUG: Fixed typo introduced by previous commit. 2007-12-13 15:54 hoffman * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx, cmake.cxx, cmake.h: ENH: fix for bug 6102, allow users to change the compiler 2007-12-13 15:42 hoffman * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix indent 2007-12-13 15:41 hoffman * Source/cmCreateTestSourceList.h: ENH: fix docs 2007-12-13 15:11 hoffman * Source/cmakemain.cxx: ENH: fix docs 2007-12-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-12 13:25 clinton * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Fix logic to accept drop events. 2007-12-12 07:26 hoffman * Modules/FindPerlLibs.cmake: BUG: Fix bug 6106 FindPerlLibs.cmake missing escaped $ 2007-12-12 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-11 22:28 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindJNI.cmake, Modules/FindPerlLibs.cmake, Modules/InstallRequiredSystemLibraries.cmake, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmTryCompileCommand.cxx: ENH: changes for RC5 2007-12-11 12:57 clinton * Modules/FindQt4.cmake: ENH: Correctly find UiTools library on Mac w/ binary install of Qt. Fixes #4554. 2007-12-11 11:36 king * Source/kwsys/: CMakeLists.txt, String.c, String.h.in: ENH: Added C String utilities to KWSys. Implemented strcasecmp and strncasecmp. 2007-12-11 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-10 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-09 19:58 hoffman * Source/cmLocalVisualStudio7Generator.h: STYLE: fix line len error 2007-12-09 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-08 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-07 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-06 22:38 hoffman * Tests/COnly/CMakeLists.txt: ENH: change to libs that are not real 2007-12-06 16:43 pppebay * Source/kwsys/SystemTools.cxx: BUG: fixed an incomplete regexp 2007-12-06 14:07 clinton * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Prevent mapping of Configure to Preferences when Qt merges menu items with the standard Mac OS X application menu. 2007-12-06 09:56 hoffman * Source/cmCoreTryCompile.cxx: ENH: for try compile do not put the rules to rebuild the project with cmake inside it. This has caused infinite loops of builds in some cases, and it is just a waste of time anyway. 2007-12-06 08:40 hoffman * Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Tests/COnly/CMakeLists.txt: BUG: fix for bug 5455, handle nodefaultlib with more than one lib 2007-12-06 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-05 13:13 king * Source/kwsys/SystemTools.cxx: COMP: Remove reference to vtksys. The unmangled kwsys name should be used in this source. 2007-12-05 12:24 pppebay * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: added two functions for URL parsing: 1. an "abridged" version that separates protocol from dataglom in an expression with the form protocol://dataglom 2. a "full" version that parses protocol, username, password, hostname, port, and path in a standard URL (all of these variables are optional, except for protocol and hostname). 2007-12-05 10:40 hoffman * CMakeLists.txt: ENH: move up to rc 4 2007-12-05 10:40 hoffman * ChangeLog.manual, Modules/NSIS.template.in: ENH: move fix for nsis to branch 2007-12-05 09:17 hoffman * Source/cmDependsFortran.cxx: STYLE: fix line len 2007-12-05 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-04 17:14 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmTarget.cxx: ENH: merge in fixes from main tree 2007-12-04 17:00 hoffman * Source/kwsys/SystemTools.cxx: ENH: remove warning 2007-12-04 16:09 hoffman * Source/cmDependsFortran.cxx: ENH: do not depend on touch being on the system 2007-12-04 16:03 hoffman * Source/: cmake.cxx, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: add a touch -E command to cmake 2007-12-04 10:43 martink * Source/: cmFunctionCommand.cxx, cmFunctionCommand.h: COMP: fix style and work around old compilers 2007-12-04 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-03 20:44 hoffman * DartLocal.conf.in: ENH: remove superior dean i, no longer uses borland 2007-12-03 13:35 martink * Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx, Tests/CMakeLists.txt: ENH: add functions and raise scope 2007-12-03 12:47 martink * Source/: cmEndFunctionCommand.cxx, cmEndFunctionCommand.h: ENH: add functions 2007-12-03 12:43 martink * Source/cmFunctionCommand.cxx, Source/cmFunctionCommand.h, Source/cmRaiseScopeCommand.cxx, Source/cmRaiseScopeCommand.h, Tests/FunctionTest/CMakeLists.txt, Tests/FunctionTest/functionTest.c: ENH: add functions and raise scope to cmake 2007-12-03 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-02 11:51 hoffman * DartLocal.conf.in: ENH: fix up some stuff 2007-12-02 09:15 miguelf * Modules/FindwxWidgets.cmake: STYLE: Clarified usage documentation for cmake --help-module FindwxWidgets. 2007-12-02 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-12-01 22:51 miguelf * Modules/FindwxWidgets.cmake: STYLE: Use LIST(APPEND ...) instead of SET(...) 2007-12-01 20:58 miguelf * Modules/FindwxWidgets.cmake: ENH: Added search entry for the new release: wxWidgets-2.8.7. 2007-12-01 20:35 miguelf * Modules/FindwxWidgets.cmake: ENH: Added support for selecting different configurations in UNIX_STYLE: debug/release, static/shared, unicode/ansi, and regular/universal. 2007-12-01 19:30 miguelf * Modules/FindwxWidgets.cmake: ENH: Added macro support for compiling xrc resources to cpp code. 2007-12-01 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-30 19:11 clinton * Modules/UseQt4.cmake: ENH: Define QT_NO_DEBUG when building with release Qt libs. Fixes #6104. 2007-11-30 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-29 10:23 martink * Source/cmDocumentation.cxx: BUG: fix single module generation 2007-11-29 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-28 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-27 15:59 hoffman * Source/cmDocumentationFormatterHTML.cxx: ENH: better output for qt assistant 2007-11-27 01:04 clinton * Source/QtDialog/CMakeSetup.cxx: ENH: Add handling of --help and related arguments. 2007-11-27 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-26 17:57 alex * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: STYLE: restructure OutputLinkLibraries() a bit, so that new there is a function which returns the RPATH, so e.g. the install rpath can be queried when the command for the build rpath is created. This is a first step for supporting chrpath. Alex 2007-11-26 13:21 barre * CMakeLogo.gif: ENH: fancier logo 2007-11-26 10:01 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed computation of 'object' name for MACOSX_PACKAGE_LOCATION source files. 2007-11-26 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-25 17:11 hoffman * Tests/CMakeLists.txt: BUG: try to fix configure error on dashboard 2007-11-25 08:20 alex * Modules/FindEXPAT.cmake: BUG: use the correct variable for checking the success (#6062) Alex 2007-11-25 07:45 alex * Source/: cmExtraCodeBlocksGenerator.cxx, cmExtraCodeBlocksGenerator.h: STYLE: move the code for generating the XML for one target in a separate function AppendTarget() -add "all" target -some syncing with the Eclipse generator Alex 2007-11-25 07:40 alex * Source/cmExtraEclipseCDT4Generator.cxx: ENH: add the "clean" target don't add *all existing* targets as Eclipse targets, but only a subset (the same as for CodeBlocks), e.g. exclude the subtargets of Experimental, and also edit_cache, ccmake doesn't work from within an IDE Alex 2007-11-25 07:34 alex * Source/: cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h: ENH: add GetCleanTargetName() which returns "clean" for makefiles, so it can be used by the eclipse generator Alex 2007-11-25 06:21 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: also add the experimental, nightly, package_source, preinstall and rebuild_cache targets Alex 2007-11-25 05:26 alex * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: add some comments Alex 2007-11-25 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-24 03:51 alex * Source/: cmQTWrapCPPCommand.h, cmQTWrapUICommand.h: STYLE: QT -> Qt in the docs Alex 2007-11-24 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-23 20:45 alex * CMakeLists.txt, Modules/Platform/syllable.cmake, Source/kwsys/SystemTools.cxx, Source/kwsys/testDynamicLoader.cxx, Tests/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt: ENH: add support for the Syllable OS (http://www.syllable.org) major issues: -access() doesn't return false for an empty string (#ifdefed in cmake) -dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable) -the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow -RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed -the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable Alex 2007-11-23 14:53 king * Source/cmMakefileTargetGenerator.cxx: STYLE: Fixed line-too-long. 2007-11-23 11:30 alex * Source/cmQTWrapCPPCommand.cxx: STYLE: QT is quicktime, Qt is Qt, as pointed out by David Faure Alex 2007-11-23 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-22 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-21 17:09 david.cole * DartLocal.conf.in: STYLE: Updated and alphabetized expected builds list. Many new Mac Leopard entries from Rogue -- thanks guys! 2007-11-21 15:33 david.cole * Templates/CMakeLists.txt: BUG: Install the vsmacros file. 2007-11-21 13:37 king * Source/cmMakefileTargetGenerator.cxx: ENH: Change compiler working directory to the local build tree location when compiling object files. This simplifies the compiler command line and the usage of the .s and .i targets. It also helps fortran compilers put their modules in the correct place. 2007-11-21 12:55 king * CMakeLists.txt: BUG: Fixed construction of CMake_VERSION_DATE to use KWSys DateStamp feature now that cmVersion.cxx is not updated nightly anymore. 2007-11-21 10:07 king * Source/cmCTest.cxx: BUG: Do not require a nightly start time for an experimental or continuous test model. 2007-11-21 08:59 king * Source/cmTarget.cxx: BUG: For imported target directory, do not return pointer to freed memory. 2007-11-21 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-20 11:18 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Need to honor HEADER_FILE_ONLY source file property and exclude the source from the build. 2007-11-20 11:10 king * Source/: cmCallVisualStudioMacro.cxx, cmGlobalGenerator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio9Generator.cxx, cmGlobalVisualStudioGenerator.cxx: STYLE: Fixed line-too-long. COMP: Fixed warnings about lossy conversions. 2007-11-20 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-19 14:27 king * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex_nobuild.cxx, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex_nobuild.cxx, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex_nobuild.cxx: ENH: Adding test for using HEADER_FILE_ONLY to avoid building a .cxx file. 2007-11-19 14:27 king * Source/cmSourceFile.cxx: BUG: Do not force HEADER_FILE_ONLY off if the user has already set it on. 2007-11-19 14:22 king * Source/cmake.cxx: COMP: Do not build VS-specific code when generators are not included. 2007-11-19 14:08 clinton * Source/QtDialog/CMakeLists.txt: ENH: Add install command for executable. 2007-11-19 13:45 king * Source/: cmake.cxx, cmake.h: ENH: Added call to StopBuild VS macro when projects fail to regenerate during a build. 2007-11-19 13:44 king * Source/: cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudioGenerator.cxx, cmGlobalVisualStudioGenerator.h: ENH: Renamed cmGlobalVisualStudioGenerator::CallVisualStudioReloadMacro method to CallVisualStudioMacro and added arguments to select which macro to call and optionally pass the solution file name. Added option to call to new StopBuild macro. Updated logic for replacing the macro file in user directories when the distributed version is newer. 2007-11-19 13:44 king * Templates/CMakeVSMacros1.vsmacros: ENH: Added StopBuild macro. 2007-11-19 13:42 king * Source/cmakemain.cxx: BUG: Always return positive integers to the OS on error. Windows error encoding is confused by negative return values. 2007-11-19 13:42 king * Source/cmListFileCache.cxx: BUG: ParseFile should return false if there was a parse error. 2007-11-19 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-18 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-17 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-16 21:18 clinton * Source/QtDialog/AddCacheEntry.cxx: ENH: Remove debug printf 2007-11-16 13:54 david.cole * Source/cmGlobalVisualStudioGenerator.cxx: ENH: Add more conditions for attempting to call the new Visual Studio macros. Only try to call them if the vsmacros file exists and is registered. Count VS instances again after warning about running instances. If user closed them in response to the warning, it's OK to register the macros now rather than waiting till the next CMake generate. 2007-11-16 11:32 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: add support for CDash bullseye coverage 2007-11-16 11:01 king * Source/: cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Fix exception handling flag translation to be specific to each VS version. This allows /EHa to be handled correctly for VS 2003. 2007-11-16 10:40 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: more robust search filter. 2007-11-16 07:01 david.cole * Source/CMakeLists.txt, Source/cmCallVisualStudioMacro.cxx, Source/cmCallVisualStudioMacro.h, Source/cmGeneratedFileStream.cxx, Source/cmGeneratedFileStream.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalVisualStudio9Generator.cxx, Source/cmGlobalVisualStudio9Generator.h, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmGlobalVisualStudioGenerator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmake.cxx, Source/kwsys/SystemTools.cxx, Templates/CMakeVSMacros1.vsmacros: ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded. 2007-11-16 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-15 13:14 hoffman * Modules/Platform/Darwin.cmake: ENH: add support for env var and better default for CMAKE_OSX_SYSROOT 2007-11-15 00:01 king * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp 2007-11-14 23:30 clinton * Source/QtDialog/QCMakeCacheView.cxx: COMP: Fix warning. 2007-11-14 21:17 king * bootstrap, Source/cmVersion.cxx: ENH: Simplified CMake version information using KWSys DateStamp feature. Reduced duplicate code in bootstrap script. 2007-11-14 18:08 clinton * Modules/FindQt4.cmake: ENH: Fix case of windows library names to support cross compiling w/ Qt on case sensitive platforms. 2007-11-14 00:01 king * Source/kwsys/kwsysDateStamp.cmake: daily version number 2007-11-13 23:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-13 16:25 alex * Source/QtDialog/CMakeSetupDialog.cxx: ENH: add completer for the source and binary dir lineedits Clinton: do I actually have to create separate models for each completer, and a separate completer for each widget, or could the models/completers be used for multiple widgets ? Alex 2007-11-13 12:53 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: single click can start editing cache values. 2007-11-13 11:21 martink * Tests/Tutorial/Step6/CMakeLists.txt: ENH: switch to new install commands to match book text 2007-11-13 11:18 clinton * Source/QtDialog/QCMakeCacheView.cxx: BUG: The search is set to apply to all columns, but in Qt 4.2, that breaks the search entirely. Search on the first column only when using Qt 4.2. 2007-11-13 11:11 martink * Tests/Tutorial/: Step3/CMakeLists.txt, Step3/MathFunctions/CMakeLists.txt, Step4/CMakeLists.txt, Step4/MathFunctions/CMakeLists.txt, Step5/CMakeLists.txt, Step5/MathFunctions/CMakeLists.txt, Step6/CMakeLists.txt, Step6/MathFunctions/CMakeLists.txt, Step7/CMakeLists.txt, Step7/MathFunctions/CMakeLists.txt: ENH: switch to new install commands to match book text 2007-11-13 00:33 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx: ENH: support specifying build or source directory at command line. 2007-11-13 00:17 clinton * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Allow clicking anywhere in field to toggle check boxes. 2007-11-13 00:01 king * Source/kwsys/kwsysDateStamp.cmake: daily version number 2007-11-12 23:59 clinton * Source/QtDialog/: AddCacheEntry.cxx, AddCacheEntry.h: STYLE: add license. 2007-11-12 23:54 clinton * Source/QtDialog/: AddCacheEntry.cxx, AddCacheEntry.h, AddCacheEntry.ui, CMakeLists.txt, CMakeSetup.qrc, CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, Plus16.png, QCMake.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Add ability to add cache entries (even before first configure). 2007-11-12 23:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-12 22:36 hoffman * Source/cmGlobalGenerator.cxx: ENH: add f stuff to avoid warnings 2007-11-12 22:33 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: add guess progress for first time configuring a project. 2007-11-12 18:22 king * Source/kwsys/kwsysDateStamp.cmake: daily version number 2007-11-12 18:22 king * Source/kwsys/: DateStamp.h.in, kwsysDateStamp.py: ENH: Created better names and a more convenient set of version date stamp macros. 2007-11-12 18:06 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH: Fix layout with Qt 4.2. BUG: Fix help comments to match what this GUI does. 2007-11-12 17:51 clinton * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Fix prompt for changes if they haven't been saved. 2007-11-12 17:41 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui: BUG: Fix pause at shutdown. ENH: Remove interrupt button and make configure/generate turn to stop during runs. ENH: Add text to remove cache entry button. 2007-11-12 17:38 king * Source/kwsys/CMakeLists.txt: BUG: Fixed typo in previous commit. 2007-11-12 17:34 king * Source/kwsys/: CMakeLists.txt, DateStamp.h.in, kwsysDateStamp.cmake, kwsysDateStamp.py: ENH: Adding DateStamp feature to KWSys. This provides a header file giving preprocessor access to a dated version. The 'datestamp' will be updated automatically every day by a script. 2007-11-12 16:58 king * Source/cmake.cxx: BUG: Fix messages for time stamp file recreation. 2007-11-12 15:42 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: Converted per-vcproj timestamp to a single directory-level CMakeFiles/generate.stamp file shared by all targets in each directory. This avoids having all targets overwrite each others timestamp check rules and instead has one single rule. 2007-11-12 13:54 clinton * Source/QtDialog/: CMakeLists.txt, CMakeSetupDialog.ui: ENH: Allow build with Qt 4.2. 4.3 dependence fell out when errors go to output window instead of message box blocking cmake thread. 2007-11-12 13:52 miguelf * Modules/FindwxWidgets.cmake: BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007). 2007-11-12 12:04 martink * Source/cmCPluginAPI.cxx: BUG: better setup of properties for loaded commands 2007-11-11 23:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-10 23:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-10 17:31 king * Tests/Wrapping/: CMakeLists.txt, fakefluid.cxx: BUG: Fixed fake generation of files to behave more like fluid. 2007-11-10 11:36 clinton * Source/QtDialog/: CMakeSetup.qrc, CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, Delete16.png, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Re-arrange UI a bit. BUG: Properly update when values that changed since the last configure. 2007-11-10 08:15 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmake.cxx, cmake.h: ENH: Allow VS 7 project Rebuild and Solution Rebuild to work without re-running CMake for every project during the rebuild. 2007-11-10 08:14 king * Source/cmDocumentVariables.cxx: STYLE: Fixed line-too-long for undocumented variable entries. 2007-11-10 06:54 david.cole * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Need extra regex to parse sw_vers output on Mac OSX 10.2 (and presumably earlier) to avoid running PackageMaker during the SimpleInstall* tests. See comment in CMake/Tests/SimpleInstall/CMakeLists.txt for more info. 2007-11-09 23:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-09 15:18 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h: BUG: Don't prompt for unsaved changes if no changes were made. ENH: Error messages go to output window instead of message boxes. 2007-11-09 15:08 king * Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Templates/CMakeWindowsSystemConfig.cmake: ENH: Removed dependency on Templates/CMakeWindowsSystemConfig.cmake which is no longer used. Also removed the file itself. 2007-11-09 12:18 hoffman * Modules/InstallRequiredSystemLibraries.cmake: ENH: change name 2007-11-09 12:05 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: Converted vcproj file generation to use cmGeneratedFileStream for atomic replacement. Replaced the vcproj.cmake copy of the file with a simple vcproj.stamp timestamp file to preserve previous rerun-without-reload behavior. 2007-11-09 01:14 clinton * Source/QtDialog/QCMakeCacheView.cxx: ENH: Add completion to editor for files and file paths. 2007-11-08 23:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-08 20:37 hoffman * Modules/InstallRequiredSystemLibraries.cmake: ENH: add ability to use your own install directories 2007-11-08 16:47 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, QCMake.cxx: BUG: Don't enable generate if configure completed with errors. ENH: Allow build w/ Qt configured with no STL support. 2007-11-08 15:54 david.cole * Source/QtDialog/CMakeSetup.ico, Utilities/Release/CMakeLogo.ico: ENH: Put black outline around all resolutions of the new ico files. Looks better on a dark background than the lighter outline... 2007-11-08 14:31 hoffman * Modules/Platform/Darwin.cmake: ENH: fix bug in default arch, it was using the environment variable which is not a default 2007-11-08 13:03 hoffman * Source/CTest/cmCTestTestHandler.cxx: BUG: try to fix crash 2007-11-08 12:27 clinton * Modules/FindQt4.cmake: BUG: handle qmake returning multiple paths for mkspecs. Fixes #5935 2007-11-08 10:56 clinton * Modules/FindQt4.cmake: ENH: Add support for static Qt 4.3 builds. 2007-11-08 10:38 david.cole * Tests/: CMakeLists.txt, Tutorial/Step6/CMakeLists.txt, Tutorial/Step6/License.txt, Tutorial/Step6/TutorialConfig.h.in, Tutorial/Step6/tutorial.cxx, Tutorial/Step6/MathFunctions/CMakeLists.txt, Tutorial/Step6/MathFunctions/MakeTable.cxx, Tutorial/Step6/MathFunctions/MathFunctions.h, Tutorial/Step6/MathFunctions/mysqrt.cxx, Tutorial/Step7/CMakeLists.txt, Tutorial/Step7/CTestConfig.cmake, Tutorial/Step7/License.txt, Tutorial/Step7/TutorialConfig.h.in, Tutorial/Step7/build1.cmake, Tutorial/Step7/build2.cmake, Tutorial/Step7/tutorial.cxx, Tutorial/Step7/MathFunctions/CMakeLists.txt, Tutorial/Step7/MathFunctions/MakeTable.cxx, Tutorial/Step7/MathFunctions/MathFunctions.h, Tutorial/Step7/MathFunctions/mysqrt.cxx: ENH: Add new Tutorial steps. Diff between Step5 and Step6 shows how to add a cpack driven installer to your project. Diff between Step6 and Step7 shows how to add ctest dashboard scripting capability. 2007-11-08 10:22 clinton * Source/QtDialog/QCMakeCacheView.cxx: COMP: Fix warnings. 2007-11-08 10:17 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui, QCMake.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: add context menu for deleting, ignoring, and getting help for cache entries. ENH: add delete cache button ENH: add information string above configure/generate buttons ENH: change search to search both columns, and from regex to plain string search ENH: add buddy info in cache entry view, so double clicking in the left column starts editing the associated value. BUG: fix file path editor so it goes away when focus is lost 2007-11-08 09:09 david.cole * Modules/Platform/Darwin.cmake: BUG: Do not us the search_paths_first flag on older Mac OSX (10.2 and earlier) systems. 2007-11-07 23:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-07 17:43 hoffman * Utilities/Release/vogon_release.cmake: ENH: add mt to vogon release 2007-11-07 14:35 hoffman * Utilities/cmcurl/CMakeLists.txt: ENH: remove memdebug.c from list 2007-11-07 13:11 hoffman * CMakeCPack.cmake, CMakeCPackOptions.cmake.in, Source/CPack/cmCPackNSISGenerator.cxx: ENH: change CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces in the name of the exectuable 2007-11-07 11:31 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui: ENH: remove status bar and move interrupt/progress next to configure/generate. 2007-11-07 10:09 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMakeCacheView.cxx, QCMakeCacheView.h: BUG: Fix behavior of CMakeSetupDialog::set{Binary|Source}Directory so they work right when called externally. Disable the generate button when one hits configure again. ENH: Some UI tweaks for spacing. Allow viewing cache values while configure/generate (but not edit). 2007-11-07 09:12 king * Source/CTest/cmCTestSubmitHandler.cxx: COMP: Fix check for file-too-big to avoid warnings. 2007-11-07 08:59 king * Source/kwsys/SystemTools.cxx: COMP: Fix warning when gcount stream method does not really return std::streamsize. 2007-11-06 23:00 clinton * Source/QtDialog/: CMakeLists.txt, CMakeSetup.icns, QCMake.cxx: ENH: For Mac OSX -- add app icon, and implement find of cmake executable. 2007-11-06 22:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-06 22:27 clinton * Source/QtDialog/CMakeSetupDialog.cxx: BUG: disable drag & drop while busy. 2007-11-06 21:51 clinton * Source/QtDialog/CMakeSetupDialog.cxx: BUG: only handle drop events if they'll really change something. 2007-11-06 21:27 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: BUG: Put back read/write of original WhereBuild* settings. ENH: Make public a couple functions to support command line args. Try removing exit after generate to see if others like it. COMP: Fix warnings. 2007-11-06 19:25 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMake.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Disable menu/buttons when doing configure. Also disable generate until configure is done. Save more settings (last 10 binary directories, exit after generate, last generator) Some UI tweaks for better layout. Support drag & drop of CMakeLists.txt/CMakeCache.txt files. 2007-11-06 14:16 martink * Source/: cmDocumentVariables.cxx, cmMakefile.cxx, cmPropertyMap.cxx, cmake.cxx, cmake.h: ENH: different way of testing properties 2007-11-06 14:14 martink * CMakeLists.txt, Source/CMakeLists.txt: ENH: move CMAKE_STRICT option to the top 2007-11-06 14:11 martink * Tests/CMakeLists.txt: ENH: add doc test for strict builds 2007-11-06 14:10 martink * Tests/DocTest/: CMakeLists.txt, DocTest.cxx: ENH: add a etst to verify props are documented 2007-11-06 08:28 hoffman * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h, cpack.cxx: ENH: changne ProcessGenertor to DoPackage 2007-11-06 08:27 hoffman * Source/CPack/cmCPackDebGenerator.cxx: STYLE: fix line length issue 2007-11-06 01:16 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMake.cxx, QCMake.h: ENH: Add menus in menu bar. Add reload & delete cache options. Add option to quit after generation step (not yet remembered between sessions). Add Help -> About Remove Help button (in menu now) Remove Cancel button (File -> Exit and the Window 'X' button exist) 2007-11-06 00:04 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH: clarify label for current generator. 2007-11-06 00:02 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMakeCacheView.cxx: ENH: search is case insensitive ENH: put back prompt for generator, and change combo to label showing current generator. 2007-11-05 22:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-05 19:26 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Replace prompt for generator with combobox in UI. ENH: Make "Show Advanced" toggle work. ENH: Add regex search capabilities. ENH: Read existing registry entries from MFC CMakeSetup.exe (will save later). 2007-11-05 18:06 alex * CMakeLists.txt: COMP: use RPATH is building QtDialog and the Qt libs are not in /lib or /usr/lib (same logic as for ccmake) Alex 2007-11-05 17:44 king * Source/kwsys/kwsys_ios_iostream.h.in: COMP: Add streamsize and streamoff to kwsys_ios namespace for ancient streams. 2007-11-05 16:57 david.cole * DartLocal.conf.in: STYLE: Trade in expected arrakis dashboards for resurrected equivalent ones on dash14. 2007-11-05 16:55 hoffman * Source/: CMakeLists.txt, CPack/cmCPackDebGenerator.h, CPack/cmCPackGenerator.cxx, CPack/cmCPackGenerator.h, CPack/cmCPackGeneratorFactory.cxx, CPack/cmCPackGeneratorFactory.h, CPack/cmCPackGenericGenerator.cxx, CPack/cmCPackGenericGenerator.h, CPack/cmCPackNSISGenerator.h, CPack/cmCPackOSXX11Generator.h, CPack/cmCPackPackageMakerGenerator.h, CPack/cmCPackRPMGenerator.h, CPack/cmCPackTGZGenerator.h, CPack/cmCPackZIPGenerator.h, CPack/cpack.cxx: ENH: change name 2007-11-05 16:33 hoffman * Source/: CMakeLists.txt, CPack/cmCPackGeneratorFactory.cxx, CPack/cmCPackGeneratorFactory.h, CPack/cmCPackGenerators.cxx, CPack/cmCPackGenerators.h, CPack/cpack.cxx: ENH: change name of class 2007-11-05 14:34 king * Source/cmake.cxx, Source/CPack/cmCPackDebGenerator.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestSubmitHandler.cxx, Source/kwsys/SystemTools.cxx, Utilities/cmcurl/ftp.c: COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697. 2007-11-05 13:20 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Prompt user for generator when there is none. Many minor improvements, bug fixes, and style fixes. 2007-11-04 22:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-04 01:20 miguelf * Modules/FindwxWidgets.cmake: BUG: Fixed error related to missing quotes around variable. 2007-11-03 23:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-03 19:48 clinton * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Allow working with empty build directories. Make output window a bit smaller compared to cache view. Prompt on X'ing window as well as hitting cancel. Color new cache values red, and put them first. 2007-11-03 13:28 clinton * Source/QtDialog/QCMakeCacheView.cxx: COMP: Fix some compile warnings. STYLE: Make style a bit more consistent. 2007-11-03 12:50 hoffman * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.h, QCMake.h, QCMakeCacheView.h: ENH: remove qt warnings from qt with MS compiler 2007-11-03 12:07 hoffman * Source/QtDialog/QCMakeCacheView.h: ENH: fix compile error on windows 2007-11-03 10:30 clinton * Source/QtDialog/: CMakeLists.txt, CMakeSetup.cxx, CMakeSetup.ico, CMakeSetup.png, CMakeSetup.qrc, CMakeSetup.rc, CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.png, CMakeSetupDialog.ui, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Add interrupt button near progress bar. Implement help button. Implement cancel button. Add scrollable output window. Replace ON/OFF & combobox editors with checkboxes. Tab/backtab in cache table jumps between values (not names and values) Add tooltips to show help strings. Add application icon and qtmain for Windows. BUG: Fix save of cache values on configure. 2007-11-02 23:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-02 14:12 clinton * Source/QtDialog/CMakeLists.txt: COMP: Fix build on Windows. 2007-11-02 12:03 hoffman * Source/CMakeLists.txt: ENH: add option for qt dialog 2007-11-02 11:55 clinton * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx, CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h: STYLE: Add license info to code. 2007-11-02 11:50 clinton * Source/QtDialog/: CMakeLists.txt, CMakeSetup.cxx, CMakeSetup.qrc, CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.png, CMakeSetupDialog.ui, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h: ENH: Beginnings of a Qt UI for CMake. 2007-11-02 10:46 hoffman * Tests/: CMakeLists.txt, Wrapping/CMakeLists.txt, Wrapping/qtnoqtmain.cxx: ENH: remove findqt3 from cmake's cmakelist files 2007-11-01 22:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-11-01 16:21 hoffman * Source/QtDialog/README: ENH: create a directory for qt interface to cmake 2007-11-01 09:52 hoffman * Modules/CPackRPM.cmake: ENH: fix for RPM generator from Eric 2007-11-01 08:36 david.cole * Utilities/Release/CMakeLogo.ico: ENH: Add more resolutions for CMake icons to avoid that bloated chunky blown up icon look... 2007-10-31 22:48 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-31 13:57 martink * Source/cmDocumentVariables.cxx: ENH: minor fix 2007-10-31 13:38 martink * Source/cmDocumentVariables.cxx: ENH: added documentation for more variables 2007-10-31 12:55 hoffman * CMakeCPack.cmake, CMakeCPackOptions.cmake.in, CPackConfig.cmake.in, CPackSourceConfig.cmake.in, Source/CPack/cmCPackGenericGenerator.cxx: ENH: add CPACK_PROJECT_CONFIG_FILE option to CPack 2007-10-31 10:49 hoffman * Utilities/Release/CMakeLogo.ico: ENH: add icon for installer 2007-10-31 09:39 king * Source/kwsys/SystemTools.cxx: BUG: Merge changes from 1.205-1.207 from trunk to gccxml-gcc42 branch. 2007-10-31 09:37 king * Source/kwsys/SystemTools.hxx.in: STYLE: Fix documentation (merge from trunk) 2007-10-31 09:03 hoffman * Source/CPack/cmCPackNSISGenerator.cxx: ENH: fix line length 2007-10-31 08:50 david.cole * Modules/CPack.cmake, Source/CPack/cmCPackCygwinBinaryGenerator.cxx, Source/CPack/cmCPackCygwinBinaryGenerator.h, Source/CPack/cmCPackCygwinSourceGenerator.cxx, Source/CPack/cmCPackCygwinSourceGenerator.h, Source/CPack/cmCPackDebGenerator.cxx, Source/CPack/cmCPackDebGenerator.h, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackOSXX11Generator.cxx, Source/CPack/cmCPackOSXX11Generator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h, Source/CPack/cmCPackRPMGenerator.cxx, Source/CPack/cmCPackRPMGenerator.h: ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator. 2007-10-30 23:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-30 23:02 hoffman * CMakeCPack.cmake, CPackConfig.cmake.in, CPackSourceConfig.cmake.in, Modules/CPack.cmake, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackRPMGenerator.cxx: ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack 2007-10-30 11:03 martink * Source/cmTarget.cxx: BUG: fix undefined property FRAMEWORK 2007-10-30 10:57 martink * Source/cmake.cxx: BUG: fix bad set property code in cmake 2007-10-30 10:16 hoffman * Modules/CPackRPM.cmake: ENH: use cpack generic variable if rpm one is not set 2007-10-30 10:16 hoffman * CMakeCPack.cmake: ENH: fix for cygwin package 2007-10-29 22:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-29 21:10 hoffman * Templates/cygwin-package.sh.in: ENH: add package script for cmake project 2007-10-29 12:21 hoffman * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: ENH: move list command to bootstrap commands 2007-10-29 08:11 hoffman * CMakeCPack.cmake, Modules/CPack.cmake, Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx: ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-28 22:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-27 23:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-26 23:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-26 22:57 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmSystemTools.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cmCPackTarCompressGenerator.cxx, Source/kwsys/SystemTools.cxx: ENH: move changes from head 2007-10-26 13:36 alex * Source/cmFindBase.cxx: STYLE: change wording of FIND_XXX() docs to be more correct Alex 2007-10-26 12:13 seanmcbride * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: STYLE: fixed misspellings of Mac OS X 2007-10-26 09:55 alex * Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmFindLibraryCommand.cxx, Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/include/foo.h: ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad. CMAKE_FIND_PREFIX_PATH is both an environment variable and a cmake variable, which is a list of base directories where FIND_PATH, FIND_FILE, FIND_PROGRAM and FIND_LIBRARY will search in the respective subdirectories Alex 2007-10-25 22:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-25 14:03 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CPack.STGZ_Header.sh.in, Modules/FindKDE3.cmake, Modules/FindKDE4.cmake, Modules/FindPythonInterp.cmake, Modules/KDE3Macros.cmake, Modules/Platform/DragonFly.cmake, Modules/Platform/GNU.cmake, Modules/Platform/NetBSD.cmake, Modules/Platform/UnixPaths.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows.cmake, Modules/Platform/WindowsPaths.cmake, Source/cmDependsFortran.cxx, Source/cmFileCommand.h, Source/cmFindPackageCommand.h, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmMakefile.cxx, Source/cmRemoveDefinitionsCommand.h, Source/cmSystemTools.cxx, Source/cmTryRunCommand.h, Source/cmake.cxx, Source/cmakemain.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cmCPackTarCompressGenerator.cxx, Source/CPack/cpack.cxx: ENH: merge in stuff from head 2007-10-25 13:29 king * Source/kwsys/SystemTools.cxx: BUG: Fix bug#5590. When converting a relative path between two full paths on different windows drive letters do not create a ../../d:/foo/bar path and just return the full path to the destination. 2007-10-25 13:26 alex * Modules/CPackDeb.cmake, Source/CPack/cmCPackDebGenerator.cxx: BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables to make them actually work Alex 2007-10-24 23:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-24 14:43 martink * Source/: cmGetPropertyCommand.cxx, cmGetPropertyCommand.h, cmPropertyDefinition.h, cmake.cxx, cmake.h: ENH: add ability to get documentaiton of a property from a script 2007-10-24 11:36 martink * Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmDocumentationFormatter.h, Source/cmDocumentationFormatterHTML.cxx, Source/cmDocumentationSection.h, Source/cmakemain.cxx, Utilities/CMakeLists.txt: ENH: some more cleanup, fixes, and patch for HTML output 2007-10-23 23:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-23 10:40 martink * Source/: cmMakefile.cxx, cmPropertyDefinitionMap.cxx: COMP: fix for when STRICT is defined, and fix for props that have no docs 2007-10-23 10:08 martink * Source/cmDocumentVariables.cxx: STYLE: fix some long lines 2007-10-23 10:07 martink * Source/cmDocumentation.cxx: COMP: fix a problem with a shadowed var 2007-10-22 23:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-22 17:16 hoffman * Modules/CPack.cmake: ENH: fix bitmap escapes 2007-10-22 16:41 martink * Source/: cmDocumentation.cxx, cmakemain.cxx: COMP: fix some warnings and add some doc strings back in 2007-10-22 15:33 martink * Source/: cmDocumentation.cxx, cmDocumentation.h, cmDocumentationSection.cxx, cmDocumentationSection.h, cmakemain.cxx: COMP: fix some warnings and add some doc strings back in 2007-10-22 14:01 hoffman * Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: ENH: fix spelling error 2007-10-22 13:28 martink * Source/: cmGlobalKdevelopGenerator.cxx, cmGlobalXCodeGenerator.cxx: ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 12:48 martink * Source/: CMakeLists.txt, cmDocumentVariables.cxx, cmDocumentation.cxx, cmDocumentation.h, cmDocumentationFormatter.h, cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h, cmDocumentationFormatterMan.cxx, cmDocumentationFormatterMan.h, cmDocumentationFormatterText.cxx, cmDocumentationFormatterText.h, cmDocumentationFormatterUsage.cxx, cmDocumentationFormatterUsage.h, cmDumpDocumentation.cxx, cmExtraCodeBlocksGenerator.cxx, cmExtraEclipseCDT4Generator.cxx, cmGlobalBorlandMakefileGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Win64Generator.cxx, cmGlobalVisualStudio9Generator.cxx, cmGlobalWatcomWMakeGenerator.cxx, cmMakefile.cxx, cmPropertyDefinition.cxx, cmPropertyDefinition.h, cmPropertyDefinitionMap.cxx, cmPropertyDefinitionMap.h, cmStandardIncludes.h, cmake.cxx, cmake.h, cmakemain.cxx, ctest.cxx, CPack/cpack.cxx, CursesDialog/ccmake.cxx, cmDocumentationSection.cxx, cmDocumentationSection.h: ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 11:40 hoffman * Modules/: CPack.cmake, NSIS.template.in: ENH: allow CPACK_PACKAGE_ICON to be not set 2007-10-22 10:17 hoffman * Modules/Platform/Darwin.cmake: ENH: try to fix boostrap on 10.5 2007-10-21 23:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-20 23:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-19 23:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-19 22:24 hoffman * Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: ENH: do not always add -arch flags 2007-10-19 12:03 hoffman * Source/CPack/cmCPackNSISGenerator.cxx: ENH: fix line length error 2007-10-18 22:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-18 11:11 king * Source/kwsys/SystemTools.cxx: BUG: Merge bug fixes from HEAD. 2007-10-18 09:40 hoffman * CMakeCPack.cmake, Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h: ENH: add ability to create links on the start menu 2007-10-18 09:39 hoffman * bootstrap: ENH: add new file 2007-10-18 09:38 hoffman * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx: ENH: do not remove executables and dll's before linking them so that incremental links work, incremental links are still broken for vs 2005 and greater because of the manifest stuff 2007-10-18 09:10 hoffman * Source/: CMakeLists.txt, cmDocumentVariables.cxx, cmDocumentVariables.h, cmake.cxx: ENH: add docs for variables 2007-10-17 22:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-17 09:38 miguelf * Modules/FindwxWidgets.cmake: ENH: Added support for finding wxWidgets-2.9. Thanks to Joshua Jensen and Steven. 2007-10-16 22:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-16 14:27 martink * Source/: CMakeLists.txt, cmConfigure.cmake.h.in, cmPropertyMap.cxx: ENH: added CMAKE_STRICT option for var and property checking 2007-10-16 10:19 king * Source/: cmDependsFortran.cxx, cmInstallCommand.cxx: STYLE: Fixed line-too-long. 2007-10-15 22:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-15 17:38 king * Source/cmExecuteProcessCommand.cxx: BUG: Work around bug when calling insert on an empty vector of char on midworld. Should eliminate the sporadic failure of EXECUTE_PROCESS during the SimpleInstall-Stage2 test. (david.cole from Brad's checkout on midworld) 2007-10-15 14:50 martink * Modules/TestForSSTREAM.cmake, Source/cmForEachCommand.h, Source/cmWhileCommand.h, Source/cmake.cxx: ENH: minor doc cleanups and an example of documenting a variable 2007-10-15 07:08 david.cole * Source/cmInstallCommand.cxx, Source/cmInstallScriptGenerator.cxx, Source/cmInstallScriptGenerator.h, Source/cmLocalGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/InstallScript3.cmake, Tests/SimpleInstall/InstallScript4.cmake, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/InstallScript3.cmake, Tests/SimpleInstallS2/InstallScript4.cmake: BUG: Fix #5868 - add COMPONENT handling to the SCRIPT and CODE signatures of the INSTALL command. 2007-10-14 22:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-14 08:15 alex * Source/cmExportCommand.cxx: BUG: fix #5806, wrong quotes used in the exported file Alex 2007-10-13 22:48 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-12 22:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-12 21:30 miguelf * Modules/FindwxWidgets.cmake: BUG: Added support for the AUI library module (bug 4338). Also applied some STYLE changes including: deprecation of wxWidgets_USE_LIBS in favor of using standard FIND_PACKAGE COMPONENTS, removed some CMake 2.4.2 compatibility patches, use of execute_process instead of exec_program, etc. 2007-10-12 19:33 hoffman * Modules/CPackRPM.cmake: BUG: fix for bug 5878 2007-10-12 11:43 david.cole * Source/cmTarget.cxx: BUG: Fix the dashboards! Put it back the way it was so it always creates the target directory at configure time. Figure out how to avoid it for the framework case on the Mac/Xcode later... 2007-10-12 11:34 hoffman * Modules/FindFLTK2.cmake: ENH: add from bug 0004219 2007-10-12 11:00 hoffman * Modules/FindASPELL.cmake: BUG: fix for bug 0005871 2007-10-12 10:58 hoffman * Source/cmLocalGenerator.cxx: BUG: fix for bug 0003618 , allow one arch in OSX_ARCHS to work 2007-10-12 09:58 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix for bug 0005767 hang for replace string with empty 2007-10-12 09:51 king * Source/cmDependsFortran.cxx: ENH: When an object file requires a module add the file-level dependency between the object file and the module timestamp file. Create a dummy timestamp file in case nothing in the project actually creates the module. See bug#5809. 2007-10-12 09:32 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Dependency scanners should have local generators set always. 2007-10-11 22:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-10 22:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-10 17:47 alin.elena * Modules/: CheckFortranFunctionExists.cmake, FindBLAS.cmake, FindLAPACK.cmake, Platform/Linux-ifort.cmake: ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various implementations of blas and lapack libraries. CheckFortranFunctionExists.cmake provides a test function to check if the library is usabale. I have also changed the -KPIC flag to -fPIC in Linux-ifort.cmake. 2007-10-10 11:47 martink * Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.h, Source/cmAddDefinitionsCommand.h, Source/cmAddDependenciesCommand.h, Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.h, Source/cmAddSubDirectoryCommand.h, Source/cmAddTestCommand.h, Source/cmAuxSourceDirectoryCommand.h, Source/cmBuildCommand.h, Source/cmBuildNameCommand.h, Source/cmCMakeMinimumRequired.h, Source/cmConfigureFileCommand.h, Source/cmCreateTestSourceList.h, Source/cmDefinePropertyCommand.h, Source/cmDocumentation.cxx, Source/cmElseCommand.h, Source/cmElseIfCommand.h, Source/cmEnableLanguageCommand.h, Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.h, Source/cmEndIfCommand.h, Source/cmEndMacroCommand.h, Source/cmEndWhileCommand.h, Source/cmExecProgramCommand.h, Source/cmExecuteProcessCommand.h, Source/cmExportCommand.h, Source/cmExportLibraryDependencies.h, Source/cmFLTKWrapUICommand.h, Source/cmFileCommand.h, Source/cmFindFileCommand.cxx, Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.h, Source/cmFindPathCommand.cxx, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.cxx, Source/cmFindProgramCommand.h, Source/cmForEachCommand.h, Source/cmGetCMakePropertyCommand.h, Source/cmGetDirectoryPropertyCommand.h, Source/cmGetFilenameComponentCommand.h, Source/cmGetPropertyCommand.h, Source/cmGetSourceFilePropertyCommand.h, Source/cmGetTargetPropertyCommand.h, Source/cmGetTestPropertyCommand.h, Source/cmIfCommand.h, Source/cmIncludeCommand.h, Source/cmIncludeDirectoryCommand.h, Source/cmIncludeExternalMSProjectCommand.h, Source/cmIncludeRegularExpressionCommand.h, Source/cmInstallCommand.h, Source/cmInstallFilesCommand.h, Source/cmInstallProgramsCommand.h, Source/cmInstallTargetsCommand.h, Source/cmLinkDirectoriesCommand.h, Source/cmLinkLibrariesCommand.h, Source/cmListCommand.h, Source/cmLoadCacheCommand.h, Source/cmLoadCommandCommand.h, Source/cmMacroCommand.h, Source/cmMakeDirectoryCommand.h, Source/cmMarkAsAdvancedCommand.h, Source/cmMathCommand.h, Source/cmMessageCommand.h, Source/cmOptionCommand.h, Source/cmOutputRequiredFilesCommand.h, Source/cmProjectCommand.h, Source/cmQTWrapCPPCommand.h, Source/cmQTWrapUICommand.h, Source/cmRemoveCommand.h, Source/cmRemoveDefinitionsCommand.h, Source/cmSeparateArgumentsCommand.h, Source/cmSetCommand.h, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSetPropertiesCommand.h, Source/cmSetSourceFilesPropertiesCommand.h, Source/cmSetTargetPropertiesCommand.h, Source/cmSetTestsPropertiesCommand.h, Source/cmSiteNameCommand.h, Source/cmSourceGroupCommand.h, Source/cmStringCommand.h, Source/cmSubdirCommand.h, Source/cmSubdirDependsCommand.h, Source/cmTargetLinkLibrariesCommand.h, Source/cmTryCompileCommand.h, Source/cmTryRunCommand.h, Source/cmUseMangledMesaCommand.h, Source/cmUtilitySourceCommand.h, Source/cmVariableRequiresCommand.h, Source/cmVariableWatchCommand.h, Source/cmWhileCommand.h, Source/cmWriteFileCommand.h, Tests/CommandLineTest/CMakeLists.txt: ENH: make commands lower case by default 2007-10-10 11:06 david.cole * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Tests/CMakeLists.txt, Tests/Framework/CMakeLists.txt: ENH: Finish up the Framework creation code restructuring. Frameworks build and install now. More work needed on the packaging step. See Tests/Framework for example use. 2007-10-10 09:09 king * Tests/Fortran/: CMakeLists.txt, test_use_in_comment_fixedform.f, test_use_in_comment_freeform.f90, in_interface/main.f90, in_interface/module.f90: ENH: Added test for 'use' keyword in a comment. Patch from Maik Beckmann. See bug#5809. 2007-10-10 09:07 king * Source/cmDependsFortran.cxx: BUG: Fix in-interface mode. Patch from Maik Beckmann. See bug#5809. 2007-10-09 22:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-09 15:20 barre * Source/kwsys/SystemTools.cxx: ENH: bad bug bad 2007-10-09 14:35 martink * Source/: cmDocumentation.cxx, cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterMan.cxx, cmDocumentationFormatterText.cxx, cmDocumentationFormatterUsage.cxx, cmDumpDocumentation.cxx, cmPropertyDefinition.cxx, cmPropertyDefinitionMap.cxx, cmStandardIncludes.h, cmake.cxx, cmake.h, cmakemain.cxx, ctest.cxx, CPack/cpack.cxx: BUG: revert doc changes since VS7 cannot compile them, will implement them in a different manner 2007-10-09 09:55 martink * Source/: cmDocumentation.cxx, cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterMan.cxx, cmDocumentationFormatterText.cxx, cmDocumentationFormatterUsage.cxx, cmDumpDocumentation.cxx, cmPropertyDefinition.cxx, cmPropertyDefinitionMap.cxx, cmStandardIncludes.h, cmake.cxx, cmake.h, cmakemain.cxx, ctest.cxx, CPack/cpack.cxx: ENH: make documentation entries actually store their data 2007-10-08 22:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-08 10:05 king * Source/cmSystemTools.cxx: STYLE: Fixed line-too-long. 2007-10-08 10:03 king * Source/cmSystemTools.cxx: COMP: Added inadvertantly removed include. 2007-10-07 22:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-07 16:22 king * Source/cmSystemTools.cxx: COMP: Simplified include file logic. The windows.h header should be included for all compilers on windows. 2007-10-06 22:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-05 22:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-05 15:51 martink * Source/cmSystemTools.cxx: COMP: fix to compile on VS 8 2007-10-05 13:15 hoffman * Modules/Platform/Windows-bcc32.cmake: ENH: add support for preprocessed files in borland 2007-10-05 13:14 hoffman * Utilities/KWStyle/CMakeFiles.txt.in: ENH: add more exclusions for kwstyle 2007-10-05 10:03 king * Source/cmSystemTools.cxx: BUG: Fix call to SetFileTime to set it on the proper file. 2007-10-05 10:02 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: COMP: Disable some warnings in generated code. Disable compilation of unused goto block. 2007-10-05 09:46 king * Source/: cmFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: During file installation treat the source file as a dependency of the installed file. Install the file only if the destination is older than the source. Set the file times on the installed file to match those of the source file. This should greatly improve the speed of repeated installations because it removes the comparison of file contents. This addresses bug#3349. 2007-10-04 22:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-04 15:31 hoffman * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: ENH: update .y file with borland fix, and use a table based strcasecmp 2007-10-04 14:47 david.cole * Source/cmDependsFortranParser.cxx: COMP: Get it to compile on Borland 5.5, too. Including stl headers here does not work, because with Borland 5.5 stl headers pull in windef.h which typedefs WORD which is in the fortran tokens list... 2007-10-04 09:49 king * Source/cmDependsFortranParser.cxx: STYLE: Removed reference to my home directory from #line calls. 2007-10-03 22:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-03 17:01 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: COMP: Do not use non-portable strcasecmp. 2007-10-03 16:19 king * Source/cmDependsFortran.cxx: BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it. Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file. This addresses bug#3984. 2007-10-03 15:41 king * Source/: cmDependsFortran.cxx, cmDependsFortranLexer.cxx, cmDependsFortranLexer.h, cmDependsFortranLexer.in.l, cmDependsFortranParser.cxx, cmDependsFortranParser.h, cmDependsFortranParser.y, cmDependsFortranParserTokens.h: BUG: Fix for bug#5809. Applied patch supplied in the bug report. Updated pre-generated lexer and parser sources. This updates the makedepf90 version to 2.8.8. The parser actions have been updated to ignore "use" in comments properly. 2007-10-03 15:23 king * Source/CMakeLists.txt: ENH: Updated CMAKE_REGENERATE_YACCLEX option to support cmDependsFortran. Fixed to work with spaces in path. 2007-10-02 22:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-02 15:48 hoffman * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: speed up actual path name by cache on windows 2007-10-01 22:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-10-01 15:57 david.cole * Tests/: CMakeLists.txt, SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: COMP: Rename the executables for the SimpleInstall tests so that the executable files that run during the test do not have the word install in their file names. This allows running the tests on Windows Vista without admin privileges and without adding a manifest containing the asInvoker requestedExecutionLevel element. 2007-09-30 22:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-29 22:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-28 22:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-27 23:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-27 14:44 hoffman * Source/cmGeneratedFileStream.cxx, Source/cmSystemTools.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Utilities/cmtar/libtar.c: COMP: remove warnings 2007-09-27 14:20 hoffman * Modules/FindQt4.cmake: ENH: set QT_EDITION_DESKTOPLIGHT and do not disable modules 2007-09-27 14:18 hoffman * DartLocal.conf.in: ENH: fix space 2007-09-27 14:16 hoffman * Source/cmWin32ProcessExecution.cxx: ENH: remove junk from output 2007-09-27 08:53 hoffman * Utilities/cmcurl/CMakeLists.txt: ENH: add a check for basename to cmcurl 2007-09-26 22:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-26 20:53 hoffman * Modules/FindQt4.cmake: ENH: look for qt in a beter registry place and disable modules that won't work with DesktopLight, also set QT_EDITION variable 2007-09-25 23:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-25 10:57 hoffman * Source/cmSystemTools.cxx: BUG: fix problem with stdout and stderr not showing up in ms dos shells 2007-09-25 08:36 hoffman * Tests/CMakeLists.txt: ENH: increase timeout 2007-09-25 08:30 hoffman * DartLocal.conf.in: ENH: remove extra space 2007-09-24 23:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-24 13:19 hoffman * DartLocal.conf.in, Source/cmSystemTools.cxx: ENH: add new machines 2007-09-24 11:18 hoffman * CTestCustom.cmake.in: COMP: exclude some warnings on hp 2007-09-24 11:16 hoffman * Source/: cmCommandArgumentLexer.cxx, cmDependsJavaLexer.cxx, cmExprLexer.cxx: COMP: fix warnings on hp 2007-09-24 11:10 hoffman * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: fix line length issues 2007-09-24 09:53 king * Modules/FindThreads.cmake: BUG: Enable CMAKE_HP_PTHREADS only when the old CMA threads are available. Modern HP pthreads are just normal pthreads. 2007-09-23 23:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-22 22:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-21 22:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-21 13:37 alex * Source/CPack/cmCPackDebGenerator.cxx: STYLE: use %-10lld instead of %-10qd for printing a 64bit int, maybe this silences the warning of the HP compiler Alex 2007-09-21 11:42 alex * Source/cmFindPackageCommand.cxx: STYLE: improved error message for the case that neither FindFoo.cmake nor FooConfig.cmake were found Alex 2007-09-21 11:42 hoffman * Modules/InstallRequiredSystemLibraries.cmake: ENH: remove message 2007-09-20 22:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-20 17:21 king * Modules/FindThreads.cmake: BUG: Do not use CMA threads on HP if they do not exist. 2007-09-20 16:48 hoffman * Tests/CMakeLists.txt: ENH: VV make too much data for the dashboard 2007-09-20 11:57 hoffman * Source/kwsys/testRegistry.cxx: COMP: remove warning on new HPUX compiler 2007-09-20 10:56 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Disable package test only on OSX < 10.4. Added comment explaining reason for timeout. 2007-09-20 10:47 king * Tests/CMakeLists.txt: ENH: Restore shorter timeout for SimpleInstall-Stage2. 2007-09-20 09:36 alex * Source/kwsys/SystemTools.cxx: COMP: TIOCGWINSZ and struct winsize also doesn't exist on Cray Catamount Alex 2007-09-20 09:30 alex * Source/kwsys/SystemTools.cxx: COMP: make SystemTools.cxx build on Cray Xt3 Alex 2007-09-20 08:33 alex * Source/cmDocumentation.cxx: STYLE: fix line lengths Alex 2007-09-19 22:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-19 13:14 alex * Source/: cmDocumentation.cxx, cmDocumentation.h, cmDocumentationFormatter.h, cmakemain.cxx: ENH: add new help option --help-custom-modules, which generates documentation for all modules found in CMAKE_MODULE_PATH, which currently has to be specified via -D, this can later on be improved e.g. by reading a special (to-be-created) file like CMakeFiles/ModulePath.cmake in the build tree so that running cmake help in the build tree of a project will always give you the current module path. (This could actually also help IDEs which would like to support cmake for projects...) Alex 2007-09-19 11:42 hoffman * Utilities/cmcurl/CMakeLists.txt: ENH: add test for HAVE_BASENAME since it is used 2007-09-19 11:16 hoffman * Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Source/kwsys/CMakeLists.txt, Tests/CMakeLists.txt: ENH: fix failing test when valgrind is on 2007-09-19 11:10 king * Tests/: CMakeLists.txt, SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Re-enable packaging part of SimpleInstall-Stage2 test on Apple. Give it a long timeout to see what is going on. 2007-09-19 10:46 alex * Source/: cmDocumentationFormatter.h, cmDocumentationFormatterHTML.cxx: COMP: fix warning about unused parameters Alex 2007-09-19 09:59 alex * Source/cmDocumentationFormatterMan.cxx: BUG: correct name for the man page Alex 2007-09-19 09:35 alex * Modules/FindQt4.cmake: BUG: if Qt is installed as a framework, add -F to the command line so Q_WS_MAC can be detected correctly Alex 2007-09-19 09:05 alex * Source/: CMakeLists.txt, cmDocumentation.cxx, cmDocumentation.h, cmDocumentationFormatter.cxx, cmDocumentationFormatter.h, cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h, cmDocumentationFormatterMan.cxx, cmDocumentationFormatterMan.h, cmDocumentationFormatterText.cxx, cmDocumentationFormatterText.h, cmDocumentationFormatterUsage.cxx, cmDocumentationFormatterUsage.h: STYLE: move the code for the different formats of the generated help into their own classes, making cmDocumentation smaller and also making it easier to eventually add another format Alex 2007-09-19 09:04 alex * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: COMP: reenable the installation of the PUBLIC_HEADERs Alex 2007-09-18 22:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-18 17:05 alex * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: fix line lengths Alex 2007-09-18 15:16 hoffman * CMakeCPack.cmake, Modules/NSIS.InstallOptions.ini.in, Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx: ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:13 alex * Modules/FindPythonLibs.cmake: BUG: make the string static, otherwise the contents are gone when we exit the function (same fix as in VTK/CMake/) Alex 2007-09-18 11:35 hoffman * Tests/CMakeLists.txt: ENH: increase timeout for long test 2007-09-18 11:34 hoffman * Source/cmCTest.cxx: ENH: allow test properties to set a timeout that is longer than the default timeout, but not longer than CTEST_TIME_LIMIT for a script 2007-09-18 09:54 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: use the oubject_output option to try to tell CodeBlocks where the object files are located (to make "compile file" work). Doesn't work yet, but at least the .objs/ is now removed from the path. Alex 2007-09-17 22:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-17 16:21 alex * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: COMP: disable packaging test on Apple, see if this fixes the timeouts Alex 2007-09-17 15:59 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix for vs 8 2007-09-17 15:55 alex * CMakeLists.txt, Modules/CMakeCCompilerId.c, Modules/CMakeCXXCompilerId.cpp, Modules/Platform/Linux-PGI-C.cmake, Modules/Platform/Linux-PGI-CXX.cmake, Source/kwsys/Directory.cxx: ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt) Alex 2007-09-17 15:40 alex * Utilities/cmtar/libtar.c: COMP: use C-style comments in C code Alex 2007-09-17 15:27 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: test install of debug libs 2007-09-17 15:26 hoffman * Modules/InstallRequiredSystemLibraries.cmake: ENH: allow for installation of debug libs 2007-09-17 15:20 hoffman * Modules/CMakeVS8FindMake.cmake, Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt, Source/cmGlobalVisualStudio9Generator.cxx, Source/cmGlobalVisualStudio9Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx, Utilities/cmcurl/select.h, Utilities/cmcurl/CMake/CurlTests.c, Utilities/cmcurl/Platforms/WindowsCache.cmake, Modules/CMakeVS9FindMake.cmake: ENH: add support for vs 2008 beta 2 2007-09-17 15:18 alex * Utilities/cmtar/: CMakeLists.txt, config.h.in, internal.h: COMP: add a check for makedev, which isn't available with the PGI compiler on Cray XT3 Alex 2007-09-17 11:17 hoffman * Source/cmSystemTools.cxx: ENH: fix warning 2007-09-17 10:53 alex * Source/cmTryRunCommand.cxx: STYLE: copy the executables from TRY_RUN() to ${CMAKE_BINARY_DIR}/CMakeFiles/ instead to ${CMAKE_BINARY_DIR} Alex 2007-09-17 10:51 king * Tests/BuildDepends/: CMakeLists.txt, Project/CMakeLists.txt, Project/dep.cxx, Project/zot.cxx: ENH: Adding test for ADD_CUSTOM_COMMAND's new IMPLICIT_DEPENDS feature. 2007-09-17 10:50 king * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmCustomCommand.cxx, cmCustomCommand.h, cmMakefileTargetGenerator.cxx: ENH: Added IMPLICIT_DEPENDS option to ADD_CUSTOM_COMMAND. It currently works only for Makefile generators. It allows a custom command to have implicit dependencies in the form of C or CXX sources. 2007-09-17 10:40 hoffman * Source/: cmGlobalXCodeGenerator.cxx, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildCommand.cxx, CTest/cmCTestTestHandler.cxx: ENH: fix build issue with config type not being specified by ctest 2007-09-16 22:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-15 22:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-14 22:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-13 22:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-13 13:37 king * Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx, Tests/PrecompiledHeader/CMakeLists.txt: ENH: Added OBJECT_OUTPUTS source file property. Updated PrecompiledHeader test to use it (making the test simpler). 2007-09-13 09:14 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Fix shadowed local warning by scoping the previous decl properly. 2007-09-12 22:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-11 22:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-11 15:21 david.cole * CTestCustom.cmake.in: ENH: Avoid prompting for admin privileges when running CMakeSetup.exe on Vista by adding a requestedExecutionLevel element to its manifest. 2007-09-11 14:43 hoffman * Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: for build and test default the config type to the one that ctest was built with, it is good for the current ctest setup, and other projects can always specify a value on the command line 2007-09-11 12:23 hoffman * Source/cmSystemTools.cxx: ENH: opps 2007-09-11 11:22 david.cole * Utilities/cmzlib/: CMakeLists.txt, ChangeLog, FAQ, INDEX, README, README.Kitware.txt, adler32.c, cm_zlib_mangle.h, compress.c, crc32.c, crc32.h, deflate.c, deflate.h, example.c, gzio.c, infblock.c, infblock.h, infcodes.c, infcodes.h, inffast.c, inffast.h, inffixed.h, inflate.c, inflate.h, inftrees.c, inftrees.h, infutil.c, infutil.h, maketree.c, minigzip.c, trees.c, uncompr.c, zconf.h, zlib.def, zlib.h, zlib.rc, zutil.c, zutil.h: ENH: Update zlib to 1.2.3. Addresses bugs #5445 and #3473. 2007-09-11 11:21 hoffman * Source/: cmCTest.cxx, cmSystemTools.cxx, cmSystemTools.h, ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: fix 2 ctest issues, do not use the build type of ctest to look for config types, do not inherit pipes in child procs for ctest so it can kill them 2007-09-11 10:01 hoffman * Source/cmMathCommand.h: ENH: improve docs 2007-09-10 22:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-10 17:39 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: turn this stuff off to see if it fixes the dashboard on midworld 2007-09-10 17:10 hoffman * Tests/Plugin/src/example_exe.cxx: ENH: fix memory leak 2007-09-10 10:49 hoffman * Tests/CMakeLists.txt, Utilities/Release/README, Utilities/Release/create-cmake-release.cmake, Utilities/Release/upload_release.cmake: ENH: add test that builds a nightly windows cmake binary 2007-09-10 10:22 king * Source/: cmGlobalXCodeGenerator.cxx, cmTarget.cxx: ENH: Added XCODE_ATTRIBUTE_ property to allow direct setting of Xcode target attributes in generated projects. For example, one may set the prefix header property and the corresponding precompiled option to do precompiled headers. 2007-09-09 23:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-09 13:18 hoffman * CMakeLists.txt: ENH: remove debug print 2007-09-08 23:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-07 22:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-07 17:00 hoffman * CMakeLists.txt: ENH: MATH is not in bootstrap cmake 2007-09-07 14:20 hoffman * CMakeCPack.cmake, CMakeLists.txt: ENH: for CVS CMake have cpack use the version date in the name of the package 2007-09-07 11:10 hoffman * Source/cmCacheManager.cxx: ENH: fix spelling error 2007-09-06 22:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-06 17:47 david.cole * Utilities/Release/CMakeInstall.bmp: BUG: Put back CMakeInstall.bmp in order to build a package with NSIS on Windows. It was inadvertently removed. 2007-09-06 10:06 hoffman * DartLocal.conf.in: ENH: acdc is dead 2007-09-05 23:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-09-04 11:45 zack.galbreath * Source/temp.txt: ENH: removing temporary testing file 2007-09-04 11:05 zack.galbreath * Source/temp.txt: ENH: testing branchRestrict 2007-08-31 16:52 alex * Source/: cmInstallCommand.cxx, cmInstallCommandArguments.h: STYLE: fix line lengths Alex 2007-08-31 16:27 alex * Modules/CPack.cmake: STYLE: mark the generator options as advanced Alex 2007-08-31 15:05 alex * Utilities/KWStyle/CMake.kws.xml.in: STYLE: disable header check Alex 2007-08-31 14:51 king * CMakeLists.txt, CTestCustom.cmake.in, CTestCustom.ctest.in: ENH: Create CTestCustom.cmake instead of CTestCustom.ctest. Create the old file to include the new one for compatibility. This should prevent the long delays of CTest traversing the whole tree looking for CTestCustom.ctest files. 2007-08-31 14:07 alex * Utilities/KWStyle/: CMakeLists.txt, CMakeMoreChecks.kws.xml.in: STYLE: add makefile target MoreStyleChecks, which runs KWStyle with more checks enabled and creates the html files. Alex 2007-08-31 13:45 alex * Source/cmGlobalGenerator.cxx: STYLE: the temporary variable is not necessary Alex 2007-08-31 13:42 alex * Source/: cmExtraCodeBlocksGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx: ENH: add support for Fortran to the KDevelop generator -minor optimization for GetLanguageEnabled() Alex 2007-08-31 09:14 king * Source/CPack/cmCPackDebGenerator.cxx: BUG: Another space-in-path fix. 2007-08-31 09:09 king * Source/cmake.cxx: BUG: Fix path to CMake executables when run from bootstrap build. 2007-08-30 16:23 alex * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: STYLE: adapt the test to the change from FILENAME to FILE -add a call to the EXPORT() command Alex 2007-08-30 16:22 alex * Source/: cmInstallCommand.cxx, cmInstallExportGenerator.cxx: STYLE: rename FILENAME keyword to FILE, because FILENAME is used in no other place Alex 2007-08-30 13:35 alex * Modules/: FindPythonInterp.cmake, FindPythonLibs.cmake: ENH: add support for the next python release, python 2.6 Alex 2007-08-30 11:36 alex * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: "Build file" still doesn't work, but now it is at least a bit closer, it needs some more support from CB Alex 2007-08-30 10:26 alex * Source/cmStringCommand.h: STYLE: add the | to the docs Alex 2007-08-29 16:32 alex * Source/CPack/cmCPackDebGenerator.cxx: BUG: work if there are spaces in the path to cmake Alex 2007-08-29 16:31 alex * Modules/CPackRPM.cmake: ENH: fail with error if trying to create a RPM stating that rpmbuild can't handle spaces Alex 2007-08-29 15:19 alex * Source/cmExtraCodeBlocksGenerator.cxx: BUG: make paths with spaces work in CodeBlocks -gcc is always gcc and not mingw Alex 2007-08-29 14:35 alex * Source/cmIfCommand.cxx: BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows Alex 2007-08-29 14:05 alex * Source/cmStringCommand.h: STYLE: add docs about the supported regexp characters and CMAKE_MATCH_(0..9) Alex 2007-08-29 12:01 alex * Tests/StringFileTest/CMakeLists.txt: ENH: added tests for the CMAKE_MATCH_(0..9) variables, which get set by regex matches (STRING(REGEX), IF(MATCHES)) Alex 2007-08-29 11:58 alex * Source/: cmIfCommand.cxx, cmIfCommand.h, cmStringCommand.cxx, cmStringCommand.h: ENH: also store the group matches from IF( MATCHES) in CMAKE_MATCH_(0..9) Alex 2007-08-29 11:30 king * Source/cmDependsFortran.cxx: BUG: Do not write symbolic make dependencies into depends.internal. 2007-08-29 10:12 alex * Source/: cmExtraCodeBlocksGenerator.cxx, cmExtraCodeBlocksGenerator.h: ENH: don't hardcode gcc -put the include dirs in the project file to enable autocompletion -prepare for nmake Alex 2007-08-28 16:27 alex * Source/cmMakefile.cxx: COMP: explicitely cast to int to silence warning with msvc8 Alex 2007-08-28 16:19 alex * Modules/CMakeGenericSystem.cmake, Source/cmLocalGenerator.cxx: ENH: add flag so a terminating slash for the link path can be specified (needed by the Digital Mars D compiler) Alex 2007-08-28 15:13 alex * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: add links to docs Alex 2007-08-28 13:46 alex * Source/CTest/cmCTestGenericHandler.cxx: STYLE: fix typo Alex 2007-08-28 11:02 alex * CMakeLists.txt: COMP: enable RPATH if any of the CMAKE_USE_SYSTEM_XXX variables is enabled or if the curses library is neither in /lib nor in /usr/lib . This makes it build on NetBSD. For more comments see CMakeLists.txt Alex 2007-08-28 10:59 alex * Tests/SourceGroups/: CMakeLists.txt, main.c: COMP: enable ANSI C, this should make it work with the HP-UX compiler Alex 2007-08-28 10:52 alex * Modules/: CheckCSourceRuns.cmake, CheckCXXSourceRuns.cmake: ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in the main project. I think it doesn't make sense if a project disables RPATH, uses CHECK_C_SOURCE_RUNS() to see if something is able to run, and this succeeds because it has been built with RPATH, but an executable built within the project won't be able to run since it has been built without RPATH. Alex 2007-08-28 08:36 alex * Tests/SourceGroups/main.c: COMP: maybe it compiles this way with the HP-UX compiler Alex 2007-08-27 23:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-27 17:05 alex * Source/: cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h: BUG: fix #5326: source files with the same name in different groups lead to colliding object file names Alex 2007-08-27 16:05 alex * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: add test for installing a header marked as PUBLIC_HEADER of a library Alex 2007-08-27 16:04 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallExportGenerator.cxx, cmInstallExportGenerator.h: ENH: add install files generators for targets which have PUBLIC_HEADER, PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the public headers as include directory property for exported libraries Alex 2007-08-27 15:15 alex * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: COMP: add a test for exporting and importing targets Alex 2007-08-27 14:44 alex * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: COMP: the SimpleInstall test also succeeds on the Mac, so maybe Andys comment is not valid anymore Alex 2007-08-27 14:17 alex * Tests/: CMakeLists.txt, SourceGroups/CMakeLists.txt: ENH: add the source_group() demo to the tests Alex 2007-08-27 13:23 alex * Source/cmExtraCodeBlocksGenerator.cxx: COMP: disable nmake support until somebody tests it Alex 2007-08-27 09:01 alex * Modules/FindCurses.cmake, Source/CursesDialog/CMakeLists.txt, Source/CursesDialog/ccmake.cxx, Source/CursesDialog/cmCursesStandardIncludes.h, Source/CursesDialog/form/CMakeLists.txt, Source/CursesDialog/form/cmFormConfigure.h.in, Source/CursesDialog/form/form.h: COMP: make it build on NetBSD, which has separate curses and ncurses, so it has to be detected that curses isn't good enough, but ncurses is, and that ncurses.h instead of curses.h is included Alex 2007-08-27 08:49 alex * Source/cmGlobalKdevelopGenerator.cxx: COMP: remove unused variable Alex 2007-08-26 23:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-26 19:27 alex * Source/: cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h: ENH: add all subdirs of the project to the kdevelop blacklist, so kdevelop doesn't watch these dirs for added or remved files everytime it is started Alex 2007-08-26 03:29 alex * Modules/FindKDE4.cmake: BUG: KDEDIRS contains the kde install locations, not the binary dirs, so make KDEDIRS actually work in FindKDE4.cmake Alex 2007-08-26 03:17 alex * Source/: cmMakefile.cxx, cmMakefile.h, cmSourceGroupCommand.cxx: COMP: parent is not used anymore with this patch, since now the name is given as a vector of components Alex 2007-08-26 02:42 alex * Modules/FindPkgConfig.cmake: STYLE: fix typo Alex 2007-08-25 23:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-24 23:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-24 14:39 alex * Tests/SourceGroups/: CMakeLists.txt, baz.c, main.c: BUG: demo (not really test) for the source_group() command Alex 2007-08-24 14:27 alex * Source/: cmInstallCommand.cxx, cmInstallCommandArguments.cxx, cmInstallCommandArguments.h: STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member of cmInstallCommandArguments instead of deriving from it Alex 2007-08-24 14:21 alex * Source/: cmMakefile.cxx, cmMakefile.h, cmSourceGroup.cxx, cmSourceGroupCommand.cxx: BUG: fix #4057 (which had several duplicates): handle recursivew source groups better, i.e. multiple sourcegroups with the same end component work now Alex 2007-08-24 13:30 david.cole * Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmTarget.h, Tests/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt, Tests/BundleTest/BundleSubDir/CMakeLists.txt, Tests/Framework/CMakeLists.txt: ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572. 2007-08-24 10:58 alex * Source/cmSourceGroupCommand.cxx: BUG: handle source_group names which consist only of the delimiter the same was as empty source group names Alex 2007-08-24 10:39 alex * Tests/SourceGroups/: CMakeLists.txt, bar.c, foo.c, main.c, sub1/foo.c, sub1/foobar.c: ENH: add test for source_group Alex 2007-08-24 08:55 alex * Source/cmInstallCommand.cxx: ENH: use cmCommandArgumentHelper for INSTALL(TARGETS, FILES, PROGRAMS, EXPORTS), saves a lot of code. INSTALL(DIRECTORY) is still done the old way, since this seems to be quite complicated -for INSTALL(TARGETS ): also parse PUBLIC_HEADER, PRIVATE_HEADER, RESOURCE Alex 2007-08-24 08:40 alex * Modules/CMakeForceCompiler.cmake: STYLE: fix typo in the docs Alex 2007-08-23 23:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-23 16:14 alex * Source/: cmCommands.cxx, cmInstallCommandArguments.cxx, cmInstallCommandArguments.h: ENH: class for parsing the arguments for INSTALL() Alex 2007-08-23 16:13 alex * Source/: cmCommandArgumentsHelper.cxx, cmCommandArgumentsHelper.h: ENH: add support for a default value, fix case when there is no item except the own group Alex 2007-08-22 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-22 11:32 david.cole * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallExportGenerator.cxx, cmInstallExportGenerator.h: ENH: Handle FRAMEWORK and BUNDLE arguments in the INSTALL TARGETS command. Work in progress... More to come. 2007-08-22 09:25 alex * Source/kwsys/RegularExpression.hxx.in: BUG: if there is no match, don't construct the stl string from a NULL pointer Alex 2007-08-21 23:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-21 16:51 alex * Modules/UseQt4.cmake: ENH: support QtScript Alex 2007-08-21 16:50 alex * Modules/FindQt4.cmake: ENH: support QtScript (since Qt 4.3), #4632 Alex 2007-08-21 16:22 alex * Source/cmLocalGenerator.cxx: STYLE: more space in the cmake_install.cmake script (easier to read) Alex 2007-08-21 16:21 alex * Source/CMakeLists.txt: COMP: make it build on Linux Alex 2007-08-21 15:30 alex * Source/kwsys/Glob.cxx: BUG: fix segfault if FindFiles() is called without actual match pattern (e.g. FILE(GLOB /usr/include) instead of FILE(GLOB /usr/include/* ) #4620 Alex 2007-08-21 13:47 alex * Source/cmGlobalKdevelopGenerator.cxx: ENH: also check for .hpp and .cxx files Alex 2007-08-21 12:34 alex * Source/cmStringCommand.h: COMP: header was missing... Alex 2007-08-21 12:31 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: fix leak 2007-08-21 11:30 alex * Source/cmStringCommand.cxx: ENH: store the matches for paren-delimited subexpression in CMAKE_MATCH_[0..9] variables, so to get multiple subexpressions from one string STRING(REGEX MATCH) has to be executed only once Alex 2007-08-21 10:56 alex * Source/cmStringCommand.h: STYLE: fix documentation for STRING(REPLACE) #5536 Alex 2007-08-20 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-20 16:59 alex * Source/: cmFindLibraryCommand.cxx, cmInstallGenerator.cxx, cmInstallTargetGenerator.cxx: STYLE: add some newlines to cmake_install.cmake, so it's easier to read -move the array behind the if, it's unused before it Alex 2007-08-20 11:03 david.cole * Source/cmGlobalXCodeGenerator.cxx: STYLE: Fix line length style errors introduced last week. 2007-08-20 08:49 alex * Source/cmFindPackageCommand.cxx: ENH: also process "~" and paths relative to CMAKE_CURRENT_SOURCE_DIR in Foo_DIR Alex 2007-08-19 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-18 23:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-17 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-17 10:41 alex * Modules/Platform/BlueGeneL.cmake: COMP: also use -Wl,-relax and -lc -lnss etc. when using the IBM compiler Alex 2007-08-17 10:14 alex * Source/cmGlobalGenerator.cxx: COMP: include windows.h first, as it is done in the other source files Alex 2007-08-17 10:05 alex * Source/: cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h: ENH: patch from Miguel - cleaning up a bit: static helper functions, remove unused scanner profiles, remove unused variables, etc. - correct entry in .project file - converts the make command and other paths obtained from cygwin cmake to windows style paths - provide environment setup for compiling with nmake - create linked resources and path entries for executable/library_output_path's not subdirs of binary path - fixes incorrect exclusions of output dirs when named the same as source dir - excludes the CMakeFiles subdirs from the directories to scan for output targets - removes possible redundant entries in - adds the all and preinstall targets to the target list - removes the linked resources for non out-of-source builds and conflicting dirs Alex 2007-08-17 09:33 alex * Source/CPack/: cmCPackRPMGenerator.cxx, cmCPackRPMGenerator.h: STYLE: InitializeInternal() is unused Alex 2007-08-17 09:13 alex * Modules/CPackRPM.cmake, Source/CPack/cmCPackRPMGenerator.cxx, Source/CPack/cmCPackRPMGenerator.h: ENH: patch from Eric Noulard for an RPM package generator It seems rpmbuild can't handle paths with spaces, it complains that Buildroot takes only one tag (or something like this), quoting and escaping don't seem to help. Alex 2007-08-17 09:00 hoffman * Modules/Platform/Darwin.cmake: ENH: use the correct flag for the linker 2007-08-16 23:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-16 16:50 alex * Source/cmGlobalGenerator.cxx: COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist) Alex 2007-08-16 15:33 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: move the code for the NOTFOUND checking into its own function, so Configure() gets easier to overview -improve the error message, now it also says in which directories and for which targets the missing variables are used -minor speedup: the include directories don't have to be checked per target, per directory is enough Alex 2007-08-16 15:03 alex * Modules/FindPythonLibs.cmake: STYLE: this wasn't intended to be committed Alex 2007-08-16 15:02 alex * Modules/: FindPythonLibs.cmake, Platform/BlueGeneL.cmake: ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you can get "relocation truncated to fit" errors Alex 2007-08-16 10:14 king * DartLocal.conf.in: ENH: Added dash1win98 expected nightly. 2007-08-16 09:22 hoffman * Modules/Platform/Darwin.cmake: ENH: make sure osx searches static and shared libs like other platforms 2007-08-16 08:37 alex * Modules/Platform/Generic-SDCC-C.cmake: COMP: fix arguments Alex 2007-08-16 07:38 malaterre * Source/kwsys/: Directory.hxx.in, Glob.hxx.in: COMP: Directory and Glob have pointer data members 2007-08-15 23:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-15 14:26 alex * Modules/: CMakeDetermineSystem.cmake, CMakeFindBinUtils.cmake, CMakeSystem.cmake.in, CMakeSystemWithToolchainFile.cmake.in: STYLE: don't use an extra file to generate CMakeSystem.cmake but instead configure the toolchain file into it if required -also search for nm, objdump and objcpy, so these can be used in macros Alex 2007-08-15 14:22 alex * Modules/Platform/Generic-SDCC-C.cmake: STYLE: explicitely set default options for sdcc, so it is visible for which processor it currently compiles, use --out-fmt-ihx to enforce .ihx files Alex 2007-08-15 11:38 david.cole * Source/kwsys/: CMakeLists.txt, Configure.h.in: COMP: Second try getting rid of Microsoft deprecation warnings. This time tested from KWStyle with vs8 to make sure the warnings are really gone. Remove the deprecation defs from CMakeLists and guard the defs in the header so we do not redefine them if they are already defined. 2007-08-15 10:26 alex * Source/cmListCommand.cxx, Source/cmListCommand.h, Tests/CMakeTests/ListTest.cmake.in: ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index and which is more useful, because then you can also access the item behind the one you were looking, useful for writing macros with optional keywords with parameters Alex 2007-08-15 09:43 alex * CMakeLists.txt, Modules/FindCurses.cmake: COMP: ccmake requires ncurses, according to Berk and since it doesn't build on NetBSD where there are separate curses and ncurses libraries, and where the curses library is found, which doesn't work for ccmake while the existing ncurses library would work. With this change it should be possible to test whether the found curses lib provides ncurses functionality. Alex 2007-08-15 09:25 david.cole * Source/kwsys/Configure.h.in: COMP: Suppress Microsoft deprecation warnings when building kwsys .c and .cxx files. This way, other projects that include kwsys will not see the warnings in kwsys .c and .cxx files, but they can still see the warnings in their own source files if they want to... 2007-08-15 08:47 alex * Source/CPack/cmCPackDebGenerator.cxx: COMP: fix warning about comparison signed - unsigned Alex 2007-08-15 08:28 alex * Source/CPack/cmCPackDebGenerator.cxx: COMP: fix build on HPUX, snprintf apparently doesn't work there Alex 2007-08-14 23:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-14 14:12 david.cole * Source/: cmMakefileLibraryTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.h: ENH: Improve framework support in the makefile generator to match the support just added to the Xcode generator. BUG: Remove spurious warning and eliminate empty Libraries subdir inside built framework. 2007-08-14 11:58 alex * Source/cmUtilitySourceCommand.h: STYLE: document the behaviour of UTILITY_SOURCE in cross compiling mode Alex 2007-08-14 11:45 david.cole * Source/cmGlobalXCode21Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalXCodeGenerator.cxx, Source/cmXCode21Object.cxx, Source/cmXCode21Object.h, Source/cmXCodeObject.cxx, Tests/Framework/CMakeLists.txt, Tests/Framework/fooBoth.h, Tests/Framework/fooNeither.h, Tests/Framework/fooPrivate.h, Tests/Framework/fooPublic.h, Tests/Framework/test.lua: ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder. 2007-08-14 10:27 alex * Source/cmSystemTools.cxx: COMP: patch from Mathieu: fix warning about unused variables in bootstrap mode Alex 2007-08-14 10:25 alex * Source/CPack/cmCPackDebGenerator.cxx: STYLE: another patch from Mathieu with some comments Alex 2007-08-14 10:20 alex * Modules/CPackDeb.cmake: BUG: fix typo Alex 2007-08-14 08:40 alex * Modules/CPackDeb.cmake, Source/CMakeLists.txt, Source/CPack/cmCPackDebGenerator.cxx, Source/CPack/cmCPackDebGenerator.h: ENH: deb generator: don't use the system provided ar, but do it yourself using the code from OpenBSD ar COMP: don't build all package generators on all platforms Alex 2007-08-13 23:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-13 11:04 alex * Modules/TestBigEndian.cmake: ENH: for universal binaries return the endianess based on the processor Alex 2007-08-12 23:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-12 21:08 alex * Modules/TestBigEndian.cmake: COMP: turn error into warning for now Alex 2007-08-11 23:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-10 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-10 16:28 hoffman * Source/CTest/cmCTestMemCheckHandler.cxx: ENH: fix output and valgrind truncation issue 2007-08-10 15:02 alex * Source/cmUtilitySourceCommand.cxx: ENH: print a warning if UTILITY_SOURCE is used in cross compiling mode -make it possible to preload the cache with the command in cross compiling mode Alex 2007-08-10 13:14 alex * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake, TestBigEndian.c, TestBigEndian.cmake, TestEndianess.c.in: STYLE: remove unused CheckTypeSize.c.in ENH: change test for endianess from TRY_RUN() to TRY_COMPILE() by testing the binary image of a 16bit integer array, tested on Linux x86, Intel Mac and Sun (big endian) Alex 2007-08-10 13:02 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: BUG: Fixed passing of configuration names to GetRealDependency and ConstructScript. Added GetConfigName helper method to do this. 2007-08-10 11:37 alex * Modules/FindOpenGL.cmake: STYLE: remove unnecessary default search paths Alex 2007-08-10 11:15 hoffman * Source/cmake.cxx: ENH: fix memory leak 2007-08-10 09:20 alex * Modules/CMakeDetermineCompilerId.cmake: BUG: fix compiler id test on cygwin Alex 2007-08-10 09:07 alex * Source/cmMakefile.cxx, Modules/CMakeDetermineSystem.cmake, Modules/CMakeSystemSpecificInformation.cmake: ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so the platform modules can set them again for the target system Alex 2007-08-10 08:54 alex * Modules/Platform/: AIX.cmake, BSDOS.cmake, BeOS.cmake, MP-RAS.cmake, QNX.cmake, RISCos.cmake: BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1 Alex 2007-08-09 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-09 16:54 alex * Tests/CMakeLists.txt: STYLE: mark these variables as advanced, they are only used for testing whether the tests should be added or not Alex 2007-08-09 16:47 alex * Modules/CMakeGenericSystem.cmake: BUG: use CMAKE_HOST_UNIX here instead of UNIX Alex 2007-08-09 15:57 alex * Source/: cmExportCommand.cxx, cmGlobalMSYSMakefileGenerator.h, cmGlobalMinGWMakefileGenerator.h, cmGlobalNMakeMakefileGenerator.h, cmGlobalWatcomWMakeGenerator.h: STYLE: use correct case for cmGlobalUnixMakefileGenerator3 make export() work with spaces in the path Alex 2007-08-09 15:31 hoffman * Source/cmSetSourceFilesPropertiesCommand.h: ENH: merge in doc change from head 2007-08-09 14:55 alex * Utilities/cmcurl/: CMakeLists.txt, CMake/CurlTests.c, CMake/OtherTests.cmake: STYLE: HAVE_LONG_LONG_CONST was completely unused here (it was used in the (unused) copy of curl under CMake/CTest/Curl/ ) Alex 2007-08-09 14:45 alex * Modules/CMakeDetermineCompilerId.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/Platform/BeOS.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/QNX.cmake, Modules/Platform/UnixPaths.cmake, Modules/Platform/Windows.cmake, Source/cmMakefile.cxx: ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set in cmMakefile.cxx, but now in the platform files and are now valid for the target platform, not the host platform. New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be used in all cmake files which are executed before CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old set is set to the new one in CMakeDetermineSystem.cmake and reset before the system platform files are loaded, so custom language or compiler modules which use these should still work. Alex 2007-08-09 14:26 alex * Source/: CMakeLists.txt, CTest/CMakeLists.txt: COMP: this copy of curl is unused, the one in Utilities/cmcurl/ is used Alex 2007-08-09 11:05 alex * Modules/CMakeSystemWithToolchainFile.cmake.in: BUG: work with spaces in the path Alex 2007-08-09 09:57 alex * Tests/CMakeLists.txt: COMP: lets see if this sets the timeout back to 5400 Alex 2007-08-09 09:03 alex * Source/kwsys/CommandLineArguments.hxx.in: STYLE: fix typo Alex 2007-08-09 08:49 alex * Source/cmTarget.cxx: STYLE: fix typo Alex 2007-08-09 08:48 alex * Source/cmDocumentation.cxx: BUG: properties and module names are case sensitive Alex 2007-08-08 23:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-08 15:44 alex * Source/CPack/cmCPackRPMGenerator.cxx: COMP: silence warnings Alex 2007-08-08 14:44 alex * Source/CPack/cmCPackGenerators.cxx: BUG: register the rpm generator for RPM Alex 2007-08-08 14:18 alex * Modules/CPackDeb.cmake, Source/CPack/cmCPackDebGenerator.cxx: ENH: patch from Mathieu: more entries in the debian control file Alex 2007-08-08 13:05 alex * Source/cmFindPackageCommand.cxx, Tests/FindPackageTest/CMakeLists.txt: ENH: remove the watch for the upper case variable name, it breaks the feature summary, which needs to check for both the upper case and original case _FOUND variables Alex 2007-08-08 11:33 alex * Source/CMakeLists.txt, Modules/CPack.cmake, Modules/CPackRPM.cmake, Source/CPack/cmCPackGenerators.cxx, Source/CPack/cmCPackRPMGenerator.cxx, Source/CPack/cmCPackRPMGenerator.h: ENH: add empty RPM package generator, Eric Noulard wants to work on it Alex 2007-08-08 10:05 alex * Tests/CMakeLists.txt: COMP: change the order of the tests, so maybe the timeout works Alex 2007-08-08 09:32 alex * Tests/CMakeLists.txt: ENH: also specify the C++ compiler for mingw Alex 2007-08-08 08:41 malaterre * Source/kwsys/CommandLineArguments.cxx: ENH: Remove extra ; 2007-08-07 23:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-07 18:02 alex * Tests/FindPackageTest/CMakeLists.txt: BUG: disable this test temporarily Alex 2007-08-07 16:26 alex * Source/cmFindPackageCommand.h: COMP: also commit the header... Alex 2007-08-07 15:42 alex * Modules/Dart.cmake: STYLE: find Dart quietly (so it doesn't go in the feature log) Alex 2007-08-07 15:41 alex * Modules/FeatureSummary.cmake, Source/cmFindPackageCommand.cxx, Source/cmake.cxx: ENH: add global properties for collecting enabled/disabled features during the cmake run and add macros print_enabled/disabled_features() and set_feature_info(), so projects can get a nice overview at the end of the cmake run what has been found and what hasn't FIND_PACKAGE() automatically adds the packages to these global properties, except when used with QUIET Maybe this can also be useful for packagers to find out dependencies of projects. Alex 2007-08-07 15:36 hoffman * DartLocal.conf.in: ENH: change ibm machine again 2007-08-07 15:09 alex * Source/cmGlobalGenerator.cxx: STYLE: I think the comment (and the book) were wrong about the naming of this file Alex 2007-08-07 13:57 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx: ENH: Replaced dependency integrity map with an explicit map from object file to source file for each language in each target. This simplifies creation of implicit dependency scanning rules and allows more than one object file in a target to start dependency scanning with the same source file. 2007-08-07 10:13 alex * Tests/CMakeLists.txt: BUG: the test for chicken should be named Chicken, not plplot Alex 2007-08-07 00:00 alex * Source/cmExtraCodeBlocksGenerator.cxx: ENH: don't create a CodeBlocks workspace, the CodeBlocks projects cover everything what's needed Alex 2007-08-06 23:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-06 22:08 alex * Modules/FindPackageHandleStandardArgs.cmake: STYLE: fix typo Alex 2007-08-06 17:09 hoffman * Source/cmCTest.cxx: ENH: change error to warning so ctesttest3 passes 2007-08-06 14:45 alex * Tests/CMakeLists.txt: ENH: add plplot and Chicken Scheme build tests Alex 2007-08-06 13:31 alex * Source/CPack/cmCPackDebGenerator.cxx: ENH: another fix for the deb generator by Mathieu Alex 2007-08-06 13:24 alex * Source/: cmExtraCodeBlocksGenerator.cxx, cmExtraCodeBlocksGenerator.h, cmExtraEclipseCDT4Generator.cxx: STYLE: fix line lengths Alex 2007-08-06 11:02 alex * Modules/: FindMPI.cmake, FindThreads.cmake: STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() also in FindMPI.cmake -remove unnecessary ELSE() in FindThreads.cmake Alex 2007-08-06 10:42 hoffman * Modules/FLTKCompatibility.cmake: ENH: threads used to include this 2007-08-06 09:03 alex * Source/CPack/cmCPackDebGenerator.cxx: BUG: patch from Mathieu: the md5sums were not correct Alex 2007-08-05 23:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-04 23:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-03 23:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-03 16:44 hoffman * Source/CTest/cmCTestGenericHandler.cxx: ENH: make sure there is an error and notify user if nightly start time not set 2007-08-03 16:44 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: show files as untested if no lines are covered 2007-08-03 16:42 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: ENH: fatal error if cvs update fails 2007-08-03 16:41 hoffman * Source/cmCTest.cxx: ENH: add a check to make sure nightly start time was specified 2007-08-03 16:35 hoffman * Source/CTest/cmCTestMemCheckHandler.cxx: ENH: add another valgrind error type 2007-08-03 16:31 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmInstallCommand.h, cmInstallTargetGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmTarget.cxx: ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation. 2007-08-03 15:44 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmMakefile.cxx, cmTarget.cxx: BUG: Target exclusion-from-all tests should always use the root local generator associated with the all target being tested. 2007-08-03 15:43 seanmcbride * Source/kwsys/CommandLineArguments.cxx: COMP: fixed compiler warning in sprintf usage 2007-08-03 15:26 alex * Modules/CPack.cmake, Modules/CPackDeb.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cpack.cxx: ENH: better error messages from the debian package generator -don't display the cpack help if a generator failed with some problem -check for cmSystemTools::GetErrorOccuredFlag() Alex 2007-08-03 09:39 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. Transformed NeedRequiresStep to use it. 2007-08-02 23:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-02 15:48 alex * Modules/FindPythonLibs.cmake: ENH: make the python modules usable for C and C++ and only write the header if it has changed Alex 2007-08-02 14:28 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: BUG: Removing accidental commit. 2007-08-02 14:28 king * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Quick-fix for accidental commit. 2007-08-02 14:23 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. 2007-08-02 13:38 king * Source/: cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. 2007-08-02 11:17 alex * Modules/Platform/: Windows-cl.cmake, Windows.cmake, WindowsPaths.cmake: ENH: use WindowsPaths.cmake on all Windows platforms, not only for cl, makes the mingw cross compiler work out of the box and should help mingw users on windows with a common install dir Alex 2007-08-02 09:37 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: Simplify makefile target generator listing of object files to clean. 2007-08-02 08:24 alex * Source/cmExtraEclipseCDT4Generator.cxx: COMP: fix warning Alex 2007-08-01 23:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-08-01 17:10 alex * Source/: cmInstallCommand.cxx, cmTryRunCommand.cxx: ENH: if no COMPONENT is specified, make this install item part of the "Unspecified" component -> if no components are used at all, no change in behaviour, if components are used completely, no change in behaviour, since this default will be overridden everywhere, if components where used partly, it is now possible to install only the unspecified items (e.g. everything which wasn't marked as "Development") Alex Alex 2007-08-01 16:15 david.cole * Tests/Framework/: bar.cxx, foo.cxx: BUG: Fix test that broke on Windows - sharing sources between SHARED and STATIC libraries requires correct export and import decorations in the source code... 2007-08-01 15:25 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmLocalXCodeGenerator.cxx, cmLocalXCodeGenerator.h: ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides a common interface to something that was implemented in most local generators anyway. 2007-08-01 14:58 alex * Source/: cmExtraCodeBlocksGenerator.cxx, cmake.cxx: BUG: also offer the extra generators in CMakeSetup Alex 2007-08-01 13:04 david.cole * Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx, Tests/Framework/CMakeLists.txt: BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets 2007-08-01 11:59 alex * Source/cmTryRunCommand.cxx: STYLE: some more tuning for the comment text Alex 2007-08-01 11:50 alex * Source/cmExtraEclipseCDT4Generator.cxx: ENH: works also with nmake, tested by Jeff Alex 2007-08-01 11:39 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not recognize preprocessor definition flags for the linker which has no preprocessor but does have flags starting with /D. 2007-08-01 11:36 king * Source/cmTarget.cxx: BUG: _LOCATION property should use the config name in the directory and not $(OutDir). This addresses bug#5363. 2007-08-01 10:53 king * Source/cmGeneratedFileStream.h: COMP: Fix warning about not being able to automatically generate a copy constructor. 2007-08-01 10:07 alex * Source/kwsys/DynamicLoader.cxx: COMP: also build the static dummy loader on Cray Catamount Alex 2007-08-01 09:18 alex * Source/: CMakeLists.txt, cmExtraEclipseCDT4Generator.cxx, cmExtraEclipseCDT4Generator.h, cmake.cxx: ENH: add Eclipse CDT4 generator, patch from Miguel A. Figueroa-Villanueva Alex 2007-08-01 09:14 alex * Modules/Platform/Catamount.cmake: ENH: add support for Catamount, the OS running on the compute nodes of Cray super computers Alex 2007-07-31 23:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-31 14:52 alex * Source/cmTryRunCommand.cxx, Tests/TryCompile/CMakeLists.txt: ENH: add tests for check_c_source_runs(), check_cxx_source_runs(), check_c_source_compiles() and check_cxx_source_compiles() -TRY_RUN in crosscompiling mode: copy the created executables to CMAKE_BINARY_DIR so the user can run them manually on the target Alex 2007-07-31 13:30 alex * Modules/: CheckCSourceRuns.cmake, CheckCXXSourceRuns.cmake, FindThreads.cmake: STYLE: don't use FIND_INCLUDE_FILE() but only FIND_INCLUDE_FILES() in FindThreads.h BUG: improve CheckC(XX)SourceRuns.cmake so that it works with cross compiling, the return value has to go in the cache but shouldn't overwrite the actual return value, and it should go only in the cache if we have a result from try_run() otherwise we won't get here again if we have a result later on Alex 2007-07-31 11:23 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix DLL and DEF being lost and add real support for /DEF: /DLL does not have an entry so just let it pass to advanced command line 2007-07-30 23:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-30 22:51 hoffman * Source/: cmSystemTools.cxx, CPack/cmCPackTGZGenerator.cxx, CPack/cmCPackTarCompressGenerator.cxx: ENH: use gnu tar for cygwin 2007-07-30 21:38 hoffman * Source/cmXMLParser.cxx: STYLE: fix warning 2007-07-30 15:52 alex * Source/kwsys/DynamicLoader.cxx: COMP: add a dynamic loader for systems which don't support dynamic loading, so this is handled in kwsys and not every project using this has to care for it Alex 2007-07-30 14:46 alex * Source/cmTryRunCommand.cxx: ENH: FORCE the values in the cache, otherwise the file is useless Alex 2007-07-29 23:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-28 23:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-28 00:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-27 13:12 alex * Source/CPack/cmCPackDebGenerator.cxx: STYLE: fix line length Alex 2007-07-27 11:57 alex * Modules/Platform/: UnixPaths.cmake, WindowsPaths.cmake: ENH: -add /usr/openwin/include and /usr/openwin/lib to the default search paths -add /${CMAKE_INSTALL_PREFIX}/(lib|bin|include) to the default cmake search paths -> this should help users who install stuff in their home Alex 2007-07-27 10:55 hoffman * Source/: cmCommandArgumentLexer.h, cmCommandArgumentParser.cxx, cmCommandArgumentParserTokens.h, cmConfigure.cmake.h.in, cmCoreTryCompile.cxx, cmDependsFortranLexer.h, cmDependsJavaLexer.h, cmExprLexer.h, cmXCodeObject.cxx, cmXCodeObject.h, cmaketest.h.in, cmakexbuild.cxx, CPack/OSXScriptLauncher.cxx, CPack/cmCPackConfigure.h.in, CPack/cmCPackGenerators.cxx, CPack/cmCPackZIPGenerator.cxx, CPack/cpack.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestMemCheckHandler.cxx: STYLE: fix some kwstyle errors 2007-07-27 08:59 alex * CMakeCPack.cmake, Source/cmSetPropertiesCommand.h, Source/cmake.cxx, Source/cmake.h, Modules/CPackDeb.cmake, Modules/FindPythonLibs.cmake, Source/CPack/cmCPackDebGenerator.cxx, Source/CPack/cpack.cxx, Source/CTest/cmCTestScriptHandler.cxx: ENH: deb generator can now generate deb packages -remove the unscriptable commands also from the cpack cmake -use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and the deb generator -make set_properties() scriptable -use a non-const char array for adding the python modules Alex 2007-07-27 04:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-26 16:38 hoffman * Source/CTest/cmCTestMemCheckHandler.cxx: ENH: add test output to valgrind output and truncate output for valgrind 2007-07-26 14:36 hoffman * Source/: cmXMLParser.cxx, cmXMLParser.h: ENH: fix warning on win64 2007-07-26 11:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-26 08:40 alex * Source/: cmTryRunCommand.cxx, CPack/cmCPackGenerators.cxx, CPack/cmCPackZIPGenerator.cxx, CPack/cpack.cxx: STYLE: fix line lengths Alex 2007-07-26 00:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-25 16:37 hoffman * Source/CTest/cmCTestTestHandler.cxx: ENH: fix bug with valgrind output being truncated 2007-07-25 15:08 alex * Modules/FindPythonLibs.cmake: COMP: same as in VTK, build modules by default as shared if the platform supports this, don't include shared modules in the generated header Alex 2007-07-25 13:08 alex * Source/CPack/: cmCPackDebGenerator.cxx, cmCPackGenerators.cxx: ENH: apply patch from Mathieu which creates a deb file (not finishsed yet) Alex 2007-07-25 11:41 alex * Source/CPack/cmCPackDebGenerator.cxx: COMP: silence warnings Alex 2007-07-25 10:57 alex * Modules/CPackDeb.cmake, Source/CMakeLists.txt, Source/cmake.cxx, Source/CPack/cmCPackDebGenerator.cxx, Source/CPack/cmCPackDebGenerator.h, Source/CPack/cmCPackGenerators.cxx: ENH: add an empty debian package generator, Mathieu volunteered to fill it :-) Alex 2007-07-25 09:22 hoffman * Source/: cmXMLParser.cxx, cmXMLParser.h: STYLE: fix compiler warning 2007-07-25 04:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-24 15:55 hoffman * Source/cmWin32ProcessExecution.cxx: ENH: fix resource leak 2007-07-24 15:27 hoffman * DartLocal.conf.in: ENH: clean up some missing dashboards 2007-07-24 14:50 alex * Source/kwsys/ProcessUNIX.c: COMP: sync with HEAD Alex 2007-07-24 14:43 hoffman * Source/CTest/: cmCTestMemCheckHandler.cxx, cmCTestMemCheckHandler.h, cmCTestTestHandler.h: ENH: add support for bounds checker 2007-07-24 14:14 alex * Source/kwsys/DynamicLoader.cxx: ENH: disable dynamic loader if shared libraries are not supported instead of hacking around it Alex 2007-07-24 12:52 alex * Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackZIPGenerator.cxx, Source/CPack/cmCPackZIPGenerator.h, Modules/CPackZIP.cmake, Modules/Platform/BlueGeneL.cmake: ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be private again -convert the ZIP generator to use a cmake script instead of hardcoding everything (CPackZIP.cmake) Alex 2007-07-24 10:05 hoffman * Source/kwsys/ProcessWin32.c: ENH: fix resource leak 2007-07-24 10:00 alex * Modules/CMakeDetermineSystem.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx: ENH: determine the current system also in cpack, so the search paths are loaded Additionally the makefile in cmCPackGenericGenerator is now protected instead of private, so with these two changes the cpack generators should now be able to find their tools and how to call these tools from cmake scripts, instead of hardcoding the search order and command line (as done e.g. in cmCPackZIPGenerator.cxx) Alex 2007-07-24 02:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-23 13:13 alex * Source/cmTryRunCommand.cxx: STYLE: put a lot of comments into the generated cmake-cache preloading file to aid the user with using it Alex 2007-07-23 11:22 alex * Modules/FindPythonInterp.cmake: STYLE: mark the variable as advanced Alex 2007-07-23 10:47 alex * Source/cmTryRunCommand.cxx: ENH: try to create a file which can be used for presetting the cache values of the TRY_RUN() results when crosscompiling Alex 2007-07-23 09:49 alex * Modules/: FindASPELL.cmake, FindBZip2.cmake, FindBoost.cmake, FindCURL.cmake, FindCurses.cmake, FindEXPAT.cmake, FindGnuplot.cmake, FindHSPELL.cmake, FindJPEG.cmake, FindJasper.cmake, FindLibXml2.cmake, FindLibXslt.cmake, FindMPEG.cmake, FindMPEG2.cmake, FindMotif.cmake, FindOpenAL.cmake, FindPNG.cmake, FindPackageHandleStandardArgs.cmake, FindPerl.cmake, FindPerlLibs.cmake, FindPhysFS.cmake, FindPythonInterp.cmake, FindPythonLibs.cmake, FindSDL.cmake, FindTCL.cmake, FindTIFF.cmake, FindTclsh.cmake, FindWget.cmake, FindZLIB.cmake: ENH: add second failure message parameter to FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify their own better failure messages. If the default is ok use "DEFAULT_MSG". Do this also for FindBoost.cmake (#5349) Alex 2007-07-23 09:06 alex * Source/: cmLocalGenerator.cxx, kwsys/SystemTools.cxx: PERF: micro optimization: the (*pos1) && (*pos1=='/') were redundant, and hasDoubleSlash is false in most cases, so in most cases 3 comparisons were done, now only one Alex 2007-07-23 00:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-21 23:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-20 22:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-20 16:31 alex * Utilities/KWStyle/CMakeFiles.txt.in: ENH: add quotes around the file names, so kwstyle can handle it if there are spaces in the path Alex 2007-07-20 14:08 hoffman * Source/cmCommandArgumentParser.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: user more memory for parser and add test to complex that sets a huge string 2007-07-20 13:03 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: fix div by 0 2007-07-20 12:25 hoffman * Utilities/cmcurl/CMake/OtherTests.cmake: ENH: change order so windows functions are found first since try compile is slow on windows 2007-07-20 10:07 hoffman * DartLocal.conf.in: ENH: change name 2007-07-20 08:48 alex * Source/cmMakefile.cxx: STYLE: even more output when --debug-output is used Alex 2007-07-20 08:36 alex * Source/: cmDocumentation.cxx, cmExportCommand.h, cmExtraCodeBlocksGenerator.cxx, cmExtraCodeBlocksGenerator.h, cmFileCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmHexFileConverter.cxx, cmIncludeExternalMSProjectCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.h, cmTryRunCommand.h, cmake.h, CTest/cmCTestScriptHandler.cxx: STYLE: fix line lengths Alex 2007-07-19 21:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-19 15:39 alex * Modules/CPack.STGZ_Header.sh.in: ENH: try if tail works with the -n + syntax, if not use only "+" (GNU tail warns that this is deprecated) Alex 2007-07-19 13:40 alex * Modules/FindTCL.cmake: ENH: add TK_FOUND and TCLTK_FOUND TCL_FOUND is now TRUE if Tcl was found, before it was only TRUE if Tcl and Tk were found Alex 2007-07-19 11:59 alex * Modules/FindPythonLibs.cmake: BUG: fix typo Alex 2007-07-19 11:47 alex * Modules/FindPythonLibs.cmake: ENH: make the list of modules global Alex 2007-07-19 11:13 alex * Source/: cmFindPackageCommand.h, cmMakefile.cxx, cmakemain.cxx, CPack/cpack.cxx: STYLE: fix some typos, nicer debug output Alex 2007-07-19 10:20 alex * Modules/FindPythonLibs.cmake: ENH: only load the static modules in the LoadAll function Alex 2007-07-19 09:42 alex * Modules/: CPack.STGZ_Header.sh.in, FindPHP4.cmake: BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on SunOS /usr/bin/tail doesn't understand the -n + syntax -remove standard searchd dirs from FindPHP4.cmake Alex 2007-07-19 09:00 alex * Modules/: FindASPELL.cmake, FindCURL.cmake, FindCurses.cmake, FindDCMTK.cmake, FindEXPAT.cmake, FindGLUT.cmake, FindGTK.cmake, FindGnuplot.cmake, FindHSPELL.cmake, FindMPEG.cmake, FindMPEG2.cmake, FindMotif.cmake, FindPerl.cmake, FindPhysFS.cmake, FindPike.cmake, FindPythonLibs.cmake, FindSDL.cmake, FindTCL.cmake, FindTclsh.cmake, FindWget.cmake, readme.txt: ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the not-too-complicated modules -remove unnecessary default search paths used in the FIND_XXX() calls Alex 2007-07-18 14:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-18 13:56 alex * Modules/: FindBZip2.cmake, FindCups.cmake, FindJPEG.cmake, FindJasper.cmake, FindLibXslt.cmake, FindOpenAL.cmake, FindPNG.cmake, FindPerlLibs.cmake, FindPythonInterp.cmake, FindTCL.cmake, FindTIFF.cmake, FindZLIB.cmake: ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXX modules, remove some of the extra search paths which are also searched by default Alex 2007-07-18 13:26 alex * Modules/: CMakeLists.txt, FindLibXml2.cmake, FindPackageHandleStandardArgs.cmake, FindPythonLibs.cmake: ENH: add a macro FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) which handles the required and QUIET arguments and sets _FOUND Alex 2007-07-18 10:52 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two elements, use the first one as the compiler and the second one as ARG1 for the compiler Alex 2007-07-18 10:19 alex * Source/: CMakeLists.txt, cmExtraCodeBlocksGenerator.cxx, cmake.cxx: ENH: build codeblocks generator also on Windows Alex 2007-07-17 13:43 hoffman * Source/cmAddCustomCommandCommand.h: STYLE: add more docs 2007-07-17 13:10 alex * Source/cmakemain.cxx: COMP: fix warning about unused variable Alex 2007-07-17 12:01 alex * Source/: cmake.cxx, cmakemain.cxx: COMP: fix build on Windows, where GetCurrentDirecty() is redefined to GetCurrentDirectoryA() -correct return value for md5sum Alex 2007-07-17 10:44 alex * Source/: cmLocalGenerator.cxx, cmake.cxx, cmakemain.cxx: STYLE: fix line lengths and add "remove -f" to the docs Alex 2007-07-17 09:25 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.cxx, cmMakefile.cxx, cmMessageCommand.cxx, cmakemain.cxx: ENH: produce a lot more output when running with --debug-output -try to fix build error on HPUX Alex 2007-07-17 08:51 alex * Modules/Platform/WindowsPaths.cmake: ENH: also look in the include/, lib/ and bin/ directories in the cmake install dir under windows, this will help e.g. people using kdewininstaller and similar setups Alex 2007-07-17 08:41 alex * Modules/: KDE3Macros.cmake, FindKDE3.cmake: ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make it adjustable and detect if libkdecore.so is a 64bit library Alex 2007-07-16 15:10 alex * Source/cmSystemTools.cxx: BUG: fix bootstrapping, md5sum disabled in bootstrapping mode Alex 2007-07-16 13:29 alex * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: STYLE: remove debug output 2007-07-16 13:26 alex * Source/cmMakefile.cxx, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn't working, for both the result was always empty, since cmMakefile::GetProperty() recognized it as a special property, constructed a correct return value and called cmMakefile::SetProperty() with this list of directories, which then didn't actually set the property, but applied it to the internal vector of include/link directories. The following getPropertyValue in cmMakefile::GetProperty() then still didn't find it and returned nothing. Now for all special property the static string output is used and its content is returned. I'm not sure it is the right way to fix this problem but at least it seems to work and it fixes the Paraview3 build Alex 2007-07-16 10:59 hoffman * CMakeLists.txt, Readme.txt: ENH: final 2.4.7 commit 2007-07-16 10:54 alex * Source/: cmake.cxx, cmSystemTools.h, cmSystemTools.cxx: ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums of files, compatible to md5sum output Alex 2007-07-16 10:54 hoffman * Readme.txt: ENH: 2007-07-16 10:53 hoffman * Readme.txt: ENH: clean up a bit 2007-07-16 10:13 alex * Modules/Platform/NetBSD.cmake: BUG: the Plugin test fails on NetBSD, let's see if this fixes it Alex 2007-07-16 09:08 alex * Modules/Platform/UnixPaths.cmake: ENH: also add the install base dir of the running cmake to the search directories for the FIND_XXX() commands, for the case that somebody has its own install tree Alex 2007-07-13 12:03 alex * Source/cmAddLibraryCommand.cxx, Utilities/CMakeLists.txt: STYLE: better error message, name the new manpages cmakecommands, cmakecompat, cmakeprops and cmakemodules Alex 2007-07-13 11:20 alex * Modules/Platform/DragonFly.cmake: ENH: add DragonFly BSD, which is very close to FreeBSD (#4500) Alex 2007-07-13 10:29 alex * Modules/: CheckCSourceRuns.cmake, CheckCXXSourceRuns.cmake: BUG: the SET( ... CACHE INTERNAL) didn't work as expected, since the variable is already added to the cache inside cmTryRunCommand.cxx, so the value used here was ignored. Additionally the INTERNAL made it internal, which shouldn't be done when cross compiling, since here the user is required to edit this variable manually e.g. using ccmake. Alex 2007-07-13 00:58 alex * Source/: CMakeLists.txt, cmExtraCodeBlocksGenerator.cxx, cmExtraCodeBlocksGenerator.h, cmake.cxx: ENH: add a simple CodeBlocks extra generator, early alpha stage, there seems to be interest in it Alex 2007-07-12 16:15 alex * Modules/Platform/BlueGeneL.cmake: ENH: add the static libs always to the link libs, if they are not used it shouldn't hurt Alex 2007-07-12 15:00 alex * Modules/: CMakeLists.txt, CheckStructHasMember.cmake: ENH: add macro to test if a member has specified struct, e.g. check_struct_has_member("struct stat" st_rdev "${CFG_HEADERS}" HAVE_STRUCT_STAT_ST_RDEV) Alex 2007-07-12 13:41 alex * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, Platform/Generic-ADSP-ASM.cmake, Platform/Generic-ADSP-C.cmake, Platform/Generic-ADSP-CXX.cmake, Platform/Generic-ADSP-Common.cmake: ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerShark DSPs, patch from Raphael Cotty Alex 2007-07-12 11:56 alex * Source/cmListCommand.cxx, Source/cmListCommand.h, Tests/CMakeTests/ListTest.cmake.in: ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org added tests for LIST(CONTAINS, SORT, REVERSE) Alex 2007-07-12 11:05 alex * Modules/FindCURL.cmake: BUG: honor REQUIRED and QUIETLY (#5312) Alex 2007-07-12 10:38 alex * Readme.txt: STYLE: add Readme.txt with instructions how to build cmake, fix #5296 Alex 2007-07-12 10:17 martink * Source/cmGetDirectoryPropertyCommand.cxx: BUG: fix screwup in GetDirectoryProp... 2007-07-12 08:37 alex * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmTarget.cxx, Modules/CMakeASMCompiler.cmake.in, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeForceCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeJavaCompiler.cmake.in: ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) Alex 2007-07-11 17:29 alex * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmTarget.cxx, Modules/CMakeASMCompiler.cmake.in, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeForceCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeJavaCompiler.cmake.in: COMP: revert last commit for now, broke Visual Studio Alex 2007-07-11 16:22 alex * Modules/CMakeASMCompiler.cmake.in, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeForceCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeLists.txt, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmTarget.cxx: ENH: CMAKE__LINKER_PREFERENCE is now an integer priority, not a two-step priority (None or Prefered) Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40 This is the same order as automake choses: http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html This change should be backward compatible: if there is a project using fortran and CXX, they had to set the LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated the project files). Explicitely setting the linker language still overrides automatic detection. If somebody has a custom language for cmake and the PREFERENCE starts with "P", its changed to 100, which gives it preference over all other languages (except the other custom languages which have also "Prefered"). "None" is converted to 0. Alex 2007-07-11 15:53 alex * Source/: cmDocumentation.cxx, cmDocumentation.h, cmPropertyDefinition.cxx, cmPropertyDefinition.h, cmake.cxx, cmake.h, cmakemain.cxx: STYLE: sort the property documentation into global/directory/target/test/sourcefile and variable sections Alex 2007-07-11 15:50 alex * Source/cmMakefile.cxx: ENH: change the way #cmakedefine is changed to #undef, so it is similar to what autoconf does. This makes porting software from autoconf to cmake easier, since it's easier to diff the resulting config headers. Now the following #cmakedefine HAVE_STRING_H 1 #cmakedefine HAVE_STRLCAT 1 produce: #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT */ whereas before they produced: #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT 1 */ Since it's commented out anyway, it's now change in behaviour. Alex 2007-07-11 13:39 alex * Modules/CMakeASMInformation.cmake: ENH: add CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} and don't allow preset CMAKE_xxx_INFORMATION files Alex 2007-07-10 21:38 alex * Modules/FindKDE4.cmake: STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM() Alex 2007-07-10 17:11 alex * Modules/Platform/eCos.cmake: ENH: add the ecos include dir and the ecos definitions by default Alex 2007-07-10 14:05 martink * Source/cmGetSourceFilePropertyCommand.cxx: ENH: added some documentation to explain a section of code a bit better 2007-07-10 13:52 martink * Source/: cmMakefile.cxx, cmGetDirectoryPropertyCommand.cxx: ENH: some cleanup of get property commands 2007-07-09 14:30 king * Source/cmLocalVisualStudioGenerator.h: STYLE: Removed stray comment. 2007-07-09 13:07 alex * Modules/Platform/eCos.cmake: ENH: add support for building eCos applications natively Alex 2007-07-09 08:16 alex * Tests/Assembler/main.c: COMP: hopefully fix test, finally Alex 2007-07-09 05:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-09 00:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-08 22:06 alex * Tests/Assembler/main.c: COMP: fix test Alex 2007-07-07 17:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-06 19:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-06 14:02 alex * Tests/Assembler/CMakeLists.txt: BUG: fix test Alex 2007-07-06 13:08 alex * Utilities/CMakeLists.txt: BUG: the cmake deps depend on cmake Alex 2007-07-06 08:53 alex * Tests/Assembler/: CMakeLists.txt, main.c: COMP: OPTIONAL was missing in ENABLE_LANGUAGE() -the assembler file seems to work for Linux and FreeBSD -try to fix main() for HP-UX compiler Alex 2007-07-05 16:38 alex * Tests/Assembler/CMakeLists.txt: STYLE: some more output Alex 2007-07-05 16:32 alex * Tests/Assembler/: CMakeLists.txt, main-linux-x86-gas.s: COMP: skip APPLE, since there with universal binaries the assembler file would be built for both architectures Alex 2007-07-05 16:11 alex * Tests/Assembler/CMakeLists.txt: COMP: let's see if this assembler file works also on other platforms than linux... Alex 2007-07-05 15:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-05 09:05 alex * Tests/: CMakeLists.txt, Assembler/CMakeLists.txt, Assembler/main-linux-x86-gas.s, Assembler/main.c: ENH: add a simple assembler test Alex 2007-07-04 08:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-03 16:10 alex * Source/: cmCommandArgumentsHelper.cxx, cmExternalMakefileProjectGenerator.cxx, cmake.cxx: STYLE: name the external generator "KDevelop3 - Unix Makefiles" instead of "Unix Makefiles - KDevelop3" -initialize Ignore to 0, crashes otherwise Alex 2007-07-03 11:41 alex * Modules/FindOpenGL.cmake: STYLE: don't test twice for APPLE Alex 2007-07-03 09:45 king * DartLocal.conf.in: ENH: Adding hythloth expected nightly submissions. 2007-07-03 08:26 alex * Source/: cmDocumentation.cxx, cmDocumentation.h: COMP: fix compile on HP-UX with aCC, reusing the same identifier for a variable as for the enum type doesn't work here Alex 2007-07-03 03:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-07-02 16:46 alex * Source/: cmCommandArgumentsHelper.cxx, cmExportCommand.cxx: COMP: fix warnings Alex 2007-07-02 16:04 king * Source/: cmFileCommand.cxx, cmFileCommand.h: COMP: Remove unused argument. 2007-07-02 16:04 king * Source/cmInstallTargetGenerator.cxx: COMP: Remove shadowed local. 2007-07-02 15:54 alex * Modules/CMakeFindBinUtils.cmake: COMP: with visual studio it's no error if link isn't found Alex 2007-07-02 15:43 alex * Source/: cmBootstrapCommands.cxx, cmCommand.h, cmCommandArgumentsHelper.cxx, cmCommandArgumentsHelper.h, cmExportCommand.cxx, cmExportCommand.h: ENH: add framework for unified handling of arguments to cmake commands, example see cmExportCommand.cxx Alex 2007-07-02 14:56 king * Source/: cmFileCommand.cxx, cmFileCommand.h, cmInstallCommand.cxx, cmInstallDirectoryGenerator.cxx, cmInstallDirectoryGenerator.h, cmInstallExportGenerator.cxx, cmInstallExportGenerator.h, cmInstallFilesGenerator.cxx, cmInstallFilesGenerator.h, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallScriptGenerator.cxx, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: Further cleanup of installation script generation. The per-component and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post. 2007-07-02 14:18 alex * Modules/CMakeForceCompiler.cmake: ENH: make supporting embedded compilers need a user specific linker file for compiling an executable (amd thus cannot build the compiler-id program) easier by providing CMAKE_FORCE_XXX() macros which force cmake to use the given compilers anyway Alex 2007-07-02 13:32 king * Source/: cmTarget.cxx, cmTarget.h: STYLE: Fixed line-too-long, fixed indentation, removed trailing whitespace, added function separator comment lines. 2007-07-02 13:29 alex * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeSystemSpecificInformation.cmake, Tests/CMakeTests/DummyToolchain.cmake, Tests/CMakeTests/ToolchainTest.cmake.in: ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE Instead of presetting these variables to arbitrary filenames, users should set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a Platform/ directory so these files will all follow the official cmake style, which should make it easier to understand and debug project which have their own platform/toolchain support files. -remove support for a suffix to MS crosscompilers, since this is not (yet) supported by cmake and might confuse users Alex 2007-07-02 12:46 alex * Modules/CMakeFindBinUtils.cmake: BUG: with MS Visual Studio currently there is no compiler id, so check the generator too Alex 2007-07-02 11:31 king * Source/cmInstallTargetGenerator.cxx: BUG: Fix install_name_tool update of the executable in an installed bundle on OSX. This addresses bug#4534. 2007-07-02 11:24 alex * Source/cmDocumentation.h: COMP: fix build with msvc 6, the enums are now part of a class which is already completely parsed Alex 2007-07-02 11:05 alex * Utilities/CMakeLists.txt: BUG: fix build with cmake < 2.4 Alex 2007-07-02 11:02 king * Source/: cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: Improved indentation of generated cmake_install.cmake code. 2007-07-02 09:58 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Enable versioned executable test everywhere but XCode. 2007-07-01 22:55 hoffman * Source/: cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h: COMP: fix warning in release branch 2007-07-01 16:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-30 22:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-30 21:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-29 16:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-29 12:58 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/Platform/Linux.cmake, Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserHelper.h, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx, Tests/StringFileTest/InputFile.h.in, Tests/StringFileTest/StringFile.cxx: ENH: RC 11 2007-06-29 11:30 hoffman * DartLocal.conf.in: ENH: remove more machines 2007-06-29 11:18 hoffman * CMakeLists.txt, DartLocal.conf.in: ENH: make DartLocal.conf part of project 2007-06-28 16:11 king * Source/: cmInstallDirectoryGenerator.cxx, cmInstallExportGenerator.cxx, cmInstallFilesGenerator.cxx, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: First step of install script generator cleanup. Each configuration to be installed is now separately handled instead of using variables to store per-configuration names. For targets the component and configuration install-time tests are now done in the install script instead of in the FILE(INSTALL) command. This cleans things up like not trying to strip a file that was optionally not installed. It also simplifies the code for install_name adjustment on OSX. This commit is surrounded by the tags CMake-InstallGeneratorCleanup1-pre and CMake-InstallGeneratorCleanup1-post. 2007-06-28 15:28 alex * Source/cmGlobalGenerator.cxx: COMP: fix warning about unused parameter Alex 2007-06-28 15:04 alex * Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmakemain.cxx, Utilities/CMakeLists.txt: ENH: generate separate documentation for the commands, compatiblity commands, modules and properties as html, text and man pages. The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules, so they are easy to type. Alex 2007-06-28 13:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-28 11:00 alex * Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmDumpDocumentation.cxx, Source/cmakemain.cxx, Source/CursesDialog/ccmake.cxx, Utilities/CMakeLists.txt: ENH: -in the full documentation there is now an extra section for compatibility commands, so users see which commands they shouldn't use -cmake -h now also works with lower case commands --help-fullm --help-command, --help-module and --help-property now determine the output format from the extension of the given filename Let me know if there are some things I overlooked. Alex 2007-06-28 10:22 alex * Source/cmGlobalVisualStudio6Generator.cxx: COMP: fix typo Alex 2007-06-28 09:14 alex * Modules/: CMakeASM-ATTInformation.cmake, CMakeASMCompiler.cmake.in, CMakeASMInformation.cmake, CMakeDetermineASM-ATTCompiler.cmake, CMakeDetermineASMCompiler.cmake, CMakeTestASM-ATTCompiler.cmake, CMakeTestASMCompiler.cmake, Platform/gas.cmake: ENH: initial support for assembler in cmake, needs testing by our users Alex 2007-06-28 09:09 alex * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmEnableLanguageCommand.cxx, cmEnableLanguageCommand.h, cmGlobalBorlandMakefileGenerator.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMSYSMakefileGenerator.h, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Win64Generator.cxx, cmGlobalVisualStudio8Win64Generator.h, cmGlobalWatcomWMakeGenerator.cxx, cmGlobalWatcomWMakeGenerator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h, cmProjectCommand.cxx: ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do something like this: ENABLE_LANGUAGE(ASM-ATT) IF(CMAKE_ASM-ATT_COMPILER_WORKS) ... do assembler stufff ELSE(CMAKE_ASM-ATT_COMPILER_WORKS) ... fallback to generic C/C++ ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS) Alex 2007-06-27 16:28 alex * Source/kwsys/: DynamicLoader.cxx, ProcessUNIX.c: ENH: build on BlueGene/L: -add static resolv, nss_files and nss_dns libs to the default set of libs, otherwise we get undefined references out of libc to several functions -add a dummy DynamicLoader in kwsys for systems without shared libs -BlueGene doesn't have SA_SIGINFO Alex 2007-06-27 16:14 king * Source/cmInstallCommand.cxx: BUG: Do not install the import library for an executable that does not have ENABLE_EXPORTS set. 2007-06-27 16:10 king * Source/: cmFileCommand.cxx, cmFileCommand.h: BUG: Need to compute the correct versioned name for executables on cygwin. This addresses bug#5238. 2007-06-27 15:42 alex * Source/cmTarget.cxx: ENH: here we really want only non-imported targets, as discussed with Brad Alex 2007-06-27 14:55 alex * Modules/CMakeDetermineCompilerId.cmake: BUG: use ${LANG}_COMPILER_ARG1 also here, otherwise some compilers won't be able to compile e.g. the C++ source file (e.g. the ADSP compiler needs -c++ for compiling C++ files) Alex 2007-06-27 13:22 king * Tests/Java/CMakeLists.txt: BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency. 2007-06-27 12:07 king * Modules/Platform/Linux.cmake, Modules/Platform/UnixPaths.cmake, Source/cmFindLibraryCommand.cxx, Source/cmake.cxx: ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007. 2007-06-27 12:05 king * Source/cmPropertyDefinition.cxx: BUG: Fixed spelling of globally in global property names. 2007-06-27 11:42 king * Modules/Platform/GNU.cmake: ENH: Added GNU/Hurd platform. Taken from debian patch 407155. 2007-06-27 11:39 king * Source/kwsys/ProcessUNIX.c: COMP: Fix for platforms that do not have siginfo on their signal handlers. 2007-06-27 08:43 alex * Tests/CMakeLists.txt: COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTY Alex 2007-06-27 04:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-26 19:54 alex * Source/cmGlobalGenerator.cxx: ENH: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, since CMAKE_SYSTEM_NAME may already have been set when crosscompiling Alex 2007-06-26 17:14 alex * Source/cmGlobalGenerator.cxx: COMP: fix broken tests for now Alex 2007-06-26 17:08 alex * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: COMP: fix bootstrapping Alex 2007-06-26 15:30 alex * Tests/: CMakeLists.txt, SimpleCOnly/CMakeLists.txt, SimpleCOnly/bar.c, SimpleCOnly/foo.c, SimpleCOnly/main.c: ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this doesn't support C++ and also doesn't have a printf() implementation by default -add a test for mingw cross compiler Alex 2007-06-26 15:15 alex * Tests/CMakeLists.txt, Modules/Platform/Generic-SDCC-C.cmake: ENH: 2007-06-26 14:48 martink * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: ENH: add SetProperties into bootstrap 2007-06-26 13:50 alex * Source/: cmDefinePropertyCommand.h, cmGetPropertyCommand.h, cmSetPropertiesCommand.h: STYLE: rename chain to inherit in the docs Alex 2007-06-26 13:19 alex * Modules/: CMakeCCompilerId.c, Platform/Generic-SDCC-C.cmake: ENH: add basic support for sdcc (http://sdcc.sourceforge.net), needs sdcc (sdcclib) cvs for creating libraries) Alex 2007-06-26 13:05 alex * Modules/Platform/Generic.cmake, Source/cmAddLibraryCommand.cxx, Source/cmake.cxx, Source/cmake.h, Modules/CMakeGenericSystem.cmake, Modules/Platform/BlueGeneL.cmake: STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS Alex 2007-06-26 13:00 alex * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Source/cmGlobalGenerator.cxx: ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to load CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset when using cmake for cross compiling use type STRING instead of FILEPATH since otherwise a strange filename was generated Alex 2007-06-26 04:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-25 12:50 martink * Source/: cmGetPropertyCommand.cxx, cmSetPropertiesCommand.cxx: COMP: fix warnings 2007-06-25 12:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-25 10:34 martink * Source/: cmDefinePropertyCommand.cxx, cmDefinePropertyCommand.h, cmProperty.h, cmPropertyDefinition.cxx, cmPropertyMap.cxx, cmake.cxx, cmake.h: ENH: added the ability to document variables and cached_variables 2007-06-25 10:33 martink * Source/: cmGetPropertyCommand.cxx, cmGetPropertyCommand.h: ENH: added cmGetPropertyCommand 2007-06-25 09:51 martink * Source/cmCommands.cxx, Source/cmGetCMakePropertyCommand.cxx, Source/cmMakefile.cxx, Source/cmSetDirectoryPropertiesCommand.cxx, Source/cmSetPropertiesCommand.cxx, Source/cmake.cxx, Tests/Properties/CMakeLists.txt: ENH: some property cleanup and added GetProperty 2007-06-24 06:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-23 01:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-22 11:31 hoffman * CMakeLists.txt, Utilities/Release/CMake.nsi.in, Utilities/Release/CMakeInstall.bmp, Utilities/Release/MakeRelease.cmake.in, Utilities/Release/README, Utilities/Release/Release.cmake, Utilities/Release/cmake_login, Utilities/Release/cmake_release.sh.in, Utilities/Release/config_AIX, Utilities/Release/config_CYGWIN_NT-5.1, Utilities/Release/config_Darwin, Utilities/Release/config_HP-UX, Utilities/Release/config_IRIX64, Utilities/Release/config_Linux, Utilities/Release/config_OSF1, Utilities/Release/config_SunOS, Utilities/Release/cygwin-package.sh.in, Utilities/Release/release_dispatch.sh: ENH: remove old style release stuff 2007-06-22 10:22 alex * Modules/: CMakeLists.txt, FindMPI.cmake, Platform/BlueGeneL.cmake: ENH: add support for BlueGene/L Alex 2007-06-22 09:58 alex * Source/: cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmCPluginAPI.cxx, cmMakefile.cxx, cmMakefile.h: ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet working STYLE: fix line lengths and indentation, use enum as argument to AddLibrary() instead of int (which was initialized from a bool in some cases) Alex 2007-06-22 08:44 alex * Source/: cmDocumentation.cxx, cmDocumentation.h, cmake.cxx, cmake.h: ENH: put compatibility commands in extra section and prepare for creating separate man pages for properties, modules, commands and compatibility commands Alex 2007-06-21 16:23 alex * Modules/CMakeGenericSystem.cmake, Modules/Platform/Generic.cmake, Source/cmAddLibraryCommand.cxx: ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the target platform doesn't support shared libraries Alex 2007-06-21 14:06 alex * Tests/Java/CMakeLists.txt: STYLE: add some more output, so it is easier to understand Alex 2007-06-21 13:08 alex * Source/: cmLocalGenerator.cxx, cmTarget.cxx: BUG: handle dependencies to imported targets better: don't create a dependency if the target name was not listed in DEPENDS, if it was listed in DEPENDS, create a dependency to the file Seems to work, but have to check with Brad. Alex 2007-06-21 06:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-21 04:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-20 23:01 alex * Source/cmMakefile.h: STYLE: GetProjectName() is const Alex 2007-06-20 03:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-19 14:57 alex * Source/cmInstallExportGenerator.cxx: COMP: fix build under windows Alex 2007-06-19 13:10 alex * Source/: CMakeLists.txt, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallExportGenerator.cxx, cmInstallExportGenerator.h: ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT ) , tests still have to be added Alex 2007-06-19 11:11 alex * Source/: cmInstallCommand.cxx, cmInstallCommand.h, cmInstallDirectoryGenerator.cxx, cmInstallDirectoryGenerator.h, cmInstallFilesGenerator.cxx, cmInstallFilesGenerator.h, cmInstallGenerator.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: STYLE: preparations for the INSTALL(EXPORT ...) generator -move std::string Destination to cmInstallGenerator, since all (except the script one) have it and add a const accessor so it can be queried -use temporary variables in cmInstallCommand for the generators so they can be reused easier -some more const Alex 2007-06-19 09:18 king * Source/cmCPluginAPI.cxx: COMP: Work-around warning about static specifier on HP compiler. 2007-06-18 18:01 alex * Modules/CMakeDetermineJavaCompiler.cmake: STYLE: use IF(NOT ...) and remove MARK_AS_ADVANCED() for variables which are not defined here Alex 2007-06-18 17:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-18 11:59 king * bootstrap, Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmCPluginAPI.cxx, Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmGetSourceFilePropertyCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalXCodeGenerator.cxx, Source/cmLocalXCodeGenerator.h, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmOutputRequiredFilesCommand.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h, Source/cmQTWrapUICommand.cxx, Source/cmQTWrapUICommand.h, Source/cmSourceFile.cxx, Source/cmSourceFile.h, Source/cmSourceFileLocation.cxx, Source/cmSourceFileLocation.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: Merging changes from branch CMake-SourceFile2-b between tags CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and CMake-SourceFile2-b-mp1-post on the trunk. The changes re-implement cmSourceFile and the use of it to allow instances to be created much earlier. The use of cmSourceFileLocation allows locating a source file referenced by a user to be much simpler and more robust. The two SetName methods are no longer needed so some duplicate code has been removed. The strange "SourceName" stuff is gone. Code that created cmSourceFile instances on the stack and then sent them to cmMakefile::AddSource has been simplified and converted to getting cmSourceFile instances from cmMakefile. The CPluginAPI has preserved the old API through a compatibility interface. Source lists are gone. Targets now get real instances of cmSourceFile right away instead of storing a list of strings until the final pass. TraceVSDependencies has been re-written to avoid the use of SourceName. It is now called TraceDependencies since it is not just for VS. It is now implemented with a helper object which makes the code simpler. 2007-06-18 09:00 alex * Source/CPack/: cmCPackGenerators.cxx, cmCPackNSISGenerator.cxx: ENH: NSIS exists also for Linux, not only Windows, so enable it there too patch by Michal ÄŚihaĹ™ Alex 2007-06-17 20:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-17 08:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-16 17:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-15 16:09 alex * Source/cmake.cxx: COMP: include cmExternalMakefileProjectGenerator.h Alex 2007-06-15 16:07 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmMakefile.h, cmake.cxx: STYLE: minor fixes Alex 2007-06-15 15:33 alex * Source/cmInstallTargetGenerator.h: COMP: forgot to commit this one Alex 2007-06-15 14:27 alex * Source/cmInstallTargetGenerator.cxx: STYLE: remove code duplication between PrepareScriptReference and GetScriptReference, and make the logic for getting the filename public, so it can be used e.g. for exporting Alex 2007-06-15 13:00 alex * Source/: cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: BUG: don't strip static libraries, it removes their symbol table, dynamic libs have an extra symbol table so they still work stripped Alex 2007-06-15 11:12 alex * Source/: cmInstallTargetGenerator.h, cmInstallTargetGenerator.cxx: BUG: don't run strip on OPTIONAL install targets if the file doesn't exist Alex 2007-06-15 10:34 alex * Source/cmInstallCommand.h: STYLE: add some more line breaks so it should be easier to read Alex 2007-06-15 10:10 alex * Source/: cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h, cmGlobalGenerator.h, cmLocalGenerator.h, cmMakefile.h, cmTarget.h, cmake.cxx, cmake.h: STYLE: remove duplicate non-const accessors GetLocalGenerator(int) and GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is one const accessor which is even faster since it returns a reference (instead of copying a vector) -more const to ensure that this the returned local generators don't actually get modified -removed duplicated code in GetCTestCommand() and GetCPackCommand() -added some const accessors Alex 2007-06-15 08:53 alex * Utilities/CMakeLists.txt: STYLE: use a macro for generating the documentation Alex 2007-06-15 08:42 alex * Tests/CMakeLists.txt: COMP: big timeout for building kdelibs Alex 2007-06-15 08:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-14 13:57 alex * Source/CPack/cmCPackZIPGenerator.cxx: STYLE: fix typo Alex 2007-06-14 13:55 alex * Tests/CMakeLists.txt: ENH: add test for buildingn kdelibs alpha1 (http://websvn.kde.org/tags/KDE/3.90.1) with cmake requires Qt >= 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/) and the EasyDashboard scripts. Alex 2007-06-14 13:05 hoffman * Source/: cmCTest.cxx, CTest/cmCTestBuildCommand.cxx, CTest/cmCTestBuildHandler.cxx: ENH: add more verbose output 2007-06-14 12:03 alex * Source/CPack/: cmCPackZIPGenerator.cxx, cmCPackZIPGenerator.h: ENH: support 7zip for creating zip files (not 7z files) Alex 2007-06-14 11:17 alex * Utilities/CMakeLists.txt: STYLE: add man page for cpack Alex 2007-06-14 08:49 alex * Source/: cmRemoveDefinitionsCommand.h, cmakemain.cxx: STYLE: add comment about the -D -P order and fix typo in doc Alex 2007-06-14 08:33 alex * Tests/BuildDepends/CMakeLists.txt: COMP: removing the directory at the beginning breaks the test for in-source builds Alex 2007-06-14 07:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-14 01:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-13 17:06 king * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: Make sure FindFullPath does not complain more than once about not finding the file if it fails. 2007-06-13 16:58 king * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: Use non-const==>locate policy for GetLanguage() method. 2007-06-13 16:33 king * Source/cmSourceFileLocation.h: STYLE: Added interface documentation. 2007-06-13 16:26 alex * Tests/BuildDepends/: CMakeLists.txt, Project/bar.cxx: COMP: fix test, in some cases stdout from bar was not captured correctly, probably because the process was killed before the fflush() worked because the busy loop blocked the processor (failing midworld test) Alex 2007-06-13 16:22 king * Source/cmSourceFile.cxx: BUG: Do not abort when file cannot be found. 2007-06-13 16:12 king * Source/: cmGetSourceFilePropertyCommand.cxx, cmSourceFile.cxx, cmSourceFile.h: ENH: Improved const-correctness of cmSourceFile API. On-demand computation of the full path is now done only for non-const cmSourceFile instances. 2007-06-13 15:32 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakeDepend.cxx, cmMakefileLibraryTargetGenerator.cxx, cmSourceFile.cxx, cmSourceFile.h: ENH: Changed signature of cmSourceFile::GetFullPath() back to returning a reference to a string. 2007-06-13 15:21 king * Source/: cmMakefile.cxx, cmMakefile.h, cmSourceFile.h: STYLE: Removed commented-out code that is no longer needed. 2007-06-13 15:21 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Fixed for new cmSourceFile interface. 2007-06-13 15:20 king * Source/cmSourceFile.cxx: BUG: Never return a null pointer from GetFullPath. Too many places construct a string with the result. 2007-06-13 14:36 alex * Source/cmFileCommand.h: STYLE: add documentation for FILE(REMOVE ...) and FILE(REMOVE_RECURSE ...) FILE(REMOVE ...) works only for files, not for directories, REMOVE_RECURSE works for both, it seems having both is not necessary Alex 2007-06-13 13:44 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudioGenerator.cxx: COMP: Fix for new cmSourceFile interface. 2007-06-13 13:44 king * Source/cmMakefile.cxx: COMP: Fix for build on VS. 2007-06-13 12:52 alex * Source/cmExternalMakefileProjectGenerator.h: COMP: include cmStandardIncludes.h instead of and , this should fix the build problem on AIX Alex 2007-06-13 11:55 king * Source/cmSourceFileLocation.cxx: BUG: When updating the directory or extension from an unambiguous location we need to mark the new copy as unambiguous too. 2007-06-13 11:17 king * Source/: cmCPluginAPI.cxx, cmCommands.cxx: ENH: Implemented compatibility interface in cmCPluginAPI to preserve old API for loaded commadns. 2007-06-13 10:54 alex * Source/cmMarkAsAdvancedCommand.h: BUG: make MARK_AS_ADVANCED() scriptable, because this is the only reason many cmake FindXXX.cmake modules can't be used in script mode and also FindUnixMake.cmake, which is required by the CTEST_BUILD() command Alex 2007-06-12 17:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-12 16:41 alex * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake: ENH: first include the processor specific file, then the compiler file, this way the specific hardware file can set variables which can be used in the toolchain rules (like CMAKE_C_COMPILE_OBJECT etc.) Alex 2007-06-12 11:11 david.cole * Source/cmCTest.cxx: BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path. 2007-06-12 10:56 alex * Source/: cmake.cxx, cmake.h, CTest/cmCTestScriptHandler.cxx: ENH: remove non/scriptable cmake commands from the script handler in ctest, as discussed with David. This also gives a better ctest man page with just the commands you should actually use in ctest scripts. Until now these commands were more or less executed, but e.g. add_executable() didn't create an executable, project() failed with an error. Now you get an error instantly if using one of these commands. Alex 2007-06-12 10:19 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: make sure working directory is set 2007-06-12 09:40 alex * Source/: cmCTest.cxx, cmCTest.h: STYLE: remove argument bool fast, it was unused Alex 2007-06-12 08:23 alex * Source/cmGlobalGenerator.cxx: COMP: remove warning about unused variable Alex 2007-06-11 18:23 king * bootstrap, Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalXCodeGenerator.cxx, Source/cmLocalXCodeGenerator.h, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmOutputRequiredFilesCommand.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h, Source/cmQTWrapUICommand.cxx, Source/cmQTWrapUICommand.h, Source/cmSourceFile.cxx, Source/cmSourceFile.h, Source/cmSourceFileLocation.cxx, Source/cmSourceFileLocation.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH: Initial sweep for new-sytle creation of cmSourceFile instances. Committing on branch CMake-SourceFile2-b. 2007-06-11 17:15 hoffman * Tests/CMakeLists.txt: ENH: remove test 2007-06-11 17:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-11 15:47 alex * Modules/Platform/Generic.cmake, Source/cmGlobalGenerator.cxx: STYLE: add a comment about SetLanguageEnabled() -add a Generic.cmake for target platforms without operating system Alex 2007-06-11 15:36 david.cole * Source/: cmCTest.cxx, CTest/cmCTestCoverageHandler.cxx: BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs. 2007-06-11 15:31 alex * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h: ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the second part copies the values from the cmake variables into internal maps. So this can now be done after the compiler-specific information has been loaded, which can now overwrite more settings. Alex 2007-06-11 15:02 king * Modules/FindQt3.cmake: BUG: Fixed name of variable used to check version of uic executable. 2007-06-11 15:00 hoffman * Tests/CMakeLists.txt: ENH: add ConvLib test back for some time 2007-06-11 14:28 alex * Source/cmGlobalGenerator.cxx: STYLE: determineLanguageCalled removed, now the conditional code is directly called in the only place where it could be set to true Alex 2007-06-11 13:22 king * Tests/CustomCommand/CMakeLists.txt: ENH: Re-arranged code to test adding a custom command to generate a source file after the file has been added to a target. This is supported by the current implementation because of the use of source lists in the target implementation. When we later convert to creating cmSourceFile instances immediately for the target we need to make sure the mentioned case still works. 2007-06-11 12:40 king * Source/: cmIncludeRegularExpressionCommand.h, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.h, cmMakefileTargetGenerator.h: STYLE: Removed unused reference to cmMakeDepend. 2007-06-11 10:25 king * Source/: cmMakefile.cxx, cmMakefile.h: BUG: More problems with cmMakefile copy-constructor. It seems the regular expression class cannot be assigned but does not enforce this limitation at compile time. 2007-06-10 19:51 alex * Source/cmGlobalKdevelopGenerator.cxx: ENH: enable cvs or svn support if the source has the CVS/.svn subdirs Alex 2007-06-10 15:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-09 02:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-08 17:44 king * Source/cmMakefile.cxx: BUG: Copy constructor needs to copy regular expression members. 2007-06-08 16:19 alex * Source/cmExportCommand.cxx: ENH: fail if an unknown target is listed Alex 2007-06-08 16:06 alex * Source/: cmDocumentation.cxx, ctest.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h: STYLE: create command documentation for ctest I think some of the cmake commands should be removed from ctest if possible, like add_executable etc. Alex 2007-06-08 14:16 martink * Source/cmCTest.cxx: BUG: fix timeout bug with global timeouts such as DART_TESTING_TIMEOUT 2007-06-08 13:43 king * Source/cmFindBase.cxx: BUG: Fixed spelling and formatting of new documentation. 2007-06-08 12:42 alex * Source/: cmExternalMakefileProjectGenerator.h, cmGlobalGenerator.h: COMP: less warnings Alex 2007-06-08 12:29 hoffman * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: use new covbr that does not stop on error 2007-06-08 11:57 alex * Source/: cmBootstrapCommands.cxx, cmCommands.cxx, cmExportCommand.cxx, cmExportCommand.h, cmExternalMakefileProjectGenerator.cxx, cmExternalMakefileProjectGenerator.h, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h, cmMakefile.cxx, cmake.cxx, cmake.h: ENH: add cmExternalMakefileProjectGenerator, which should make it easier to write generators for IDE projects, which use already existing makefiles (current the kdevelop generator) -first stept of the export interface, iniitial export() command -more replacements for the FIND_XXX docs Alex 2007-06-08 10:28 alex * Modules/FindX11.cmake: ENH: more consistence among the X11 components Alex 2007-06-08 09:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-08 09:28 alex * Modules/FindQt4.cmake: ENH: patch from #5054: also search for QtUitoolsd lib Alex 2007-06-08 09:19 alex * Source/cmExecProgramCommand.h: STYLE: fix typo (bug #5115) Alex 2007-06-07 14:57 alex * Source/cmFindBase.cxx: STYLE: add documentation for CMAKE_FIND_ROOT_PATH Alex 2007-06-07 14:31 alex * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: BUG: fix Bootstrap test Alex 2007-06-07 13:51 alex * Modules/CMakeDetermineCompilerId.cmake, Modules/CheckTypeSize.cmake, Source/cmFileCommand.cxx, Source/cmFileCommand.h: STYLE: remove out commented code Alex 2007-06-07 13:05 alex * Utilities/CMakeLists.txt: STYLE: use GET_TARGET_PROPERTY(LOCATION) instead of manually building the path to the executables (tested with cmake 2.2.3) Alex 2007-06-07 10:41 alex * Source/cmake.cxx: ENH: also remove uninitialized from the cache Alex 2007-06-07 09:37 alex * Source/cmGlobalGenerator.cxx: BUG: fix #5137, now with the modified CMakeDetermineSystem.cmake the CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the CMAKE_SYSTEM_xxx ones Alex 2007-06-07 08:29 alex * Source/cmExportLibraryDependencies.cxx: STYLE: remove wrong comments Alex 2007-06-06 16:20 king * Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserHelper.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/StringFileTest/InputFile.h.in, Tests/StringFileTest/StringFile.cxx: BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test. 2007-06-06 15:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-06 13:43 hoffman * Tests/CMakeTests/: IncludeTest.cmake.in, ToolchainTest.cmake.in: ENH: fix it 2007-06-06 13:32 hoffman * Tests/CMakeTests/: IncludeTest.cmake.in, ToolchainTest.cmake.in: ENH: use lower case for file compare on windows 2007-06-06 11:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-06 11:26 hoffman * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: ENH: remove some stuff to improve coverage 2007-06-06 11:02 martink * Source/: cmCTest.cxx, CTest/cmCTestBuildAndTestHandler.cxx: BUG: better passing of global TIMEOUT to internal ctest invocaitons 2007-06-06 10:44 hoffman * Source/kwsys/SystemTools.cxx: ENH: fix case problem with drive letters and cmake vs CMakeSetup build.make changing 2007-06-06 10:41 hoffman * CMakeLists.txt, ChangeLog.manual, Source/kwsys/SystemTools.cxx: ENH: move to RC 10 2007-06-06 08:49 alex * Source/: cmIfCommand.cxx, cmIfCommand.h: ENH: add IF(IS_ABSOLUTE path), so no regex matching is required in the cmake scripts Alex 2007-06-05 16:37 alex * Source/cmGlobalUnixMakefileGenerator3.h: STYLE: fix comment Alex 2007-06-05 16:35 alex * Source/: cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so the kdevelop generator doesn't need its own CreateLocalGenerator() anymore Alex 2007-06-05 10:28 alex * Modules/: CMakeCCompilerId.c, CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeDetermineSystem.cmake, CMakeSystemWithToolchainFile.cmake.in: ENH: also load a processor-specific file if exists -also try the basename file if the compiler id file doesn't exist -don't rely so much on the CMAKE_TOOLCHAIN_FILE Alex 2007-06-05 10:20 alex * Modules/CheckTypeSizeC.c.in: COMP: don't use stdio, it can fail on some embedded targets (sdcc) Alex 2007-06-05 09:30 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentLexer.h, Source/cmCommandArgumentLexer.in.l, Source/cmCommandArgumentParserHelper.cxx: ENH: merge in changes from main tree that fix at only parsing 2007-06-05 09:19 hoffman * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l: ENH: fix for aix 2007-06-05 09:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-05 08:30 alex * Modules/CheckTypeSizeC.c.in: COMP: make the new check_type_size work with the HPUX cc compiler: const doesn't exist there Alex 2007-06-04 17:18 hoffman * Tests/Framework/test.lua: ENH: add missing file 2007-06-04 17:17 hoffman * Source/cmMakefileLibraryTargetGenerator.cxx: ENH: prevent crash 2007-06-04 17:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-04 17:08 alex * Modules/CheckTypeSize.cmake, Modules/CheckTypeSizeC.c.in, Modules/Platform/Darwin.cmake, Source/cmCoreTryCompile.cxx, Source/cmLocalGenerator.cxx: ENH: determine typesize by compiling a file and reading strings from the compiled output. Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex 2007-06-04 15:57 king * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.h, cmCommandArgumentLexer.in.l, cmCommandArgumentParserHelper.cxx: BUG: Fixed cmCommandArgumentLexer no-escape mode to not match backslash-escape sequences as lexical tokens at all. Needed to configure files with backslashes preceding an @VAR@ replacement. This fixes bug#5130. 2007-06-04 15:28 hoffman * Tests/Framework/CMakeLists.txt: ENH: add one of the headers to the regular sources 2007-06-04 13:50 alex * Source/cmake.cxx: STYLE: fix typo: now double space after -D Alex 2007-06-04 13:48 alex * Source/: cmCacheManager.cxx, cmake.cxx, cmake.h: ENH: -U for removing variables now uses globbing expressions -cmCacheManager: now also variables with type UNINITIALIZED are saved in CMakeCache.txt, these are the vars defined using -DFOO=foo but without type Alex 2007-06-04 13:39 martink * Source/: cmCTest.cxx, CTest/cmCTestBuildAndTestHandler.cxx: ENH: fix passing of time limit to some ctest invocations that also use build-options 2007-06-03 10:48 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-02 16:15 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: remove debug that caused tests to fail 2007-06-02 06:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-06-01 23:06 hoffman * Source/CTest/cmCTestCoverageHandler.cxx: ENH: opps 2007-06-01 15:40 hoffman * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: initial bullseye stuff 2007-06-01 14:16 alex * Source/: cmake.cxx, cmake.h: BUG: also put a variable into the cache when defined using -D if no type is given, then STRING is used. Also add command line option -U as suggested for undefining cache variables. This fixes #4896 and #4264. Alex 2007-06-01 13:17 alex * Modules/FindX11.cmake: COMP: fix warnings on some machines where some X libs apparently don't really work by reverting X11_LIBRARIES back to the old version -add some more X11_xxx_FOUND variables -reformat comments at the top -always use IF(INCLUDE_DIR and LIB) for setting FOUND to TRUE Alex 2007-06-01 11:18 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmAddLibraryCommand.cxx, Source/cmGlobalGenerator.cxx: ENH: merge in a few more fixes from the main tree 2007-06-01 11:16 alex * Modules/CheckCSourceRuns.cmake, Modules/CheckCXXSourceRuns.cmake, Modules/FindThreads.cmake, Modules/TestBigEndian.cmake, Source/cmTryRunCommand.cxx, Source/cmTryRunCommand.h, Tests/TryCompile/CMakeLists.txt, Tests/TryCompile/exit_success.c, Tests/TryCompile/exit_with_error.c: ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT (if required), which can be set or preset by the user. It has now also two new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the run time output of the TRY_RUN is unused and the user doesn't have to care about the output when crosscompiling. This is now used in FindThreads.cmake, CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output only for the logfile (compile output is still there). Test/TryCompile/ now also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE. Alex 2007-06-01 11:06 alex * Source/cmCacheManager.cxx: ENH: also handle comments for variables which contain newlines Alex 2007-06-01 09:18 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix crash, bug 5121 2007-05-31 22:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-31 16:18 alex * Source/kwsys/kwsysPlatformTests.cmake: COMP: revert some of the changes for crosscompiling, not required anymore with recent changes in cmake Alex 2007-05-31 12:03 alex * Source/cmGetTargetPropertyCommand.cxx: ENH: if get_target_property() doesn't find a target with the given name, it returns now "-NOTFOUND" instead of just "NOTFOUND", which can help in finding problems Alex 2007-05-31 10:29 martink * Tests/: CMakeLists.txt, Properties/CMakeLists.txt, Properties/properties.h.in, Properties/properties2.h, Properties/SubDir/properties3.cxx: ENH: added new test for SourceFile objects and properties 2007-05-30 12:09 alex * Modules/FindX11.cmake: ENH: mostly synced with FindX11.cmake from KDE svn: now also searches for a lot of additional X11 libs, like Xv, Xau, Xrandr and others Alex 2007-05-30 10:40 alex * Source/kwsys/kwsysPlatformTests.cmake: COMP: start crosscompiling Paraview3 (requires cmake cvs, currently to scratchbox) Alex 2007-05-30 05:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-29 11:36 alex * Modules/CMakeDetermineSystem.cmake, Modules/CMakeSystem.cmake.in, Modules/CMakeSystemWithToolchainFile.cmake.in, Tests/CMakeTests/ToolchainTest.cmake.in: ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables, so when cross compiling the build host platform can be tested Alex 2007-05-29 08:42 alex * Source/cmHexFileConverter.cxx: COMP: less warnings with msvc8 Alex 2007-05-29 05:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-28 17:49 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Finished previous fix. 2007-05-28 13:46 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Fixed shadowed local warning. 2007-05-28 13:32 king * Source/cmSourceFile.h: ENH: Removed unused methods that should never be used anyway. 2007-05-28 12:23 king * Source/cmake.h: STYLE: Fixed comment for Generate() method. 2007-05-28 12:05 king * Source/cmTarget.cxx: ENH: Moved link library related code from GenerateSourceFilesFromSourceLists to AnalyzeLibDependencies to make the former do no more than what its name says. 2007-05-28 11:41 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Added more install rules to increase coverage of the command. 2007-05-28 11:18 king * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmTarget.cxx: ENH: Removed "Used" mark from custom commands. It is no longer needed or checked by any generators. 2007-05-28 11:16 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Remove unused build rules from Xcode. This change was made in the VS generators on 2006-03-23 and should have been made for the Xcode generator too. Also commented out some debug print statements. 2007-05-28 11:03 king * Source/cmMakefileExecutableTargetGenerator.cxx: COMP: Fix build on mac after change to GetSourceFiles signature. 2007-05-28 11:02 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Fix build of XCode generator after change to GetSourceFiles signature. 2007-05-28 11:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-28 11:00 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: COMP: Fix build for windows-only generators after change to GetSourceFiles signature. 2007-05-28 10:25 king * Source/: cmFLTKWrapUICommand.cxx, cmLocalGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Made cmTarget::GetSourceFiles method return reference to const so addition of cmSourceFile pointers must be done with an access method in cmTarget. 2007-05-28 10:11 king * Source/: cmCPluginAPI.cxx, cmFLTKWrapUICommand.cxx, cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmSourceFile.h: ENH: Made cmSourceFile::GetDepends return reference to const so dependencies can be added only by an access method in cmSourceFile. 2007-05-28 10:07 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindPkgConfig.cmake, Modules/UsePkgConfig.cmake, Modules/UseSWIG.cmake, Modules/Platform/UnixPaths.cmake, Source/cmFileCommand.cxx, Source/cmListCommand.h, Source/cmLocalGenerator.cxx, Source/cmTryCompileCommand.h, Source/cmXCodeObject.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in: ENH: merge in changes from branch RC 7 2007-05-28 09:59 king * Source/: cmFLTKWrapUICommand.cxx, cmMakefile.cxx, cmTarget.h: ENH: Made cmTarget::GetSourceLists return a reference to const so that all additions of sources must go through access methods in cmTarget. 2007-05-28 08:31 alex * Source/cmHexFileConverter.cxx: COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', possible loss of data Alex 2007-05-27 18:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-27 10:32 hoffman * Source/cmXCodeObject.cxx: ENH: @ must be escaped in xcode projects 2007-05-27 04:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-26 14:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-25 16:46 alex * Modules/CMakeDetermineCompilerId.cmake, Source/cmFileCommand.cxx, Source/cmFileCommand.h: ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automatic conversion of hex and srec files to binary. Without this automatic conversion, everywhere where a compiled file is parsed for strings the a file(HEX2BIN somefile binfile) command has to be added otherwise it will not work for these compilers. I tried this with DetermineCompiler and CheckTypeSize and nobody will do this except the users who work with such compilers. For them it will break if they don't add this conversion command in all these places. If FILE(STRINGS) is used with a text file, it will in most cases still work as expected, since it will only convert hex and srec files. If a user actually wants to get text out of hex files, he knows what he's doing and will see the hint in the documentation. Anyway, it should work without having to create a temporary file, will work on this later. Alex 2007-05-25 16:23 alex * Source/cmHexFileConverter.cxx: COMP: less warnings (signed vs. unsigned) Alex 2007-05-25 15:51 king * Source/cmGlobalGenerator.cxx: BUG: Need to create global targets before AddHelperCommands is called. We should investigate creating global targets at the beginning of the configure step even if their commands are not populated or if they will not actually be generated later. 2007-05-25 15:22 alex * Modules/CMakeCCompilerId.c, Modules/CMakeDetermineCompilerId.cmake, Modules/CMakeLists.txt, Source/cmBootstrapCommands.cxx, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmHexFileConverter.cxx, Source/cmHexFileConverter.h, Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/main.ihx, Tests/StringFileTest/main.srec: ENH: make the compiler id detection work, even if the output file name of the compiler is completely unknown and even if it produces intel hex or motorola s-record files, with test Alex 2007-05-25 12:05 alex * Source/cmTryRunCommand.cxx: BUG: remove debug output Alex 2007-05-25 11:41 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstall/inst.cxx, SimpleInstall/scripts/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt, SimpleInstallS2/inst.cxx, SimpleInstallS2/scripts/CMakeLists.txt: ENH: Added testing of REGEX option to INSTALL(DIRECTORY). Added tests to cover all forms of old-style install commands. 2007-05-25 11:09 king * Tests/: SimpleInstall/inst.cxx, SimpleInstallS2/inst.cxx: ENH: Add test to see if INSTALL_FILES actually worked. 2007-05-25 11:08 king * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h: BUG: Fix FILES mode after recent changes. 2007-05-25 11:01 king * Source/: cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx: BUG: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to install under the prefix like they did before the recent changes. 2007-05-25 06:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-24 17:06 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: add copy header stuff 2007-05-24 16:03 alex * Modules/CMakeCCompilerId.c, Modules/CheckTypeSize.cmake, Source/cmTryRunCommand.cxx: STYLE: remove debug output, fix indentation the tests run again successfully, but since CheckTypeSize will switch to a TRY_COMPILE soon I will look at it again after this change Alex 2007-05-24 14:30 alex * Modules/CheckTypeSize.cmake, Source/cmTryRunCommand.cxx: COMP: try to fix the test failures on dash2 Alex 2007-05-24 12:06 alex * Source/cmCoreTryCompile.cxx, Source/cmTryCompileCommand.h, Source/cmTryRunCommand.cxx, Tests/TryCompile/CMakeLists.txt: ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can be used e.g. for getting strings out of it. Alex 2007-05-24 11:27 alex * Source/cmBootstrapCommands.cxx, Source/cmCoreTryCompile.cxx, Source/cmCoreTryCompile.h, Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h, Source/cmTryRunCommand.cxx, Source/cmTryRunCommand.h, Tests/TryCompile/CMakeLists.txt, Tests/TryCompile/exit_success.c, Tests/TryCompile/exit_with_error.c: ENH: add two simple tests for TRY_RUN() STYLE: create a new base class cmCoreTryCompile, from which cmTryCompileCommand and cmTryRunCommand are derived, so there are no public static functions with lots of arguments anymore Alex 2007-05-24 09:35 alex * Modules/CMakeCCompilerId.c: ENH: add compiler id for sdcc Alex 2007-05-24 08:56 alex * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h, cmTryRunCommand.cxx: ENH: move output file search to cmTryCompileCommand.cxx, so it can be used there too... many public static functions with lots of arguments... :-/ Alex 2007-05-24 08:43 alex * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmTarget.cxx: BUG: don't use non-imported target when cross compiling as commands in custom commands STYLE: remove now invalid comments, use this-> Alex 2007-05-24 08:33 alex * Modules/: CMakeCCompilerId.c, CMakeDetermineCCompiler.cmake, TestBigEndian.cmake: ENH: add compiler id for IAR compiler (http://www.iar.com/) ENH: don't run endian test again if the variable is already set Alex 2007-05-24 08:18 alex * Source/cmListCommand.h: STYLE: use "items" instead od "item" Alex 2007-05-24 05:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-23 18:22 king * Source/: cmLocalGenerator.cxx: ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets. 2007-05-23 17:58 king * Tests/BuildDepends/CMakeLists.txt: BUG: Report proper error message when project does not build the first time. Also added hack to rebuild subproject several times for Xcode. The generator should be fixed and the hack removed. 2007-05-23 17:21 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Need to use GetRealDependency for custom command file-level dependencies. 2007-05-23 17:01 king * Tests/BuildDepends/Project/CMakeLists.txt: ENH: Executable bar should rebuild when its generated header changes. It does not need to link to the foo library anymore. 2007-05-23 15:40 king * Source/: cmExportLibraryDependencies.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTarget.cxx: ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore. 2007-05-23 13:30 king * Tests/BuildDepends/Project/generator.cxx: BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works. 2007-05-23 13:27 king * Source/cmAddCustomCommandCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/BuildDepends/CMakeLists.txt, Tests/BuildDepends/Project/CMakeLists.txt, Tests/BuildDepends/Project/bar.cxx: BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works. 2007-05-23 12:05 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Add ./ to custom command executables in the top of the build tree even when the path is generated by target name replacement. 2007-05-23 11:00 king * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, CMakePlatformId.h: ENH: Unify design of CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, and CMakePlatformId.h. BUG: Do not violate system-reserved symbol namespace _[A-Z]. 2007-05-23 08:24 alex * Source/cmTarget.cxx: COMP: don't user string::clear(), fix warnings about unused variables Alex 2007-05-22 17:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-22 12:48 alex * Modules/: CMakeCCompilerId.c, CMakeDetermineSystem.cmake, CMakePlatformId.h, CMakeSystemWithToolchainFile.cmake.in: BUG: now the toolchain file is configured into the buildtree, otherwise e.g. CMAKE_SOURCE_DIR can't be used there ENH: modify CMakeCCompilerId.c and .h so that sdcc can compile them. As they were the preprocessor produced: 9 "test.c" static char const info_compiler[] = "INFO:compiler[" # 40 "test.c" "" "]"; and the mixing of the preprocessing directives and the string constants didn't work. Alex 2007-05-22 11:05 alex * Source/cmIncludeExternalMSProjectCommand.cxx: COMP: compile fix Alex 2007-05-22 10:42 alex * Source/: cmAddExecutableCommand.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: COMP: compile fix and remove warning Alex 2007-05-22 10:24 alex * Source/: cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx, cmGetTargetPropertyCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudioGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmIncludeExternalMSProjectCommand.cxx, cmInstallCommand.cxx, cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h, cmMakefileTargetGenerator.cxx, cmSetTargetPropertiesCommand.cxx, cmTarget.cxx, cmTarget.h: ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates an "imported" executable target. This can then be used e.g. with ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for "imported" targets, and FindTarget() now takes an additional argument bool useImportedTargets to specify whether you also want to search in the imported targets or only in the "normal" targets. Alex 2007-05-22 09:15 alex * Modules/: CMakeGenericSystem.cmake, Platform/gcc.cmake: STYLE: move the two CMAKE_SHARED_LIBRARYC/CXX_FLAGS for gcc from CMakeGenericSystem.cmake to gcc.cmake Alex 2007-05-22 04:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-21 11:26 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineSystem.cmake, CMakeLists.txt, CMakeSystem.cmake.in, CMakeSystemWithToolchainFile.cmake.in: STYLE: use a separate source file for generating CMakeSystem.cmake if CMAKE_TOOLCHAIN_FILE is used Alex 2007-05-21 10:58 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: BUG: don't fail if a compiler is given in CMAKE_C/CXX_COMPILER but it can't be found in the path Alex 2007-05-21 10:15 alex * Modules/CMakeFindBinUtils.cmake, Tests/CMakeLists.txt: BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test -also generate the fortran test with the kdevelop generator Alex 2007-05-21 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-20 10:11 king * Tests/CMakeLists.txt: BUG: Fix name of project to build for LoadCommandOneConfig now that it has been renamed for new name of LoadCommand test. 2007-05-20 10:08 king * Modules/CMakeDetermineSystem.cmake: BUG: Use @ONLY substitution to configure CMakeSystem.cmake. 2007-05-20 02:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-19 10:15 king * Tests/: LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt: BUG: Finish fixing test for new name. 2007-05-19 10:11 hoffman * Utilities/KWStyle/CMake.kws.xml.in: ENH: try to tone down kwstyle 2007-05-19 10:10 hoffman * Tests/: LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt: BUG: fix project name for test 2007-05-19 09:55 king * Source/cmFileCommand.cxx: COMP: Fix for borland now that components list check is const. 2007-05-18 20:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-18 15:11 martink * Tests/: CMakeLists.txt, ExternalOBJ/CMakeLists.txt, LinkLine/CMakeLists.txt, MacroTest/CMakeLists.txt: ENH: some cleanup, condensing some tests, removing arguments that were not needed but rather were cut and paste copies etc 2007-05-18 14:41 alex * Source/CPack/: bills-comments.txt, cmCPackGenericGenerator.cxx: ENH: 2nd try to move stripping out of cpack and to install time, now if CPACK_STRIP_FILES is true (or contains a list of files), everything will be stripped, if it's empty or false they won't be stripped Alex 2007-05-18 13:43 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx: ENH: add install/strip target for makefile generators if strip was found Alex 2007-05-18 11:57 alex * Modules/Platform/Darwin.cmake, Source/cmInstallTargetGenerator.cxx: ENH: move hack to fix "new cmake on old build tree on OSX doesn't have CMAKE_INSTALL_NAME_TOOL in the cache" from cmInstallTargetGenerator.cxx to Darwin.cmake Alex 2007-05-18 11:45 alex * Source/CPack/cpack.cxx: COMP: force a recompile on VS71 Alex 2007-05-18 11:36 king * Modules/Platform/UnixPaths.cmake, Source/cmLocalGenerator.cxx: ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to block link directories. 2007-05-18 10:55 alex * Modules/: CMakeFindBinUtils.cmake, Platform/cl.cmake: COMP: if a new cmake runs on an old build tree, set CMAKE_LINKER to link to make it link Alex 2007-05-18 10:32 alex * Modules/Platform/cl.cmake, Source/cmLocalGenerator.cxx: COMP: fix link rules with nmake, the linker command has to be converted to shortpath form for nmake Alex 2007-05-18 09:33 king * Tests/CustomCommand/CMakeLists.txt: BUG: Replace "with space" in custom command argument tests with "w s" to still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE. 2007-05-18 09:30 hoffman * Source/cmTryCompileCommand.h: STYLE: fix documentation for command 2007-05-18 09:18 king * Tests/CustomCommand/: CMakeLists.txt, check_command_line.c.in: ENH: Added quick means to turn on verbose output for debugging this test. 2007-05-18 09:17 king * Source/kwsys/System.c: BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it. 2007-05-18 09:16 alex * Modules/CMakeDetermineFortranCompiler.cmake: STYLE: fdcorrect comments about FC/CC Alex 2007-05-18 09:08 king * Modules/: CMakeDetermineCompilerId.cmake, CMakeDetermineFortranCompiler.cmake: BUG: If the Fortran CompilerId source fails to compile it should not be a failure. It is only expected to work for Fortran90 compilers. 2007-05-18 08:49 alex * Source/: cmFileCommand.cxx, cmFindBase.cxx, cmFindBase.h, cmInstallTargetGenerator.cxx, cmTryRunCommand.cxx: STYLE: fix line lengths Alex 2007-05-17 17:43 king * Source/cmInstallTargetGenerator.cxx: BUG: Need to use GetSafeDefinition when assigning to a string. 2007-05-17 17:40 king * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmVariableWatch.h: BUG: All variable accesses should produce watch callbacks, including IF(DEFINED ) ones. Instead we define a new access type for IF(DEFINED) so that the error does not show up for backward compatibility variables. 2007-05-17 17:21 alex * Source/cmInstallTargetGenerator.cxx: STYLE: fix indentation ENH: add hack to make new cmake work with older existing cmake build trees Alex 2007-05-17 16:50 alex * Source/cmGlobalKdevelopGenerator.cxx: STYLE: use braces Alex 2007-05-17 16:49 alex * Modules/CMakeFindBinUtils.cmake: ENH: fail if install_name_tool wasn't found Alex 2007-05-17 15:17 king * Modules/CheckTypeSize.cmake, Utilities/cmcurl/CMake/CheckTypeSize.cmake: ENH: Use IF(NOT DEFINED) check to short-circuit size test. 2007-05-17 15:12 king * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h: BUG: Do not complain about missing watched variables when they are accessd with IF(DEFINED VAR). 2007-05-17 14:47 king * Source/cmMakefile.cxx: COMP: GCC 2.95 does not have std::string::clear() method. 2007-05-17 14:41 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx, Source/cmIfCommand.h, Source/cmListFileCache.h, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/CPack/cmCPackTarCompressGenerator.cxx: ENH: merge in changes from main tree 2007-05-17 14:32 king * Tests/CustomCommand/CMakeLists.txt: ENH: Add testing of * and / character arguments except on MinGW. 2007-05-17 14:03 king * Tests/CustomCommand/CMakeLists.txt: ENH: Added test for custom command lines with special single-character arguments. 2007-05-17 14:01 king * Source/kwsys/System.c: BUG: Some single-character arguments need quoting on windows. 2007-05-17 13:28 king * Tests/CustomCommand/CMakeLists.txt: BUG: Disable test of angle bracket escapes until it works everywhere. 2007-05-17 13:20 alex * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeFindBinUtils.cmake, Modules/CMakeLists.txt, Modules/CMakeSystem.cmake.in, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CTest.cmake, Modules/CheckTypeSize.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/cl.cmake, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTryRunCommand.cxx, Source/cmUtilitySourceCommand.cxx, Source/cmUtilitySourceCommand.h, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/DummyToolchain.cmake, Tests/CMakeTests/FindBaseTest.cmake.in, Tests/CMakeTests/IncludeTest.cmake.in, Tests/CMakeTests/ToolchainTest.cmake.in, Tests/CMakeTests/include/cmake_i_do_not_exist_in_the_system.h: ENH: merge CMake-CrossCompileBasic to HEAD -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex 2007-05-17 11:27 king * Source/cmSystemTools.cxx: BUG: Fix ExpandListArgument when the string ends in a backslash. 2007-05-17 11:18 king * Source/cmTarget.cxx: BUG: An empty configuration name is equivalent to no configuration. 2007-05-17 11:12 alex * Source/: cmFileCommand.h, cmIncludeCommand.cxx, cmInstallTargetGenerator.cxx: COMP: less warnings with msvc7 Alex 2007-05-17 11:09 alex * Tests/CMakeTests/: FindBaseTest.cmake.in, ToolchainTest.cmake.in: BUG: correct quoting in the tests so that the new tests pass Alex 2007-05-17 10:53 king * Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Tests/CustomCommand/CMakeLists.txt: ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make. 2007-05-17 10:53 king * Source/kwsys/: System.c, System.h.in: ENH: Added more special unix shell characters that require quoting. Added escaping of % as %% for shells inside mingw32-make. 2007-05-17 10:24 alex * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCCompilerId.c, Modules/CMakeCInformation.cmake, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXCompilerId.cpp, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineCompilerId.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeFindBinUtils.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeFortranInformation.cmake, Modules/CMakeGenericSystem.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CPack.cmake, Modules/CTest.cmake, Modules/Dart.cmake, Modules/DartConfiguration.tcl.in, Modules/Platform/Darwin.cmake, Modules/Platform/Linux.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/cl.cmake, Source/CMakeLists.txt, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmCustomCommand.h, Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalWatcomWMakeGenerator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Source/cmListFileCache.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTryRunCommand.cxx, Source/cmTryRunCommand.h, Source/cmVersion.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/kwsys/ProcessUNIX.c, Source/kwsys/System.c, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/UtilityHeader.dsptemplate, Templates/staticLibHeader.dsptemplate, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/DummyToolchain.cmake, Tests/CMakeTests/FindBaseTest.cmake.in, Tests/CMakeTests/IncludeTest.cmake.in, Tests/CMakeTests/ToolchainTest.cmake.in, Tests/CMakeTests/include/cmake_i_do_not_exist_in_the_system.h: ENH: merge changes from HEAD into the branch -change INCLUDE(file [OPTIONAL] [VAR]) to INCLUDE(file [OPTIONAL] [RESULT_VARIABLE VAR]) -add tests for INCLUDE(), CMAKE_TOOLCHAIN_FILE and FIND_XXX() -keep the stripping in CPack for now -support a MS toolchain suffix Alex 2007-05-17 10:07 hoffman * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, CMakeDetermineCompilerId.cmake: ENH: fix up compiler id to be more robust 2007-05-17 08:38 hoffman * Modules/CMakeCXXCompilerId.cpp: BUG: make sure this thing compiles on 64 bit machines 2007-05-17 07:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-16 19:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-16 16:19 king * Source/kwsys/System.c: BUG: Shell escaping needs to write % as %% for VS IDE. 2007-05-16 13:26 king * Modules/Platform/Windows-wcl386.cmake: ENH: Enabled preprocessor make rules for Watcom. 2007-05-16 13:24 king * Source/: cmGlobalUnixMakefileGenerator3.h, cmGlobalWatcomWMakeGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: BUG: Watcom WMake needs empty rule commands even for symbolic targets. This fixes the cmake_force target. 2007-05-16 13:10 king * Source/kwsys/ProcessUNIX.c: BUG: Do not send both SIGSTOP and SIGKILL when killing a process. The SIGSTOP seems to be able to block the SIGKILL occasionally. Also the SIGKILL is sufficient since the process table entry will still exist until it is reaped with waitpid. 2007-05-16 11:40 king * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx: BUG: Disable test of feature that is not documented or implemented everywhere. 2007-05-16 10:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-16 09:07 king * Source/cmLocalGenerator.cxx: BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by David Faure. 2007-05-16 07:56 andy * Tests/BuildDepends/Project/CMakeLists.txt: BUG: check in the rest of the changes to move from c to cxx 2007-05-16 07:54 andy * Tests/BuildDepends/: CMakeLists.txt, Project/bar.c, Project/bar.cxx: BUG: fix test for hp move to c++ to avoid ansi issues and produce a message if the compile fails, (really checked in by Bill H.) 2007-05-15 16:55 alex * Modules/Platform/Windows-cl.cmake: BUG: let INCLUDE() actually find cl.cmake Alex 2007-05-15 16:53 alex * Modules/Platform/: Windows-cl.cmake, cl.cmake: ENH: create a separate cl.cmake as preparation for supporting the cross-compiling cl's Alex 2007-05-15 16:06 alex * Source/cmTarget.cxx: BUG: fix segfault when trying to get the object file for a sourcefile in an unknown language via GET_TARGET_PROPERTY(), as reported by Trevor Kellaway Alex 2007-05-15 13:30 alex * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeFindBinUtils.cmake, Modules/CMakeGenericSystem.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/gcc.cmake, Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h: ENH: some adjustments as suggested by Brad: only check for the various "binutils" on the respective platform, hardcode the strip command, make the return variable of include() available also without OPTIONAL, honor DESTDIR for strip and ranlib -use FIND_PROGRAM(CMAKE_LINKER link) for the MSVC linker Alex 2007-05-15 10:23 king * Modules/: CTest.cmake, Dart.cmake: STYLE: Added basic usage documentation. 2007-05-15 03:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-14 17:02 alex * Source/: cmFileCommand.cxx, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: move ranlib handling on _APPLE_CC_ from the file command to the InstallTargetGenerator Alex 2007-05-14 16:28 alex * CMakeLists.txt, Modules/CMakeGenericSystem.cmake, Modules/CPack.cmake, Modules/Platform/gcc.cmake, Source/cmGlobalGenerator.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/CPack/cmCPackGenericGenerator.cxx: ENH: move stripping from cpack to cmake/install time, fully configurable via the CMAKE_STRIP_FILE rule, currently only implemented for the GNU toolchain. Now cpack should work also for cross compiling (since it doesn't have to know the executable suffix anymore). stripping can be enabled/disabled via the cache variable CMAKE_INSTALL_DO_STRIP. Even if this is disabled, the cmake_install.cmake files still contain the strip rules, so by running cmake -DCMAKE_INSTALL_DO_STRIP=1 cmake_install.cmake you can install with stripping also in this case. Alex 2007-05-14 13:46 alex * Source/: cmFileCommand.cxx, cmFileCommand.h: STYLE: split the HandleInstallCommand() into shorter functions (which are still quite long) Alex 2007-05-14 11:23 alex * Source/: cmGlobalXCodeGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmTarget.cxx: STYLE: fix line lengths Alex 2007-05-14 11:07 alex * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeFindBinUtils.cmake, Modules/CMakeLists.txt, Source/cmInstallTargetGenerator.cxx: ENH: -added new CMakeFindBinUtils.cmake to have less code duplication in CMakeDetermineC/C++?FortranCompiler.cmake, -added CMAKE_INSTALL_NAME_TOOL variable, only run install_name_tool handling if this was found Alex 2007-05-14 09:46 alex * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: use GetCTestConfiguration("ExecutableSuffix") instead instead of cmSystemTools::GetExecutableExtension() -rmove the unused TryExecutable() Alex 2007-05-14 08:59 martink * Tests/CMakeLists.txt: ENH: revert back to SUBDIRS so that CMake can be built with 2.2 2007-05-14 08:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-13 10:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-13 09:11 hoffman * CMakeLists.txt: ENH: revert to SUBDIRS to make sure cmake can be built with 2.2 2007-05-13 07:16 king * CMakeLists.txt, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx: COMP: Need CMake 2.4 or a bootstrap cmake that has ADD_SUBDIRECTORY to build. 2007-05-12 02:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-11 16:25 alex * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Source/cmFindBase.cxx, Source/cmIncludeCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h: ENH: -search CMAKE_TOOLCHAIN_FILE at first relative to the CMAKE_BINARY_DIR -if in CMAKE_C_COMPILER only the basename of the compiler without path was given then find the path -CMAKE_FIND_PREFIX can now be a list of directories -via CMAKE_PROGRAM_FIND_PREFIX_MODE, CMAKE_LIBRARY_FIND_PREFIX_MODE and CMAKE_INCLUDE_FIND_PREFIX_MODE the default behaviour for these 3 types can be adjusted: *at first the directories with the prefixes, then without prefixes (default, unset) *only the prefixes (useful for libs and headers, "ONLY") *only without the prefixes (useful for programs, "NEVER") Alex 2007-05-11 14:03 alex * Source/: cmListFileCache.h, cmTryRunCommand.cxx, cmUtilitySourceCommand.cxx: BUG: same as HEAD: use a std::string instead a const char* for storing the filename ENH: use CMAKE_EXECUTABLE_SUFFIX() in try_run and utility_source, although usually they won't be able to run the executables (but IMO they shouldn't complain they can't find the executables) ENH: try_run now fails with "cant run executables if used with this toolchain" if used with a user defined toolchain which didn't reset the CMAKE_ALIEN_EXECUTABLES flag Alex 2007-05-11 13:52 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: BUG: Fixed generation of XCODE_DEPEND_HELPER.make into proper directory. Cleaned up duplicate code created by recent changes. 2007-05-11 13:46 alex * Modules/CTest.cmake, Modules/DartConfiguration.tcl.in, Source/CPack/cmCPackGenericGenerator.cxx, Source/CTest/cmCTestTestHandler.cxx: ENH: allow it to set UPDATE_TYPE via CTEST_UPDATE_TYPE from CTestConfig.cmake -add EXECUTABLE_SUFFIX to DartConfig.tcl so it can be used in ctest -use CPACK_EXECUTABLE_SUFFIX for cpack (strip, which doesn't work because of the install dir) Alex 2007-05-11 13:06 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeSystemSpecificInformation.cmake, CPack.cmake: ENH: also use the target platform strip and executable suffix in cpack use the new include() parameter to handle both full-path and module-name-only SYSTEM_INFO files Alex 2007-05-11 12:17 martink * CMakeLists.txt, Tests/CMakeLists.txt: ENH: minor fixes 2007-05-11 11:55 alex * Source/: cmIncludeCommand.cxx, cmIncludeCommand.h: ENH: if OPTIONAL is used, give the user a way to check whether the file was included or not (by setting a variable to the full path or NOTFOUND) Additionally now fail if a second argument is used and this is not "OPTIONAL" Alex 2007-05-11 10:34 alex * Modules/: CMakeDetermineSystem.cmake, CMakeSystem.cmake.in, CMakeSystemSpecificInformation.cmake, CheckTypeSize.cmake: ENH: only check for the type size if it hasn't already been set, put a bit more information in the CMakeSystemInformation.cmake file if it has been used with a toolchain file, use the file given in the toolchain file as CMake_SYSTEM_INFO_FILE Alex 2007-05-11 10:22 martink * CMakeLists.txt, Tests/CMakeLists.txt, Tests/COnly/CMakeLists.txt, Tests/CxxOnly/CMakeLists.txt, Tests/MathTest/CMakeLists.txt, Tests/NewlineArgs/CMakeLists.txt, Tests/ObjC++/CMakeLists.txt, Tests/PreOrder/CMakeLists.txt, Tests/SetLang/CMakeLists.txt, Tests/Simple/CMakeLists.txt, Tests/SystemInformation/CMakeLists.txt, Tests/TarTest/CMakeLists.txt: ENH: some more CMakeList cleanups 2007-05-11 09:02 martink * CMakeLists.txt, Source/CMakeLists.txt, Tests/CMakeLists.txt: ENH: more cleanup of some CMakeLists files 2007-05-11 08:36 alex * Source/cmListFileCache.h: BUG: const char* FilePath could point to a non-existent std::string for commands used in a macro, using a std::string instead copies the contents so this works (correct error message) Alex 2007-05-11 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-10 15:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-10 15:13 hoffman * Utilities/: CMakeLists.txt, KWStyle/CMake.kws.xml.in, KWStyle/CMakeFiles.txt.in, KWStyle/CMakeLists.txt, KWStyle/CMakeOverwrite.txt, KWStyle/Headers/CMakeHeader.h: ENH: add KWStyle support 2007-05-10 14:43 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: fix -D escaped quotes for watcom 2007-05-10 14:08 martink * CMakeCPack.cmake, CMakeLists.txt, CompileFlags.cmake: ENH: start trying to cleanup CMakeLists files 2007-05-10 13:03 alex * Source/: cmTarget.cxx, cmTarget.h: ENH: return the default location for imported targets if the config-dependent locations are not set Alex 2007-05-10 11:41 alex * Source/: cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx, cmGetTargetPropertyCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudioGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmIncludeExternalMSProjectCommand.cxx, cmInstallCommand.cxx, cmInstallFilesCommand.cxx, cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h, cmMakefileTargetGenerator.cxx, cmSetTargetPropertiesCommand.cxx, cmTarget.cxx, cmTarget.h: ENH: first try at "importing" targets (from other build trees), now done using a separate container for the imported targets -as in HEAD: move TraceVSDependencies() to one central place, GlobalGenerator::Generate() Alex 2007-05-10 11:38 alex * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalVisualStudio7Generator.cxx, cmTarget.cxx: STYLE: fix line length Alex 2007-05-10 11:16 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure escaping is done for strings on the command line 2007-05-10 10:31 hoffman * Source/CMakeLists.txt: ENH: add test for a simple depend test, does an exe re-link if a library that it uses changes 2007-05-10 10:05 hoffman * Tests/BuildDepends/: CMakeLists.txt, Project/bar.c: ENH: add test for build depends 2007-05-10 10:05 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for move of trace depends 2007-05-09 15:10 hoffman * Tests/BuildDepends/: CMakeLists.txt, Project/CMakeLists.txt, Project/bar.c: ENH: add a test to make sure Xcode does not break again 2007-05-09 14:41 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: fix problem for non-C/CXX languages with Visual Studio, the dependencies for the custom commands added for java were not handled correctly. Needs more work. Alex 2007-05-09 11:44 alex * Source/: cmAddExecutableCommand.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmIncludeExternalMSProjectCommand.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h, cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: initial try for support for "importing" targets into cmake, so e.g. the support for libs in release- and debug mode can be done much better and importeed executable targets can be used in custom commands (-> cross compiling) Alex 2007-05-09 10:28 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for older xcode and framework create 2007-05-09 10:18 king * Source/cmLocalVisualStudio7Generator.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro definitions properly. This addresses bug#4983. 2007-05-09 09:35 alex * Source/: cmTarget.cxx, cmTarget.h: STYLE: functions use upper case for the first letter Alex 2007-05-09 09:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-09 08:25 alex * Source/cmCustomCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/UtilityHeader.dsptemplate, Templates/staticLibHeader.dsptemplate, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/main.cxx, Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt: ENH: now target names can be used in add_custom_command() and add_custom_target() as COMMAND, and cmake will recognize them and replace them with the actual output path of these executables. Also the dependency will be added automatically. Test included. ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(), so it is done now in one central place Alex 2007-05-08 16:58 alex * Tests/CustomCommand/: CMakeLists.txt, GeneratorInExtraDir/CMakeLists.txt: ENH: also test if the dependency to a target works with POSTBUILD Alex 2007-05-08 16:37 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: getting closer 2007-05-08 15:49 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: add initial xcode framework stuff 2007-05-08 15:29 alex * Source/cmLocalVisualStudio7Generator.cxx: COMP: a closing brace was missing Alex 2007-05-08 14:47 alex * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: move TraceVSDependencies() from every generator to the end of GlobalGenerator::Configure(), removes some code duplication and makes it easier to add support for "importing" targets Alex 2007-05-08 14:28 alex * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalGenerator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx: STYLE: standard for-loop-initialization in the MSVC generator, one level less deep if-statement in XCode generator, one level less deep function call in the global generator -> makes it easier to understand IMO Alex 2007-05-08 14:10 alex * Source/cmTarget.h: STYLE: GetName() is const, comment updated Alex 2007-05-08 12:43 hoffman * Tests/Framework/: bar.cxx, foo.cxx: ENH: make it work on non windows 2007-05-08 11:53 hoffman * Source/cmLocalGenerator.cxx, Tests/Framework/CMakeLists.txt, Tests/Framework/bar.cxx, Tests/Framework/foo.cxx: ENH: fix it so that the FRAMEWORK property does not break the building of normal shared libs on non-mac platforms 2007-05-08 11:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-08 10:58 hoffman * Source/CMakeLists.txt, Tests/Framework/CMakeLists.txt, Tests/Framework/bar.cxx, Tests/Framework/foo.cxx, Tests/Framework/foo.h, Tests/Framework/foo2.h: ENH: add a very simple framework test 2007-05-08 10:32 hoffman * Modules/MacOSXFrameworkInfo.plist.in, Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmTarget.cxx: ENH: initial support for creation of frameworks on Mac 2007-05-08 10:05 alex * Source/: cmMakefile.cxx, cmTarget.cxx: ENH: also detect targetnames-used-as-commands for PREBUILD/PRELINK/POSTBUILD custom commands Alex 2007-05-07 18:17 king * Modules/Platform/Linux.cmake: BUG: Detect debian with existence of /etc/debian_version so things work in a chroot install. This is suggested in bug#4805. 2007-05-07 14:50 alex * Tests/CustomCommand/: CMakeLists.txt, GeneratorInExtraDir/CMakeLists.txt: ENH: also test the automatic dependency. To make it a bit harder also use SET_TARGET_PROPERTIES(OUTPUT_NAME) for the generator executable Alex 2007-05-07 14:42 alex * Source/: cmLocalUnixMakefileGenerator3.cxx, cmTarget.cxx: ENH: if a target name is used as command in add_custom_command, automatically add the dependency to this target Alex 2007-05-07 14:27 alex * Source/cmCustomCommand.h: STYLE: IsUsed() is const, semicolons are not required Alex 2007-05-07 11:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-07 09:48 alex * Tests/CustomCommand/CMakeLists.txt: ENH: add test for the target-to-location translation for ADD_CUSTOM_TARGET Alex 2007-05-07 08:48 alex * Source/cmLocalVisualStudio6Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/UtilityHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: ENH: also support target-as-command with the MSVC6 generator Alex 2007-05-06 09:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-05 08:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-04 17:17 alex * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: ENH: add configName argument to CreateTargetRules so it can create the rules correctly for the different configtypes. Has to be used for configuring the project file templates. Alex 2007-05-04 17:09 alex * Source/cmLocalVisualStudio7Generator.cxx: STYLE: remove the commented code, wasn't intended to be committed Alex 2007-05-04 16:43 alex * Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmTarget.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/main.cxx, Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt: ENH: you can now use the target name of a executable target in cmake as command in add_custom_command, it should also honor the buildtypes. A testcase in Tests/CustomCommand/ is also coming soon. Tested on Linux with Makefiles, OSX with XCode and MSVC 7. MSVC 6 and 8 are not tested. Next will be to also automatically add the dependencies to this target automatically. Alex 2007-05-04 14:08 alex * Source/cmLocalVisualStudio7Generator.cxx: COMP: removed unused variable temp Alex 2007-05-04 09:50 alex * Source/cmMakefile.cxx: COMP: fix warning on VS8: conversion unsigned int -> size_t Alex 2007-05-03 20:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-03 15:25 martink * Source/cmTryRunCommand.cxx: ENH: look at CMAKE_TRY_COMPILE_CONFIGURATION var for TryRun as well 2007-05-03 13:03 king * Source/kwsys/ProcessUNIX.c, Utilities/cmcurl/url.c: COMP: Fix code-not-reached warnings for SunCC. 2007-05-03 08:24 king * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineCompilerId.cmake, CMakeDetermineFortranCompiler.cmake, CMakeFortranCompiler.cmake.in, CMakeFortranCompilerId.F90, CMakeFortranInformation.cmake, Platform/Linux-SunPro-C.cmake, Platform/Linux-SunPro-CXX.cmake, Platform/Linux-SunPro-Fortran.cmake: ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included. 2007-05-03 07:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-02 14:13 alex * Modules/CMakeDetermineCCompiler.cmake: BUG: fix typo, use TOOLCHAIN_PREFIX as prefix instead of location Alex 2007-05-02 11:56 alex * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: make it possible to set the object file extension independent from the build platform at build time Alex 2007-05-02 01:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-05-01 18:28 king * Modules/: CMakeDetermineFortranCompiler.cmake, CMakeFortranCompiler.cmake.in, CMakeFortranCompilerId.F90, CMakeFortranInformation.cmake: ENH: Using CMAKE_DETERMINE_COMPILER_ID to determine the Fortran compiler. This works only for Fortran90+ compilers that run the preprocessor. Otherwise we fall back to the old behavior. 2007-05-01 18:27 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineCompilerId.cmake: ENH: Added flagvar argument to CMAKE_DETERMINE_COMPILER_ID to choose the environment variable from which to get flags. Made parsing of INFO blocks robust to having more than one in a single string. 2007-05-01 18:26 king * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake: ENH: Added code to load CompilerId version of platform file if it exists. Set CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS only if it is not already defined. 2007-05-01 18:24 king * Modules/Platform/: Linux-SunPro-C.cmake, Linux-SunPro-CXX.cmake, Linux-SunPro-Fortran.cmake: ENH: Adding platform file for Sun Studio Express on Linux. 2007-05-01 18:22 king * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, CMakeDetermineCompilerId.cmake, CMakeLists.txt, FindMPI.cmake, Platform/UnixPaths.cmake: ENH: Merging modules changes in range CMake-Modules-CompilerId-mp1-post to CMake-Modules-CompilerId-trunk-mp1 from trunk to CMake-Modules-CompilerId branch. 2007-05-01 17:02 alex * Source/cmTryRunCommand.h: STYLE: fix typo Alex 2007-05-01 17:00 alex * Source/cmUtilitySourceCommand.h: STYLE: according to Brad this one is ancient and shouldn't be used for any new stuff Alex 2007-05-01 16:37 alex * Modules/CMakeTestCCompiler.cmake: BUG: don't use stdio in the test for a simple executable, for some embedded targets/toolchains/platforms this might already be too much Alex 2007-05-01 16:25 alex * Source/: cmFindBase.cxx, cmFindBase.h: ENH: add support for CMAKE_FIND_PREFIX, for prepending a prefix before all directories searched by FIND_XXX(), useful for defining a different root directory for the base directory of the target platform Alex 2007-05-01 14:35 king * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp: ENH: Changed GNUC compiler id name to GNU. 2007-05-01 14:23 alex * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: add two new variables: CMAKE_TOOLCHAIN_PREFIX: will be prepended to gcc, ar, g++, cc, c++ and ranlib if defined (gives e.g. arm-elf-gcc etc.) CMAKE_TOOLCHAIN_LOCATION: if defined, the compilers will be searched only there, the other tools at first there, after that in other locations If not already defined, both of them will be set by CMakeDetermineXXXCompiler.cmake and used by the other one. If mixing the environment variable CC/CXX and these variables this can give weird mixtures. change order of compiler names for CXX: from c++, g++ to g++, c++ (same order as for C) Alex 2007-05-01 14:12 king * Tests/CustomCommand/: CMakeLists.txt, check_mark.cmake: ENH: Added test to make sure custom commands are not built more than once in a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377. 2007-05-01 13:51 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h, cmMakefileUtilityTargetGenerator.cxx: BUG: A utility target should not run the custom commands from its source files directly. The target-level rule must add dependencies on the file-level custom commands to drive them. This bug was introduced by the "fix" to bug 4377. This also restores the documented behavior that PRE_BUILD rules are treated as PRE_LINK rules on non-VS generators. Also fixed custom command dependencies on the rule file build.make so that custom commands re-run when the commands themselves change. 2007-05-01 13:13 alex * Modules/CMakeDetermineSystem.cmake: STYLE: the second check for uname wasn't intended to be committed Alex 2007-05-01 13:11 alex * Modules/CMakeDetermineSystem.cmake: ENH: new variable CMAKE_TOOLCHAIN_FILE which can be used to specify a cmake file which will be loaded even before cmake tries to detect the system, so people can set e.g. CMAKE_SYSTEM to the value for their target platform. Only detect CMAKE_SYSTEM if it isn't set yet. Alex 2007-05-01 13:07 alex * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake: ENH: use CMAKE_SYSTEM_AND_C[XX]_COMPILER_INFO_FILE for loading the file info file, but don't overwrite it if it has already been specified. This is needed for cross compiling so people can explicitely say which file to use depending on their target platform Alex 2007-05-01 11:46 alex * Source/cmMakefile.cxx: BUG: fix cmake listfile stack: if a file could not be opened, remove it from the stack (usually CMakeCInformation.cmake and CMakeCXXInformation.cmake which both put Linux-gcc.cmake on the stack without removing it again: INCLUDE(... OPTIONAL) ) STYLE: better readable output formatting of the listfile stack, now in the same order as in gdb or with include files Alex 2007-05-01 04:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-30 18:10 king * Modules/CMakeCXXCompilerId.cpp: STYLE: Added comment explaining choice of file extension. 2007-04-30 18:09 king * Modules/CMakeLists.txt: BUG: Need to install CMakeCXXCompilerId.cpp so that C++ compiler identification works in an install tree. 2007-04-30 17:05 alex * Modules/CMakeDetermineCompilerId.cmake: STYLE: comment which says which variables this macro sets Alex 2007-04-30 17:03 alex * Modules/FindMPI.cmake: STYLE: use the newer FIND_XXX syntax, which should find MPI in even more directories and doesn't require to list standard directories like /usr/lib, etc. Alex 2007-04-30 16:05 alex * Modules/CMakeLists.txt: BUG: also install CMakePlatformId.h, otherwise the check for the compiler id works only when building cmake itself, but not with an installed cmake Alex 2007-04-30 10:57 alex * Modules/Platform/UnixPaths.cmake: BUG: if /opt/lib and /opt/csw/lib are searched for libs, then /opt/include and /opt/csw/include should also be searched for headers (according to google they also exist) Alex 2007-04-29 23:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-29 03:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-28 12:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-28 09:35 king * Modules/: CMakeCCompiler.cmake.in, CMakeCCompilerId.c, CMakeCXXCompiler.cmake.in, CMakeCXXCompilerId.cpp, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineCompilerId.cmake, CMakePlatformId.h: ENH: Merging CompilerId implementation from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-bp and CMake-Modules-CompilerId-mp1 are included. 2007-04-28 08:25 king * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Fixed line too long. 2007-04-27 10:44 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: Hard-coded platform for Visual Studio generators. Added TODO comment about setting the compiler id. 2007-04-27 10:29 king * Modules/CMakeDetermineCompilerId.cmake: BUG: When passing the compiler id source file to the compiler, the native file path format should be used on the command line. 2007-04-27 10:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-27 10:19 king * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp: ENH: Added Watcom compiler identifier. 2007-04-27 09:46 king * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp: BUG: Fixed for HP compilers. 2007-04-27 09:20 king * Modules/CMakeDetermineCompilerId.cmake: BUG: Need to strip all text before and after the INFO block because the binary may contain string data leading up to the beginning of the strings. 2007-04-27 09:09 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: BUG: Still need to identify compiler using command line for Xcode generator. 2007-04-27 09:01 andy * Source/CTest/cmCTestCoverageHandler.h: STYLE: Add somme comments 2007-04-27 08:57 king * Modules/: CMakeCCompiler.cmake.in, CMakeCCompilerId.c, CMakeCXXCompiler.cmake.in, CMakeCXXCompilerId.cpp, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineCompilerId.cmake, CMakePlatformId.h: ENH: Initial checkin of CompilerId feature on CMake-Modules-CompilerId branch. This helps identify compilers and platforms by actually building a source file and using the preprocessor definitions to recognize known compilers. 2007-04-26 23:20 andy * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Initial attempt to do python coverage. Hopefully will not break coverage on GCov 2007-04-26 21:50 andy * Source/cmStringCommand.cxx, Source/cmStringCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: Add STRING STRIP command 2007-04-26 09:56 king * Source/cmFileCommand.cxx: COMP: Avoid warning. 2007-04-26 07:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-25 17:48 king * Source/cmStringCommand.h: STYLE: Fixed line-too-long. 2007-04-25 17:22 king * Source/cmFileCommand.cxx, Source/cmFileCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: Added FILE(STRINGS) command. 2007-04-25 16:22 alex * Modules/CMakeDetermineCXXCompiler.cmake: STYLE: fix typo "CCC" -> "CC", add comments which variables it sets Alex 2007-04-25 05:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-24 14:03 hoffman * Source/cmEnableLanguageCommand.h: ENH: fix docs 2007-04-24 12:30 hoffman * Source/cmGlobalGenerator.cxx: ENH: fix seg fault in ccmake when hitting configure twice 2007-04-24 01:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-23 16:48 king * Source/cmStringCommand.cxx: COMP: Added missing include for time. 2007-04-23 11:04 martink * Source/: cmStringCommand.cxx, cmStringCommand.h: ENH: Add command to generate random strings 2007-04-22 23:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-21 18:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-20 11:53 king * Source/kwsys/kwsysPlatformTestsCXX.cxx: COMP: Make sure gcc 2.96 sstream header is not used. 2007-04-20 09:50 king * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear. 2007-04-20 09:49 king * Source/cmLoadCommandCommand.cxx: BUG: Reverting previous change. It did not account for the possibility that the loaded command was built with a different compiler. 2007-04-20 04:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-19 12:56 king * Source/kwsys/testIOS.cxx: BUG: Need to clear read failure when string is reset. 2007-04-19 12:53 king * Source/kwsys/testIOS.cxx: ENH: Added testing for istringstream and stringstream. 2007-04-19 12:44 king * Source/kwsys/kwsys_stl_string.hxx.in: BUG: Fix stream state on successfully reading a string. 2007-04-19 12:12 king * Source/kwsys/: String.hxx.in, kwsys_ios_sstream.h.in: COMP: Fixes for Watcom. 2007-04-19 12:11 king * Source/kwsys/CMakeLists.txt: COMP: Skip testAutoPtr and testHashSTL on Watcom. They are hopeless. 2007-04-19 12:11 king * Source/kwsys/EncodeExecutable.c: COMP: Need to include header for unlink function. 2007-04-19 11:32 king * Tests/Plugin/src/: example_exe.cxx, example_mod_1.c: ENH: Added function call argument to module function to make sure calling convention matches on lookup. Fixed for Watcom. 2007-04-19 11:31 king * Source/kwsys/DynamicLoader.cxx: ENH: Added support for Watcom compiler. Added TODO comment about calling conventions. 2007-04-19 11:23 king * Source/cmLoadCommandCommand.cxx: ENH: Removed code unnecessary now that DynamicLoader is implemented better. 2007-04-19 11:21 king * Source/kwsys/: CMakeLists.txt, kwsys_stl_string.hxx.in: ENH: Fixed stl string streaming operators for Watcom. 2007-04-19 04:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-18 09:56 king * Source/cmLocalGenerator.cxx: BUG: Fix ComputeLinkInformation. When using a loader_flag link item the full per-configuration path should be used. The fullPathLibs returned should refer to the import library if it was used. Since the full paths are used for dependencies the executable used with loader_flag should be returned also. 2007-04-18 04:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-18 00:12 king * Source/CMakeLists.txt: ENH: Plugin test should now work on QNX. 2007-04-18 00:11 king * Modules/Platform/QNX.cmake: ENH: Add CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols. 2007-04-18 00:04 king * Source/cmLocalGenerator.cxx: BUG: Cannot escape link items because some need the spaces to separate arguments. Instead just escape the argument to the loader flag. 2007-04-17 23:40 king * Modules/Platform/: Linux.cmake, FreeBSD.cmake: ENH: Added CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols. 2007-04-17 23:39 king * Source/cmMakefileExecutableTargetGenerator.cxx: ENH: Added platform variable CMAKE_EXE_EXPORTS__FLAG to add a linker flag when building executables that have the ENABLE_EXPORTS property set. 2007-04-17 23:27 king * Tests/Plugin/CMakeLists.txt: COMP: Need to enable ansi C features. 2007-04-17 23:16 king * Source/cmLocalGenerator.cxx: BUG: Fix ComputeLinkInformation for non-linked targets. Why is it called for utility targets anyway? 2007-04-17 18:18 king * Source/CMakeLists.txt, Tests/Plugin/include/example.h: ENH: Fixed Plugin test on Cygwin. 2007-04-17 16:42 king * Source/CMakeLists.txt: BUG: Disable Plugin test on Cygwin until it is implemented. 2007-04-17 16:34 king * Source/CMakeLists.txt: ENH: Re-enabling Plugin test now that it should work on MacOSX. I will let it run one night to see what platforms are still not implemented. Currently it is not run on QNX because it is known to not be implemented there. 2007-04-17 16:19 king * Modules/Platform/Darwin.cmake: ENH: Added CMAKE_SHARED_MODULE_LOADER_C_FLAG and CMAKE_SHARED_MODULE_LOADER_CXX_FLAG to support linking plugins to executables. 2007-04-17 16:11 king * Source/cmLocalGenerator.cxx: ENH: Added use of platform variable CMAKE_SHARED_MODULE_LOADER__FLAG to add a special flag when linking a plugin to an executable that loads it. 2007-04-17 15:06 king * Source/CMakeLists.txt: BUG: Disable Plugin test until it works everywhere. 2007-04-17 14:08 king * Source/CMakeLists.txt: ENH: Added test for executables with plugins that use an API exported by the executable itself. 2007-04-17 13:52 king * Tests/Plugin/: CMakeLists.txt, src/example_exe.cxx, src/example_exe.h.in: ENH: Configure location of plugin files so that the executable can run with any current working directory. 2007-04-17 13:43 king * Tests/Plugin/: CMakeLists.txt, include/example.h, src/example_exe.cxx, src/example_mod_1.c: ENH: Added test for executables with plugins that use an API exported by the executable itself. 2007-04-17 04:48 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-16 04:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-15 11:56 andy * Utilities/cmcurl/Testing/sepheaders.c: ENH: Fix old api 2007-04-15 03:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-14 02:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-13 10:22 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: better progress for any directory that is a project 2007-04-13 01:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-12 15:50 andy * Source/cmVariableWatchCommand.cxx: STYLE: Fix line lengths 2007-04-12 15:46 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: some code consolidation and cleanup 2007-04-12 14:21 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix progress for ENCLUDE_FORM_ALL cases using new project to target map. Only fixes it for the top level all target 2007-04-12 10:56 king * Source/kwsys/ProcessWin32.c: ENH: Added KWSYSPE_DEBUG macro to print debugging trace information. Added TODO comment explaining why process execution can still hang when a grandchild keeps the output pipes open. 2007-04-11 17:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-11 15:13 andy * Source/cmCommands.cxx, Source/cmFindPackageCommand.cxx, Source/cmMakefile.cxx, Source/cmVariableWatch.cxx, Source/cmVariableWatch.h, Source/cmVariableWatchCommand.cxx, Source/cmVariableWatchCommand.h, Source/cmake.cxx, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/VariableWatchTest.cmake.in: ENH: Add variable watch command 2007-04-11 10:00 king * Source/cmMarkAsAdvancedCommand.cxx: STYLE: Fixed line-too-long. 2007-04-10 21:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-10 17:12 utkarsh1 * Utilities/cmcurl/CMakeLists.txt: ENH: Merging branch PVEE-ERDC-Setup-4-3-2007 to main tree. Changes between PVEE-ERDC-Setup-4-3-2007-bp and PVEE-ERDC-Setup-4-3-2007-mp1 are included. 2007-04-10 16:03 king * Source/cmCacheManager.h: BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition. 2007-04-10 15:55 king * Source/cmMarkAsAdvancedCommand.cxx: BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition. 2007-04-10 14:54 barre * Modules/Dart.cmake: ENH: this variable overrides all PROJECT_URL. Check the dashboard, all projects have the wrong URL in their "Home" button. Other variables (like ROLLUP_URL) were moved a while ago, for some reasons this one is still here. 2007-04-10 13:09 king * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudioGenerator.cxx, cmGlobalVisualStudioGenerator.h: BUG: The ALL_BUILD target should not have any command lines so that it is not always considered out of date. Moved the 'Build all projects' message into the description field instead of an echo in the command field. Moved common implementation of Generate for VS6 and VS7 into the superclass to avoid duplicate code for the ALL_BUILD target. This addresses bug#4556. 2007-04-10 11:26 andy * Utilities/cmcurl/CMakeLists.txt: ENH: No reason to search for UCB. Let me know if anybody still has ucb 2007-04-10 11:22 king * Modules/Platform/Linux.cmake, Source/cmFileCommand.cxx, Source/cmLocalGenerator.cxx: ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805. 2007-04-10 09:54 martink * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmTarget.cxx: ENH: added internal target property for the name of the project file 2007-04-10 08:49 king * Source/cmGlobalUnixMakefileGenerator3.cxx: STYLE: Added comment about why dependencies need to be chained to clarify code. 2007-04-10 08:36 king * Modules/Platform/NetBSD.cmake: ENH: Enabled use of soname and therefore versioning symlinks. Patch is from bug#4558. 2007-04-09 21:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-08 21:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-07 21:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-06 21:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-05 21:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-05 09:19 king * Source/cmMakefile.cxx: STYLE: Fix line-too-long. 2007-04-04 17:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-04 16:28 andy * Utilities/Doxygen/doxyfile.in: STYLE: Do doxygen for CPack 2007-04-04 15:58 andy * Modules/CheckCSourceCompiles.cmake: BUG: Revert back to 1.14 2007-04-04 15:57 andy * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake: BUG: Revert back to 1.4 2007-04-04 14:49 king * Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalVisualStudioGenerator.cxx, Source/cmGlobalVisualStudioGenerator.h, Tests/Dependency/Two/CMakeLists.txt, Tests/Dependency/Two/TwoSrc.c, Tests/Dependency/Two/TwoCustomSrc.c, Tests/Dependency/Two/two-test.h.in: BUG: Fix utility dependencies for static libraries in VS generators. This addresses bug#4789. 2007-04-04 13:43 hoffman * Modules/FindJNI.cmake: BUG: fix for bug 4605 2007-04-04 13:41 andy * bootstrap: ENH: Fix copyright year 2007-04-04 13:06 andy * Source/CTest/cmCTestBuildHandler.cxx: COMP: Fix kwstyle 2007-04-04 13:06 andy * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake: COMP: Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx 2007-04-04 12:05 andy * Source/cmConfigureFileCommand.cxx: BUG: No need for the backward compatibility variable warning 2007-04-04 12:05 andy * Source/cmMakefile.cxx: ENH: Add variable for the current list file 2007-04-04 11:22 king * Source/: CMakeLists.txt, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudioGenerator.cxx, cmGlobalVisualStudioGenerator.h: ENH: Added cmGlobalVisualStudioGenerator as superclass to all VS global generators. 2007-04-03 23:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-03 03:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-02 02:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-04-01 02:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-31 02:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-30 10:53 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: make sure default /System framework is not added with -F 2007-03-30 02:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-29 02:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-28 11:06 martink * Source/CTest/: cmCTestBuildHandler.cxx: BUG: even safer checking of return value 2007-03-28 10:58 martink * Source/CTest/cmCTestBuildHandler.cxx: BUG: fix checking of the return value for a build 2007-03-28 02:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-27 23:15 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Restored shared local variable removed by previous change. 2007-03-27 23:13 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Created method cmTarget::GetExportMacro to centralize computation of the export symbol name. This removes duplicate code from all the generators. Also enabled the export definition for executable targets with the ENABLE_EXPORTS property set. 2007-03-27 02:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-26 02:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-25 02:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-24 14:12 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: need kwsys' Glob in VTK 5.0 2007-03-24 14:04 barre * Source/kwsys/: CMakeLists.txt, Glob.cxx, Glob.hxx.in: ENH: need kwsys' Glob in VTK 5.0 2007-03-24 02:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-23 16:33 hoffman * Source/cmCTest.cxx: BUG: fix problem with new curl_getdate and ctest 2007-03-23 02:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-22 09:45 king * Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmTarget.cxx, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-wcl386.cmake: ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210. 2007-03-22 02:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-21 13:49 martink * Source/CMakeLists.txt: BUG: typo in if test 2007-03-21 07:16 king * Tests/OutOfSource/OutOfSourceSubdir/: CMakeLists.txt, simple.cxx: BUG: Disable deep-source test on Watcom until it can be fixed. This is a new feature for other generators anyway. 2007-03-21 02:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-20 15:51 hoffman * Utilities/cmcurl/strequal.c: ENH: second try to fix qnx build problem 2007-03-20 15:49 hoffman * Utilities/cmcurl/strequal.c: ENH: try to fix qnx build problem 2007-03-20 14:52 martink * Source/CTest/cmCTestBuildHandler.cxx: ENH: try markign non zero return values as warnings for make programs 2007-03-20 14:31 martink * Source/CTest/cmCTestBuildHandler.cxx: ENH: try markign non zero return values as warnings for make programs 2007-03-20 14:11 martink * Source/CTest/cmCTestBuildHandler.cxx: ENH: add another error regexp 2007-03-20 13:34 king * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: BUG: Reduce long source file name length for WMake. 2007-03-20 12:44 hoffman * Source/CPack/cmCPackTarCompressGenerator.cxx: BUG: fix coverity error, null check after usage fix 2007-03-20 12:32 hoffman * Modules/Platform/: AIX.cmake, QNX.cmake: ENH: add c++ flag when compiling c++ code merge from main tree 2007-03-20 11:52 martink * Source/cmCTest.cxx: ENH: minor additional error output 2007-03-20 09:51 martink * Utilities/cmcurl/: CMakeLists.txt, config.h.in, Platforms/WindowsCache.cmake: BUG: was not setting HAVE_PROCESS_H properly 2007-03-20 09:14 king * Modules/Platform/Windows-bcc32.cmake: BUG: Disable creation of import libraries for executables on Borland until it can be made optional. Otherwise all executables get a .lib with the same name which is unexpected behavior for users. 2007-03-20 08:16 king * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: BUG: Work around VS8 conversion to a relative path for the long source name. It takes the nice full path we give it, converts to relative, and then repacks relative on top of the build directory resulting in a path longer than its own maxpath even though the original path given was short enough. Even VS6 dealt with it better. 2007-03-20 02:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-19 13:04 martink * Source/: CMakeLists.txt, ctest.cxx, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildAndTestHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: support for --build-config-sample feature #1022 2007-03-19 10:00 king * Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Templates/EXEHeader.dsptemplate: ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly. 2007-03-19 02:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-18 16:18 andy * Utilities/cmcurl/: tftp.c, transfer.c: COMP: Remove some warnings 2007-03-18 02:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-17 13:23 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: fix for crash from main tree 2007-03-17 13:18 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: remove seg fault I hope 2007-03-17 00:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-16 18:44 king * Utilities/cmcurl/curl/curl.h: COMP: Do not #include files inside extern "C" {} blocks. 2007-03-16 18:05 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/gcc.cmake, Source/CMakeLists.txt, Source/cmFileCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalVisualStudio8Win64Generator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/kwsys/SystemTools.cxx, Tests/PrecompiledHeader/CMakeLists.txt, Tests/PrecompiledHeader/foo1.c, Tests/PrecompiledHeader/foo2.c, Tests/PrecompiledHeader/foo_precompile.c, Tests/PrecompiledHeader/include/foo.h, Tests/PrecompiledHeader/include/foo_precompiled.h, Tests/SetLang/CMakeLists.txt, Tests/SetLang/bar.c, Tests/SetLang/foo.c: ENH: check in fixes from main tree to create 2.4.7 RC 5 2007-03-16 16:48 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Need to include relative path top information in directory information so that relative path conversion during dependency generation works with the same rules as project generation. 2007-03-16 16:28 king * Source/cmInstallTargetGenerator.cxx: BUG: Use GetExecutableNames instead of GetLibraryNames to compute the installation file name for executable targets. 2007-03-16 16:04 king * Source/CTest/cmCTestBuildHandler.cxx: COMP: Fix bad escape sequence. 2007-03-16 14:51 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: More regular expressions for visual studio 6 2007-03-16 14:28 king * Utilities/cmcurl/CMakeLists.txt: COMP: Ignore windows sockets on cygwin. Remove duplicate source entry. 2007-03-16 10:34 king * Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx.in: ENH: Added computation of object file names that are almost always short enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520. 2007-03-16 09:34 andy * Utilities/cmcurl/CMake/: CMakeConfigurableFile.in, CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake: COMP: Fix support for old CMake (2.0 and 2.2) 2007-03-15 17:22 andy * Utilities/cmcurl/CMake/CheckCSourceRuns.cmake: ENH: Unify with the compile one 2007-03-15 15:22 andy * Utilities/cmcurl/: CMakeLists.txt, amigaos.c, amigaos.h, arpa_telnet.h, base64.c, base64.h, config.h.in, connect.c, connect.h, content_encoding.c, content_encoding.h, cookie.c, cookie.h, curl.copyright, curl_memory.h, curlx.h, dict.c, dict.h, easy.c, easyif.h, escape.c, escape.h, file.c, file.h, formdata.c, formdata.h, ftp.c, ftp.h, getdate.c, getdate.h, getenv.c, getinfo.c, getinfo.h, gtls.c, gtls.h, hash.c, hash.h, hostares.c, hostasyn.c, hostip.c, hostip.h, hostip4.c, hostip6.c, hostsyn.c, hostthre.c, http.c, http.h, http_chunks.c, http_chunks.h, http_digest.c, http_digest.h, http_negotiate.c, http_negotiate.h, http_ntlm.c, http_ntlm.h, if2ip.c, if2ip.h, inet_ntoa_r.h, inet_ntop.c, inet_ntop.h, inet_pton.c, inet_pton.h, krb4.c, krb4.h, ldap.c, ldap.h, llist.c, llist.h, md5.c, md5.h, memdebug.c, memdebug.h, memory.h, mprintf.c, multi.c, multiif.h, netrc.c, netrc.h, nwlib.c, parsedate.c, parsedate.h, progress.c, progress.h, security.c, security.h, select.c, select.h, sendf.c, sendf.h, setup.h, setup_once.h, share.c, share.h, sockaddr.h, socks.c, socks.h, speedcheck.c, speedcheck.h, splay.c, splay.h, ssh.c, ssh.h, sslgen.c, sslgen.h, ssluse.c, ssluse.h, strdup.c, strdup.h, strequal.c, strequal.h, strerror.c, strerror.h, strtok.c, strtok.h, strtoofft.c, strtoofft.h, telnet.c, telnet.h, tftp.c, tftp.h, timeval.c, timeval.h, transfer.c, transfer.h, url.c, url.h, urldata.h, version.c, CMake/CheckCSourceCompiles.cmake, CMake/CheckCSourceRuns.cmake, CMake/OtherTests.cmake, Platforms/WindowsCache.cmake, curl/curl.h, curl/curlver.h, curl/easy.h, curl/mprintf.h, curl/multi.h, curl/stdcheaders.h: ENH: Update Curl to 7.16.1 2007-03-15 13:48 martink * Source/cmMakefile.cxx: BUG: change in how set cache overrides local definitions. Should mainly be a NOP change for most cases 2007-03-14 21:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-14 16:30 king * CMakeLists.txt: ENH: Enable use of kwsys MD5 implementation. 2007-03-14 16:29 king * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Reverting previous changes related to using an empty string for a relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change. 2007-03-14 15:35 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: When the current output directory is a link directory we need to reference it with the relative path "." instead of an empty relative path. 2007-03-14 15:12 king * Source/kwsys/: CMakeLists.txt, MD5.c, MD5.h.in, testEncode.c: ENH: Added MD5 implementation to KWSys. 2007-03-14 13:36 king * Source/cmLocalGenerator.cxx: BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".". 2007-03-14 09:34 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: All executable and library project types should specify a program database file name for all configurations. Even when debug information is not used the .pdb file specified is used to construct the name of a .idb file that exists for all configurations when building with the VS IDE. 2007-03-13 15:18 martink * Source/: cmAddCustomTargetCommand.cxx, cmCPluginAPI.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalXCodeGenerator.cxx, cmMakefile.cxx, cmMakefile.h: ENH: some more cleanup 2007-03-13 14:23 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmMakefile.cxx, cmPropertyMap.cxx, cmTarget.cxx: ENH: add project to target map, not used yet, but created 2007-03-13 11:58 king * Source/cmLocalGenerator.cxx: BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work. 2007-03-13 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-12 23:36 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Remove spaces from test output paths. Not all make tools can handle it. Ths SubDirSpaces test is meant for that purpose anyway. 2007-03-12 16:10 martink * Source/cmake.cxx: ENH: added remove_directory bug 2937 2007-03-12 14:15 king * Source/cmFileCommand.cxx: BUG: Preserve symlinks during installation. This addresses bug#4384. 2007-03-12 13:50 king * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink. 2007-03-12 13:30 martink * Source/cmake.cxx: ENH: typo 2007-03-12 13:28 king * Tests/PrecompiledHeader/CMakeLists.txt: BUG: Do not use /I mode in VS6. 2007-03-12 12:44 king * Tests/PrecompiledHeader/CMakeLists.txt: BUG: Clean the pch during make clean so that the test passes when run more than once. 2007-03-12 12:40 martink * Source/cmake.cxx: ENH: small enchancement for bug 3776. 2007-03-12 12:35 king * Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalVisualStudio8Win64Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Tests/PrecompiledHeader/CMakeLists.txt: BUG: Split precompiled header flags into a separate per-global-generator flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7. 2007-03-12 11:32 martink * Source/cmGlobalXCodeGenerator.cxx: COMP: XCode fix 2007-03-12 10:26 martink * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx, cmAddSubDirectoryCommand.cxx, cmGlobalGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmIncludeExternalMSProjectCommand.cxx, cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmMakefile.cxx, cmMakefile.h, cmSubdirCommand.cxx, cmTarget.h: ENH: some code cleanup 2007-03-12 10:23 king * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt, SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210. 2007-03-11 01:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-10 07:49 king * Modules/Platform/Windows-wcl386.cmake: BUG: Do not create import library for MODULEs. This is an incremental fix for bug#4210. 2007-03-10 07:37 king * Modules/Platform/Windows-cl.cmake: BUG: Fixed MSVC8 module build rule to not use /implib option. This is an incremental fix for bug#4210. 2007-03-10 06:56 king * Source/cmLocalVisualStudio6Generator.cxx: STYLE: Fix line-too-long. 2007-03-10 01:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-09 17:15 king * Source/cmLocalGenerator.cxx: BUG: Use real path subdirectory check instead of substring comparison to identify when paths are below the relative path tops. Otherwise when the build tree is next to the source tree with the same name plus a suffix the relative path from the binary to source tree is allowed even though it goes outside cmake-managed directories. 2007-03-09 16:58 king * Source/kwsys/auto_ptr.hxx.in: COMP: Fix warning about binding reference-to-non-const to an rvalue on VS6. It does not seem to be doing the proper auto_ptr_ref conversions. Instead use the const_cast work-around on this platform. 2007-03-09 16:27 king * Source/kwsys/hashtable.hxx.in: COMP: Fixed unreferenced parameter warning for VS6 with /W4. 2007-03-09 16:26 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Re-enable backward compatibility replacements in user-provided VS6 DSP template files. 2007-03-09 16:25 king * Source/cmLocalVisualStudio6Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/UtilityHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: ENH: Implemented use of cmTarget::GetDirectory() in Visual Studio 6 generator. This is an incremental fix for bug#4210. 2007-03-09 15:14 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Added target properties ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY. If set these override EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for a specific target. They can be used to distribute target files in the build tree with the same granularity that the INSTALL command provides for the install tree. This addresses bug#2240 and bug#4210. 2007-03-09 14:50 king * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Fixed OSX bundles to be built in the directory specified by cmTarget::GetDirectory(). This is an incremental step for bug#2240. 2007-03-09 13:59 king * Modules/Platform/Windows-cl.cmake: BUG: Shared library creation should use /implib option to specify the name of the import library explicitly. This is an incremental step for bug #4210. 2007-03-09 13:56 king * Source/cmMakefileLibraryTargetGenerator.cxx: ENH: Do not compute a path name for the import library if there is no import library. This simplifies tracking down problems with trying to create import libraries for MODULEs. 2007-03-09 11:35 andy * CMakeLists.txt: ENH: Prepare for the new curl. Curl is build static, so set define to on 2007-03-09 11:35 andy * Utilities/cmcurl/: CMakeLists.txt, setup.h, CMake/OtherTests.cmake, Platforms/WindowsCache.cmake: ENH: Several windows fixes 2007-03-09 11:29 king * Source/: cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Added cmMakefileTargetGenerator::GenerateExtraOutput to wrap up creation of rules to drive creation of extra outputs generated as side effects of another rule. Reimplemented generation of custom command multiple output rules to use it. Reimplemented soname symlink output dependencies to use it. Now if a symlink is deleted the library will be recreated with the symlink. 2007-03-09 11:26 king * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: Need to account for import library directory when constructing the clean rule for the import library. This is an incremental fix for bug #4210. 2007-03-09 10:30 king * Source/cmLocalGenerator.cxx: ENH: Implemented new policy to choose the directory part of the object file name. This should keep the names looking as nice and short as possible. This partially addresses bug#4520. 2007-03-09 09:30 king * Source/: cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Added implib option to cmTarget::GetDirectory to support a separate directory containing the import library. This is an incremental step for bug#4210. 2007-03-08 23:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-08 15:33 king * Source/: cmLocalVisualStudio7Generator.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they are nearly the same. This is another step for bug#2240. 2007-03-08 15:24 king * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Removed unused variables LibraryOutputPath and ExecutableOutputPath. Each target is asked for its own output directory. This is a step towards bug#2240. 2007-03-08 15:10 king * Source/cmTarget.cxx: COMP: Fixed enumeration-not-used warning in switch. 2007-03-08 14:57 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240. 2007-03-08 14:15 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Ask the target for its own directory in case of bundle instead of directly using ExecutableOutputPath. 2007-03-08 14:11 andy * Utilities/cmcurl/: CMakeLists.txt, CMake/OtherTests.cmake: ENH: Add some missing headers and fix OtherTests.cmake macros 2007-03-08 13:19 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Compute HomeRelativeOutputPath following the rules of RelativePathTopBinary by going through the Convert() method. This supports out-of-binary build trees without using relative paths that go outside trees managed by CMake. 2007-03-08 13:13 king * Source/CMakeLists.txt: ENH: Enable SubDirSpaces test when building with bootstrapped cmake. 2007-03-08 13:05 king * Source/: CMakeLists.txt, cmGlobalBorlandMakefileGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Fixed recursive make call target escaping for Borland to support SubDirSpaces test. 2007-03-08 11:49 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Updated GetRecursiveMakeCall to use EscapeForShell instead of MAKEFILE conversion. This code is special because it is the only place that a make target name is passed on a command line. 2007-03-08 11:49 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added ConvertToOutputSlashes method to convert slashes with the same policy as ConvertToOutputPath but without escaping. 2007-03-08 11:10 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Removed useless method ConvertToMakeTarget and all calls to it. It had a buggy implementation that caused it to do nothing. 2007-03-08 10:31 king * Source/: cmLocalGenerator.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: BUG: Some calls to Convert() were converting for MAKEFILE but then passing the output to the build shell. The calls have now been converted to call Convert() with SHELL. 2007-03-08 10:19 king * Source/cmLocalUnixMakefileGenerator3.cxx: STYLE: Removed unused calls to Convert. 2007-03-08 09:48 king * Source/: cmSystemTools.cxx, cmSystemTools.h: STYLE: Removing unused methods ConvertToShellPath and EscapeForUnixShell. 2007-03-08 08:50 andy * Utilities/cmcurl/: CMakeLists.txt, amigaos.c, amigaos.h, arpa_telnet.h, base64.c, base64.h, config.h.in, connect.c, connect.h, content_encoding.c, content_encoding.h, cookie.c, cookie.h, curl.copyright, curlx.h, dict.c, dict.h, easy.c, easyif.h, escape.c, escape.h, file.c, file.h, formdata.c, formdata.h, ftp.c, ftp.h, getenv.c, getinfo.c, getinfo.h, gtls.c, gtls.h, hash.c, hash.h, hostares.c, hostasyn.c, hostip.c, hostip.h, hostip4.c, hostip6.c, hostsyn.c, hostthre.c, http.c, http.h, http_chunks.c, http_chunks.h, http_digest.c, http_digest.h, http_negotiate.c, http_negotiate.h, http_ntlm.c, http_ntlm.h, if2ip.c, if2ip.h, inet_ntoa_r.h, inet_ntop.c, inet_ntop.h, inet_pton.c, inet_pton.h, krb4.c, krb4.h, ldap.c, ldap.h, llist.c, llist.h, md5.c, md5.h, memdebug.c, memdebug.h, memory.h, mprintf.c, multi.c, multiif.h, netrc.c, netrc.h, nwlib.c, parsedate.c, parsedate.h, progress.c, progress.h, security.c, select.c, select.h, sendf.c, sendf.h, setup.h, setup_once.h, share.c, share.h, sockaddr.h, socks.c, socks.h, speedcheck.c, speedcheck.h, splay.c, splay.h, ssh.c, ssh.h, sslgen.c, sslgen.h, ssluse.c, ssluse.h, strdup.c, strdup.h, strequal.c, strequal.h, strerror.c, strerror.h, strtok.c, strtok.h, strtoofft.c, strtoofft.h, telnet.c, telnet.h, tftp.c, tftp.h, timeval.c, timeval.h, transfer.c, transfer.h, url.c, url.h, urldata.h, version.c, CMake/CheckCSourceCompiles.cmake, CMake/CheckCSourceRuns.cmake, CMake/OtherTests.cmake, curl/curl.h, curl/curlver.h, curl/easy.h, curl/mprintf.h, curl/multi.h, curl/stdcheaders.h: ENH: Update to 7.16.1 2007-03-08 08:46 king * Source/cmIncludeDirectoryCommand.cxx: STYLE: Fix line-too-long. 2007-03-08 08:38 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmake.cxx: ENH: SetupPathConversions is now called automatically on demand. 2007-03-07 22:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-07 17:39 king * Source/cmLocalGenerator.cxx: ENH: Modified GetObjectFileNameWithoutTarget to use relative paths for object file names with sources above the current directory so long as the relative path conversion works. 2007-03-07 17:32 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Improved computation of RelativePathTopSource and RelativePathTopBinary to use higher relative path tops when the source directories jump around in a tree below the original source top. 2007-03-07 16:35 king * Source/cmLocalGenerator.cxx: ENH: Set RelativePathTopSource and RelativePathTopBinary independently for each local generator. Relative path conversion is safe within a tree as long as it does not go above the highest parent directory still managed by CMake. 2007-03-07 16:32 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.h: COMP: Fix ConvertToRelativePath change for Xcode generator. 2007-03-07 16:00 king * Source/kwsys/hashtable.hxx.in: STYLE: Move warning disable pragma into push/pop block. 2007-03-07 15:57 king * Modules/Platform/Windows-cl.cmake, Source/cmLocalVisualStudio7Generator.cxx: BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway. 2007-03-07 15:36 martink * Modules/UsePkgConfig.cmake: BUG: untested fix for newlines in the output of pkg config 2007-03-07 15:30 king * Source/cmLocalGenerator.cxx: COMP: Add missing include for assert. 2007-03-07 15:15 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories. 2007-03-07 13:52 king * Source/kwsys/: testDynamicLoader.cxx, testSystemTools.cxx: BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds. 2007-03-07 13:01 martink * Source/CMakeLists.txt: BUG: oops bad arg for new test 2007-03-07 11:03 martink * Source/CMakeLists.txt, Source/cmIncludeDirectoryCommand.cxx, Source/cmIncludeDirectoryCommand.h, Source/cmMakefile.cxx, Source/cmSeparateArgumentsCommand.cxx, Tests/NewlineArgs/CMakeLists.txt: BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364 2007-03-07 09:26 king * Source/kwsys/: auto_ptr.hxx.in, testAutoPtr.cxx: ENH: Enabled support for use_auto_ptr(get_auto_ptr()) syntax on HP compiler. 2007-03-06 21:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-06 14:52 martink * Tests/NewlineArgs/: CMakeLists.txt, cxxonly.cxx, libcxx1.cxx, libcxx1.h, libcxx2.h.in: ENH: added a tets for newlines in some commands 2007-03-06 10:56 martink * Source/kwsys/hashtable.hxx.in: COMP: shut up w4 warning 2007-03-06 09:16 andy * Modules/CPack.STGZ_Header.sh.in: STYLE: Defautl answer for the license is no 2007-03-05 21:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-05 15:21 martink * Modules/UseSWIG.cmake: ENH: patch applied for bug 4517 2007-03-05 13:01 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: Removed legacy SetupTests method that was causing RUN_TESTS to test twice. 2007-03-05 10:36 martink * Source/: cmCommandArgumentParser.cxx, cmDependsFortranParser.cxx, cmDependsJavaParser.cxx, cmExprParser.cxx: COMP: shut up warnings 2007-03-05 09:50 martink * Source/cmTryCompileCommand.cxx: STYLE: long line 2007-03-04 21:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-03 23:46 king * Source/kwsys/testAutoPtr.cxx: COMP: Disable function call with function return test for HP until it is implemented. 2007-03-03 21:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-03 15:43 king * Source/kwsys/: CMakeLists.txt, auto_ptr.hxx.in: COMP: All kwsys .hxx headers should include Configure.hxx. Re-enabling testAutoPtr. 2007-03-03 15:32 king * Source/kwsys/CMakeLists.txt: COMP: Disable auto_ptr test for now. 2007-03-03 15:05 king * Source/kwsys/: auto_ptr.hxx.in, testAutoPtr.cxx: ENH: Implemented auto_ptr_ref in a way that allows conversion of the pointed-to type. 2007-03-03 14:51 king * Source/kwsys/testAutoPtr.cxx: COMP: Remove one conversion test until it is implemented. 2007-03-03 14:48 king * Source/kwsys/: CMakeLists.txt, auto_ptr.hxx.in, testAutoPtr.cxx: ENH: Added test for auto_ptr. Documented aut_ptr template implementation. 2007-03-03 12:16 king * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: BUG: cmCreateTestSourceList command is needed at boostrap time because KWSys now uses test drivers. 2007-03-03 10:47 king * Source/: kwsys/CMakeLists.txt, kwsys/testCommandLineArguments.cxx, kwsys/testCommandLineArguments1.cxx, kwsys/testDynamicLoader.cxx, kwsys/testFail.c, kwsys/testHashSTL.cxx, kwsys/testIOS.cxx, kwsys/testRegistry.cxx, kwsys/testSystemTools.cxx, kwsys/testTerminal.c, CMakeLists.txt: ENH: Cleaned up KWSys tests to use test drivers. 2007-03-03 10:09 king * Modules/Platform/Windows-bcc32.cmake: BUG: Do not create import library for MODULEs. The TARGET_IMPLIB name is not set correctly for MODULE rules anyway. 2007-03-02 21:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-02 14:31 martink * Source/: cmMakefileUtilityTargetGenerator.cxx, cmMakefileUtilityTargetGenerator.h: BUG: fix for build order 2007-03-02 11:33 andy * Modules/Platform/Darwin.cmake, Source/cmTryCompileCommand.cxx: BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try compile 2007-03-02 10:57 martink * Modules/SystemInformation.cmake: ENH: limit the output of system information to no more than 50K per file 2007-03-02 10:50 martink * Source/: cmLocalVisualStudio7Generator.cxx, cmWin32ProcessExecution.cxx: COMP: fix some w4 warnings 2007-03-02 10:49 martink * Source/cmake.cxx: ENH: fix compiler warning 2007-03-02 10:48 martink * Source/: kwsys/SystemTools.cxx, cmFileCommand.cxx: COMP: fix warnings 2007-03-01 23:28 king * Source/kwsys/auto_ptr.hxx.in: COMP: More workarounds for Borland. 2007-03-01 21:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-03-01 16:44 king * Modules/FindQt4.cmake: BUG: Fix bug introduced by revision 1.67. The qmake query mode prints information to stderr on some platforms. The OUTPUT_VARIABLE and ERROR_VARIABLE must be the same variable to get all the output. 2007-03-01 16:23 martink * Source/cmFileCommand.cxx: COMP: fix a compiel warning 2007-03-01 15:53 martink * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: added LIMIT on file read 2007-03-01 14:52 martink * Source/kwsys/SystemTools.cxx: COMP: fix warning 2007-03-01 14:30 martink * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: added a limit to the getline method 2007-03-01 10:53 martink * Source/cmake.cxx: BUG: a couple bugs in system informaiton 2007-03-01 10:33 martink * CMakeLists.txt: BUG: bad command line 2007-02-28 21:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-28 17:26 hoffman * Source/cmLocalGenerator.cxx: ENH: remove qnx special stuff that does not work 2007-02-28 14:45 martink * Source/cmMakefile.cxx: BUG: cleanup paths in GetSourceFile to handle bug 2724 2007-02-28 14:29 hoffman * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: one more pass at paths with spaces and parens 2007-02-28 12:25 martink * CMakeLists.txt, Source/CMakeLists.txt, Source/cmake.cxx: BUG: allow system information to accept the -G option 2007-02-28 09:36 king * Source/kwsys/auto_ptr.hxx.in: BUG: Assignment should always use reset(). 2007-02-28 09:35 king * Source/kwsys/auto_ptr.hxx.in: COMP: Fix for auto_ptr_ref on Borland 5.8. 2007-02-28 09:33 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix for cmake_force target in Borland Makefiles. 2007-02-27 16:41 martink * Source/cmake.cxx: BUG: fix to naming of results file 2007-02-27 15:11 hoffman * Tests/SubDirSpaces/: CMakeLists.txt, ThirdSubDir/testfromauxsubdir.c: ENH: watcom wmake can not handle () in the path with cd command 2007-02-27 13:34 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: add a fix for spaces in the path again... 2007-02-27 13:04 martink * CMakeLists.txt, Source/CMakeLists.txt: BUG: possible fix for new SystemInfo test 2007-02-27 12:47 martink * Source/cmake.cxx: BUG: fix for unused variable 2007-02-27 12:10 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for spaces in the path and mingw 2007-02-27 11:59 martink * Source/CMakeLists.txt: BUG: possible fix for new SystemInfo test 2007-02-27 10:10 martink * Source/: CMakeLists.txt, cmake.cxx, cmake.h, cmakemain.cxx: ENH: added --system-information option to CMake 2007-02-27 09:43 martink * Modules/: SystemInformation.cmake, SystemInformation.in: ENH: improvements 2007-02-26 13:40 martink * Modules/: SystemInformation.cmake, SystemInformation.in: ENH: added for system information command line option 2007-02-26 12:08 king * Source/kwsys/auto_ptr.hxx.in: COMP: Added line accidentally removed. 2007-02-26 12:06 king * Source/kwsys/auto_ptr.hxx.in: BUG: Fixed implementation of auto_ptr_ref. 2007-02-26 11:56 hoffman * Source/cmLocalGenerator.cxx: ENH: go back to \ escapes for qnx 2007-02-26 11:41 hoffman * Source/cmLocalGenerator.cxx: ENH: go back to EscapeForShell version 2007-02-26 10:46 king * Tests/SubDirSpaces/CMakeLists.txt: COMP: Disable rpath with spaces on some systems. 2007-02-25 21:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-25 19:22 alex * Modules/FindGettext.cmake: BUG: fix typo reported by Duncan Mac Vicar Alex 2007-02-25 16:13 hoffman * Source/cmLocalGenerator.cxx: ENH: try and use \ for space and () escapes 2007-02-23 20:37 hoffman * Source/cmLocalGenerator.cxx: ENH: try another thing 3 2007-02-23 17:38 hoffman * Source/cmLocalGenerator.cxx: ENH: try another thing 2007-02-23 17:07 hoffman * Source/cmLocalGenerator.cxx: ENH: add some debug stuff 2007-02-23 16:44 hoffman * Source/cmLocalGenerator.cxx: ENH: add some debug stuff 2007-02-23 14:37 andy * Source/CMakeLists.txt: COMP: Disable test until generators are fixed 2007-02-23 11:30 andy * Source/CMakeLists.txt: ENH: Try to fix spaces in the path problem 2007-02-23 11:17 andy * Tests/SimpleExclude/run.cmake.in: ENH: Try to fix spaces in the path problem 2007-02-23 10:31 andy * Tests/SimpleExclude/: dirC/dirA/CMakeLists.txt, dirC/dirB/CMakeLists.txt, dirD/CMakeLists.txt: ENH: Force libraries to be static 2007-02-23 09:54 martink * Source/cmGetTestPropertyCommand.h: ENH: added some documentation on how to find the default properties of a test 2007-02-23 09:46 andy * Source/: CMakeLists.txt, cmLocalGenerator.cxx, cmLocalGenerator.h, cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this 2007-02-23 09:45 andy * Source/cmIncludeDirectoryCommand.cxx: BUG: Produce error when include directories is invoked with an empty list 2007-02-22 17:34 hoffman * Source/cmLocalGenerator.cxx: ENH: hack put the hack back for qnx to try and fix spaces in the path 2007-02-22 17:26 hoffman * Source/cmLocalGenerator.cxx: ENH: undo hack and try to get dashboard back 2007-02-22 17:15 hoffman * Tests/SubDirSpaces/CMakeLists.txt: ENH: add a comment 2007-02-22 16:23 king * Source/cmLocalGenerator.cxx: BUG: Hack to try working around a problem with spaces in an rpath on QNX. 2007-02-22 15:43 hoffman * Tests/SubDirSpaces/CMakeLists.txt: ENH: show make results on the dashboard 2007-02-22 15:33 hoffman * Source/cmLocalGenerator.cxx: ENH: add new escape stuff 2007-02-22 15:27 king * Source/kwsys/SystemTools.cxx: BUG: Fix bug#4482. 2007-02-22 15:16 andy * Tests/SimpleExclude/run.cmake.in: COMP: Use exec_program instead of execute_process 2007-02-22 11:42 andy * Tests/SimpleExclude/: CMakeLists.txt, run.cmake.in: ENH: Improve test 2007-02-22 10:31 hoffman * Source/CMakeLists.txt: ENH: actually keep the output 2007-02-22 10:05 hoffman * Source/CMakeLists.txt: ENH: make sure EXECUTE_PROCESS is there because in bootstrap it is not 2007-02-22 09:48 hoffman * Source/kwsys/SystemTools.cxx: COMP: remove warning 2007-02-22 09:44 martink * Source/CPack/cmCPackOSXX11Generator.cxx: STYLE: fix someones line length 2007-02-22 09:10 andy * Source/cmake.cxx: BUG: Produce an error when the script is not found 2007-02-22 08:39 andy * Tests/SimpleExclude/: CMakeLists.txt, dirC/CMakeLists.txt, dirC/dirA/CMakeLists.txt, dirC/dirA/t1.c, dirC/dirA/t2.c, dirC/dirA/t3.c, dirC/dirA/t4.c, dirC/dirA/t5.c, dirC/dirB/CMakeLists.txt, dirC/dirB/t6.c, dirC/dirB/t7.c, dirD/CMakeLists.txt, dirD/t8.c, dirD/t9.c: ENH: Add simple exclusion test for subdirectories 2007-02-21 21:24 hoffman * Source/CMakeLists.txt, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/kwsys/SystemTools.cxx, Tests/SubDirSpaces/CMakeLists.txt, Tests/SubDirSpaces/Some(x86) Sources/CMakeLists.txt, Tests/SubDirSpaces/Some(x86) Sources/test.c, Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c: ENH: fix parens in the path with spaces in the path 2007-02-21 14:58 martink * Source/CMakeLists.txt: ENH: turn on spaces test for more platforms 2007-02-21 14:07 hoffman * Source/cmGlobalGenerator.cxx: ENH: get rid of some extra erase calls 2007-02-21 14:07 hoffman * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix line length 2007-02-21 14:01 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: BUG: fix for quotes in strings for flags #4022 2007-02-21 13:33 king * Source/kwsys/CMakeLists.txt: COMP: Disable LFS on AIX. 2007-02-21 12:19 martink * Source/cmGlobalWatcomWMakeGenerator.cxx: ENH: remove unused variable 2007-02-21 11:58 martink * Source/CMakeLists.txt: ENH: turn on spaces test for more platforms 2007-02-21 11:45 hoffman * Modules/Platform/AIX.cmake: ENH: force c++ when building c++ objects 2007-02-21 10:29 hoffman * Modules/CMakeDetermineSystem.cmake: ENH: better processor detection on linux 2007-02-21 10:03 hoffman * Modules/CMakeDetermineFortranCompiler.cmake: ENH: remove df because df is a unix utilitiy 2007-02-20 16:43 hoffman * Modules/: CMakeDetermineFortranCompiler.cmake, Platform/Windows-df.cmake: BUG: fix for bug 3950 add support for df compiler on windows 2007-02-20 16:35 hoffman * Modules/FindQt4.cmake: BUG: fix for bug # 3954 glib with qt 2007-02-20 16:05 alex * Modules/FindKDE4.cmake: STYLE: fix docs for FindKDE4.cmake Alex 2007-02-20 16:02 alex * Modules/: FindKDE3.cmake, KDE3Macros.cmake: BUG: remove KDE3_ENABLE_FINAL (#4140): it doesn't work currently and I don't have the time to fix this since it would require bigger changes. Maybe I'll do this if the KDE3 support of CMake becomes more widely used. Alex 2007-02-20 16:00 alex * Modules/FindLibXml2.cmake: STYLE: don't put the copyright notice twice in the file Alex 2007-02-20 15:15 hoffman * Modules/FindQt4.cmake: BUG: fix for bug 4187 fix typo in docs 2007-02-20 15:14 hoffman * Modules/CMakeUnixFindMake.cmake: BUG: fix for 4188 look for smake as well as gmake and make 2007-02-20 15:09 hoffman * Source/cmFileCommand.h: ENH: fix spelling error bug # 4233 2007-02-20 15:03 martink * Source/CMakeLists.txt: ENH: only add the test for some platforms 2007-02-20 13:52 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix source extensions fror txt on xcode 2007-02-20 12:28 martink * Source/cmMakefileTargetGenerator.cxx: ENH: fix for Watcom 2007-02-20 11:33 hoffman * Modules/Platform/QNX.cmake: ENH: try to force c++ on qnx 2007-02-20 11:14 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for force language stuff 2007-02-20 10:57 hoffman * Tests/SetLang/CMakeLists.txt: ENH: verbose 2007-02-20 10:52 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: fix crash 2007-02-20 09:54 hoffman * Modules/InstallRequiredSystemLibraries.cmake: BUG: fix for bug 4420 add language dll's to mfc install 2007-02-20 09:35 hoffman * Source/CMakeLists.txt, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Tests/SetLang/CMakeLists.txt, Tests/SetLang/bar.c, Tests/SetLang/foo.c: BUG: fix for bug 4423 set language fixes 2007-02-19 16:34 hoffman * Source/CMakeLists.txt: ENH: remove ConvLib test for now 2007-02-19 15:12 hoffman * Source/CMakeLists.txt: ENH: use correct name 2007-02-19 15:07 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: use project not target name 2007-02-19 14:48 martink * Source/CMakeLists.txt, Tests/SubDirSpaces/CMakeLists.txt: ENH: make the test really test targets with spaces 2007-02-19 14:32 martink * Source/: cmTarget.cxx, cmTarget.h: BUG: fix accidental checkin 2007-02-19 14:26 martink * Tests/SubDirSpaces/Executable Sources/: CMakeLists.txt, test.cxx: ENH: added used sources with a path that has spaces 2007-02-19 14:25 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: ENH: fixed more bugs with spaces in the path 2007-02-19 13:53 king * Modules/Platform/gcc.cmake: BUG: Applied patch from bug#4462. 2007-02-19 13:44 hoffman * Modules/FindQt4.cmake: BUG: fix for bug 4464 handle qmake errors better 2007-02-19 13:26 hoffman * Source/CMakeLists.txt, Tests/ConvLibrary/CMakeLists.txt: ENH: add test for conv libraries 2007-02-19 13:20 martink * Source/: CMakeLists.txt, cmTarget.cxx, cmTarget.h: ENH: turn on spaces in path test 2007-02-19 12:25 martink * Source/: cmMakefileTargetGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx: BUG: fix for spaces in path for nmake 2007-02-19 12:21 martink * Tests/SubDirSpaces/: CMakeLists.txt, vcl_algorithm+vcl_pair+double.foo.c, vcl_algorithm_vcl_pair_double.foo.c, Another Subdir/pair+int.int.c, Another Subdir/pair_int.int.c, Another Subdir/secondone.c, Another Subdir/testfromsubdir.c, Executable/CMakeLists.txt, Executable/test.cxx, Some Examples/CMakeLists.txt, Some Examples/example1/CMakeLists.txt, Some Examples/example1/example1.cxx, Some Examples/example2/CMakeLists.txt, Some Examples/example2/example2.cxx, ThirdSubDir/pair+int.int1.c, ThirdSubDir/pair_int.int1.c, ThirdSubDir/pair_p_int.int1.c, ThirdSubDir/testfromauxsubdir.c, ThirdSubDir/thirdone.c: ENH: new test for spaces in the tree structure 2007-02-18 21:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-18 09:31 hoffman * Source/cmLocalVisualStudio6Generator.cxx: STYLE: fix warning 2007-02-17 22:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-17 11:43 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for external object test 2007-02-17 08:46 hoffman * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalXCodeGenerator.cxx, cmTarget.cxx, CPack/cmCPackOSXX11Generator.cxx: STYLE: fix line length issues 2007-02-17 08:38 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx: ENH: remove warnings and debug statement 2007-02-16 16:45 hoffman * Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Tests/ConvLibrary/bartest.cxx: ENH: fix for vs ide 2007-02-16 16:12 hoffman * Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmLocalXCodeGenerator.cxx, Source/cmLocalXCodeGenerator.h, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/ConvLibrary/CMakeLists.txt, Tests/ConvLibrary/bar.c, Tests/ConvLibrary/bartest.cxx, Tests/ConvLibrary/foo.cxx, Tests/ConvLibrary/sub1/car.cxx: ENH: check in initial conv library stuff 2007-02-16 15:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-15 15:07 andy * Source/cmake.cxx: BUG: Overwrite the symlink if it already exists. Close Bug #4418 - cmake -create-symlink doesn't overwrite existing symlinks 2007-02-15 13:36 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserHelper.h, Source/cmMakefile.cxx: ENH: move @@ fix from main tree 2007-02-15 12:45 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake, Modules/InstallRequiredSystemLibraries.cmake, Source/cmAddDependenciesCommand.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmSetTargetPropertiesCommand.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.cxx.bak: ENH: merge in changes from main tree, including fix for exception stuff in vs 7 2007-02-15 12:23 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not hack the exception handling default for linker flags or for per-source-file flags. 2007-02-14 22:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-13 22:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-13 14:12 andy * Source/CPack/cmCPackOSXX11Generator.cxx, Source/CPack/cmCPackOSXX11Generator.h, Modules/CPack.DS_Store.in, Modules/CPack.VolumeIcon.icns.in, Modules/CPack.background.png.in, Modules/CPack.cmake: ENH: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-12 23:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-12 12:06 hoffman * Utilities/Release/: create-cmake-release.cmake, release_cmake.cmake: ENH: add cygwin cpack stuff to release scripts 2007-02-12 09:15 hoffman * Utilities/Release/vogon_cygwin.cmake: ENH: add cygwin on vogon 2007-02-11 22:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-10 22:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-10 09:52 alex * Modules/FindPNG.cmake: STYLE: remove empty line, so the documentation for the module is complete again Alex 2007-02-09 22:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-09 13:44 hoffman * Source/: cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h, cmMakefile.cxx: ENH: add atonly support to cmCommandArgumentParserHelper.cxx and remove old non-yacc parser code from cmMakefile.cxx 2007-02-08 22:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-08 16:18 king * Source/CMakeLists.txt, Tests/PrecompiledHeader/CMakeLists.txt, Tests/PrecompiledHeader/foo1.c, Tests/PrecompiledHeader/foo2.c, Tests/PrecompiledHeader/foo_precompile.c, Tests/PrecompiledHeader/include/foo.h, Tests/PrecompiledHeader/include/foo_precompiled.h: ENH: Added PrecompiledHeader test for MSVC compilers. 2007-02-07 22:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-07 14:50 alex * Modules/: UseEcos.cmake, ecos_clean.cmake: ENH: now also the "ecosclean" target works with MS nmake Alex 2007-02-07 11:50 hoffman * Modules/FindQt4.cmake: BUG: fix for bug 4399 2007-02-07 11:49 hoffman * Source/: cmAddDependenciesCommand.cxx, cmSetTargetPropertiesCommand.cxx: BUG: fix for bug 4414, find targets in the global generator for set_target_properties and add_dependencies 2007-02-07 10:26 hoffman * Modules/InstallRequiredSystemLibraries.cmake: BUG: fix for 4420 Unicode and MBC versions of the MFC 2007-02-07 09:23 king * Source/cmDependsC.cxx: STYLE: Fixed line-too-long. 2007-02-06 21:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-06 16:03 hoffman * Source/cmSetSourceFilesPropertiesCommand.h: ENH: fix documentation to include source language property 2007-02-06 15:05 king * Source/cmDocumentation.cxx: BUG: Patch from Alex to fix single-command help broken by previous patch. 2007-02-06 10:01 hoffman * CMakeLists.txt, Source/CPack/cmCPackGenerators.cxx: ENH: fix release tree to build on mac 2007-02-05 21:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-05 14:05 hoffman * Source/cmLocalUnixMakefileGenerator3.h: ENH: merge changes from main trunk 2007-02-05 13:21 hoffman * CMakeLists.txt, ChangeLog.manual, cmake_uninstall.cmake.in, Modules/CPack.cmake, Modules/FindKDE4.cmake, Modules/FindXMLRPC.cmake, Source/CMakeLists.txt, Source/cmGlobalKdevelopGenerator.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmLocalKdevelopGenerator.cxx, Source/cmLocalKdevelopGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/CPack/cmCPackGenerators.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.h, Source/CPack/cmCPackSTGZGenerator.h, Source/CPack/cmCPackTGZGenerator.h, Source/CPack/cmCPackTarBZip2Generator.cxx, Source/CPack/cmCPackTarBZip2Generator.h, Source/CPack/cmCPackTarCompressGenerator.h, Source/CPack/cmCPackZIPGenerator.h, Source/kwsys/System.h.in, Source/kwsys/SystemTools.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Utilities/Release/Cygwin/CMakeLists.txt, Utilities/Release/Cygwin/README.cygwin.in, Utilities/Release/Cygwin/cygwin-package.sh.in, Utilities/Release/Cygwin/cygwin-patch.diff.in, Utilities/Release/Cygwin/cygwin-setup.hint.in, Source/CPack/cmCPackCygwinBinaryGenerator.cxx, Source/CPack/cmCPackCygwinBinaryGenerator.h, Source/CPack/cmCPackCygwinSourceGenerator.cxx, Source/CPack/cmCPackCygwinSourceGenerator.h: ENH: merge in changes from branch 2007-02-05 11:13 martink * Source/CMakeLists.txt: ENH: add more time to bootstrap test 2007-02-05 09:48 king * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Patch from Alex to recompute dependencies when the include regex changes. This addresses bug#4168. 2007-02-04 21:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-03 21:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-02 21:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-02 16:52 hoffman * Source/CPack/: cmCPackCygwinSourceGenerator.cxx, cmCPackTarBZip2Generator.cxx: STYLE: fix warnings 2007-02-02 16:51 hoffman * Modules/FindQt4.cmake: ENH: fix depend bug in qt 2007-02-02 14:40 hoffman * CMakeLists.txt, Modules/CPack.cmake, Source/CMakeLists.txt, Source/CPack/bills-comments.txt, Source/CPack/cmCPackCygwinBinaryGenerator.cxx, Source/CPack/cmCPackCygwinBinaryGenerator.h, Source/CPack/cmCPackCygwinSourceGenerator.cxx, Source/CPack/cmCPackCygwinSourceGenerator.h, Source/CPack/cmCPackGenerators.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackOSXX11Generator.h, Source/CPack/cmCPackPackageMakerGenerator.h, Source/CPack/cmCPackSTGZGenerator.h, Source/CPack/cmCPackTGZGenerator.h, Source/CPack/cmCPackTarBZip2Generator.cxx, Source/CPack/cmCPackTarBZip2Generator.h, Source/CPack/cmCPackTarCompressGenerator.h, Source/CPack/cmCPackZIPGenerator.h, Source/CPack/cygwin.readme, Utilities/Release/create-cmake-release.cmake, Utilities/Release/release_cmake.cmake, Utilities/Release/Cygwin/CMakeLists.txt, Utilities/Release/Cygwin/README.cygwin.in, Utilities/Release/Cygwin/cygwin-package.sh.in: ENH: add support for cygwin source and binary packaging 2007-02-02 14:13 king * Source/cmDocumentation.h: COMP: Fix void return failure. 2007-02-02 12:46 alex * Modules/FindGettext.cmake: BUG: add gettext module for working with GNU gettext (#4081) Alex 2007-02-02 10:14 martink * Source/CMakeLists.txt: ENH: allow the dashboard to override the timeouts for CTestTest 2007-02-02 09:11 king * Source/cmDocumentation.h: STYLE: Fixed line length and this-> convention violations from yesterday's patch. 2007-02-02 09:11 king * Source/CTest/cmCTestBuildCommand.cxx: STYLE: Fixed line-too-long. 2007-02-01 20:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-02-01 17:06 hoffman * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix line length 2007-02-01 16:56 king * Source/cmMakefileTargetGenerator.cxx: BUG: Use the exe/lib output path for .pdb file location. This addresses bug#3277 and bug#4287. 2007-02-01 16:54 king * Source/: cmLocalVisualStudio7Generator.cxx, cmTarget.cxx, cmTarget.h: ENH: Added cmTarget::GetPDBName method to simplify computation of .pdb file name for a target. 2007-02-01 16:52 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx: BUG: Do not clean the .pdb file for a target just before it is linked! This finishes addressing bug#4341. 2007-02-01 16:07 king * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Clean rule for exe pdb file should use full path. 2007-02-01 15:44 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not use bitwise OR on bool. 2007-02-01 15:22 king * Source/cmLocalVisualStudio7Generator.h: STYLE: Removed unused method declarations. 2007-02-01 15:02 king * Source/cmLocalVisualStudio7Generator.cxx: ENH: Added a special flags integer field to the flag map entries. Added flags for user values and other special cases. Added precompiled header flag translation entries. This addresses bug#3512. 2007-02-01 14:45 king * Source/kwsys/SystemTools.cxx: STYLE: Removed one more stray comment. 2007-02-01 14:43 martink * Source/kwsys/SystemTools.cxx: STYLE: removed code accidently checked in 2007-02-01 14:11 martink * Source/kwsys/SystemTools.cxx: BUG: fix for bug number 3320 2007-02-01 13:04 king * Source/cmLocalVisualStudio7Generator.cxx: COMP: Removed unused variable. 2007-02-01 12:02 king * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: Added smoke test for user-value flag mapping for VS IDE. 2007-02-01 12:00 king * Source/cmLocalVisualStudio7Generator.cxx: ENH: Added mapping of /NODEFAULTLIB flag when no values are provided. 2007-02-01 11:49 king * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: ENH: Reimplemented parsing and mapping of flags into vcproj file attribute options. This cleans up and centralizes a few things. It is in preparation for dealing with precompiled header flags for bug #3512 since they require some special handling. 2007-02-01 11:45 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added EscapeWindowsShellArgument and ParseWindowsCommandLine methods to cmSystemTools. 2007-02-01 11:33 martink * Source/cmMakefileTargetGenerator.cxx: BUG: fix for bug number 3964 2007-02-01 10:38 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Patch from Alex to improve implementation and prepare for splitting the man page into more sections. 2007-02-01 09:57 king * Source/: cmInstallTargetGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: BUG: The .pdb file generated for a library or executable should match the real file name used for the target. This addresses bug#3277. 2007-01-31 20:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-31 16:50 hoffman * Source/CPack/: cmCPackCygwinSourceGenerator.cxx, cmCPackCygwinSourceGenerator.h: ENH: commit cygwin source generator files, not used yet 2007-01-31 16:49 hoffman * Source/cmLocalGenerator.cxx: ENH: do not use crazy long paths to object files for try compile 2007-01-31 16:48 hoffman * Utilities/Release/Cygwin/: CMakeLists.txt, README.cygwin.in, cygwin-package.sh.in, cygwin-patch.diff.in, cygwin-setup.hint.in: ENH: add support files for cpack cygwin setup package stuff 2007-01-31 15:06 alex * Modules/FindQt4.cmake: BUG: finally fix #4331, the previous version just caught the tag, the filename not at all Alex 2007-01-31 14:00 hoffman * Tests/TryCompile/CMakeLists.txt: ENH: add more output when test fails 2007-01-31 13:54 andy * Source/CMakeLists.txt: COMP: Remove osx bundle from OSXScriptLauncher 2007-01-31 13:53 andy * Source/CPack/OSXScriptLauncher.cxx: COMP: Use new API 2007-01-31 13:37 andy * Source/CMakeLists.txt: COMP: Add missing file in the installation 2007-01-31 13:34 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: make sure external vs projects use the GUID in the project if it has one. 2007-01-30 20:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-30 15:43 alex * Modules/FindKDE4.cmake: STYLE: KDEDIR is deprecated and not used, so also document that KDEDIRS is used instead Alex 2007-01-30 11:48 andy * Source/CTest/cmCTestBuildCommand.cxx: ENH: Allow to specify build target 2007-01-30 11:48 andy * Source/CMakeLists.txt: COMP: Fix bootstrap 2007-01-30 11:35 martink * Source/: CMakeLists.txt, cmGlobalGenerator.cxx, cmGlobalGenerator.h, ctest.cxx, CTest/cmCTestBuildAndTestHandler.cxx: BUG: fixes so that --build-and-test will honor timeouts 2007-01-30 11:32 hoffman * Source/kwsys/SystemTools.cxx: ENH: allow copy if different from a file to a directory to work 2007-01-29 20:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-29 12:42 martink * Source/cmCTest.cxx: BUG: fix in the timeout code 2007-01-28 20:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-27 20:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-27 15:29 malaterre * Source/kwsys/System.h.in: STYLE: Fix typo 2007-01-26 20:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-26 15:06 martink * Source/cmIfCommand.h: STYLE: improve IF documentation to cover elseif 2007-01-26 14:26 king * Source/kwsys/CMakeLists.txt: BUG: Added use of KWSYS_INSTALL_COMPONENT_NAME_DEVELOPMENT for header file install rules. 2007-01-26 09:31 martink * Source/CTest/cmCTestTestHandler.cxx: COMP: fix warning 2007-01-25 17:05 hoffman * Source/cmSubdirCommand.h: BUG: remove early ; 2007-01-25 15:44 hoffman * Source/: CMakeLists.txt, cmGlobalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h, cmLocalUnixMakefileGenerator3.h: BUG: fix for 4186, kdevelop adding file twice 2007-01-25 11:16 martink * Source/: cmCTest.cxx, cmCTest.h, cmTest.cxx, ctest.cxx, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildAndTestHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: added per test timeout support 2007-01-24 13:45 king * Source/: cmExecProgramCommand.h, cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmInstallTargetsCommand.h, cmLinkLibrariesCommand.h, cmMakeDirectoryCommand.h, cmRemoveCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h, cmVariableRequiresCommand.h, cmWriteFileCommand.h: ENH: Patch from Alex to make deprecated command documentation more consistent. 2007-01-24 13:40 king * Source/: cmUseMangledMesaCommand.h, cmVariableRequiresCommand.h: ENH: Patch from Alex to document this command as discouraged. 2007-01-24 07:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-23 14:28 hoffman * Source/cmLocalGenerator.cxx: ENH: this does not need to be safe as the value is checked 2007-01-23 14:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-23 13:41 alex * Modules/UseEcos.cmake: BUG: reent.c wasn't intended to be committed, too special Alex 2007-01-23 13:29 alex * Modules/UseEcos.cmake: STYLE: use even more absolute paths, can't hurt for out-of-source builds STYLE: use SET_SOURCE_FILES_PROPERTIES() on multiple files at once instead of interating over each one of them STYLE: no need to add target.ld to the clean-files, this is done now automatically by add_custom_command() ENH: now also MS nmake can be used to build ecos apps Alex 2007-01-23 13:08 hoffman * Source/cmLocalGenerator.cxx: ENH: avoid crash, but do not make it an error if include flags is missing from a language 2007-01-23 11:39 hoffman * Source/cmLocalGenerator.cxx: ENH: make the include flag required for a language avoids seg fault 2007-01-23 11:25 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: undo bug fix because of failed test 2007-01-23 10:50 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: add link flags for debug/release etc 2007-01-22 20:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-22 10:52 king * Source/cmWriteFileCommand.h: ENH: Patch from Alex to document WRITE_FILE as a discouraged command. 2007-01-22 10:52 king * Source/: cmDocumentation.cxx, cmDocumentation.h: COMP: Patch from Alex for const correctness. 2007-01-22 10:39 king * cmake_uninstall.cmake.in: BUG: Patch from bug#4312 to make uninstall work with DESTDIR. 2007-01-21 20:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-20 21:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-20 10:05 andy * Modules/FindQt4.cmake: COMP: Fix typo that makes all Qt4 builds break 2007-01-19 20:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-19 11:55 hoffman * Modules/FindQt4.cmake: BUG: fix for bug 4331 2007-01-18 20:35 hoffman * Modules/FindQt4.cmake: BUG: fix for bug 4331 2007-01-18 20:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-18 16:10 hoffman * Source/cmLocalVisualStudioGenerator.cxx: ENH: do not use relative paths for custom command commands if they working directory is used 2007-01-17 14:06 alex * Modules/UseEcos.cmake: ENH: the ecos headers are always in the binary dir Alex 2007-01-17 13:57 alex * Modules/UseEcos.cmake: ENH: building ecos apps now seems to work also out-of-source Alex 2007-01-17 13:45 alex * Modules/UseEcos.cmake: BUG: also check that tclsh is available, otherwise you can't build any eCos stuff ENH: make the name of the config file ecos.ecc adjustable via the new variable ECOS_CONFIG_FILE Alex 2007-01-16 14:37 clinton * Source/kwsys/SystemTools.cxx: ENH: Add support for "~otheruser/" 2007-01-15 12:31 andy * Source/CPack/cmCPackGenericGenerator.cxx: STYLE: Fix kwstyle 2007-01-15 12:12 hoffman * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix link lenght issue 2007-01-14 20:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-13 20:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-12 20:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-12 16:47 clinton * Source/kwsys/SystemTools.cxx: ENH: Handle "~" in SplitPath. 2007-01-12 09:53 hoffman * Utilities/Release/cygwin-package.sh.in: ENH: break it again 2007-01-12 09:46 hoffman * Utilities/Release/cygwin-package.sh.in: ENH: fix for newer cygwin 2007-01-12 09:18 hoffman * Utilities/Release/cmake_release.sh: ENH: change version of curses 2007-01-11 21:02 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: fix for bug 4239, NODEFAULTLIB flag support in ide 2007-01-11 20:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-11 10:49 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h: STYLE: Fix kwstyle issues 2007-01-10 20:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-10 19:59 hoffman * Source/CPack/OSXScriptLauncher.cxx: ENH: fix warning and code style 2007-01-10 18:33 andy * Modules/CPack.RuntimeScript.in: ENH: Change permission for getdisplay.sh to make the runtimescript work 2007-01-10 15:41 hoffman * Utilities/Release/cygwin-package.sh.in: ENH: remove old docs 2007-01-10 15:30 andy * Modules/CPack.OSXScriptLauncher.in, Modules/CPack.OSXX11.Info.plist.in, Modules/CPack.RuntimeScript.in, Source/CMakeLists.txt, Source/CPack/OSXScriptLauncher.cxx, Source/CPack/cmCPackGenerators.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackOSXX11Generator.cxx, Source/CPack/cmCPackOSXX11Generator.h: ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 14:27 hoffman * Utilities/Release/cmake_release.sh: ENH: create cygwin 2007-01-10 12:39 hoffman * CMakeLists.txt: ENH: make this the final 2.4.6 2007-01-09 21:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-08 21:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-08 15:12 king * Source/kwsys/SharedForward.h.in: STYLE: Fixed documentation of how to produce forwarding executables for multi-configuration builds with CMAKE_INTDIR. 2007-01-07 21:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-06 22:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-06 00:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-04 17:29 alex * Modules/FindQt4.cmake: ENH: if a wrong qmake has been found, mark it as invalid in the cache, so that it is searched again the next time cmake runs Tested in KDE since Jul 5th: http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=558318&view=rev Alex 2007-01-04 16:50 alex * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: add QT_USE_QTDBUS as it exists for all other modules too Alex 2007-01-04 16:35 alex * Modules/FindQt4.cmake: BUG: also look for qmake4, as it is named on OpenBSD Alex 2007-01-04 16:03 martink * Source/cmAddLibraryCommand.cxx: BUG: fix for bad argument handling 2007-01-04 14:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-04 13:02 martink * Source/cmPropertyMap.cxx: ENH: change STRICT to CMAKE_STRICT 2007-01-04 10:18 hoffman * CMakeLists.txt: ENH: add RC stuff to main tree 2007-01-04 03:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-03 18:20 alex * Modules/FindQt4.cmake: ENH: partly sync with KDE svn: add the macros for generating the dbus files Alex 2007-01-03 17:50 alex * Modules/FindQt4.cmake: ENH: mark more variables ADVANCED Alex 2007-01-03 17:32 alex * Modules/FindQt4.cmake: ENH: partly sync with KDE svn: handle QtMain more like the other libs Alex 2007-01-03 17:00 alex * Modules/FindQt4.cmake: BUG: argument names in macros are not real variables, which can lead to problems, which we fixed for KDE in Trysil: http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=557470&r1=557241&r2=557470 Alex 2007-01-03 16:48 alex * Modules/FindQt4.cmake: STYLE: some more space to make it easier to read Alex 2007-01-03 16:38 alex * Modules/FindQt4.cmake: ENH: partly sync with KDE svn: also find the QtDBus and the QtDesignerComponents libraries Alex 2007-01-03 16:09 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CPack.STGZ_Header.sh.in, Modules/FindDoxygen.cmake, Modules/FindJNI.cmake, Modules/FindRuby.cmake, Source/cmFindBase.cxx, Source/cmFindBase.h, Tests/CTestTest3/test.cmake.in, Tests/CustComDepend/CMakeLists.txt, Tests/CustComDepend/bar.h, Tests/CustComDepend/foo.cxx: ENH: merge from main tree 2007-01-03 16:01 alex * Modules/FindQt4.cmake: ENH: partly sync with the KDE vesion: find the dbus tools coming with Qt since 4.2 Alex 2007-01-03 10:19 hoffman * CMakeLists.txt, ChangeLog.manual, Source/CMakeLists.txt, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmLocalGenerator.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmTarget.cxx: ENH: merge in fixes from main tree 2007-01-03 04:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-02 00:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2007-01-01 04:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-31 03:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-30 03:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-29 19:20 hoffman * Tests/CustComDepend/: CMakeLists.txt, bar.h, foo.cxx: ENH: try to fix test on watcom 2006-12-29 03:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-28 15:31 hoffman * Source/: cmFindBase.cxx, cmFindBase.h: BUG: fix problem with path suffix and mac frameworks and find stuff, showed up in FindPythonLibs.cmake 2006-12-28 03:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-27 03:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-26 08:47 andy * Modules/FindJNI.cmake: ENH: Support JVM on Mac 2006-12-26 03:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-25 03:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-24 03:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-23 03:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-22 03:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-21 10:24 utkarsh * Source/kwsys/CommandLineArguments.cxx: BUG: reverting previous change. 2006-12-21 09:52 utkarsh * Source/kwsys/CommandLineArguments.cxx: BUG: When a "wrong argument" was detected, we call the WrongArgument handler. If the handler returns success, the argument parsing should continue. Currently, it was stopping parsing immediately after the wrong argument was processed, irrespective of the WrongArgument handler status. Fixed that. 2006-12-21 04:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-20 03:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-19 03:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-18 11:30 utkarsh * Source/kwsys/SystemTools.cxx: BUG: FileIsDirectory would remove the trailing '/' even when the path is indeed the root i.e. '/'. Hence the test would be incorrect for root directory. Fixed that. 2006-12-18 11:04 malaterre * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Fix compilation when VS6 is using the new ANSI stdlib 2006-12-18 03:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-17 03:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-16 03:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-15 10:30 malaterre * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Try to get stringstream emulation working 2006-12-15 03:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-14 14:30 king * Source/: cmGlobalUnixMakefileGenerator3.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileUtilityTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH: Made cmMakefileTargetGenerator::GlobalGenerator have full type cmGlobalUnixMakefileGenerator3 to give access to all methods. Fixed broken custom targets with no commands for Borland makefiles when CMAKE_SKIP_RULE_DEPENDENCY is set. 2006-12-14 13:18 king * Source/kwsys/kwsys_ios_sstream.h.in: ENH: Adding stringstream compatibility implementation. It is currently identical to ostringstream. Fixed local variable pcount hiding method warning. 2006-12-14 11:41 malaterre * Source/kwsys/: kwsys_ios_sstream.h.in, testIOS.cxx: BUG: Remove stringstream implementation, this was a wrong interface anyway. 2006-12-14 11:02 malaterre * Source/kwsys/testIOS.cxx: BUG: disable test for now 2006-12-14 10:03 king * Source/cmSystemTools.cxx: ENH: Changes from Ryan C. Gordon to fix old process execution on BeOS. 2006-12-14 03:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-13 16:44 andy * Modules/CPack.STGZ_Header.sh.in: BUG: Fixes for dash 2006-12-13 13:24 martink * Source/cmPropertyMap.cxx: COMP: oops really did not mean to check in that change 2006-12-13 12:19 martink * Source/: cmAuxSourceDirectoryCommand.cxx, cmCPluginAPI.cxx, cmCreateTestSourceList.cxx, cmFLTKWrapUICommand.cxx, cmMakefile.cxx, cmPropertyMap.cxx, cmSourceFile.cxx, cmSourceFile.h: ENH: allow source file properties to chain to Directories and up 2006-12-13 12:11 martink * Modules/VTKCompatibility.cmake: ENH: fix for back VTK error message 2006-12-13 08:52 malaterre * Source/kwsys/: kwsys_ios_sstream.h.in, testIOS.cxx: ENH: provide stringstream too. FIX: warning shadow var 2006-12-13 03:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-12 14:39 martink * Source/: cmCommands.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h: ENH: remove old commands 2006-12-12 13:59 martink * Modules/VTKCompatibility.cmake: ENH: put in a better error message for VTK 4.0 2006-12-12 13:59 martink * Tests/Wrapping/CMakeLists.txt: ENH: removed old VTK tests 2006-12-12 11:17 martink * Modules/VTKCompatibility.cmake: ENH: minor cleanup 2006-12-12 11:06 hoffman * Tests/CTestTest3/test.cmake.in: ENH: do not use svn until it is working again 2006-12-12 10:07 martink * Source/: cmIfCommand.cxx, cmIfCommand.h, cmSetPropertiesCommand.cxx: ENH: fix a warning and a nice fix to the IF command 2006-12-12 03:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-11 10:26 martink * Source/: cmSetPropertiesCommand.cxx, cmSetPropertiesCommand.h, cmSetSourceFilesPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.h, cmake.cxx: ENH: improve SetProperties and fix a couple warnings 2006-12-11 03:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-10 03:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-09 15:02 hoffman * Modules/: FindPkgConfig.cmake, UsePkgConfig.cmake: ENH: better backwards compatibility, and deprecate PKGCONFIG 2006-12-09 11:25 malaterre * Source/kwsys/: CMakeLists.txt, DynamicLoader.cxx, DynamicLoader.hxx.in: BUG: revert yesterday patch. The implementation was correct. The problem was that _WIN32 was forced to be #define on cygwin when included from ITK, which was miss matching the implementation from the declaration. Put extra condition for CYGWIN system 2006-12-09 03:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-08 15:52 malaterre * Source/kwsys/: CMakeLists.txt, DynamicLoader.cxx, DynamicLoader.hxx.in: BUG: Make sure to use the Win32 interface (HINSTANCE) for handling shared lib on cygwin and mingw system 2006-12-08 09:27 martink * Source/: cmDocumentation.cxx, cmSetPropertiesCommand.cxx, cmTarget.cxx, cmake.cxx: COMP: fix some warnings and style issues 2006-12-08 03:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-07 17:37 alex * Modules/FindRuby.cmake: BUG: fix 4164, also search for libruby1.8.so, I guess it should be synced with the KDE version of FindRUBY.cmake Alex 2006-12-07 16:31 martink * Source/cmSetTestsPropertiesCommand.cxx: BUG: fix bad comparison 2006-12-07 16:14 hoffman * Modules/Platform/BeOS.cmake: ENH: add beos file 2006-12-07 15:23 martink * Source/cmSetTestsPropertiesCommand.cxx: COMP: fix a warning 2006-12-07 14:54 martink * Source/: cmSetPropertiesCommand.cxx, cmSetPropertiesCommand.h, cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h: ENH: implements SetProperties for TEST 2006-12-07 11:38 hoffman * Tests/CustComDepend/CMakeLists.txt: ENH: fix test for config dir based stuff 2006-12-07 10:48 martink * bootstrap: COMP: fix bootstrap maybe 2006-12-07 10:33 martink * Source/: cmPropertyMap.cxx, cmSetPropertiesCommand.cxx: COMP: fix warning 2006-12-07 10:26 martink * Source/cmSetPropertiesCommand.cxx: COMP: fix warning right now 2006-12-07 10:22 martink * Source/cmTest.cxx: BUG: fix missing return value 2006-12-07 10:15 hoffman * Source/CMakeLists.txt: ENH: add test I removed by mistake 2006-12-07 09:51 martink * Source/cmCPluginAPI.cxx: COMP: fix warning 2006-12-07 09:44 martink * Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmCPluginAPI.cxx, Source/cmCPluginAPI.h, Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx, Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmFLTKWrapUICommand.cxx, Source/cmForEachCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmIfCommand.cxx, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmMacroCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmPropertyMap.cxx, Source/cmSetDirectoryPropertiesCommand.cxx, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSetTargetPropertiesCommand.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmSourceFile.cxx, Source/cmSourceFile.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTest.cxx, Source/cmTest.h, Source/cmVTKMakeInstantiatorCommand.cxx, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapPythonCommand.cxx, Source/cmVTKWrapTclCommand.cxx, Source/cmWhileCommand.cxx, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/LoadCommand/CMakeCommands/cmTestCommand.c, Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c, Source/cmDefinePropertyCommand.cxx, Source/cmDefinePropertyCommand.h: ENH: make properties a bit more formal with documentation and chaining 2006-12-07 02:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-06 23:05 hoffman * Source/CMakeLists.txt, Source/cmLocalGenerator.cxx, Source/cmTarget.cxx, Tests/CustComDepend/CMakeLists.txt, Tests/CustComDepend/foo.cxx: ENH: fix bug in full path to target depends stuff 2006-12-06 00:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-05 10:36 martink * Source/: cmPropertyDefinition.cxx: ENH: fix compiler warning 2006-12-05 09:14 hoffman * Source/: cmSystemTools.cxx, CTest/cmCTestSubmitHandler.cxx: COMP: fix line length style error 2006-12-05 09:02 hoffman * Source/kwsys/ProcessUNIX.c: COMP: remove warning 2006-12-05 08:47 hoffman * bootstrap: ENH: fix bootstrap for mac 2006-12-05 08:39 hoffman * Source/kwsys/ProcessUNIX.c: ENH: fix build error on IRIX 2006-12-04 19:37 hoffman * Modules/FindDoxygen.cmake: ENH: fix for backwards compatibility 2006-12-04 17:26 hoffman * bootstrap, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CheckForPthreads.c, Source/cmCTest.cxx, Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.h, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/DynamicLoader.hxx.in, Source/kwsys/SystemTools.cxx, Source/kwsys/testDynamicLoader.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt, Utilities/cmtar/encode.c, Utilities/cmtar/extract.c, Utilities/cmtar/libtar.c, Utilities/cmtar/util.c: ENH: merge in changes for beos support 2006-12-04 14:42 king * Source/kwsys/: ProcessUNIX.c, testProcess.c: ENH: Changes based on patch from Ryan C. Gordon to enable process execution on BeOS. There seems to be no way to implement it without polling (or threads). 2006-12-04 13:54 king * Source/cmLocalGenerator.cxx: BUG: Do not print empty install configuration repeatedly. 2006-12-04 11:52 hoffman * Modules/FindDoxygen.cmake: BUG: fix for bug 4102 2006-12-04 11:44 hoffman * Modules/FindXMLRPC.cmake: BUG: fix for bug 4123, find xmlrpc in standard locations 2006-12-04 11:19 martink * Source/CMakeLists.txt: ENH: added properties into the compile, but not that many 2006-12-04 11:05 martink * Source/CMakeLists.txt: ENH: added properties into the compile 2006-12-04 11:04 martink * Source/cmPropertyDefinitionMap.h: STYLE: fix line length 2006-12-04 09:58 hoffman * CMakeLists.txt: ENH: move to actual release 2006-12-02 13:17 hoffman * Source/CTest/cmCTestSubmitHandler.cxx: ENH: put checks on vector before referencing begin iterator 2006-12-01 22:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-12-01 15:32 hoffman * Source/cmMacroCommand.cxx: ENH: fix warning 2006-12-01 15:28 hoffman * Source/cmMacroCommand.cxx: ENH: fix warning 2006-12-01 13:35 martink * Source/: cmProperty.cxx, cmProperty.h, cmPropertyDefinition.cxx, cmPropertyDefinition.h, cmPropertyDefinitionMap.cxx, cmPropertyDefinitionMap.h, cmPropertyMap.cxx, cmPropertyMap.h, cmSetPropertiesCommand.cxx, cmSetPropertiesCommand.h: ENH: getting some of the property changed chewcked into CVS at least 2006-12-01 11:04 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmMacroCommand.cxx: ENH: merge in fix for seg fault and move to RC 4 2006-12-01 10:30 hoffman * Source/cmMacroCommand.cxx: BUG: fix for 3815 seg fault 2006-12-01 01:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-30 18:27 ibanez * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: BUG: 4100. Fixing the Mac OS/X version in the Dynamic loader in kwsys, and replacing copy/pasted code in the itkDynamicLoader with usage of the kwsys loader. This was fixed in the HEAD by Mathieu Malaterre and Neil Weisenfeld. This changes in the branch are just the port of the bug fix from the HEAD. 2006-11-30 18:13 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmOrderLinkDirectories.cxx, Source/cmTarget.cxx, Tests/LibName/CMakeLists.txt: ENH: move to RC 3 and add a fix for -L/path in link commands that was broken by the .dll.lib fix 2006-11-30 17:50 hoffman * Source/cmOrderLinkDirectories.cxx: ENH: clean up comment and avoid some vector access calles 2006-11-30 17:32 hoffman * Source/cmOrderLinkDirectories.cxx, Source/cmTarget.cxx, Tests/LibName/CMakeLists.txt: BUG: better fix for .dll.lib problem 2006-11-30 16:23 alex * Modules/FindCups.cmake: ENH: add a module to find Cups (#3081), taken from KDE svn Alex 2006-11-30 10:12 hoffman * CMakeLists.txt, ChangeLog.manual, Source/CMakeLists.txt, Source/cmOrderLinkDirectories.cxx, Tests/LibName/CMakeLists.txt, Tests/LibName/bar.c, Tests/LibName/foo.c, Tests/LibName/foobar.c: ENH: put fix for foo.dll.lib problem on branch with test 2006-11-30 09:51 hoffman * Tests/LibName/foobar.c: ENH: make it work for hp 2006-11-30 01:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-29 21:53 hoffman * Tests/LibName/: bar.c, foo.c, foobar.c: ENH: add extern for hp c compiler 2006-11-29 21:36 hoffman * Source/CMakeLists.txt, Tests/LibName/CMakeLists.txt: ENH: fix test to run with debug or release and put the exe next to the dll, still shows the bug this is testing for 2006-11-29 17:45 hoffman * bootstrap, Source/CMakeLists.txt, Source/cmake.cxx, Tests/LibName/bar.c, Tests/LibName/foo.c, Tests/LibName/foobar.c: ENH: fix errors for unix builds 2006-11-29 17:25 hoffman * Source/CursesDialog/cmCursesLongMessageForm.cxx: ENH: fix warning 2006-11-29 17:17 hoffman * Source/CursesDialog/: cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx: ENH: there can be only one version 2006-11-29 17:10 martink * Source/: cmMakefile.cxx, cmTarget.cxx: COMP: fix compile issue on Sun hopefully 2006-11-29 17:02 hoffman * Source/CMakeLists.txt: ENH: fix test for configuration type builds 2006-11-29 16:43 hoffman * Source/cmOrderLinkDirectories.cxx: ENH: fix compile error on mac 2006-11-29 16:12 hoffman * Modules/: FindPkgConfig.cmake, UsePkgConfig.cmake: ENH: maintain backwards compatibility in UsePkgConfig 2006-11-29 15:59 hoffman * Source/: cmCMakeMinimumRequired.cxx, cmCPluginAPI.cxx, cmCacheManager.cxx, cmGlobalGenerator.cxx, cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h, cmake.cxx, cmake.h: ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion 2006-11-29 15:57 hoffman * Source/cmOrderLinkDirectories.cxx, Tests/LibName/CMakeLists.txt, Tests/LibName/bar.c, Tests/LibName/foo.c, Tests/LibName/foobar.c, Source/CMakeLists.txt: BUG: fix a problem where it tried to link .dll.lib files 2006-11-29 15:45 martink * Source/: cmMakefile.cxx, cmTarget.cxx: COMP: fix compile issue on Sun 2006-11-29 12:56 malaterre * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: BUG: Fix problem with loading dylib on Tiger (10.4) x86. We need to be using the dlopen/dlclose instead of the old NSModule 2006-11-29 11:00 martink * Source/: cmMakefile.cxx, cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h: ENH: updated handling of debug and optimized target link libraries 2006-11-28 16:09 hoffman * Source/: cmConfigure.cmake.h.in, cmMakefile.cxx, cmVersion.cxx: ENH: add rc to version stuff 2006-11-28 16:03 hoffman * CMakeLists.txt, Source/cmConfigure.cmake.h.in, Source/cmMakefile.cxx, Source/cmVersion.cxx: ENH: add release candidate to versions 2006-11-28 14:45 hoffman * Utilities/Release/: create-cmake-release.cmake, r15n65_aix_release.cmake: ENH: use older os for AIX release 2006-11-28 14:19 hoffman * ChangeLog.manual, Modules/FindKDE4.cmake, Modules/FindQt3.cmake, Source/CMakeLists.txt, Source/cmLocalGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmTarget.cxx, Tests/Simple/CMakeLists.txt, Tests/TargetName/CMakeLists.txt, Tests/TargetName/executables/CMakeLists.txt, Tests/TargetName/executables/hello_world.c, Tests/TargetName/scripts/CMakeLists.txt, Tests/TargetName/scripts/hello_world, Tests/Wrapping/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: merge in changes from the main tree 2006-11-28 09:49 hoffman * Source/CMakeLists.txt: ENH: use the built cmake for file compare as older versions of cmake may not support this 2006-11-28 00:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-27 16:15 hoffman * Source/CMakeLists.txt: ENH: use correct project name 2006-11-27 16:13 hoffman * Source/cmMakefileTargetGenerator.cxx, Tests/Simple/CMakeLists.txt: ENH: make sure things do not depend on optimized libraries if they are debug, and the other way around as well 2006-11-27 15:14 hoffman * Source/CMakeLists.txt, Tests/TargetName/CMakeLists.txt, Tests/TargetName/executables/CMakeLists.txt, Tests/TargetName/executables/hello_world.c, Tests/TargetName/scripts/CMakeLists.txt, Tests/TargetName/scripts/hello_world: ENH: add a test for a target name with the same name as the output of a custom command 2006-11-27 12:14 hoffman * Source/cmTarget.cxx: ENH: fix line length problem 2006-11-27 12:11 hoffman * Source/cmTarget.cxx: ENH: fix crash in plplot build 2006-11-27 10:42 hoffman * Utilities/cmcurl/CMakeLists.txt: ENH: save logs of passed try compile stuff as well 2006-11-26 07:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-25 21:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-25 21:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-25 10:59 hoffman * Source/: cmLocalGenerator.cxx, cmTarget.cxx: BUG: fix problem when a target name is the same as the output of a custom command 2006-11-25 07:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-23 07:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-22 19:28 alex * Modules/FindKDE4.cmake: ENH: kde-config has been renamed to kde4-config several weeks ago, so it's not necessary anymore to use "kde-config" as fallback, since this will surely be a wrong version Alex 2006-11-22 14:26 hoffman * Source/CMakeLists.txt: ENH: make sure it is qt3 before running test 2006-11-22 14:22 hoffman * Tests/Wrapping/CMakeLists.txt: ENH: make sure it is qt3 before running test 2006-11-22 13:44 hoffman * Modules/: FindPkgConfig.cmake, UsePkgConfig.cmake: ENH: check in new pkgconfig stuff from Enrico Scholz 2006-11-22 13:30 hoffman * Modules/FindQt3.cmake, Tests/Wrapping/CMakeLists.txt: ENH: make sure findqt3 finds qt3 and not qt4 2006-11-22 09:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-21 13:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-21 07:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-20 14:23 hoffman * Source/cmMakefile.cxx: ENH: fix from main tree 2006-11-20 13:57 hoffman * Source/cmMakefile.cxx: ENH: fix for when a library is tagged both debug and optimized 2006-11-20 08:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-19 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-18 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-17 15:55 hoffman * Source/: cmMakefile.cxx, CPack/cmCPackNSISGenerator.cxx: ENH: move fix for replace of @var@ in cmake files from main tree and a better message for cpack and nsis 2006-11-17 15:35 hoffman * Source/cmMakefile.cxx: BUG: undo bug fix 2722, still replace @foo@ in cmake files 2006-11-17 11:14 martink * Source/CPack/cmCPackNSISGenerator.cxx: STYLE: fix a long line 2006-11-17 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-16 15:57 hoffman * ChangeLog.manual, Source/cmMakefile.cxx: ENH: move fix from main tree 2006-11-16 15:31 martink * Source/cmIfCommand.cxx: ENH: remove old hack now that project level compatibility files are supported 2006-11-16 15:29 martink * Modules/VTKCompatibility.cmake: ENH: added to handle case in very old odd versions of VTK 2006-11-16 15:28 martink * Modules/ITKCompatibility.cmake: ENH: added to handle case in ITK 2.8 and earlier 2006-11-16 10:57 martink * Source/: cmMakefile.cxx, cmTarget.cxx: ENH: fix a bug with useing debuf optimized libs from other builds 2006-11-16 08:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-15 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-14 09:03 hoffman * CMakeLists.txt: ENH: try again for 2.4.4 2006-11-14 08:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-13 22:08 andy * Source/CPack/cmCPackNSISGenerator.cxx: ENH: Expand comment 2006-11-13 15:25 hoffman * ChangeLog.manual, Modules/FindQt4.cmake: ENH: move from main tree 2006-11-13 14:22 hoffman * Modules/FindQt4.cmake: ENH: add depend information from qrc files 2006-11-13 12:59 hoffman * ChangeLog.manual, Modules/CMakeVCManifestExe.cmake, Modules/FindSubversion.cmake, Modules/Platform/Windows-cl.cmake, Source/cmFindBase.cxx: ENH: merge changes in from main tree 2006-11-13 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-12 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-11 14:06 hoffman * Source/cmFindBase.cxx: BUG: fix for 4009 lib64 should work with path suffix 2006-11-11 14:04 hoffman * Modules/: CMakeVCManifestExe.cmake, Platform/Windows-cl.cmake: BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039 2006-11-11 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-10 10:54 hoffman * Source/cmGlobalGenerator.cxx: ENH: move from main tree 2006-11-10 10:12 hoffman * Modules/FindMPI.cmake, Modules/FindQt4.cmake, Modules/readme.txt, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmSetTargetPropertiesCommand.h, Source/cmake.cxx, Source/cmake.h, Source/CTest/cmCTestBuildHandler.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: merge from main tree fix for vs all build qt and mpi2 2006-11-10 09:32 hoffman * Source/cmGlobalGenerator.cxx: ENH: remove warning 2006-11-10 08:11 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix for broken borland compiler 2006-11-10 08:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-09 16:07 hoffman * Source/CTest/cmCTestBuildHandler.cxx: ENH: fix it to work with stl debug mode on mac 2006-11-09 09:57 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h, cmSetTargetPropertiesCommand.h: ENH: commit fix for putting everything in the build on vs 2006-11-09 08:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-08 08:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-07 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-06 08:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-05 08:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-04 08:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-03 08:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-02 19:58 hoffman * Modules/FindMPI.cmake: ENH: add support for finding mpich2 on windows 2006-11-02 17:51 hoffman * Modules/FindQt4.cmake: ENH: look for QtAssistantClient4 2006-11-02 17:16 hoffman * CMakeLists.txt: ENH: abort 2.4.4 for now 2006-11-02 08:09 hoffman * CMakeLists.txt: ENH: this is 2.4.4 2006-11-02 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-11-01 09:06 king * Modules/readme.txt: ENH: Added XXX_RUNTIME_LIBRARY_DIRS as a suggested variable. 2006-11-01 08:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-31 14:28 andy * Source/: cmGlobalGenerator.cxx, cmInstallTargetGenerator.cxx, cmake.cxx, cmake.h: ENH: Cleanup of install component list. There was already the list in the global generator. Use that one 2006-10-31 06:43 andy * Source/cmInstallTargetGenerator.cxx: STYLE: Fix kwstyle 2006-10-30 15:59 andy * Source/: cmGlobalGenerator.cxx, cmInstallTargetGenerator.cxx, cmake.cxx, cmake.h: ENH: Add support for displaying the list of components 2006-10-30 15:30 king * Modules/FindSubversion.cmake: ENH: Adding FindSubversion module from Tristan Carel. This addresses bug#3987. 2006-10-30 11:36 hoffman * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackPackageMakerGenerator.cxx, cmCPackTGZGenerator.cxx, cmCPackTarBZip2Generator.cxx, cmCPackTarCompressGenerator.cxx: ENH: merge fix for cpack crash into main tree 2006-10-30 11:22 hoffman * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackPackageMakerGenerator.cxx, cmCPackTGZGenerator.cxx, cmCPackTarBZip2Generator.cxx, cmCPackTarCompressGenerator.cxx: ENH: make sure null const char* is not put into ossttringstream to avoid seg faults 2006-10-30 10:38 king * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: ENH: Added test case for bug#3966. 2006-10-30 09:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-30 09:17 hoffman * Modules/FindJNI.cmake: ENH: move from main tree 2006-10-27 17:30 andy * Modules/FindJNI.cmake: ENH: More documentation 2006-10-27 17:29 andy * Modules/FindJNI.cmake: ENH: Add support for libjvm 2006-10-27 16:03 hoffman * Utilities/cmThirdParty.h.in, Utilities/cm_curl.h, Utilities/cm_expat.h, Utilities/cm_xmlrpc.h, Utilities/cm_zlib.h, Modules/CMakeDependentOption.cmake, Modules/FindCURL.cmake, Modules/FindEXPAT.cmake, Modules/FindXMLRPC.cmake, Tests/SimpleInstall/PackageScript.cmake, Tests/SimpleInstallS2/PackageScript.cmake: ENH: move from main tree 2006-10-27 16:01 hoffman * CMakeLists.txt, CTestCustom.ctest.in, ChangeLog.manual, bootstrap, doxygen.config, Modules/CMakeGenericSystem.cmake, Modules/CPack.cmake, Modules/CTestTargets.cmake, Modules/FindDoxygen.cmake, Modules/FindJNI.cmake, Modules/FindJava.cmake, Modules/FindKDE3.cmake, Modules/FindPerl.cmake, Modules/FindQt4.cmake, Modules/FindTclsh.cmake, Modules/FindWish.cmake, Modules/FindwxWidgets.cmake, Modules/NSIS.template.in, Modules/UsewxWidgets.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmDocumentation.cxx, Source/cmExecuteProcessCommand.cxx, Source/cmExecuteProcessCommand.h, Source/cmFindBase.cxx, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmGeneratedFileStream.cxx, Source/cmGetDirectoryPropertyCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.cxx, Source/cmGlobalWatcomWMakeGenerator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmXMLParser.cxx, Source/cmake.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cpack.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestMemCheckHandler.cxx, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestScriptHandler.h, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Source/CTest/cmCTestUpdateHandler.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/System.c, Source/kwsys/System.h.in, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.cxx.bak, Source/kwsys/kwsysPlatformCxxTests.cmake, Source/kwsys/kwsysPlatformCxxTests.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Tests/CTestTest2/test.cmake.in, Tests/CTestTest3/test.cmake.in, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/MacroTest/CMakeLists.txt, Tests/OutOfSource/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt, Tests/StringFileTest/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/config.h.in, Utilities/cmtar/libtar.c: ENH: move changes from main tree 2006-10-27 15:59 hoffman * Modules/FindJNI.cmake: ENH: remove JavaEmbedding 2006-10-27 15:55 hoffman * CTestCustom.ctest.in: ENH: fix warnings on windows paths 2006-10-26 11:39 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Added NO_MODULE and COMPONENTS options to improve flexibility of the command. Re-implemented argument parsing to be simpler and more robust. 2006-10-26 11:01 andy * Source/CTest/cmCTestUpdateHandler.cxx: STYLE: Fix typo 2006-10-26 10:49 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: When writing newlines between script portions in prebuild, prelink, and postbuild command lines they must be escaped for XML so that the IDE receives them. This fixes the fix for bug #3977. 2006-10-25 14:03 king * Source/cmLocalVisualStudio6Generator.cxx: COMP: Remove unused variable. 2006-10-25 12:49 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Adjust prebuild/prelink/postbuild script construction to account for ConstructScript no longer producing trailing newlines. This addresses bug#3977. 2006-10-25 12:27 king * Source/cmLocalVisualStudioGenerator.cxx: BUG: Avoid leading and trailing newlines in custom command scripts because some VS6 versions do not like the trailing backslash this produces. This addresses bug#3977. 2006-10-25 11:23 king * Tests/CustomCommand/CMakeLists.txt: ENH: Re-enabling # escape test now that it is implemented everywhere. 2006-10-25 11:23 king * Source/: cmGlobalWatcomWMakeGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.h, kwsys/System.c, kwsys/System.h.in: ENH: Adding support for # escape in Watcom WMake. 2006-10-25 10:58 king * Tests/MacroTest/CMakeLists.txt: BUG: EQUAL -> STREQUAL for string comparison. 2006-10-25 10:57 king * Source/cmIfCommand.cxx: BUG: It cannot be an error if the values do not convert. The docs say that if the values do not convert the test is false. 2006-10-25 10:31 king * Source/cmIfCommand.cxx: BUG: For LESS, GREATER, and EQUAL check that the arguments can actually be converted to numbers. Also force the conversion results to be stored in memory to make sure they both use the same precision. This addresses bug#3966. 2006-10-25 09:54 andy * Source/CMakeLists.txt: COMP: Remove unnecessary provocation 2006-10-25 09:54 andy * Tests/CTestTest3/test.cmake.in: BUG: Attempt to fix the test 2006-10-25 08:56 andy * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Fix line length 2006-10-24 17:56 alex * Modules/FindPerl.cmake: BUG: honor the REQUIRED flag for Perl, please backport to 2.4 branch so that it will be in 2.4.4 Alex 2006-10-24 12:44 andy * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Looks like gcov produces lines with string /*EOF*/ on them if there is no line at the end of the file. This will fix the coverage code complaining about it 2006-10-24 11:06 hoffman * Source/CMakeLists.txt: ENH: remove failing test 2006-10-24 10:03 hoffman * Modules/FindDoxygen.cmake: ENH: fix more doxygen issues 2006-10-24 10:03 hoffman * Modules/FindJNI.cmake: ENH: remove JavaEmbedding framework 2006-10-24 09:47 king * Tests/CustomCommand/CMakeLists.txt: BUG: Disable testing of # escapes until it can be implemented for Watcom WMake. 2006-10-23 19:04 alex * Modules/FindKDE3.cmake: BUG: fix #3955: add -O2 by default but only if no special buildtype is set Alex 2006-10-23 17:20 king * Source/kwsys/System.c, Tests/CustomCommand/CMakeLists.txt: ENH: Added # character for shell escaping. 2006-10-23 17:14 king * Source/cmIfCommand.cxx, Source/cmIfCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway. 2006-10-23 16:16 king * Source/cmake.cxx: BUG: Do not display cmake -E usage when any old command line error occurs. 2006-10-23 14:51 hoffman * Modules/FindDoxygen.cmake: ENH: put in backwards compatibility for older cmake 2006-10-23 13:36 king * Tests/StringFileTest/CMakeLists.txt, Source/cmIfCommand.cxx, Source/cmIfCommand.h: ENH: Patch from Alex to provide nicer syntax for FILE_IS_NEWER. Using name IS_NEWER_THAN so old syntax will continue to work. 2006-10-22 19:21 hoffman * Source/CMakeLists.txt: ENH: remove broken test 2006-10-22 11:57 king * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: COMP: Fixed typo: CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB. 2006-10-19 15:45 king * Utilities/cmtar/CMakeLists.txt: ENH: Remove old include dirs. 2006-10-19 15:17 king * bootstrap: ENH: Adding option to use system-installed third-party libraries. This addresses bug#3653. 2006-10-19 15:00 king * CMakeLists.txt, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmGeneratedFileStream.cxx, Source/cmSystemTools.cxx, Source/cmXMLParser.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Source/CTest/cmCTestSubmitHandler.cxx, Utilities/cmThirdParty.h.in, Utilities/cm_curl.h, Utilities/cm_expat.h, Utilities/cm_xmlrpc.h, Utilities/cm_zlib.h, Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/config.h.in, Utilities/cmtar/libtar.c: ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653. 2006-10-19 14:48 king * Modules/CMakeDependentOption.cmake: ENH: Adding CMAKE_DEPENDENT_OPTION macro. 2006-10-19 14:45 king * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx: ENH: Added explicit name for option to test CMakeLib. Added option to disable testing of CMakeLib if system utility libraries are used until linking made easier. 2006-10-19 12:58 king * Modules/FindXMLRPC.cmake: ENH: Find module for XMLRPC libraries. 2006-10-19 12:57 king * Modules/FindEXPAT.cmake: ENH: Find module for EXPAT library. 2006-10-19 12:55 king * Modules/FindCURL.cmake: ENH: Find module for CURL library. 2006-10-19 10:45 martink * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestTestHandler.cxx: ENH: added total time limit for a CTest run bug 1207 2006-10-19 10:07 king * Modules/: FindwxWidgets.cmake, UsewxWidgets.cmake: ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. 2006-10-19 09:18 king * Source/cmFindBase.cxx: ENH: Clarified search behavior when the objective is not found. 2006-10-18 23:27 david.cole * Source/kwsys/SystemTools.cxx: BUG: Correct the SystemReportDebugHook function. It should not call exit. It gets called multiple times at shutdown in a memory leak reporting scenario... This is the source of the long standing KWWidgetsTour debug build dashboard failure. 2006-10-17 09:34 king * Source/CPack/cpack.cxx: STYLE: Fixed line-too-long. 2006-10-16 18:17 king * Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate: ENH: Adding image version number (major.minor) property to windows binaries. Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219. 2006-10-16 15:18 king * Source/cmGetDirectoryPropertyCommand.cxx, Tests/OutOfSource/CMakeLists.txt: BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847. 2006-10-16 14:52 king * Source/cmDocumentation.cxx: ENH: Make hyperlinks in documentation active when generated into HTML documents. This addresses bug#3906. 2006-10-16 13:58 king * Modules/CMakeGenericSystem.cmake: ENH: Allow user project code to distinguish between an install prefix set on the command line and one set by CMake as a default. This is useful for changing the default prefix while still allowing the user to override it. 2006-10-16 12:49 martink * Source/cmake.cxx: BUG: partial fix for the progress after install bug 2006-10-16 12:47 hoffman * Utilities/Release/: create-cmake-release.cmake, magrathea_release.cmake, r36n11_aix_release.cmake, release_cmake.sh.in, upload_release.cmake: ENH: update for release 2006-10-16 11:32 king * Source/: cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h: ENH: Added OUTPUT_STRIP_TRAILING_WHITESPACE and ERROR_STRIP_TRAILING_WHITESPACE options to EXECUTE_PROCESS command. These allow it to behave more like the old EXEC_PROGRAM command that it is supposed to replace. 2006-10-16 10:47 hoffman * Modules/FindDoxygen.cmake: BUG: fix for bug# 3310 2006-10-15 07:54 andy * Source/: cmCTest.cxx, CPack/cmCPackGenericGenerator.cxx, CTest/cmCTestCoverageHandler.cxx: STYLE: Fix kwstyle 2006-10-13 17:10 andy * Source/cmCTest.cxx, Source/cmCTest.h, Tests/CTestTest2/test.cmake.in: ENH: Properly propagate config type to test 2006-10-13 16:13 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug#3908 if header_file_only is set on cxx files in visual studio do not compile them 2006-10-13 15:04 king * Modules/NSIS.template.in: BUG: Compression must be set before any output is created. 2006-10-13 14:44 andy * Source/CTest/cmCTestTestHandler.h: COMP: Fix Sun build 2006-10-13 13:59 king * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: When using link scripts use native shell escapes instead of makefile shell escapes because the script is not interpreted by a make tool. 2006-10-13 11:53 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: allow for -gdwarf-2 to be in cflags or cxxflags for xcode 2006-10-13 11:26 hoffman * doxygen.config: BUG: fix for bug# 3921 INPUT wrong 2006-10-13 11:25 hoffman * Modules/: FindTclsh.cmake, FindWish.cmake: BUG: fix for bug #3846 more advanced stuff 2006-10-13 11:23 hoffman * Modules/FindQt4.cmake: BUG: fix for bug#3898 find qt plugin dir 2006-10-13 10:57 hoffman * CMake.pdf, CMake.rtf, Docs/CMake12p2.rtf, Docs/CMake14.rtf, Docs/CMake16.rtf, Modules/CMakeVCManifest.cmake, Modules/COPYING-CMAKE-SCRIPTS, Modules/CheckCCompilerFlag.cmake, Modules/CheckCSourceRuns.cmake, Modules/CheckCXXCompilerFlag.cmake, Modules/CheckCXXSourceRuns.cmake, Modules/FindASPELL.cmake, Modules/FindBZip2.cmake, Modules/FindHSPELL.cmake, Modules/FindJasper.cmake, Modules/FindLibXml2.cmake, Modules/FindLibXslt.cmake, Modules/FindOpenSSL.cmake, Source/cmElseIfCommand.cxx, Source/cmElseIfCommand.h, Source/cmEndMacroCommand.cxx, Source/cmEndMacroCommand.h, Source/cmInstallDirectoryGenerator.cxx, Source/cmInstallDirectoryGenerator.h, Source/cmStandardLexer.h, Source/kwsys/CMakeEmptyInputFile.in, Source/kwsys/CheckCXXSourceRuns.cmake, Source/kwsys/IOStream.cxx, Source/kwsys/IOStream.hxx.in, Source/kwsys/System.c, Source/kwsys/System.h.in, Source/kwsys/SystemTools.cxx.bak, Source/kwsys/SystemTools.hxx.in.bak, Source/kwsys/kwsysPlatformCxxTests.cmake.bak, Source/kwsys/kwsysPlatformCxxTests.cxx.bak, Source/kwsys/kwsysPlatformTests.cmake, Source/kwsys/kwsysPlatformTestsC.c, Source/kwsys/kwsysPlatformTestsCXX.cxx, Tests/Complex/Executable/A.cxx.bak, Tests/Complex/Executable/A.h, Tests/Complex/Executable/A.hh, Tests/Complex/Executable/A.txt, Tests/Complex/Executable/notInAllExe.cxx, Tests/Complex/Executable/testSystemDir.cxx, Tests/Complex/Library/TestLink.c, Tests/Complex/Library/notInAllLib.cxx, Tests/Complex/Library/test_preprocess.cmake, Tests/Complex/Library/SystemDir/testSystemDir.h, Tests/ComplexOneConfig/Executable/A.cxx.bak, Tests/ComplexOneConfig/Executable/A.h, Tests/ComplexOneConfig/Executable/A.hh, Tests/ComplexOneConfig/Executable/A.txt, Tests/ComplexOneConfig/Executable/notInAllExe.cxx, Tests/ComplexOneConfig/Executable/testSystemDir.cxx, Tests/ComplexOneConfig/Library/TestLink.c, Tests/ComplexOneConfig/Library/notInAllLib.cxx, Tests/ComplexOneConfig/Library/test_preprocess.cmake, Tests/ComplexOneConfig/Library/SystemDir/testSystemDir.h, Tests/ComplexRelativePaths/Executable/A.cxx.bak, Tests/ComplexRelativePaths/Executable/A.h, Tests/ComplexRelativePaths/Executable/A.hh, Tests/ComplexRelativePaths/Executable/A.txt, Tests/ComplexRelativePaths/Executable/notInAllExe.cxx, Tests/ComplexRelativePaths/Executable/testSystemDir.cxx, Tests/ComplexRelativePaths/Library/TestLink.c, Tests/ComplexRelativePaths/Library/notInAllLib.cxx, Tests/ComplexRelativePaths/Library/test_preprocess.cmake, Tests/ComplexRelativePaths/Library/SystemDir/testSystemDir.h, Tests/CustomCommand/check_command_line.c.in, Tests/OutOfBinary/CMakeLists.txt, Tests/OutOfBinary/outlib.c, Tests/SimpleInstall/scripts/sample_script, Tests/SimpleInstall/scripts/sample_script.bat, Tests/SimpleInstallS2/scripts/sample_script, Tests/SimpleInstallS2/scripts/sample_script.bat, Utilities/cmcompress/CMakeLists.txt, Utilities/cmcompress/cmcompress.c, Utilities/cmcompress/cmcompress.h: ENH: merge files from main tree to 2.4 2006-10-13 10:52 hoffman * CMakeLists.txt, ChangeLog.manual, bootstrap, Docs/cmake-indent.vim, Docs/cmake-mode.el, Docs/cmake-syntax.vim, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeFortranInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/FindDoxygen.cmake, Modules/FindGLUT.cmake, Modules/FindKDE3.cmake, Modules/FindPNG.cmake, Modules/FindPythonInterp.cmake, Modules/FindPythonLibs.cmake, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindRuby.cmake, Modules/FindSDL.cmake, Modules/FindTCL.cmake, Modules/FindwxWidgets.cmake, Modules/InstallRequiredSystemLibraries.cmake, Modules/KDE3Macros.cmake, Modules/UseEcos.cmake, Modules/UseQt4.cmake, Modules/UseSWIG.cmake, Modules/kde3uic.cmake, Modules/readme.txt, Modules/Platform/AIX.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Linux.cmake, Modules/Platform/QNX.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/UnixPaths.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/gcc.cmake, Source/CMakeLists.txt, Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.cxx, Source/cmAddCustomTargetCommand.h, Source/cmAddExecutableCommand.cxx, Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmAddSubDirectoryCommand.cxx, Source/cmAddTestCommand.h, Source/cmBuildNameCommand.h, Source/cmCPluginAPI.cxx, Source/cmCommand.h, Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentLexer.h, Source/cmCommandArgumentLexer.in.l, Source/cmCommandArgumentParser.cxx, Source/cmCommandArgumentParser.y, Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserHelper.h, Source/cmCommands.cxx, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmDependsC.cxx, Source/cmDependsC.h, Source/cmDependsFortranLexer.cxx, Source/cmDependsFortranLexer.in.l, Source/cmDependsFortranParser.cxx, Source/cmDependsFortranParser.y, Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.in.l, Source/cmDependsJavaParser.cxx, Source/cmDependsJavaParser.y, Source/cmDocumentation.cxx, Source/cmExecProgramCommand.h, Source/cmExprLexer.cxx, Source/cmExprLexer.in.l, Source/cmExprParser.cxx, Source/cmExprParser.y, Source/cmFileCommand.cxx, Source/cmGetTargetPropertyCommand.h, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalKdevelopGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalWatcomWMakeGenerator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmIncludeDirectoryCommand.cxx, Source/cmIncludeDirectoryCommand.h, Source/cmIncludeExternalMSProjectCommand.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallFilesCommand.cxx, Source/cmInstallFilesCommand.h, Source/cmInstallFilesGenerator.cxx, Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmInstallProgramsCommand.cxx, Source/cmInstallProgramsCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmInstallTargetsCommand.cxx, Source/cmInstallTargetsCommand.h, Source/cmLinkLibrariesCommand.h, Source/cmListCommand.cxx, Source/cmListCommand.h, Source/cmListFileCache.cxx, Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Source/cmLoadCommandCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmMacroCommand.cxx, Source/cmMakeDirectoryCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileExecutableTargetGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmMessageCommand.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmRemoveCommand.h, Source/cmSetCommand.cxx, Source/cmSetSourceFilesPropertiesCommand.h, Source/cmSetTargetPropertiesCommand.h, Source/cmStandardIncludes.h, Source/cmSubdirCommand.h, Source/cmSubdirDependsCommand.h, Source/cmTarget.cxx, Source/cmTryCompileCommand.cxx, Source/cmVTKMakeInstantiatorCommand.h, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapJavaCommand.h, Source/cmVTKWrapPythonCommand.h, Source/cmVTKWrapTclCommand.h, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackTarCompressGenerator.cxx, Source/CPack/cmCPackTarCompressGenerator.h, Source/CPack/cmCPackZIPGenerator.cxx, Source/CPack/cpack.cxx, Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestHandlerCommand.cxx, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestStartCommand.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CursesDialog/ccmake.cxx, Source/CursesDialog/cmCursesMainForm.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/CommandLineArguments.cxx, Source/kwsys/Configure.h.in, Source/kwsys/Directory.cxx, Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in, Source/kwsys/Process.h.in, Source/kwsys/ProcessUNIX.c, Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx, Source/kwsys/SharedForward.h.in, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/Terminal.c, Source/kwsys/testCommandLineArguments.cxx, Source/kwsys/testCommandLineArguments1.cxx, Source/kwsys/testProcess.c, Source/kwsys/testSystemTools.cxx, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/A.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/A.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/A.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/CustomCommand/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx, Tests/OutOfSource/SubDir/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt, Tests/StringFileTest/CMakeLists.txt, Tests/SystemInformation/SystemInformation.in, Utilities/Release/README, Utilities/cmcurl/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt, Utilities/cmzlib/CMakeLists.txt: ENH: merge changes from the main tree to the 2.4 branch 2006-10-13 10:27 andy * Source/CTest/: cmCTestMemCheckHandler.cxx, cmCTestUpdateHandler.cxx: BUG: Replace some errors with warnings 2006-10-13 10:22 king * Source/: cmGlobalMinGWMakefileGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: Juse use cmake -E echo instead of the native echo on MinGW makefiles. The echo; hack did not work when running from ctest. 2006-10-13 10:03 king * Source/cmLocalGenerator.cxx: BUG: Do not try to compute the location of a non-library target for linking. 2006-10-13 09:30 andy * Source/: CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, kwsys/CMakeLists.txt: ENH: Report command line as a measurement and allow user to add custom measurements 2006-10-12 17:19 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: undo bad changes 2006-10-12 16:31 andy * Source/: cmCTest.cxx, CTest/cmCTestCoverageHandler.cxx: BUG: Use BuildDirectory from the DartConfiguration information. Also, Make missing coverage information not make ctest fail 2006-10-12 15:30 andy * Source/cmGlobalGenerator.cxx: BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476 2006-10-12 15:10 andy * Source/CTest/cmCTestScriptHandler.cxx: BUG: Report and error when ctest -S script fails... Fixes: Bug #3540 2006-10-12 14:59 andy * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx: ENH: Add NSIS compression 2006-10-12 14:47 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Handle more regular expressions 2006-10-12 13:30 andy * Tests/: SimpleInstall/PackageScript.cmake, SimpleInstallS2/PackageScript.cmake: ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:15 andy * Modules/CTestTargets.cmake: ENH: On Visual Studio and Xcode handle config type 2006-10-12 13:12 andy * Modules/: FindJNI.cmake, FindJava.cmake: ENH: More locations for Java 2006-10-12 13:05 andy * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 12:51 martink * Source/: cmCTest.cxx, cmCTest.h: ENH: some cleanup and commenting of code 2006-10-12 10:57 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for bug -gdwarf getting removed 2006-10-11 12:41 king * Source/cmMakefileLibraryTargetGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: BUG: Do not collapse the INSTALL_NAME_DIR setting because users may intend to have .. in the path. This makes the makefile generator consistent with the already working Xcode implementation of this feature. Also added a test for @executable_path/.. style settings for this property. 2006-10-11 12:41 king * Source/cmGlobalXCodeGenerator.cxx: ENH: Simplify code by removing redundant check against BUILD_WITH_INSTALL_RPATH. 2006-10-10 16:03 king * Modules/readme.txt: STYLE: Fixed typo: INCLUDE_DIR->INCLUDE_DIRS. 2006-10-10 14:13 king * Source/cmLocalGenerator.cxx: BUG: TARGET_QUOTED should always be replaced if Target is set in the rule variables. 2006-10-10 13:47 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: BUG: Avoid duplicate conversion to output path. 2006-10-10 12:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-09 21:48 king * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: BUG: Fixed references to projects outside the build tree and in other locations with spaces in the path. This is needed for out-of-source/out-of-binary subdirectories in the build. 2006-10-09 21:25 king * Source/cmMakefileTargetGenerator.cxx, Tests/OutOfBinary/CMakeLists.txt, Tests/OutOfBinary/outlib.c, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx, Tests/OutOfSource/SubDir/CMakeLists.txt: BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature. 2006-10-09 11:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-09 10:06 david.cole * Source/kwsys/ProcessWin32.c: COMP: Fix or suppress warnings on Borland and Mac dashboards. Definitely fix "may be used uninitialized" warnings. 2006-10-08 09:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-07 06:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-06 15:33 martink * Source/CursesDialog/cmCursesMainForm.cxx: ENH: remove old unused code 2006-10-06 14:00 martink * Source/cmDocumentation.cxx: BUG: potential segfault 2006-10-06 11:13 david.cole * Source/kwsys/CMakeLists.txt: STYLE: Make the set of supported STL headers the same in vtkstd and vtksys/stl. (The union of the present values of the two sets.) 2006-10-06 11:11 hoffman * Source/: cmMessageCommand.cxx, cmake.cxx, cmake.h, cmakemain.cxx: ENH: do not print a call stack if the user does a message error unless --debug-output is used 2006-10-06 09:16 king * Modules/Platform/Darwin.cmake: BUG: Do not enable -isystem support for Xcode generator until it is implemented. 2006-10-06 03:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-05 17:53 hoffman * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestTestHandler.cxx: BUG: fix bug where converage was required to get valgrind output because of bad current directory 2006-10-05 16:59 king * Source/: cmLocalGenerator.cxx, cmOrderLinkDirectories.cxx: BUG: Need to match shared library names before static because some platforms have static name patterns that match their shared patterns but not vice versa. This is needed for implementing bug#1644 on cygwin. 2006-10-05 16:30 king * Modules/Platform/CYGWIN.cmake, Source/cmTarget.cxx: ENH: Adding version number to the name of a DLL built in cygwin but not the import library. This addresses bug#3571. 2006-10-05 15:08 king * Modules/Platform/: CYGWIN.cmake, Windows-gcc.cmake: ENH: Enabling link-type selection flags on Cygwin, MSYS, and MinGW. This addresses bug#1644 on these platforms. 2006-10-05 15:08 king * Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex. 2006-10-05 14:51 king * Source/: cmGlobalMinGWMakefileGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: Hack to make echo command work properly in mingw32-make. 2006-10-05 13:43 king * Source/cmWin32ProcessExecution.cxx: BUG: Robustly handle failure of FormatMessage. See bug#3471. 2006-10-05 12:04 king * Tests/: Complex/CMakeLists.txt, Complex/Library/testSystemDir.h, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Library/testSystemDir.h, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Library/testSystemDir.h, Complex/Library/SystemDir/testSystemDir.h, ComplexOneConfig/Library/SystemDir/testSystemDir.h, ComplexRelativePaths/Library/SystemDir/testSystemDir.h: BUG: Test -isystem without affecting other tests. Made separate Library/SystemDir for this purpose. 2006-10-05 11:31 king * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallFilesGenerator.cxx, Source/cmInstallFilesGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added OPTIONAL option to INSTALL command to allow installation of files if they exist while ignoring them otherwise. This addresses bug#2922. 2006-10-05 11:30 king * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: BUG: Run testSystemDir test only if -isystem flag is available. 2006-10-05 10:55 king * Source/cmDocumentation.cxx: ENH: Adding links to web resources and FAQ to SEE ALSO section. This addresses bug #3757. 2006-10-05 09:33 king * Modules/Platform/QNX.cmake: BUG: QNX GCC does not have -isystem. 2006-10-05 08:55 king * Modules/Platform/gcc.cmake, Source/cmIncludeDirectoryCommand.cxx, Source/cmIncludeDirectoryCommand.h, Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/Complex/CMakeLists.txt, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/testSystemDir.cxx, Tests/Complex/Library/testSystemDir.h, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/testSystemDir.cxx, Tests/ComplexOneConfig/Library/testSystemDir.h, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/testSystemDir.cxx, Tests/ComplexRelativePaths/Library/testSystemDir.h: ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462. 2006-10-05 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-04 19:21 king * Source/CursesDialog/ccmake.cxx: BUG: The --help option should list generators. This addresses bug #2494. 2006-10-04 18:57 king * Tests/CustomCommand/CMakeLists.txt: ENH: Adding test of special characters in custom command and custom target comments. 2006-10-04 18:52 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalWatcomWMakeGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: Fixed display of custom command comments with quotes, dollars, and other special characters in them. 2006-10-04 18:52 king * Source/kwsys/: System.c, System.h.in: ENH: Adding Shell_Flag_EchoWindows option to setup escapes for arguments to the native echo command in a shell. This special case is needed to avoid adding quotes when passing text to echo in a native windows shell which does no command line parsing at all. 2006-10-04 18:10 king * Source/cmAddCustomTargetCommand.cxx, Source/cmAddCustomTargetCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/CustomCommand/CMakeLists.txt: ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461. 2006-10-04 18:09 king * Source/cmAddCustomCommandCommand.h: BUG: COMMENT was missing from docs. 2006-10-04 17:27 king * Source/kwsys/: CMakeLists.txt, ProcessUNIX.c, kwsysPlatformTestsC.c: ENH: Adding tests KWSYS_C_HAS_PTRDIFF_T and KWSYS_C_HAS_SSIZE_T to help ProcessUNIX.c build everywhere without warnings. 2006-10-04 17:24 king * bootstrap: ENH: Renamed kwsysPlatformCxxTests to kwsysPlatformTests and generalized it for multiple language tests (C and CXX). 2006-10-04 17:08 king * Source/kwsys/kwsysPlatformTests.cmake: BUG: Name of C test file ends in .c not .cxx. 2006-10-04 16:56 king * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx, kwsysPlatformTests.cmake, kwsysPlatformTestsC.c, kwsysPlatformTestsCXX.cxx: ENH: Renamed kwsysPlatformCxxTests to kwsysPlatformTests and generalized it for multiple language tests (C and CXX). 2006-10-04 16:31 hoffman * Modules/FindDoxygen.cmake: ENH: remove paths that cmake already looks at 2006-10-04 15:54 alex * Modules/FindRuby.cmake: ENH: apply patch so that the config values from ruby are used to determine the additional locations (see #3297) Alex 2006-10-04 15:24 king * Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Tests/CustomCommand/CMakeLists.txt: ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies to be connected later. This is useful to create one rule and then have a macro add things to it later. This addresses bug#2151. 2006-10-04 14:37 king * Source/cmCommandArgumentParser.cxx, Source/cmCommandArgumentParser.y, Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserHelper.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/CustomCommand/CMakeLists.txt: BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722. 2006-10-04 14:02 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for fat file systems and vs8 #2617 2006-10-04 14:00 king * Modules/UseQt4.cmake: BUG: Patch from Clinton to restore proper QT3_SUPPORT macro definition. 2006-10-04 13:27 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug#3362 xml escapes on -D stuff for visual studio 2006-10-04 13:05 hoffman * Modules/FindTCL.cmake: BUG: fix for bug# 3313 same advanced for tcl win and unix 2006-10-04 11:33 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug# 3664 2006-10-04 11:11 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix for bug #3517 seg fault with enable language before project command 2006-10-04 11:04 hoffman * Modules/FindDoxygen.cmake: BUG: fix for bug#3520 - better find doxygen 2006-10-04 10:54 hoffman * Modules/Platform/Darwin.cmake: BUG: fix for bug# 3584 missing SONAME for fortran on darwin 2006-10-04 10:33 hoffman * Modules/FindQt4.cmake: ENH: make qmake-qt4 really work if qmake is qt3 also fix indent in file, for diff use cvs diff -w 2006-10-04 05:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-03 17:53 hoffman * Source/cmGlobalGenerator.cxx: ENH: fix dashbaord error do not exclude root project from itself. 2006-10-03 16:18 hoffman * Modules/FindGLUT.cmake: BUG: fix for bug#3646 GLUT not Glut for framework name 2006-10-03 16:12 hoffman * Modules/Platform/Windows-cl.cmake: BUG: fix for bug#3652 use link /lib instead of lib 2006-10-03 15:25 hoffman * Source/CMakeLists.txt: ENH: use core and not all of carbon 2006-10-03 15:12 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix for bug#3714 execlude_from_all not working on vs 2006-10-03 14:40 martink * Source/: cmCommands.cxx, cmEndMacroCommand.cxx, cmEndMacroCommand.h: ENH: added endmacro command 2006-10-03 14:39 hoffman * Modules/FindQt4.cmake: BUG: fix for bug#3720 2006-10-03 14:03 alex * Modules/KDE3Macros.cmake: BUG: fix #3827, the name of the var is _tmp_FILE instead of tmp_FILE, so the dcop stuff should work now Alex 2006-10-03 14:03 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug#3738 2006-10-03 13:48 hoffman * Modules/FindSDL.cmake: BUG: fix for 3765 2006-10-03 13:45 hoffman * Source/cmAddTestCommand.h: BUG: fix for bug#3775 2006-10-03 13:35 hoffman * Source/kwsys/SystemTools.cxx: ENH: check for empty path 2006-10-03 13:35 hoffman * Modules/Platform/AIX.cmake: ENH: disable static shared stuff on AIX, see comment 2006-10-03 13:35 hoffman * Source/cmGlobalMSYSMakefileGenerator.cxx: BUG: bug#3789 add msys for the msys generator 2006-10-03 13:22 hoffman * Source/cmTryCompileCommand.cxx: ENH: make sure file is closed 2006-10-03 12:09 hoffman * Source/cmMacroCommand.cxx: ENH: fix compile error 2006-10-03 11:55 hoffman * Source/cmake.cxx: ENH: do not allow null pointer access 2006-10-03 11:55 hoffman * Source/kwsys/Registry.cxx: ENH: make sure value is set before using it 2006-10-03 10:57 hoffman * Source/cmMacroCommand.cxx: BUG: fix for seg fault bug #3815 2006-10-03 10:26 king * Source/kwsys/ProcessUNIX.c: BUG: Need to initialize to not use native pipes. 2006-10-03 09:12 king * Source/cmGlobalKdevelopGenerator.cxx: STYLE: Fixed line-too-long warning. 2006-10-03 09:10 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Added Process_SetPipeNative method to allow user code to override the pipes connected to the child pipeline. 2006-10-03 05:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-02 12:01 king * Source/cmAddExecutableCommand.cxx, Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: Renamed NOT_IN_ALL to EXCLUDE_FROM_ALL. 2006-10-02 11:13 king * Source/cmAddExecutableCommand.cxx, Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/notInAllExe.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/Complex/Library/notInAllLib.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/notInAllExe.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/notInAllLib.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/notInAllExe.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/notInAllLib.cxx: ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid building the targets by default. 2006-10-02 10:49 king * Source/cmGlobalKdevelopGenerator.cxx: ENH: Patch from Alex to help with KDevelop code completion in generated projects. 2006-10-02 10:20 king * Source/: cmAddCustomCommandCommand.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalWatcomWMakeGenerator.cxx, cmMakefile.cxx, cmMakefileTargetGenerator.cxx, cmSetSourceFilesPropertiesCommand.h: ENH: Added SYMBOLIC source file property to mark custom command outputs that are never actually created on disk. This is used by the Watcom WMake generator to generate the .SYMBOLIC mark on the files in the make system. 2006-10-02 10:17 king * Tests/CustomCommand/: CMakeLists.txt, check_command_line.c.in: COMP: Fix command line check test implementation for Watcom. 2006-10-02 09:03 hoffman * Modules/FindQt4.cmake: ENH: fix from clinton 2006-10-02 04:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-10-01 04:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-30 03:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-29 16:42 king * Source/: cmGetTargetPropertyCommand.h, cmTarget.cxx: ENH: Added support for getting a target's location on a per-configuration basis (ex. DEBUG_LOCATION). This does not fix but helps with bug#3250. 2006-09-29 16:14 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix failing tests on mac 2006-09-29 09:11 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed inclusion of progress.make from subdirectory makefiles. 2006-09-29 03:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-28 17:35 king * Source/cmIncludeExternalMSProjectCommand.cxx: BUG: Move hack from old cmMakefile::AddUtilityTarget to this command directly. There really needs to be a better way to represent external project targets. 2006-09-28 17:21 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Moved progress.make file into CMakeFiles subdirectory to keep things clean. 2006-09-28 16:40 king * Source/: cmAddCustomCommandCommand.cxx, cmCustomCommand.cxx, cmCustomCommand.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h, cmLocalGenerator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileExecutableTargetGenerator.h, cmMakefileLibraryTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.h, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: BUG: Fix/cleanup custom commands and custom targets. Make empty comment strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators. 2006-09-28 13:55 king * Source/: cmAddCustomTargetCommand.cxx, cmCPluginAPI.cxx, cmGlobalGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalXCodeGenerator.cxx, cmIncludeExternalMSProjectCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmVTKWrapJavaCommand.cxx: ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed. 2006-09-28 11:42 king * Modules/Platform/UnixPaths.cmake: BUG: Header and library search path ordering should be consistent. 2006-09-28 11:30 king * Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.cxx, Source/cmAddCustomTargetCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/check_command_line.c.in: ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786. 2006-09-28 10:41 king * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: ENH: Re-enabling .i rule test on MSYS now that it works. 2006-09-28 10:37 king * Source/: cmGlobalMSYSMakefileGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.h: BUG: MSYS makefile shell needs posix paths to executables in some cases and it does not hurt to do it always. 2006-09-28 09:49 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx: BUG: Do not filter system directories for include file dependencies. 2006-09-28 02:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-27 16:20 king * Source/cmCustomCommand.cxx: COMP: Fix init order. 2006-09-27 16:14 king * Source/cmCommandArgumentParserHelper.cxx: BUG: One should be able to escape the @ symbol. 2006-09-27 15:26 king * Source/cmCustomCommand.cxx: BUG: The copy constructor should copy the escape settings. 2006-09-27 14:27 king * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: ENH: Re-enable preprocessing target test but specifically disable it on broken platforms. 2006-09-27 13:43 king * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h, kwsys/ProcessWin32.c, kwsys/System.c, kwsys/System.h.in: ENH: Re-implemented command line argument shell quoting to support several platforms with one code base. 2006-09-27 13:30 alex * Modules/: FindPythonInterp.cmake, FindPythonLibs.cmake: ENH: apply patch from Dirk Mueller to support Python 2.5 Alex 2006-09-27 12:55 king * Source/cmDependsC.cxx: STYLE: Fixed line-too-long. 2006-09-26 08:04 andy * Source/cmDependsC.cxx: BUG: Handle header file dependencies for objective C 2006-09-26 02:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-25 18:33 king * Source/cmCommandArgumentLexer.cxx: COMP: Removed yyunput function to avoid warning. 2006-09-25 14:01 king * Source/cmCommandArgumentLexer.cxx: COMP: Restoring previous AIX fix. 2006-09-25 10:22 king * Source/cmLocalGenerator.cxx, Tests/CustomCommand/CMakeLists.txt: BUG: Disable new shell escape code until backward compatibility can be established in the new implementation. 2006-09-25 10:05 king * Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentLexer.h, Source/cmCommandArgumentLexer.in.l, Tests/StringFileTest/CMakeLists.txt: BUG: Character + should be valid in a variable name. 2006-09-25 02:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-24 10:28 king * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: BUG: Disable new test_preprocess target until it is fixed on OSX universal binaries and mingw. 2006-09-24 02:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-23 17:09 king * Docs/: cmake-indent.vim, cmake-syntax.vim: ENH: Adding elseif to VIM syntax and indentation files. See bug #3781. 2006-09-23 16:55 king * Tests/: Complex/Library/CMakeLists.txt, Complex/Library/test_preprocess.cmake, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/test_preprocess.cmake, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/test_preprocess.cmake: ENH: Adding test for running preprocessor rules. 2006-09-23 16:32 king * Docs/cmake-mode.el: ENH: Adding elseif indentation. See bug#3781. 2006-09-23 14:41 andy * Source/CPack/cmCPackZIPGenerator.cxx: BUG: Attempt to fix winzip problems 2006-09-23 02:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-22 11:49 martink * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: ENH: added test for elseif 2006-09-22 11:23 martink * Source/: cmCommands.cxx, cmElseIfCommand.cxx, cmElseIfCommand.h, cmIfCommand.cxx, cmIfCommand.h: ENH: added elseif 2006-09-22 08:42 king * Tests/CustomCommand/CMakeLists.txt: COMP: Need ANSI C flags to build check_command_line.c. 2006-09-22 02:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-21 17:21 king * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: Fix shadowed local variable created by previous cmake_force change. 2006-09-21 16:11 king * Tests/CustomCommand/: CMakeLists.txt, check_command_line.c.in: ENH: Adding test for non-trivial custom command line arguments. This is for bug#3786. 2006-09-21 16:10 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.h: BUG: Enabled use of EscapeForShell to properly escape custom command lines. This addresses bug#3786 for Xcode. 2006-09-21 15:35 king * Source/cmLocalGenerator.cxx: BUG: Need to escape spaces in custom command line arguments. 2006-09-21 15:30 king * Source/cmLocalGenerator.cxx: BUG: Do not escape parens because we need to be able to reference make variables in the scripts. 2006-09-21 15:14 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h: BUG: Centralized generation of command line arguments in escaped form. This addresses bug#3786 for several platforms. 2006-09-21 15:09 andy * Source/CPack/cmCPackZIPGenerator.cxx: ENH: Handle zip (command line was too long) 2006-09-21 14:46 king * Source/kwsys/System.c: BUG: Windows_ShellArgument: need to escape if the string contains one of a set of special characters as well as spaces. Moved test for needing escapes to a separate method kwsysSystemWindowsShellArgumentNeedsEscape. 2006-09-21 13:47 king * bootstrap: ENH: Added System component of kwsys. 2006-09-21 11:49 king * Source/kwsys/: CMakeLists.txt, ProcessWin32.c, System.c, System.h.in: ENH: Adding 'System' component of C sources to hold system tools written in C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize. 2006-09-21 10:04 king * Source/kwsys/SharedForward.h.in: ENH: Added KWSYS_SHARED_FORWARD_OPTION_COMMAND option to allow users to replace the command executed. Extended documentation at top of file. 2006-09-21 02:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-20 12:13 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: cmake_force needs to be written into build.make as well as Makefile. 2006-09-20 02:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-19 16:11 alex * Modules/: COPYING-CMAKE-SCRIPTS, FindASPELL.cmake, FindBZip2.cmake, FindHSPELL.cmake, FindJasper.cmake, FindLibXml2.cmake, FindLibXslt.cmake, FindOpenSSL.cmake: ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, jasper (jpeg2000), libxml2 and libxslt and openssl and the accompanying license (BSD) Alex 2006-09-19 02:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-18 17:55 alex * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake: ENH: two macros to check whether the C/CXX compiler supports a given flag: CHECK_CXX_COMPILER_FLAG("-Wall" COMPILER_SUPPORTS_WALL) Alex 2006-09-18 09:40 king * Modules/Platform/QNX.cmake: ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-18 02:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-17 09:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-16 11:54 king * Source/cmDependsC.cxx: STYLE: Fixed line-too-long. 2006-09-16 11:52 king * Source/cmLocalGenerator.cxx: BUG: Do not look for linker language unless it is needed. 2006-09-16 11:47 king * Modules/Platform/SunOS.cmake: BUG: Need -Wl, to pass linker flags when using gcc on Sun. 2006-09-16 09:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-15 15:19 king * Modules/Platform/AIX.cmake: ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-15 15:18 king * Modules/Platform/HP-UX.cmake: STYLE: Updated comment about link type flags and passing directly to ld. 2006-09-15 15:14 king * Modules/Platform/HP-UX.cmake: BUG: Fix CMAKE_SHARED_*_LINK_*_C_FLAGS to pass link type selection flags directly to the linker. 2006-09-15 15:05 king * Modules/Platform/SunOS.cmake: ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-15 14:58 king * Modules/Platform/: FreeBSD.cmake, HP-UX.cmake: ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-15 14:31 king * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, Complex/Library/CMakeLists.txt, Complex/Library/TestLink.c, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/TestLink.c, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/TestLink.c: ENH: Added test for linking to a static library that is next to a shared library. See bug#1644 for related changes. 2006-09-15 14:08 king * Modules/CMakeCXXInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/Platform/Linux.cmake, Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/SystemInformation/SystemInformation.in: ENH: Adding support to link specifically to an archive or a shared library based on the file name specified. This fixes the problem of having -lfoo linking to libfoo.so even when it came from libfoo.a being specified. 2006-09-15 14:02 king * Modules/CMakeFortranInformation.cmake: STYLE: Removing unused platform variable CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS. It does not make sense because nothing links to shared modules. 2006-09-15 09:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-14 09:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-13 12:43 king * Source/: cmDependsC.cxx, cmDependsC.h: ENH: Patch from Alex to speed dependency scanning approximately 2x. 2006-09-13 11:39 king * Source/cmAddCustomTargetCommand.cxx: ENH: Added diagnosis of bad target names. 2006-09-13 11:22 king * Modules/FindwxWidgets.cmake: BUG: Patch from Peter Visser to run wx-config from an MSYS prompt. 2006-09-13 08:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-12 10:21 hoffman * Source/cmMakefileTargetGenerator.cxx: ENH: put the if in the right place 2006-09-12 10:03 hoffman * Source/cmMakefileTargetGenerator.cxx: ENH: fix for BUG: #739 again, makefiles did not depend on external full path libraries 2006-09-12 09:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-10 22:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-09 21:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-08 22:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-08 10:42 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: BUG: Fixed ordering of code generated in Makefile and build.make files to make sure .SUFFIXES rule comes as early as possible. Also cleaned up documentation in generated files. 2006-09-08 10:39 king * Source/cmInstallCommand.cxx: STYLE: Fixed line-too-long. 2006-09-08 09:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-07 10:05 king * Source/cmInstallCommand.cxx: ENH: Patch from Toni Timonen to allow cross-compiling of DLLs. 2006-09-07 08:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-06 09:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-06 08:31 hoffman * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fixes from Clinton to allow qt to work with static libs 2006-09-05 09:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-04 09:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-03 09:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-02 10:51 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Patch from Alex to fix name of includecache files to not look like source files. 2006-09-02 09:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-09-01 09:51 king * Source/: cmBuildNameCommand.h, cmExecProgramCommand.h, cmGlobalGenerator.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmInstallTargetsCommand.h, cmLinkLibrariesCommand.h, cmMakeDirectoryCommand.h, cmRemoveCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: STYLE: Fixed line-too-long warning. 2006-09-01 08:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-31 16:40 king * Source/cmAddSubDirectoryCommand.cxx: BUG: Fix automatic computation of binary path to work for subdirectories of out of source directories. This addresses bug#3592. 2006-08-31 14:09 king * Source/: cmDependsC.cxx, cmDependsC.h, cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: ENH: Make sure all custom command outputs are up to date before scanning dependencies. This avoids the need to pass a list of generated files to the dependency scanning code and to rescan after the files have been generated. Currently there is no notion of implicit dependencies of the custom commands themselves so this design is safe. We only need to make sure implicit dependencies are up to date before the make process for the /build part of a target is executed because only this process loads them. This is a step towards fixing bug#3658. 2006-08-31 13:20 king * Source/: cmBuildNameCommand.h, cmCommand.h, cmExecProgramCommand.h, cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmInstallTargetsCommand.h, cmLinkLibrariesCommand.h, cmMakeDirectoryCommand.h, cmRemoveCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: ENH: Patch from Alex to add IsDiscouraged method for future use in generating separate documentation for old commands. Also modified documentation of MAKE_DIRECTORY and REMOVE commands to indicate they should not be used. 2006-08-31 10:47 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx, cmInstallTargetsCommand.cxx: ENH: Do not generate install target unless some INSTALL or INSTALL_* commands have been used. This addresses bug#2827. 2006-08-31 10:46 king * Modules/CMakeDetermineRCCompiler.cmake: BUG: Need to search for rc by default, not c++ compilers. 2006-08-31 09:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-30 13:59 king * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cmake: COMP: Fix try-compile to fail properly on HP. 2006-08-30 13:51 alex * Modules/FindQt3.cmake: ENH: automatically find Qt3 on SUSE, patch from Dirk Mueller and Stephan Kulow Alex 2006-08-30 13:47 alex * Modules/FindPNG.cmake: ENH: also look in /usr/local/include/libpng (OpenBSD) ENH: error out with FATAL_ERROR if REQUIRED was given but png hasn't been found Alex 2006-08-30 10:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-29 16:08 king * Source/cmGlobalKdevelopGenerator.cxx: ENH: Patch from Alex to fix current working directory when running executables built in KDevelop. 2006-08-29 15:08 king * Source/cmInstallCommand.h: ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572. 2006-08-29 15:04 king * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572. 2006-08-29 13:59 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineFortranCompiler.cmake, CMakeDetermineRCCompiler.cmake: BUG: Search for the compiler only once and store a full path to it in the cache. This avoids problems with the case of locations in the PATH variable on Windows that change the compiler name when CMake is re-run. CMakeFiles/CMake*Compiler.cmake files should hold the full path to the compiler always. 2006-08-29 12:55 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: BUG: bad progress for named top level targets 2006-08-29 10:27 king * Source/cmStandardIncludes.h: COMP: Fix warnings in system headers on VS6. 2006-08-29 10:03 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: Adding install/local global target for Makefile generators. This runs installation only in the current directory and not subdirectories. 2006-08-29 09:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-28 08:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-27 15:52 alex * Modules/: KDE3Macros.cmake, kde3uic.cmake: BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when running uic (the kde plugin dir wasn't used) Alex 2006-08-27 15:34 alex * Modules/FindKDE3.cmake: STYLE: remove unnecessary /usr/local/include search path Alex 2006-08-27 13:59 alex * Modules/FindQt3.cmake: BUG: #3514: qt-mt3.lib wasn't found on windows STYLE: remove some (now) unnecessary /usr/lib, /usr/local/lib, /usr/include and /usr/local/include search paths Alex 2006-08-27 13:23 king * Source/cmStandardIncludes.h: COMP: Use new KWSys IOStream component to help print large file size integer types to streams. 2006-08-27 13:17 king * Source/kwsys/: CMakeLists.txt, IOStream.cxx, IOStream.hxx.in, kwsysPlatformCxxTests.cxx: ENH: Adding KWSys component IOStream to provide help with broken C++ stream libraries. 2006-08-27 13:15 king * Source/: cmFileCommand.cxx, CPack/cmCPackNSISGenerator.cxx: COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl. 2006-08-27 12:35 king * Source/kwsys/Glob.hxx.in: BUG: Need to undefine temporary macros defined at top of file. 2006-08-27 11:25 king * Source/kwsys/kwsysPlatformCxxTests.cmake: BUG: When a try-run fails to compile create the run result cache entry with a bogus non-zero return value to avoid running the test again. 2006-08-27 11:19 alex * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake: STYLE: fix #3519 (incorrect comment) Alex 2006-08-27 11:14 alex * Modules/FindKDE3.cmake: BUG: fix comment (#3511) Alex 2006-08-27 10:19 alex * Modules/KDE3Macros.cmake: BUG: apply patch from bero (#3518) so that DESTDIR is supported for installing icons Alex 2006-08-27 09:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-27 09:34 alex * Modules/FindKDE3.cmake: ENH: #3225: first check the special paths, the the default path, also for searching kde-config Alex 2006-08-26 16:14 king * Source/kwsys/SystemTools.cxx: BUG: GetLineFromStream should remove carriage return characters to make sure newlines do not get duplicates. 2006-08-26 15:17 king * Source/kwsys/kwsysPlatformCxxTests.cmake: BUG: Fix location of CMakeOutput.log and CMakeError.log. 2006-08-26 14:43 king * Source/cmMakefile.cxx: BUG: Reverting previous change until it is further tested. 2006-08-26 14:37 king * Source/cmMakefile.cxx: BUG: ConfigureFile must read/write in binary mode to avoid windows newline trouble. The problem occurred when configuring a file in cygwin from a path starting with a windows drive letter instead of a posix path. 2006-08-26 10:28 king * Source/: cmIfCommand.cxx, cmListCommand.cxx: STYLE: Fixed line-too-long. 2006-08-26 10:22 king * Source/cmLocalVisualStudio7Generator.cxx: STYLE: Fixed line-too-long. 2006-08-26 09:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-25 22:56 king * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: Fix for VS.NET 2003 SP1 to make sure global target and utility target rules run every time. 2006-08-25 22:56 king * Source/cmGlobalGenerator.cxx: BUG: Make sure targets of type GLOBAL_TARGET have a makefile set. 2006-08-25 21:21 king * CMakeLists.txt, bootstrap: ENH: Changing default data and doc directories to share/cmake-V.v and doc/cmake-V.v instead of share/CMake and doc/CMake for consistency with many linux distribution conventions. 2006-08-25 20:52 king * bootstrap: COMP: Fix for new kwsys Configure.h.in. 2006-08-25 16:32 king * Source/kwsys/Configure.h.in: COMP: Disable _FILE_OFFSET_BITS check until sys/types.h check is enabled. 2006-08-25 16:31 king * Source/cmIfCommand.cxx, Source/cmIfCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: Patch from Alex for adding IF(FILE_IS_NEWER). I also added a test. 2006-08-25 16:07 king * Source/kwsys/Configure.h.in: ENH: Separate the notion of a request for LFS and its availability. Allow user code to block definitions of LFS macros. Added framework to give error if sys/types.h is included before this header when LFS is requested (currently disabled). 2006-08-25 16:00 king * Source/kwsys/: CMakeLists.txt, Configure.h.in, RequireLargeFilesSupport.cxx, kwsysPlatformCxxTests.cxx: ENH: Moved test for large file support into kwsysPlatformCxxTests.cxx with name KWSYS_LFS_WORKS. 2006-08-25 15:53 king * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cxx: ENH: Switching KWSYS_CHAR_IS_SIGNED test to use KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 15:50 king * Source/kwsys/kwsysPlatformCxxTests.cmake: ENH: Added KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 12:13 king * Source/kwsys/Glob.cxx: ENH: Globbing patterns should not match a slash inside a filename component. 2006-08-25 12:11 king * Source/cmFileCommand.cxx: BUG: Avoid putting double-slashes in fromFile during installation. Also added regex debugging copy of the expression in string form. 2006-08-25 09:14 king * Modules/UseSWIG.cmake: ENH: Added interface to add extra dependencies. 2006-08-25 05:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-24 14:58 king * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y: COMP: Added missing include for malloc on QNX. 2006-08-24 10:57 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Always do tar.Z since we do have compress now builtin 2006-08-24 09:47 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Added code to remove any bad installations of CVS directories before running the test so that one failure does not need manual adjustment to get it to pass again. 2006-08-24 09:34 king * Source/cmStandardLexer.h: COMP: Add missing malloc.h include for QNX. 2006-08-24 09:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-23 18:11 alex * Modules/UseEcos.cmake: ENH: add i386 toolchain and some minor improvement of the comments 2006-08-23 12:02 andy * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentParser.cxx, cmCommandArgumentParser.y, cmDependsJavaLexer.cxx, cmExprLexer.cxx: COMP: Attempt to fix aix build 2006-08-23 10:21 martink * Source/cmIncludeDirectoryCommand.cxx: ENH: fix bad error reporting with not found paths 2006-08-23 10:00 andy * Source/cmStandardIncludes.h: COMP: Add large files support to CMake 2006-08-23 09:47 king * Source/kwsys/Terminal.c: ENH: Added '256color' terminal names. Patch applied from bug#3651. 2006-08-23 09:45 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Centralized generation of targets listed in the help to be done by the code that actually writes the targets. 2006-08-23 09:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-23 08:07 andy * Source/kwsys/CMakeLists.txt: COMP: Support cmake older than 2.4 2006-08-22 18:33 alex * Modules/UseEcos.cmake: STYLE: don't use the hack to copy and rename the created executable under cygwin but instead use the SUFFIX target property (I'll publish a short article about ecos+cmake RSN) Alex 2006-08-22 16:07 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Handle more warnings properly on AIX 2006-08-22 15:51 andy * Source/kwsys/CheckCXXSourceRuns.cmake: COMP: On some project configure may not copy right away 2006-08-22 15:46 andy * Source/kwsys/: CMakeLists.txt, CheckCXXSourceRuns.cmake, CMakeEmptyInputFile.in: COMP: Add missing cmake file 2006-08-22 15:34 andy * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.h.in, Source/kwsys/RequireLargeFilesSupport.cxx: ENH: Support large file systems in kwsys 2006-08-22 10:38 king * Source/: cmDocumentation.cxx, cmInstallCommand.h: BUG: Fixed man page formatting for INSTALL command documentation. Fixed line-too-long warning. 2006-08-22 10:16 andy * Source/: cmListCommand.cxx, cmListCommand.h: BUG: Add missing API 2006-08-22 09:52 andy * Source/cmListCommand.cxx: BUG: Fix error messages and fix remove item to actually remove all instances of the item 2006-08-22 09:20 andy * Source/CPack/cmCPackTarCompressGenerator.cxx: COMP: Remove warnings 2006-08-22 08:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-21 22:39 king * Source/kwsys/Glob.cxx: BUG: Fixed #if test for case-insensitive glob on OSX. 2006-08-21 17:52 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Added check for bad installation of a CVS directory to test. 2006-08-21 17:47 king * Source/: cmFileCommand.cxx, cmInstallCommand.cxx: BUG: Directory installation pattern matching should be case insensitive on some platforms. 2006-08-21 17:37 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Need to execute sample_script.bat on windows and sample_script otherwise. 2006-08-21 17:34 king * Source/kwsys/SystemTools.cxx: BUG: FileIsDirectory should work when the name contains a trailing slash. 2006-08-21 16:55 king * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallDirectoryGenerator.cxx, Source/cmInstallDirectoryGenerator.h, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/scripts/sample_script, Tests/SimpleInstall/scripts/sample_script.bat, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/scripts/sample_script, Tests/SimpleInstallS2/scripts/sample_script.bat: ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691. 2006-08-21 14:17 king * Source/kwsys/: Glob.cxx, Glob.hxx.in: ENH: Exposed pattern->regex API. Cleaned up and commented implementation of pattern->regex conversion. 2006-08-21 12:37 andy * Source/: CMakeLists.txt, CPack/cmCPackTarCompressGenerator.cxx, CPack/cmCPackTarCompressGenerator.h: ENH: Implement TarCompress generator using compress library 2006-08-21 10:49 king * Source/cmFileCommand.cxx: BUG: RENAME option should be allowd for INSTALL(PROGRAMS) too. 2006-08-21 10:10 hoffman * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake, CheckCXXSourceCompiles.cmake, CheckCXXSourceRuns.cmake: ENH: fixs for check compile stuff from Oswald B. 2006-08-21 08:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-20 06:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-19 06:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-18 08:57 king * Source/: cmAddCustomTargetCommand.h, cmStandardLexer.h: STYLE: Fixed line-too-long style errors. 2006-08-18 08:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-17 16:40 hoffman * Source/CMakeLists.txt: ENH: fix project names to be case sensitive and change name to linkline from inkline 2006-08-17 15:42 king * Source/cmFileCommand.cxx: BUG: Bundle installation needs all file permissions to be preserved from the build tree. 2006-08-17 15:06 king * Source/cmAddCustomTargetCommand.h: ENH: Making documentation even less ambiguous since some users still think this command can generate a file with dependencies. 2006-08-17 14:48 king * Source/: CMakeLists.txt, cmFileCommand.cxx, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallDirectoryGenerator.cxx, cmInstallDirectoryGenerator.h, cmInstallFilesGenerator.cxx, cmInstallFilesGenerator.h, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH: Started implementing INSTALL(DIRECTORY) command mode. This is not yet finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions. 2006-08-17 12:07 king * Source/cmFileCommand.cxx: ENH: Fix directory installation to properly deal with trailing slash names (using the rsync convention for whether the last directory name is included in naming the destination directory). 2006-08-17 12:04 martink * Utilities/cmcompress/cmcompress.c: ENH: reorder code to remove forward declarations 2006-08-17 12:02 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added JoinPath overload that accepts an iterator range. 2006-08-17 09:45 king * Utilities/cmcompress/cmcompress.c: COMP: Fixed linkage specifier consistency warning. 2006-08-17 09:36 king * Modules/InstallRequiredSystemLibraries.cmake: ENH: Implemented support for installing VC8 runtime libraries. 2006-08-17 09:35 king * Utilities/Release/Release.cmake: BUG: Removed code that is now in Modules/InstallRequiredSystemLibraries.cmake. 2006-08-17 07:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-16 14:22 hoffman * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.h, cmDependsFortranLexer.in.l: ENH: revert change in parser as it sent the parser into an infinite loop 2006-08-16 08:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-15 15:33 king * Modules/CMakeVCManifest.cmake, Modules/Platform/Windows-cl.cmake, Source/cmLocalVisualStudio7Generator.cxx: ENH: Adding flags to force generation of manifest files when building with VC 8. 2006-08-15 15:28 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx: BUG: Need to clean manifest files that may have been generated for .exe and .dll files. 2006-08-15 12:00 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx: BUG: Added object language to list of object files in a local generator's directory. Fixed generation of preprocessing and assembly rules to be done only for C and C++ objects. 2006-08-15 10:56 hoffman * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.h, cmDependsFortranLexer.in.l: ENH: change comment for fortran depend parsing 2006-08-15 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-14 17:30 hoffman * Utilities/cmcompress/cmcompress.c: ENH: remove c++ comments from c code 2006-08-14 17:02 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: do not use OBJROOT or you can get two copies of executables 2006-08-14 14:16 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: add newline for some versions of make 2006-08-14 11:32 andy * Utilities/cmcompress/cmcompress.c: COMP: Remove warnings 2006-08-14 10:59 andy * Utilities/cmcompress/cmcompress.c: COMP: Remove more warnings 2006-08-14 10:51 andy * Source/: cmMakefileTargetGenerator.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestStartCommand.cxx: ENH: fix for no newline on some makes fix for ctest and some symlinks 2006-08-14 09:58 andy * Utilities/cmcompress/: cmcompress.c, cmcompress.h: COMP: Remove some warnings and make library report an error instead of call exit 2006-08-14 09:50 hoffman * Source/kwsys/SystemTools.cxx: ENH: still escape () but do not escape 2006-08-14 08:54 andy * CMakeLists.txt: ENH: Start building compress library 2006-08-14 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-13 07:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-12 07:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-11 10:54 martink * Source/kwsys/SystemTools.cxx: ENH: fix for AddKeepPath not calling realpath 2006-08-11 09:56 hoffman * Source/kwsys/SystemTools.cxx: ENH: escape ( and ) in unix paths 2006-08-11 07:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-10 23:20 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: fix error in if statement 2006-08-10 15:17 david.cole * Source/kwsys/SystemTools.cxx: BUG: strlen logic was backwards resulting in function body never actually executing... when called with valid strings, it was always doing nothing and returning false... now it works as expected. 2006-08-10 11:05 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: ENH: only change the cache if the value was really changed 2006-08-10 09:38 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: fix failing tests 2006-08-10 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-09 13:59 king * Modules/Platform/AIX.cmake: ENH: Enabling preprocessed source and asembly source generation rules on AIX compilers. 2006-08-09 13:45 king * Modules/Platform/Windows-cl.cmake: ENH: Enabled generation of preprocessed and assembly source rules for MSVC with NMake. 2006-08-09 13:14 king * Modules/Platform/: IRIX.cmake, IRIX64.cmake: ENH: Enabling preprocessed source and asembly source generation rules on SGI MIPSpro compilers. 2006-08-09 13:10 king * Modules/Platform/HP-UX.cmake: ENH: Enabling preprocessed source and asembly source generation rules on HP aCC and cc. 2006-08-09 11:48 king * Modules/Platform/SunOS.cmake: ENH: Enabling preprocessed source and asembly source generation rules on Sun CC. 2006-08-09 11:43 king * Modules/Platform/gcc.cmake, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileTargetGenerator.cxx: ENH: Changed preprocessed source extension to .i and assembly extension to .s for more portability. 2006-08-09 11:32 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: try to fix compress failure 2006-08-09 09:56 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Added options CMAKE_SKIP_PREPROCESSED_SOURCE_RULES and CMAKE_SKIP_ASSEMBLY_SOURCE_RULES to allow projects to disable generation of .E and .S rules. 2006-08-09 09:45 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l, cmStandardLexer.h: COMP: Fix warnings produced by the change in include order from the re-organization of lexer code. 2006-08-09 07:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-08 15:55 hoffman * Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: add cmake output to build and test 2006-08-08 14:00 king * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l, cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l, cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l, cmExprLexer.cxx, cmExprLexer.in.l, cmListFileLexer.c, cmListFileLexer.in.l, cmStandardLexer.h: COMP: Moved duplicate flex-generated lexer warning suppression and cross-platform support code to a single cmStandardLexer.h included by all lexer sources. Added fix for macro redefinitions on Borland 5.8 compiler. 2006-08-08 13:44 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: make sure RuleVariable struct is initialized correctly, also make sure custom command targets do not crash cmake 2006-08-08 13:02 king * Source/cmMakefileLibraryTargetGenerator.cxx: STYLE: Fixed line length. 2006-08-08 11:26 king * Source/cmLocalVisualStudioGenerator.cxx: BUG: Duplicate object name detection should not be case sensitive since this code is used on Windows file systems. This addresses bug#3589. 2006-08-08 07:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-07 23:25 king * Modules/Platform/gcc.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefileTargetGenerator.cxx: ENH: Added generation of rules to manually request preprocessed or generated assembly sources. 2006-08-07 17:22 king * Source/cmake.cxx: ENH: Added undocumented option -E cmake_unimplemented_variable to help print useful error messages for unimplemented features on a given platform. 2006-08-07 10:10 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: finally fix the failing test on the dashboard for the past month or so 2006-08-07 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-06 07:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-05 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-04 10:35 hoffman * Utilities/cmtar/CMakeLists.txt: ENH: give up on try run 2006-08-04 08:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-03 15:20 hoffman * Modules/CheckCXXSourceRuns.cmake: ENH: add a try run source code macro 2006-08-03 14:38 hoffman * Modules/CheckCSourceRuns.cmake: ENH: fix error 2006-08-03 14:36 hoffman * Modules/CheckCSourceRuns.cmake, Utilities/cmtar/CMakeLists.txt: ENH: fix for makedev three args test 2006-08-03 13:51 hoffman * Utilities/cmtar/CMakeLists.txt: ENH: use try run source 2006-08-03 13:41 hoffman * Utilities/cmtar/CMakeLists.txt: ENH: change to a try run so that it will fail on the sun 2006-08-03 13:41 hoffman * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake: ENH: add a crun macro and fix the output log for compile c 2006-08-03 09:42 king * Source/: cmMakefileLibraryTargetGenerator.cxx, cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH: Added target property CLEAN_DIRECT_OUTPUT to not clean all forms of a library name so that static and shared libraries of the same name can coexist in a single build directory. 2006-08-03 09:26 king * Source/cmLocalVisualStudioGenerator.cxx, Tests/Complex/Executable/A.txt, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/A.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/A.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt: BUG: Make sure sources with unknown extensions are not compiled by VS. 2006-08-03 09:26 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Moved GetSourceFileLanguage up to cmLocalGenerator. 2006-08-03 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-02 21:30 king * Source/cmInstallTargetGenerator.cxx: STYLE: Fixed long line. 2006-08-02 21:24 hoffman * Utilities/cmtar/CMakeLists.txt: ENH: use dev_t instead of major_t and minor_t 2006-08-02 12:51 david.cole * Utilities/cmtar/CMakeLists.txt: COMP: libtar should build when included in non-CMake projects... 2006-08-02 11:06 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Restoring previous change with a fix. 2006-08-02 07:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-08-01 19:52 hoffman * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: undo change that broke borland 5.6 cont 2006-08-01 16:16 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Moved generation of directory-level object convenience rules to a separate method. This will aid generation of more such rules later. 2006-08-01 16:01 hoffman * Utilities/cmtar/CMakeLists.txt: ENH: make cmake build with older versions of cmake 2006-08-01 15:48 hoffman * Modules/FindQt4.cmake: ENH: fix for qtmain 2006-08-01 15:36 king * Modules/Platform/Linux.cmake, Source/cmInstallTargetGenerator.cxx: BUG: Fixed shared library version support for Fortran. This addresses bug#3558. 2006-08-01 15:26 hoffman * Utilities/cmtar/CMakeLists.txt: ENH: add a try compile test for makedev_three_args 2006-08-01 15:24 hoffman * Modules/: CheckCSourceCompiles.cmake, FindQt4.cmake: ENH: fix for location of error log 2006-08-01 15:16 glehmann * Source/kwsys/Directory.cxx: BUG: #3563. Segmentation fault with non initialized input or NULL pointers. 2006-08-01 14:45 king * Source/kwsys/: Registry.cxx, testCommandLineArguments.cxx, testCommandLineArguments1.cxx, testSystemTools.cxx: COMP: Added missing headers. This partially addresses bug#3556. 2006-08-01 14:34 hoffman * Modules/FindQt4.cmake: ENH: add QtCored as a possible name for qtcore debug 2006-08-01 14:33 king * Source/cmMakefile.cxx: ENH: Added platform identifier for QNXNTO. This partially addresses bug#3556. 2006-08-01 14:31 king * Source/: cmCPluginAPI.cxx, cmLoadCommandCommand.cxx: COMP: Added missing includes. This partially addresses bug#3556. 2006-08-01 14:28 king * Source/kwsys/ProcessUNIX.c: COMP: Use SA_RESTART only if it is defined for the current platform. This partially addresses bug#3556. 2006-08-01 14:10 king * Modules/FindKDE3.cmake: BUG: Fix usage of FIND_PROGRAM command. 2006-08-01 12:27 hoffman * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fix for optimized debug stuff 2006-08-01 11:38 king * Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentLexer.in.l, Source/cmCommandArgumentParser.cxx, Source/cmCommandArgumentParser.y, Source/cmDependsFortranLexer.cxx, Source/cmDependsFortranLexer.in.l, Source/cmDependsFortranParser.cxx, Source/cmDependsFortranParser.y, Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.in.l, Source/cmDependsJavaParser.cxx, Source/cmDependsJavaParser.y, Source/cmExprLexer.cxx, Source/cmExprLexer.in.l, Source/cmExprParser.cxx, Source/cmExprParser.y, Source/cmListFileCache.cxx, Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmSetCommand.cxx, Source/cmStandardIncludes.h, Source/cmTarget.cxx, Source/cmWin32ProcessExecution.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/kwsys/CommandLineArguments.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/testProcess.c, Utilities/cmcurl/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt, Utilities/cmzlib/CMakeLists.txt: COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:26 hoffman * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fix qtmain for release 2006-08-01 10:51 hoffman * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fix qtmain for release 2006-08-01 10:49 king * Tests/: Complex/Executable/A.cxx, Complex/Executable/A.h, Complex/Executable/A.hh, Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/A.cxx, ComplexOneConfig/Executable/A.h, ComplexOneConfig/Executable/A.hh, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/A.cxx, ComplexRelativePaths/Executable/A.h, ComplexRelativePaths/Executable/A.hh, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: Adding test for source files and header files with the same base name in the same target. 2006-08-01 10:48 king * Source/: cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h, cmMakefile.cxx: ENH: Adding .hh file as a C++ header file extension. Remove duplicate code from implementation of unique object name computation for VS generators. This addresses bug#3565. 2006-08-01 09:12 hoffman * Modules/FindQt4.cmake: ENH: put back find qtmain 2006-08-01 07:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-31 16:59 andy * Utilities/cmcompress/: CMakeLists.txt, cmcompress.c, cmcompress.h, compress.c.original: ENH: Initial import 2006-07-31 13:50 martink * Source/kwsys/: SystemTools.hxx.in, testSystemTools.cxx: ENH: better coverage 2006-07-31 11:00 hoffman * Utilities/Release/cmake_release.sh: ENH: move release branch 2006-07-31 10:28 martink * Source/CPack/cpack.cxx: ENH: fix line lengths 2006-07-31 07:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-30 07:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-29 07:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-28 14:47 martink * Source/kwsys/testSystemTools.cxx: BUG: fix some bad code and add a couple more tests 2006-07-28 14:20 martink * Docs/: CMake12p2.rtf, CMake14.rtf, CMake16.rtf: ENH: remove old files 2006-07-28 12:00 hoffman * ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx: ENH: move stuff from main tree 2006-07-28 11:21 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 3557 TargetEnvironment for MIDL Compiler set correctly for 64 bit 2006-07-28 11:13 hoffman * ChangeLog.manual: ENH: changes on branch 2006-07-28 09:22 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Add test for bz2 and check for compress 2006-07-28 09:14 hoffman * Source/kwsys/SystemTools.cxx: ENH: move from main tree 2006-07-28 09:14 andy * Source/CPack/cpack.cxx: BUG: Bail out on generator initialization failure 2006-07-28 08:57 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: move from main tree 2006-07-28 08:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-27 15:02 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Set GCC_SYMBOLS_PRIVATE_EXTERN and GCC_INLINES_ARE_PRIVATE_EXTERN attributes on all projects to prevent -fvisibility=hidden flags. This is needed to make RTTI work by default. 2006-07-27 11:55 andy * Source/CPack/cpack.cxx: BUG: Fix executing and help 2006-07-27 11:27 king * Source/kwsys/SystemTools.cxx: BUG: Do not block signals during sleep. Leave that up to the application. 2006-07-27 11:26 andy * Source/CPack/cpack.cxx: BUG: Prevent crash when no input file or generator specified 2006-07-27 10:37 hoffman * ChangeLog.manual, bootstrap, Modules/CMakeCommonLanguageInclude.cmake, Modules/CMakeTestCCompiler.cmake, Modules/Platform/Windows-cl.cmake, Source/cmCommandArgumentParserHelper.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Source/CTest/cmCTestTestHandler.cxx, Tests/LoadCommand/LoadedCommand.cxx, Tests/LoadCommand/CMakeCommands/cmTestCommand.c, Tests/LoadCommandOneConfig/LoadedCommand.cxx, Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: move changes from main tree to branch 2006-07-27 09:40 king * Source/CTest/cmCTestHandlerCommand.cxx: BUG: Fix error message when handler cannot be created. 2006-07-27 08:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-26 14:46 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix comment 2006-07-26 14:10 andy * bootstrap, Modules/CMakeTestCCompiler.cmake: COMP: More warnings and hp issues 2006-07-26 13:19 hoffman * Modules/CMakeCommonLanguageInclude.cmake: BUG: fix for 3550 again 2006-07-26 11:46 andy * bootstrap, Modules/CMakeTestCCompiler.cmake, Source/cmCommandArgumentParserHelper.cxx, Source/cmIncludeDirectoryCommand.cxx, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Source/CTest/cmCTestTestHandler.cxx: COMP: Handle both ansi and non-ansi C 2006-07-26 11:15 hoffman * Modules/Platform/Windows-cl.cmake: BUG: fix for bug 3550, for release builds do not build incremental 2006-07-26 10:11 hoffman * bootstrap: ENH: put back so it works on hp 2006-07-26 09:11 hoffman * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: do not use c++ comments in c code 2006-07-26 08:35 hoffman * CTestCustom.ctest.in, ChangeLog.manual, bootstrap, Modules/CMakeImportBuildSettings.cmake, Modules/Platform/Windows-cl.cmake, Source/cmLocalVisualStudio7Generator.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/testSystemTools.cxx, Tests/LoadCommand/CMakeCommands/cmTestCommand.c, Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: move changes from main tree 2006-07-26 07:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-25 15:18 king * Source/kwsys/SystemTools.cxx: BUG: Mask signals during SystemTools::Delay to avoid interrupted sleep. 2006-07-25 14:32 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: remove command causing issues with mid build reruns of cmake on vs70 2006-07-25 14:15 martink * Source/kwsys/testSystemTools.cxx: COMP: fix compile issue 2006-07-25 12:38 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: trying a slight change 2006-07-25 12:08 martink * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in, testSystemTools.cxx: BUG: some bug fixes, better docs, and more coverage 2006-07-25 11:00 andy * bootstrap: COMP: Remove warning 2006-07-25 10:46 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: remove c++comments 2006-07-25 10:01 hoffman * Source/CPack/cmCPackGenerators.cxx: ENH: remove uncompiled header 2006-07-25 08:27 hoffman * CTestCustom.ctest.in: ENH: try to get rid of clock skew warning 2006-07-25 08:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-24 16:58 hoffman * Modules/CMakeImportBuildSettings.cmake: ENH: fix for case difference with nmake 2006-07-24 16:35 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: temp fix 2006-07-24 16:13 martink * Modules/Platform/Windows-cl.cmake: BUG: fix for CXX only projects 2006-07-24 15:40 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: add more coverage 2006-07-24 11:27 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, kwsys/SystemTools.cxx: ENH: allow for source tree to be in root directory 2006-07-24 11:19 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CPack.cmake, Modules/FindBoost.cmake, Modules/FindKDE4.cmake, Modules/FindOpenGL.cmake, Modules/FindwxWidgets.cmake, Modules/FindwxWindows.cmake, Modules/Use_wxWindows.cmake, Modules/UsewxWidgets.cmake, Modules/readme.txt, Source/CMakeLists.txt, Source/cmBuildCommand.cxx, Source/cmCTest.cxx, Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmFindLibraryCommand.cxx, Source/cmFindPackageCommand.cxx, Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmLocalVisualStudioGenerator.cxx, Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmSetSourceFilesPropertiesCommand.cxx, Source/cmStandardIncludes.h, Source/cmake.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestConfigureCommand.cxx, Source/CTest/cmCTestHandlerCommand.cxx, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestStartCommand.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestUpdateCommand.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/CommandLineArguments.cxx, Source/kwsys/CommandLineArguments.hxx.in, Source/kwsys/Glob.cxx, Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/Terminal.c, Source/kwsys/kwsys_ios_iostream.h.in, Source/kwsys/testCommandLineArguments.cxx, Source/kwsys/testCommandLineArguments1.cxx, Tests/BundleTest/BundleLib.cxx, Tests/BundleTest/CMakeLists.txt, Tests/BundleTest/BundleSubDir/CMakeLists.txt, Tests/CTestTest/test.cmake.in, Tests/CxxOnly/CMakeLists.txt, Tests/CxxOnly/cxxonly.cxx, Tests/CxxOnly/libcxx1.cxx, Tests/CxxOnly/libcxx1.h, Tests/CxxOnly/libcxx2.cxx, Tests/CxxOnly/libcxx2.h, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommand/LoadedCommand.cxx.in, Tests/LoadCommand/CMakeCommands/cmTestCommand.c, Tests/LoadCommandOneConfig/CMakeLists.txt, Tests/LoadCommandOneConfig/LoadedCommand.cxx.in, Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c, Tests/OutOfSource/simple.cxx, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx, Utilities/cmcurl/Testing/ftpget.c, Utilities/cmcurl/Testing/ftpgetresp.c, Utilities/cmcurl/Testing/ftpupload.c, Utilities/cmtar/block.c, Utilities/cmtar/libtar.c, Utilities/cmtar/compat/strlcpy.c, Utilities/cmtar/listhash/list.c.in: ENH: move changes from main tree to release branch 2006-07-24 09:43 martink * Tests/CTestTest/test.cmake.in: ENH: more coverage 2006-07-24 08:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-23 07:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-22 08:11 king * Modules/CMakeDetermineCXXCompiler.cmake: BUG: CMAKE_AR should be advanced. 2006-07-22 08:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-21 15:43 king * Modules/FindwxWidgets.cmake, Modules/FindwxWindows.cmake, Modules/Use_wxWindows.cmake, Modules/UsewxWidgets.cmake, Source/CMakeLists.txt: ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 2006-07-21 15:20 king * Utilities/Release/config_Darwin: ENH: Do not include experimental WXDialog in release. 2006-07-21 15:16 king * Modules/readme.txt: ENH: Added documentation about XXX_FIND_COMPONENTS for FIND_PACKAGE. 2006-07-21 14:58 martink * Source/: cmCTest.cxx, cmake.cxx: ENH: fix color output inside of ctest runs 2006-07-21 14:02 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.cxx.in, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.cxx.in, LoadCommand/LoadedCommand.cxx, LoadCommandOneConfig/LoadedCommand.cxx, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: work around XCode issue 2006-07-21 13:05 andy * Source/cmake.cxx: ENH: Cleanup. Replace c-style cast with static_cast and replace sprintf with cmOStringStream 2006-07-21 12:04 king * Modules/FindBoost.cmake: ENH: Adding FindBoost.cmake module from Andrew Maclean. This addresses bug#3447. 2006-07-21 11:53 king * Modules/CMakeDetermineCXXCompiler.cmake, Source/CMakeLists.txt: BUG: Fixed building of C++-only projects and added a test. 2006-07-21 11:43 king * Tests/CxxOnly/: CMakeLists.txt, cxxonly.cxx, libcxx1.cxx, libcxx1.h, libcxx2.cxx, libcxx2.h: ENH: Adding C++-only test. 2006-07-21 10:26 martink * Tests/: CTestTest/test.cmake.in, LoadCommand/CMakeLists.txt, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: increase coverage in a couple places 2006-07-21 08:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-20 09:35 king * Source/kwsys/Terminal.c: BUG: Do not display VT100 escapes inside emacs even if TERM is set to xterm. 2006-07-20 08:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-19 08:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-18 15:21 king * Source/: cmFindBase.cxx, cmFindBase.h, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx: BUG: If the user specifies a cache entry on the command line without a type, the FIND_* commands should add the type and docstring to the given value and put it back in the cache. 2006-07-18 13:16 king * Modules/readme.txt: STYLE: Added note about singular versus plural name for XXX_INCLUDE_DIRS. Added XXX_LIBRARY_DIRS and XXX_YY_INCLUDE_DIR conventions. 2006-07-18 13:02 king * Source/kwsys/kwsys_ios_iostream.h.in: COMP: Fix references to cin, cout, cerr, and clog in case of HP aCC compiler with -mt flag. 2006-07-18 09:32 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalVisualStudioGenerator.cxx: STYLE: fix long lines 2006-07-18 08:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-17 13:34 king * Source/kwsys/ProcessWin32.c: BUG: When handing the child stdin pipe a file, allow another process to be writing to the file at the same time. This allows children such as tail -f to function properly. 2006-07-17 11:07 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning 2006-07-17 09:15 andy * Source/kwsys/testCommandLineArguments1.cxx: COMP: Only delete once 2006-07-17 08:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-16 21:11 andy * Source/kwsys/: testCommandLineArguments.cxx, testCommandLineArguments1.cxx: COMP: Remove some warnings 2006-07-16 08:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-15 08:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-14 15:02 andy * Source/kwsys/: CMakeLists.txt, CommandLineArguments.cxx, CommandLineArguments.hxx.in, testCommandLineArguments.cxx, testCommandLineArguments1.cxx: ENH: Add a way to get unused arguments and add a test 2006-07-14 13:59 andy * Source/kwsys/CommandLineArguments.hxx.in: COMP: Remove warning 2006-07-14 13:32 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: It does not really makes sense to have Boolean Argument List 2006-07-14 09:13 andy * Source/kwsys/: CMakeLists.txt, CommandLineArguments.cxx, CommandLineArguments.hxx.in, SystemTools.cxx, testCommandLineArguments.cxx: ENH: Add support for multi-arguments: -f arg1 arg2 arg3 ... and support for lists: -f arg1 -f arg2 -f arg3 ... and for boolean to be stored as strings and doubles 2006-07-14 08:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-13 14:03 martink * Source/cmMakefileTargetGenerator.cxx: ENH: added progress to custom commands with comments 2006-07-13 11:30 andy * Utilities/cmtar/listhash/list.c.in: COMP: Remove warning 2006-07-13 09:26 andy * Utilities/cmtar/libtar.c, Utilities/cmtar/compat/strlcpy.c, Utilities/cmtar/listhash/list.c.in, Source/cmStandardIncludes.h, Source/kwsys/SystemTools.cxx: COMP: Remove warnings 2006-07-13 09:13 andy * Source/CTest/cmCTestTestHandler.cxx: STYLE: Fix kwstyle 2006-07-13 09:07 andy * Source/kwsys/Registry.cxx: COMP: Remove warnings 2006-07-13 07:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-12 16:30 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestTestHandler.cxx: ENH: Remove debug 2006-07-12 16:21 andy * Source/kwsys/Registry.cxx: BUG: Fix error conditions 2006-07-12 14:41 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix old compiler issue 2006-07-12 14:15 martink * Source/: cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: BUG: reduce the number of file handles kept open 2006-07-12 13:11 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: added progress for subdir all targets and fixed compiler waring 2006-07-12 09:21 andy * Source/CTest/cmCTestTestHandler.cxx: STYLE: Remove debug 2006-07-12 09:20 andy * Source/kwsys/CommandLineArguments.cxx, Source/kwsys/Glob.cxx, Source/kwsys/Registry.cxx, Source/kwsys/SystemTools.cxx, Utilities/cmtar/block.c, Utilities/cmtar/libtar.c, Utilities/cmtar/compat/strlcpy.c, Utilities/cmtar/listhash/list.c.in: COMP: Remove warnings 2006-07-12 08:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-11 17:10 king * Source/cmFindPackageCommand.cxx: ENH: Added creation of XXX_FIND_COMPONENTS list of all components requested with REQUIRED option. This addresses the feature request in bug#3494. 2006-07-11 16:08 andy * Source/cmCTest.cxx: COMP: Fix stl string access 2006-07-11 15:58 andy * Source/: cmCTest.cxx, CTest/cmCTestConfigureCommand.cxx, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestStartCommand.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateCommand.cxx: BUG: Try to fix the problem of bad test names 2006-07-11 13:23 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: ENH: Made cmLocalVisualStudioGenerator a superclass of cmLocalVisualStudio6Generator. Implemented object file unique naming when multiple sources share the same name. 2006-07-11 11:41 king * Source/: CMakeLists.txt, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h: ENH: Moved unique object file name computation from cmLocalUnixMakefileGenerator3 up to cmLocalGenerator for use by all generators. Created cmLocalVisualStudioGenerator as superclass for all VS generators. Implemented on-demand unique object file name computation for VS 7 generator to avoid slow compiles when all sources are in subdirectories. 2006-07-11 11:08 martink * Source/cmMakefileTargetGenerator.cxx: ENH: fix compile warning 2006-07-11 09:55 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: BUG: changed to progress to make it more flexible and to no relink targets as often 2006-07-11 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-10 07:59 andy * Source/CPack/cmCPackGenericGenerator.cxx: COMP: Remove warnings and style problems 2006-07-10 07:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-10 07:52 andy * Source/: cmMakefileTargetGenerator.cxx, CPack/cpack.cxx: STYLE: Fix some style errors 2006-07-09 13:48 andy * Utilities/cmcurl/Testing/: ftpget.c, ftpgetresp.c, ftpupload.c: COMP: Remove errors 2006-07-09 13:20 andy * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx: ENH: Several cleanups and support for multiple generators 2006-07-09 13:19 andy * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add a copy constructor to copy the values 2006-07-09 13:18 andy * Source/: cmBuildCommand.cxx, cmCTest.cxx: ENH: Pass -C flag to cmake to generate the apropriate build command 2006-07-09 07:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-08 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-07 13:59 andy * Source/CTest/cmCTestScriptHandler.cxx: ENH: Be more verbose 2006-07-07 09:54 king * Tests/OutOfSource/: simple.cxx, OutOfSourceSubdir/CMakeLists.txt, OutOfSourceSubdir/simple.cxx: ENH: Adding test for multiple source files with the same name but different full paths. 2006-07-07 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-06 16:05 andy * Source/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt, Tests/BundleTest/BundleSubDir/CMakeLists.txt: ENH: Improve the test to create a bundle in the subdirectory 2006-07-06 16:04 andy * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmSetSourceFilesPropertiesCommand.cxx: BUG: Several fixes to handle bundle content on Mac OSX 2006-07-06 13:52 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Make the path change more localized to bundles only 2006-07-06 11:35 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Revert the change 1.152 2006-07-06 07:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-05 16:27 andy * Source/cmLocalUnixMakefileGenerator3.cxx, Source/CMakeLists.txt, Tests/BundleTest/BundleLib.cxx, Tests/BundleTest/CMakeLists.txt: BUG: If the source file specified is not in a source tree, do not use full path to the file 2006-07-05 16:21 andy * Modules/FindOpenGL.cmake: ENH: On apple do not look for X11 2006-07-05 10:06 king * Source/kwsys/CMakeLists.txt: ENH: Updated installation options and implementation to use INSTALL command if it is available. This will allow installation component assignment and separate installation of the .dll and .lib on windows. 2006-07-05 08:26 berk * Source/kwsys/CMakeLists.txt: ENH: Adding cmake 2.4 style installation. NOTE: These changes will work on a paraview build only. This file has to updated to be general 2006-07-05 07:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-04 11:06 andy * Modules/CMakeFortranCompiler.cmake.in: ENH: Merge debian changes. Support more fortran extensions 2006-07-04 08:38 alex * Modules/FindKDE4.cmake: ENH: prefer kde4-config over kde-config, since for KDE 4 kde-config will be renamed to kde-config, and so cmake has to prefer this one over the old version Alex 2006-07-04 07:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-03 07:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-02 07:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-07-01 07:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-30 13:51 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: add EHa option 2006-06-30 13:50 hoffman * Modules/MacroAddFileDependencies.cmake, Tests/CustomCommand/config.h.in: ENH: add files from main tree 2006-06-30 13:48 hoffman * CMakeLists.txt, ChangeLog.manual, cmake_uninstall.cmake.in, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeGenericSystem.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CPack.cmake, Modules/CTest.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.c.in, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/FindOpenGL.cmake, Modules/FindQt4.cmake, Modules/FindSDL_sound.cmake, Modules/FindThreads.cmake, Modules/FindVTK.cmake, Modules/FindZLIB.cmake, Modules/KDE3Macros.cmake, Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForSSTREAM.cmake, Modules/TestForSTDNamespace.cmake, Modules/kde3uic.cmake, Modules/Platform/Windows-cl.cmake, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.h, Source/cmAddSubDirectoryCommand.cxx, Source/cmBuildCommand.cxx, Source/cmCacheManager.cxx, Source/cmDepends.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmForEachCommand.cxx, Source/cmForEachCommand.h, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalKdevelopGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMacroCommand.cxx, Source/cmMacroCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmMessageCommand.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTryCompileCommand.cxx, Source/cmTryRunCommand.cxx, Source/cmWhileCommand.cxx, Source/cmWhileCommand.h, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/CTest/cmCTestBuildCommand.cxx, Source/CursesDialog/form/form.priv.h, Source/kwsys/CommandLineArguments.cxx, Source/kwsys/Directory.cxx, Source/kwsys/Directory.hxx.in, Source/kwsys/Process.h.in, Source/kwsys/ProcessUNIX.c, Source/kwsys/ProcessWin32.c, Source/kwsys/Terminal.c, Source/kwsys/kwsysPlatformCxxTests.cmake, Source/kwsys/testProcess.c, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in, Tests/MakeClean/ToClean/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt, Tests/Wrapping/Wrap.c, Tests/Wrapping/fakefluid.cxx, Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/mprintf.c, Utilities/cmcurl/CMake/CheckTypeSize.cmake, Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/append.c, Utilities/cmtar/config.h.in, Utilities/cmtar/extract.c, Utilities/cmtar/handle.c, Utilities/cmtar/compat/fnmatch.c: ENH: merge main tree into branch 2006-06-30 07:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-29 07:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-28 17:00 king * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake: BUG: Make sure try-compile source ends in a newline. 2006-06-28 16:16 hoffman * Source/CPack/cmCPackGenericGenerator.cxx: ENH: remove cerr output 2006-06-28 15:15 martink * Modules/CTest.cmake: BUG: fix typo 2006-06-28 07:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-27 14:26 martink * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: warning fix 2006-06-27 10:24 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for subdir all target after control c 2006-06-27 09:57 hoffman * Source/CursesDialog/form/form.priv.h: ENH: fix ia64 build with aCC 2006-06-27 09:56 hoffman * Source/cmFileCommand.cxx: ENH: fix crash when glob has wrong number of arguments 2006-06-27 07:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-26 15:27 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: When using a working directory for the custom command do not convert paths to be relative to the build directory. 2006-06-26 12:06 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 3444, remove trailing . in lib names 2006-06-26 11:27 martink * Source/cmMakefile.cxx: ENH: fix subdir issue 2006-06-26 10:57 king * Source/cmIfCommand.h: ENH: Clarified documentation of EXISTS and IS_DIRECTORY modes. 2006-06-26 09:46 king * Utilities/Release/README: BUG: Added missing release steps. 2006-06-26 07:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-25 15:18 karthik * Source/kwsys/CommandLineArguments.cxx: BUG: The operator precedence is [] followed by *. Calling this method was causing out of array index segfaults bounds 2006-06-25 07:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-24 07:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-23 07:08 andy * Modules/CTest.cmake: ENH: Default drop method http 2006-06-22 15:37 andy * Source/cmMessageCommand.cxx: ENH: Use CMake's error reporting mechanism 2006-06-22 15:31 andy * Source/: cmMakefile.cxx, cmMakefile.h: ENH: DIsplay the list file stack when displaying errors 2006-06-22 10:35 martink * Source/: cmake.cxx, kwsys/Directory.cxx, kwsys/Directory.hxx.in: ENH: add a higher performance method to get the number of files in a directory 2006-06-22 08:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-21 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-20 13:13 hoffman * Source/cmake.cxx: ENH: avoid crash in sprintf 2006-06-20 09:50 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix line length and warning 2006-06-19 14:57 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Delay relative path configuration until as late as possible to make sure the source/binary dir are set. This is a work-around for lack of a more structured way of creating the global generator. 2006-06-19 11:34 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: fix for dependent targets 2006-06-19 10:07 king * Modules/FindOpenGL.cmake: ENH: Do not search for X11 if it is already found. 2006-06-19 09:49 king * Source/kwsys/ProcessWin32.c: COMP: Fix conversion warning. 2006-06-18 20:05 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: do not use the link script on windows 2006-06-18 11:50 king * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: Do not write link script lines that use the ':' command which is supposed to be a no-op anyway. 2006-06-18 09:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-17 19:32 king * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: Need to use different link script name when relinking. 2006-06-17 07:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-16 16:29 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: warning fix 2006-06-16 15:29 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: cleanup how progress is reported for individual targets to fix an integer math issue 2006-06-16 14:45 andy * Modules/: FindQt4.cmake, MacroAddFileDependencies.cmake: ENH: Updates from KDE 2006-06-16 14:19 martink * Source/cmSetTargetPropertiesCommand.h: ENH: fix line length 2006-06-16 14:02 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: fix for bug 3417 2006-06-16 07:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-15 21:43 hoffman * Modules/CPack.cmake: ENH: add a comment 2006-06-15 16:42 king * Source/cmMakefile.cxx: ENH: Provide access to CMAKE_PATCH_VERSION in CMake code. 2006-06-15 16:37 king * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Pre-install rules for a target should not have target-level dependencies. Each target can be re-linked independently as long as the original targets are up to date. 2006-06-15 16:17 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h, cmake.cxx, cmake.h: ENH: Added generation of link rules into script files executed by a cmake -E command in order to support longer link lines. This is needed only on platforms without response file support and that may have weak shells. 2006-06-15 14:40 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Added Option_Verbatim to run whole command lines directly. 2006-06-15 11:51 martink * Source/: cmGlobalKdevelopGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmake.h: ENH: fix linelength 2006-06-15 10:51 king * Source/: cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h: BUG: Clarified documentation about custom command outputs and custom target dependencies. 2006-06-15 10:24 king * Source/cmMakefile.cxx: ENH: Unknown command invocations should be fatal errors. 2006-06-15 10:12 king * Source/: cmLocalGenerator.cxx, cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH: Added target property INSTALL_RPATH_USE_LINK_PATH to append the linker search path directories not inside the project to the INSTALL_RPATH automatically. The property is initialized by the variable CMAKE_INSTALL_RPATH_USE_LINK_PATH when the target is created. 2006-06-15 09:45 king * Source/cmake.cxx: BUG: Always check dependency integrity whether or not CMake will re-run because the generator no longer checks integrity during generation. 2006-06-15 07:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-14 13:41 hoffman * DartConfig.cmake: ENH: handle the fact the public can no longer do ftp 2006-06-14 12:28 martink * CMakeLists.txt, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/FindQt4.cmake, Modules/FindSDL_sound.cmake, Modules/FindThreads.cmake, Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForSSTREAM.cmake, Modules/TestForSTDNamespace.cmake, Modules/Platform/Windows-cl.cmake, Source/cmCacheManager.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalKdevelopGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmInstallTargetGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmTryCompileCommand.cxx, Source/cmTryRunCommand.cxx, Source/cmake.h, Source/kwsys/kwsysPlatformCxxTests.cmake, Tests/MakeClean/ToClean/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/CMake/CheckTypeSize.cmake: ENH: centralized locaiton of CMakeFiles setting 2006-06-13 10:28 martink * CMake.pdf, CMake.rtf: ENH: removed old out of date files, online and command line help is better 2006-06-13 09:46 martink * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix line length 2006-06-13 08:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-12 15:44 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalVisualStudio7Generator.cxx: ENH: fix line length 2006-06-12 14:21 andy * Modules/CPack.cmake: ENH: Add support for overwriting the name of the file CPackConfig.cmake and CPackSourceConfig.cmake 2006-06-12 13:17 martink * Modules/Platform/Windows-cl.cmake: ENH: removed logo info from the manifest tool 2006-06-12 13:05 king * Source/cmIfCommand.h: BUG: Patch from Miguel A. Figueroa-Villanueva for fixing documentation. 2006-06-12 12:18 martink * Source/cmMakefileTargetGenerator.cxx: ENH: cleanup 2006-06-12 11:40 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx, cmake.cxx: ENH: some cleanup to progress 2006-06-12 10:22 andy * DartConfig.cmake: ENH: Switch to http submission 2006-06-12 07:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-11 07:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-10 08:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-09 15:49 alex * Modules/FindZLIB.cmake: BUG: don't append to ZLIB_NAMES ENH: also check for zdll on windows ENH: honor REQUIRED and QUIETLY Alex 2006-06-09 13:45 hoffman * Source/CPack/: bills-comments.txt, cmCPackCygwinBinaryGenerator.cxx, cmCPackCygwinBinaryGenerator.h, cmCPackGenerators.cxx, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cygwin.readme: ENH: check in partial cygwin generator 2006-06-09 08:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-08 07:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-07 08:47 hoffman * Source/cmakemain.cxx: ENH: add docs for debug trycompile 2006-06-06 12:01 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix /TP for c code 2006-06-06 09:39 hoffman * Source/cmMakefile.cxx: ENH: fix for replacement of @var @ only legal variable names should be replaced 2006-06-06 07:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-05 15:28 king * Source/cmAddSubDirectoryCommand.cxx: COMP: Removed unused variable. 2006-06-05 14:38 king * Source/cmAddSubDirectoryCommand.cxx: BUG: Always check whether a subdirectory is below the top of the source before computing the binary tree automatically. Even when the source is a relative path it may contain ../ which would allow it to be outside the source tree. 2006-06-05 14:32 martink * Source/: cmDependsC.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: ENH: line lengths 2006-06-05 14:13 king * cmake_uninstall.cmake.in: BUG: Use proper signature for EXEC_PROGRAM to get return value of cmake -E remove. Also fixed spelling error in message, and made non-existing files not a fatal error so that the rest of the files are removed. 2006-06-05 13:45 king * Source/: cmFileCommand.cxx, cmFileCommand.h, cmTarget.cxx: ENH: Changing shared library versioned file names on OSX to conform to that platform's convention. 2006-06-05 11:22 king * Source/kwsys/Terminal.c: ENH: Added rxvt-unicode and cygwin terminals for color support. 2006-06-05 07:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-04 07:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-03 18:43 andy * Source/kwsys/Terminal.c: ENH: Handle 'screen' terminal. Thank you Thomas Z. 2006-06-03 18:43 andy * Source/CPack/cmCPackGenericGenerator.cxx: COMP: Remove warning 2006-06-03 09:48 king * Tests/Wrapping/Wrap.c: COMP: More fixes for non-ANSI C compilers. 2006-06-03 09:42 king * Tests/Wrapping/Wrap.c: COMP: Fix for non-ANSI C compilers. 2006-06-03 07:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-06-02 12:19 king * Tests/Wrapping/: Wrap.c, fakefluid.cxx: BUG: Custom commands should actually generate the files they claim to generate. 2006-06-02 11:26 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h: ENH: Display cmake install information when in verbose mode 2006-06-01 15:51 king * Source/: cmBuildCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, CPack/cmCPackGenericGenerator.cxx, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildCommand.cxx: BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles. 2006-06-01 15:08 king * Source/cmInstallTargetGenerator.cxx: BUG: Adjustment of install_name with install_name_tool should account for DESTDIR when specifying the file to be changed. 2006-06-01 14:43 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: Moved generation of the /fast version of GLOBAL_TARGET targets to the proper place in the local generator instead of in the global generator. Also made the install/fast target not depend on the all target. 2006-06-01 14:09 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: BUG: Added /fast targets in subdirectory makefiles. Removed bogus INSTALL_*/fast targets. Also fixed preinstall/fast target. 2006-06-01 13:01 king * Tests/CustomCommand/: CMakeLists.txt, config.h.in, foo.in: ENH: Added test for generation of files listed explicitly as sources but not used during the build of a target. 2006-06-01 11:45 king * Source/: cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h, cmMakefileUtilityTargetGenerator.cxx: BUG: Custom command outputs listed explicitly as source files in a target should be generated whether or not an object file in the target needs them. This useful and makes Makefile builds more consistent with VS IDE builds. 2006-06-01 09:38 hoffman * Utilities/Release/cmake_release.sh: ENH: change the version number to match the release for cygwin 2006-06-01 08:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-31 11:19 martink * Source/: cmForEachCommand.cxx, cmIfCommand.cxx, cmMacroCommand.cxx, cmWhileCommand.cxx: ENH: reduce string construct delete ops 2006-05-31 08:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-30 16:23 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: BUG: Fix progress when total number of source files is less than 100. 2006-05-30 11:15 king * Source/cmake.cxx: BUG: Fixed cmake -E remove return code. 2006-05-30 08:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-29 08:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-28 07:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-27 07:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-26 07:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-25 14:16 king * Modules/CMakeGenericSystem.cmake: ENH: Adding advanced option CMAKE_COLOR_MAKEFILE for makefile generators with default ON. 2006-05-25 14:16 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Slight improvement in genreation time by recording the setting of CMAKE_COLOR_MAKEFILE in an ivar of each local generator at the beginning of generation. This avoids many repeated table lookups. 2006-05-25 11:56 hoffman * Modules/FindQt4.cmake: ENH: add qtmain to findqt 2006-05-25 10:55 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx: BUG: fix to progress for small projects 2006-05-25 10:21 martink * Modules/CTest.cmake: ENH: remove debugging output 2006-05-25 09:47 king * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx, cmake.cxx: BUG: Updated Makefile dependency scanning to provide a full local generator to the dependency scanner to do proper path conversions. This allows the rules written into the depend.make files to use the same relative path conversion as those written into the build.make files. Several previous changes added more and more information for use by the dependency scanner and it was converging to having the full local generator anyway. 2006-05-25 07:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-24 10:13 king * Source/kwsys/ProcessUNIX.c: BUG: Do not leak global table of processes. 2006-05-24 10:09 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: fix compiler warnings and posibly java test 2006-05-24 07:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-23 15:27 king * Source/cmLocalVisualStudio7Generator.cxx: COMP: Added missing include for isspace. 2006-05-23 15:01 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fix parsing of definitions to support REMOVE_DEFINITIONS. 2006-05-23 12:51 king * Source/cmMakefile.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fix REMOVE_DEFINITIONS command to not remove substrings. 2006-05-23 12:38 david.cole * Utilities/cmtar/: CMakeLists.txt, append.c, config.h.in, extract.c, handle.c, compat/fnmatch.c: COMP: Fix warnings on Borland dashboards... 2006-05-23 11:48 king * Source/kwsys/ProcessUNIX.c: ENH: Re-enabling SIGCHLD handling implementation with a fix for Cygwin. 2006-05-23 10:40 king * Modules/FindVTK.cmake: ENH: Add ability to find VTK 5 without user help. 2006-05-23 09:58 king * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Finished fix to bug#3229 and bug#3272. 2006-05-23 09:58 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx: BUG: Fix for spaces in path to build directory with new progress stuff. 2006-05-23 09:11 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMacroCommand.cxx, cmMacroCommand.h, cmMakefileTargetGenerator.cxx, cmake.cxx: ENH: always compile progress 2006-05-23 07:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-22 16:10 martink * Source/cmake.cxx: COMP: fix bootstrap 2006-05-22 16:07 martink * Source/cmake.cxx: COMP: fix mac warning 2006-05-22 15:41 martink * Source/cmake.cxx: ENH: part of the progress reporting checkin 2006-05-22 15:11 king * Source/kwsys/ProcessUNIX.c: BUG: Reverting previous change until it can be fixed on Cygwin. 2006-05-21 14:06 hoffman * Source/cmMakefile.cxx: ENH: fix line length 2006-05-21 10:28 king * Source/kwsys/testProcess.c: ENH: Added test 8 to test grandchildren running after children exit. 2006-05-21 10:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-21 10:27 king * Source/kwsys/ProcessWin32.c: BUG: Fixed deadlock condition when grandchildren are running after the children exit. 2006-05-21 10:26 king * Source/kwsys/ProcessUNIX.c: ENH: Implemented handling of SIGCHLD to detect the termination of immediate children. This allows grandchildren to remain running after the children exit. 2006-05-20 18:50 king * Source/kwsys/ProcessUNIX.c: ENH: Enabling process tree killing on Cygwin. 2006-05-20 08:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-19 16:57 alex * Modules/: FindQt4.cmake, KDE3Macros.cmake, kde3uic.cmake: BUG: kde3: use QT_UIC_EXECUTABLE instead of simply uic BUG: use qouting for the path to Qt4 moc and uic, should help with paths with spaces Alex 2006-05-19 15:53 hoffman * Utilities/Release/: create-cmake-release.cmake, dashmacmini2_release.cmake: ENH: release scripts 2006-05-19 15:51 hoffman * Utilities/cmcurl/mprintf.c: ENH: fix for uclibc 2006-05-19 13:02 hoffman * Source/: cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: fix for vtk 4.4 and other projects that may try to link to a module 2006-05-19 09:36 martink * Source/cmIfCommand.cxx: COMP: fix warning 2006-05-19 08:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-18 23:24 hoffman * Source/: cmake.cxx, cmakemain.cxx: ENH: fix crashes when command line arguments are not followed by the correct number of arguments 2006-05-18 14:35 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix issue with too many fast targets being listed 2006-05-18 13:50 martink * Source/: cmForEachCommand.cxx, cmForEachCommand.h, cmIfCommand.cxx, cmWhileCommand.cxx, cmWhileCommand.h: ENH: allow loose loop constructs 2006-05-18 10:28 king * Modules/CheckIncludeFile.c.in: BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 2006-05-18 08:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-17 08:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-16 14:04 hoffman * ChangeLog.manual, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmListCommand.cxx, Source/cmListCommand.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileExecutableTargetGenerator.cxx: ENH: move changes from main tree to branch 2006-05-16 13:41 king * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Added missing cd command before running executable version symlink rule. This addresses bug#3229. 2006-05-16 13:23 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix warning 2006-05-16 09:54 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: fix rebuild problem with xcode and universal binaries 2006-05-16 08:42 andy * Source/: cmListCommand.cxx, cmListCommand.h: STYLE: Fix style 2006-05-16 08:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-15 18:05 hoffman * ChangeLog.manual, Source/cmDependsFortranParser.h, Source/cmDependsJavaParser.cxx, Source/cmExprParser.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmListCommand.cxx, Source/cmListCommand.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmQTWrapCPPCommand.h, Source/cmake.cxx, Tests/CMakeTests/ListTest.cmake.in: ENH: merge from main tree 2006-05-15 13:47 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: PERF: performance improvement 2006-05-15 13:02 andy * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmake.cxx: ENH: Add simple progress reporting during make 2006-05-15 10:19 martink * Source/: cmDependsFortranParser.h, cmDependsJavaParser.cxx, cmExprParser.cxx, cmLocalUnixMakefileGenerator3.cxx, cmQTWrapCPPCommand.h: STYLE: fix line length 2006-05-15 10:14 andy * Source/cmListCommand.cxx, Tests/CMakeTests/ListTest.cmake.in: ENH: Fix INSERT to allow inserting to empty list 2006-05-15 09:57 andy * Source/cmListCommand.cxx, Source/cmListCommand.h, Tests/CMakeTests/ListTest.cmake.in: ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM 2006-05-15 09:25 andy * Source/cmListCommand.cxx, Source/cmListCommand.h, Tests/CMakeTests/ListTest.cmake.in: ENH: Remove some errors, fix append to work on nonexisting lists 2006-05-14 20:20 hoffman * Modules/CMakeDetermineSystem.cmake: ENH: fix module 2006-05-14 20:17 hoffman * Modules/CMakeDetermineSystem.cmake: ENH: check return value for uname -p 2006-05-14 19:17 hoffman * Modules/CMakeDetermineSystem.cmake: ENH: move from main tree handle uname without -p correctly 2006-05-14 17:42 hoffman * Modules/CMakeDetermineSystem.cmake: ENH: check return value for uname -p 2006-05-14 15:24 hoffman * Utilities/Release/: release_cmake.cmake, v60n177_aix_release.cmake: ENH: extra path 2006-05-14 15:22 hoffman * CMakeLists.txt, Modules/FindJPEG.cmake, Modules/FindKDE4.cmake, Modules/FindQt4.cmake, Source/cmGlobalGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.h, Source/cmIncludeDirectoryCommand.cxx, Source/cmLinkDirectoriesCommand.cxx, Source/cmLinkLibrariesCommand.cxx, Source/cmListCommand.cxx, Source/cmListFileCache.cxx, Source/cmLoadCacheCommand.cxx, Source/cmLoadCommandCommand.h, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMacroCommand.cxx, Source/cmMakeDepend.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMarkAsAdvancedCommand.cxx, Source/cmMathCommand.h, Source/cmObject.h, Source/cmOptionCommand.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmOutputRequiredFilesCommand.cxx, Source/cmProjectCommand.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx, Source/cmRemoveDefinitionsCommand.cxx, Source/cmSeparateArgumentsCommand.cxx, Source/cmSeparateArgumentsCommand.h, Source/cmSetDirectoryPropertiesCommand.cxx, Source/cmSetSourceFilesPropertiesCommand.h, Source/cmSetTargetPropertiesCommand.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmSetTestsPropertiesCommand.cxx, Source/cmSetTestsPropertiesCommand.h, Source/cmSiteNameCommand.cxx, Source/cmSourceFile.cxx, Source/cmSourceFile.h, Source/cmSourceGroupCommand.h, Source/cmStringCommand.cxx, Source/cmSubdirCommand.cxx, Source/cmSubdirCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h, Source/cmUseMangledMesaCommand.cxx, Source/cmUtilitySourceCommand.cxx, Source/cmVTKMakeInstantiatorCommand.cxx, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapPythonCommand.cxx, Source/cmVTKWrapTclCommand.cxx, Source/cmWin32ProcessExecution.h, Source/cmWriteFileCommand.cxx, Source/cmXCode21Object.cxx, Source/cmXCode21Object.h, Source/cmXCodeObject.cxx, Source/cmXCodeObject.h, Source/cmXMLParser.h, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cmCPackTarCompressGenerator.cxx, Source/CPack/cpack.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: merge from main tree 2006-05-14 09:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-13 12:28 king * Source/cmGlobalGenerator.cxx: BUG: Make sure RUN_TESTS target passes the desired configuration to ctest. 2006-05-13 08:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-12 14:44 martink * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackNSISGenerator.cxx, cmCPackPackageMakerGenerator.cxx, cmCPackSTGZGenerator.cxx, cmCPackTarCompressGenerator.cxx, cpack.cxx: STYLE: fix line length 2006-05-12 14:36 martink * Source/: cmXCode21Object.cxx, cmXCode21Object.h, cmXCodeObject.cxx, cmXCodeObject.h, cmXMLParser.h, cmake.cxx, cmake.h, cmakemain.cxx: STYLE: fix line length 2006-05-12 14:12 martink * Source/: cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx, cmTryCompileCommand.cxx, cmTryCompileCommand.h, cmUseMangledMesaCommand.cxx, cmUtilitySourceCommand.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmWin32ProcessExecution.h, cmWriteFileCommand.cxx: STYLE: fix line length 2006-05-12 13:53 martink * Source/: cmSeparateArgumentsCommand.cxx, cmSeparateArgumentsCommand.h, cmSetDirectoryPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.h, cmSetTargetPropertiesCommand.cxx, cmSetTargetPropertiesCommand.h, cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h, cmSiteNameCommand.cxx, cmSourceFile.cxx, cmSourceFile.h, cmSourceGroupCommand.h, cmStringCommand.cxx, cmSubdirCommand.cxx, cmSubdirCommand.h, cmSystemTools.cxx, cmSystemTools.h: STYLE: fix line length 2006-05-12 13:44 martink * Source/: cmProjectCommand.cxx, cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmRemoveDefinitionsCommand.cxx: STYLE: fix line length 2006-05-12 13:39 martink * Source/: cmObject.h, cmOptionCommand.cxx, cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h, cmOutputRequiredFilesCommand.cxx: STYLE: fix line length 2006-05-12 12:29 martink * Source/: cmMacroCommand.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMarkAsAdvancedCommand.cxx, cmMathCommand.h: STYLE: fix line length 2006-05-12 11:56 martink * Source/: cmLinkDirectoriesCommand.cxx, cmLinkLibrariesCommand.cxx, cmListCommand.cxx, cmListFileCache.cxx, cmLoadCacheCommand.cxx, cmLoadCommandCommand.h, cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: STYLE: fix line length 2006-05-12 11:03 hoffman * CMakeLists.txt: ENH: add the processor to the system name for cpack 2006-05-12 10:56 hoffman * Modules/FindQt4.cmake: ENH: remove bad quoteed code 2006-05-12 10:54 king * Source/cmIncludeDirectoryCommand.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: BUG: INCLUDE_DIRECTORIES should interpret relative path arguments with respect to the current source directory. 2006-05-12 10:46 martink * Source/: cmGlobalGenerator.cxx, cmGlobalMSYSMakefileGenerator.h: STYLE: fix line length 2006-05-12 10:09 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: remove bogus machine setting 2006-05-12 09:47 hoffman * Modules/FindQt4.cmake: ENH: fix path problem with qt 2006-05-12 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-11 18:32 alex * Modules/FindJPEG.cmake: ENH: honor REQUIRED flag Alex 2006-05-11 18:27 alex * Modules/FindKDE4.cmake: ENH: use the new FILE(TO_CMAKE_PATH ...) command instead of regexps BUG: append the kde 4 cmake module path instead of prepending it Alex 2006-05-11 16:07 hoffman * Utilities/Release/: dashmacmini2_release.cmake, destiny_release.cmake, release_cmake.cmake, release_cmake.sh.in, vogon_release.cmake: ENH: working package creator 2006-05-11 16:05 hoffman * Source/: cmAddSubDirectoryCommand.cxx, cmExprParser.cxx, cmExprParserHelper.cxx, cmFLTKWrapUICommand.cxx, cmFileCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h, cmGlobalVisualStudio8Win64Generator.cxx, cmGlobalVisualStudio8Win64Generator.h, cmGlobalWatcomWMakeGenerator.cxx, cmGlobalXCode21Generator.cxx, cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeDirectoryCommand.cxx, cmIncludeExternalMSProjectCommand.cxx, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallCommand.h, cmInstallFilesCommand.cxx, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallProgramsCommand.cxx, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h, cmInstallTargetsCommand.cxx, cmListCommand.cxx, cmListCommand.h, CTest/cmCTestBuildHandler.cxx: ENH: merge changes from main tree 2006-05-11 15:50 hoffman * Source/cmFileCommand.cxx: ENH: fix error message 2006-05-11 15:50 martink * Source/: cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeDirectoryCommand.cxx, cmIncludeExternalMSProjectCommand.cxx, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallCommand.h, cmInstallFilesCommand.cxx, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h, cmInstallTargetsCommand.cxx: STYLE: fix line length 2006-05-11 15:39 martink * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: STYLE: fix line length 2006-05-11 13:56 andy * Source/: cmListCommand.cxx, cmListCommand.h: ENH: Some documentation and add APPEND 2006-05-11 12:00 andy * Source/CTest/cmCTestBuildHandler.cxx: BUG: Fix segfault 2006-05-11 11:47 martink * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h, cmGlobalVisualStudio8Win64Generator.cxx, cmGlobalVisualStudio8Win64Generator.h, cmGlobalWatcomWMakeGenerator.cxx, cmGlobalXCode21Generator.cxx, cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx: STYLE: fix line length 2006-05-11 10:56 hoffman * ChangeLog.manual, Modules/FindQt4.cmake: ENH: merge changs from main tree 2006-05-11 10:45 martink * Source/: cmExprParser.cxx, cmExprParserHelper.cxx, cmFLTKWrapUICommand.cxx: STYLE: fix line length 2006-05-11 10:41 hoffman * Modules/FindQt4.cmake: ENH: fix for bug 3216 allow full path to qt input files 2006-05-11 10:39 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmAddSubDirectoryCommand.cxx: STYLE: fix line length 2006-05-11 10:33 hoffman * ChangeLog.manual, Source/CPack/cmCPackZIPGenerator.cxx: ENH: merge changes from main tree 2006-05-11 09:37 hoffman * Source/CPack/cmCPackZIPGenerator.cxx: ENH: use @ file for winzip on windows 2006-05-11 08:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-10 22:15 hoffman * CMakeLists.txt, Modules/CPack.cmake, Modules/NSIS.InstallOptions.ini.in, Modules/NSIS.template.in, Source/cmAddExecutableCommand.cxx, Source/cmAddSubDirectoryCommand.cxx, Source/cmAddTestCommand.cxx, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmAuxSourceDirectoryCommand.h, Source/cmCTest.cxx, Source/cmCacheManager.cxx, Source/cmCommandArgumentLexer.cxx, Source/cmCommandArgumentParser.cxx, Source/cmCommandArgumentParserHelper.cxx, Source/cmCommandArgumentParserTokens.h, Source/cmConfigureFileCommand.cxx, Source/cmCreateTestSourceList.h, Source/cmDepends.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmDependsFortran.cxx, Source/cmDependsFortranParser.cxx, Source/cmDependsJavaParserHelper.cxx, Source/cmDependsJavaParserHelper.h, Source/cmDocumentation.cxx, Source/cmDumpDocumentation.cxx, Source/cmElseCommand.cxx, Source/cmEnableLanguageCommand.cxx, Source/cmEndForEachCommand.cxx, Source/cmEndIfCommand.cxx, Source/cmEndWhileCommand.cxx, Source/cmExecProgramCommand.cxx, Source/cmExecuteProcessCommand.cxx, Source/cmExecuteProcessCommand.h, Source/cmExportLibraryDependencies.cxx, Source/cmExportLibraryDependencies.h, Source/cmExprLexer.cxx, Source/cmExprLexer.h, Source/cmFLTKWrapUICommand.cxx, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmFileTimeComparison.cxx, Source/cmFindBase.cxx, Source/cmFindFileCommand.cxx, Source/cmFindLibraryCommand.cxx, Source/cmFindPackageCommand.cxx, Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx, Source/cmForEachCommand.cxx, Source/cmGeneratedFileStream.cxx, Source/cmGetDirectoryPropertyCommand.cxx, Source/cmGetFilenameComponentCommand.cxx, Source/cmGetFilenameComponentCommand.h, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cpack.cxx, Source/CTest/cmCTestGenericHandler.cxx, Source/CTest/cmCTestHandlerCommand.cxx, Source/CTest/cmCTestReadCustomFilesCommand.h, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestUpdateCommand.cxx: ENH: move changes from main tree 2006-05-10 17:26 andy * CMakeLists.txt, Modules/CPack.cmake: BUG: Prevent stripping of sources 2006-05-10 16:44 hoffman * Utilities/Release/create-cmake-release.cmake: ENH: remove ps thing 2006-05-10 16:43 hoffman * Utilities/Release/: create-cmake-release.cmake, vogon_release.cmake: ENH: it works 2006-05-10 15:56 martink * Source/: cmGeneratedFileStream.cxx, cmGetDirectoryPropertyCommand.cxx, cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmGetSourceFilePropertyCommand.h, cmGlobalBorlandMakefileGenerator.cxx: STYLE: fix line length 2006-05-10 15:46 martink * Source/: cmFLTKWrapUICommand.cxx, cmFileCommand.cxx, cmFileCommand.h, cmFileTimeComparison.cxx, cmFindBase.cxx, cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmForEachCommand.cxx: STYLE: fix line length 2006-05-10 15:29 hoffman * Utilities/Release/vogon_release.cmake: ENH: add vogon 2006-05-10 15:06 martink * Source/: cmElseCommand.cxx, cmEnableLanguageCommand.cxx, cmEndForEachCommand.cxx, cmEndIfCommand.cxx, cmEndWhileCommand.cxx, cmExecProgramCommand.cxx, cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h, cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h, cmExprLexer.cxx, cmExprLexer.h: STYLE: fix line length 2006-05-10 15:01 martink * Source/: cmDependsJavaParserHelper.cxx, cmDependsJavaParserHelper.h, cmDocumentation.cxx, cmDumpDocumentation.cxx: STYLE: fix line length 2006-05-10 14:54 martink * Source/: cmDepends.h, cmDependsC.cxx, cmDependsFortran.cxx, cmDependsFortranParser.cxx: STYLE: fix line length 2006-05-10 14:13 martink * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserTokens.h, cmConfigureFileCommand.cxx, cmCreateTestSourceList.h, cmDepends.cxx: STYLE: fix line length 2006-05-10 14:07 martink * Source/cmCommandArgumentLexer.cxx: STYLE: hmm 2006-05-10 14:03 hoffman * Utilities/Release/: create-cmake-release.cmake, dashsgi1_release.cmake, dashsgi1_release64.cmake, release_cmake.sh.in: ENH: 2006-05-10 14:00 martink * Source/cmCommandArgumentLexer.cxx: STYLE: hmm 2006-05-10 13:56 martink * Source/: cmAuxSourceDirectoryCommand.h, cmCTest.cxx, cmCacheManager.cxx: STYLE: fix line length 2006-05-10 13:48 martink * Source/: CTest/cmCTestGenericHandler.cxx, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestReadCustomFilesCommand.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateCommand.cxx, cmAddExecutableCommand.cxx, cmAddSubDirectoryCommand.cxx, cmAddTestCommand.cxx, cmAuxSourceDirectoryCommand.cxx: STYLE: fix line length 2006-05-10 12:39 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cpack.cxx: BUG: Fix relative path to config file, fix cmake_install.cmake location problem 2006-05-10 12:15 hoffman * Modules/: NSIS.InstallOptions.ini.in, NSIS.template.in: ENH: use radio buttons to choose PATH options 2006-05-10 09:28 hoffman * CMakeLists.txt: ENH: allow package name to be changed from cmake cache 2006-05-10 09:15 hoffman * CMakeLists.txt: ENH: allow for cpack stuff to be changed 2006-05-10 07:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-09 17:18 hoffman * Utilities/Release/: dashsun1_release.cmake, release_cmake.cmake, v60n177_aix_release.cmake: ENH: works 2006-05-09 16:30 hoffman * ChangeLog.manual, Modules/FindQt3.cmake, Modules/NSIS.template.in, Source/cmSetTargetPropertiesCommand.h, Source/kwsys/SystemTools.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: merge from main tree 2006-05-09 14:14 hoffman * Utilities/Release/: create-cmake-release.cmake, release_cmake.cmake: ENH: seems to be working 2006-05-09 13:49 hoffman * Utilities/Release/create-cmake-release.cmake: ENH: add a xterm script create script 2006-05-09 13:48 hoffman * Utilities/Release/: dashsun1_release.cmake, muse_release64.cmake, release_cmake.cmake, release_cmake.sh.in: ENH: add 64 bit sgi 2006-05-09 12:23 hoffman * Utilities/Release/release_cmake.sh.in: ENH: mark time 2006-05-09 12:23 andy * Utilities/Release/v60n177_aix_release.cmake: ENH: copy right files 2006-05-09 08:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-08 16:59 hoffman * Utilities/Release/: dashmacmini2_release.cmake, dashsun1_release.cmake, destiny_release.cmake, muse_release.cmake, v60n177_aix_release.cmake: ENH: skip bootstrap test as it already does a bootstrap 2006-05-08 16:50 hoffman * Utilities/Release/: dashmacmini2_release.cmake, destiny_release.cmake, hythloth_release.cmake, muse_release.cmake, release_cmake.cmake, v60n177_aix_release.cmake: ENH: change name to MAKE_COMMAND 2006-05-08 16:40 hoffman * Source/cmSetTargetPropertiesCommand.h: ENH: fix docs to include linker lang 2006-05-08 16:38 andy * Utilities/Release/release_cmake.cmake: ENH: add extra copy for ibm 2006-05-08 16:36 hoffman * Utilities/Release/: dashmacmini2_release.cmake, destiny_release.cmake, hythloth_release.cmake, muse_release.cmake, release_cmake.cmake, release_cmake.sh.in, v60n177_aix_release.cmake: ENH: add make program stuff 2006-05-08 14:18 hoffman * Source/kwsys/SystemTools.cxx: ENH: search for program without extensions 2006-05-08 13:34 andy * Modules/NSIS.template.in: ENH: Some cleanups and fix installing as a non-admin 2006-05-08 10:02 king * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: BUG: Disabling an EXECUTE_PROCESS test until problems on UNIX systems are fixed. 2006-05-07 13:04 hoffman * Modules/FindQt3.cmake: ENH: try to find qt3 better 2006-05-07 10:55 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineCCompiler.cmake, Modules/CPack.STGZ_Header.sh.in, Modules/FindQt4.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt, Source/cmCommandArgumentParserHelper.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmFileCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmIncludeExternalMSProjectCommand.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallFilesGenerator.cxx, Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmSourceFile.cxx, Source/cmSourceFile.h, Source/cmSourceGroupCommand.h, Source/cmTarget.cxx, Source/CPack/cmCPackGenerators.cxx, Source/CPack/cmCPackGenerators.h, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cmCPackTGZGenerator.h, Source/CPack/cmCPackTarBZip2Generator.cxx, Source/CPack/cmCPackTarBZip2Generator.h, Source/CPack/cmCPackTarCompressGenerator.cxx, Source/CPack/cmCPackTarCompressGenerator.h, Source/CPack/cmCPackZIPGenerator.cxx, Source/CPack/cpack.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Tests/COnly/conly.c, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt, Utilities/Release/cmake_release.sh.in: ENH: move changes from main tree and change version to 2.4.2 2006-05-07 09:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-06 10:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-05 22:04 hoffman * Utilities/Release/: release_cmake.sh.in, v60n177_aix_release.cmake: ENH: add extra copy for aix 2006-05-05 21:49 hoffman * Modules/Platform/CYGWIN.cmake: ENH: add the flag for creating windows gui's 2006-05-05 21:45 hoffman * Source/cmCommandArgumentParserHelper.cxx: ENH: handle empty variables 2006-05-05 20:54 king * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h: BUG: MSVC* variables should be set in IDE generators instead of just NMake. 2006-05-05 16:12 andy * Utilities/Release/v60n177_aix_release.cmake: ENH: use a directory with space 2006-05-05 15:51 hoffman * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in: ENH: make release directory a variable 2006-05-05 15:04 hoffman * Modules/FindQt4.cmake: ENH: fix windows path issue 2006-05-05 14:57 king * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallFilesGenerator.cxx, Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added CONFIGURATIONS option to INSTALL command to allow per-configuration install rules. 2006-05-05 14:53 andy * Utilities/Release/: release_cmake.sh.in, v60n177_aix_release.cmake: ENH: fix env vars 2006-05-05 13:52 hoffman * Utilities/Release/release_cmake.sh.in: ENH: add ability to set CC, CXX and LDFLAGS 2006-05-05 13:10 hoffman * Utilities/Release/release_cmake.cmake: ENH: move from tr to cat since it works from a windows machine and works on the AIX 2006-05-05 12:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-05 12:34 hoffman * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in: ENH: add missing quote and some comments 2006-05-05 12:25 hoffman * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in: ENH: remove old copy 2006-05-05 12:14 hoffman * Utilities/Release/: destiny_release.cmake, release_cmake.cmake, release_cmake.sh.in: ENH: working on hp 2006-05-05 11:51 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it. 2006-05-05 11:46 king * Source/: cmSourceFile.cxx, cmSourceFile.h, cmTarget.cxx: ENH: Added information about target needing a source file when one cannot be found. 2006-05-05 11:37 king * Source/cmSourceGroupCommand.h: ENH: Added example of sub-group to docs. 2006-05-05 10:38 king * Source/cmFileCommand.cxx: ENH: Added option to not use copy-if-different when installing. 2006-05-05 10:33 hoffman * Utilities/Release/: release_cmake.cmake: ENH: create script is working 2006-05-05 10:30 hoffman * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in: ENH: create script is working 2006-05-05 10:29 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added always/if-different option to CopyADirectory. Added CopyAFile with the same interface. 2006-05-05 08:16 hoffman * Utilities/Release/release_cmake.cmake: ENH: change to script mode 2006-05-04 22:58 hoffman * Utilities/Release/: release_cmake.sh.in: ENH: add file 2006-05-04 21:57 hoffman * Utilities/Release/: destiny_release.cmake, muse_release.cmake: ENH: add some machines 2006-05-04 17:54 hoffman * Source/cmMakefile.cxx: ENH: add a check to make sure targets only link to libraries and not utility targets to avoid seg faults, bug 3194 2006-05-04 13:39 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: remove debug output 2006-05-04 13:35 hoffman * Source/cmLocalVisualStudio7Generator.cxx, Tests/COnly/conly.c: ENH: fix build c stuff with c and c++ with c++ 2006-05-04 10:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-03 23:03 hoffman * Source/cmIncludeExternalMSProjectCommand.cxx: ENH: make sure path is converted to unix 2006-05-03 21:42 andy * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx, CPack/cmCPackTarBZip2Generator.cxx, CPack/cmCPackTarBZip2Generator.h, CPack/cpack.cxx: ENH: Add BZip2 support, add better documentation 2006-05-03 17:27 hoffman * Utilities/Release/release_cmake.cmake: ENH: add cvs command variable 2006-05-03 17:22 hoffman * Utilities/Release/: release_cmake.cmake, v60n177_aix_release.cmake: ENH: more aix stuff 2006-05-03 17:08 hoffman * Utilities/Release/: release_cmake.cmake, v60n177_aix_release.cmake: ENH: add aix 2006-05-03 16:24 andy * Modules/CPack.STGZ_Header.sh.in: ENH: Better output 2006-05-03 15:17 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: use SHELL var 2006-05-03 15:17 martink * Source/CPack/cmCPackGenericGenerator.cxx: BUG: fix CPack to use correct paths 2006-05-03 10:07 king * Source/: cmDepends.h, cmDependsC.cxx, cmLocalUnixMakefileGenerator3.cxx: BUG: Fix to avoid repeated calls to CollapseFullPath during dependency scanning. This addresses bug#3191. 2006-05-03 09:23 hoffman * Modules/Platform/SunOS.cmake: ENH: use correct flags for optimization 2006-05-03 08:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-02 23:20 hoffman * Utilities/Release/: dashmacmini2_release.cmake, dashsun1_release.cmake, hythloth_release.cmake, release_cmake.cmake: ENH: getting better 2006-05-02 18:47 andy * Source/CPack/cmCPackTGZGenerator.cxx: COMP: Fix cast to char* 2006-05-02 18:43 andy * Source/CPack/cmCPackTarCompressGenerator.cxx: COMP: Try to fix windows builds 2006-05-02 17:52 andy * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenerators.h, cpack.cxx: ENH: Add generators documentation 2006-05-02 17:34 andy * Source/CPack/: cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h, cmCPackTarCompressGenerator.cxx, cmCPackTarCompressGenerator.h: ENH: Simplify TarCompress to only require compress. Use cmake's tar 2006-05-02 17:07 andy * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx, CPack/cmCPackTarCompressGenerator.cxx, CPack/cmCPackTarCompressGenerator.h: ENH: Initial cut at TarCompress generator 2006-05-02 16:41 hoffman * Utilities/Release/release_cmake.cmake: ENH: remove debug 2006-05-02 16:41 hoffman * Utilities/Release/: cmake_login, release_cmake.cmake: ENH: more stuff 2006-05-02 16:33 hoffman * Utilities/Release/release_cmake.cmake: ENH: remove if0 2006-05-02 16:32 hoffman * Utilities/Release/: dashsun1_release.cmake, hythloth_release.cmake, release_cmake.cmake: ENH: first pass at cmake scripts to create the cmake release 2006-05-02 14:04 hoffman * Modules/FindQt4.cmake: ENH: fix qt version detection 2006-05-02 13:31 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: add a fast version for preinstall 2006-05-02 12:44 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: need to make sure paths are OK 2006-05-02 12:40 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: need to make sure paths are OK 2006-05-02 10:48 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix for unix 2006-05-02 09:56 martink * Source/cmGlobalGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmLocalUnixMakefileGenerator3.cxx, Modules/CMakeDetermineCCompiler.cmake, Modules/Platform/Windows-cl.cmake: ENH: Makefile performance improvements 2006-05-02 08:49 andy * CMakeLists.txt, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cmCPackZIPGenerator.cxx: ENH: Add support for stipping and make more things overwritable 2006-05-02 08:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-05-01 22:40 hoffman * Utilities/Release/cmake_release.sh: ENH: try again 2006-05-01 22:31 hoffman * Utilities/Release/cmake_release.sh: ENH: try to call cpack from script 2006-05-01 14:23 andy * Modules/CPack.STGZ_Header.sh.in, Source/CPack/cmCPackSTGZGenerator.cxx: ENH: Add license and make it more verbose 2006-05-01 08:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-30 10:59 hoffman * CMakeLists.txt, Copyright.txt, Modules/CPack.cmake, Modules/NSIS.InstallOptions.ini.in, Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx, Source/CTest/cmCTestGenericHandler.cxx, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestScriptHandler.h: ENH: move files from main tree to 2.4.1 2006-04-30 08:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-30 03:16 andy * Source/CTest/cmCTestGenericHandler.cxx: BUG: Make handle arguments work again 2006-04-30 03:10 andy * Modules/NSIS.template.in: ENH: Handle the no-icon case 2006-04-29 20:13 andy * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: ENH: Allow CTEST_UPDATE_COMMAND and fix the comments. This should allow SVN update too, maybe 2006-04-29 20:03 andy * Copyright.txt: ENH: Acknowledge NAMIC 2006-04-29 20:01 andy * CMakeLists.txt, Modules/CPack.cmake, Modules/NSIS.template.in: ENH: Add more install registry options 2006-04-29 19:22 andy * CMakeLists.txt, Modules/NSIS.InstallOptions.ini.in, Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx: ENH: Add NSIS options page for path selection, fix adding and removing from path, add welcome page and license page 2006-04-29 11:49 hoffman * CMakeLists.txt, CTestConfig.cmake, ChangeLog.manual, Modules/CTest.cmake, Modules/FindQt4.cmake, Modules/NSIS.template.in, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmMakefile.cxx, Source/cmVersion.cxx, Source/ctest.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestGenericHandler.cxx, Source/CTest/cmCTestGenericHandler.h, Source/CTest/cmCTestStartCommand.cxx, Source/CTest/cmCTestStartCommand.h, Source/CTest/cmCTestSubmitHandler.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/SystemTools.cxx, Templates/CTestScript.cmake.in: ENH: merge in changes from main tree and change version to 2.4.1-beta 2006-04-29 08:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-28 11:59 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestStartCommand.cxx, CTest/cmCTestStartCommand.h, CTest/cmCTestSubmitHandler.cxx: ENH: Add support for special tracks, fix options of handlers so that the -R, -U, and so on work in the new style scripting 2006-04-28 11:58 andy * CTestConfig.cmake: ENH: Add XMLRPC support 2006-04-28 11:58 andy * CMakeLists.txt, Templates/CTestScript.cmake.in: ENH: Add template of ctest script 2006-04-28 09:58 andy * Modules/CTest.cmake: ENH: Allow overwriting CTestConfig.cmake items 2006-04-28 08:59 hoffman * ChangeLog.manual, Docs/cmake-mode.el, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/FindQt4.cmake, Modules/UseQt4.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalKdevelopGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalWatcomWMakeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmTest.cxx, Source/cmake.cxx, Source/cmake.h, Source/kwsys/CMakeLists.txt, Source/kwsys/SystemTools.cxx, Source/kwsys/Terminal.c, Source/kwsys/Terminal.h.in, Source/kwsys/testTerminal.c: ENH: merge changes from main tree 2006-04-28 08:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-27 17:52 hoffman * Source/kwsys/SystemTools.cxx: ENH: put the fix back in with abort 2006-04-27 17:46 hoffman * Source/kwsys/SystemTools.cxx: ENH: remove code that does not compile, on windows cwd must exist 2006-04-27 16:20 andy * Modules/NSIS.template.in: ENH: Better support for adding and removing path 2006-04-27 16:02 mrichardson * Source/kwsys/SystemTools.cxx: COMP: Fixing the the build for windows. 2006-04-27 15:48 hoffman * Source/kwsys/DynamicLoader.cxx: ENH: remove warning 2006-04-27 15:26 hoffman * Source/kwsys/SystemTools.cxx: ENH: handle running from a directory that has been deleted 2006-04-27 15:23 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Fix problem with Source Lines and add debugging of regular expressions 2006-04-27 15:14 alex * Modules/FindQt4.cmake: ENH: use the ADD_FILE_DEPENDENCIES() macro coming with cmake instead a duplicated implementation _qt4_add_file_dependencies() here Alex 2006-04-27 15:07 alex * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: -apply the patches by Clinton Stimpson and Kenneth Moreland which fix some QtMain issues on Windows ENH: -sync with KDE svn FindQt4, which features a lot of enhancements Alex 2006-04-27 10:55 andy * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake: BUG: Use the extra definicions 2006-04-27 10:41 king * Source/cmMakefileTargetGenerator.cxx: BUG: Make sure each cmake_depends process uses the same SystemTools path translation table as the original process. This addresses problems with dependency scanning when make is run from a symlink directory pointing at the original binary tree. 2006-04-27 08:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-26 21:53 king * Source/: cmLocalUnixMakefileGenerator3.cxx, cmake.cxx: COMP: Disable color support for bootstrap. 2006-04-26 21:51 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Default SHELL on windows should not be a hard-coded path. 2006-04-26 21:31 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalWatcomWMakeGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmake.cxx, cmake.h: ENH: Enabling color makefile support using cmsysTerminal_cfprintf. Support for color is automatically detected when messages are printed. Also made color scheme more readable on both black and white backgrounds. This option can be enabled by setting CMAKE_COLOR_MAKEFILE to true in the project. 2006-04-26 15:54 king * Docs/cmake-mode.el: BUG: In example .emacs code use \' for end-of-string instead of $ for end-of-line. 2006-04-26 14:28 king * Docs/cmake-mode.el: BUG: Mode should only be used if CMakeLists.txt is at the end of the buffer name. 2006-04-26 14:22 king * Docs/cmake-mode.el: BUG: Tabs around a function name are allowed. 2006-04-26 13:04 king * Docs/cmake-mode.el: ENH: Using suggestion from Stuart Herring to avoid needing a list of command names in the highlighting table. 2006-04-26 08:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-25 16:31 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix global help 2006-04-25 12:09 hoffman * CMakeLists.txt, ChangeLog.manual, Docs/cmake-indent.vim, Modules/CPack.cmake, Modules/CTest.cmake, Modules/FindQt3.cmake, Modules/NSIS.template.in, Modules/UseEcos.cmake, Source/CMakeLists.txt, Source/cmGlobalKdevelopGenerator.cxx, Source/kwsys/SystemTools.cxx, Tests/Java/CMakeLists.txt: ENH: move from main tree to 2.4 branch 2006-04-25 11:58 hoffman * Source/cmLocalGenerator.cxx: ENH: make sure special vs ide path is only used for msvc_ide builds 2006-04-25 11:52 king * Docs/cmake-mode.el: ENH: Cleaned-up mode in preparation for inclusion in emacs upstream. 2006-04-25 09:54 king * Source/cmLocalGenerator.cxx: ENH: Added option CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE to put all in-project include directories before all out-of-project include directories. 2006-04-25 09:54 king * Source/kwsys/SystemTools.cxx: BUG: IsSubDirectory should use ComparePath to do platform-independent path comparison. 2006-04-25 09:38 hoffman * Source/: cmGlobalVisualStudio7Generator.cxx, cmLocalGenerator.cxx: ENH: add special windows CMAKE_MSVCIDE_RUN_PATH variable for adding to the path of vs IDE for running custom commands from cmake 2006-04-25 08:34 hoffman * Source/cmTest.cxx: ENH: make sure command is unix style as it may have been sent into cmake as a windows path 2006-04-25 08:33 hoffman * Source/kwsys/Terminal.h.in: ENH: fix build on AIX 2006-04-25 08:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-24 12:15 king * Source/kwsys/CMakeLists.txt: ENH: Enabling build/test of Terminal code now that it has been manually tested on several platforms. 2006-04-24 12:12 hoffman * Source/cmFLTKWrapUICommand.cxx: ENH: fix fltk fluid order of build 2006-04-24 11:30 hoffman * Source/cmFLTKWrapUICommand.cxx: ENH: make sure command depends on fluid 2006-04-24 09:39 hoffman * Source/cmGlobalKdevelopGenerator.cxx: ENH: fix warnings 2006-04-24 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-23 23:24 hoffman * Tests/Java/CMakeLists.txt: ENH: create the correct jar name 2006-04-23 21:12 hoffman * Source/cmGlobalKdevelopGenerator.cxx: ENH: merge in Alex patches 2006-04-23 19:45 andy * Modules/: CPack.cmake, NSIS.template.in: ENH: Propagate system name and handle win32/win64 name 2006-04-23 18:39 andy * CMakeLists.txt: ENH: Enable path 2006-04-23 18:23 andy * Modules/NSIS.template.in: ENH: Add a line to Add/Remove programs to uninstall 2006-04-23 15:34 hoffman * Tests/Java/CMakeLists.txt: ENH: use the right name for the test 2006-04-23 11:10 hoffman * Tests/Java/CMakeLists.txt: ENH: fix build 2006-04-23 08:08 alex * Modules/UseEcos.cmake: BUG: finally really fix #2576 by adding UseEcos.cmake to cvs :-) Alex 2006-04-23 07:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-23 07:23 alex * Modules/FindQt3.cmake: BUG: fix QT_MIN_VERSION handling, it didn't work anymore (qt_version_str vs. qt_version_str_lib) Alex 2006-04-22 20:32 king * Source/kwsys/Terminal.c: COMP: Added missing include of string.h for strcmp. 2006-04-22 20:26 king * Source/kwsys/Terminal.c: BUG: Fixed bug in check for vt100 assumption. 2006-04-22 20:25 king * Source/kwsys/Terminal.c: BUG: Fixed uninitialized variable when not building with windows console support. 2006-04-22 20:20 king * Source/kwsys/: CMakeLists.txt, Terminal.c, Terminal.h.in, testTerminal.c: ENH: Adding 'Terminal' component to hold support routines for dealing with interactive terminals. Currently only a cfprintf function is provided to print color messages. 2006-04-22 09:13 hoffman * Tests/Java/CMakeLists.txt: ENH: fix in source build for vs ide 2006-04-22 08:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-21 20:13 hoffman * Source/kwsys/SystemTools.cxx: ENH: fix borland bug 2006-04-21 16:33 andy * Docs/cmake-indent.vim: BUG: Fix typo 2006-04-21 15:15 hoffman * Source/kwsys/SystemTools.cxx: ENH: performance improvments 2006-04-21 14:36 andy * Modules/CTest.cmake: BUG: Fix the missing nightly start time bug and do some cleanup 2006-04-21 14:26 andy * Source/CMakeLists.txt: ENH: Cleanup 2006-04-21 10:26 hoffman * CTestCustom.ctest.in, ChangeLog.manual, Docs/cmake-indent.vim, Docs/cmake-syntax.vim, Modules/CMakeGenericSystem.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/Linux-ifort.cmake, Modules/Platform/Linux.cmake, Modules/Platform/kFreeBSD.cmake, Source/cmGlobalGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.h, Source/cmMakefileTargetGenerator.cxx, Source/cmake.cxx: ENH: move stuff from main tree 2006-04-21 08:59 hoffman * CTestCustom.ctest.in: ENH: supress xcode warning 2006-04-21 08:59 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: use a better name 2006-04-21 08:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-21 07:17 andy * Docs/cmake-indent.vim: ENH: Add While support 2006-04-20 21:54 hoffman * Source/cmMakefileTargetGenerator.cxx: ENH: ignore all files that we do not know about just like in ide generators 2006-04-20 21:32 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: do not compile header files 2006-04-20 17:00 hoffman * Source/cmake.cxx: ENH: save the cache on fatal error so that users can set cache values 2006-04-20 16:16 hoffman * ChangeLog.manual, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/Platform/Windows-cl.cmake, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmakemain.cxx, Templates/CPack.GenericDescription.txt, Templates/CPack.GenericLicense.txt, Templates/CPack.GenericWelcome.txt, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate: ENH: merge changes from main tree 2006-04-20 15:49 hoffman * Source/cmMakefile.h: ENH: fix .. in the path of subdirs 2006-04-20 15:49 hoffman * Source/cmGlobalGenerator.cxx: ENH: don't add package target if no package file is around 2006-04-20 15:28 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: VS7 seems to have a limit on the length of the link directory list string. Try to make the string as short as possible by avoiding trailing slashes and using a relative path (if it is shorter). 2006-04-20 10:51 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix help for global targets 2006-04-20 10:23 andy * Modules/: CMakeGenericSystem.cmake, Platform/HP-UX.cmake, Platform/Linux-ifort.cmake, Platform/Linux.cmake, Platform/kFreeBSD.cmake: ENH: Cleanup link libraries. Remove -l from -ldl 2006-04-20 10:22 andy * Source/cmakemain.cxx: ENH: Add help for graphviz 2006-04-20 10:20 andy * Docs/cmake-syntax.vim: STYLE: Add missing command 2006-04-20 09:59 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Changed color scheme to be more readable on both white and black backgrounds. 2006-04-20 09:54 andy * Templates/: CPack.GenericDescription.txt, CPack.GenericLicense.txt, CPack.GenericWelcome.txt: ENH: Simplify the generic instructions 2006-04-20 09:32 hoffman * CTestCustom.ctest.in: ENH: add ignore for xcode 2006-04-19 17:23 hoffman * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake: ENH: append to log files 2006-04-19 16:51 hoffman * CMakeLists.txt: ENH: update cpack stuff to match old cmake releases 2006-04-19 16:36 hoffman * Modules/Platform/Windows-cl.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx: ENH: name pdb files for visual studio make based builds 2006-04-19 15:29 hoffman * Modules/Platform/Windows-cl.cmake: ENH: unix makefiles should work with cl 2006-04-19 12:58 hoffman * ChangeLog.txt: ENH: put cvs2cl changelog to match branch 2006-04-19 12:30 hoffman * ChangeLog.manual: ENH: add changelog for 2.4 2006-04-19 12:29 hoffman * ChangeLog.txt: ENH: create new change log with cvs2cl 2006-04-19 11:14 hoffman * Modules/Platform/Windows-cl.cmake: ENH: don't need two of these 2006-04-19 10:56 hoffman * Modules/Platform/Windows-cl.cmake: ENH: test for vs8 correctly 2006-04-19 10:50 king * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: BUG: Need ADD_DEPENDENCIES command for MinGW bootstrap since kwsys uses the Win32 implementation of process execution. 2006-04-19 10:34 king * Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate: BUG: VS6 generator now uses ComputeLinkInformation just like all other generators. 2006-04-19 10:11 hoffman * Modules/Platform/Windows-cl.cmake: ENH: check for version 1400 2006-04-19 08:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-18 16:40 hoffman * CMakeLists.txt: ENH: make cpack names match old cmake release process 2006-04-18 15:32 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: put global targets in the help 2006-04-18 15:30 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: make sure help has global targets 2006-04-18 14:48 hoffman * CMakeLists.txt, Source/cmCPluginAPI.h: ENH: move version numbers to 2.5.0 2006-04-18 14:48 hoffman * CMakeLists.txt, Source/cmCPluginAPI.h, Utilities/Release/README: ENH: move version numbers to 2.4.0 2006-04-18 11:53 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Do not require language flags variables. Other generators do not, and it breaks programmable language support (like the Java test). 2006-04-18 11:50 barre * Source/kwsys/SystemTools.cxx: ENH: try to bypass Microsoft assert() on isspace, isalpha, etc. 2006-04-18 11:45 king * Source/cmLocalVisualStudio6Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Updated VS6 generator to use target.GetFullName() to compute target file names. 2006-04-18 10:56 king * Source/: cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH: Added _OUTPUT_NAME target property to allow the output name to be set on a per-configuration basis. 2006-04-18 10:32 andy * Docs/: cmake-indent.vim, cmake-syntax.vim: ENH: Cleanup header and make license compatible with VIM 2006-04-18 10:32 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackSTGZGenerator.cxx: ENH: Remove some debugging 2006-04-18 10:30 king * Source/: cmFileCommand.cxx, cmInstallCommand.h: BUG: Using the source-file permissions by default for installation is somewhat unpredictable because users can extract source code with almost any permissions (umask). Changing the default to use 644 for files and 755 for programs. No release has documented the old behavior so we do not need compatibility. 2006-04-18 10:27 king * Source/cmIfCommand.h: BUG: Fixed missing false values in documentation of IF command. 2006-04-18 10:01 king * Modules/CPack.cmake: BUG: Need to ignore source packaging of #*# files created by emacs during editing. 2006-04-18 09:24 andy * Source/CPack/cmCPackSTGZGenerator.cxx: COMP: Remove non-existent header 2006-04-18 08:25 andy * Modules/CPack.STGZ_Header.sh.in, Source/cmFileCommand.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.h, Source/CPack/cpack.cxx: ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it 2006-04-18 08:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-17 19:02 andy * bootstrap: ENH: Fix copyright year 2006-04-17 18:10 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: remove duplicate file name test because it fails on xcode 2006-04-17 16:06 andy * Source/cmGlobalGenerator.cxx: BUG: Verify the global target name exists before using it. Fixes VS and Xcode 2006-04-17 15:55 hoffman * Modules/FindX11.cmake: ENH: fix find x11 on the mac 2006-04-17 15:35 hoffman * Source/cmLocalGenerator.cxx: ENH: fix java for ide builds again 2006-04-17 15:26 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h: ENH: Add packaging of source code (make package_source) 2006-04-17 14:13 malaterre * Source/kwsys/CMakeLists.txt: COMP: Fix compilation on linux (dlopen/dlclose symbols) 2006-04-17 14:00 hoffman * Modules/CMakeJavaInformation.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx: ENH: fix java and add OBJECT_DIR support 2006-04-17 13:59 hoffman * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Executable/Sub1/NameConflictTest.c, Complex/Executable/Sub2/NameConflictTest.c, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Executable/Sub1/NameConflictTest.c, ComplexOneConfig/Executable/Sub2/NameConflictTest.c, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Executable/Sub1/NameConflictTest.c, ComplexRelativePaths/Executable/Sub2/NameConflictTest.c: ENH: allow multiple files with the same name in different sub dirs test 2006-04-17 13:58 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: allow multiple files with the same name in different subdirs 2006-04-17 13:57 hoffman * Modules/CMakeDetermineCXXCompiler.cmake: ENH: add mingw test to cxx 2006-04-17 13:57 hoffman * Modules/Platform/Windows-gcc.cmake: ENH: add windows apps to mingw 2006-04-17 07:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-16 13:49 andy * Docs/cmake-syntax.vim: ENH: Cleanup, make case insensitive, remove macro since it does not work anyway 2006-04-16 08:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-15 13:02 andy * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.h, Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cmCPackTGZGenerator.h, Source/CPack/cmCPackZIPGenerator.cxx, Source/CPack/cmCPackZIPGenerator.h: ENH: Support for packaging source, several cleanups and more yeehaa... 2006-04-15 08:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-14 15:08 hoffman * Modules/FindX11.cmake: ENH: make sure frameworks are not searched for x header files 2006-04-14 09:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-14 09:02 hoffman * Source/CMakeLists.txt: ENH: fix syntax 2006-04-14 08:58 andy * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Templates/CPackConfig.cmake.in: ENH: Start adding support for packaging component and to package into a subdirectory 2006-04-14 08:44 hoffman * Source/CMakeLists.txt: ENH: make sure cmake can be built with an older version of cmake 2006-04-13 23:24 hoffman * Source/cmFindProgramCommand.cxx: ENH: fix warning 2006-04-13 23:15 hoffman * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx: ENH: search for help modules in the correct place for install and source tree builds 2006-04-13 22:57 king * Source/cmFileCommand.cxx: BUG: Fixed install rules to use copy-if-different. 2006-04-13 22:56 king * Source/kwsys/SystemTools.cxx: ENH: Improved implementation of FilesDiffer to avoid allocating enough memory for the entire file twice. Instead using a block-at-a-time comparison. 2006-04-13 15:28 king * Tests/CustomCommand/wrapper.cxx: COMP: Do not use ANSI function prototypes to pacify HP. 2006-04-13 11:00 hoffman * bootstrap, Modules/Platform/Darwin.cmake, Source/CMakeLists.txt, Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmFindProgramCommand.cxx, Source/cmFindProgramCommand.h, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in: ENH: add patch for finding applications on OSX 2006-04-13 10:15 king * Source/: cmGlobalUnixMakefileGenerator3.h, cmGlobalWatcomWMakeGenerator.cxx, cmMakefileTargetGenerator.cxx: BUG: Work-around Watcom WMake limitation for multiple-output custom command support. 2006-04-13 08:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-12 22:04 king * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallScriptGenerator.cxx, Source/cmInstallScriptGenerator.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/InstallScript1.cmake, Tests/SimpleInstall/InstallScript2.cmake, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/InstallScript1.cmake, Tests/SimpleInstallS2/InstallScript2.cmake: ENH: Added INSTALL(CODE) mode to allow inline specification of install script code. This reduces the need for configuring an install script that needs some variable settings because the install code can set thing up first. 2006-04-12 21:24 andy * Docs/cmake-indent.vim: ENH: Unify the comment 2006-04-12 21:20 andy * Docs/cmake-syntax.vim: ENH: More system variables, more operators, more commands, fix some string issues and some cmake arguments issues 2006-04-12 15:23 hoffman * Source/CMakeLists.txt: ENH: lang by custom command does not yet work for Xcode 2006-04-12 11:56 martink * Source/cmGlobalGenerator.cxx: COMP: fix warning 2006-04-12 11:36 martink * Source/cmGlobalGenerator.h: ENH: fix compile issue on HP hopefully 2006-04-12 09:12 hoffman * Source/cmDocumentation.cxx: ENH: case insensitive command help 2006-04-12 08:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-11 22:39 hoffman * Source/cmake.cxx: ENH: add more verbose output in verbose mode 2006-04-11 22:39 hoffman * Source/cmMakefile.cxx: ENH: fix re-run of cmake based on configured files that are done with copy if different and never change 2006-04-11 17:11 hoffman * Source/: CMakeLists.txt, cmLocalGenerator.cxx: ENH: enable test for java with IDE builds 2006-04-11 16:55 king * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-icl.cmake, Modules/Platform/Windows-ifort.cmake, Modules/Platform/Windows-wcl386.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx: ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE__STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway. 2006-04-11 14:54 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Use flag-map transform only for C and C++ flags. 2006-04-11 14:53 king * Source/cmLocalGenerator.cxx: ENH: Restored implementation of AddCustomCommandToCreateObject. Updated it to use newer custom command functionality. 2006-04-11 13:32 king * Source/cmLocalGenerator.cxx: BUG: Install scripts should honor EXCLUDE_FROM_ALL options for subdirectories. This addresses bug#3100. 2006-04-11 12:51 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h: ENH: some performance optimizations 2006-04-11 11:40 king * Source/cmLocalGenerator.cxx: BUG: Do not add non-per-config subdirectory name of cmake target libraries as full path libs. 2006-04-11 11:06 king * Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileTargetGenerator.cxx, Source/cmake.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/wrapper.cxx: ENH: Added support for multiple outputs generated by a single custom command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds. 2006-04-11 10:04 king * Source/cmMakefile.h: BUG: Fixed typo in new cmake-rerun code. 2006-04-11 08:56 andy * Source/cmCTest.cxx: BUG: The fast mode should not read CTestCustom.ctest files 2006-04-11 08:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-10 13:52 hoffman * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h: ENH: add support for re-running cmake if the cmakefiles change 2006-04-10 13:52 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: add test for mfc 2006-04-10 13:47 hoffman * Source/cmFileCommand.cxx: ENH: handle single path 2006-04-10 13:46 hoffman * Modules/: CMakeVS6FindMake.cmake, CMakeVS71FindMake.cmake, CMakeVS7FindMake.cmake, CMakeVS8FindMake.cmake, InstallRequiredSystemLibraries.cmake: ENH: add correct flags for msvc generators 2006-04-10 13:44 andy * Modules/CPack.cmake, Source/cmGlobalGenerator.h, Source/ctest.cxx, Source/CPack/cmCPackGenericGenerator.cxx: ENH: Add support for preinstall for cmake generated projects when packaging them 2006-04-10 11:39 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix so all configurations show up 2006-04-10 11:09 andy * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx: ENH: Deprecate CPACK_BINARY_DIR and add CPACK_INSTALL_CMAKE_PROJECTS 2006-04-10 09:36 andy * CTestCustom.ctest.in: ENH: Some ctest custom fixes 2006-04-10 08:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-09 08:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-09 07:45 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestReadCustomFilesCommand.cxx: BUG: Improve the behavior of the ReadCustomFilesCommand 2006-04-08 14:15 hoffman * Source/: cmLocalKdevelopGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: make sure verbose output is used for kde 2006-04-08 08:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-07 16:46 hoffman * Modules/Platform/: Windows-cl.cmake, Windows-cl.cmake.in: ENH: add better variables for MSVC versions 2006-04-07 16:35 andy * Modules/CPack.cmake: ENH: Allow to overwrite CPACK_BINARY_DIR 2006-04-07 07:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-06 07:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-05 11:07 king * Source/cmOrderLinkDirectories.cxx: COMP: Moved var decl out of _WIN32 block. 2006-04-05 11:05 king * Source/: cmLocalGenerator.cxx, cmOrderLinkDirectories.cxx: BUG: Fixed cmOrderLinkDirectories to deal with raw link items that do not yet exist and correct drive letter case to avoid duplicate paths on windows. Fixed cmLocalGenerator to pass CMake targets as full paths to cmOrderLinkDirectories to make sure the ordering will pick up the proper target libraries. 2006-04-05 07:46 hoffman * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: add path conversion stuff and rm SYSTEM_PATH 2006-04-05 07:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-04 17:27 hoffman * Modules/CMakeVS8FindMake.cmake: ENH: add search directories for 32 bit devenv from a 64bit cmake 2006-04-04 17:14 king * Source/cmLocalGenerator.cxx: BUG: Removing part of earlier fix because it does not work with VS generators. It may be restored later after cmOrderLinkDirs is further fixed. 2006-04-04 14:53 king * Source/cmSetTargetPropertiesCommand.h: ENH: Added documentation for COMPILE_FLAGS property and clarified meaning of DEFINE_SYMBOL. 2006-04-04 14:25 king * Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fixed cmOrderLinkDirectories to make sure cmake-built libraries are found properly. Also taking libraries that will be built but may not yet exist into account. The per-configuration subdirectories that are included by generators in the link path are checked for conflicting libraries also. Potentially conflicting libraries that are actually symlinks back to the desired library are no longer considered conflicting, which avoids bogus impossible ordering warnings. 2006-04-04 14:25 martink * Source/cmakexbuild.cxx: BUG: compiler fix 2006-04-04 13:04 martink * Source/: cmCTest.cxx, cmCTest.h, cmForEachCommand.cxx, cmSystemTools.cxx, cmSystemTools.h, cmakexbuild.cxx, ctest.cxx, CTest/cmCTestRunScriptCommand.cxx, CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h: ENH: added support for -SP scripts in new processes 2006-04-04 11:52 hoffman * Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: change library order to use a vector 2006-04-04 11:48 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h, cmTarget.h: ENH: Added global TargetManifest computation between Configure and Generate steps. This allows generators to know what other targets will exist on disk when the build completes. 2006-04-04 09:35 king * Source/: cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h: ENH: INCLUDE_DIRECTORIES should have been written to prepend to the include path so that the most local directories are included first. This is a patch from Alex to resolve the problem by allowing users to switch the default using a variable CMAKE_INCLUDE_DIRECTORIES_BEFORE and then still explicitly appending or prepending by using AFTER or BEFORE arguments explicitly. 2006-04-04 07:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-03 22:05 hoffman * Source/cmGlobalGenerator.cxx: ENH: use correct addcache call to fix build tools 2006-04-03 17:54 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix spaces in path for xcode 2006-04-03 16:20 hoffman * Source/: cmIncludeDirectoryCommand.cxx, cmLinkDirectoriesCommand.cxx: ENH: make sure include and lib dirs are unix paths 2006-04-03 15:59 hoffman * Source/cmFileCommand.cxx: ENH: fix warning, and remove debug code 2006-04-03 12:57 hoffman * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmSetTargetPropertiesCommand.h: ENH: add support for per config target LINK_FLAGS 2006-04-03 07:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-02 11:20 andy * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx, CPack/cmCPackGenericGenerator.cxx, CPack/cmCPackNSISGenerator.cxx, CPack/cmCPackPackageMakerGenerator.cxx, CPack/cmCPackZIPGenerator.cxx, CPack/cmCPackZIPGenerator.h, CPack/cpack.cxx: ENH: Add ZIP generator and add support for including or excluding the toplevel directory 2006-04-02 08:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-04-01 07:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-31 21:43 hoffman * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h: ENH: fix spelling 2006-03-31 17:59 hoffman * Source/cmOrderLinkDirectories.cxx: ENH: fix for bug 3067 the first framework ate the rest of the libraries 2006-03-31 13:17 hoffman * bootstrap, Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmTryCompileCommand.cxx, Source/cmakemain.cxx, Source/cmakexbuild.cxx: ENH: add a wrapper for xcodebuild to get around bug and verbose output 2006-03-31 08:46 hoffman * Utilities/cmcurl/getdate.c: ENH: remove c++ comment from c code 2006-03-31 08:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-30 23:03 hoffman * Utilities/cmtar/append.c: ENH: remove warning 2006-03-30 17:26 hoffman * Source/cmakexbuild.cxx: ENH: add program to run xcodebuild and get around bug 2006-03-30 16:55 king * Modules/Platform/Windows-cl.cmake: BUG: Fixed order of options to cl for 32-bit/64-bit test to work with VS 6 NMake. 2006-03-30 15:39 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalWatcomWMakeGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: Implemented VT100 terminal escape sequences. If CMAKE_COLOR_MAKEFILE is set then messages produced by makefiles will be in color if the native tool supports it. This addresses bug#3060. 2006-03-30 13:49 hoffman * Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-cl.cmake.in, Source/CMakeLists.txt, Source/cmCommandArgumentParserHelper.cxx, Source/cmDependsJavaParserHelper.cxx, Source/cmExecuteProcessCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalVisualStudio8Win64Generator.cxx, Source/cmGlobalVisualStudio8Win64Generator.h, Source/cmIfCommand.cxx, Source/cmListCommand.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmXMLParser.cxx, Source/cmake.cxx, Source/CTest/cmCTestHandlerCommand.cxx, Source/CTest/cmCTestMemCheckHandler.cxx, Source/CTest/cmCTestSubmitHandler.cxx, Source/kwsys/CommandLineArguments.cxx, Source/kwsys/Glob.cxx, Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/hashtable.hxx.in, Source/kwsys/testDynamicLoader.cxx, Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/getdate.c, Utilities/cmcurl/inet_pton.c, Utilities/cmcurl/md5.c, Utilities/cmcurl/mprintf.c, Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/append.c, Utilities/cmtar/block.c, Utilities/cmtar/extract.c, Utilities/cmtar/handle.c, Utilities/cmtar/output.c, Utilities/cmtar/compat/snprintf.c: ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:33 king * Source/: cmFileCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallCommand.h, cmInstallFilesGenerator.cxx, cmInstallFilesGenerator.h, cmInstallGenerator.cxx, cmInstallGenerator.h, cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h, cmLocalGenerator.cxx: ENH: Added named component installation implementation. Installation behavior should be unchanged unless -DCOMPONENT= is specified when cmake_install.cmake is invoked. 2006-03-30 11:55 hoffman * Source/: cmFileCommand.cxx, cmFindBase.cxx, cmFindBase.h: ENH: make sure framework search order is correct 2006-03-30 09:17 martink * Source/cmGlobalGenerator.cxx: ENH: modified the relative path code to not do relative paths between bin and source 2006-03-30 08:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-29 16:34 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: Use PBXResourcesBuildPhase for resrources 2006-03-29 16:34 hoffman * Modules/Platform/Darwin.cmake: ENH: use correct name for path 2006-03-29 16:25 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: Simplify. Instead of doing ../MacOS just copy to current directory 2006-03-29 16:21 andy * Source/cmXCode21Object.cxx: ENH: Add support for Xcode 2.1 2006-03-29 15:02 andy * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx, cmXCodeObject.h: ENH: Add copy stages for bundle files 2006-03-29 13:33 hoffman * Source/cmFindBase.cxx, Tests/BundleTest/CMakeLists.txt: ENH: add a test for find framework stuff in find_library, and fix the framework search stuff 2006-03-29 13:26 hoffman * Source/kwsys/CMakeLists.txt: ENH: remove test on cygwin since it randomly fails 2006-03-29 12:33 andy * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestConfigureCommand.cxx, cmCTestCoverageCommand.cxx, cmCTestSubmitCommand.cxx, cmCTestUpdateCommand.cxx: COMP: Return 0 instead of false 2006-03-29 12:01 andy * Source/cmCTest.cxx, Source/cmCTest.h, Source/CTest/cmCTestBuildCommand.cxx, Source/CTest/cmCTestBuildCommand.h, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestConfigureCommand.cxx, Source/CTest/cmCTestConfigureCommand.h, Source/CTest/cmCTestCoverageCommand.cxx, Source/CTest/cmCTestCoverageCommand.h, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestHandlerCommand.cxx, Source/CTest/cmCTestMemCheckHandler.cxx, Source/CTest/cmCTestSubmitCommand.cxx, Source/CTest/cmCTestSubmitCommand.h, Source/CTest/cmCTestTestCommand.h, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestUpdateCommand.cxx, Source/CTest/cmCTestUpdateCommand.h, Tests/CTestTest3/test.cmake.in: ENH: Several cleanups and make sure things get propagated where they should. Also, allow to load CTest custom files to the actual ctest -S script 2006-03-29 09:10 andy * Source/cmSetSourceFilesPropertiesCommand.cxx: COMP: Remove warning 2006-03-29 08:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-28 16:36 andy * Source/CTest/cmCTestReadCustomFilesCommand.cxx, Tests/CTestTest3/test.cmake.in: BUG: Fix the read custom files command and add a coverage test 2006-03-28 16:25 andy * Source/: cmLocalGenerator.cxx, cmTarget.cxx: COMP: Remove warnings 2006-03-28 15:20 andy * Source/cmCTest.cxx: ENH: Pass handler flags to both test and memcheck handler 2006-03-28 15:19 andy * Source/: CMakeLists.txt, cmCTest.h: ENH: Add new ctest command 2006-03-28 14:45 king * Source/cmFindBase.cxx: ENH: Added check of CMAKE_BACKWARDS_COMPATIBILITY to skip the CMake system path search when simulating CMake 2.2 and earlier. 2006-03-28 14:37 andy * Source/CTest/: cmCTestReadCustomFilesCommand.cxx, cmCTestReadCustomFilesCommand.h, cmCTestScriptHandler.cxx: ENH: Add command to read ctest custom files 2006-03-28 13:48 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Handle spaces in the path 2006-03-28 13:23 andy * Tests/BundleTest/: BundleLib.cxx, BundleTest.cxx: ENH: Check if files exist 2006-03-28 13:16 andy * Source/: cmFileCommand.cxx, cmInstallGenerator.cxx, cmInstallTargetGenerator.cxx, cmTarget.h: ENH: Add proper support for installing bundles 2006-03-28 13:07 alex * Modules/FindKDE4.cmake: STYLE: better error message when KDE4 hasn't been found Alex 2006-03-28 10:58 king * Source/cmInstallTargetGenerator.cxx: BUG: Pay attention to the MACOSX_BUNDLE target property only on APPLE platforms. 2006-03-28 08:54 andy * Modules/Platform/Darwin.cmake, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h, Source/cmSetSourceFilesPropertiesCommand.cxx, Tests/BundleTest/CMakeLists.txt, Tests/BundleTest/SomeRandomFile.txt, Tests/BundleTest/randomResourceFile.plist.in: ENH: Add support for adding content to bundles 2006-03-28 08:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-27 12:21 hoffman * Modules/Platform/UnixPaths.cmake: ENH: add /opt/local/include 2006-03-27 11:09 hoffman * Modules/Platform/: FreeBSD.cmake, OpenBSD.cmake: ENH: add unix paths 2006-03-27 10:46 hoffman * Modules/Platform/: FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake, NetBSD.cmake, OSF1.cmake, SCO_SV.cmake, SINIX.cmake, Tru64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixPaths.cmake, UnixWare.cmake, Xenix.cmake, kFreeBSD.cmake: ENH: add more search paths and add UnixPaths to all unix platforms 2006-03-27 08:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-26 08:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-25 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-24 16:13 hoffman * Source/cmListCommand.cxx: ENH: allow unset vars to be used in list length 2006-03-24 16:11 king * CMakeLists.txt, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added ARCHIVE option to the TARGETS mode of the INSTALL command. It is a third option added to RUNTIME and LIBRARY property types. Static libraries and import libraries are now treated as ARCHIVE targets instead of LIBRARY targets. This adds a level of granularity necessary for upcoming features. Also updated the CVS CMake patch level set in CMake_VERSION_PATCH from 4 to 5 to allow users of this version to know whether this incompatible change is present. 2006-03-24 14:47 king * Modules/FindPythonLibs.cmake: ENH: Updated implementation to use new FIND_* command power. The correct library is now found on MinGW also. 2006-03-24 14:16 king * Source/: cmFindBase.cxx, cmFindBase.h: ENH: Added NO_CMAKE_ENVIRONMENT_PATH, NO_CMAKE_PATH, NO_SYSTEM_ENVIRONMENT_PATH, and NO_CMAKE_SYSTEM_PATH options back to allow more granularity than NO_DEFAULT_PATH. 2006-03-24 14:15 king * Modules/Platform/UnixPaths.cmake: BUG: Fix '/use/lib' to be '/usr/lib'. 2006-03-24 12:20 martink * Tests/CustomCommand/: CMakeLists.txt, GeneratedHeader/CMakeLists.txt: BUG: fix test to list generate dheader 2006-03-24 09:15 hoffman * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalXCodeGenerator.cxx, Source/cmTryCompileCommand.cxx, Tests/ExternalOBJ/CMakeLists.txt, Tests/ExternalOBJ/Object/CMakeLists.txt, Tests/X11/CMakeLists.txt: ENH: add support for universal binaries 2006-03-24 08:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-23 15:35 andy * Source/CTest/cmCTestBuildAndTestHandler.cxx: COMP: Remove warning 2006-03-23 13:55 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: removed unused rules from targets for VS 2006-03-23 11:19 andy * Source/cmCTest.cxx: BUG: Fix CTestCustom.ctest file 2006-03-23 10:10 hoffman * CTestCustom.ctest.in: ENH: try to get rid of warning on HP 2006-03-23 09:56 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: More error handling 2006-03-23 08:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-22 17:21 hoffman * Source/cmExecuteProcessCommand.cxx: ENH: do not dereference empty stl vectors 2006-03-22 15:01 martink * Tests/: Complex/VarTests.cmake, Complex/Executable/CMakeLists.txt, Complex/Executable/Included.cmake, Complex/Executable/complex.cxx, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/Included.cmake, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/Included.cmake, ComplexRelativePaths/Executable/complex.cxx: ENH: added testing for new features 2006-03-22 14:45 andy * Source/cmMakefile.cxx: BUG: Fix logic. If the variable is not set, then it is always ok to write the file 2006-03-22 14:40 andy * Source/: cmAddCustomCommandCommand.cxx, cmConfigureFileCommand.cxx, cmExecuteProcessCommand.cxx, cmFileCommand.cxx, cmMakeDirectoryCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmWriteFileCommand.cxx: ENH: Allow blocking of writing into the source tree 2006-03-22 14:06 martink * Source/: cmGetDirectoryPropertyCommand.h, cmGetSourceFilePropertyCommand.cxx, cmGetSourceFilePropertyCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h, cmSourceFile.cxx: ENH: added some new functionality 2006-03-22 13:04 andy * Source/: cmBootstrapCommands.cxx, cmCommands.cxx, cmake.cxx: COMP: Fix apple bootstrap issues 2006-03-22 11:14 andy * Source/cmBootstrapCommands.cxx, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Source/cmCommands.cxx, Source/cmWriteFileCommand.cxx: ENH: Cleanup bootstrap even more 2006-03-22 11:10 king * Modules/Platform/Windows-gcc.cmake, Source/cmLocalGenerator.cxx: ENH: Added support for linking to MS .lib libraries in MinGW. 2006-03-22 09:58 andy * bootstrap, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmakemain.cxx: ENH: Remove things from bootstrap 2006-03-22 08:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-21 17:47 barre * Source/kwsys/SystemTools.cxx: ENH: the arguments to this function were not checked in a robust way 2006-03-21 16:59 andy * CMakeLists.txt: ENH: Add flag for MFC 2006-03-21 16:58 andy * Modules/InstallRequiredSystemLibraries.cmake: ENH: Handle visual studio versions 2006-03-21 16:39 andy * Source/cmCTest.cxx: ENH: Two things. If there is CTestCustom.cmake in the toplevel directory read that file only. If there is CTestCustom.ctest in the toplevel directory, do the glob, if there is none, do nothing 2006-03-21 16:03 andy * Source/cmFileCommand.cxx, Source/cmFileCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: Add relative tag and add test for relative tag 2006-03-21 16:02 andy * Source/kwsys/: Glob.cxx, Glob.hxx.in: ENH: Add support for relative paths and cleanup 2006-03-21 16:01 andy * Source/cmCTest.cxx: BUG: Handle visual studio 8 2006-03-21 12:56 alex * Modules/FindKDE3.cmake: BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete libkdecore.so Alex 2006-03-21 12:54 andy * bootstrap, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCacheManager.cxx, Source/cmFileCommand.cxx, Source/cmFindPathCommand.cxx, Source/cmGlob.cxx, Source/cmGlob.h, Source/CTest/cmCTestCoverageHandler.cxx: ENH: Remove cmGlob and use glob from kwsys 2006-03-21 08:45 king * Source/cmLocalGenerator.cxx: ENH: Enabling CMAKE_INCLUDE_CURRENT_DIR even for in-source builds to be more consistent with its name. This also makes double-quote and angle-bracket include styles (almost) identical. 2006-03-21 08:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-20 16:24 andy * Source/CPack/cmCPackPackageMakerGenerator.cxx: ENH: Handle unusual path for packagemaker 2006-03-20 12:29 alex * Modules/: AddFileDependencies.cmake, FindPNG.cmake, KDE3Macros.cmake: BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() ENH: mark the variables from FindPNG.cmake as advanced Alex 2006-03-20 07:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-19 07:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-18 12:23 hoffman * CTestCustom.ctest.in: ENH: add more warning stuff 2006-03-18 12:16 alex * Modules/FindKDE3.cmake: STYLE: fix typos Alex 2006-03-18 08:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-17 16:30 andy * Source/cmConfigure.cmake.h.in: ENH: Propagate cmake variables to macros in C 2006-03-17 16:14 andy * CMakeLists.txt, Source/CMakeLists.txt, Source/cmSystemTools.cxx: ENH: Simplify the test 2006-03-17 15:47 andy * Source/CMakeLists.txt: COMP: Use the current cmake's CheckCXXSourceCompiles 2006-03-17 15:46 andy * Source/: CMakeLists.txt, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Handle missing unsetenv and add check for environ 2006-03-17 15:33 hoffman * Source/cmSystemTools.cxx: ENH: make cmake compile 2006-03-17 12:31 andy * Source/cmSystemTools.cxx: COMP: Fix windows 2006-03-17 12:24 andy * Source/cmSystemTools.cxx: COMP: Handle windows with hack for now 2006-03-17 12:06 malaterre * Source/kwsys/: Directory.cxx, Directory.hxx.in, SystemTools.cxx, SystemTools.hxx.in: ENH: Use const char where it should have been. At same time fix Bug#2958 2006-03-17 11:44 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add a method to remove environment variables 2006-03-17 11:14 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Use vector of plain strings and add cmake -E command for getting environment 2006-03-17 10:58 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add access for all environment variables 2006-03-17 09:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-16 18:24 king * Source/cmGlobalGenerator.cxx: BUG: When generating the install rules for CMake itself the per-configuration subdirectory must be used to specify the executable location. 2006-03-16 17:49 hoffman * Source/: cmFindBase.cxx, cmFindBase.h: ENH: clean up find stuff so that NO_SYSTEM_PATH is backwards compatible and you get put system env variables in the find commands 2006-03-16 17:40 king * Modules/Platform/Windows-cl.cmake: BUG: /DWIN32 and /D_WINDOWS should be defined for all configurations or if no configuration is set. 2006-03-16 17:26 king * Source/kwsys/auto_ptr.hxx.in: COMP: Skip trying to use native auto_ptr implementation and just provide a conforming one. 2006-03-16 17:20 king * Tests/: Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files. 2006-03-16 17:09 king * Source/: cmConfigure.cmake.h.in, cmDynamicLoader.cxx, cmDynamicLoader.h, cmLoadCommandCommand.cxx: BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files. 2006-03-16 17:07 king * Modules/CMakeSystemSpecificInformation.cmake: BUG: When copying the module variables from shared library variables use double quotes for the required definitions ...PREFIX and ...SUFFIX to make sure a value is set even if it is empty. 2006-03-16 16:04 king * Source/cmExportLibraryDependencies.cxx: COMP: Using KWSys auto_ptr to avoid cross-platform problems. 2006-03-16 16:04 king * Source/kwsys/: CMakeLists.txt, auto_ptr.hxx.in: ENH: Adding auto_ptr to KWSys to provide a conforming version everywhere. 2006-03-16 15:53 alex * Modules/FindKDE4.cmake: ENH: after searching for kde-config in the special dirs, search again in the standard dirs BUG: handle paths on windows correctly Alex 2006-03-16 15:50 king * Source/cmExportLibraryDependencies.cxx: COMP: Fix for auto_ptr usage on VC6's broken implementation. 2006-03-16 14:51 king * Source/cmLocalGenerator.cxx: BUG: Fixed generation of mismatched IF in install script. This bug was introduced during the m_ sweep. 2006-03-16 14:44 king * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y: COMP: Fix malloc/free declaration for windows compilers. 2006-03-16 14:14 king * Source/cmExportLibraryDependencies.cxx: BUG: Do not leak the ofstream object in append mode. Just use an auto_ptr for both cases. 2006-03-16 11:57 king * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y, cmCommandArgumentParserTokens.h: ENH: Using patch from Frans Englich to clarify error messages. 2006-03-16 11:34 andy * Source/CTest/cmCTestTestHandler.h: COMP: Make members protected so that subclass can use them 2006-03-16 11:29 andy * Source/CTest/: cmCTestMemCheckHandler.cxx, cmCTestTestHandler.cxx: BUG: Couple of memcheck bugs: Log files should really be different for test and memcheck. Also make sure to not trunkate the output of the test until the valgrind or any other checking is pefrormed. 2006-03-16 11:28 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: ENH: not all messages are errors 2006-03-16 11:27 hoffman * Source/cmOrderLinkDirectories.cxx: ENH: don't put the default framework path in a -F option 2006-03-16 11:21 andy * Source/kwsys/DynamicLoader.hxx.in: COMP: Fix problem with namespace 2006-03-16 11:15 king * Modules/Platform/FreeBSD.cmake: ENH: Enabling soname support on FreeBSD. 2006-03-16 11:01 andy * Source/cmDynamicLoader.cxx, Source/cmDynamicLoader.h, Source/cmLoadCommandCommand.cxx, Source/cmSystemTools.cxx, Source/cmakemain.cxx, Source/kwsys/DynamicLoader.cxx, Source/kwsys/DynamicLoader.hxx.in, Source/kwsys/testDynamicLoader.cxx, Source/kwsys/testDynload.c, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: Cleanup DynamicLoader so that the symbols have more consistent names, start using dynamic loader from kwsys in CMake 2006-03-16 10:53 martink * Source/: cmGlobalGenerator.h, cmLocalVisualStudio7Generator.h, cmLocalXCodeGenerator.h, cmMakefile.h: STYLE: minor comment cleanups 2006-03-16 10:44 martink * Source/CursesDialog/: cmCursesBoolWidget.cxx, cmCursesCacheEntryComposite.cxx, cmCursesCacheEntryComposite.h, cmCursesDummyWidget.cxx, cmCursesFilePathWidget.cxx, cmCursesForm.cxx, cmCursesForm.h, cmCursesLabelWidget.cxx, cmCursesLongMessageForm.cxx, cmCursesLongMessageForm.h, cmCursesMainForm.cxx, cmCursesMainForm.h, cmCursesPathWidget.cxx, cmCursesPathWidget.h, cmCursesStringWidget.cxx, cmCursesStringWidget.h, cmCursesWidget.cxx, cmCursesWidget.h: ENH: m_ cleanup for curses 2006-03-16 09:33 martink * Source/: cmAddTestCommand.h, cmData.h, cmDependsC.cxx, cmDependsC.h, cmStandardIncludes.h, cmUseMangledMesaCommand.h, cmVariableRequiresCommand.h: ENH: a warning fix and some more cleanup 2006-03-16 09:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-15 16:32 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix warning 2006-03-15 14:14 hoffman * Modules/Platform/IRIX64.cmake: ENH: use c not cxx 2006-03-15 13:20 alex * Modules/UsePkgConfig.cmake: BUG: change the formatting of the pkgconfig module documentation so that it doesn't crash some versions of konqueror (fixed with current konqy) Alex 2006-03-15 12:02 hoffman * Source/: cmGlobalXCode21Generator.cxx, cmGlobalXCodeGenerator.cxx, cmake.cxx: ENH: fix up this changes for mac 2006-03-15 11:38 martink * Source/: cmGlobalXCodeGenerator.cxx, cmMakeDepend.cxx, cmMakeDepend.h, cmXCodeObject.cxx, cmXCodeObject.h: BUG: some UNIX fixes for my m_ commit 2006-03-15 11:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-15 11:01 martink * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx, cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddSubDirectoryCommand.cxx, cmAddTestCommand.cxx, cmAuxSourceDirectoryCommand.cxx, cmBuildCommand.cxx, cmBuildNameCommand.cxx, cmCMakeMinimumRequired.cxx, cmCPluginAPI.cxx, cmCTest.cxx, cmCTest.h, cmCacheManager.cxx, cmCacheManager.h, cmCommand.h, cmCommandArgumentLexer.cxx, cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h, cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmCreateTestSourceList.cxx, cmCustomCommand.cxx, cmCustomCommand.h, cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h, cmDependsFortranLexer.cxx, cmDependsJavaLexer.cxx, cmDynamicLoader.cxx, cmEnableLanguageCommand.cxx, cmEnableTestingCommand.cxx, cmEndIfCommand.cxx, cmExecProgramCommand.cxx, cmExecuteProcessCommand.cxx, cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h, cmExprLexer.cxx, cmExprParserHelper.cxx, cmExprParserHelper.h, cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h, cmFileCommand.cxx, cmFileTimeComparison.cxx, cmFileTimeComparison.h, cmFindBase.cxx, cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmForEachCommand.cxx, cmForEachCommand.h, cmGeneratedFileStream.cxx, cmGeneratedFileStream.h, cmGetCMakePropertyCommand.cxx, cmGetDirectoryPropertyCommand.cxx, cmGetFilenameComponentCommand.cxx, cmGetSourceFilePropertyCommand.cxx, cmGetTargetPropertyCommand.cxx, cmGetTestPropertyCommand.cxx, cmGlob.cxx, cmGlob.h, cmGlobalBorlandMakefileGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalWatcomWMakeGenerator.cxx, cmGlobalXCode21Generator.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeDirectoryCommand.cxx, cmIncludeExternalMSProjectCommand.cxx, cmIncludeRegularExpressionCommand.cxx, cmInstallCommand.cxx, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmInstallTargetGenerator.cxx, cmInstallTargetsCommand.cxx, cmLinkDirectoriesCommand.cxx, cmLinkLibrariesCommand.cxx, cmListCommand.cxx, cmListFileCache.cxx, cmListFileCache.h, cmLoadCacheCommand.cxx, cmLoadCommandCommand.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMacroCommand.cxx, cmMacroCommand.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h, cmMarkAsAdvancedCommand.cxx, cmMathCommand.cxx, cmMessageCommand.cxx, cmOptionCommand.cxx, cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h, cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h, cmProjectCommand.cxx, cmQTWrapCPPCommand.cxx, cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h, cmRemoveCommand.cxx, cmRemoveDefinitionsCommand.cxx, cmSeparateArgumentsCommand.cxx, cmSetCommand.cxx, cmSetDirectoryPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.cxx, cmSetTargetPropertiesCommand.cxx, cmSetTestsPropertiesCommand.cxx, cmSiteNameCommand.cxx, cmSourceFile.cxx, cmSourceFile.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx, cmStringCommand.cxx, cmSubdirCommand.cxx, cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmTest.cxx, cmTest.h, cmTryCompileCommand.cxx, cmTryRunCommand.cxx, cmUtilitySourceCommand.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h, cmVariableRequiresCommand.cxx, cmVariableWatch.cxx, cmVariableWatch.h, cmWhileCommand.cxx, cmWhileCommand.h, cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h, cmWriteFileCommand.cxx, cmXCode21Object.cxx, cmXCodeObject.cxx, cmXCodeObject.h, cmake.cxx, cmake.h, cmakemain.cxx, cmakewizard.cxx, cmakewizard.h, CTest/cmCTestBuildCommand.cxx, CTest/cmCTestConfigureCommand.cxx, CTest/cmCTestCoverageCommand.cxx, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestStartCommand.cxx, CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestTestCommand.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateCommand.cxx: STYLE: some m_ to this-> cleanup 2006-03-15 09:23 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add svn cleanup before running svn 2006-03-15 09:22 andy * Source/CPack/cmCPackGenericGenerator.cxx: ENH: Allow multiple install directories 2006-03-14 16:38 hoffman * Modules/FindOpenGL.cmake: ENH: go back to finding the framework opengl on the mac 2006-03-14 15:19 hoffman * Modules/FindOpenGL.cmake: ENH: use standard include path for OpenGL 2006-03-14 14:03 hoffman * Modules/Platform/Darwin.cmake, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileTargetGenerator.cxx, Source/cmMakefileTargetGenerator.h: ENH: add support for removing language flags from shared library and shared module link commands 2006-03-14 11:35 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed object file name construction to use Convert method for relative path conversion. Also fixed test of result to check explicitly for a full path. 2006-03-14 10:14 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Avoid full paths and spaces when constructing object file names. 2006-03-14 09:37 king * Source/cmMakefile.cxx: BUG: Clarified confusing error message. 2006-03-14 02:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-13 16:45 andy * Source/CPack/cmCPackGenericGenerator.h: STYLE: Fix style checker 2006-03-13 15:57 malaterre * Source/kwsys/testDynamicLoader.cxx: COMP: Fix warning 2006-03-13 15:19 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Introducing new policy to construct more unique object file names. This should allow multiple sources with the same file name but different FULL paths to be added to a single target. 2006-03-13 14:39 malaterre * Source/kwsys/: DynamicLoader.cxx, testDynamicLoader.cxx: BUG: Fix problem on MacOSX, by disabling part of the test. 2006-03-13 13:11 hoffman * Modules/VTKCompatibility.cmake: ENH: add backwards compatibility fix for more aggressive find_path command 2006-03-13 11:27 malaterre * Source/kwsys/DynamicLoader.cxx: ENH: Fix dashboard with coverage 2006-03-13 10:49 malaterre * Source/kwsys/CMakeLists.txt: ENH: Do not build the library if we are not doing Testing 2006-03-13 10:27 malaterre * Source/kwsys/testDynamicLoader.cxx: ENH: Make test usable from command line 2006-03-13 02:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-12 10:03 hoffman * Source/kwsys/SystemTools.cxx: ENH: remove warning 2006-03-12 09:43 hoffman * Source/CMakeLists.txt: ENH: remove test until it works 2006-03-12 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-11 12:43 hoffman * Modules/FindOpenGL.cmake: ENH: take advantage of new framework stuff 2006-03-11 11:53 hoffman * Source/cmake.cxx: ENH: remove print 2006-03-11 11:52 hoffman * Source/kwsys/SystemTools.cxx: ENH: try to clean up the search for programs 2006-03-11 10:09 malaterre * Source/kwsys/DynamicLoader.cxx: BUG: Fix for MINGW32 2006-03-11 09:59 malaterre * Source/kwsys/DynamicLoader.cxx: ENH: Add support for LastError on HPUX 2006-03-11 09:47 malaterre * Source/kwsys/DynamicLoader.cxx: ENH: Also look into data segment (consistant with other implementation) 2006-03-11 02:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-10 17:37 hoffman * Source/kwsys/SystemTools.cxx: ENH: undo last change because it broke the dashboard 2006-03-10 16:53 hoffman * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: add a new FILE SYSTEM_PATH that allows you to read a environment variable with a path in it. 2006-03-10 16:52 hoffman * Source/kwsys/SystemTools.cxx: ENH: fix find program to look for .com and .exe correctly and not return files with no extension on windows 2006-03-10 16:03 malaterre * Source/kwsys/: DynamicLoader.hxx.in, SystemTools.hxx.in: ENH: Add documentation on the problem with system wide path for looking up dynamic libraries. STYLE: Fix trailing white spaces 2006-03-10 15:42 malaterre * Source/kwsys/testDynamicLoader.cxx: BUG: Need a / for Visual Studio build 2006-03-10 15:38 malaterre * Source/kwsys/: testDynamicLoader.cxx, testSystemTools.h.in: BUG: Do the proper path 2006-03-10 15:12 malaterre * Source/kwsys/testDynamicLoader.cxx: BUG: Need a trailing slash 2006-03-10 15:08 malaterre * Source/kwsys/: CMakeLists.txt, testDynamicLoader.cxx, testSystemTools.h.in: BUG: Fix problem with in the path 2006-03-10 15:03 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildAndTestHandler.h, CTest/cmCTestBuildCommand.cxx, CTest/cmCTestBuildCommand.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h, CTest/cmCTestCommand.h, CTest/cmCTestConfigureCommand.cxx, CTest/cmCTestConfigureCommand.h, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageCommand.cxx, CTest/cmCTestCoverageCommand.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestEmptyBinaryDirectoryCommand.h, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h, CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestMemCheckCommand.h, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestMemCheckHandler.h, CTest/cmCTestRunScriptCommand.cxx, CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestSleepCommand.cxx, CTest/cmCTestSleepCommand.h, CTest/cmCTestStartCommand.cxx, CTest/cmCTestStartCommand.h, CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitCommand.h, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestSubmitHandler.h, CTest/cmCTestTestCommand.cxx, CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateCommand.h, CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h: STYLE: Fix some style issues 2006-03-10 14:53 malaterre * Source/kwsys/: CMakeLists.txt, testDynamicLoader.cxx, testSystemTools.h.in: BUG: Trying to get testDynamicLoader to work on Solaris and SunOS, where current directory is not lookup when doing dlopen 2006-03-10 13:54 hoffman * Source/: cmCommandArgumentLexer.h, cmDependsFortranParserTokens.h, cmDependsJavaLexer.h, cmDependsJavaParserHelper.h, cmDependsJavaParserTokens.h, cmExecProgramCommand.h, cmExprLexer.h, cmExprParserTokens.h, cmFLTKWrapUICommand.h, cmFileCommand.h, cmFindBase.h, cmGlobalBorlandMakefileGenerator.h, cmGlobalGenerator.h, cmGlobalMSYSMakefileGenerator.h, cmGlobalMinGWMakefileGenerator.h, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.h, cmGlobalWatcomWMakeGenerator.h, cmGlobalXCodeGenerator.h, cmListCommand.h, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.h, cmSourceFile.cxx, cmStringCommand.cxx, cmSystemTools.cxx, cmTarget.cxx, cmTargetLinkLibrariesCommand.cxx, cmTryCompileCommand.cxx, cmTryRunCommand.cxx, cmUseMangledMesaCommand.cxx, cmUtilitySourceCommand.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmVariableRequiresCommand.cxx, cmVariableWatch.cxx, cmVariableWatch.h, cmWhileCommand.cxx, cmWin32ProcessExecution.cxx, cmXCode21Object.cxx, cmXCodeObject.cxx, cmakemain.cxx: STYLE: fix line lengths 2006-03-10 13:34 malaterre * Source/kwsys/SystemTools.cxx: STYLE: Remove trailing whitespaces 2006-03-10 13:34 malaterre * Source/kwsys/: CMakeLists.txt, DynamicLoader.cxx: BUG: Fix DynamicLoader implementation on MacOSX (using old API) 2006-03-10 13:33 malaterre * Source/kwsys/SystemTools.cxx: ENH: Add trailing whitespace 2006-03-10 13:06 andy * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx, cmAddExecutableCommand.h, cmBuildCommand.cxx, cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx, cmCPluginAPI.cxx, cmCPluginAPI.h, cmCacheManager.cxx, cmCommandArgumentParser.cxx, cmCommandArgumentParserHelper.h, cmCommandArgumentParserTokens.h, cmCreateTestSourceList.cxx, cmCustomCommand.cxx, cmDependsC.cxx, cmDependsC.h, cmDependsFortranLexer.cxx, cmDependsFortranLexer.h, cmLocalVisualStudio7Generator.cxx, cmMacroCommand.cxx, cmMacroCommand.h, cmMakeDepend.cxx, cmake.cxx, cmakewizard.cxx, CPack/cmCPackGenerators.cxx, CPack/cmCPackGenerators.h, CPack/cmCPackGenericGenerator.cxx, CPack/cmCPackGenericGenerator.h, CPack/cmCPackLog.cxx, CPack/cmCPackLog.h, CPack/cmCPackNSISGenerator.cxx, CPack/cmCPackNSISGenerator.h, CPack/cmCPackPackageMakerGenerator.cxx, CPack/cmCPackSTGZGenerator.cxx, CPack/cmCPackSTGZGenerator.h, CPack/cmCPackTGZGenerator.cxx, CPack/cmCPackTGZGenerator.h, CPack/cpack.cxx: STYLE: Fix some style issues 2006-03-10 12:47 andy * Source/CPack/cmCPackPackageMakerGenerator.cxx: STYLE: Cleanup trailing spaces 2006-03-10 12:01 malaterre * Source/kwsys/: Glob.cxx, Registry.cxx, RegularExpression.cxx, testCommandLineArguments.cxx: STYLE: Make sure to use the proper cast. 2006-03-10 11:58 alex * Modules/FindKDE4.cmake: ENH: new module to find the FindKDE4Internal.cmake installed by kdelibs4 Alex 2006-03-10 11:57 malaterre * Source/kwsys/: DynamicLoader.cxx, testDynamicLoader.cxx: ENH: Make sure that we find the proper symbol and not the one that start with _. STYLE: Remove an old style cast 2006-03-10 11:32 malaterre * Source/kwsys/: DynamicLoader.cxx, testDynamicLoader.cxx: ENH: Hopefully have the DynamicLoader to the proper thing. 2006-03-10 11:13 hoffman * Source/: cmCacheManager.h, cmLocalVisualStudio7Generator.h, cmMakeDepend.h, cmMakefile.h, cmOutputRequiredFilesCommand.h, cmProjectCommand.h, cmRemoveDefinitionsCommand.h, cmSetTestsPropertiesCommand.h, cmSourceGroup.h, cmStandardIncludes.h, cmStringCommand.h, cmSubdirCommand.h, cmSystemTools.h, cmTarget.h, cmTryCompileCommand.h, cmVariableWatch.h, cmXCode21Object.h, cmake.h: ENH: fix line length style stuff 2006-03-10 11:12 hoffman * Source/cmFindBase.cxx: ENH: avoid adding junk into paths 2006-03-10 10:28 malaterre * Source/kwsys/testDynamicLoader.cxx: BUG: Make sure to have proper dependencies 2006-03-10 10:26 hoffman * Source/kwsys/CMakeLists.txt: ENH: use CMAKE_DL_LIBS and not dl directly as it does not always exist 2006-03-10 10:23 malaterre * Source/kwsys/CMakeLists.txt: COMP: Fix cygwin build 2006-03-10 10:19 malaterre * Source/kwsys/testDynload.c: COMP: Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format) 2006-03-10 10:12 andy * Source/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt: ENH: Add package to bundle test 2006-03-10 10:07 andy * Source/kwsys/testDynamicLoader.cxx: COMP: Add missing include 2006-03-10 02:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-09 17:16 malaterre * Source/kwsys/testDynload.c: BUG: Remove comment 2006-03-09 17:15 malaterre * Source/kwsys/: testDynamicLoader.cxx, testDynload.c: ENH: remove test temporarily 2006-03-09 17:08 malaterre * Source/kwsys/: CMakeLists.txt, testDynamicLoader.cxx: ENH: Still more coverage of the DynamicLoader 2006-03-09 17:06 malaterre * Source/kwsys/testDynload.c: ENH: Add a file to generate the lib 2006-03-09 16:40 malaterre * Source/kwsys/testDynamicLoader.cxx: ENH: Improve test coverage 2006-03-09 16:40 malaterre * Source/kwsys/: Registry.cxx, Registry.hxx.in: STYLE: Minor style 2006-03-09 15:55 king * CMakeLists.txt: ENH: Updated patch level to 4 for special KDE release. 2006-03-09 15:47 hoffman * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: if CMakeCache.txt has been removed, then automatically remove CMakefiles/*.cmake 2006-03-09 15:00 hoffman * Modules/Platform/AIX.cmake: ENH: add correct initial flags for aix 2006-03-09 14:57 hoffman * Modules/Platform/Darwin.cmake: ENH: remove junk 2006-03-09 14:41 malaterre * Source/kwsys/CMakeLists.txt: ENH: Carefully turn testing of DynamicLib on 2006-03-09 14:36 malaterre * Source/kwsys/: Directory.cxx, testSystemTools.cxx, DynamicLoader.cxx: STYLE: Minor style 2006-03-09 14:35 malaterre * Source/kwsys/testDynamicLoader.cxx: ENH: Adding initial test for DynamicLoader 2006-03-09 14:30 hoffman * Source/: cmFileCommand.cxx, cmFileCommand.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: use a cmake script to do the clean step, this allows for large numbers of files to be removed without making the command line too long 2006-03-09 14:10 alex * Modules/: FindKDE.cmake, FindKDE3.cmake, KDE3Macros.cmake, kde3init_dummy.cpp.in, kde3uic.cmake: ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of Alex 2006-03-09 11:57 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: STYLE: Fix some style issues 2006-03-09 11:35 hoffman * Modules/FindTCL.cmake, Source/cmFindPathCommand.cxx: ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks 2006-03-09 11:17 andy * Source/CTest/: cmCTestBuildAndTestHandler.cxx, cmCTestBuildCommand.cxx, cmCTestBuildHandler.cxx, cmCTestBuildHandler.h, cmCTestConfigureCommand.cxx, cmCTestConfigureCommand.h, cmCTestConfigureHandler.cxx, cmCTestConfigureHandler.h, cmCTestCoverageCommand.cxx, cmCTestCoverageCommand.h, cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h, cmCTestEmptyBinaryDirectoryCommand.h, cmCTestGenericHandler.cxx, cmCTestGenericHandler.h, cmCTestHandlerCommand.cxx, cmCTestHandlerCommand.h, cmCTestMemCheckCommand.h, cmCTestMemCheckHandler.cxx, cmCTestRunScriptCommand.cxx, cmCTestScriptHandler.cxx, cmCTestStartCommand.cxx, cmCTestStartCommand.h, cmCTestSubmitCommand.cxx, cmCTestSubmitCommand.h, cmCTestSubmitHandler.cxx, cmCTestTestCommand.cxx, cmCTestTestHandler.cxx, cmCTestTestHandler.h, cmCTestUpdateCommand.cxx, cmCTestUpdateCommand.h, cmCTestUpdateHandler.cxx: STYLE: Fix some style issues 2006-03-09 09:53 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix problem on Wacom system with global symbolic targets 2006-03-09 08:32 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackPackageMakerGenerator.cxx, cpack.cxx: STYLE: Fix style problems 2006-03-09 08:20 andy * Utilities/: cmcurl/formdata.c, cmtar/libtar.h: COMP: Remove win64 warnings 2006-03-09 02:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-08 18:16 hoffman * Source/cmFindProgramCommand.cxx: ENH: make sure system path is not added unless asked for 2006-03-08 17:11 alex * Modules/UsePkgConfig.cmake: ENH: add a cmake module for using pkg-config, tested in kdelibs, ok by Bill Hoffman Alex 2006-03-08 16:33 andy * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenerators.h, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackLog.cxx, cmCPackLog.h, cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.cxx, cmCPackSTGZGenerator.h, cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h, cpack.cxx: STYLE: Lots of formating to remove style problems 2006-03-08 14:02 andy * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/InstallScript2.cmake, Tests/SimpleInstall/TestSubDir/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/InstallScript2.cmake, Tests/SimpleInstallS2/TestSubDir/CMakeLists.txt: ENH: Add additional subdirectory to improve testing and to allow cleanup when testing cpack 2006-03-08 13:59 andy * Source/CPack/cmCPackPackageMakerGenerator.cxx: BUG: Handle version with multiple dots 2006-03-08 13:20 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: COMP: Ok, fix typo 2006-03-08 13:13 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Add testing for cpack 2006-03-08 13:06 king * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing on AIX. 2006-03-08 12:42 king * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing on the SGI. 2006-03-08 12:36 king * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing for FreeBSD and Sun. 2006-03-08 12:12 king * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing on HP-UX. 2006-03-08 11:57 king * Source/kwsys/ProcessUNIX.c: BUG: Do not leak ps FILE when the process starts but reading the header fails. 2006-03-08 11:39 king * Source/kwsys/testProcess.c: ENH: Added a way to quickly enable manual testing of grandchild killing. 2006-03-08 11:38 king * Source/kwsys/ProcessUNIX.c: ENH: Added implementation of process tree killing that runs "ps" to traverse the tree. 2006-03-08 10:52 andy * Source/: cmListFileCache.cxx, cmListFileCache.h: BUG: Remove some old legacy code and remove memory leak 2006-03-08 09:16 malaterre * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: BUG: Including file within a namespace{} is dangerous(unless symbols are within an extern C). Also update documentation about special case for MacOSX 2006-03-08 02:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-07 19:52 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: remove cpack stuff for now so that we can get mac dashboards again 2006-03-07 15:31 andy * CMakeGraphVizOptions.cmake, Source/cmake.cxx: ENH: Add a way to overwrite some preferences and ignore certain targets 2006-03-07 14:46 king * Source/cmake.cxx: ENH: Add CMAKE_COMMAND and CMAKE_ROOT variables when running in script mode. This partially addresses bug#2828. 2006-03-07 14:38 king * Source/cmGlobalGenerator.cxx: BUG: Check for whether to add -C to package rule should check for a . in the first character not the second. 2006-03-07 12:03 andy * Source/cmake.cxx: COMP: Fix warnings 2006-03-07 10:05 king * Source/cmFileCommand.cxx: BUG: Most platforms other than Linux seem to require executable permissions on their shared libraries. 2006-03-07 10:04 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Some platforms require executable permission on shared libraries. 2006-03-07 02:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-06 15:41 hoffman * bootstrap: ENH: add more depends for bootstrap 2006-03-06 15:14 hoffman * Modules/Platform/Darwin.cmake: ENH: add support for language flags that allow for universal binaries 2006-03-06 15:14 hoffman * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/Platform/CYGWIN.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx: ENH: add support for language flags at rule expansion time 2006-03-06 15:01 hoffman * Modules/Platform/Windows-cl.cmake: ENH: add support for manifest stuff 2006-03-06 14:30 malaterre * Source/kwsys/DynamicLoader.cxx: COMP: Fix compilation on MacOSX 2006-03-06 14:08 hoffman * Modules/FindQt3.cmake: ENH: try to fix non-clean dashboards 2006-03-06 14:07 malaterre * Source/kwsys/CMakeLists.txt: ENH: Compile DynamicLoader 2006-03-06 14:02 malaterre * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: ENH: Adding kwsys implementation for a DynamicLoader class. Copy from itkDynamicLoader, with patch from cmDynamicLoader 2006-03-06 13:43 hoffman * Source/kwsys/: Directory.cxx, Registry.cxx: ENH: add missing cmake depend hacks 2006-03-06 13:34 hoffman * Source/kwsys/Glob.cxx: ENH: add missing cmake include 2006-03-06 13:02 malaterre * Source/kwsys/Directory.cxx: COMP: Some STL implementation do not provide clear on std::string 2006-03-06 11:57 malaterre * Source/kwsys/: Directory.cxx, Directory.hxx.in: BUG: Need to reset internal structure in case of multiple calls to Load 2006-03-06 10:12 malaterre * Source/kwsys/: Directory.cxx, Directory.hxx.in: ENH: Redo implementation of itkDirectory to use kwsys (avoid duplicating code). 2006-03-06 02:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-05 09:09 king * Source/cmLocalGenerator.cxx: BUG: Fix for generated install scripts to support prefixes with trailing slashes or just a single slash. 2006-03-05 08:38 hoffman * Source/cmFindBase.cxx: ENH: fix old style parsing of FIND commands and fix broken tests 2006-03-05 02:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-04 02:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-03 23:00 hoffman * Source/cmFindBase.cxx: ENH: make sure NAMES tag is not required for name argument, fixes msys generator 2006-03-03 19:29 king * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command. 2006-03-03 18:44 king * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallFilesGenerator.cxx, Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmLocalGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/inst2.cxx, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/inst2.cxx: ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and PROGRAMS mode, and corresponding support to FILE(INSTALL). Default permissions for shared libraries on non-Windows/non-OSX platforms no longer has the execute bit set. 2006-03-03 18:06 king * Source/: cmTarget.cxx, cmTarget.h: ENH: Replaced UpdateLocation method with call to GetLocation. Added comment about problems with the LOCATION attribute. 2006-03-03 15:04 andy * Source/CPack/: cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h: ENH: Check package maker version 2006-03-03 14:28 andy * Source/cmake.cxx: COMP: Oops, typo 2006-03-03 14:24 andy * Source/: cmTarget.cxx, cmTarget.h, cmake.cxx, cmake.h: ENH: Add support for exporting graphviz of the project dependencies 2006-03-03 12:58 king * Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmTarget.cxx, Tests/BundleTest/BundleLib.cxx, Tests/BundleTest/BundleTest.cxx, Tests/BundleTest/CMakeLists.txt: BUG: Fixed installation of MacOSX Bundle executables and the corresponding install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory. 2006-03-03 12:01 hoffman * Modules/Platform/Windows-cl.cmake: ENH: add manifest support for 2005 2006-03-03 11:59 hoffman * Modules/CMakeVS8FindMake.cmake: ENH: look for VCExpress first 2006-03-03 10:52 andy * Modules/CPack.Info.plist.in, Source/CPack/cmCPackPackageMakerGenerator.cxx: ENH: Add verbose flag to package maker and add CFBundleIdentifier string 2006-03-03 02:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-02 21:33 hoffman * Source/kwsys/: Registry.cxx, SystemTools.cxx: ENH: fix std in kwsys, has to be kwsys_stl 2006-03-02 20:11 hoffman * Source/cmFindBase.cxx: ENH: remove warning 2006-03-02 15:03 hoffman * Source/: cmMakefile.cxx, cmMakefile.h: ENH: removed unused methods after find changes 2006-03-02 14:39 hoffman * Source/cmTryCompileCommand.cxx: ENH: pass CMAKE_MODULE_PATH into try compile projects 2006-03-02 13:43 hoffman * Source/: cmFindBase.cxx, cmFindLibraryCommand.cxx: ENH: fix spelling errors in docs 2006-03-02 13:30 hoffman * Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/Linux.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/UnixPaths.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/WindowsPaths.cmake, Source/cmBootstrapCommands.cxx, Source/cmFindBase.cxx, Source/cmFindBase.h, Source/cmFindFileCommand.cxx, Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h, Source/cmFindPathCommand.cxx, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.cxx, Source/cmFindProgramCommand.h, Source/kwsys/Registry.cxx, Source/kwsys/SystemTools.cxx: ENH: check in new find stuff 2006-03-02 07:52 hoffman * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/CMakeJavaInformation.cmake, Source/cmGlobalGenerator.cxx: ENH: fix for bug 2921, move _OVERRIDE variable to a better position to allow changing _INIT variables 2006-03-02 02:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-03-01 22:45 king * Source/: cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH: Finished CMAKE__POSTFIX feature and documented it. The value of this variable is used when a library target is created to initialize the _POSTFIX target property. The value of this property is used (even for executables) to define a per-configuration postfix on the name of the target. Also enabled use of the OUTPUT_NAME property for non-executable targets. 2006-03-01 19:00 king * CMakeLists.txt: ENH: CMake does not need RPATHs at all for its own executables. Disable them to avoid relinking during installation. 2006-03-01 18:54 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Cleaned up generation of directory-level rules and their support structure. The directorystart rule has been removed in favor of checking the build system in the subdirectory makefile first. The "directory" rule has been renamed "all" since it corresponds to the "all" pass anyway (as against "clean"). Also fixed directory-level rule for preinstall. 2006-03-01 18:49 king * Source/cmGlobalGenerator.cxx: BUG: Check for whether to add BUILD_TYPE to install rule should check for a . in the first character not the second. 2006-03-01 15:00 andy * Modules/: CPack.cmake, NSIS.template.in: ENH: Several changes to for NSIS 2006-03-01 13:15 andy * CMakeLists.txt, Modules/CPack.cmake, Modules/InstallRequiredSystemLibraries.cmake: ENH: Install system libraries only if project requires them 2006-03-01 13:05 andy * Source/cmSystemTools.cxx: BUG: Even more VS8 issues 2006-03-01 12:50 andy * Source/CTest/cmCTestSubmitHandler.cxx: BUG: More VS8 fixes 2006-03-01 11:55 andy * Templates/CMakeLists.txt: ENH: Install cpack files 2006-03-01 08:28 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Cleanup global targets even more and potentially fix Xcode 2006-03-01 02:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-28 16:33 andy * Source/cmGlobalGenerator.cxx: BUG: Ok, fix the ordering 2006-02-28 16:22 andy * Source/CTest/cmCTestHandlerCommand.cxx: BUG: Fix for STL 2006-02-28 16:17 andy * Source/cmCTest.h: BUG: Handle buggy streams 2006-02-28 15:56 andy * Source/cmCTest.cxx: BUG: Add additional check 2006-02-28 15:31 andy * Source/cmGlobalGenerator.cxx: BUG: On Visual Studio and XCode, handle build configurations 2006-02-28 15:31 andy * Source/CTest/cmCTestBuildAndTestHandler.cxx: STYLE: Remove debug 2006-02-28 14:18 andy * Modules/CPack.cmake, Templates/CPack.GenericLicense.txt, Templates/CPack.GenericWelcome.txt: ENH: Add resource files for PackageMaker 2006-02-28 14:06 andy * Templates/CPack.GenericDescription.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add generic instructions 2006-02-28 13:30 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Attempt to handle windows without NSIS installed 2006-02-28 11:38 king * Source/kwsys/ProcessWin32.c: COMP: Fixed warnings for Borland 5.8. 2006-02-28 11:14 andy * Modules/FindQt4.cmake: BUG: Fix typo 2006-02-28 11:13 andy * Modules/FindQt4.cmake: ENH: Add support for debian having both qt3 and qt4 2006-02-28 10:27 hoffman * Modules/: CMakeVS71FindMake.cmake, CMakeVS8FindMake.cmake, FindDart.cmake, FindDoxygen.cmake, FindGCCXML.cmake, FindHTMLHelp.cmake, FindMPI.cmake, FindQt3.cmake, FindQt4.cmake, FindTCL.cmake, Platform/Darwin.cmake: ENH: use program files env for searching 2006-02-28 09:53 king * Source/cmGlobalGenerator.cxx: BUG: Need to use the CMAKE_COMMAND cache entry to get the location of CMake. 2006-02-28 08:23 andy * Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/CTest/cmCTestBuildAndTestHandler.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add support for multiple build targets and start adding simple cpack tests 2006-02-28 02:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-27 23:06 hoffman * Source/cmSourceGroupCommand.cxx: ENH: fix problem if there are .. in the path to the source file specified in a source group 2006-02-27 16:38 hoffman * Source/: cmFindBase.cxx, cmFindBase.h: ENH: add new find stuff 2006-02-27 12:14 hoffman * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake, CMakeFortranInformation.cmake, CMakeRCInformation.cmake: ENH: fix spelling errors 2006-02-27 10:58 andy * Modules/CPack.Info.plist.in, Modules/CPack.cmake, Modules/NSIS.template.in, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmGlobalGenerator.cxx, Source/CPack/cmCPackGenericGenerator.cxx, Templates/CPackConfig.cmake.in: ENH: Several packaging issues. Allow random variables to be passed to cpack (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos 2006-02-27 02:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-26 02:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-25 01:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-24 18:15 andy * Source/: cmGlobalGenerator.cxx, cmake.h: COMP: More fixes for non makefile generators and global targets 2006-02-24 17:43 andy * Source/cmGlobalGenerator.cxx: STYLE: Remove debug 2006-02-24 17:35 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTarget.h: COMP: Even more global target fixes 2006-02-24 16:30 andy * Source/CMakeLists.txt: ENH: Install cpack 2006-02-24 16:20 andy * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: More fixing of support for global target son visual studio 2006-02-24 13:13 king * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Created target property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH. 2006-02-24 12:50 hoffman * Source/cmSourceGroupCommand.cxx: ENH: fix warning and remove unused variable 2006-02-24 11:13 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: BUG: Fix generation of Xcode 2.0 and earlier projects to use CMAKE_BUILD_TYPE. 2006-02-24 11:07 king * Source/cmGlobalXCodeGenerator.cxx: BUG: Treat GLOBAL_TARGET like UTILITY for generation. 2006-02-24 10:56 andy * Source/cmLocalGenerator.cxx: COMP: Remove warnings 2006-02-24 10:55 andy * Source/cmGlobalGenerator.cxx: BUG: Only add test targets when testing is enabled. Also add CMAKE_CFG_INTDIR when specified 2006-02-24 09:43 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: COMP: Handle preinstall properly on IDEs 2006-02-24 09:32 andy * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: COMP: Fix for preinstall 2006-02-24 09:08 andy * Modules/CheckIncludeFiles.cmake: BUG: Fix the module 2006-02-24 08:57 andy * Source/cmake.cxx: BUG: Fix location of ctest for bootstrap 2006-02-24 02:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-23 18:25 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: try to fix things up for the dashboard 2006-02-23 17:30 andy * Source/: cmGlobalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: Properly handle target dependencies 2006-02-23 14:05 andy * Source/cmGlobalVisualStudio71Generator.cxx: COMP: Even more Visual Studio fixes. Why is this code duplicated? 2006-02-23 13:46 andy * Source/: cmGlobalGenerator.cxx, cmLocalVisualStudio7Generator.cxx: COMP: More fixes for visual studio 2006-02-23 13:37 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio7Generator.cxx: COMP: Fixes for visual studio 2006-02-23 11:36 hoffman * Source/cmSourceGroupCommand.cxx: ENH: fix for bug 2908 crash for empty source group name 2006-02-23 10:48 andy * Source/: cmGlobalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: Remove debug 2006-02-23 10:07 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Add a notion of a global target 2006-02-23 10:02 andy * Source/: cmTarget.cxx, cmTarget.h, cmMakefile.cxx: ENH: Add a notion of a global target 2006-02-23 10:00 andy * Source/: cmake.cxx, cmake.h: ENH: Add accessors for CTest and CPack 2006-02-23 09:59 andy * Source/CPack/cpack.cxx: ENH: Allow running without config file 2006-02-23 09:58 andy * Modules/: CMakeConfigurableFile.in, CheckIncludeFiles.cmake, CheckSymbolExists.cmake: ENH: Make modules use configure instead of file write 2006-02-23 09:38 andy * Modules/CPack.cmake, Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx, Templates/CPackConfig.cmake.in: ENH: Several NSIS features 2006-02-23 02:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-22 02:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-21 12:19 hoffman * Modules/Platform/Windows-cl.cmake, Source/cmLocalVisualStudio7Generator.cxx: ENH: make command line flags more consistent with ide settings 2006-02-21 09:35 hoffman * Source/cmGlobalMSYSMakefileGenerator.cxx: ENH: use last mount point found for mingw location, not first 2006-02-21 07:58 hoffman * Source/cmGlobalMSYSMakefileGenerator.cxx: ENH: try to get the order a bit better 2006-02-21 02:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-20 23:08 hoffman * Modules/CMakeDetermineCCompiler.cmake, Source/cmCacheManager.cxx, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.h: ENH: better finding of mingw from msys, and delete CMakeFiles directory when cache is deleted 2006-02-20 17:47 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: make sure CMAKE_STANDARD_LIBRARIES are used 2006-02-20 14:37 hoffman * Source/cmLocalGenerator.h: ENH: make it compile on vs6 2006-02-20 14:21 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Add target-level COMPILE_FLAGS to the target not the individual source files. This simplifies the generated files and puts flags in a more logical order (VS6 works, VS7 needs more translation to work). 2006-02-20 13:42 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx: ENH: change expand stuff to pass a struct for all the args 2006-02-20 12:48 king * Source/cmMakefileTargetGenerator.cxx: ENH: Order compilation flags from most general to most specific: language, then target, then source. 2006-02-20 09:54 king * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.h: BUG: Xcode generator should use local generator computation of include directories. 2006-02-20 03:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-19 19:29 king * Source/: cmFileCommand.cxx, cmInstallGenerator.cxx, cmInstallTargetGenerator.cxx: BUG: Fixed optional file install support for multi-configuration generators. 2006-02-19 19:28 king * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx, cmTarget.cxx: ENH: Switched order of slash and configuration name in cmGlobalGenerator::AppendDirectoryForConfig method to increase flexibility. 2006-02-19 18:47 king * bootstrap, Source/CMakeLists.txt, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallFilesCommand.h, Source/cmInstallFilesGenerator.cxx, Source/cmInstallFilesGenerator.h, Source/cmInstallProgramsCommand.h, Source/cmLocalGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691. 2006-02-19 18:44 king * Source/cmInstallTargetGenerator.cxx: STYLE: Removed unused includes. 2006-02-19 17:44 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Using CMAKE_SKIP_BUILD_RPATH to test relink support. 2006-02-19 17:27 king * Source/: cmInstallTargetGenerator.cxx, cmInstallTargetsCommand.cxx, cmTarget.cxx, cmTarget.h: BUG: Fixed relink with new install framework. 2006-02-19 16:35 king * Source/cmInstallCommand.cxx: COMP: Removed unused variables. 2006-02-19 16:12 king * Source/: cmInstallGenerator.cxx, cmInstallGenerator.h: BUG: Do not report files as installed if they are optional and do not exist. 2006-02-19 16:10 king * Source/cmInstallTargetGenerator.cxx: BUG: Import libraries should be installed as STATIC_LIBRARY. 2006-02-19 15:25 king * bootstrap, Source/CMakeLists.txt, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h, Source/cmInstallScriptGenerator.cxx, Source/cmInstallScriptGenerator.h, Source/cmInstallTargetGenerator.cxx, Source/cmInstallTargetGenerator.h, Source/cmInstallTargetsCommand.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSetTargetPropertiesCommand.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Created new install script generation framework. The INSTALL command creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes. 2006-02-19 13:49 king * Modules/Platform/Windows-gcc.cmake: BUG: Fixed module creation rules. Removed soname portion of all rules because it is never used on this platform. 2006-02-19 13:34 king * Modules/Platform/CYGWIN.cmake: BUG: Fixed cygwin module creation rules. Modules should not have the "cyg" prefix by default. Removd soname flags from creation rules because they are never used on this platform. 2006-02-19 13:10 king * Source/cmLocalGenerator.cxx, Tests/CustomCommand/GeneratedHeader/CMakeLists.txt: ENH: Automatic include directories should not be done by default as was just implemented. Instead a project may now set CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current source and binary directories are added automatically to the beginning of the include path in every directory. This simulates in-source behavior for double-quote includes when there are generated sources and headers in the directory. 2006-02-19 13:08 king * Source/cmFileCommand.cxx: BUG: Install location full-path test for windows needs to account for both lower case and upper case drive letters. 2006-02-19 01:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-18 16:47 king * Source/cmLocalGenerator.cxx: BUG: Remove trailing slashes from install destinations. 2006-02-18 16:36 king * Source/cmFileCommand.cxx: ENH: Clarified error message. 2006-02-18 15:42 king * Source/cmLocalGenerator.cxx: COMP: Fixed shadowed variable warning. 2006-02-18 15:37 king * Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows-wcl386.cmake, Modules/Platform/Windows.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h: ENH: Generate import libraries for DLLs on Cygwin and MinGW. 2006-02-18 11:51 king * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: If CMAKE_NO_AUTOMATIC_INCLUDE_DIRECTORIES is not set try to approximate in-source build include file behavior in an out-of-source build by adding the build tree directory corresponding to a source tree directory at the beginning of the include path. Also fixed VS6 and VS7 generators to use cmLocalGenerator's computation of include paths. The VS6 generator will now short-path the include directories if the total length is too long in order to try to avoid its truncation limit. 2006-02-18 11:03 hoffman * Source/: cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h: ENH: apply patch from Alex to support some more kdevelop stuff 2006-02-18 01:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-17 12:49 hoffman * Source/cmMakefile.cxx: ENH: put the system path ahead of the command path 2006-02-17 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-16 20:15 king * Modules/CPack.cmake, Utilities/Release/Release.cmake: BUG: Do not install MSVC dlls for a non-MSVC build. 2006-02-16 20:13 king * bootstrap: ENH: Made default install prefix consistent with building with another CMake. 2006-02-16 18:50 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: BUG: Work-around borland make bug that drops a rule completely if it has no dependencies or commands. 2006-02-16 18:09 king * Source/cmSetTargetPropertiesCommand.h: ENH: Clarified documentation of DEFINE_SYMBOL. 2006-02-16 17:49 king * Source/cmSetTargetPropertiesCommand.cxx: BUG: Report error when a target does not exist. 2006-02-16 15:55 andy * Source/CPack/cmCPackNSISGenerator.cxx: BUG: Remove debug and fix space between label and exec name 2006-02-16 15:41 andy * CMakeLists.txt: ENH: Variable name changed 2006-02-16 15:39 king * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Do not perform pre-build, pre-link, or post-install commands when relinking. 2006-02-16 15:38 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Need INSTALL_RPATH property on SimpleInstallS2 also. 2006-02-16 15:35 andy * Templates/CPackConfig.cmake.in: ENH: Fix icons 2006-02-16 15:28 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Use target property for INSTALL_RPATH of SimpleInstall so that it is the only one that needs to relink. 2006-02-16 15:20 andy * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h: ENH: More work on NSI to improve installing and uninstalling 2006-02-16 15:18 king * Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmMakefileExecutableTargetGenerator.h, Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmMakefileLibraryTargetGenerator.h, Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Implemented RPATH specification support. It is documented by the command SET_TARGET_PROPERTIES. 2006-02-16 13:42 martink * Source/cmMakefileTargetGenerator.cxx: ENH: warning fix 2006-02-16 11:32 martink * Source/cmMakefileTargetGenerator.cxx: ENH: warning fix 2006-02-16 10:35 hoffman * Source/: cmDynamicLoader.cxx, cmDynamicLoader.h: ENH: fix for bug 2808, use dlopen on new OSX versions 2006-02-16 02:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-15 21:26 hoffman * Modules/CMakeMSYSFindMake.cmake, Modules/CMakeMinGWFindMake.cmake, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.cxx: ENH: better algorithm for looking for make and gcc on msys and mingw 2006-02-15 16:38 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Use NOINHERIT macro to avoid linking to project default libraries which may not exist. 2006-02-15 16:35 king * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileUtilityTargetGenerator.cxx: ENH: Cleaned up generation of symbolic rules. Removed generation of rebuild_cache and similar rules from internal makefiles. 2006-02-15 12:32 martink * Source/cmMakefileTargetGenerator.h: COMP: fix compiler warning 2006-02-15 12:30 hoffman * Source/cmMakefileTargetGenerator.cxx: ENH: fix build error for mac 2006-02-15 10:34 martink * bootstrap, Source/CMakeLists.txt, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefileTargetGenerator.h: ENH: some reorg of the unix makefile generator 2006-02-15 10:22 king * Source/: cmCTest.cxx, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Enable capture of output from VCExpress.exe and devenv.exe. 2006-02-15 08:05 hoffman * Modules/Platform/Windows-bcc32.cmake: ENH: remove warning suppressions for borland compiler, projects wanting this should use -w-, the default warning level is used for all other compilers. Used to be -w- -whid -waus -wpar 2006-02-15 02:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-14 22:03 hoffman * Modules/CMakeMinGWFindMake.cmake, Source/cmake.cxx: ENH: do not allow mingw makefiles to generate if sh.exe is in the path, also do not write CMakeCache.txt if there is a fatal error. 2006-02-14 17:16 king * Source/: cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h: ENH: Added FATAL_ERROR option and fixed check to not have floating point roundoff problems. 2006-02-14 16:35 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Removed hard-coded linking to odbc32 and odbccp32. 2006-02-14 16:32 king * Source/: cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Avoid adding unused rules to special targets like ALL_BUILD. Make sure project regeneration rules go only in desired targets. 2006-02-14 15:35 king * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h: BUG: Fixed generation of VS8 solution file to not be re-written when loaded by VS and to work with msbuild. 2006-02-14 15:29 king * Modules/CheckTypeSize.cmake: ENH: Added CMAKE_REQUIRED_DEFINITIONS and CMAKE_REQUIRED_INCLUDES to the interface. 2006-02-14 15:15 king * Tests/CustomCommand/GeneratedHeader/main.cpp: COMP: Fixed form of function main. 2006-02-14 14:29 andy * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx: ENH: Better handling of executables on windows 2006-02-14 14:28 andy * Templates/CPackConfig.cmake.in: ENH: Cleanup 2006-02-14 11:17 andy * Source/cmCacheManager.cxx: ENH: Report which cmake was used to generate the cache in the comment 2006-02-14 10:51 hoffman * Modules/Platform/Windows-cl.cmake: ENH: fix try compile for MFC 2006-02-14 10:35 martink * Source/: cmMakefileExecutableTargetGenerator.h, cmMakefileLibraryTargetGenerator.h, cmMakefileTargetGenerator.h, cmMakefileUtilityTargetGenerator.h, cmMakefileExecutableTargetGenerator.cxx, cmMakefileLibraryTargetGenerator.cxx, cmMakefileTargetGenerator.cxx, cmMakefileUtilityTargetGenerator.cxx: ENH: some cleanup of the makefile generator 2006-02-14 10:28 andy * CMakeLists.txt, Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cpack.cxx, Templates/CPackConfig.cmake.in: ENH: Improved support for icons, random directories, etc... 2006-02-14 02:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-13 02:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-12 02:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-11 02:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-10 15:45 king * Tests/CommandLineTest/CMakeLists.txt: ENH: Added test for IF(DEFINED ENV{var})(. 2006-02-10 14:59 king * CMakeLists.txt: ENH: Updated patch level to 3 for special KDE release. 2006-02-10 14:41 king * Source/cmIfCommand.cxx: ENH: Allow IF(DEFINED ENV{somevar}) to work. 2006-02-10 14:15 king * Docs/cmake-mode.el: ENH: Added highlighting for LIST command. 2006-02-10 14:11 andy * CMakeLists.txt, Source/cmCommands.cxx, Source/cmListCommand.cxx, Source/cmListCommand.h, Tests/CMakeTests/CMakeLists.txt, Tests/CMakeTests/ListTest.cmake.in: ENH: Add initial implementation of the list command 2006-02-10 13:54 king * Docs/cmake-mode.el, Source/cmCommands.cxx, Source/cmInstallCommand.cxx, Source/cmInstallCommand.h, Source/cmLocalGenerator.cxx, Source/cmMakefile.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/InstallScript1.cmake, Tests/SimpleInstall/InstallScript2.cmake, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/InstallScript1.cmake, Tests/SimpleInstallS2/InstallScript2.cmake: ENH: Added INSTALL command as a placeholder for a future generic install specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage. 2006-02-10 12:43 hoffman * Source/kwsys/SystemTools.cxx: ENH: fix for bug 28618, cmake.exe can not find itself 2006-02-10 11:47 king * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: ENH: Strengthened EXECUTE_PROCESS output check test. 2006-02-10 11:46 king * Source/cmExecuteProcessCommand.cxx: ENH: Remove extra windows newline characters from process output. Centralized text fix processing. 2006-02-10 11:43 king * Source/: cmExecProgramCommand.h, cmExecuteProcessCommand.h: ENH: Mention relationship of EXECUTE_PROCESS and EXEC_PROGRAM. 2006-02-10 11:41 king * Source/cmake.cxx: BUG: Fixed echo command to not print trailing space. 2006-02-10 11:19 king * bootstrap: BUG: Fixed bootstrap from MSYS prompt. It was working only when the bootstrap directory in MSYS mapped to the same directory on windows except for the drive letter in front. Now it should work from any path. 2006-02-10 10:30 hoffman * Tests/CustomCommandWorkingDirectory/: CMakeLists.txt, working.c, working.c.in: ENH: fix test to work with in source build 2006-02-10 10:11 hoffman * Source/cmLocalGenerator.cxx: ENH: fix bug for single char libraries 2006-02-10 09:46 andy * Modules/CheckLibraryExists.cmake: BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module 2006-02-10 02:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-09 23:08 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: bug fix for 2829 better flags for idl tool 2006-02-09 19:29 king * Source/cmLocalVisualStudio6Generator.cxx: COMP: Removed unused variables. 2006-02-09 19:25 king * CMakeLists.txt: ENH: Updated patch level to 2 for special KDE release. 2006-02-09 19:23 king * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake, CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckSymbolExists.cmake, CheckVariableExists.cmake: ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 2006-02-09 19:03 king * Source/cmMakefile.cxx: BUG: Need to include empty arguments when parsing prefix/suffix lists for FindLibrary. 2006-02-09 19:03 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Adding option to return empty arguments when expanding a list. 2006-02-09 18:42 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: Fixed generation of cmake re-run rules. 2006-02-09 18:39 king * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: BUG: Avoid case problems on windows. 2006-02-09 17:29 king * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h: BUG: Deal with case insensitivity on windows linker paths. Also fixed spelling typo. 2006-02-09 15:33 king * Modules/FindPNG.cmake: ENH: Put libpng name back because it is needed for plain windows. 2006-02-09 15:08 king * Modules/: FindJPEG.cmake, FindPNG.cmake, FindTIFF.cmake, FindZLIB.cmake: ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it. 2006-02-09 15:05 king * Modules/CMakeGenericSystem.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows.cmake, Source/cmMakefile.cxx: ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries. 2006-02-09 14:28 king * Modules/CheckSymbolExists.cmake: ENH: Pay attention to CMAKE_REQUIRED_INCLUDES. 2006-02-09 14:18 king * Modules/Platform/Windows-g++.cmake: BUG: Need Windows-g++.cmake module to support C++-only projects on Windows. 2006-02-09 13:48 king * Modules/CMakeCXXCompiler.cmake.in: BUG: Need to duplicate some information from CMakeCCompiler to support C++-only projects. 2006-02-09 13:14 king * Modules/: CheckCSourceCompiles.cmake, CheckCXXSourceCompiles.cmake, CheckIncludeFiles.cmake: ENH: Patch from Alexander Neundorf to improve behavior. 2006-02-09 12:04 king * Modules/: FindJPEG.cmake, FindPNG.cmake, FindTIFF.cmake, FindZLIB.cmake: ENH: Added names for gnuwin32 library versions. 2006-02-09 09:34 david.cole * Utilities/cmtar/wrapper.c: COMP: Last (?) fix for dashboard warning. 2006-02-09 02:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-08 15:37 hoffman * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx, cmVTKWrapJavaCommand.cxx: ENH: fix broken tests 2006-02-08 14:12 hoffman * Source/: CMakeLists.txt, cmGlobalXCodeGenerator.cxx: ENH: working directory working for XCode 2006-02-08 12:01 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: ENH: Enabled new WORKING_DIRECTORY option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET on VS 6 generator. 2006-02-08 11:33 hoffman * Tests/CustomCommandWorkingDirectory/: CMakeLists.txt, customTarget.c, working.c: ENH: add test for working directory of custom command and target 2006-02-08 10:58 hoffman * Modules/CMakeFortranInformation.cmake, Source/CMakeLists.txt, Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.cxx, Source/cmAddCustomTargetCommand.h, Source/cmCPluginAPI.cxx, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmFLTKWrapUICommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmIncludeExternalMSProjectCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx, Source/cmVTKWrapJavaCommand.cxx: ENH: add working directory support 2006-02-08 10:13 king * CMakeLists.txt, Source/CMakeLists.txt, Utilities/CMakeLists.txt: ENH: Added option BUILD_CursesDialog if curses is found. This allows people to disable building the dialog even when curses is found. 2006-02-08 09:51 king * Modules/FindQt4.cmake: BUG: Fixed qt version message. Submitted by Tanner Lovelace. 2006-02-08 07:17 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: COMP: Fix problem with STL on HP, and fix reusing the same variable in for loops 2006-02-08 02:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-07 17:10 king * Modules/Platform/Windows-cl.cmake: ENH: Adding definition of MSVC when it is the compiler. 2006-02-07 17:09 king * Source/cmMakefile.cxx: BUG: Fixed finding of MinGW libraries with a windows build of CMake. 2006-02-07 12:53 andy * Source/CPack/cpack.cxx: ENH: Add missing help for -C option 2006-02-07 11:43 andy * Source/kwsys/SystemTools.cxx: COMP: Fix compile problem on windows and mac 2006-02-07 10:43 andy * Source/kwsys/SystemTools.cxx: COMP: Fix build problem 2006-02-07 10:23 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Move relative path to kwsys 2006-02-07 10:11 king * bootstrap, Source/cmStandardIncludes.h, Source/kwsys/CMakeLists.txt, Source/kwsys/String.hxx.in: ENH: Added kwsys::String class to shorten debugging symbols and error messages involving std::string. 2006-02-07 09:25 malaterre * Source/kwsys/SystemTools.hxx.in: ENH: Add some doc for visible class 2006-02-07 08:49 andy * Source/: cmCTest.cxx, cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx, cmTryCompileCommand.cxx, cmTryRunCommand.cxx, cmakemain.cxx, ctest.cxx, CTest/cmCTestBuildAndTestHandler.cxx: ENH: Since list file cache does not make much sense any more (because of proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out 2006-02-07 08:03 david.cole * Utilities/cmtar/wrapper.c: COMP: Fix next round of dashboard warnings. 2006-02-07 02:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-06 16:32 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: allow for - in the name of targets for nmake 2006-02-06 09:31 david.cole * Utilities/cmtar/: extract.c, output.c, wrapper.c: COMP: Fix CMake dashboard warnings related to previous revisions. 2006-02-06 02:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-05 02:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-04 02:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-03 18:08 king * CMakeLists.txt: ENH: Incremented patch version for special KDE release. 2006-02-03 17:09 king * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: ENH: Added test for new EXECUTE_PROCESS command. 2006-02-03 16:55 king * Docs/cmake-mode.el: ENH: Adding new EXECUTE_PROCESS command that interfaces to KWSys Process Execution. 2006-02-03 16:51 king * Source/: cmCommands.cxx, cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h: ENH: Adding new EXECUTE_PROCESS command that interfaces to KWSys Process Execution. 2006-02-03 12:03 king * Source/cmGlobalXCodeGenerator.h: COMP: Added missing method decl to header. 2006-02-03 11:48 david.cole * Utilities/cmtar/: decode.c, extract.c, output.c, wrapper.c: BUG: Fix mem leaks related to th_get_pathname. Change this implementation of th_get_pathname so that it *always* returns a strdup'ed value. Callers must now free non-NULL returns from th_get_pathname. Change all callers to call free appropriately. 2006-02-03 11:36 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx, cmTarget.cxx: BUG: Fixed cmTarget::GetFullPath to not append the configuration name when only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name. 2006-02-03 02:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-02 20:18 king * CMakeLists.txt, Source/CMakeLists.txt, Utilities/CMakeLists.txt: COMP: Fixed build on VC++ Express 2005. Explicitly testing for MFC to determine whether to build the MFCDialog. 2006-02-02 20:16 king * Modules/CMakeGenericSystem.cmake: BUG: CMAKE_INSTALL_PREFIX must always have forward slashes. 2006-02-02 20:15 king * Modules/Platform/Windows-cl.cmake: BUG: Removed odbc32.lib and odbccp32.lib from standard libraries on VS 8 because VC++ Express 2005 does not have them. They are SQL database access libraries and should not be needed for every application. User code can always explicitly link the library. Also replacing deprecated /GZ option with /RTC1 for VS 8. This addresses bug#2795. 2006-02-02 15:53 david.cole * Utilities/cmtar/filesystem.c: BUG: Fix memory leak in libtar's kwReadDir. Use a static buffer like readdir (probably) does rather than malloc-ing a block which never gets free-d. 2006-02-02 03:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-02-01 02:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-31 19:34 king * Source/: CMakeLists.txt, cmake.cxx: ENH: Enabled build of VS 7 and 8 generators for MinGW. 2006-01-31 18:50 king * bootstrap, Source/cmake.cxx: ENH: Enabled bootstrapping with MinGW from an MSYS prompt. 2006-01-31 10:46 king * Source/cmGetFilenameComponentCommand.cxx: BUG: ABSOLUTE option should evaluate relative paths with respect to CMAKE_CURRENT_SOURCE_DIR. This addresses bug#2797. 2006-01-31 05:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-30 14:25 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: more cleanup and removal of old code 2006-01-30 13:57 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: cleanup and remove some old code 2006-01-30 02:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-29 02:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-28 01:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-27 18:20 king * Source/: cmFindFileCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmMakefile.cxx, cmMakefile.h: ENH: Improved support for user-configured search paths. Paths given in the CMAKE_LIBRARY_PATH cmake variable are searched first, then those in the CMAKE_LIBRARY_PATH environment variable, then those listed in the call to the FIND_LIBRARY command and finally those listed in the PATH environment variable. The support is similar for finding include files with FIND_PATH, but the variable is CMAKE_INCLUDE_PATH. 2006-01-27 13:48 king * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: VS7 generator should use per-configuration linker flags for targets. This addresses bug#2765. 2006-01-27 13:46 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ENH: Better handle interleved error/output 2006-01-27 13:07 king * Modules/readme.txt, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h: ENH: Added optional component list to the REQUIRED option of the FIND_PACKAGE command. This addresses bug#2771. 2006-01-27 12:58 martink * Source/cmOptionCommand.h: STYLE: spelling fix 2006-01-27 12:58 martink * Source/cmMessageCommand.h: STYLE: grammer fix 2006-01-27 11:19 hoffman * Source/CTest/cmCTestUpdateHandler.cxx: ENH: add extra thing for svn X status output 2006-01-27 01:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-26 01:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-25 14:12 hoffman * Source/cmTryCompileCommand.cxx: ENH: fix double CMAKE_(LANG)_FLAGS problem in try compile 2006-01-25 12:16 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: change to fatal error 2006-01-25 11:41 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineFortranCompiler.cmake, CMakeDetermineJavaCompiler.cmake, CMakeDetermineRCCompiler.cmake: ENH: fix more than one argument passed in to compilers via environment 2006-01-25 11:07 hoffman * Source/: cmMessageCommand.cxx, cmMessageCommand.h: ENH: fix docs, and revert fatal error change 2006-01-25 08:39 hoffman * Source/cmMessageCommand.cxx: ENH: make all errors fatal in message command 2006-01-25 08:38 hoffman * Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/Complex/Executable/testcflags.c, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/testcflags.c, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/testcflags.c: ENH: add COMPILE_FLAGS to targets 2006-01-25 00:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-24 15:48 hoffman * Source/cmStandardIncludes.h: ENH: fix for borland memcpy junk 2006-01-24 12:07 andy * Modules/CheckCXXSourceCompiles.cmake: ENH: fix bug, write the correct file 2006-01-24 07:58 hoffman * Source/cmLocalGenerator.cxx: COMP: fix warning 2006-01-24 00:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-23 17:24 hoffman * Source/cmLocalGenerator.cxx: ENH: fix warning 2006-01-23 16:36 martink * Source/kwsys/SystemTools.cxx: ENH: by Bill make sure path is unix style 2006-01-23 13:50 hoffman * Source/: CMakeLists.txt, cmGlobalWatcomWMakeGenerator.cxx, cmLocalGenerator.cxx: ENH: fix problem with watcom and short paths and -I 2006-01-23 12:31 hoffman * Source/cmDepends.cxx: ENH: correct include for memcpy 2006-01-23 11:32 hoffman * Modules/Platform/kFreeBSD.cmake: ENH: add kFreeBSD support 2006-01-23 00:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-22 21:15 hoffman * Modules/CheckTypeSize.cmake: ENH: fix check type size 2006-01-22 00:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-21 00:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-20 01:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-19 00:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-18 00:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-17 16:53 hoffman * Source/kwsys/SystemTools.hxx.in: ENH: fix for icc 2006-01-17 16:22 martink * Utilities/cmcurl/CMake/CheckTypeSize.cmake: BUG: revert such that it should work 2006-01-17 14:35 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: more fixes for watcom 2006-01-17 10:21 hoffman * Modules/CMakeBackwardCompatibilityCXX.cmake, Modules/CMakeFindWMake.cmake, Modules/TestForSSTREAM.cmake, Modules/TestForSSTREAM.cxx, Modules/readme.txt, Modules/Platform/Windows-wcl386.cmake, Source/CMakeLists.txt, Source/cmCPluginAPI.cxx, Source/cmCPluginAPI.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalWatcomWMakeGenerator.cxx, Source/cmGlobalWatcomWMakeGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmStringCommand.h, Source/cmake.cxx, Source/kwsys/Directory.cxx, Source/kwsys/EncodeExecutable.c, Source/kwsys/Glob.cxx, Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cxx, Source/kwsys/testRegistry.cxx, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/LoadCommand/CMakeCommands/CMakeLists.txt, Tests/LoadCommand/CMakeCommands/cmTestCommand.c, Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c, Tests/SubDir/CMakeLists.txt, Tests/SubDir/vcl_algorithm_vcl_pair_double.foo.c, Tests/SubDir/AnotherSubdir/pair_int.int.c, Tests/SubDir/ThirdSubDir/pair_int.int1.c, Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/timeval.h, Utilities/cmcurl/CMake/CheckTypeSize.c.in, Utilities/cmcurl/CMake/CheckTypeSize.cmake, Utilities/cmcurl/Platforms/WindowsCache.cmake, Utilities/cmtar/handle.c, Utilities/cmtar/libtar.c: ENH: add support for watcom wmake and wcl386 2006-01-17 09:27 hoffman * Modules/Platform/Windows-cl.cmake: ENH: correct standard libraries 2006-01-17 00:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-16 12:54 yogi.girdhar * Utilities/cmtar/compat/compat.h: COMP: wrapped compat.h inside a extern C block so that we can use it in C++ code 2006-01-16 00:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-15 00:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-14 10:27 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Fixed shadowed variable warning. 2006-01-14 00:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-13 20:51 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: Further centralized custom command dependency computation. Custom command dependencies in the source tree may now also be specified relative to the source directory. 2006-01-13 19:36 king * Source/cmFLTKWrapUICommand.cxx: BUG: Removed bogust dependency. 2006-01-13 19:35 king * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx: COMP: Removed unused variables. 2006-01-13 18:33 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx: COMP: Removed unused paramter from cmLocalGenerator::OutputLinkLibraries. 2006-01-13 18:18 king * Source/cmFileCommand.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLinkLibrariesCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Source/cmXCodeObject.h, Source/CTest/cmCTestBuildAndTestHandler.cxx, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Sweeping changes to cleanup computation of target names. This should fix many bugs related to target names being computed inconsistently. - Centralized computation of a target's file name to a method in cmTarget. Now that global knowledge is always available the *_CMAKE_PATH cache variables are no longer needed. - Centralized computation of link library command lines and link directory search order. - Moved computation of link directories needed to link CMake targets to be after evaluation of linking dependencies. This also removed alot of duplicate code in which each version had its own bugs. This commit is surrounded by the tags CMake-TargetNameCentralization1-pre and CMake-TargetNameCentralization1-post so make the large set of changes easy to identify. 2006-01-13 11:44 hoffman * Source/cmTryCompileCommand.cxx, Utilities/cmcurl/CMake/CheckTypeSize.cmake: ENH: fix for CMakeTmp move broken stuff 2006-01-13 09:57 hoffman * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake: ENH: fix checktypesize 2006-01-13 00:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-12 23:08 hoffman * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake: ENH: move define into configured file and do not use the command line 2006-01-12 14:21 andy * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: COMP: Remove warning 2006-01-12 13:48 martink * Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/FindSDL_sound.cmake, Modules/Platform/Windows-cl.cmake, Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h, Source/cmTryRunCommand.cxx, Utilities/cmcurl/CMake/CheckTypeSize.cmake, Tests/TryCompile/CMakeLists.txt: ENH: put CmakeTmp into CMakeFiles 2006-01-12 11:10 hoffman * Modules/FindwxWindows.cmake: ENH: contribution from Jan Woetzel 2006-01-12 09:20 andy * Source/cmGeneratedFileStream.cxx: COMP: Fix compile error that was caused by the binary flag 2006-01-12 00:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-11 19:12 andy * Source/CPack/cmCPackTGZGenerator.cxx: ENH: Fix compression on Windows 2006-01-11 19:06 andy * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH: Add support for binary 2006-01-11 11:23 andy * Source/CPack/cmCPackGenericGenerator.cxx: ENH: Add a way to specify a custom install command 2006-01-11 11:08 andy * CMakeLists.txt, Modules/CPack.cmake, Modules/NSIS.template.in, Source/CPack/cmCPackGenericGenerator.cxx, Templates/CPackConfig.cmake.in: ENH: Some improvements: specify link, copy msvc libraries, fix install directory 2006-01-11 00:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-10 12:05 andy * Source/CPack/: cmCPackConfigure.h.in, cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.h: COMP: Remove legacy code and fix sun build 2006-01-10 00:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-09 18:24 andy * Modules/NSIS.template.in, Source/CPack/cmCPackGenericGenerator.cxx: ENH: Use specified output file name, also detect errors during install 2006-01-09 18:20 andy * Templates/CPackConfig.cmake.in: ENH: Pass CPACK_PACKAGE_FILE_NAME 2006-01-09 18:20 andy * Modules/CPack.cmake: ENH: Cleanup 2006-01-09 16:34 andy * Modules/NSIS.template.in: BUG: Allow spaces in path 2006-01-09 14:56 hoffman * Tests/CustomCommand/GeneratedHeader/: CMakeLists.txt, generated.h.in, main.cpp: ENH: add test for generated header 2006-01-09 14:40 hoffman * Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmTarget.cxx, Tests/CustomCommand/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt, Tests/Wrapping/fakefluid.cxx: ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile 2006-01-09 13:15 andy * CMakeLists.txt: STYLE: Add an explanation for a bunch of backslashes 2006-01-09 13:14 andy * Source/CPack/cmCPackTGZGenerator.cxx: BUG: Fix memory problem 2006-01-09 12:46 hoffman * Utilities/Release/: Release.cmake, cmake_release.sh.in: ENH: 2006-01-09 12:45 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: add qt quiet stuff 2006-01-09 11:26 andy * CMakeLists.txt, Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx, Templates/CPackConfig.cmake.in: ENH: Fix test for cpack variables, add support for icon on windows 2006-01-09 00:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-08 00:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-07 00:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-06 15:51 hoffman * Modules/: CMakeMSYSFindMake.cmake, CMakeMinGWFindMake.cmake, Platform/Linux-icpc.cmake: ENH: merge from main tree 2006-01-06 15:51 hoffman * Source/: cmGlobalMSYSMakefileGenerator.cxx, cmGlobalMSYSMakefileGenerator.h, cmGlobalMinGWMakefileGenerator.cxx, cmGlobalMinGWMakefileGenerator.h: ENH: add missing files 2006-01-06 15:07 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeGenericSystem.cmake, Modules/Platform/CYGWIN-g77.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-g77.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows.cmake, Source/CMakeLists.txt, Source/cmAddExecutableCommand.cxx, Source/cmCTest.cxx, Source/cmDependsC.cxx, Source/cmDependsC.h, Source/cmFindFileCommand.cxx, Source/cmFindFileCommand.h, Source/cmFindPathCommand.cxx, Source/cmFindPathCommand.h, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmake.cxx, Source/CTest/cmCTestBuildAndTestHandler.cxx, Source/kwsys/ProcessUNIX.c, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/CustomCommand/CMakeLists.txt, Utilities/Release/cmake_release.sh, Utilities/Release/cmake_release.sh.in: ENH: merges from main tree 2006-01-06 13:54 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix missing plist file error 2006-01-06 10:45 andy * Utilities/cmtar/compat/snprintf.c: COMP: Try to remove more warnings 2006-01-06 00:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-05 17:16 king * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Fix for scanning generated headers included with double-quotes. Also fixed double-quote include support to not use the special quoted location when a full path is given on the include line. 2006-01-05 15:49 king * Source/kwsys/testProcess.c: ENH: Added special test 0 to just run a given command line. 2006-01-05 13:27 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cpack.cxx: ENH: More debugging and work on PackageMaker code 2006-01-05 13:25 yogi.girdhar * Utilities/cmtar/: config.h.in, libtar.c: BUG: libtar now compiles in VJ and works with vtkzlib 2006-01-05 12:33 andy * Source/CPack/cmCPackLog.cxx: ENH: flush the output 2006-01-05 12:16 andy * Source/CPack/cpack.cxx: BUG: Use objects that exist 2006-01-05 12:16 andy * Source/CPack/cmCPackLog.cxx: BUG: Print the right line number to the right pipe 2006-01-05 10:37 andy * Source/CPack/cmCPackPackageMakerGenerator.cxx: BUG: Revert back 2006-01-05 09:18 hoffman * CMakeLists.txt: ENH: use a safer check for CPack 2006-01-05 09:13 hoffman * Source/: cmAddExecutableCommand.cxx, cmGlobalXCodeGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx: ENH: fix bundles for Mac and Xcode 2006-01-05 03:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-04 16:24 hoffman * Source/CPack/cmCPackTGZGenerator.cxx: ENH: remove assert 2006-01-04 15:13 andy * CMakeLists.txt, Modules/CPack.Description.plist.in, Modules/NSIS.template.in, Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cpack.cxx, Modules/CPack.cmake, Templates/CPackConfig.cmake.in: ENH: More CPack stuff and fix zlib compression 2006-01-04 09:55 hoffman * Source/cmFindPathCommand.cxx: ENH: remove debug print stuff 2006-01-04 08:32 andy * Source/kwsys/CMakeLists.txt: COMP: Do not build tests if build testing is off 2006-01-04 01:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-03 17:11 hoffman * Utilities/Release/cmake_release.sh: ENH: update revision numbers 2006-01-03 17:07 hoffman * Utilities/Release/cmake_release.sh.in: ENH: move to patch 2 2006-01-03 16:40 hoffman * Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: add new cmakedefine01 feature from bug report 2603 2006-01-03 14:00 hoffman * Modules/Platform/: CYGWIN-g77.cmake, CYGWIN.cmake: ENH: add exe stuff for cygwin 2006-01-03 08:39 andy * Source/cmSystemTools.cxx: COMP: Remove warnings on HP-UX 2006-01-03 08:39 andy * Utilities/cmtar/append.c, Utilities/cmtar/extract.c, Utilities/cmtar/libtar.c, Source/CPack/cmCPackLog.cxx, Source/CPack/cpack.cxx: COMP: Remove warnings 2006-01-03 01:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-02 17:28 andy * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.cxx, cmCPackSTGZGenerator.h, cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h, cpack.cxx: ENH: Start working on CPack input file and cleanups 2006-01-02 17:22 andy * Source/CPack/: cmCPackLog.h, cmCPackLog.cxx: COMP: Fix compile errors 2006-01-02 16:14 andy * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx, CPack/cmCPackGenerators.h, CPack/cmCPackGenericGenerator.cxx, CPack/cmCPackGenericGenerator.h, CPack/cmCPackLog.cxx, CPack/cmCPackLog.h, CPack/cmCPackNSISGenerator.cxx, CPack/cmCPackPackageMakerGenerator.cxx, CPack/cmCPackSTGZGenerator.cxx, CPack/cmCPackTGZGenerator.cxx, CPack/cpack.cxx: ENH: More improvements and add logging 2006-01-02 15:01 hoffman * Tests/: CustomCommand/CMakeLists.txt, Wrapping/CMakeLists.txt: BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not fail tests 2006-01-02 14:33 andy * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: BUG: Flush the EXECUTABLE and LIBRARY output path to internal 2006-01-02 13:37 hoffman * Modules/CMakeGenericSystem.cmake, Modules/Platform/Windows-g77.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows.cmake, Source/cmTarget.cxx: BUG: fix for bug 2322, use CMAKE_EXECUTABLE_SUFFIX variable for exe suffix 2006-01-02 13:34 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix build problem on gcc 2006-01-02 12:36 hoffman * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: fix for bug 2533, make foo/foo.o now works and .o files are in the help 2006-01-02 11:39 andy * Source/CPack/cmCPackGenericGenerator.cxx: COMP: Remove warning 2006-01-02 11:21 hoffman * Utilities/Release/Release.cmake: ENH: remove MS dll's from install on cygwin 2006-01-02 11:07 hoffman * Source/: cmFindPathCommand.cxx, cmMakefile.cxx: ENH: change framework order 2006-01-02 10:37 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h: COMP: Fix build problems 2006-01-02 10:36 andy * Source/cmGeneratedFileStream.cxx: BUG: Fix the compression with custom extension 2006-01-02 07:53 andy * Source/CPack/: cmCPackPackageMakerGenerator.cxx, cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h: ENH: Use libtar 2006-01-02 07:52 andy * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH: Add a way to overwrite compression extension 2006-01-02 01:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2006-01-01 23:31 andy * Source/: CMakeLists.txt, cmSystemTools.cxx, cmSystemTools.h: ENH: Merge from cpack branch 2006-01-01 23:28 andy * Modules/: CPack.Description.plist.in, CPack.Info.plist.in, NSIS.template.in: ENH: Merge from CPack branch 2006-01-01 23:21 andy * Source/CPack/: cmCPackConfigure.h.in, cmCPackGenerators.cxx, cmCPackGenerators.h, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.cxx, cmCPackSTGZGenerator.h, cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h, cpack.cxx: ENH: Merge from the cpack branch 2006-01-01 01:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-31 13:10 king * Tests/TarTest/CMakeLists.txt: ENH: Simplified ln command to use relative path in symlink. 2005-12-31 12:59 king * Source/kwsys/ProcessUNIX.c: BUG: When more than one command is given and one of them fails to start and the rest are killed, do not forget to reap the killed children. 2005-12-31 10:33 andy * Utilities/cmtar/: CMakeLists.txt, config.h.in, internal.h: COMP: Try to fix major/minor problem on aix 2005-12-31 09:40 andy * Utilities/cmtar/: CMakeLists.txt, config.h.in, internal.h: COMP: Attempt to fix problems with major and minor 2005-12-31 01:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-30 21:54 hoffman * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h: ENH: move framework stuff from FindFile to FindPath 2005-12-30 21:54 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix so verbose is put in the correct place 2005-12-30 17:51 andy * Utilities/cmtar/compat/snprintf.c: COMP: Fix systems that do not have both vsnprintf and snprintf. 2005-12-30 17:27 andy * Utilities/cmtar/: CMakeLists.txt, config.h.in, compat/compat.h, compat/snprintf.c: COMP: Fix support for vsnprintf 2005-12-30 16:28 andy * Source/cmSystemTools.cxx: COMP: Fix warning on sun 2005-12-30 16:05 andy * Utilities/cmtar/extract.c: COMP: Another borland bug 2005-12-30 15:46 andy * Tests/TarTest/CMakeLists.txt: ENH: Add testing of symlinks too 2005-12-30 15:46 andy * Utilities/cmtar/extract.c: BUG: Handle mkdirhier properly since it may modify the string 2005-12-30 15:32 andy * Source/cmSystemTools.cxx: COMP: Remove sun warning 2005-12-30 15:27 andy * Source/CMakeLists.txt, Tests/TarTest/CMakeLists.txt, Tests/TarTest/TestTarExec.cxx: ENH: Add a tar test 2005-12-30 15:25 andy * Source/cmake.cxx: ENH: Add a way to compare two files 2005-12-30 14:51 andy * Source/cmSystemTools.cxx, Utilities/cmtar/handle.c, Utilities/cmtar/libtar.c, Utilities/cmtar/libtar.h: ENH: Cleanup the file handler stuf so that now any file descriptor type can be used 2005-12-30 14:50 andy * CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt, Utilities/cmexpat/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt, Utilities/cmzlib/CMakeLists.txt, Source/CMakeLists.txt: COMP: Cleanup regular expressions 2005-12-30 14:31 andy * Source/cmSystemTools.cxx: COMP: Remove unused variable 2005-12-30 14:23 andy * Utilities/cmtar/compat/: basename.c, dirname.c: COMP: Remove warnings by exposing some variables 2005-12-30 14:22 andy * Source/cmSystemTools.cxx, Utilities/cmtar/handle.c, Utilities/cmtar/libtar.c, Utilities/cmtar/libtar.h: COMP: Fix support for gzip on non-32 bit platforms 2005-12-30 13:22 andy * Utilities/cmtar/util.c: COMP: Remove warning about argument not being int 2005-12-30 13:22 andy * Source/: cmFindFileCommand.cxx, cmGlobalXCodeGenerator.cxx: COMP: Remove shadow variable warning 2005-12-30 12:58 andy * Source/cmSystemTools.cxx: COMP: Use mangle names 2005-12-30 12:58 andy * Source/: cmFindFileCommand.cxx, cmTarget.cxx: COMP: Remove warnings 2005-12-30 10:35 andy * Utilities/cmtar/: CMakeLists.txt, append.c, config.h.in, encode.c, internal.h, output.c, util.c, wrapper.c: BUG: Several Borland fixes 2005-12-30 01:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-29 12:19 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Make the syntax more line tar 2005-12-29 12:18 andy * Utilities/cmtar/append.c: COMP: More cygwin fixes 2005-12-29 11:42 andy * Utilities/cmtar/append.c: BUG: Fix on cygwin... again? 2005-12-29 11:15 andy * Utilities/cmtar/output.c: COMP: Try to remove warnings and add support for cygwin 2005-12-29 10:52 andy * Source/cmake.cxx: ENH: Make additional file names optional 2005-12-29 10:43 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Add untaring support 2005-12-29 10:41 andy * Utilities/cmtar/extract.c: BUG: Fix extract. Looks like dirname actually changes the string, so temporary string should be used 2005-12-29 09:11 andy * Utilities/cmtar/: output.c, compat/compat.h: COMP: Remove c++ style comments 2005-12-29 01:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-28 20:04 andy * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: BUG: Now really fix the test 2005-12-28 19:31 andy * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Fix test 2005-12-28 17:02 andy * Source/cmSystemTools.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Fix complex test and fix bootstrap 2005-12-28 16:53 andy * Source/cmSystemTools.cxx: COMP: Add missing include 2005-12-28 16:44 andy * Source/cmSystemTools.cxx: BUG: Return proper values 2005-12-28 16:43 andy * Utilities/cmtar/: extract.c, libtar.c: COMP: Remove more warnings 2005-12-28 16:31 andy * Source/cmake.cxx: ENH: Add command to create tar 2005-12-28 16:30 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add method to create tar 2005-12-28 16:30 andy * Source/CMakeLists.txt: COMP: Link tar library to cmake 2005-12-28 16:29 andy * CMakeLists.txt: COMP: Fix path to include files 2005-12-28 15:31 andy * Utilities/cmtar/: CMakeLists.txt, config.h.in, handle.c, compat/compat.h: COMP: Remove more warnings and rename library to cmtar 2005-12-28 15:03 andy * Utilities/cmtar/append.c: COMP: Remove warning 2005-12-28 14:58 andy * Utilities/cmtar/: CMakeLists.txt, append.c, decode.c, extract.c, filesystem.c, filesystem.h, handle.c, internal.h, libtar.c, util.c, wrapper.c, compat/basename.c, compat/compat.h, compat/dirname.c: COMP: Several borland fixes 2005-12-28 14:50 andy * Utilities/cmtar/compat/snprintf.c: COMP: Remove warnings 2005-12-28 13:36 andy * CMakeLists.txt: ENH: First cut at enabling tar 2005-12-28 13:35 andy * Utilities/cmtar/append.c: COMP: Only do O_BINARY on windows 2005-12-28 13:33 andy * Utilities/cmtar/: append.c, libtar.c: COMP: Fix windows 2005-12-28 13:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-28 12:34 andy * Utilities/cmtar/libtar.c: ENH: Fix building on cygwin 2005-12-28 12:24 andy * Utilities/cmtar/: CMakeLists.txt, config.h.in, extract.c, libtar.c: COMP: Fix build on sun by adding missing include 2005-12-28 11:00 andy * Utilities/cmtar/: CMakeLists.txt, decode.c, filesystem.c, wrapper.c, compat/basename.c, compat/dirname.c, compat/fnmatch.c, compat/snprintf.c: ENH: Windows fixes 2005-12-28 10:28 andy * CMakeLists.txt: ENH: Merge change from the main tree 2005-12-28 10:19 andy * CMakeLists.txt: ENH: Initial setup of libtar 2005-12-28 10:18 andy * Utilities/cmtar/: CMakeLists.txt, COPYRIGHT, append.c, block.c, config.h.in, decode.c, encode.c, extract.c, filesystem.c, filesystem.h, handle.c, internal.h, libtar.c, libtar.h, output.c, tar.h, util.c, wrapper.c, compat/README, compat/basename.c, compat/compat.h, compat/dirname.c, compat/fnmatch.c, compat/gethostbyname_r.c, compat/gethostname.c, compat/getservbyname_r.c, compat/glob.c, compat/inet_aton.c, compat/snprintf.c, compat/strdup.c, compat/strlcat.c, compat/strlcpy.c, compat/strmode.c, compat/strrstr.c, compat/strsep.c, listhash/hash.c.in, listhash/list.c.in, listhash/listhash.h.in: ENH: Initial import 2005-12-28 10:09 andy * Utilities/cmtar/: CMakeLists.txt, COPYRIGHT, append.c, block.c, config.h.in, decode.c, encode.c, extract.c, filesystem.c, filesystem.h, handle.c, internal.h, libtar.c, libtar.h, output.c, tar.h, util.c, wrapper.c, compat/README, compat/basename.c, compat/compat.h, compat/dirname.c, compat/fnmatch.c, compat/gethostbyname_r.c, compat/gethostname.c, compat/getservbyname_r.c, compat/glob.c, compat/inet_aton.c, compat/snprintf.c, compat/strdup.c, compat/strlcat.c, compat/strlcpy.c, compat/strmode.c, compat/strrstr.c, compat/strsep.c, listhash/hash.c.in, listhash/list.c.in, listhash/listhash.h.in: ENH: Initial import 2005-12-28 10:07 andy * Source/cmake.cxx: ENH: Add file compare 2005-12-27 15:33 hoffman * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h, cmLocalUnixMakefileGenerator3.cxx: ENH: make sure -F is not duplicated 2005-12-27 15:08 andy * Source/CPack/: cmCPackConfigure.h.in, cmCPackGenerators.cxx, cmCPackGenerators.h, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.h, cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h: ENH: Remove references to m_Makefile. It is now private. Fix several build problems. Change generator creation. ... 2005-12-27 14:56 hoffman * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h, cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx: ENH: add framework support to FIND_FILE 2005-12-27 14:32 andy * Source/CPack/cpack.cxx, Utilities/CMakeLists.txt: ENH: Improve help arguments and add generation of doc files 2005-12-27 13:10 andy * Source/cmCTest.cxx: ENH: Fix command line argument parsing 2005-12-27 13:03 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: remove warning 2005-12-26 13:14 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmMakefile.cxx, cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h, kwsys/SystemTools.cxx: ENH: add better support for framework linking 2005-12-26 01:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-25 01:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-24 01:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-23 01:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-22 16:42 hoffman * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeMSYSFindMake.cmake, Modules/CMakeMinGWFindMake.cmake, Source/CMakeLists.txt, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.cxx, Source/cmGlobalMSYSMakefileGenerator.h, Source/cmGlobalMinGWMakefileGenerator.cxx, Source/cmGlobalMinGWMakefileGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmake.cxx: ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:02 hoffman * ChangeLog.manual, Modules/CMake.cmake, Modules/CMakeBackwardCompatibilityC.cmake, Modules/CMakeBackwardCompatibilityCXX.cmake, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeCommonLanguageInclude.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeExportBuildSettings.cmake, Modules/CMakeFindFrameworks.cmake, Modules/CMakeFortranInformation.cmake, Modules/CMakeImportBuildSettings.cmake, Modules/CMakeJavaInformation.cmake, Modules/CMakePrintSystemInformation.cmake, Modules/CMakeRCInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CMakeTestJavaCompiler.cmake, Modules/CMakeTestRCCompiler.cmake, Modules/CMakeVS6BackwardCompatibility.cmake, Modules/CMakeVS7BackwardCompatibility.cmake, Modules/CTest.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/Dart.cmake, Modules/Documentation.cmake, Modules/FindAVIFile.cmake, Modules/FindCABLE.cmake, Modules/FindCurses.cmake, Modules/FindCygwin.cmake, Modules/FindDCMTK.cmake, Modules/FindDart.cmake, Modules/FindDoxygen.cmake, Modules/FindFLTK.cmake, Modules/FindGCCXML.cmake, Modules/FindGLU.cmake, Modules/FindGLUT.cmake, Modules/FindGTK.cmake, Modules/FindGnuplot.cmake, Modules/FindHTMLHelp.cmake, Modules/FindITK.cmake, Modules/FindImageMagick.cmake, Modules/FindJNI.cmake, Modules/FindJPEG.cmake, Modules/FindJava.cmake, Modules/FindKDE.cmake, Modules/FindLATEX.cmake, Modules/FindMFC.cmake, Modules/FindMPEG.cmake, Modules/FindMPEG2.cmake, Modules/FindMPI.cmake, Modules/FindMatlab.cmake, Modules/FindMotif.cmake, Modules/FindOpenAL.cmake, Modules/FindOpenGL.cmake, Modules/FindPHP4.cmake, Modules/FindPNG.cmake, Modules/FindPerl.cmake, Modules/FindPerlLibs.cmake, Modules/FindPhysFS.cmake, Modules/FindPike.cmake, Modules/FindPythonInterp.cmake, Modules/FindPythonLibs.cmake, Modules/FindQt.cmake, Modules/FindQt.cmake.bak, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindRuby.cmake, Modules/FindSDL.cmake, Modules/FindSDL.cmake.bak, Modules/FindSDL_image.cmake, Modules/FindSDL_image.cmake.bak, Modules/FindSDL_mixer.cmake, Modules/FindSDL_mixer.cmake.bak, Modules/FindSDL_net.cmake, Modules/FindSDL_net.cmake.bak, Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake, Modules/FindSDL_ttf.cmake.bak, Modules/FindSWIG.cmake, Modules/FindSelfPackers.cmake, Modules/FindTCL.cmake, Modules/FindTIFF.cmake, Modules/FindTclsh.cmake, Modules/FindThreads.cmake, Modules/FindUnixCommands.cmake, Modules/FindVTK.cmake, Modules/FindWget.cmake, Modules/FindWish.cmake, Modules/FindX11.cmake, Modules/FindZLIB.cmake, Modules/FindwxWindows.cmake, Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForANSIStreamHeaders.cmake, Modules/TestForSTDNamespace.cmake, Modules/UseQt4.cmake, Modules/UseSWIG.cmake, Modules/UseVTK40.cmake, Modules/UseVTKBuildSettings40.cmake, Modules/UseVTKConfig40.cmake, Modules/Use_wxWindows.cmake, Modules/UsewxWidgets.cmake, Modules/readme.txt, Source/cmBuildCommand.cxx, Source/cmBuildNameCommand.h, Source/cmCTest.cxx, Source/cmDepends.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmDependsC.h, Source/cmDependsFortran.cxx, Source/cmDependsFortran.h, Source/cmDependsJava.cxx, Source/cmDependsJava.h, Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmFindPackageCommand.h, Source/cmGetCMakePropertyCommand.h, Source/cmGetDirectoryPropertyCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmInstallTargetsCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSiteNameCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTryRunCommand.h, Source/cmakemain.cxx, Source/CTest/cmCTestBuildCommand.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/kwsys/ProcessWin32.c, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: merge changes from main tree to branch 2005-12-22 15:41 andy * Modules/CPack.Description.plist.in, Modules/CPack.Info.plist.in, Source/CPack/cmCPackPackageMakerGenerator.cxx, Source/CPack/cmCPackPackageMakerGenerator.h: ENH: Ok, now it works 2005-12-22 15:34 andy * Source/CPack/cmCPackGenericGenerator.cxx: ENH: Add mandatory project description file or string 2005-12-22 15:34 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add XML encoduing method 2005-12-22 01:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-21 15:45 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: make sure depend helper actually works, if a depend library gets updated, then the target needs to be removed, and the CONFIGURATION directory needs to be used 2005-12-21 08:46 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Libraries and executables that are built with version numbers and symlinks should be built by a rule using the real file name. The symlink file names should be rules that just depend on the main rule. This way if a version number changes a target will re-link with the new name and the symlinks will be updated. 2005-12-21 01:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-20 14:07 andy * Utilities/cmcurl/mprintf.c: COMP: Fix build on uclibc 2005-12-20 13:53 hoffman * Modules/Platform/Windows-cl.cmake: ENH: remove duplicates 2005-12-20 13:22 king * Source/kwsys/ProcessWin32.c: ENH: Improved robustness of sharing parent pipes with children. This ensures that the parent pipe handles are inherited by the children. If a parent pipe handle is invalid a handle to an empty pipe is given to the child to make sure all pipes are defined for the children. 2005-12-20 09:20 andy * Source/CMakeLists.txt: ENH: Start working on PackageMaker 2005-12-20 01:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-19 18:17 andy * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h: ENH: Start working on Osx 2005-12-19 11:29 hoffman * Source/: cmGlobalXCodeGenerator.cxx, CTest/cmCTestBuildAndTestHandler.cxx: BUG: fix for bug 2560, Xcode does not create correct bundles 2005-12-19 01:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-18 10:00 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h, cpack.cxx: ENH: 'Finish; NSI 2005-12-18 09:59 andy * Modules/NSIS.template.in: ENH: Unify with Ken's 2005-12-18 01:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-17 01:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-16 16:49 hoffman * Source/cmDocumentation.cxx: ENH: make sure uncommented modules are not documented 2005-12-16 09:03 andy * Source/kwsys/SystemTools.cxx: BUG: Return if the file is in any directory not just in first one 2005-12-16 01:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-15 16:28 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Fix test 2005-12-15 14:17 martink * Modules/: FindMFC.cmake, FindMPEG.cmake, FindMPEG2.cmake, FindMPI.cmake, FindMotif.cmake, FindOpenGL.cmake, FindPHP4.cmake, FindPerl.cmake, FindPerlLibs.cmake, FindPhysFS.cmake, FindPike.cmake, FindPythonInterp.cmake, FindPythonLibs.cmake, FindQt.cmake, FindQt4.cmake, FindRuby.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake, FindSDL_ttf.cmake, FindTCL.cmake, FindTIFF.cmake, FindTclsh.cmake, FindThreads.cmake, FindVTK.cmake, FindWget.cmake, FindWish.cmake, FindX11.cmake, FindwxWindows.cmake, TestForANSIStreamHeaders.cmake, TestForSTDNamespace.cmake, UseSWIG.cmake, Use_wxWindows.cmake: ENH: cleanups 2005-12-15 12:01 andy * Source/cmInstallTargetsCommand.cxx: ENH: Report an error if the target does not exists 2005-12-15 10:41 martink * Modules/: CMakeBackwardCompatibilityCXX.cmake, CMakeExportBuildSettings.cmake, CMakeImportBuildSettings.cmake, CheckCXXSourceCompiles.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckSymbolExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake, FindAVIFile.cmake, FindCABLE.cmake, FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake, FindHTMLHelp.cmake, FindITK.cmake, FindImageMagick.cmake, FindJNI.cmake, FindJPEG.cmake, FindJava.cmake, FindLATEX.cmake, FindMatlab.cmake: ENH: some style fixes for the book 2005-12-15 09:19 hoffman * Modules/FindQt3.cmake, Source/cmDocumentation.cxx: ENH: fix module documenation to handle bad docs and fix qt3 docs 2005-12-15 01:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-14 13:51 hoffman * Modules/CMake.cmake, Modules/CMakeBackwardCompatibilityC.cmake, Modules/CMakeBackwardCompatibilityCXX.cmake, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeCommonLanguageInclude.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeExportBuildSettings.cmake, Modules/CMakeFindFrameworks.cmake, Modules/CMakeFortranInformation.cmake, Modules/CMakeImportBuildSettings.cmake, Modules/CMakeJavaInformation.cmake, Modules/CMakePrintSystemInformation.cmake, Modules/CMakeRCInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CMakeTestJavaCompiler.cmake, Modules/CMakeTestRCCompiler.cmake, Modules/CMakeVS6BackwardCompatibility.cmake, Modules/CMakeVS7BackwardCompatibility.cmake, Modules/CTest.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/Dart.cmake, Modules/Documentation.cmake, Modules/FindAVIFile.cmake, Modules/FindCABLE.cmake, Modules/FindCurses.cmake, Modules/FindCygwin.cmake, Modules/FindDCMTK.cmake, Modules/FindDart.cmake, Modules/FindDoxygen.cmake, Modules/FindFLTK.cmake, Modules/FindGCCXML.cmake, Modules/FindGLU.cmake, Modules/FindGLUT.cmake, Modules/FindGTK.cmake, Modules/FindGnuplot.cmake, Modules/FindHTMLHelp.cmake, Modules/FindITK.cmake, Modules/FindImageMagick.cmake, Modules/FindJNI.cmake, Modules/FindJPEG.cmake, Modules/FindJava.cmake, Modules/FindKDE.cmake, Modules/FindLATEX.cmake, Modules/FindMFC.cmake, Modules/FindMPEG.cmake, Modules/FindMPEG2.cmake, Modules/FindMPI.cmake, Modules/FindMatlab.cmake, Modules/FindMotif.cmake, Modules/FindOpenAL.cmake, Modules/FindOpenGL.cmake, Modules/FindPHP4.cmake, Modules/FindPNG.cmake, Modules/FindPerl.cmake, Modules/FindPerlLibs.cmake, Modules/FindPhysFS.cmake, Modules/FindPike.cmake, Modules/FindPythonInterp.cmake, Modules/FindPythonLibs.cmake, Modules/FindQt.cmake, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindRuby.cmake, Modules/FindSDL.cmake, Modules/FindSDL_image.cmake, Modules/FindSDL_mixer.cmake, Modules/FindSDL_net.cmake, Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake, Modules/FindSWIG.cmake, Modules/FindSelfPackers.cmake, Modules/FindTCL.cmake, Modules/FindTIFF.cmake, Modules/FindTclsh.cmake, Modules/FindThreads.cmake, Modules/FindUnixCommands.cmake, Modules/FindVTK.cmake, Modules/FindWget.cmake, Modules/FindWish.cmake, Modules/FindX11.cmake, Modules/FindZLIB.cmake, Modules/FindwxWindows.cmake, Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForANSIStreamHeaders.cmake, Modules/TestForSTDNamespace.cmake, Modules/UseQt4.cmake, Modules/UseSWIG.cmake, Modules/UseVTK40.cmake, Modules/UseVTKBuildSettings40.cmake, Modules/UseVTKConfig40.cmake, Modules/Use_wxWindows.cmake, Modules/UsewxWidgets.cmake, Modules/readme.txt, Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmakemain.cxx: ENH: add documentation support for modules 2005-12-14 11:00 king * Source/cmGlobalVisualStudio7Generator.h: ENH: Renamed ZeroTargetCheck target to ZERO_CHECK for consistency with other CMake-generated targets (ALL_BUILD, RUN_TESTS, INSTALL). 2005-12-14 10:58 king * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: Fix conversion warning. 2005-12-14 10:47 king * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: Removed cmMakefile arguments from cmTarget methods because cmTarget has the ivar m_Makefile now. Re-implemented cmLocalUnixMakefileGenerator3::AppendAnyDepend to use the new global knowledge and avoid the need to look at the cache for information about other targets. This should fix problems with custom commands and executables with the OUTPUT_NAME set. Also the _LIBRARY_TYPE cache variable is no longer needed at all and has been removed. 2005-12-13 18:23 king * Source/cmGlobalVisualStudio8Generator.cxx: COMP: Fixed unused variable warning. 2005-12-13 15:16 andy * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Fix the problem with update.xml.tmp not being coppied 2005-12-13 15:14 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: removed TARGET_DIR_PREFIX support and someother fix 2005-12-13 15:13 martink * Source/cmLocalVisualStudio7Generator.cxx: ENH: removed TARGET_DIR_PREFIX support 2005-12-13 15:12 martink * Source/cmTryRunCommand.h: STYLE: fix missing docs 2005-12-13 14:21 king * Source/: cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmGlobalVisualStudio8Generator.h, cmLocalVisualStudio7Generator.cxx: ENH: Added support for parallel builds in VS 8. There is now a special target on which all other targets depend that re-runs CMake if any listfiles have been changed. This addresses bug#2512. 2005-12-13 14:07 martink * Utilities/Release/CMake.nsi.in: ENH: removed the add to path 2005-12-13 04:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-12 11:34 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix for bug 2584, empty source groups with children skipped 2005-12-12 04:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-11 04:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-11 00:12 andy * Source/kwsys/SystemTools.cxx: COMP: for a in range(100): write_on_board(No std in kwsys...) 2005-12-10 12:16 andy * Modules/NSIS.template.in: ENH: Some fixes to make it work 2005-12-10 12:14 andy * Source/CPack/: cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx, cpack.cxx: ENH: More work on NSIS: 2005-12-10 12:11 andy * Source/cmLocalGenerator.cxx: ENH: Allow the installer to overwrite the install prefix 2005-12-10 12:10 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Add a method to remove remaining arguments 2005-12-10 12:09 andy * Source/kwsys/Glob.hxx.in: COMP: Fix the exporting so that it can actually be used 2005-12-10 12:08 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add another signature to FindProgram that matches more to the one from CMake 2005-12-10 04:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-09 23:04 hoffman * Source/: cmDependsC.cxx, cmDependsC.h: ENH: try to fix hp build problem 2005-12-09 16:32 andy * Source/cmDependsC.h: ENH: fix compile error 2005-12-09 14:30 hoffman * Source/: cmDependsC.cxx, cmDependsC.h: ENH: clean up style a bit 2005-12-09 13:58 hoffman * Source/: cmDependsC.cxx, cmDependsC.h, cmLocalUnixMakefileGenerator3.cxx: PERF: apply patch for bug 2575 speeds up depend scanning 2005-12-09 04:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-08 04:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-07 11:39 andy * Source/: cmBuildNameCommand.h, cmFindPackageCommand.h, cmGetCMakePropertyCommand.h, cmGetDirectoryPropertyCommand.h, cmSetDirectoryPropertiesCommand.h, cmSiteNameCommand.h: ENH: Make commands scriptable 2005-12-06 10:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-05 08:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-04 05:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-03 06:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-02 09:18 hoffman * Utilities/Release/cmake_release.sh: ENH: update revision numbers 2005-12-02 09:16 hoffman * ChangeLog.manual, Utilities/Release/config_IRIX64, Utilities/Release/release_dispatch.sh: ENH: fix change log and change sgi release scripts 2005-12-02 05:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-12-01 21:52 andy * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx, Source/CPack/cmCPackNSISGenerator.h: ENH: Work on nsis 2005-12-01 12:27 hoffman * Utilities/Release/cmake_release.sh: ENH: update revision numbers 2005-12-01 11:41 andy * Source/: cmBuildCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, CTest/cmCTestBuildCommand.cxx: ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2 2005-12-01 05:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-30 13:46 andy * Source/cmMakefile.cxx: ENH: Add variable for debugging. This variable CMAKE_PARENT_LIST_FILE holds the parent CMake list file of the current cmake list file. 2005-11-30 05:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-29 05:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-28 15:57 hoffman * Source/CMakeLists.txt, Tests/Tutorial/Step1/CMakeLists.txt, Tests/Tutorial/Step1/TutorialConfig.h.in, Tests/Tutorial/Step1/tutorial.cxx, Tests/Tutorial/Step2/CMakeLists.txt, Tests/Tutorial/Step2/TutorialConfig.h.in, Tests/Tutorial/Step2/tutorial.cxx, Tests/Tutorial/Step2/MathFunctions/CMakeLists.txt, Tests/Tutorial/Step2/MathFunctions/MathFunctions.h, Tests/Tutorial/Step2/MathFunctions/mysqrt.cxx, Tests/Tutorial/Step3/CMakeLists.txt, Tests/Tutorial/Step3/TutorialConfig.h.in, Tests/Tutorial/Step3/tutorial.cxx, Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt, Tests/Tutorial/Step3/MathFunctions/MathFunctions.h, Tests/Tutorial/Step3/MathFunctions/mysqrt.cxx, Tests/Tutorial/Step4/CMakeLists.txt, Tests/Tutorial/Step4/TutorialConfig.h.in, Tests/Tutorial/Step4/tutorial.cxx, Tests/Tutorial/Step4/MathFunctions/CMakeLists.txt, Tests/Tutorial/Step4/MathFunctions/MathFunctions.h, Tests/Tutorial/Step4/MathFunctions/mysqrt.cxx, Tests/Tutorial/Step5/CMakeLists.txt, Tests/Tutorial/Step5/TutorialConfig.h.in, Tests/Tutorial/Step5/tutorial.cxx, Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt, Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx, Tests/Tutorial/Step5/MathFunctions/MathFunctions.h, Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx: ENH: move tutorial to branch 2005-11-28 15:15 hoffman * CMakeLists.txt, Source/cmDependsFortranLexer.cxx, Source/cmDependsFortranLexer.in.l: ENH: Version 2.2.3 2005-11-28 14:19 hoffman * Modules/VTKCompatibility.cmake: ENH: fix problem with building vtk 4.4.2 2005-11-28 14:05 hoffman * Modules/VTKCompatibility.cmake: ENH: fix for vtk 4.4.2 and cmake 2.2 2005-11-28 05:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-27 05:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-26 05:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-25 05:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-24 05:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-23 12:33 hoffman * ChangeLog.manual, Modules/CMakeCCompiler.cmake.in, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestJavaCompiler.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckVariableExists.cmake, Modules/FindOpenAL.cmake, Modules/FindPhysFS.cmake, Modules/FindQt3.cmake, Modules/FindSDL.cmake, Modules/FindSDL.cmake.bak, Modules/FindSDL_image.cmake, Modules/FindSDL_image.cmake.bak, Modules/FindSDL_mixer.cmake, Modules/FindSDL_mixer.cmake.bak, Modules/FindSDL_net.cmake, Modules/FindSDL_net.cmake.bak, Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake, Modules/FindSDL_ttf.cmake.bak, Modules/Platform/SunOS.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-icl.cmake, Modules/Platform/Windows-ifort.cmake, Source/cmAddLibraryCommand.h, Source/cmAddSubDirectoryCommand.h, Source/cmCMakeMinimumRequired.h, Source/cmCPluginAPI.h, Source/cmCTest.cxx, Source/cmConfigureFileCommand.h, Source/cmCreateTestSourceList.h, Source/cmElseCommand.h, Source/cmEnableLanguageCommand.h, Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.h, Source/cmEndIfCommand.h, Source/cmEndWhileCommand.h, Source/cmExecProgramCommand.h, Source/cmFLTKWrapUICommand.h, Source/cmFileCommand.h, Source/cmForEachCommand.h, Source/cmGetCMakePropertyCommand.h, Source/cmGetDirectoryPropertyCommand.h, Source/cmGetSourceFilePropertyCommand.h, Source/cmGetTargetPropertyCommand.h, Source/cmGetTestPropertyCommand.h, Source/cmGlobalVisualStudio7Generator.h, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmIncludeCommand.h, Source/cmInstallFilesCommand.h, Source/cmInstallTargetsCommand.h, Source/cmLoadCacheCommand.h, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMacroCommand.h, Source/cmMakefile.cxx, Source/cmMarkAsAdvancedCommand.h, Source/cmMessageCommand.h, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmQTWrapCPPCommand.h, Source/cmQTWrapUICommand.h, Source/cmSetCommand.h, Source/cmSetSourceFilesPropertiesCommand.h, Source/cmSetTargetPropertiesCommand.h, Source/cmSetTestsPropertiesCommand.h, Source/cmSourceFile.cxx, Source/cmSourceGroupCommand.h, Source/cmSubdirCommand.h, Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmTryCompileCommand.h, Source/cmTryRunCommand.h, Source/cmVariableRequiresCommand.h, Source/cmWhileCommand.h, Source/cmWriteFileCommand.h, Source/cmXCode21Object.cxx, Source/cmXCodeObject.cxx, Source/cmXCodeObject.h, Source/ctest.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestScriptHandler.h, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Source/kwsys/ProcessUNIX.c, Source/kwsys/ProcessWin32.c, Source/kwsys/SystemTools.cxx, Tests/ExternalOBJ/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt, Utilities/Release/CMake.nsi.in: ENH: merge fixes from main tree, see ChangeLog.manual 2005-11-23 10:27 hoffman * Source/cmTarget.cxx: ENH: executable prefix and post fix variables should not be the same as the executable extension 2005-11-23 05:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-22 17:03 king * Source/: cmMakefile.cxx, cmTarget.cxx: BUG: Do not expand escape sequences when re-expanding variables in include directories, link directories, and link libraries. 2005-11-22 16:59 king * Source/cmOrderLinkDirectories.cxx: BUG: Do not accept a directory name as a library. 2005-11-22 16:08 hoffman * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h: BUG: fix for bug 2357, do not allow targets to link to directories 2005-11-22 15:15 hoffman * Source/CTest/cmCTestScriptHandler.h: BUG: fix spelling error 2005-11-22 13:37 king * Source/: cmGlobalVisualStudio7Generator.h, cmGlobalVisualStudio8Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Tweak VS8 generator to keep VS8 happy. The .vcproj files need their own GUIDs in a ProjectGUID attribute. The top level .sln file needs a special comment at the top to allow it to be opened with double-click in explorer. 2005-11-22 13:36 king * CMakeLists.txt: COMP: Define _CRT_SECURE_NO_DEPRECATE to build CMake itself on VS8. This disables 1000s of deprecation warnings about standard code. 2005-11-22 12:04 hoffman * Modules/Platform/Windows-cl.cmake: BUG: fix for bug 2488 2005-11-22 11:44 hoffman * Modules/Platform/: Linux-icpc.cmake, SunOS.cmake: ENH: more compiler flags 2005-11-22 11:35 king * Source/cmSetTargetPropertiesCommand.h: STYLE: Fixed documentation to state target_EXPORTS default right after DEFINE_SYMBOL documentation instead of many sentences later in a random place. 2005-11-22 11:33 king * Modules/FindQt3.cmake: BUG: QT_DEFINITIONS should not be quoted. This addresses bug#2481. 2005-11-22 11:28 hoffman * Modules/CMakeTestJavaCompiler.cmake: ENH: set java compiler works 2005-11-22 05:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-21 05:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-20 05:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-19 09:40 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmSetTargetPropertiesCommand.h: ENH: add some more properties for visual studio projects 2005-11-19 08:29 hoffman * Source/cmLocalVisualStudio7Generator.cxx: COMP: fix compile error 2005-11-19 08:04 hoffman * Source/cmTryRunCommand.h: ENH: fix docs 2005-11-19 05:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-18 17:07 andy * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h, cmCPackTGZGenerator.cxx, cpack.cxx: ENH: Use cmMakefile instead for the options, more cleanups and start working on NSIS 2005-11-18 17:07 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add another signature for FindProgram that takes the list of names 2005-11-18 17:06 andy * Source/CMakeLists.txt: ENH: Add NSIS 2005-11-18 16:59 hoffman * Source/cmXCodeObject.cxx: ENH: more chars need quotes 2005-11-18 15:03 martink * Utilities/Release/CMake.nsi.in: BUG: fixe dproblem with not uninstalling start menu entries 2005-11-18 14:12 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: fixes for Xcode 2.2 2005-11-18 10:40 hoffman * Source/CTest/cmCTestBuildHandler.cxx: ENH: add new error regex 2005-11-18 10:36 king * Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-icl.cmake, Modules/Platform/Windows-ifort.cmake, Source/cmLocalVisualStudio7Generator.cxx: BUG: Fixed flag-to-vcproj-attribute conversion code to work again (it was broken by the optimization changes). Added conversion of /nologo flag to SuppressStartupBanner attribute and /Gy flag to EnableFunctionLevelLinking attribute. 2005-11-17 16:49 king * Tests/Wrapping/CMakeLists.txt: COMP: Need target-level dependency from wrapper targets on Wrap executable target. 2005-11-17 15:57 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fixed XML escapes for custom commands. Also added escaping of newlines for VS 2005. 2005-11-17 15:44 king * Source/: cmCTest.cxx, cmSystemTools.cxx: BUG: Do not dereference an end iterator. 2005-11-17 13:49 king * Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmSourceFile.cxx, Tests/ExternalOBJ/CMakeLists.txt: BUG: Fixed support for external object files built by custom commands. Also added a test to keep it working. 2005-11-17 11:44 martink * Source/: cmVariableRequiresCommand.h, cmWhileCommand.h, cmWriteFileCommand.h: STYLE: fix docs 2005-11-17 11:37 martink * Source/: cmTryCompileCommand.h, cmTryRunCommand.h: STYLE: fix docs 2005-11-17 11:20 martink * Source/cmSubdirCommand.h: STYLE: fix docs 2005-11-17 11:04 martink * Source/cmSourceGroupCommand.h: STYLE: fix docs 2005-11-17 10:41 martink * Source/cmSetTargetPropertiesCommand.h: STYLE: fix docs 2005-11-17 10:36 martink * Source/cmSetSourceFilesPropertiesCommand.h: STYLE: fix docs 2005-11-17 10:28 martink * Source/: cmQTWrapUICommand.h, cmSetCommand.h: STYLE: fix docs 2005-11-17 10:20 martink * Source/: cmMessageCommand.h, cmQTWrapCPPCommand.h: STYLE: fix docs 2005-11-17 09:44 martink * Source/cmIfCommand.cxx: BUG: clean up scoping 2005-11-17 09:32 martink * Source/: cmIfCommand.cxx: BUG: fix incrementing past end 2005-11-17 09:31 martink * Source/cmMarkAsAdvancedCommand.h: STYLE: fix docs 2005-11-17 05:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-16 14:41 martink * Source/cmMacroCommand.h: STYLE: fix docs 2005-11-16 14:36 martink * Source/: cmInstallTargetsCommand.h, cmLoadCacheCommand.h: STYLE: fix docs 2005-11-16 14:27 martink * Source/cmInstallFilesCommand.h: STYLE: fix docs 2005-11-16 14:08 martink * Source/: cmIfCommand.h, cmIncludeCommand.h: STYLE: fix docs 2005-11-16 14:02 martink * Source/cmGetTestPropertyCommand.h: STYLE: fix docs 2005-11-16 13:13 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCode21Object.cxx, cmXCodeObject.cxx, cmXCodeObject.h: ENH: fixes for xcode21 and build styles and comments in the generated project 2005-11-16 12:08 martink * Source/: cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.h: STYLE: fix docs 2005-11-16 12:05 martink * Source/cmGetDirectoryPropertyCommand.h: STYLE: fix docs 2005-11-16 12:00 martink * Source/: cmForEachCommand.h, cmGetCMakePropertyCommand.h: STYLE: fix docs 2005-11-16 11:57 martink * Source/cmFLTKWrapUICommand.h: STYLE: fix docs 2005-11-16 11:39 king * Source/kwsys/ProcessUNIX.c: STYLE: Documented reference to "man select_tut". 2005-11-16 11:36 king * Source/kwsys/ProcessWin32.c: BUG: Do not close handle obtained from GetModuleHandle which does not increase the reference count of the module. 2005-11-16 11:25 martink * Source/cmFileCommand.h: STYLE: fix docs 2005-11-16 10:40 martink * Source/cmExecProgramCommand.h: STYLE: fix docs 2005-11-16 10:35 martink * Source/: cmEnableTestingCommand.h, cmEndForEachCommand.h, cmEndIfCommand.h, cmEndWhileCommand.h: STYLE: fix docs 2005-11-16 10:31 martink * Source/: cmCreateTestSourceList.h, cmElseCommand.h, cmEnableLanguageCommand.h: STYLE: fix docs 2005-11-16 10:26 martink * Source/: cmConfigureFileCommand.h: STYLE: fix docs 2005-11-16 10:22 martink * Source/cmCMakeMinimumRequired.h: STYLE: fix docs 2005-11-16 10:14 martink * Source/: cmAddLibraryCommand.h, cmAddSubDirectoryCommand.h: STYLE: fix docs 2005-11-16 10:08 martink * Source/ctest.cxx: STYLE: removed some docs that did not make sense 2005-11-16 06:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-15 13:30 martink * Source/cmConfigureFileCommand.h: STYLE: updated comments 2005-11-15 05:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-14 14:21 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeTestCCompiler.cmake: BUG: fix SIZEOF VOIDP problem 2005-11-14 12:29 andy * Source/: CMakeLists.txt, cmConfigure.cmake.h.in, CPack/cmCPackConfigure.h.in, CPack/cmCPackTGZGenerator.cxx, CPack/cmCPackTGZGenerator.h: ENH: More cross platform stuff 2005-11-14 05:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-13 05:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-12 05:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-11 14:39 andy * Source/CPack/cmCPackSTGZGenerator.cxx: ENH: Cleanup 2005-11-11 14:32 andy * Source/CPack/cmCPackSTGZGenerator.cxx: ENH: Fix for sun 2005-11-11 14:25 andy * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx, CPack/cmCPackGenericGenerator.cxx, CPack/cmCPackGenericGenerator.h, CPack/cmCPackSTGZGenerator.cxx, CPack/cmCPackSTGZGenerator.h, CPack/cmCPackTGZGenerator.cxx, CPack/cmCPackTGZGenerator.h: ENH: Add support for self extracted tars 2005-11-11 05:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-10 15:15 andy * Source/: CMakeLists.txt, cmConfigure.cmake.h.in, CPack/cmCPackTGZGenerator.h: COMP: Fix building on Cygwin 2005-11-10 15:13 martink * Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt: ENH: some fixes 2005-11-10 15:10 martink * Tests/Tutorial/: Step1/tutorial.cxx, Step2/tutorial.cxx, Step3/tutorial.cxx, Step4/tutorial.cxx, Step5/tutorial.cxx: ENH: some fixes 2005-11-10 14:36 andy * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx, CPack/cmCPackGenerators.h, CPack/cmCPackGenericGenerator.cxx, CPack/cmCPackGenericGenerator.h, CPack/cmCPackTGZGenerator.cxx, CPack/cmCPackTGZGenerator.h, CPack/cpack.cxx: ENH: Start working on CPack 2005-11-10 14:33 andy * Source/cmLocalGenerator.cxx: ENH: Make CMAKE_INSTALL_PREFIX to be optional (on by default) 2005-11-10 14:32 andy * Source/CTest/cmCTestGenericHandler.h: ENH: More type macros 2005-11-10 14:32 andy * Source/kwsys/Glob.hxx.in: COMP: Fix the building with Glob 2005-11-10 14:31 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Add method to delete the remaining arguments 2005-11-10 14:28 hoffman * Modules/Platform/Windows-cl.cmake: ENH: add all libs 2005-11-10 12:02 martink * Tests/Tutorial/: Step5/CMakeLists.txt, Step2/CMakeLists.txt, Step3/CMakeLists.txt, Step4/CMakeLists.txt, Step5/MathFunctions/CMakeLists.txt: ENH: some fixes 2005-11-10 11:48 martink * Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx: STYLE: fix spelling 2005-11-10 10:55 martink * Source/CMakeLists.txt: ENH: added tutorial tests 2005-11-10 10:55 martink * Source/CTest/cmCTestTestHandler.cxx: ENH: change the pass regexp so that it overrides the return value 2005-11-10 10:51 martink * Tests/Tutorial/Step5/: CMakeLists.txt, TutorialConfig.h.in, tutorial.cxx, MathFunctions/CMakeLists.txt, MathFunctions/MakeTable.cxx, MathFunctions/MathFunctions.h, MathFunctions/mysqrt.cxx: ENH: step 5 2005-11-10 10:50 martink * Tests/Tutorial/Step4/: CMakeLists.txt, TutorialConfig.h.in, tutorial.cxx, MathFunctions/CMakeLists.txt, MathFunctions/MathFunctions.h, MathFunctions/mysqrt.cxx: ENH: step 4 2005-11-10 10:50 martink * Tests/Tutorial/Step3/: CMakeLists.txt, TutorialConfig.h.in, tutorial.cxx, MathFunctions/CMakeLists.txt, MathFunctions/MathFunctions.h, MathFunctions/mysqrt.cxx: ENH: step 3 2005-11-10 04:48 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-09 16:21 martink * Tests/Tutorial/: Step1/CMakeLists.txt, Step1/TutorialConfig.h.in, Step1/tutorial.cxx, Step2/CMakeLists.txt, Step2/TutorialConfig.h.in, Step2/tutorial.cxx, Step2/MathFunctions/CMakeLists.txt, Step2/MathFunctions/MathFunctions.h, Step2/MathFunctions/mysqrt.cxx: ENH: checkeed in step 1 and 2 2005-11-09 11:14 andy * Source/cmSetTestsPropertiesCommand.h: STYLE: More comments 2005-11-09 11:07 andy * Source/: cmSetTestsPropertiesCommand.h, CTest/cmCTestTestHandler.cxx, kwsys/CMakeLists.txt: ENH: Change flag to PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION and add help in cmSetTestsPropertiesCommand 2005-11-09 07:22 andy * Source/kwsys/CMakeLists.txt: COMP: Fix all dashboards 2005-11-09 05:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-08 17:59 andy * Source/kwsys/: CMakeLists.txt, testRegistry.cxx: ENH: Add test for output regular expression 2005-11-08 17:59 andy * Source/: cmLocalGenerator.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: Add support for output reguilar expression 2005-11-08 05:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-07 05:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-06 05:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-05 04:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-04 10:52 martink * Source/cmCPluginAPI.h: DOC: updated comment about the inherited ivar 2005-11-04 09:28 andy * Modules/: CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake: ENH: Cleanup and unify 2005-11-03 04:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-11-02 13:59 martink * Modules/CheckLibraryExists.cmake: DOC: better documentation 2005-11-02 13:51 martink * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckSymbolExists.cmake, CheckVariableExists.cmake: DOC: better documentaiton 2005-11-02 04:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-31 12:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-31 10:52 hoffman * Utilities/Release/release_dispatch.sh: ENH: change names of machine 2005-10-31 10:48 hoffman * Utilities/Release/: cmake_release.sh: ENH: update revision numbers 2005-10-31 10:01 hoffman * ChangeLog.manual, Source/cmFileTimeComparison.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmake.cxx: ENH: merge from main tree 2005-10-30 08:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-28 17:46 hoffman * Modules/: FindOpenAL.cmake, FindPhysFS.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake, FindSDL_ttf.cmake: ENH: changes from Eric Wing, bug 2249 2005-10-28 11:52 hoffman * Source/cmWin32ProcessExecution.cxx: BUG: fix stack over write bug 2005-10-28 11:51 hoffman * Utilities/Release/: CMake.nsi.in, MakeRelease.cmake.in: BUG: fix space in path probs 2005-10-28 11:32 hoffman * Utilities/Release/: CMake.nsi.in, MakeRelease.cmake.in: BUG: fix release with spaces in the path 2005-10-28 11:31 hoffman * Source/cmWin32ProcessExecution.cxx: BUG: fix stack write error 2005-10-28 11:02 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: make the clean target work 2005-10-27 13:57 king * Source/: cmFileTimeComparison.cxx, kwsys/SystemTools.cxx: ENH: Improved file modification time comparison on Windows to use GetFileAttributesEx instead of CreateFile/GetFileTime/CloseHandle to get file times. This results in a 30% reduction in time to do a build system check. 2005-10-26 09:03 hoffman * Utilities/Release/cmake_release.sh: ENH: update revision numbers 2005-10-26 05:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-25 05:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-24 17:00 hoffman * ChangeLog.manual: [no log message] 2005-10-24 15:43 hoffman * CMakeLists.txt, Modules/Platform/Windows-gcc.cmake, Source/cmBuildNameCommand.h, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmLocalKdevelopGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmOutputRequiredFilesCommand.cxx, Source/cmStringCommand.cxx, Source/cmStringCommand.h, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/StringFile.cxx: ENH: move stuff into the branch in prep for 2.2.2 2005-10-24 05:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-23 05:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-22 05:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-21 15:24 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for bad placement of SILENT target 2005-10-21 12:04 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: symlink issue 2005-10-21 11:10 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix bad checkin that had debugging code in it 2005-10-21 09:49 hoffman * Source/kwsys/testFail.c: ENH: try to get this thing to pass with cmake 2.2.1 2005-10-21 04:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-20 16:37 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix over checking of build system 2005-10-20 16:37 martink * Source/cmake.cxx: STYLE: minor cleanup 2005-10-20 15:03 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for def files and new local target link lines 2005-10-20 14:25 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: missing check_build_system for all target 2005-10-20 13:40 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: big cleanup and fix for jump commands 2005-10-20 10:10 hoffman * Source/: cmStringCommand.cxx, cmStringCommand.h: BUG: end is not really end, but rather length 2005-10-20 04:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-19 13:23 martink * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: fix compiler error 2005-10-19 11:00 andy * Source/: cmCTest.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: More output 2005-10-19 11:00 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Initialize to something resonable 2005-10-19 10:47 andy * Source/kwsys/: Glob.cxx, Glob.hxx.in: COMP: More namespace fixes to build on HP 2005-10-19 10:03 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: cd into local directory to reduce link line length 2005-10-19 08:42 andy * Source/kwsys/Glob.cxx: COMP: Fix namespace. This way kwsys can be built outside cmake 2005-10-19 04:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-18 16:35 hoffman * Source/cmOutputRequiredFilesCommand.cxx: ENH: fix test 2005-10-18 16:10 hoffman * Source/cmOutputRequiredFilesCommand.cxx: ENH: add .txx files and put the start directory in the search path 2005-10-18 16:09 hoffman * Source/cmLocalKdevelopGenerator.cxx: ENH: unused include 2005-10-18 16:09 hoffman * Source/cmBuildNameCommand.h: ENH: spelling 2005-10-18 14:08 andy * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in: ENH: Push glob to the kwsys 2005-10-18 13:25 andy * Modules/Platform/Windows-gcc.cmake: COMP: On mingw, -fPIC is not necessary and it actually produces warnings 2005-10-18 13:22 andy * Tests/MathTest/CMakeLists.txt: ENH: More tests 2005-10-18 09:42 andy * Source/cmStringCommand.cxx: COMP: Remove warning 2005-10-18 04:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-17 21:34 hoffman * Source/: cmFileTimeComparison.cxx, cmFileTimeComparison.h: add missing file 2005-10-17 16:53 andy * Source/: cmExprParser.cxx, cmExprParser.y: ENH: Fix precedence 2005-10-17 16:42 andy * Source/: CMakeLists.txt, cmCommands.cxx, cmExprLexer.cxx, cmExprLexer.h, cmExprLexer.in.l, cmExprParser.cxx, cmExprParser.y, cmExprParserHelper.cxx, cmExprParserHelper.h, cmExprParserTokens.h, cmMathCommand.cxx, cmMathCommand.h, cmStringCommand.cxx: ENH: Add rudamentary mathematical expression support 2005-10-17 16:39 andy * Tests/MathTest/: CMakeLists.txt, MathTestExec.cxx, MathTestTests.h.in: ENH: Add math test 2005-10-17 09:58 king * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l: BUG: Lexer should be case insensitive so flex should be run with -i option. This partially addresses bug#2361. 2005-10-17 09:56 andy * Source/cmStringCommand.cxx, Source/cmStringCommand.h, Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/StringFile.cxx: ENH: Add String length and substring 2005-10-17 09:10 andy * Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmStringCommand.cxx, Source/cmStringCommand.h, Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/StringFile.cxx: ENH: Add regular string replace (not regex), and relative path command. Also add tests 2005-10-17 09:09 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: If test passes but it should fail, report an error 2005-10-17 08:49 hoffman * ChangeLog.manual, bootstrap, Modules/CMakeCXXInformation.cmake, Modules/FindJNI.cmake, Modules/FindJava.cmake, Source/CMakeLists.txt, Source/cmDepends.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx, Source/cmTarget.h, Source/cmake.cxx, Source/cmake.h, Source/CTest/cmCTestBuildHandler.cxx: ENH: merge fixes from main tree 2005-10-17 04:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-16 04:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-15 04:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-14 05:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-13 10:30 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: More error exceptions 2005-10-13 10:07 andy * Source/: cmDepends.cxx, cmFileTimeComparison.cxx: BUG: Fix logic to return true when the file was already statted. Also, use nanosecond percision if available. Remove debug 2005-10-13 05:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-12 13:52 andy * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h, cmDependsJava.cxx, cmDependsJava.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Improve performance of check build system by creating another file that is simpler to parse and therefore much faster overall 2005-10-12 13:51 andy * Source/: cmake.cxx, cmake.h: ENH: Optimize performance by caching stat results 2005-10-12 13:50 andy * Source/cmFileTimeComparison.cxx: COMP: Windows fixes 2005-10-12 13:36 andy * bootstrap, Source/CMakeLists.txt, Source/cmFileTimeComparison.cxx, Source/cmFileTimeComparison.h: ENH: Add file time comparison code 2005-10-12 12:08 andy * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: Add an accessor for the maximum file length 2005-10-12 05:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-11 05:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-10 11:49 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmMakefile.cxx, cmTarget.h: ENH: some fixes for better backwards compatibility 2005-10-10 05:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-09 05:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-08 05:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-07 11:36 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add support for setting the maximum number of errors and warnings reported. This should fix Bug #2318 - The maximum number of errors to report is fixed to 50 2005-10-07 05:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-06 17:16 barre * Source/kwsys/: CMakeLists.txt, testSystemTools.bin, testSystemTools.cxx, testSystemTools.h.in: ENH: CMake kills me (so does Cygwin) 2005-10-06 15:28 hoffman * ChangeLog.manual, Source/cmGetSourceFilePropertyCommand.h, Source/cmGetTargetPropertyCommand.h, Source/cmGetTestPropertyCommand.cxx, Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Source/cmLocalVisualStudio7Generator.cxx, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Source/CTest/cmCTestTestCommand.cxx, Source/CTest/cmCTestTestCommand.h, Source/CTest/cmCTestTestHandler.cxx, Utilities/Release/Release.cmake: ENH: merge bug fixes from main trunk 2005-10-06 15:10 martink * Utilities/Release/Release.cmake: ENH: some fixes for missing vars and missing libs 2005-10-06 05:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-05 16:06 barre * Source/kwsys/: CMakeLists.txt, testSystemTools.cxx, testSystemTools.h.in: ENH: avoid the use of GET_TARGET_PROPERTY by testing the CMake executable instead of the test executable 2005-10-05 13:11 king * Source/kwsys/CMakeLists.txt: BUG: Reverting fundamental type info change until it is fixed on more platforms. It was tested on Linux, SGI, HP, Sun, OSX, Windows with nmake and VS 6, 7, 7.1, 8, Borland Make, and cygwin by hand with spaces in the path and cmake 2.0 and 2.2 before committing but still seems to be failing on some dashboards...strange. 2005-10-05 05:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-04 16:40 barre * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: ENH: the test for kwsys uses GET_TARGET_PROPERTY, which was not in the CMake bootstrap 2005-10-04 15:09 barre * Source/kwsys/: CMakeLists.txt, testSystemTools.cxx, testSystemTools.h.in: ENH: add kwsys test for DetectFileType 2005-10-04 10:58 andy * Source/: cmCTest.cxx, CTest/cmCTestSubmitHandler.cxx: ENH: More verbosity 2005-10-04 05:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-03 14:44 king * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cxx: ENH: Converting FundamentalType try-compiles into a single try-run. All the information about the existence, size, and signedness of types can be determined in one program thanks to limits.h. 2005-10-03 14:33 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Double-quotes in definitions must be escaped. 2005-10-03 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-02 05:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-10-01 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-29 04:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-28 04:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-27 04:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-26 04:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-24 04:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-23 14:39 hoffman * Modules/CMakeCXXInformation.cmake: ENH: remove -lgcc used by crazy coverage stuff 2005-09-23 14:38 hoffman * Modules/: FindJNI.cmake, FindJava.cmake: ENH: java fixes from Mathieu 2005-09-23 12:50 martink * Source/cmake.cxx: BUG: the -P option was not working with relative paths and a couple types 2005-09-23 04:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-22 09:58 andy * Source/kwsys/Registry.cxx: COMP: Try to remove warnings 2005-09-22 05:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-21 14:15 king * Source/kwsys/kwsysPlatformCxxTests.cmake: ENH: Updated to use modern FILE command for writing to output logs instead of WRITE_FILE. 2005-09-21 13:42 king * Source/kwsys/kwsys_ios_sstream.h.in: BUG: kwsys_ios namespace should import streambuf also. 2005-09-21 13:31 king * Source/: cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.h, cmake.h, cmakemain.cxx: BUG: Corrected and updated documentation of the -P option, -C option, GET_TARGET_PROPERTY command, and GET_SOURCE_FILE_PROPERTY command. 2005-09-21 10:32 martink * Source/: cmCommands.cxx, cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: ENH: removed ITK command 2005-09-21 05:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-20 15:08 andy * Source/CTest/cmCTestTestHandler.cxx: ENH: Properly report failed tests 2005-09-20 12:50 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: increase coverage in loaded commands 2005-09-20 10:42 andy * Source/kwsys/CMakeLists.txt: ENH: Make message into status 2005-09-20 05:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-19 17:20 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l: BUG: When an unquoted argument contains a pair of matching double quotes spaces and tabs should be allowed in-between. This allows arguments like -DFOO='"bar zot"' to work. 2005-09-19 16:19 andy * Source/kwsys/Registry.cxx: BUG: Remove warning and try to fix memory problem 2005-09-19 15:15 andy * Source/kwsys/CMakeLists.txt: ENH: Test for both commands 2005-09-19 15:11 andy * Source/CTest/cmCTestTestHandler.cxx: ENH: Modify output based on wether it is tested or memory checked 2005-09-19 15:08 andy * Source/CTest/cmCTestTestCommand.h: BUG: This should fix memory checking 2005-09-19 12:38 martink * Utilities/Release/cmake_release.sh: ENH: update revision numbers 2005-09-19 12:33 hoffman * Modules/FindQt4.cmake, Modules/FindQt4.cmake.bak, Modules/VTKCompatibility.cmake, Source/cmCTest.cxx: minor fixes for 2.2.1 2005-09-19 12:19 hoffman * Modules/FindQt4.cmake: ENH: fix typo 2005-09-19 12:17 hoffman * Modules/VTKCompatibility.cmake: ENH: remove message 2005-09-19 04:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-18 17:15 king * Source/kwsys/README.txt: STYLE: Added reference to documentation in CMakeLists.txt. 2005-09-18 17:08 king * Source/kwsys/CMakeLists.txt: STYLE: Added backward compatibility disclaimer. 2005-09-18 08:17 andy * Source/: cmGetTestPropertyCommand.cxx, kwsys/CMakeLists.txt: BUG: Fix which argument is which, also, fix the test to be less agressive 2005-09-18 04:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-17 11:31 andy * Source/CTest/cmCTestTestCommand.cxx: ENH: Fix memcheck command 2005-09-17 09:53 andy * Source/kwsys/CMakeLists.txt: ENH: Add testing of GET_TEST_PROPERTY command 2005-09-17 08:50 andy * Source/kwsys/Registry.cxx: BUG: On WIN32, since we are using subkey, set it 2005-09-17 05:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-16 15:30 andy * Source/kwsys/Registry.cxx: COMP: Remove unused variable 2005-09-16 13:56 andy * Source/kwsys/: Registry.cxx, testRegistry.cxx: BUG: Fix encoding and add deleting to the test 2005-09-16 13:38 andy * Source/kwsys/: Registry.cxx, Registry.hxx.in, testRegistry.cxx: ENH: Modify API a little bit to allow arbitrary length values. Encode certain characters. Rename UNIX registry to FILE registry. More testing 2005-09-16 12:17 martink * Utilities/Release/cmake_release.sh: ENH: update revision numbers 2005-09-16 10:57 hoffman * Utilities/Release/: MakeRelease.cmake.in, README, Release.cmake: move off branch 2005-09-16 10:53 martink * Utilities/Release/: cmake_release.sh: ENH: update revision numbers 2005-09-16 10:53 martink * Utilities/Release/MakeRelease.cmake.in: ENH: fix for CMAKE_COMMAND not being defined with -P 2005-09-16 10:47 martink * Utilities/Release/cmake_release.sh: ENH: fix Bill 2005-09-16 10:41 martink * Utilities/Release/: MakeRelease.cmake.in, Release.cmake: ENH: fix to syntax 2005-09-16 10:32 martink * Utilities/Release/: Release.cmake, MakeRelease.cmake.in: ENH: added commit for release script 2005-09-16 10:10 hoffman * Utilities/Release/MakeRelease.cmake.in: ENH: auto release stuff 2005-09-16 10:09 andy * Source/kwsys/Registry.cxx: COMP: Remove problem on borland 2005-09-16 09:21 andy * Source/kwsys/CMakeLists.txt: ENH: Enable registry, add test of SET_TESTS_PROPERTIES, rename tests for dart2 2005-09-16 09:20 andy * Source/kwsys/Registry.cxx: COMP: Remove some more warnings 2005-09-16 09:15 andy * Source/kwsys/: Registry.cxx, Registry.hxx.in: ENH: Cleanups and expose unix registry on windows (for cygwin etc) 2005-09-16 09:08 andy * Source/kwsys/: Registry.cxx, Registry.hxx.in: COMP: Win32 fixes 2005-09-16 08:38 andy * Source/kwsys/Registry.cxx: ENH: More handling of unix versus windows registry 2005-09-16 08:20 andy * Source/kwsys/: Registry.cxx, Registry.hxx.in, testFail.c, testRegistry.cxx: ENH: Initial import 2005-09-16 05:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-15 17:22 andy * Source/cmCTest.cxx: ENH: Expose version of ctest 2005-09-15 16:38 hoffman * CTestCustom.ctest.in, ChangeLog.manual, bootstrap, Docs/cmake-mode.el, Modules/CMakeAddNewLanguage.txt, Modules/CMakeTestRCCompiler.cmake, Modules/FindQt.cmake, Modules/FindQt.cmake.bak, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindQt4.cmake.bak, Modules/UseQt4.cmake, Source/CMakeLists.txt, Source/cmAddSubDirectoryCommand.cxx, Source/cmAddSubDirectoryCommand.h, Source/cmCommandArgumentParserHelper.cxx, Source/cmFileCommand.cxx, Source/cmGetDirectoryPropertyCommand.cxx, Source/cmGetDirectoryPropertyCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmTest.h, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Tests/OutOfSource/CMakeLists.txt, Tests/OutOfSource/testdp.h.in, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx, Tests/OutOfSource/SubDir/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt, Utilities/Release/CMake.nsi.in: Merge more changes from main trunk 2005-09-15 16:06 andy * Source/CTest/cmCTestCoverageHandler.cxx: COMP: Too fast commit 2005-09-15 16:03 andy * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Make sure full paths are collapsed 2005-09-15 13:26 hoffman * Source/cmGlobalGenerator.cxx: ENH: fix warning 2005-09-15 12:17 hoffman * Modules/CMakeAddNewLanguage.txt, Modules/CMakeTestRCCompiler.cmake, Source/cmGlobalGenerator.cxx: ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 2005-09-15 11:05 martink * CTestCustom.ctest.in: ENH: cleaner code coverage 2005-09-15 04:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-14 11:16 hoffman * Modules/FindQt4.cmake: ENH: only add optional qt stuff to QT_INCLUDES 2005-09-14 09:12 hoffman * Modules/FindQt.cmake: ENH: if qt4 qmake is found then set QT_QMAKE_EXECUTABLE to that value so that the same one will be used in FindQt4.cmake 2005-09-14 04:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-13 12:55 martink * CTestCustom.ctest.in: ENH: coverage cleanup for non XCode builds 2005-09-13 10:40 martink * Tests/OutOfSource/: CMakeLists.txt, testdp.h.in, OutOfSourceSubdir/CMakeLists.txt, OutOfSourceSubdir/simple.cxx: ENH: test get directory properties ability to get props from subdirs 2005-09-13 10:39 martink * Source/: cmGetDirectoryPropertyCommand.cxx, cmGetDirectoryPropertyCommand.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: added DIRECTORY option to GET_DIRECTORY_PROPERTIES 2005-09-13 10:33 martink * Docs/cmake-mode.el: ENH: missing get_directory_property command 2005-09-13 09:25 hoffman * Modules/FindQt4.cmake: ENH: add some checks on the qmake install 2005-09-13 08:52 hoffman * Modules/FindQt.cmake: ENH: fix if statement 2005-09-13 04:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-12 22:46 hoffman * Modules/FindQt.cmake: ENH: add docs for QT_REQUIRED 2005-09-12 22:39 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: more findqt fixes 2005-09-12 14:26 martink * Tests/OutOfSource/SubDir/CMakeLists.txt: ENH: convert to work with the new syntax for ADD_SUBDIRECTORY 2005-09-12 13:46 martink * Source/: cmAddSubDirectoryCommand.cxx, cmAddSubDirectoryCommand.h: ENH: better format for ADD_SUBDIRECTORY command 2005-09-12 11:43 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: add new place to search for qt4 in registry 2005-09-12 11:25 hoffman * Modules/FindQt.cmake: ENH: fix typo 2005-09-12 10:37 hoffman * Source/CMakeLists.txt: ENH: use the findqt3 from this cmake and not the one configureing cmake 2005-09-12 10:33 hoffman * Modules/FindQt.cmake: ENH: add a better message 2005-09-12 10:28 hoffman * Modules/FindQt3.cmake: ENH: add more libraries for qt3 2005-09-12 09:55 hoffman * Modules/FindQt4.cmake: ENH: use correct variable for qmake 2005-09-12 09:52 hoffman * Modules/FindQt4.cmake: ENH: add a better message 2005-09-12 09:36 hoffman * Modules/FindQt.cmake: ENH: add some messages not errors for findqt 2005-09-12 09:32 hoffman * Modules/FindQt3.cmake, Modules/FindQt4.cmake, Source/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt: ENH: more qt changes 2005-09-12 09:09 hoffman * Modules/UseQt4.cmake: ENH: add -D options for qt stuff 2005-09-12 09:00 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: make sure the correct qmake is used 2005-09-12 04:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-11 04:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-10 22:36 hoffman * Modules/FindQt.cmake: ENH: only print errors if QT_REQUIRED is set 2005-09-10 10:33 hoffman * bootstrap, Modules/FindQt.cmake, Source/cmFileCommand.cxx: BUG: try to fix qt problems 2005-09-10 04:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-09 21:51 hoffman * Modules/FindQt.cmake, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Tests/Wrapping/CMakeLists.txt: ENH: clean up the find qt stuff some 2005-09-09 17:04 hoffman * Modules/: CheckQtInstalled.cmake, FindQt.cmake: ENH: try to fix this find qt stuff 2005-09-09 13:23 martink * Utilities/Release/CMake.nsi.in: ENH: to support both admin and locla installs 2005-09-09 11:32 hoffman * Modules/: CheckQtInstalled.cmake, FindQt.cmake: ENH: make FindQt default to qt3 and print a message, and add CheckQtInstalled.cmake 2005-09-09 05:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-08 15:26 hoffman * Source/cmCommandArgumentParserHelper.cxx: ENH: remove UMR 2005-09-08 15:25 hoffman * Source/cmOrderLinkDirectories.cxx: BUG: fix spelling error 2005-09-08 14:59 hoffman * ChangeLog.manual, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeFortranInformation.cmake, Modules/FindCurses.cmake, Modules/FindJNI.cmake, Modules/FindJPEG.cmake, Modules/FindJava.cmake, Modules/FindMatlab.cmake, Modules/FindMotif.cmake, Modules/FindQt4.cmake, Modules/FindQt4.cmake.bak, Modules/FindZLIB.cmake, Modules/UseQt4.cmake, Modules/UseSWIG.cmake, Modules/VTKCompatibility.cmake, Source/cmGlobalGenerator.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmOrderLinkDirectories.cxx: merge with main trunk 2005-09-08 14:35 andy * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: BUG: fix xcode 15 (really bill Hoffman) 2005-09-08 14:22 martink * Source/cmOrderLinkDirectories.cxx: BUG: bug num 1994 library linking when a config is not specified but debug and opt libs are 2005-09-08 11:38 hoffman * Modules/: FindCurses.cmake, FindJPEG.cmake, FindZLIB.cmake: ENH: clean up some stuff 2005-09-08 11:38 hoffman * Modules/UseSWIG.cmake: ENH: add ability to set outdir in swig 2005-09-08 10:03 hoffman * Modules/: CMakeDetermineJavaCompiler.cmake, FindJNI.cmake, FindJava.cmake: ENH: add support for java 1.5 2005-09-08 10:01 hoffman * Modules/FindMatlab.cmake: ENH: add Matlab support 2005-09-08 09:59 hoffman * Modules/FindMotif.cmake: ENH: add a find motif 2005-09-08 09:58 hoffman * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: add Ken Morelands fixes for FindQT 2005-09-08 05:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-07 17:05 hoffman * Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeFortranInformation.cmake, Modules/VTKCompatibility.cmake, Source/cmGlobalGenerator.cxx: ENH: add a fix for VTK on the mac and a way to fix some projects with a single file in the cmake modules directory 2005-09-07 05:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-06 23:31 andy * Source/: cmLocalGenerator.cxx, cmTest.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: Add a way for test to intentionally fail 2005-09-06 12:55 hoffman * ChangeLog.manual, bootstrap, Modules/CMakeGenericSystem.cmake, Modules/Platform/AIX.cmake, Source/CMakeLists.txt, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalXCode21Generator.cxx, Source/cmGlobalXCode21Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmTryRunCommand.cxx, Source/cmXCode21Object.cxx, Source/cmXCode21Object.h, Source/cmXCodeObject.cxx, Source/cmXCodeObject.h, Source/CTest/cmCTestTestHandler.cxx, Source/kwsys/SharedForward.h.in, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeLists.txt: Merge with main tree 2005-09-06 05:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-05 09:17 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.h: ENH: fix warnings 2005-09-05 04:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-04 04:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-03 22:16 hoffman * bootstrap: ENH: fix bootstrap, maybe this should somehow grep awk the sources from the cmakelist file.... 2005-09-03 04:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-02 16:29 hoffman * Source/: CMakeLists.txt, cmGlobalXCode21Generator.cxx, cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmXCode21Object.cxx, cmXCode21Object.h, cmXCodeObject.cxx, cmXCodeObject.h: ENH: add real support for Xcode21 2005-09-02 08:41 hoffman * Source/CMakeLists.txt: BUG: not all Macs are case insensitive if they mount nfs directories 2005-09-02 05:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-09-01 17:14 hoffman * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix NONE 2005-09-01 05:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-31 19:41 king * Source/kwsys/SharedForward.h.in: ENH: Added cygcheck knowledge for --ldd option on Cygwin. Added error message for --ldd option when no tool is available but the option was still requested. 2005-08-31 05:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-30 13:58 hoffman * Source/cmGlobalXCodeGenerator.cxx, Source/cmTryRunCommand.cxx, Source/CTest/cmCTestTestHandler.cxx, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeLists.txt: ENH: use native Deployment and Development directories 2005-08-30 04:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-29 17:09 hoffman * Modules/Platform/AIX.cmake: ENH: add flags for debug release for aix 2005-08-29 16:19 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeTestCCompiler.cmake, Modules/FindJava.cmake, Modules/FindQt3.cmake, Source/CMakeLists.txt, Source/cmDependsC.cxx, Source/cmDependsC.h, Source/cmFileCommand.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmVersion.cxx, Source/cmake.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestGenericHandler.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestTestHandler.h, Source/CTest/cmCTestUpdateCommand.cxx, Source/kwsys/SharedForward.h.in, Source/kwsys/SystemTools.cxx, Templates/EXEHeader.dsptemplate, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.h.in, Tests/CustomCommand/foo.in, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: merge with cvs again and change version 2005-08-29 15:49 king * Modules/CMakeGenericSystem.cmake: ENH: Picking better default for CMAKE_INSTALL_PREFIX on Windows by using ProgramFiles environment variable. Now that install actually works on Windows I'm making this entry non-advanced also. 2005-08-29 04:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-28 04:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-27 05:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-26 17:02 andy * Modules/FindJava.cmake: ENH: More paths for java 2005-08-26 16:20 andy * Source/CTest/cmCTestGenericHandler.cxx: COMP: Simplify logic and remove sun compile error 2005-08-26 05:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-25 05:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-24 11:18 andy * Source/CTest/cmCTestGenericHandler.cxx: BUG: Prevent from creating bogus files 2005-08-24 04:54 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-23 13:25 king * Modules/FindQt3.cmake: ENH: Added support for finding qt-mtedu, the educational version of Qt. 2005-08-23 10:24 hoffman * Source/cmFileCommand.cxx: make sure correct path type is used 2005-08-23 04:48 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-22 04:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-21 04:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-20 05:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-19 17:57 king * Source/cmLocalVisualStudio6Generator.cxx, Templates/EXEHeader.dsptemplate: BUG: Fixed OUTPUT_NAME feature for VS6 generator. It was not working for Debug builds and was not paying attention to the executable output path. 2005-08-19 17:56 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Install rule should take build configuration into account. 2005-08-19 17:17 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: add support for OUTPUT_NAME 2005-08-19 10:13 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: If the scanner is not defined this would crash. For example when using new language 2005-08-19 09:38 king * Source/cmake.cxx: ENH: Added cmake -E create_symlink command that behaves like ln -s. 2005-08-19 09:29 king * Modules/CMakeTestCCompiler.cmake: BUG: Need to test void* not "void *" because the Intel compiler icc expands the asterisk. Thanks to Filipe Sousa for the patch. 2005-08-19 09:22 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Removing exe VERSION attribute test until it is implemented in the XCode generator. 2005-08-19 04:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-18 16:17 andy * Source/CTest/cmCTestTestHandler.h: COMP: Add STD namespace 2005-08-18 16:06 king * Source/kwsys/SharedForward.h.in: BUG: Fixed dirname in a few cases on windows. Now using KWSYS_SHARED_FORWARD_CONFIG_NAME setting instead of CMAKE_INTDIR directly to give choice to user code. Updated documentation to include @KWSYS_NAMESPACE@_SHARED_FORWARD_CONFIG_NAME, @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_PRINT, and @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_LDD settings. 2005-08-18 13:50 andy * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: Improve log file strategy 2005-08-18 10:02 andy * Source/CTest/cmCTestUpdateCommand.cxx: ENH: Set update options 2005-08-18 09:23 king * Source/kwsys/SharedForward.h.in: ENH: Added support for Windows. 2005-08-18 09:21 king * Tests/CustomCommand/foo.h.in: COMP: Avoid C++ comment in C translation unit. 2005-08-18 09:19 king * Source/cmDependsC.cxx: COMP: Work-around iterator/const_iterator comparison problem on Borland 5.5. 2005-08-18 05:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-17 17:56 king * Tests/CustomCommand/CMakeLists.txt: BUG: It seems the auto-object-depends feature does not work in Visual Studio. I'm restoring the explicit OBJECT_DEPENDS lines. 2005-08-17 17:39 king * Source/cmSystemTools.cxx: BUG: RunSingleCommand should translate NULL characters in the output to valid text. This should fix the missing-output problem caused by NULL-characters in VS build output. 2005-08-17 17:04 king * Source/kwsys/SystemTools.cxx: BUG: Automatic pwd/cwd path translation must check that the generated logical-to-physical mapping is correct by using realpath. 2005-08-17 16:19 king * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Updated SimpleInstall test to test new versioned executable and OUTPUT_NAME support. 2005-08-17 16:11 king * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx, cmSetTargetPropertiesCommand.h, cmTarget.cxx, cmTarget.h: ENH: Added versioned executable support. This partially addresses bug#2143. Also made OUTPUT_NAME work when installing executables. 2005-08-17 16:06 king * Source/cmake.cxx: ENH: Added -E cmake_symlink_executable command to help create symbolic links for versioned executables. 2005-08-17 16:05 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Do not make a file depend on a virtual target. That causes everything to always rebuild. 2005-08-17 14:16 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: More error regex 2005-08-17 13:23 king * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: Cannot use first/last insertion constructor of std::set because it is not available on all platforms. 2005-08-17 11:48 king * Tests/CustomCommand/: CMakeLists.txt, foo.in, foo.h.in: ENH: Adding test for auto-object-depends feature. It has been tested with the Makefile generator. Hopefully this will work for the Visual Studio and XCode generators. 2005-08-17 11:43 king * Source/: cmDependsC.cxx, cmDependsC.h, cmLocalUnixMakefileGenerator3.cxx: ENH: Adding support for automatically adding the OBJECT_DEPENDS for generated header files. 2005-08-17 05:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-16 08:32 hoffman * Utilities/Release/: cmake_release.sh: ENH: file is now configured 2005-08-16 05:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-15 05:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-14 05:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-13 05:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-12 11:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-11 14:02 hoffman * ChangeLog.manual, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeFortranInformation.cmake, Modules/CMakeGenericSystem.cmake, Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeRCCompiler.cmake.in, Modules/CMakeRCInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CTest.cmake, Modules/CTestTargets.cmake, Modules/CheckCSourceCompiles.cmake, Modules/CheckCXXSourceCompiles.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/Dart.cmake, Modules/FindDoxygen.cmake, Modules/FindGLUT.cmake, Modules/FindJNI.cmake, Modules/FindOpenAL.cmake, Modules/FindPhysFS.cmake, Modules/FindPythonInterp.cmake, Modules/FindQt.cmake, Modules/FindQt.cmake.bak, Modules/FindQt3.cmake, Modules/FindQt4.cmake, Modules/FindQt4.cmake.bak, Modules/FindSDL.cmake, Modules/FindSDL.cmake.bak, Modules/FindSDL_image.cmake, Modules/FindSDL_image.cmake.bak, Modules/FindSDL_mixer.cmake, Modules/FindSDL_mixer.cmake.bak, Modules/FindSDL_net.cmake, Modules/FindSDL_net.cmake.bak, Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake, Modules/FindSDL_ttf.cmake.bak, Modules/FindThreads.cmake, Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForSTDNamespace.cmake, Modules/Use_wxWindows.cmake, Modules/Platform/CYGWIN-g77.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/g77.cmake, Source/CMakeLists.txt, Source/cmAddCustomCommandCommand.cxx, Source/cmAddDependenciesCommand.h, Source/cmAddTestCommand.h, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmCacheManager.cxx, Source/cmCommands.cxx, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmDepends.cxx, Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmDependsC.h, Source/cmDependsFortran.cxx, Source/cmDependsFortran.h, Source/cmDependsJava.cxx, Source/cmDependsJava.h, Source/cmDocumentation.cxx, Source/cmDynamicLoader.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmFileCommand.cxx, Source/cmGetTestPropertyCommand.cxx, Source/cmGetTestPropertyCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalUnixMakefileGenerator3.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalXCode21Generator.cxx, Source/cmGlobalXCode21Generator.h, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalUnixMakefileGenerator3.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Source/cmQTWrapCPPCommand.cxx, Source/cmSetTestsPropertiesCommand.cxx, Source/cmSetTestsPropertiesCommand.h, Source/cmSourceGroup.cxx, Source/cmSourceGroup.h, Source/cmSourceGroupCommand.cxx, Source/cmTarget.cxx, Source/cmTest.cxx, Source/cmTest.h, Source/cmTryCompileCommand.h, Source/cmUtilitySourceCommand.cxx, Source/cmake.cxx, Source/cmake.h, Source/ctest.cxx, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestCoverageHandler.cxx, Source/CTest/cmCTestCoverageHandler.h, Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx, Source/CTest/cmCTestGenericHandler.cxx, Source/CTest/cmCTestSubmitCommand.cxx, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestTestCommand.cxx, Source/CTest/cmCTestTestHandler.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Source/kwsys/Base64.c, Source/kwsys/Base64.h.in, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.h.in, Source/kwsys/FundamentalType.h.in, Source/kwsys/Process.h.in, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cmake, Source/kwsys/kwsysPlatformCxxTests.cxx, Source/kwsys/testHashSTL.cxx, Source/kwsys/testhash.cxx, Tests/BundleTest/BundleTest.cxx, Tests/BundleTest/CMakeLists.txt, Tests/CTestTest/test.cmake.in, Tests/CTestTest2/test.cmake.in, Tests/CTestTest3/test.cmake.in, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/Complex/Executable/testcflags.c, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/testcflags.c, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/testcflags.c, Tests/MacroTest/CMakeLists.txt, Tests/MakeClean/ToClean/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx, Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx, Tests/OutOfSource/OutOfSourceSubdir/testlib.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt, Utilities/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: move cvs onto branch and try for beta 2 2005-08-11 13:20 martink * Source/cmake.cxx: ENH: added better error checking for cases when there is a CMakeCache.txt file but it is not readable 2005-08-11 11:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-10 12:55 hoffman * Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: fix bug 2087 lib prefix stripped off on windows 2005-08-10 12:50 hoffman * Modules/FindQt4.cmake: ENH: some clean up from Clinton 2005-08-10 12:01 hoffman * Modules/: FindOpenAL.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake, FindSDL_ttf.cmake: ENH: add Eric Wings FindSDL updates 2005-08-10 11:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-10 10:01 hoffman * Source/cmDependsC.cxx: ENH: fix bug in depend file removing for deleted depend files 2005-08-10 08:48 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: fixed up qt stuff from Clinton Stimpson 2005-08-09 13:12 martink * Source/CTest/cmCTestTestHandler.cxx: BUG: do not search the user's path for text executables when a full path is provided to the test 2005-08-09 11:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-09 10:35 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for sun make with spaces 2005-08-08 15:23 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: have the build.make file include flags.make and use the language flags 2005-08-08 13:28 martink * Source/cmAddCustomCommandCommand.cxx: ENH: fix for earlier fix on source with relative path 2005-08-08 12:00 king * Source/cmAddCustomCommandCommand.cxx: BUG: Do not convert SOURCE argument from relative to full path. It breaks the old-style SOURCE==TARGET trick and the SOURCE argument is only present for old-style commands anyway. This addresses bug#2120. 2005-08-08 11:33 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Need TSD target to be built before SimpleInstall. 2005-08-08 11:28 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Do not escape CMAKE_COMMAND twice. 2005-08-08 11:02 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix and issue with spaces in paths 2005-08-08 10:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-08 09:37 king * Source/cmake.cxx: BUG: When exiting before the configure step in script mode we must account for cmSystemTools::GetErrorOccuredFlag() for the return code. 2005-08-07 10:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-06 10:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-05 17:07 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: fix warning 2005-08-05 14:19 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: some fixes for cwd problems with rebuild_cache option 2005-08-05 11:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-04 17:12 king * Source/kwsys/CMakeLists.txt: ENH: If VTK_LIBRARY_PROPERTIES is set then the properties it lists will be added to VTK library targets with SET_TARGET_PROPERTIES. This will be useful to enable shared library versioning. 2005-08-04 11:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-03 16:10 king * Source/cmAddDependenciesCommand.h: ENH: Clarified documentation further. 2005-08-03 14:16 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: More build errors 2005-08-03 14:15 andy * Source/CTest/cmCTestCoverageHandler.cxx: ENH: More handling of gcov 4.0 2005-08-03 13:34 andy * Source/CTest/cmCTestCoverageHandler.cxx: ENH: More support for gcov 4.0 2005-08-03 13:19 andy * Modules/: CTest.cmake, CTestTargets.cmake: ENH: Initial import 2005-08-03 13:19 andy * Modules/: Dart.cmake, FindJNI.cmake: STYLE: Fix typo 2005-08-03 11:56 andy * Source/CTest/cmCTestCoverageHandler.cxx: ENH: Add support for the new gcc that uses files with extension .gcda 2005-08-03 11:50 andy * Tests/CTestTest2/test.cmake.in: COMP: Fix for proxy test 2005-08-03 11:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-02 17:41 hoffman * Modules/Platform/Windows-cl.cmake: ENH: /nologo must be first 2005-08-02 16:44 hoffman * Modules/FindQt4.cmake: ENH: add changes for qt4 from Clinton Stimpson 2005-08-02 16:34 hoffman * Modules/FindQt4.cmake: ENH: add changes for qt4 from Clinton Stimpson 2005-08-02 13:40 andy * Source/CMakeLists.txt: ENH: change name from XCode to Xcode no need to test bootstrap for xcode 2005-08-02 13:02 andy * Source/CMakeLists.txt: ENH: change name from XCode to Xcode no need to test bootstrap for xcode 2005-08-02 13:01 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: get around problem where OBJROOT has been set by default for all projects in Xcode gui 2005-08-02 11:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-02 11:06 hoffman * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: FIX: fix bad depend info and COMPILE_FLAGS problem and remove extra cerr calls 2005-08-02 10:07 andy * Tests/CTestTest/test.cmake.in: COMP: Try to fix test by taking arg1 into acount 2005-08-02 09:55 hoffman * Modules/FindQt.cmake: ENH: add advanced values 2005-08-01 16:49 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l: BUG: Unquoted arguments can have quotes that are not at the beginning, but only an even number of them. 2005-08-01 12:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-08-01 10:19 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: first step to only rebuuilding on flag changes 2005-08-01 09:44 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make sure CMAKE_C_FLAGS are not clobbered 2005-08-01 09:24 king * Source/cmQTWrapCPPCommand.cxx: BUG: Patch from Filipe Sousa. QT_WRAP_CPP should generate the file moc_dlgmain.ui.cxx instead of moc_dlgmain.cxx. 2005-07-31 23:05 andy * Modules/CheckCXXSourceCompiles.cmake, Tests/MacroTest/CMakeLists.txt: ENH: Add C++ test too 2005-07-31 23:02 andy * Modules/CheckCSourceCompiles.cmake, Tests/MacroTest/CMakeLists.txt: ENH: Add a test for C source file like AC_TRY_COMPILE 2005-07-31 22:25 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: use ansi flags 2005-07-31 11:51 andy * Source/: cmCommands.cxx, cmGetTestPropertyCommand.cxx, cmGetTestPropertyCommand.h, cmLocalGenerator.cxx, cmMakefile.cxx, cmMakefile.h, cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h, cmTest.cxx, cmTest.h: ENH: Add set and get test propety command 2005-07-31 11:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-30 21:58 hoffman * Tests/: Complex/Executable/testcflags.c, ComplexOneConfig/Executable/testcflags.c, ComplexRelativePaths/Executable/testcflags.c: ENH: no c++ comments in a c file 2005-07-30 11:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-29 14:17 martink * Source/cmFLTKWrapUICommand.cxx: ENH; better warning message and fix type per julien 2005-07-29 14:02 hoffman * Tests/: Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: ENH: do not test for c and cxx flags on visual studio as it does not work yet 2005-07-29 13:19 martink * Source/kwsys/kwsysPlatformCxxTests.cmake: ENH: change loc of log files 2005-07-29 11:56 hoffman * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Executable/testcflags.c, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Executable/testcflags.c, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Executable/testcflags.c: ENH: add new test to make sure c and cxx flags are going to the right files 2005-07-29 11:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-29 11:25 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix dependencies. Looks like all dependencies were missing subdirectory 2005-07-29 10:04 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: undo last change 2005-07-29 10:02 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: support versions greater than 20 2005-07-29 09:19 martink * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckIncludeFiles.cmake, Modules/CheckLibraryExists.cmake, Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/FindThreads.cmake, Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForSTDNamespace.cmake, Modules/Platform/Windows-cl.cmake, Source/cmCacheManager.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmLocalVisualStudio7Generator.cxx, Tests/MakeClean/ToClean/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-28 15:24 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: fix warning 2005-07-28 14:52 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure c flags are used for c and cxx flags are used for cxx, really Bill 2005-07-28 13:21 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add method to attempt to check if a file is text or binary 2005-07-28 13:12 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure custom commands depend on full path files only: Bill as Andy 2005-07-28 11:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-28 09:14 martink * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmLocalUnixMakefileGenerator3.cxx: ENH: always write out all custom commands 2005-07-27 17:23 king * Source/cmMakefile.cxx: BUG: InitializeFromParent should copy include file regular expressions. 2005-07-27 16:46 king * Source/cmGlobalGenerator.cxx: ENH: RUN_TESTS target now uses proper CMAKE_CFG_INTDIR setting to get $(IntDir) or $(OutDir) depending on the generator. 2005-07-27 16:37 king * Source/cmUtilitySourceCommand.cxx: BUG: Hack to support building existing trees with UTILITY_SOURCE commands and the new VS generator directory structure. 2005-07-27 15:46 andy * Source/cmGlobalGenerator.cxx: BUG: Generate RUN_TEST target if any tests are there 2005-07-27 13:36 king * Source/: cmGlobalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: ENH: Generator now creates a separate intermediate files directory for each target. This is needed for MSVC 8 to support parallel builds. 2005-07-27 12:41 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: fix some warnings and cleanup some 2005-07-27 11:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-27 11:42 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: maybe fix fortran issue 2005-07-27 11:36 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: fix some warnings and cleanup some 2005-07-27 11:31 martink * Source/: cmDependsJava.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: fix some warnings and cleanup some 2005-07-27 09:49 martink * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h, cmDependsJava.cxx, cmDependsJava.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmake.cxx: ENH: reduce the number of files produced still needs a bit more cleanup 2005-07-26 17:40 king * Modules/Dart.cmake: ENH: Added VS8 support for DART_CXX_NAME. 2005-07-26 13:26 hoffman * Source/cmTarget.cxx: ENH: make sure source file depends are used to determine if custom commands are used 2005-07-26 13:26 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: if it is not a cmake target or a full path do not put depend information in the command 2005-07-26 13:25 hoffman * Source/cmFLTKWrapUICommand.cxx: ENH: make sure custom command depend on fluid so if fltk is part of project fluid gets built first 2005-07-26 11:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-26 11:37 king * Source/kwsys/: CMakeLists.txt, FundamentalType.h.in: ENH: Added FundamentalType header defining platform-independent fixed size/signedness integer types. 2005-07-26 11:36 king * Source/kwsys/kwsysPlatformCxxTests.cxx: ENH: Added TEST_KWSYS_CXX_SAME_LONG_AND___INT64, TEST_KWSYS_CXX_SAME_LONG_LONG_AND___INT64, TEST_KWSYS_CAN_CONVERT_UI64_TO_DOUBLE, and TEST_KWSYS_CHAR_IS_SIGNED. 2005-07-26 11:34 king * Source/kwsys/: Base64.c, Base64.h.in, Configure.h.in, Process.h.in: ENH: Moved kwsys_ns and kwsysEXPORT macros to Configure.h in the case of building a kwsys source file. This allows more than one header to be included in a kwsys source file without redefining the macros. 2005-07-26 09:17 andy * Tests/CTestTest3/test.cmake.in: ENH: Add support for multi-string compiler name, and improve support for subversion 2005-07-25 16:10 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix lib case bug correctly 2005-07-25 11:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-24 11:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-23 11:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-23 10:32 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: undo fix 2005-07-22 17:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-22 15:41 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: more efficent fix for bug # 2063 2005-07-22 15:33 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for case mismatched lib bug # 2063 2005-07-22 15:32 hoffman * Source/cmDependsC.cxx: ENH: string += is very slow, so don't use it 2005-07-22 08:40 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Better handling of removed files and remove warning 2005-07-22 08:39 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: More regular expressions 2005-07-21 15:54 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add support for detecting files that were removed 2005-07-21 10:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-21 09:07 andy * Source/CTest/cmCTestSubmitHandler.cxx: BUG: Remove duplicate prefix 2005-07-20 22:23 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: fix warning 2005-07-20 15:44 hoffman * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXInformation.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeFortranInformation.cmake, Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeRCCompiler.cmake.in, Modules/CMakeRCInformation.cmake, Source/cmLocalGenerator.cxx: ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 12:54 hoffman * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake, Platform/Windows-cl.cmake: ENH: move flags next to compiler, so if env contains compiler and some flag, they stay together 2005-07-20 12:53 hoffman * Source/CMakeLists.txt: ENH: java does not work under mingw 2005-07-20 12:48 hoffman * Modules/: FindQt.cmake, FindQt4.cmake: ENH: make sure qmake is on the machine before running it 2005-07-20 12:40 andy * Source/kwsys/testHashSTL.cxx: ENH: Rename test 2005-07-20 12:03 andy * Source/cmCTest.cxx: BUG: Initialize variable 2005-07-20 12:02 andy * Source/kwsys/: CMakeLists.txt, testhash.cxx: ENH: Rename test 2005-07-20 10:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-19 18:05 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: make it so that bootstrap does not use xml parser 2005-07-19 17:16 hoffman * Source/: cmake.cxx, cmake.h: ENH: fix for bug 1866, make -G,-D -C options allow for space between arg and value 2005-07-19 16:40 hoffman * Source/: CMakeLists.txt, cmFileCommand.cxx, cmGlobalXCode21Generator.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: if Xcode21 is installed then create 21 compatible project files 2005-07-19 15:28 hoffman * Source/: cmGlobalXCode21Generator.cxx, cmGlobalXCode21Generator.h: ENH: add new stub generator 2005-07-19 15:27 hoffman * Source/cmTryCompileCommand.h: ENH: add more docs 2005-07-19 14:36 hoffman * Modules/CMakeGenericSystem.cmake: ENH: make KDevelop3 default to CMAKE_VERBOSE_MAKEFILE 2005-07-19 11:48 hoffman * Modules/CMakeGenericSystem.cmake: ENH: make KDevelop3 default to CMAKE_VERBOSE_MAKEFILE 2005-07-19 10:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-18 12:53 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx, CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitHandler.cxx: ENH: Add a way to submit extra files to the dashboard 2005-07-18 11:46 andy * Modules/Dart.cmake, Source/cmCTest.cxx, Source/cmCTest.h, Source/ctest.cxx, Tests/CTestTest2/test.cmake.in: ENH: Several improvements and cleanups: 1. Add long command line arguments for every argument 2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10 3. Improve argument parsing. 4. Add submit index argument 2005-07-18 11:32 andy * Source/CTest/cmCTestGenericHandler.cxx: ENH: Cleanup file name 2005-07-18 11:32 andy * Source/cmDocumentation.cxx: ENH: Cleanup the help a bit 2005-07-18 08:47 hoffman * Modules/FindQt.cmake: ENH: fix qt bug 2005-07-18 03:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-17 03:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-16 03:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-15 15:20 hoffman * Source/cmGlobalXCodeGenerator.h: ENH: fix bug 1960 2005-07-15 13:24 hoffman * Source/cmAddTestCommand.h: BUG: fix for bug 1838 2005-07-15 12:57 hoffman * Modules/FindGLUT.cmake: BUG: fix for bug 852 2005-07-15 12:39 hoffman * Modules/: FindQt.cmake: ENH: fix hard coded include from patch 2005-07-15 12:14 hoffman * Modules/: FindQt.cmake, FindQt3.cmake, FindQt4.cmake: ENH: add new qt stuff from warfield@bwh.harvard.edu, thanks 2005-07-15 12:01 martink * Utilities/CMakeLists.txt: BUG: converted to 1.8 form of custom commands 2005-07-15 11:48 andy * Modules/FindPythonInterp.cmake: ENH: Add registry for 2.4 2005-07-15 11:45 andy * Modules/FindPythonInterp.cmake: BUG: Set PYTHONINTERP_FOUND 2005-07-15 11:38 hoffman * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: fix static build of vtk with cmake by having custom targets chain depend information 2005-07-15 11:37 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: remove commented code 2005-07-15 11:36 hoffman * Source/CMakeLists.txt: ENH: remove messages about not running java test 2005-07-15 11:34 hoffman * Source/cmDynamicLoader.cxx: ENH: fix compile error bug# 2020 on mac 2005-07-15 08:36 andy * Modules/FindPythonInterp.cmake: ENH: Initial import 2005-07-15 03:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-14 16:00 hoffman * Source/cmLocalGenerator.cxx: ENH: fix for bug 992, mac bundle install fix 2005-07-14 15:12 hoffman * Source/cmMakefile.cxx: BUG: fix for bug 1850 wrapping can leave out files if they are a substring of another file 2005-07-14 14:15 andy * Source/CTest/cmCTestCoverageHandler.cxx: ENH: Some more cleanups and add ctest custom vector for regular expression to exclude from coverage 2005-07-14 14:15 andy * Source/cmCTest.cxx: BUG: Look for custom files in all directories 2005-07-14 13:50 hoffman * Tests/OutOfSource/OutOfSourceSubdir/: testlib.cxx, testlib.h: ENH: add missing files 2005-07-14 13:25 andy * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Add custom supression regular expressions 2005-07-14 12:21 hoffman * Source/cmLocalUnixMakefileGenerator3.cxx, Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt, Tests/OutOfSource/OutOfSourceSubdir/simple.cxx: FIX: fix bug 2043 borland compiler and dll problem and add a test for it 2005-07-14 11:24 andy * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix line number inconsistency, improve output 2005-07-14 10:15 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: add support for borland exe with shared libs back in 2005-07-14 09:44 andy * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: Do 4 files 2005-07-14 09:30 andy * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: Add a test for cmGeneratedFileStream 2005-07-14 09:29 andy * Source/CTest/cmCTestTestCommand.cxx: COMP: Remove warning and fix the logic 2005-07-14 09:29 andy * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Rename tmp files 2005-07-14 03:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-13 16:57 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: remove part of patch from bug 1965 that set executable paths 2005-07-13 16:49 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: revert part of patch that set executable debug prefix as it breaks too much stuff 2005-07-13 16:24 hoffman * Source/cmLocalGenerator.cxx: ENH: add -L as possible library flag 2005-07-13 16:23 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: add support for bundles 2005-07-13 16:20 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: try to fix failed test 2005-07-13 15:49 hoffman * Source/CMakeLists.txt: ENH: add bundle test 2005-07-13 15:43 hoffman * Tests/BundleTest/: BundleTest.cxx, CMakeLists.txt: ENH: add a bundle test 2005-07-13 11:21 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx: FIX: apply patch from bug# 1965 2005-07-13 10:17 andy * Source/: cmCTest.h, CTest/cmCTestTestCommand.cxx: ENH: Add timeout support 2005-07-13 09:49 andy * Source/kwsys/SystemTools.cxx: COMP: Remove warning on windows 2005-07-13 09:08 hoffman * Modules/FindDoxygen.cmake: ENH: fix for darwin from eric wing 2005-07-13 09:06 hoffman * Modules/: FindOpenAL.cmake, FindPhysFS.cmake, FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_ttf.cmake: ENH: add a bunch of find sdl stuff from eric wing 2005-07-13 08:29 hoffman * Modules/Platform/: CYGWIN-g77.cmake, IRIX64.cmake, g77.cmake: FIX: for 1852 fix fortran case 2005-07-13 03:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-12 17:30 hoffman * ChangeLog.manual, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in: merge from main tree 2005-07-12 17:24 hoffman * CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt: ENH: remove unused files 2005-07-12 17:24 hoffman * Source/cmCPluginAPI.h: ENH: change version 2005-07-12 17:23 hoffman * Utilities/cmcurl/CMakeLists.txt: add -dl on unix 2005-07-12 17:22 hoffman * Utilities/Release/: cmake_release.sh, config_Darwin, config_HP-UX, config_SunOS, release_dispatch.sh: move release stuff off branch 2005-07-12 16:56 hoffman * ChangeLog.txt: update changes 2005-07-12 16:51 hoffman * ChangeLog.txt: ENH: update changes for 2.2 2005-07-12 15:40 hoffman * Utilities/Release/config_Darwin: [no log message] 2005-07-12 15:26 hoffman * Utilities/Release/config_Darwin: [no log message] 2005-07-12 15:11 hoffman * Utilities/Release/: config_Darwin, release_dispatch.sh: fixes for osx 2005-07-12 13:54 hoffman * Utilities/Release/config_SunOS: put it back 2005-07-12 13:21 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: BUG: Revert the change to FileIsDirectory. Add FileIsSymlink and treat symlinks as files when removing directory 2005-07-12 12:40 hoffman * Utilities/cmcurl/CMakeLists.txt: [no log message] 2005-07-12 12:31 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Go back to the original directory after examining the current directory 2005-07-12 12:30 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Make sure it always starts in the current directory when searching for tests 2005-07-12 10:39 andy * Source/: kwsys/SystemTools.cxx, CTest/cmCTestEmptyBinaryDirectoryCommand.cxx: BUG: When removing directory, use lstat instead of stat to make sure that symlinks are treated as files and not as directories 2005-07-12 10:25 hoffman * Utilities/Release/config_SunOS: [no log message] 2005-07-12 10:08 hoffman * Utilities/Release/config_SunOS: [no log message] 2005-07-12 09:36 hoffman * Utilities/Release/config_HP-UX: use gmake 2005-07-12 08:50 andy * Source/cmCTest.cxx: BUG: Fix problem with visual studio in release mode 2005-07-12 03:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-11 18:07 hoffman * Source/CursesDialog/form/CMakeLists.txt: ENH: fix from main tree 2005-07-11 18:07 hoffman * Source/CursesDialog/form/CMakeLists.txt: ENH: add curses include directory 2005-07-11 17:58 hoffman * Utilities/Release/config_Darwin: turn off wx dialog for now 2005-07-11 17:15 hoffman * Utilities/Release/cmake_release.sh: get the correct version 2005-07-11 17:11 hoffman * Utilities/Release/: cmake_release.sh, cmake_release.sh.in, config_CYGWIN_NT-5.1, config_IRIX64, config_Linux, cygwin-package.sh.in, release_dispatch.sh, README: ENH: merge changes from branches 2005-07-11 16:57 hoffman * Utilities/Release/release_dispatch.sh: [no log message] 2005-07-11 16:09 hoffman * Utilities/Release/: cmake_release.sh, cmake_release.sh.in, config_CYGWIN_NT-5.1, config_IRIX64, cygwin-package.sh.in, release_dispatch.sh: move stuff from 2.0 over to 2.2 2005-07-11 15:21 hoffman * Utilities/Release/config_Linux: move config linix to 2.2 branch 2005-07-11 15:11 hoffman * Utilities/Release/release_dispatch.sh: change to muse 2005-07-11 15:05 hoffman * Utilities/Release/release_dispatch.sh: ENH: add from HEAD 2005-07-11 15:04 hoffman * Utilities/Release/release_dispatch.sh: add from branch 2005-07-11 14:55 martink * ChangeLog.manual: ENH: commit some change logs 2005-07-11 14:54 hoffman * Source/cmCPluginAPI.h, Utilities/Release/cmake_release.sh, Utilities/Release/cmake_release.sh.in: ENH: fix up some version stuff 2005-07-11 12:22 martink * Source/CTest/cmCTestUpdateHandler.cxx: ENH: provide default update options if none were provided 2005-07-11 11:59 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add default update options 2005-07-11 11:37 martink * ChangeLog.manual: ENH: added ChangeLog as in prior release 2005-07-11 11:36 martink * Source/cmAddCustomCommandCommand.cxx: ENH: merge from the main tree to handle relative files 2005-07-11 11:31 martink * Source/CTest/cmCTestUpdateHandler.cxx: ENH: merged from CVS fix for SNV warning 2005-07-11 11:16 andy * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Remove warning when using CVS 2005-07-11 03:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-10 03:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-09 03:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-08 11:51 martink * Source/cmAddCustomCommandCommand.cxx: ENH: slightly modified version of Alex's relative path arguments for custom commands 2005-07-08 10:13 martink * Utilities/Release/cmake_release.sh: ENH: release commit 2005-07-08 10:00 martink * CMakeLists.txt: ENH: rev to 22 2005-07-08 09:55 martink * CMakeLists.txt: ENH: update rev to 23 2005-07-08 09:05 king * Source/kwsys/testProcess.c: COMP: Fixed uninitialized variable. 2005-07-08 03:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-07 16:01 martink * Source/cmConfigureFileCommand.cxx: ENH: configure file will assume start source dir if a full path is not provided 2005-07-07 15:06 martink * Source/cmMakefile.cxx: BUG: library return values were not UNIX slashes on Win98 2005-07-07 13:55 martink * Source/cmSourceFile.cxx: BUG: mor emissing convert to unix slashes 2005-07-07 11:44 martink * Source/: cmMakefile.cxx, cmMakefile.h: ENH: cleaned up some old methods and vars 2005-07-07 10:21 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Removing CMAKE_HIDE_TARGET_DIRS since it has been superceded by CMAKE_TARGET_DIR_PREFIX. 2005-07-07 10:14 king * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Added use of CMAKE_TARGET_DIR_PREFIX variable to prepend a project-specified string to the names of all the target-name.dir directories. 2005-07-07 10:11 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: added ability to prefix target directories with a . to make them not show up in ls. From patch from Alex 2005-07-07 09:44 martink * Source/cmake.cxx: BUG: win95 returning non unix path for cmake command 2005-07-07 09:06 king * Source/kwsys/testProcess.c: ENH: Extended test 0 to run the executable twice using the same process object. This tests the reusability of the objects. 2005-07-07 09:05 king * Source/kwsys/ProcessWin32.c: BUG: Fixed reusability of process object by clearing each pipe's Closed flag when cleaning up. 2005-07-07 03:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-06 16:16 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: fix for bootstrap problem 2005-07-06 15:51 andy * Source/: cmCacheManager.cxx, cmFileCommand.cxx, cmWriteFileCommand.cxx: STYLE: Fix typos 2005-07-06 15:49 andy * Source/CTest/cmCTestCoverageHandler.cxx: COMP: Remove warning 2005-07-06 15:27 andy * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Improve support for various versions of gcov 2005-07-06 15:25 andy * Modules/FindFLTK.cmake: ENH: Replace with the one from InsightApp 2005-07-06 15:25 martink * Source/cmListFileCache.cxx: BUG: project command should also work with lower case 2005-07-06 15:24 martink * Tests/Simple/CMakeLists.txt: BUG: minor fix to project name to match ADD_TEST call 2005-07-06 15:11 andy * Source/CTest/cmCTestSubmitHandler.cxx: BUG: On windows there can be a problem because scp does not handle drive names. This uses relative path for scp 2005-07-06 03:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-05 16:13 martink * Utilities/Release/: MakeRelease.cmake.in, Release.cmake: ENH: a start on UNIX release 2005-07-05 15:43 martink * Utilities/Release/Release.cmake: ENH: better release support 2005-07-05 12:38 martink * Utilities/Release/: MakeRelease.cmake.in, Release.cmake: ENH: better release support 2005-07-05 11:17 andy * Modules/FindDCMTK.cmake: ENH: Improvements by Julien 2005-07-05 10:08 martink * Source/cmMacroCommand.cxx: ENH: revert back to string replacement version 2005-07-05 09:21 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: util targets now show up in locla makefile and make rebuild_cache now works in subdirs 2005-07-05 09:00 martink * Source/cmLocalGenerator.cxx: BUG: fix for debug optimized link libraries 2005-07-05 03:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-04 03:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-03 12:06 andy * Source/cmake.cxx: ENH: Only truncate files when not in try compile. Alsom move truncating code closer to configure 2005-07-03 03:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-02 22:50 andy * Source/cmCTest.cxx: ENH: Improve performance of MakeXMLSafe, improve performance of reading custom ctest files, and remove error when running ctest on directory without DartConfiguration.tcl 2005-07-02 22:32 andy * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Unify number of spaces 2005-07-02 22:31 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Improve performance by compiling regular expressions when needed 2005-07-02 22:30 andy * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: Improve performance of testing and do not complain if DartTestfile.txt is not found or if directory does not exist 2005-07-02 22:25 andy * Source/: cmake.cxx, cmake.h: ENH: Start adding the code that will truncate output logs 2005-07-02 01:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-07-01 10:57 martink * Source/: cmGetTargetPropertyCommand.h, cmTarget.cxx: ENH: added Alexander's target property TYPE 2005-07-01 10:23 martink * Source/: cmGetDirectoryPropertyCommand.cxx, cmGetDirectoryPropertyCommand.h: ENH: added patch from Alexander Neundorf to get DEFINITIONS 2005-06-30 13:39 martink * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: ENH: added testing of the WHILE command 2005-06-30 13:39 martink * Docs/cmake-mode.el: ENH: added while command 2005-06-30 13:27 martink * Docs/cmake-mode.el: ENH: added while command 2005-06-30 13:09 martink * Utilities/Release/: CMake.nsi.in, MakeRelease.cmake.in, Release.cmake, Win32Release.sh.in: ENH: better release scripts 2005-06-30 11:33 martink * Utilities/Release/Release.cmake: ENH: hard coded for VS 71 nmake for now 2005-06-30 11:18 king * Modules/Platform/Windows-cl.cmake: BUG: Fixed escaped quote at end of . 2005-06-30 09:53 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: added local help and install targets 2005-06-30 09:21 king * Source/kwsys/Base64.c: BUG: Do not increment optr by 2 after storing only one character. Also fixed possibility of storing uninitialized characters from the last triplet. 2005-06-30 05:47 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-29 12:07 king * Modules/Platform/Windows-bcc32.cmake: BUG: Need to use the -c option for implib to produce case-sensitive symbols in the .lib files. 2005-06-29 08:46 martink * CTestCustom.ctest.in: COMP: shut up warning 2005-06-29 05:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-28 15:00 martink * Utilities/Release/: CMake.nsi.in, CMakeInstall.bmp: ENH: added our own bitmap 2005-06-28 10:55 martink * Utilities/Release/CMake.nsi.in, Utilities/Release/Win32Release.sh.in, Utilities/Release/cmake_release.sh.in, Utilities/Release/Release.cmake, CMakeLists.txt: ENH: added some release support 2005-06-28 05:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-27 15:59 martink * Source/cmMakefile.cxx: BUG: dont pass unverified char * to streams 2005-06-27 12:45 martink * Tests/Simple/CMakeLists.txt: ENH: convert to lower case 2005-06-27 12:44 martink * Example/: CMakeLists.txt, Demo/CMakeLists.txt, Hello/CMakeLists.txt: ENH: updte to lower case and using ADD_SUBDIRECTORY 2005-06-27 11:39 martink * CTestCustom.ctest.in: ENH: mods to warning excludes based on new locaiton of curl 2005-06-27 05:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-26 05:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-25 05:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-24 13:29 andy * Source/CTest/cmCTestSubmitHandler.cxx: BUG: Exit properly on SCP submission 2005-06-24 09:41 andy * Source/CTest/cmCTestSubmitHandler.cxx: COMP: Remove warnings 2005-06-24 09:06 andy * CMakeLists.txt, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/CTest/cmCTestSubmitHandler.cxx: ENH: Move curl to utilities 2005-06-24 09:00 andy * Utilities/cmcurl/: amigaos.c, amigaos.h, arpa_telnet.h, base64.c, base64.h, ca-bundle.h, connect.c, connect.h, content_encoding.c, content_encoding.h, cookie.c, cookie.h, curl_memory.h, curlx.h, dict.c, dict.h, easy.c, escape.c, escape.h, file.c, file.h, formdata.c, formdata.h, ftp.c, ftp.h, getdate.c, getdate.h, getenv.c, getinfo.c, getinfo.h, hash.c, hash.h, hostares.c, hostasyn.c, hostip.c, hostip.h, hostip4.c, hostip6.c, hostsyn.c, hostthre.c, http.c, http.h, http_chunks.c, http_chunks.h, http_digest.c, http_digest.h, http_negotiate.c, http_negotiate.h, http_ntlm.c, http_ntlm.h, if2ip.c, if2ip.h, inet_ntoa_r.h, inet_ntop.c, inet_ntop.h, inet_pton.c, inet_pton.h, krb4.c, krb4.h, ldap.c, ldap.h, llist.c, llist.h, md5.c, md5.h, memdebug.c, memdebug.h, mprintf.c, multi.c, netrc.c, netrc.h, nwlib.c, progress.c, progress.h, security.c, security.h, sendf.c, sendf.h, setup.h, share.c, share.h, speedcheck.c, speedcheck.h, ssluse.c, ssluse.h, strequal.c, strequal.h, strerror.c, strerror.h, strtok.c, strtok.h, strtoofft.c, strtoofft.h, telnet.c, telnet.h, timeval.c, timeval.h, transfer.c, transfer.h, url.c, url.h, urldata.h, version.c, CMakeLists.txt, config.h.in, curl.copyright, CMake/CheckTypeSize.c.in, CMake/CheckTypeSize.cmake, CMake/CurlTests.c, Platforms/WindowsCache.cmake, Platforms/config-aix.h, Testing/CMakeLists.txt, Testing/curlgtk.c, Testing/curltest.c, Testing/ftpget.c, Testing/ftpgetresp.c, Testing/ftpupload.c, Testing/getinmemory.c, Testing/http-post.c, Testing/httpput.c, Testing/multithread.c, Testing/persistant.c, Testing/postit2.c, Testing/sepheaders.c, Testing/simple.c, Testing/simplessl.c, Testing/testconfig.h.in, Testing/win32sockets.c, curl/curl.h, curl/curlver.h, curl/easy.h, curl/mprintf.h, curl/multi.h, curl/stdcheaders.h, curl/types.h: ENH: Initial import 2005-06-24 05:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-23 16:06 andy * Source/CTest/cmCTestSubmitHandler.cxx: ENH: Make iterators const 2005-06-23 13:07 andy * Tests/CTestTest3/test.cmake.in: ENH: Perform second test if subversion exists 2005-06-23 13:04 andy * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildCommand.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureCommand.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageCommand.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h, CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestMemCheckCommand.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestStartCommand.cxx, CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestSubmitHandler.h, CTest/cmCTestTestCommand.cxx, CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateHandler.cxx, kwsys/CTestConfig.cmake: ENH: Several improvements with the way things are handled. Also, support multiple submited files 2005-06-23 12:34 martink * Source/cmMacroCommand.cxx: COMP: fix compiler warnings 2005-06-23 11:03 martink * Source/: cmForEachCommand.cxx, cmIfCommand.cxx, cmMacroCommand.cxx, cmWhileCommand.cxx: ENH: converted macro to use variables and fixed some case issues with some function blockers 2005-06-23 10:25 king * Source/kwsys/hashtable.hxx.in: ENH: Added some smaller primes to allow small hash table sizes and therefore shorter initial construction times. 2005-06-23 05:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-22 14:20 martink * Source/cmForEachCommand.h: STYLE: updated the docs to be more accurate 2005-06-22 14:16 martink * Source/cmForEachCommand.cxx: COMP: fix possible poroblem with freed memory 2005-06-22 14:04 martink * Source/cmForEachCommand.cxx: COMP: fix unused variable 2005-06-22 13:32 martink * Source/cmForEachCommand.cxx: ENH: changed FOREACH to use variables instead of string replacement 2005-06-22 10:54 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Fix displaying of percentage 2005-06-22 10:09 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: clean rule wasn't cleaning libs and executables 2005-06-22 09:12 martink * Source/cmTarget.cxx: ENH: some better checks 2005-06-22 09:06 martink * Source/: cmExportLibraryDependencies.cxx, cmGlobalGenerator.cxx, cmGlobalKdevelopGenerator.cxx, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h, cmTarget.cxx, cmTarget.h: ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 05:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-21 16:44 andy * Source/cmCommandArgumentParserHelper.cxx: ENH: Remove stray abort 2005-06-21 16:29 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: fix for BSD makes no longer use dir name as a target 2005-06-21 14:20 king * Source/cmTryRunCommand.cxx: BUG: Fixed error message formatting when try run executable command cannot be found. 2005-06-21 11:01 andy * Source/cmCommandArgumentParserHelper.cxx: BUG: Fix escaping to make OSX work again 2005-06-21 10:33 king * Source/kwsys/testProcess.c: BUG: Use sleep(1) instead of usleep(1000000) because some UNIX systems specify that the argument to usleep must be less than 1000000. 2005-06-21 09:34 martink * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmLocalUnixMakefileGenerator3.cxx: ENH: add test to make sure custom commands are used 2005-06-21 05:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-20 17:57 andy * Source/cmCTest.cxx: ENH: Initialize handler before processing it 2005-06-20 17:37 andy * Source/CursesDialog/.NoDartCoverage: ENH: Until there is some test for curses dialog, no need to do coverage 2005-06-20 16:31 martink * Modules/: Dart.cmake, TestCXXAcceptsFlag.cmake, Platform/Darwin.cmake: ENH: fixed some spelling errors 2005-06-20 16:24 martink * Source/cmMakefile.cxx: BUG: goof in new feature fixed 2005-06-20 14:15 martink * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: removed unused files 2005-06-20 14:00 martink * Docs/CMake04.rtf, Source/cmGetTargetPropertyCommand.cxx, Source/cmGetTargetPropertyCommand.h, Source/cmGlobalGenerator.h, Source/cmMakefile.cxx: ENH: modified GET_TARGET_PROPERTIES to work with all targets 2005-06-20 13:49 barre * Source/kwsys/testSystemTools.cxx: ENH: fix test, it has to return a true/false value otherwise it just passes the test, and add test for EscapeChars 2005-06-20 13:10 martink * Modules/: TestBigEndian.cmake, UseSWIG.cmake: BUG: fix some missing quotes for STREQUAL IF statements 2005-06-20 12:55 martink * Modules/CMakeGenericSystem.cmake: ENH: adde dback in CMAKE_VERBOSE_MAKEFILE that was acc removed 2005-06-20 11:54 king * Source/cmSetTargetPropertiesCommand.h: ENH: Added documentation of VERSION and SOVERSION properties. 2005-06-20 11:53 martink * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmGlobalUnixMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator.h: ENH: no longer used 2005-06-20 11:49 martink * Tests/COnly/CMakeLists.txt: COMP: converted to lowercase commands 2005-06-20 11:47 martink * Docs/cmake-mode.el: ENH: updated emacs mode to include lowercase commands and missing command ENDMACRO 2005-06-20 08:59 martink * Source/CTest/cmCTestTestHandler.cxx: COMP: see about fixing warning 2005-06-20 07:42 andy * Tests/CTestTest3/test.cmake.in: ENH: Skip svn test for now 2005-06-20 05:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-19 06:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-18 05:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-17 23:15 andy * Source/CMakeLists.txt: COMP: Fix problems with old cmake 2005-06-17 15:50 andy * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l, cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h, cmListFileCache.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Improve handling of escaped characters 2005-06-17 15:44 andy * Source/CMakeLists.txt: ENH: Pass ctest config type to subprocesses 2005-06-17 15:43 andy * Source/CTest/cmCTestTestHandler.cxx: ENH: Pass configuration type to subprocesses 2005-06-17 14:13 king * Source/kwsys/CMakeLists.txt: ENH: Enabling new test 7 of process execution. 2005-06-17 14:07 king * Source/kwsys/Process.h.in: ENH: Added polling feature to documentation of WaitForData. 2005-06-17 14:05 king * Source/kwsys/ProcessWin32.c: BUG: Fixed polling feature of WaitForData. 2005-06-17 13:59 king * Source/kwsys/testProcess.c: ENH: Added test 7 to expose problems with polling by WaitForData. 2005-06-17 13:57 king * Source/kwsys/ProcessUNIX.c: BUG: Fixed polling capability of WaitForData. 2005-06-17 13:14 andy * Tests/CTestTest3/test.cmake.in: ENH: Make CVS one nightly 2005-06-17 13:07 andy * Tests/CTestTest3/test.cmake.in: ENH: Add subversion test 2005-06-17 13:04 andy * Source/: cmCTest.cxx, cmCTest.h, cmCommand.h, cmObject.h, cmStandardIncludes.h, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildAndTestHandler.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestConfigureHandler.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestGenericHandler.h, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestMemCheckHandler.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestStartCommand.cxx, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestSubmitHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h: ENH: Add superclass for all commands and handlers. Improve handlers to have initialization code, and start initializing ctest when start is invoked 2005-06-17 11:46 malaterre * Source/kwsys/CommandLineArguments.hxx.in: ENH: Fix Bug #1950, provide a direct access to the input. Minor cleanup (convenience) 2005-06-17 09:49 king * Source/: cmCMakeMinimumRequired.cxx, cmMakefile.h, cmVersion.h: ENH: Enabling ability for CMAKE_MINIMUM_REQUIRED version to include patch level. Submitted by Alexander Neundorf. 2005-06-17 08:45 andy * Tests/MacroTest/CMakeLists.txt: ENH: Fix test on HP 2005-06-17 05:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-16 16:42 andy * Source/cmLocalUnixMakefileGenerator3.cxx: When running the same ctest as the one we are testing, make sure to run as separate process 2005-06-16 16:33 andy * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add extra argument 2005-06-16 16:24 andy * Source/cmCTest.cxx, Tests/CTestTest3/test.cmake.in: ENH: Return error if there is an ERROR_MESSAGE. Also fix tag for the test 2005-06-16 15:44 andy * Source/cmCommand.h: COMP: Fix build error on Windows 2005-06-16 14:56 andy * Source/CMakeLists.txt, Tests/MacroTest/CMakeLists.txt, Tests/MacroTest/macroTest.c: ENH: Add test of macro 2005-06-16 14:56 andy * Source/: cmake.cxx, cmake.h: ENH: Before running configre, remove all macros. Also, backup the command names. Also, make command names case insensitive 2005-06-16 14:05 andy * Source/: cmCommand.h, cmConfigureFileCommand.h, cmFLTKWrapUICommand.h, cmQTWrapCPPCommand.h, cmQTWrapUICommand.h, cmUseMangledMesaCommand.h, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: ENH: Add classname to commands 2005-06-16 13:29 andy * Tests/CTestTest3/test.cmake.in: ENH: Initial import 2005-06-16 13:18 andy * Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h, Source/CTest/cmCTestBuildCommand.cxx, Source/CTest/cmCTestCommand.h, Source/CTest/cmCTestGenericHandler.h, Source/CTest/cmCTestStartCommand.cxx, Source/CTest/cmCTestSubmitCommand.cxx, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestUpdateCommand.cxx, Source/CTest/cmCTestUpdateHandler.cxx, Tests/CTestTest2/test.cmake.in: ENH: Several improvements to CTest: 1. Support for showing line numbers when debugging ctest --show-line-numbers 2. Modify the ctest initialization code, so that it can be delayed 3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that) 4. Start command is simplified and the functionality is moved to CTest 5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks out kwsys and perform tests on the fresh checkout 2005-06-16 11:52 martink * Source/CMakeLists.txt: ENH: add first cut at support for exe with same name as lib 2005-06-16 11:48 martink * Source/: cmSetTargetPropertiesCommand.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: add first cut at support for exe with same name as lib 2005-06-16 11:47 martink * Tests/SameName/: CMakeLists.txt, Exe1/CMakeLists.txt, Exe1/conly.c, Lib1/CMakeLists.txt, Lib1/libc1.c, Lib1/libc1.h: ENH: add same name test 2005-06-16 10:23 martink * Source/cmITKWrapTclCommand.cxx: ENH: replace brackets with more generic find 2005-06-16 10:22 martink * Source/cmOrderLinkDirectories.cxx: ENH: make more specific in reject self linking 2005-06-16 05:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-15 15:51 andy * Source/cmCommand.h: ENH: Add accessor for Makefile and make SetError public 2005-06-15 15:29 hoffman * CTestConfig.cmake: ENH: add for testing 2005-06-15 10:54 andy * Tests/CTestTest2/test.cmake.in: BUG: Fix typo 2005-06-15 10:53 andy * Source/CTest/: cmCTestMemCheckCommand.cxx, cmCTestMemCheckHandler.cxx: ENH: Pass in memcheck command options and suppresions, and change skin to tool 2005-06-15 10:53 andy * Source/CTest/cmCTestCoverageCommand.cxx: ENH: Handle passing in coverage command 2005-06-15 08:54 andy * Source/CMakeLists.txt: ENH: Add logging to improve coverage 2005-06-15 05:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-14 15:53 andy * Utilities/.NoDartCoverage: ENH: No need to do coverage of utilities 2005-06-14 15:49 andy * Source/: cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h: ENH: More cleanups 2005-06-14 14:01 andy * Tests/CTestTest2/test.cmake.in: ENH: Also perform memory checking and coverage 2005-06-14 14:00 andy * Source/: CMakeLists.txt, CTest/cmCTestCoverageCommand.cxx, CTest/cmCTestCoverageCommand.h, CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestMemCheckCommand.h, CTest/cmCTestScriptHandler.cxx: ENH: Add commands for memory checking and coverage 2005-06-14 13:22 andy * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l: ENH: Improve variable name regular expression 2005-06-14 12:48 andy * Source/: cmMacroCommand.cxx, cmake.cxx, cmake.h: ENH: Save command that macro overwrites 2005-06-14 11:42 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: Separate standard output and standard error for problematic commands 2005-06-14 03:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-13 18:03 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add method to escape some chars in a string 2005-06-13 14:29 andy * Source/cmCommandArgumentParserHelper.cxx: ENH: Handle non-existing variables 2005-06-13 11:00 andy * bootstrap, Source/CMakeLists.txt, Source/cmMakefile.cxx: ENH: Use the new parser that supports nested variables 2005-06-13 10:27 andy * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y: ENH: More cleanups 2005-06-13 10:11 andy * Source/: cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h: ENH: More optimization 2005-06-13 10:01 andy * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.h, cmCommandArgumentParser.cxx, cmCommandArgumentParserTokens.h: ENH: Initial import 2005-06-13 10:00 andy * Source/: cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h: ENH: Handle errors and optimize a bit 2005-06-13 10:00 andy * Source/cmCommandArgumentLexer.in.l: ENH: Remove some allocations 2005-06-13 09:59 andy * Source/cmCommandArgumentParser.y: ENH: Rearange and cleanup 2005-06-13 09:33 martink * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h: ENH: made configure file immediate by default for 2.2 or later 2005-06-12 03:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-11 03:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-10 11:27 martink * Source/cmMakefile.cxx: ENH: remove old 1.2 compatability from cmake 2.2 2005-06-10 10:45 martink * Source/cmMakefile.cxx: ENH: remove old 1.2 compatability from cmake 2.2 2005-06-10 10:44 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmake.cxx, cmake.h, cmLocalGenerator.h: ENH: added support for forcing recomputation of depends 2005-06-10 10:09 martink * Tests/Wrapping/CMakeLists.txt: ENH: change to work with new FLTK command 2005-06-10 10:09 martink * Source/: cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h: ENH: change workings of command so that it can all happing in the initial pass still works the old way but complains 2005-06-10 10:08 martink * Source/cmAddLibraryCommand.cxx: ENH: allow libs with no sources but complain 2005-06-10 09:01 andy * Source/: cmCTest.cxx, CTest/cmCTestBuildHandler.cxx: ENH: Be more verbose 2005-06-10 08:56 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestConfigureHandler.cxx: ENH: Be more verbose 2005-06-10 08:40 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: removed old convert calls 2005-06-10 02:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-09 14:37 martink * bootstrap, Source/cmake.cxx, Source/CMakeLists.txt: ENH: removed UMG2 2005-06-09 14:34 martink * Source/cmITKWrapTclCommand.cxx: ENH: deprecate old ITK wrap command 2005-06-09 11:46 martink * Source/cmGlobalKdevelopGenerator.cxx: BUG: fix KDev gen to call parent class Generate 2005-06-09 11:39 martink * Source/: cmGlobalKdevelopGenerator.h, cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h: ENH: make KDev sub off of Gen3 2005-06-09 11:33 martink * Source/cmTarget.cxx: ENH: removed old 1.2 compatability 2005-06-09 11:23 martink * Tests/Wrapping/CMakeLists.txt: ENH: no longer test ITK command 2005-06-09 09:48 andy * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: some better error reporting and more robust handlign of bad targets 2005-06-09 08:19 king * Source/kwsys/Configure.h.in: COMP: Disable more warnings. 2005-06-09 08:18 king * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Fix no-assignment-operator warning and disable typedef-name synonym warning. 2005-06-09 08:03 king * Source/kwsys/Configure.h.in: COMP: Disable useless warnings. 2005-06-09 08:02 king * Source/kwsys/Configure.hxx.in: ENH: C++ configuration should include C configuration. 2005-06-09 07:51 king * Source/kwsys/SystemTools.cxx: COMP: Need windows.h even on cygwin to get CreateFile API. 2005-06-09 07:40 king * Source/kwsys/RegularExpression.cxx: COMP: Fixed conversion warnings. 2005-06-09 04:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-08 16:55 martink * Source/cmIncludeCommand.cxx: BUG: fatal error in include file should not cause report of missing include file 2005-06-08 16:39 martink * Tests/Wrapping/CMakeLists.txt: ENH: remove bad add target commands 2005-06-08 16:39 martink * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx: ENH: better error checking for add library or executable with no source files 2005-06-08 16:31 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: prevent segfault when no sources provided for lib 2005-06-08 14:18 andy * Source/: cmCommandArgumentLexer.in.l, cmCommandArgumentParser.y, cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h: ENH: Handle more cases 2005-06-08 14:11 martink * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, Wrapping/CMakeLists.txt: ENH: remove requirements on 1.2 2005-06-08 12:26 martink * Tests/: OutOfSource/SubDir/CMakeLists.txt, Complex/CMakeLists.txt, Complex/Executable/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, Dependency/CMakeLists.txt, Jump/CMakeLists.txt, Jump/Library/CMakeLists.txt, PreOrder/CMakeLists.txt, SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt, Testing/CMakeLists.txt: ENH: shift to using ADD_SUBDIRECTORY 2005-06-08 10:41 andy * Source/: cmCommandArgumentLexer.in.l, cmCommandArgumentParser.y, cmCommandArgumentParserHelper.cxx, cmCommandArgumentParserHelper.h: ENH: Initial import (not working yet) 2005-06-08 09:59 king * Docs/cmake-mode.el: ENH: Experimenting with auto-dated copyright. 2005-06-08 09:52 andy * Tests/CTestTest/CMakeLists.txt: ENH: Cleanup 2005-06-08 04:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-07 12:07 martink * Source/cmGlobalVisualStudio7Generator.cxx, Modules/Platform/Windows-cl.cmake: ENH: fix for incorrect setting of CONFIZGURATION_TYPES 2005-06-07 10:55 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Remove debugging code 2005-06-07 10:47 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmake.cxx: ENH: fix problem with dependency scanning 2005-06-07 09:57 andy * Source/cmLocalGenerator.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/ExtraTest.cmake.in, Tests/CTestTest/test.cmake.in, Tests/CTestTest2/test.cmake.in: ENH: Add capability to include files to DartTestfile.txt and add example of that 2005-06-07 09:06 andy * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: Use CMake for parsing DartTestfile.txt 2005-06-07 08:44 king * Modules/FindQt.cmake: ENH: Added search locations for a FreeBSD location. Contributed by Alexander Neundorf. 2005-06-07 04:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-06 09:23 andy * Source/CTest/cmCTestBuildHandler.cxx: BUG: Initialize the iterator to prevent seg-fault 2005-06-06 04:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-05 15:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-03 16:10 andy * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildAndTestHandler.cxx, CTest/cmCTestBuildAndTestHandler.h: ENH: Move the build-and-test code to a handler 2005-06-03 14:42 andy * Source/CTest/: cmCTestGenericHandler.cxx, cmCTestGenericHandler.h: ENH: Add a method to parse command line argument inside the handler 2005-06-03 14:42 andy * Tests/CommandLineTest/CMakeLists.txt: ENH: Test setting of environment variables 2005-06-03 14:17 andy * Source/cmSetCommand.cxx: BUG: Remove memory leak 2005-06-03 12:59 martink * Source/: cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h: ENH: no longer used 2005-06-03 12:58 martink * Source/cmCommands.cxx: ENH: removed old commands 2005-06-03 11:29 andy * Source/CTest/cmCTestConfigureHandler.cxx: BUG: Remove unused code 2005-06-03 11:26 martink * CTestCustom.ctest.in: ENH: shut up buggy gcc stl header 2005-06-03 04:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-02 18:10 andy * Source/: cmCTest.cxx, ctest.cxx: ENH: Add debug flag 2005-06-02 16:47 andy * Source/: cmCTest.cxx, CTest/cmCTestSubmitHandler.cxx: BUG: Fix the order of things to make submit handler not crash when proxies are set 2005-06-02 15:14 martink * Docs/cmake-mode.el: ENH: updated commands 2005-06-02 15:09 martink * Tests/Wrapping/CMakeLists.txt: ENH: removed old command 2005-06-02 14:56 martink * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: ENH: removed old commands 2005-06-02 14:48 andy * Source/CTest/cmCTestSubmitHandler.cxx: ENH: Cleanup output even more 2005-06-02 14:24 martink * Source/: cmCommands.cxx, cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h: ENH: removed the ABSTRACT_FILES command 2005-06-02 14:21 martink * Docs/cmake-mode.el: ENH: updated to remove ABSTRACT_FILES and add ADD_SUBDIRECTORY 2005-06-02 14:10 martink * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: ENH: removed use of ABSTRACT command 2005-06-02 13:41 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: now also provides obj rules for local Makefiles 2005-06-02 12:26 andy * Source/CTest/cmCTestBuildHandler.cxx: COMP: Remove compile warning 2005-06-02 11:47 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ENH: Once the number of errors or warnings was reached, stop counting them. Also fix compile warning on bad compilers 2005-06-02 09:35 andy * Source/CTest/cmCTestSubmitHandler.cxx: BUG: On windows there are problems when opening file as ascii 2005-06-02 04:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-06-01 15:59 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ENH: Streamline build process. This reduces the memory footprint, since only some number of lines of output will be in memory at the time. Also, this will report the build errors and warnings as it goes through the build 2005-06-01 13:37 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: minor perf improvement 2005-06-01 13:24 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: do not add help target if there is a real target named help 2005-06-01 13:19 king * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed name given to clean target listing for executable and library targets. 2005-06-01 11:18 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning 2005-06-01 09:25 andy * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: BUG: Remove duplicate targets when in different generators 2005-06-01 08:59 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning 2005-06-01 08:56 martink * CTestCustom.ctest.in: COMP: suppress warnings in 3rd party libs 2005-06-01 08:54 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning 2005-06-01 08:50 martink * Source/cmQTWrapUICommand.cxx: COMP: fix warning 2005-06-01 08:48 martink * Source/: cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h: ENH: made immediate 2005-06-01 08:25 andy * Source/cmCTest.cxx: ENH: Make CMake --build-and-test to be verbose by default 2005-06-01 08:25 andy * Source/cmStandardIncludes.h: ENH: Add support for deque 2005-06-01 03:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-31 18:40 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx: COMP: Remove ERROR reserved word or something and replace with ERROR_MESSAGE 2005-05-31 17:32 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestStartCommand.cxx, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: Add support for writing output file. While doing that, redesign the way ctest does output. There may still be problems with commands failing, but that should be fixed by applying the similar concept to whole CMake 2005-05-31 16:20 martink * CTestCustom.ctest.in: ENH: shut up some warning on SGI 2005-05-31 15:10 martink * Source/: cmAddSubDirectoryCommand.cxx, cmAddSubDirectoryCommand.h: ENH: removed the PREORDER option from the AddSubDirectory command 2005-05-31 14:09 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix a waring 2005-05-31 11:46 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx: ENH: now uses Makefile2 to cleanup zsh issues and provided some more documentation 2005-05-31 10:16 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: STYLE: add some better comments and remove some unused code 2005-05-31 04:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-30 17:26 andy * Source/cmStandardIncludes.h: ENH: Add support for iomanip 2005-05-30 04:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-29 04:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-28 08:44 lorensen * Source/kwsys/SystemTools.cxx: COMP: warning. 2005-05-28 04:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-27 22:11 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add convenience function to convert Windows command line args into Unix argc/argv. Pulled and cleaned from PV/VV/VJ init code 2005-05-27 16:17 andy * Source/CTest/cmCTestScriptHandler.cxx: ENH: Use generated file stream for files 2005-05-27 11:26 andy * DartConfig.cmake: ENH: Dart change 2005-05-27 04:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-26 18:15 andy * Source/CTest/cmCTestSubmitHandler.cxx: ENH: Fix for changes in XML-RPC for Dart2 2005-05-26 17:30 andy * Modules/CMakeVS8FindMake.cmake: COMP: Fix for support of VS 8.0 beta 2 2005-05-26 04:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-25 15:09 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: added clean target for subdirs 2005-05-25 12:22 martink * Source/: cmDepends.cxx, cmDepends.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: BUG: a fix for constant recomputing of depends 2005-05-25 11:19 andy * Source/cmDependsFortran.cxx: ENH: new fortran depends to match new Unix Gen 2005-05-25 11:18 martink * Source/: cmGlobalUnixMakefileGenerator.h, cmGlobalUnixMakefileGenerator3.h, cmake.cxx: ENH: switch to using new Unix Makefile generator for Unix as well 2005-05-25 04:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-24 16:36 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for directory of empty depend.make files 2005-05-24 16:11 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: building libs caused all generated files to be deleted 2005-05-24 15:36 martink * Source/cmIfCommand.h: STYLE: fix the docs 2005-05-24 14:42 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: some more cleanup and changes to how custom commands are stored 2005-05-24 11:17 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx: ENH: optimization to not use requires step unless a language requires it 2005-05-24 10:45 martink * Modules/CMakeFortranInformation.cmake: ENH: added requires flag 2005-05-24 04:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-23 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-22 03:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-21 03:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-20 12:09 andy * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for empty custom commands 2005-05-20 11:01 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: added help target and made custom commands execute in start output directory 2005-05-20 08:45 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx: ENH: fix warning and also add back in build.make 2005-05-20 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-19 15:55 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning 2005-05-19 15:00 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: fixes for subdir build Makefiles 2005-05-19 14:36 andy * Modules/Platform/Windows-cl.cmake: ENH: Be more verbose, handle network paths, and write compiler output to the log files 2005-05-19 13:32 martink * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: fix warning 2005-05-19 13:26 martink * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for bad depency clearing 2005-05-19 10:52 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: some performance improvements 2005-05-19 03:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-18 16:10 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for makes that do not handle targets wihtout a rule to build them 2005-05-18 13:46 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmTarget.cxx: ENH: another step to the next generator still not optimized yet 2005-05-18 04:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-17 14:39 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: COMP: some warning fixes and cleanup 2005-05-17 14:22 andy * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: implemented provides requires code 2005-05-17 11:15 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: some more reorg 2005-05-17 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-16 14:17 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Changing to a new test for whether to do relative path conversion. Now only paths inside the source or binary trees are converted. 2005-05-16 13:42 king * Source/kwsys/: ProcessUNIX.c, testProcess.c: ENH: Removing previous debug code. 2005-05-16 10:53 martink * Source/: cmDependsFortran.cxx, cmLocalUnixMakefileGenerator3.cxx: ENH: some updates to the provides requires code 2005-05-15 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-14 04:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-13 15:51 martink * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: remove duplicate provide rule for fortran 2005-05-13 15:50 martink * Source/cmLocalGenerator.cxx: COMP: shut up warning 2005-05-13 14:45 king * Source/kwsys/SharedForward.h.in: ENH: Added knowledge of FreeBSD. 2005-05-13 14:44 king * Source/kwsys/: ProcessUNIX.c, testProcess.c: ENH: Adding debugging code for freebsd. 2005-05-13 14:13 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: minor cleanup and fix for convenience rules 2005-05-13 14:12 martink * Source/cmGlobalGenerator.cxx: BUG: filx for old bug in rel path computaiton code 2005-05-13 09:54 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: warning fixes and some first steps in cleaning up the convert code 2005-05-13 04:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-12 16:25 hoffman * Source/cmLocalVisualStudio7Generator.cxx: Undo fix as it broke the dashboard 2005-05-12 13:27 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix for bug where debug, release etc flags were not used for linker options, BUG 1781 fix 2005-05-12 11:53 martink * bootstrap: ENH: moved gen3 into bootstrap process 2005-05-12 11:26 martink * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: shut up unused var 2005-05-12 11:24 martink * Source/cmake.cxx: BUG: fix bad generator name 2005-05-12 10:58 martink * Source/CMakeLists.txt: ENH: defer relative paths 2005-05-12 10:49 martink * Source/: CMakeLists.txt, cmGlobalBorlandMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator3.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmake.cxx: ENH: added new generator 2005-05-12 03:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-11 13:16 martink * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h, cmDependsJava.cxx, cmDependsJava.h, cmLocalUnixMakefileGenerator2.cxx: ENH: some changes to the depends signature to be more flexible 2005-05-11 12:44 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: another snapshot 2005-05-11 10:19 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: added new methods to convert to HomeRelative paths 2005-05-11 08:45 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: snapshot 2005-05-11 03:55 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-10 16:41 king * Source/kwsys/testProcess.c: ENH: Removing QNX hack for test 6 now that the problem has been fixed. 2005-05-10 16:36 king * Source/kwsys/ProcessUNIX.c: BUG: struct timeval uses unsigned types on at least one platform (QNX). Alot of the time logic assumes a signed type. Switch to using a signed representation that is converted to the native representation only for system calls. 2005-05-10 11:11 andy * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH: Allow changing of file name 2005-05-10 11:00 king * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Re-implemented dependency line parsing to deal with quoted paths and escaped spaces. 2005-05-10 10:10 andy * Source/cmBuildCommand.cxx: ENH: Remove the old code 2005-05-10 03:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-09 15:11 martink * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: some more fixes 2005-05-09 08:53 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: some more cleanup 2005-05-09 03:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-08 13:49 andy * Source/CTest/cmCTestSubmitCommand.cxx, Tests/CTestTest2/test.cmake.in: ENH: Add notes 2005-05-08 13:48 andy * Source/CTest/cmCTestStartCommand.cxx: ENH: Remove error about not being able to update CTest configuration 2005-05-08 13:48 andy * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestBuildCommand.h: ENH: Remove memory leak and remember global generator for next time 2005-05-08 13:47 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add method so that ctest handlers and commands can add notes 2005-05-08 04:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-07 03:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-06 14:49 martink * Source/: cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h, cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h: ENH: updates 2005-05-06 12:38 king * Source/cmake.cxx: COMP: Fixed forced bool conversion warning. 2005-05-06 09:58 king * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h, cmDependsJava.cxx, cmDependsJava.h, cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmake.cxx: ENH: Added optional verbose output to build system dependency check. 2005-05-06 03:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-05 12:45 martink * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmGlobalUnixMakefileGenerator3.h, cmLocalUnixMakefileGenerator3.cxx, cmLocalUnixMakefileGenerator3.h: ENH: backup of work in progress 2005-05-05 10:40 andy * Source/cmMakefile.cxx: BUG: If there is a fatal error, stop processing list file 2005-05-05 10:26 king * Source/cmGlobalVisualStudio7Generator.cxx: BUG: Added space after /clean to avoid putting it together with the build configuration. This fixes the failure of the complext test on the second run in the same tree. 2005-05-05 10:19 andy * Source/kwsys/CTestConfig.cmake: ENH: Add configuration file for kwsys 2005-05-05 10:19 andy * Source/CMakeLists.txt, Tests/CTestTest2/CMakeLists.txt, Tests/CTestTest2/test.cmake.in: ENH: Add new style ctest project 2005-05-05 10:18 andy * Source/CTest/: cmCTestConfigureCommand.cxx, cmCTestSubmitCommand.cxx: ENH: Add default configure rules for CMake projects and add default rules for submission 2005-05-05 10:18 andy * Source/CTest/cmCTestScriptHandler.cxx: ENH: Add variable that holds cmake executable 2005-05-05 10:17 andy * Source/cmCTest.h: ENH: Add accessort for CMake executable 2005-05-05 09:45 king * Source/kwsys/testProcess.c: ENH: Disabling test 6 on QNX until process killing can be resolved. It will just fail always for now. 2005-05-05 09:21 andy * Source/cmCTest.cxx: BUG: Fix logic for verbose 2005-05-05 09:09 king * Source/kwsys/hashtable.hxx.in: COMP: Removed unused parameter warning. 2005-05-05 09:08 king * Source/kwsys/SystemTools.cxx: COMP: Added work-around to avoid warnings about unreferenced inline functions from SGI termios. 2005-05-05 09:05 king * Source/kwsys/ProcessUNIX.c: COMP: Added initializer to avoid warning. It is not really needed, though. 2005-05-05 03:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-04 11:37 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add split that splits on arbitrary separator 2005-05-04 11:16 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Allow spaces in update command 2005-05-04 11:13 andy * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestBuildCommand.h, cmCTestConfigureCommand.cxx, cmCTestConfigureCommand.h, cmCTestCoverageHandler.cxx, cmCTestSubmitCommand.cxx, cmCTestSubmitCommand.h, cmCTestTestCommand.cxx, cmCTestTestCommand.h, cmCTestUpdateCommand.cxx, cmCTestUpdateCommand.h: ENH: Improve syntax 2005-05-04 11:13 andy * Source/cmGlobalGenerator.cxx: BUG: Fix bootstrap test on machines with spaces in the path 2005-05-04 11:12 andy * Source/kwsys/SystemTools.hxx.in: ENH: Expose ConvertToUnixOutputPath 2005-05-04 03:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-03 15:28 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestStartCommand.cxx: ENH: Add Site and BuildName, make sure that the rest of the default -S rule does not happen, and make sure that new tag will be created 2005-05-03 15:20 andy * Source/cmGlobalGenerator.cxx: ENH: No need to convert to output path 2005-05-03 15:19 king * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l, cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l: COMP: Removed warnings about unreachable code and constant control expressions. Added the changes to the instructions in the input lex files. 2005-05-03 14:58 king * Source/: cmGeneratedFileStream.h, cmLocalUnixMakefileGenerator2.h, cmStandardIncludes.h, cmSystemTools.cxx, CTest/cmCTestUpdateHandler.h, kwsys/CommandLineArguments.cxx, kwsys/SystemTools.cxx, kwsys/testhash.cxx: COMP: Added pragma directives for SGI compilers to avoid useless warnings. 2005-05-03 14:57 king * Source/CursesDialog/: cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx: COMP: Changed while(1) to for(;;) to avoid warning about constant control expression. 2005-05-03 14:53 king * Source/kwsys/kwsysPlatformCxxTests.cxx: COMP: Removed stray semicolon. 2005-05-03 14:28 king * Source/cmStandardIncludes.h: COMP: Added hack to avoid SGI termios.h warnings. 2005-05-03 14:28 king * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l: COMP: Need #undef ECHO to avoid conflict with system ECHO definition. 2005-05-03 14:27 king * Source/kwsys/RegularExpression.hxx.in: COMP: Changed type of regmlen to avoid warnings when other lengths are converted to it. 2005-05-03 10:02 king * Source/kwsys/testProcess.c: ENH: Adding test of running executable with forward slashes on windows. 2005-05-03 09:40 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildCommand.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureCommand.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestStartCommand.cxx, CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestTestCommand.cxx, CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: Cleanups 2005-05-03 08:17 andy * CTestConfig.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h, Source/CTest/cmCTestBuildHandler.cxx, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h, Source/CTest/cmCTestSubmitCommand.cxx, Source/CTest/cmCTestSubmitCommand.h, Source/CTest/cmCTestSubmitHandler.cxx, Source/CTest/cmCTestSubmitHandler.h, Source/CTest/cmCTestTestCommand.cxx, Source/CTest/cmCTestTestCommand.h: ENH: Promote submit into a full handler, add test and submit command and do some cleanups 2005-05-03 04:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-02 15:51 andy * CTestConfig.cmake, Source/CTest/cmCTestBuildCommand.cxx, Source/CTest/cmCTestScriptHandler.cxx: ENH: Make ctest build command work 2005-05-02 15:51 andy * Source/cmake.h: ENH: Make AddCMakePath public 2005-05-02 15:50 andy * Source/cmGlobalGenerator.h: ENH: Make FindMakeProgram public 2005-05-02 14:15 andy * CTestConfig.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h, Source/CTest/cmCTestBuildCommand.cxx, Source/CTest/cmCTestBuildCommand.h, Source/CTest/cmCTestConfigureCommand.cxx, Source/CTest/cmCTestConfigureCommand.h, Source/CTest/cmCTestScriptHandler.cxx, Source/CTest/cmCTestStartCommand.cxx, Source/CTest/cmCTestUpdateCommand.cxx: ENH: More commands. Start working on new style ctest configuration 2005-05-02 03:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-05-01 03:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-30 15:36 andy * Source/cmGlobalXCodeGenerator.cxx: COMP: Remove warning 2005-04-30 04:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-29 12:50 andy * Source/cmBuildCommand.cxx: ENH: Try to see if GenerateBuildCommand produces apropriate result 2005-04-29 11:49 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Add option to ignore errors. Only works on make 2005-04-29 10:11 king * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: COMP: Converting INSTALL->ALL_BUILD dependency implementation to use the AddUtility method on a target. This significantly simplifies the implementation and removes warnings about hiding virtual functions. 2005-04-29 10:07 andy * Source/cmGlobalXCodeGenerator.cxx: COMP: Remove warning 2005-04-29 10:06 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: make install depend on all 2005-04-29 04:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-28 18:34 andy * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: Start working on command that will abstract generating of build command 2005-04-28 18:18 andy * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: ENH: Start working on a method that abstracts generating of build command 2005-04-28 17:33 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: Start working on command that will abstract generating of build command 2005-04-28 16:21 king * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: ENH: Added dependency from INSTALL target to ALL_BUILD target so that targets build before being installed. 2005-04-28 11:47 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: BUG: Avoid infinite loop during installation. 2005-04-28 09:21 king * Source/kwsys/testProcess.c: BUG: Extending all timeouts to help out slower machines. 2005-04-28 09:14 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add internal error 2005-04-28 05:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-27 11:46 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added dependency on all for install rule to make sure build is up to date before installing. This behavior can be disabled by setting CMAKE_SKIP_INSTALL_ALL_DEPENDENCY to true. 2005-04-27 11:33 king * Source/cmSourceFile.cxx: BUG: Do not leave ../ in the full path to a source file. Using CollapseFullPath simplifies the code anyway. 2005-04-27 10:01 king * Source/kwsys/testProcess.c: BUG: Extending timeout of test 6 from 0.1 seconds to 3 seconds. This should avoid missed signals and intermittent failures. 2005-04-27 09:12 king * Tests/CustomCommand/CMakeLists.txt: BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does not like forward slashes on Win9x. 2005-04-27 04:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-26 17:11 king * Modules/: CMakeBackwardCompatibilityC.cmake, FindThreads.cmake: BUG: Fix try-compile for sys/prctl.h. It needs to include sys/types.h first according to the man page. 2005-04-26 14:12 king * Source/CursesDialog/form/: CMakeLists.txt, internal_stdio_core.h.in: ENH: Removing stdio_core hack. A better work-around has been put in cmStandardIncludes.h. 2005-04-26 14:11 king * Source/cmStandardIncludes.h: COMP: Adding inclusion of stdarg.h to work-around SGI header bug in 7.4.2m. 2005-04-26 11:55 king * Tests/CustomCommand/CMakeLists.txt: ENH: Added pre-build and post-build test for custom targets. 2005-04-26 11:31 andy * Source/kwsys/SystemTools.cxx: BUG: Looks like std::string changes the result of c_str() call. This fixes potential problems 2005-04-26 11:15 andy * Source/cmakewizard.h: COMP: Remove warning 2005-04-26 11:09 andy * Source/: cmakewizard.h, CTest/cmCTestUpdateHandler.cxx: COMP: Remove warnings 2005-04-26 11:08 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: BUG: Fixed ordering of multiple commands in a custom target when implemented as custom commands. Also added support to execute pre-build rules first to be consistent with makefile generator. 2005-04-26 08:51 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Added inclusion of pre-build rules for custom targets. 2005-04-26 04:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-25 09:59 andy * Source/cmLocalGenerator.cxx: COMP: Remove warning 2005-04-25 03:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-24 16:19 andy * Source/cmAddTestCommand.cxx: COMP: Fix problem on compilers that cannot implicitly convert std::string to cmStdString 2005-04-24 15:59 andy * bootstrap, Source/CMakeLists.txt, Source/cmAddTestCommand.cxx, Source/cmAddTestCommand.h, Source/cmEnableTestingCommand.cxx, Source/cmEnableTestingCommand.h, Source/cmGlobalGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTest.cxx, Source/cmTest.h: ENH: Improve internal test handling by creating a test class. Command cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file 2005-04-24 14:28 andy * Source/cmCTest.cxx: BUG: The argument is --ctest-config 2005-04-24 13:57 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Support for modified and conflicts in subversion 2005-04-24 13:15 king * Source/CursesDialog/form/CMakeLists.txt: BUG: Older SGI compilers still have internal/stdio_core.h but do not support #include_next. We'll have to try-compile to test whether this hack is needed. 2005-04-24 12:32 andy * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Remember if there was update error 2005-04-24 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-23 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-22 16:11 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmTarget.cxx, cmTarget.h: ENH: Created cmTarget::GetLibraryNames to replace cmLocalUnixMakefileGenerator2::GetLibraryNames. Added cmTarget::GetLibraryCleanNames to be used by cmLocalUnixMakefileGenerator2. Now when a library is linked both the shared and static versions are removed from the build tree. In this way we avoid having both kinds of libraries present when the user switches BUILD_SHARED_LIBS on/off. This prevents problems with turning off shared libraries and then expecting the linker to use the static libraries only to find it is using the out-of-date shared versions. 2005-04-22 15:23 king * Source/: cmGetTargetPropertyCommand.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmTarget.cxx, cmTarget.h: ENH: Added cmTarget::GetBaseName and cmTarget::GetFullName methods and removed cmLocalGenerator::GetFullTargetName and cmLocalUnixMakefileGenerator2::GetBaseTargetName. This functionality is more sensibly implemented in cmTarget. It is also needed for an upcoming feature in which both the shared and static versions of a library will be removed before one is linked. 2005-04-22 13:52 king * Source/CTest/cmCTestUpdateHandler.cxx: COMP: Commented out unused variable until the corresponding logic is finished. 2005-04-22 11:57 king * Source/kwsys/: hashtable.hxx.in, kwsys_stl_string.hxx.in: COMP: Removed line continuation characters from #if lines to avoid linefeed problems on cygwin. 2005-04-22 09:44 king * Source/kwsys/testProcess.c: BUG: Drastically extending test5's timeouts to get it to pass when running on a heavily-loaded machine. 2005-04-22 09:22 king * Source/kwsys/SystemTools.cxx: COMP: Fixed assignment-in-conditional warning. 2005-04-22 09:21 king * Source/kwsys/CommandLineArguments.cxx: COMP: Fixed constant conditional warning. 2005-04-22 09:21 king * Source/kwsys/ProcessWin32.c: COMP: Fixed unused parameter and constant conditional warnings. 2005-04-22 03:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-21 18:23 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Reorganize a bit and make sure to report an error if there are modified files or conflicts 2005-04-21 17:00 king * Source/CursesDialog/form/: CMakeLists.txt, form.h, internal_stdio_core.h.in: COMP: Using a new work-around for stdarg.h problem on SGI. 2005-04-21 16:46 king * Source/kwsys/hashtable.hxx.in: BUG: Fixed hash_allocator_n size computation. 2005-04-21 16:46 king * Source/kwsys/testhash.cxx: ENH: Added include-work-around for hashtable.hxx.in dependency. 2005-04-21 16:05 king * Source/kwsys/: ProcessUNIX.c, ProcessWin32.c: BUG: Do not close stdout/stderr pipes in parent if they are shared. 2005-04-21 13:56 king * Source/kwsys/SystemTools.hxx.in: COMP: Do not do va_list hack if there is no std:: namespace. 2005-04-21 13:47 king * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.hxx.in, Source/kwsys/hashtable.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cxx: COMP: Added KWSys try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support in the hashtable. 2005-04-21 02:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-20 16:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-20 08:53 king * Source/kwsys/testProcess.c: BUG: Adjusting timeouts for tests 4 and 5 to avoid early killing. 2005-04-19 18:26 andy * Source/: CursesDialog/form/form.h, kwsys/SystemTools.hxx.in: COMP: Attempt to fix problem with building on SGI 2005-04-19 11:52 king * Source/kwsys/ProcessUNIX.c: BUG: When killing a child all the pipe read ends should be closed. This will allow a child that is blocking while waiting to write to the pipe to wake up and receive the kill signal properly on cygwin. 2005-04-19 10:52 king * Source/kwsys/testProcess.c: BUG: Expanded difference in timeouts between tests 4 and 5 so that 5 does not timeout while waiting for 4 to timeout. This should fix the intermittent failure of test 5 on cygwin. ENH: When a mismatch is reported it now reports what it was as well as what it should have been. 2005-04-15 18:57 king * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: For some reason the non-template allocator test compiles on VS6 even though its allocator is a template. Adding ::size_type to be sure it accesses a member of the allocator. 2005-04-15 18:49 king * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: Fix iterator traits test to use a real iterator instead of int*. 2005-04-15 16:10 king * Source/kwsys/CMakeLists.txt: BUG: Cannot use Win32 implementation for cygwin processes because then cygwin paths to executables like /usr/bin/ls are not found. 2005-04-15 16:00 king * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.hxx.in, Source/kwsys/hash_fun.hxx.in, Source/kwsys/hashtable.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cxx, Source/kwsys/kwsys_cstddef.hxx.in: COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide kwsys/cstddef header (to get size_t for hash_fun.hxx). 2005-04-15 15:30 king * Source/kwsys/: hash_map.hxx.in, hash_set.hxx.in, hashtable.hxx.in: COMP: Replaced kwsys_stl with @KWSYS_NAMESPACE@_stl to properly use the configured namespace. 2005-04-15 15:18 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: move convenience method to get OS name and version from KWApp to KWSys. 2005-04-15 14:47 andy * Source/cmCTest.cxx: STYLE: Fix english 2005-04-15 13:56 king * Source/kwsys/SystemTools.cxx: BUG: Added missing variable initialization that was accidentally removed on the previsous commit. 2005-04-15 13:35 king * Source/kwsys/CMakeLists.txt: ENH: Changing kwsysProcess implementation on Cygwin to use the Win32 implementation instead of the UNIX implementation. This makes dealing with misbehaving children work better. The KWSys Win32 process implementaion is more robust than the Cygwin implementation (partly because it doesn't have to exactly reproduce the POSIX api). 2005-04-15 10:46 hoffman * Source/cmTryCompileCommand.cxx: BUG: work around for buggy Tigger OSX systems that read two copies of the same file in a directory 2005-04-15 09:54 king * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.hxx.in, Source/kwsys/hash_map.hxx.in, Source/kwsys/hash_set.hxx.in, Source/kwsys/hashtable.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cxx: ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers. 2005-04-15 09:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-15 09:05 king * Source/kwsys/hash_map.hxx.in: COMP: Replacing _Select1st with a specialized hash_select1st that avoids requiring the stl pair to have first_type defined. The old HP STL does not define first_type and second_type in its pair. 2005-04-15 08:59 king * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.hxx.in, Source/kwsys/hashtable.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cxx: ENH: Added KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys. Needed to optionally bring hash table comparison operators into the global namespace when argument dependent lookup is not supported. 2005-04-15 08:25 king * Source/kwsys/SystemTools.cxx: COMP: Removed extra variable initializations to avoid Borland warnings. 2005-04-14 04:50 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-13 23:04 king * Source/kwsys/: hash_map.hxx.in, hash_set.hxx.in, hashtable.hxx.in: COMP: Remove friend templates and always use template friends (possibly with <>). Needed to work-around Sun CC bug. 2005-04-13 23:03 king * Source/kwsys/testSystemTools.cxx: COMP: Disable MSVC debug symbol truncation warning. 2005-04-13 18:13 andy * Source/cmGeneratedFileStream.cxx: ENH: For sanity, create directory before creating generated file stream 2005-04-13 17:58 king * Source/CMakeLists.txt: BUG: The test1 executable has been removed from kwsys. Instead using testIOS for the kwsys test. 2005-04-13 16:58 king * Source/kwsys/CMakeLists.txt: STYLE: Renaming kwsys-hash test to kwsys-testhash for consistency with other tests. 2005-04-13 16:55 king * Source/kwsys/testProcess.c: COMP: Removing return value from test6. It is an infinite loop, so the return causes warnings. It will never return anyway. 2005-04-13 16:47 king * Source/kwsys/: CMakeLists.txt, test1.cxx: ENH: Removing old test1.c Process execution example. It is fully replaced by testProcess. 2005-04-13 16:46 king * Source/kwsys/: Base64.c, CommandLineArguments.cxx, Directory.cxx, ProcessUNIX.c, ProcessWin32.c, RegularExpression.cxx, SystemTools.cxx, test1.cxx, testCommandLineArguments.cxx, testIOS.cxx, testProcess.c, testSystemTools.cxx, testhash.cxx: COMP: Adding work-around for CMake dependency scanning limitation. Any configured header included by KWSYS_HEADER() in a .c or .cxx file in kwsys itself must use this hack to get dependencies. 2005-04-13 16:35 andy * Source/: cmMakefile.cxx, cmSourceFile.cxx, cmSourceFile.h: ENH: Speedup by storing source name without last extension 2005-04-13 16:34 andy * Source/cmTarget.cxx: ENH: Speedup by only getting the source once 2005-04-13 16:25 andy * Source/cmSystemTools.cxx: ENH: Improve performance by using vector of char instead of string 2005-04-13 16:05 king * Source/kwsys/testSystemTools.cxx: BUG: Only do ~ test if HOME variable is defined. 2005-04-13 15:57 king * Source/kwsys/testProcess.c: BUG: Avoid error diagnostic popups on windows for test that crashes on purpose. 2005-04-13 15:39 king * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.hxx.in, Source/kwsys/hashtable.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cxx: COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC. 2005-04-13 15:29 king * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: allocator<>::rebind<> test should use kwsys_stl::allocator, not std::allocator. 2005-04-13 15:22 king * Source/kwsys/hashtable.hxx.in: COMP: Fix for Sun CC stl allocator signature of allocate method. 2005-04-13 15:04 king * Source/kwsys/hashtable.hxx.in: BUG: When constructing the bucket vector type the allocator given must have been rebound to _Node* already because GCC 3.4's vector type does not rebind it. 2005-04-13 14:43 king * Source/cmTryCompileCommand.cxx: ENH: Added better error message when TRY_COMPILE does not recognize an extension. 2005-04-13 14:37 king * Source/kwsys/SystemTools.cxx: BUG: Fix GetFilenameName to not use uninitialized search position in win32 version. 2005-04-13 14:13 king * bootstrap: BUG: Added more try-compiles from kwsys. 2005-04-13 14:13 king * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: Fixed member template test to not produce a test program that crashes when it runs. 2005-04-13 13:59 andy * Source/kwsys/SystemTools.cxx: ENH: Speedup improvements 2005-04-13 13:57 andy * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Process.h.in, ProcessUNIX.c, ProcessWin32.c, test1.cxx, testCommandLineArguments.cxx, testIOS.cxx, testProcess.c, testSystemTools.cxx, testhash.cxx: ENH: Do kwsys testing as part of cmake testing, command line arguments are not experimental and add simple test for systemtools 2005-04-13 13:43 hoffman * Utilities/Release/cmake_release.sh: BUG: fix clean action 2005-04-13 12:44 hoffman * CMakeLists.txt, Utilities/Release/cmake_release.sh: Move minor version to 2.0.6 2005-04-13 09:54 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, kwsys/SystemTools.cxx: BUG: fix insert for 64 bit 2005-04-13 08:08 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, hash_fun.hxx.in, hash_map.hxx.in, hash_set.hxx.in, hashtable.hxx.in, kwsysPlatformCxxTests.cxx, testhash.cxx: ENH: Adding SGI hash_map and hash_set implementation ported from STL to KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS. 2005-04-13 08:05 king * Source/kwsys/kwsys_stl.hxx.in: ENH: Added __HPACC_USING_MULTIPLIES_IN_FUNCTIONAL fix from vtkstd. 2005-04-13 04:39 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-12 15:40 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix Ambiguity in insert call 2005-04-12 15:11 hoffman * Source/cmLocalGenerator.cxx: BUG: add missing header for borland 2005-04-12 13:33 king * Source/kwsys/SystemTools.cxx: COMP: Fixed ambiguous call to insert method of string. 2005-04-12 13:27 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalVisualStudio7Generator.cxx, cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: performance improvements 2005-04-12 13:26 hoffman * Source/cmDepends.cxx: ENH: do not collapse full path for cwd 2005-04-12 13:26 hoffman * Source/cmCacheManager.cxx: ENH: make regex static so it is not recomputed for each line of the cache 2005-04-12 13:25 hoffman * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: optimization of cwd and do not leak library handle 2005-04-12 09:36 martink * Source/cmLocalGenerator.cxx: BUG: local gen was setting proj dir when it shouldnt 2005-04-12 09:35 martink * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: ENH: also test for correct Proj dir settings 2005-04-12 03:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-11 12:38 hoffman * ChangeLog.manual, Source/cmCTest.cxx: BUG: fix GetLongPathName for all versions of windows 2005-04-11 12:20 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix GetLongPathName for WindowsNT 2005-04-11 04:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-10 04:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-09 02:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-08 12:46 hoffman * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h: BUG: handle case insensitive library extensions on windows 2005-04-08 08:34 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix build on mingw 2005-04-08 02:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-07 17:39 hoffman * Source/cmakemain.cxx: BUG: move fix for -E option to branch 2005-04-07 17:24 hoffman * Tests/CommandLineTest/CMakeLists.txt: merge from main tree fix for command line test 2005-04-07 17:22 hoffman * Source/cmCTest.cxx: BUG: add error checking on GetLongPath 2005-04-07 17:20 hoffman * Source/kwsys/SystemTools.cxx: BUG: if short path or long path fails return the original input 2005-04-07 16:58 hoffman * Source/kwsys/SystemTools.cxx: ENH: check return value of GetLongPath 2005-04-07 16:12 hoffman * ChangeLog.manual, Source/cmSystemTools.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmWin32ProcessExecution.h: Merge in fix for win32 process stuff 2005-04-07 16:09 hoffman * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx: ENH: fix install test with xcode, the xcode generator does not support library versioning yet 2005-04-07 15:09 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Avoid converting the subdirectory name to a relative path twice. 2005-04-07 14:41 king * Source/cmMakefile.cxx: BUG: Do not repeat paths when trying the lib/ to lib64/ replacement. 2005-04-07 14:30 king * Source/cmMakefile.cxx: ENH: Adding automatic generation of several 64-bit search path forms. 2005-04-07 14:27 king * Modules/: CMakeDetermineJavaCompiler.cmake, FindAVIFile.cmake, FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake, FindJNI.cmake, FindJPEG.cmake, FindJava.cmake, FindMPEG.cmake, FindMPEG2.cmake, FindOpenGL.cmake, FindPHP4.cmake, FindPNG.cmake, FindPerlLibs.cmake, FindPythonLibs.cmake, FindQt.cmake, FindRuby.cmake, FindSDL.cmake, FindSWIG.cmake, FindTCL.cmake, FindTIFF.cmake, FindX11.cmake, FindZLIB.cmake: ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 13:48 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fix rule name for subdirectory traversal to use relative paths. This was broken by the recent subdirectory changes. 2005-04-07 13:46 king * Modules/: CMakeDetermineJavaCompiler.cmake, FindAVIFile.cmake, FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake, FindJNI.cmake, FindJPEG.cmake, FindJava.cmake, FindMPEG.cmake, FindMPEG2.cmake, FindOpenGL.cmake, FindPHP4.cmake, FindPNG.cmake, FindPerlLibs.cmake, FindPythonLibs.cmake, FindQt.cmake, FindRuby.cmake, FindSDL.cmake, FindSWIG.cmake, FindTCL.cmake, FindTIFF.cmake, FindX11.cmake, FindZLIB.cmake: ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose. 2005-04-07 13:03 hoffman * Source/: CTest/cmCTestBuildHandler.cxx, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: BUG: fix for bug 1717 incorrect path sent to dart server 2005-04-07 12:44 hoffman * Source/cmCTest.cxx: BUG: remove debug statement 2005-04-07 12:12 hoffman * ChangeLog.manual, Source/cmSystemTools.cxx, Source/cmSystemTools.h: move fix for relative paths from main tree 2005-04-07 12:11 hoffman * ChangeLog.manual, Source/cmCTest.cxx: BUG: fix for bug 1717 use the correct path for Dart server on warnings and errors 2005-04-07 10:37 hoffman * ChangeLog.manual, Source/cmInstallProgramsCommand.cxx, Source/cmInstallProgramsCommand.h: move from main tree 2005-04-07 02:31 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-06 16:53 king * Modules/Dart.cmake: STYLE: Fixed spelling of "memmory". 2005-04-06 16:15 king * Source/cmStandardIncludes.h: BUG: Avoid duplicate definition by using cmsys_STL_STRING_NEQ_CHAR_DEFINED and cmsys_STL_STRING_NO_NEQ_CHAR. 2005-04-06 16:14 king * Source/kwsys/kwsys_stl_string.hxx.in: ENH: Added proper namespaced version of KWSYS_STL_STRING_ISTREAM_DEFINED, KWSYS_STL_STRING_OSTREAM_DEFINED, and _STL_STRING_NEQ_CHAR_DEFINED macros. 2005-04-06 15:06 king * Modules/Platform/Darwin-xlc.cmake, Modules/Platform/Darwin.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Tests/Fortran/CMakeLists.txt, Tests/MakeClean/ToClean/CMakeLists.txt: ENH: Removed CMAKE_GENERATOR_NEW now that the old unix makefile generator is never used. 2005-04-06 13:34 king * bootstrap: BUG: The bootstrap script should perform the KWSYS_STL_STRING_HAVE_NEQ_CHAR test for kwsys. 2005-04-06 11:56 hoffman * Source/cmMakefile.cxx: ENH: better fix for 64 bit, add 64 to the name of all directories in the search path 2005-04-06 10:59 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: allow sub projects to use targets that are not part of the sub-project 2005-04-06 09:47 hoffman * Source/kwsys/SystemTools.cxx: remove cerr stuff 2005-04-06 09:44 hoffman * Source/kwsys/SystemTools.cxx: Fix bug in != stuff 2005-04-06 04:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-05 21:10 hoffman * Source/kwsys/SystemTools.cxx: COMP: hack fix for old sgi until bootstrap is fixed 2005-04-05 17:06 hoffman * Modules/CMakeTestCCompiler.cmake, Source/cmMakefile.cxx: BUG: try to address Bug 1673 . 2005-04-05 16:24 hoffman * Modules/FindOpenGL.cmake: Fix for bug Bug #1287 - cmake use MesaGL by default instead of libGL - Return to bug list 2005-04-05 14:48 hoffman * Source/cmAuxSourceDirectoryCommand.cxx: BUG: fix for bug 1636 add extensions to AUX_SOURCE_DIRECTORY files 2005-04-05 13:39 hoffman * ChangeLog.manual, Modules/FindDCMTK.cmake: Move from main tree, fix for 1652 2005-04-05 13:37 hoffman * Modules/FindDCMTK.cmake: BUG: fix for bug 1652 2005-04-05 13:30 hoffman * ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx: fix on branch for 1660 language NONE working 2005-04-05 13:14 hoffman * Source/cmGlobalGenerator.cxx: BUG: fix for bug 1660 2005-04-05 12:54 hoffman * ChangeLog.manual: fixes on branch 2005-04-05 12:52 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: fix for bug 1702 better error on bad GUID 2005-04-05 12:51 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: move fix from main tree for bug 1680 2005-04-05 11:23 hoffman * Source/cmake.cxx: BUG: fix for bug 1700 2005-04-05 10:22 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: fix for bug 1702, better error message for GUID missing 2005-04-05 08:25 king * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH: Added Close method and updated Open method to allow streams to be reused. 2005-04-05 04:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-04 17:01 hoffman * ChangeLog.manual, Modules/UseSWIG.cmake, Source/cmGetDirectoryPropertyCommand.cxx: FIX: swig fixes from main tree 2005-04-04 16:55 hoffman * Modules/UseSWIG.cmake: ENH: make sure source flags don't have to be set 2005-04-04 16:43 hoffman * Source/cmGetDirectoryPropertyCommand.cxx: ENH: get directory property should return an empty variable if it is not set, not just have an error 2005-04-04 16:13 hoffman * Modules/UseSWIG.cmake: ENH: fix for bug 1304 2005-04-04 15:55 hoffman * ChangeLog.manual, Modules/UseSWIG.cmake: ENH: move changes from main tree 2005-04-04 15:52 hoffman * ChangeLog.manual, Source/cmCTest.cxx: ENH: move from main tree timezone fix 2005-04-04 15:51 hoffman * Modules/UseSWIG.cmake: FIX: fix for bug 1730 2005-04-04 15:41 hoffman * ChangeLog.manual, Source/cmFileCommand.cxx, Source/cmWriteFileCommand.cxx, Source/kwsys/SystemTools.cxx: ENH: move fix for read only file configure to branch 2005-04-04 12:22 andy * Modules/Dart.cmake, Source/cmAddTestCommand.cxx, Source/cmEnableTestingCommand.cxx, Source/cmGlobalGenerator.cxx: BUG: By default disable new files. 2005-04-04 03:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-03 03:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-02 02:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-04-01 15:48 andy * Source/: cmAddTestCommand.cxx, cmEnableTestingCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h: ENH: More ctest changes and move SetupTest to superclass 2005-04-01 15:45 andy * Modules/Dart.cmake, Source/cmCTest.cxx: ENH: Rename the DartConfiguration.tcl to CTestConfiguration.ini 2005-04-01 14:57 andy * Source/: cmAddTestCommand.cxx, cmCTest.cxx, cmCTest.h, cmEnableTestingCommand.cxx, ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: Start adding support for CTest testfiles 2005-04-01 02:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-31 18:03 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: When generating the name of the custom rule file the character : should be replaced with an underscore because it might be a non-file-name part of a path. 2005-03-31 11:57 hoffman * Source/cmGlobalXCodeGenerator.cxx: BUG: fix ITK build with xcode, as long as you build it in little parts, this fixes the headermap problem 2005-03-31 10:00 martink * CTestCustom.ctest.in: ENH: shut up warning in 3rd party packages 2005-03-31 02:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-30 16:11 king * Source/cmCTest.cxx: BUG: It is possible for the nightly start time to be over 24 hours in the future which requires two days to be subtracted. Using a while loop to make sure enough days are added or subtracted. It should never be able to iterate more than twice. 2005-03-30 15:41 hoffman * ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx: FIX: Merge from main tree: fix for VS 2005 beta 2005-03-30 15:27 king * Source/kwsys/CMakeLists.txt: BUG: Test for stl stirng operator!= for char* needs to know result of KWSYS_STL_HAVE_STD. 2005-03-30 02:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-29 15:34 martink * Source/: cmGlobalGenerator.cxx, cmMakefile.cxx, cmMakefile.h: ENH: removed GetParentProjects 2005-03-29 15:33 martink * Tests/OutOfSource/SubDir/CMakeLists.txt: ENH: better test for subdirs 2005-03-29 15:26 henderson * Source/kwsys/: CMakeLists.txt, SharedForward.h.in: ENH: copying Brad's installation changes from the main tree to the ParaView 2.0 branch 2005-03-29 10:34 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: BUG: Fix dependencies of custom commands that are relative paths to files or other custom command outputs. 2005-03-29 10:10 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformCxxTests.cxx, kwsys_stl_string.hxx.in: ENH: Added operator!= for stl string and char* when the system does not provide one. 2005-03-29 08:20 king * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.hxx.in, Source/kwsys/kwsysPlatformCxxTests.cmake, Source/kwsys/kwsysPlatformCxxTests.cxx, Source/kwsys/kwsys_stl.h.in, Source/kwsys/kwsys_stl.hxx.in, Source/kwsys/kwsys_stl_string.hxx.in: ENH: Added istream and ostream operators for stl string in KWSys when using old streams that do not provide them. 2005-03-29 08:09 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: SplitPath now supports slashes in both directions in the input path but still produces forward slashes in the root component. 2005-03-29 02:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-28 18:00 andy * bootstrap: BUG: The is replaced by cvs... This is safer anyway 2005-03-28 17:46 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: move EstimateFormatLength to kwsys 2005-03-28 02:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-27 02:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-26 09:58 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx, kwsys_stl.h.in, kwsys_stl.hxx.in, kwsys_stl_string.hxx.in: COMP: Removing stl string io operators change until the CMake bootstrap script can be fixed. 2005-03-26 08:19 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx, kwsys_stl.h.in, kwsys_stl.hxx.in, kwsys_stl_string.hxx.in: ENH: Added istream and ostream operators for stl string when using old streams that do not provide them. 2005-03-26 02:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-25 18:55 andy * Source/CMakeLists.txt: ENH: When in-source build, do not do bootstrap test 2005-03-25 18:46 andy * Source/CMakeLists.txt: ENH: Remove curl build testing 2005-03-25 16:40 king * Source/cmAddSubDirectoryCommand.h: ENH: Clarified documentation of the command. 2005-03-25 14:23 andy * bootstrap: ENH: For development versions report version when doing bootstrap 2005-03-25 08:41 king * Source/kwsys/: CMakeLists.txt, SharedForward.h.in: ENH: Adding SharedForward C header to help create forwarding executables on UNIX systems that configure the shared library runtime search path and then replace themselves with the real executable. This is useful to create binary distributions that work from any extracted location even with shared libraries. 2005-03-25 08:09 king * Source/kwsys/SystemTools.cxx: ENH: Re-implemented CollapseFullPath to not need to change directories. Operation is now fully string based. 2005-03-25 08:05 king * Source/cmCTest.cxx: BUG: Adjusted GetNightlyTime computation to not depend on time_t being a signed type. 2005-03-25 02:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-24 02:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-23 08:20 hoffman * Source/cmBuildCommand.cxx: fix for xcode 2005-03-23 02:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-22 14:27 hoffman * Source/cmDynamicLoader.h: FIX: fix bug 1690 2005-03-22 14:00 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: try to handle more source file types 2005-03-22 13:32 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: just use the file name 2005-03-22 11:33 hoffman * Source/cmGlobalGenerator.cxx: ENH: make sure project map is cleared each time. 2005-03-22 10:29 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: use better names for files 2005-03-22 10:23 king * Source/cmMakefile.cxx: BUG: Initializing from parent should copy link directories as well. 2005-03-22 08:36 king * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx: ENH: Added check for invalid characters in output name. 2005-03-22 07:27 hoffman * Source/cmLocalGenerator.cxx: ENH: remove commented code 2005-03-22 07:26 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix adding of rc files 2005-03-22 02:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-21 02:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-20 02:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-19 09:05 martink * Source/cmGlobalGenerator.cxx: COMP: fix warning 2005-03-19 02:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-18 11:29 martink * Source/cmMacroCommand.cxx: COMP: fix warning 2005-03-18 10:58 martink * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: remove cmSubDirectory from unused files? 2005-03-18 10:41 martink * Source/cmAddDefinitionsCommand.h, Source/cmAddTestCommand.cxx, Source/cmBootstrapCommands.cxx, Source/cmBuildCommand.h, Source/cmBuildNameCommand.h, Source/cmCMakeMinimumRequired.h, Source/cmCommand.h, Source/cmCreateTestSourceList.h, Source/cmElseCommand.h, Source/cmEnableLanguageCommand.h, Source/cmEnableTestingCommand.cxx, Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.h, Source/cmEndIfCommand.h, Source/cmEndWhileCommand.h, Source/cmFileCommand.h, Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.h, Source/cmForEachCommand.h, Source/cmGetFilenameComponentCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmIfCommand.h, Source/cmIncludeCommand.h, Source/cmIncludeDirectoryCommand.h, Source/cmIncludeRegularExpressionCommand.h, Source/cmLinkDirectoriesCommand.h, Source/cmLinkLibrariesCommand.h, Source/cmLoadCacheCommand.h, Source/cmLoadCommandCommand.cxx, Source/cmLoadCommandCommand.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalKdevelopGenerator.cxx, Source/cmLocalKdevelopGenerator.h, Source/cmLocalUnixMakefileGenerator2.cxx, Source/cmLocalUnixMakefileGenerator2.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio6Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMacroCommand.cxx, Source/cmMacroCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMarkAsAdvancedCommand.h, Source/cmOptionCommand.h, Source/cmProjectCommand.h, Source/cmRemoveCommand.h, Source/cmRemoveDefinitionsCommand.h, Source/cmSeparateArgumentsCommand.h, Source/cmSetCommand.h, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSiteNameCommand.h, Source/cmSourceGroupCommand.h, Source/cmStringCommand.h, Source/cmSubdirCommand.cxx, Source/cmUtilitySourceCommand.h, Source/cmWhileCommand.h, Tests/OutOfSource/CMakeLists.txt, Tests/OutOfSource/SubDir/CMakeLists.txt: ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings 2005-03-18 10:39 martink * Source/: cmAddSubDirectoryCommand.cxx, cmAddSubDirectoryCommand.h: ENH: added immediate subdirectory command 2005-03-18 09:03 martink * Source/cmSubDirectory.h: ENH: bad idea 2005-03-18 02:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-17 18:37 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Need to collapse full paths before depending on them to remove ./ and ../ to make sure target names match. 2005-03-17 15:35 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: add source groups xcode 2005-03-17 13:06 king * Source/kwsys/SystemTools.cxx: COMP: Using proper __QNX__ preprocessor test. 2005-03-17 02:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-16 13:26 andy * CMakeLists.txt, Utilities/cmexpat/CMakeLists.txt, Utilities/cmzlib/CMakeLists.txt: COMP: More cleanups 2005-03-16 12:54 andy * Source/CMakeLists.txt: ENH: Make sure to use internal zlib 2005-03-16 12:54 andy * Source/CTest/cmCTestSubmit.cxx: ENH: Cleanup of the output 2005-03-16 10:49 king * Source/kwsys/SystemTools.cxx: COMP: Only include malloc.h on QNX. 2005-03-16 10:15 barre * Source/kwsys/SystemTools.cxx: FIX: that was wrong 2005-03-16 09:55 king * Source/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt: BUG: Do not add Qt wrapping test unless QT is found and QT_UIC_EXECUTABLE is found. 2005-03-16 09:41 king * Source/kwsys/SystemTools.cxx: COMP: Need malloc.h for malloc/free on QNX. 2005-03-16 02:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-15 11:22 martink * Source/cmEnableTestingCommand.cxx: ENH: only support rel paths for now 2005-03-15 08:14 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l: COMP: Defining YY_NO_INPUT to remove compilation of unused yyinput function. It was producing a warning about unreachable code. 2005-03-15 08:13 king * Source/cmCacheManager.cxx: COMP: Removed warning due to unsigned enum type. 2005-03-15 02:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-14 13:23 hoffman * Source/: CMakeLists.txt, cmake.cxx: ENH: make xcode compile only on apple 2005-03-14 12:25 martink * bootstrap: ENH: oops forgot to chek this in 2005-03-14 12:18 hoffman * Modules/Platform/QNX.cmake: ENH: try to fix rpath on qnx 2005-03-14 11:28 martink * Source/: CMakeLists.txt, cmEnableTestingCommand.cxx, cmGlobalGenerator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmLocalUnixMakefileGenerator2.cxx, cmMakefile.cxx, cmMakefile.h, cmSubdirCommand.cxx, cmGlobalVisualStudio6Generator.cxx: ENH: add support for out of source source 2005-03-14 11:26 martink * Tests/OutOfSource/: CMakeLists.txt, OutOfSourceSubdir/CMakeLists.txt, OutOfSourceSubdir/simple.cxx, SubDir/CMakeLists.txt: ENH: added new test for out of dir source trees 2005-03-14 09:23 martink * Source/cmSubDirectory.h: ENH: added new structure to hold subdirectories 2005-03-14 08:15 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression. 2005-03-14 03:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-13 03:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-12 02:35 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-11 13:12 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: try to see if there is still a problem 2005-03-11 12:56 king * Source/CTest/cmCTestScriptHandler.cxx: BUG: Do not report an error removing the binary directory if it doesn't exist. 2005-03-11 11:48 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add last two small funcs from vtkString. Done removing deps 2005-03-11 10:53 andy * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: FIX: fix crashing test SubDir for xcode 2005-03-11 10:43 barre * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: update documentation, sort methods into categories 2005-03-11 10:29 hoffman * Source/ctest.cxx: FIX: fix output of passing tests 2005-03-11 10:15 king * Modules/Platform/QNX.cmake: ENH: Initial attempt at QNX support. Submitted by Tim Arney. 2005-03-11 10:07 king * Source/kwsys/: CommandLineArguments.cxx, RegularExpression.cxx, SystemTools.cxx: COMP: Added missing include of string.h. 2005-03-11 10:03 king * Source/cmStandardIncludes.h: COMP: Adding stdlib.h to standard includes. We are using functions from it all over the place assuming it has been included here. 2005-03-11 09:31 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: COMP: fix some warnings 2005-03-11 08:38 martink * Source/cmake.cxx: COMP: fix a warning 2005-03-11 02:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-10 17:49 barre * Source/kwsys/SystemTools.cxx: ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys) 2005-03-10 17:44 barre * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys) 2005-03-10 17:34 barre * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys) 2005-03-10 13:39 martink * Source/: cmExportLibraryDependencies.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx, cmTryRunCommand.cxx, cmake.cxx, cmake.h: ENH: cleanup by removing all the olf local generate junk that i not longer needed 2005-03-10 12:50 barre * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: move function from vtkKWDirectoryUtilities and vtkString to SystemTools 2005-03-10 10:04 martink * Source/ctest.cxx: ENH: better docs 2005-03-10 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-09 18:06 andy * Source/CTest/cmCTestSubmit.cxx: BUG: xmlrpc does the base64 encoding 2005-03-09 15:51 andy * bootstrap: BUG: Remove awk, remove problems and add full spaces in the path support 2005-03-09 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-08 18:38 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Removing jump-and-build ordering change until we can prevent extra jumps from always occuring. 2005-03-08 17:27 king * bootstrap: BUG: Fix for spaces in the path when constructing cmBootstrapCommands dependencies. 2005-03-08 16:01 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Removing ... ellipsis from end of echo lines. It is just clutter. 2005-03-08 15:55 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Adding extra dependencies to jump-and-build rules that force a single ordering to prevent parallel jumps. This avoids problems with two jumps reaching the same target in parallel which happened occasionally with the old generator. 2005-03-08 15:35 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Removed "Checking build system in ..." message. It is always paired with an Entering or Jumping message and is not necessary. 2005-03-08 13:43 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added option CMAKE_SKIP_RULE_DEPENDENCY to skip making build rules depend on their own rule files. It can be added to the cache by the user or added by the project in a list file. 2005-03-08 11:37 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Only add leading ./ to custom command executable if the command is really specified as one in the current directory. 2005-03-08 11:25 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: When a custom command's executable is in the current directory the relative path to it needs a "./". 2005-03-08 09:25 king * Source/: cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h: ENH: Updating Kdevelop generator to use the new makefile generator. The old one no longer works anyway because local generates are now disabled. 2005-03-08 09:24 king * Source/cmDepends.cxx: BUG: Dependency scans and checks must always set the current working directory to the directory containing the Makefile. 2005-03-08 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-07 15:19 king * Source/cmDependsFortran.cxx: BUG: When checking for upper-case modules do not use an upper-case .MOD extension. 2005-03-07 13:51 andy * Source/: cmFileCommand.cxx, cmWriteFileCommand.cxx: BUG: Handle restrictive permissions 2005-03-07 12:14 andy * Source/CTest/cmCTestSubmit.cxx: COMP: Remove warning 2005-03-07 12:11 andy * bootstrap: ENH: Add proper dependencies for cmBootstrapCommands 2005-03-07 02:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-06 08:51 andy * DartConfig.cmake, Source/cmCTest.cxx, Source/CTest/cmCTestSubmit.cxx: COMP: Remove warning and fix the logic 2005-03-06 08:17 andy * Source/CMakeLists.txt: COMP: Do not build cmw9xcom on Cygwin 2005-03-06 02:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-05 08:25 andy * DartConfig.cmake: ENH: Work on xmlrpc submit 2005-03-05 08:12 andy * Source/CTest/cmCTestSubmit.cxx: COMP: Remove compile error 2005-03-05 02:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-04 17:11 andy * Source/: CTest/cmCTestSubmit.cxx, CTest/cmCTestSubmit.h, cmCTest.cxx: ENH: Start working on xmlrpc code. This code does not work, but it will at least test compiling with cmxmlrpc 2005-03-04 14:27 andy * CMakeLists.txt, Source/CMakeLists.txt: ENH: More cleanups and start linking ctest to XML-RPC 2005-03-04 11:37 andy * Source/CMakeLists.txt, CMakeLists.txt, Utilities/CMakeLists.txt: ENH: More cleanups and reorganization 2005-03-04 10:05 andy * CMakeLists.txt, Source/CMakeLists.txt: ENH: Cleanups 2005-03-04 10:04 andy * Source/CTest/CMakeLists.txt: BUG: This cmakelists file is not used any more 2005-03-04 10:03 andy * bootstrap: BUG: Handle when initial cmake fails 2005-03-04 02:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-03 22:35 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalXCodeGenerator.cxx: ENH: fix for finding the correct target in the current project 2005-03-03 19:42 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: make it pass anyway so I can see debug info 2005-03-03 18:46 hoffman * Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: try and debug the failed test on the continuous 2005-03-03 18:15 hoffman * Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: try number two with topological sort 2005-03-03 16:53 king * Source/: cmDependsFortran.cxx, cmDependsFortran.h, cmake.cxx: ENH: Implementing explicit cmake_copy_f90_mod callback to copy Fortran90 modules to the stamp files more reliably. This removes the temporary hack for per-platform upper-/lower- case. 2005-03-03 15:22 king * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Fixed scanning to account for double-quote includes. 2005-03-03 12:00 king * Source/kwsys/kwsys_ios_sstream.h.in: ENH: Added "ostringstream(const kwsys_stl::string& s)" and "void str(const kwsys_stl::string& s)" compatibility methods. 2005-03-03 08:46 martink * Source/: CMakeLists.txt, cmake.cxx: ENH: remove code warrior classes 2005-03-03 02:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-02 18:56 hoffman * Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: reverse last changes to avoid dashboard failures 2005-03-02 17:49 hoffman * Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: fix library ordering stuff to use a topological sort 2005-03-02 11:48 andy * Source/cmOrderLinkDirectories.cxx: BUG: Attempt to fix sorting stability using more deterministic compare function 2005-03-02 10:58 martink * Source/: cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h, cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h: ENH: now use xcode instead 2005-03-02 09:34 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Pay attention to ForceUnixPaths setting in cmSystemTools for ConvertToQuotedOutputPath and for dependency scanning. 2005-03-02 09:02 king * Source/cmDependsFortran.cxx: BUG: We need to test the compiler for the case of the mod file names. For now this is a temporary hack to use upper case on SGI and lower case on Sun. 2005-03-02 08:51 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: SGI make can support suffixes only up to 32 characters. Renaming .hpux_make_must_have_suffixes_list to .hpux_make_needs_suffix_list. 2005-03-02 02:30 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-03-01 17:32 hoffman * Source/cmOrderLinkDirectories.cxx: FIX: switch to stable_sort to avoid crash 2005-03-01 14:30 andy * Modules/Dart.cmake: BUG: Change error to warning 2005-03-01 14:21 andy * CMakeLists.txt: COMP: CMake should be build static. Also propagate build_shared_libs to curl 2005-03-01 13:36 king * Source/cmDependsFortran.cxx: BUG: Module file names are case insensitive. Always use lower case no matter the real name of the module. 2005-03-01 13:32 king * Source/cmDependsJava.cxx: COMP: Removed unused parameter warning. 2005-03-01 12:27 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx: ENH: Enabling cmLocalUnixMakefileGenerator2 by default. 2005-03-01 12:26 king * Modules/Platform/: Darwin-xlc.cmake, Darwin.cmake: ENH: Adding support for shared library versioning using the -install_name option on the OSX linker. This is actually needed to support relative -o paths which are used by cmLocalUnixMakefileGenerator2. 2005-03-01 12:26 king * bootstrap, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmake.cxx: ENH: Enabling cmLocalUnixMakefileGenerator2 (new makefile generator) by default. 2005-03-01 12:20 king * Source/: cmDependsJava.cxx, cmDependsJava.h, CMakeLists.txt, cmLocalUnixMakefileGenerator2.cxx: ENH: Framework for java dependency scanner. Right now it does nothing but always reports success. This is enough to get the Java test to pass with the new generator because the old implementation did not do dependencies anyway. 2005-03-01 12:13 king * Source/: cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h: BUG: Added FILES mode to INSTALL_PROGRAMS command to make the single argument case unambiguous. 2005-03-01 11:25 andy * Source/cmGlobalXCodeGenerator.cxx: FIX: fix spaces in paths 2005-03-01 10:54 andy * CMakeLists.txt: ENH: Enable XMLRPC... please do not break everywhere... 2005-03-01 10:05 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Replaced previous fix with an implementation of properly formatting the custom build code in the generated file. 2005-03-01 02:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-28 17:12 andy * CMakeLists.txt: ENH: Add the rest of xmlrpc stuff 2005-02-28 16:11 martink * Source/cmLocalVisualStudio6Generator.cxx: FIXTHIS THING: fix the bug 2005-02-28 15:30 hoffman * Source/cmGlobalXCodeGenerator.cxx: fix typeo 2005-02-28 15:07 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: add re run cmake if inputs change 2005-02-28 02:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-27 17:36 andy * Source/kwsys/ProcessUNIX.c: COMP: Remove warnings about shadow variables 2005-02-27 17:33 andy * Utilities/cmexpat/xmlparse.c: COMP: Remove compile warning about shadow variables 2005-02-27 03:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-26 16:58 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: remove some warnings 2005-02-26 03:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-25 20:46 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warning 2005-02-25 17:45 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h: ENH: clean up and use order link directories 2005-02-25 14:21 hoffman * Utilities/cmexpat/xmltok_impl.c: COMP: fix warnings 2005-02-25 14:20 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure header files are in the header file group 2005-02-25 11:23 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Replaced OutputEcho/pre-echo/post-echo with AppendEcho. This allows for more flexible echo specifications and better preserves echo text. 2005-02-25 09:31 king * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt: ENH: Added full pre-build/pre-link/post-build testing for both library and executable targets. 2005-02-25 09:19 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Adding inclusion of pre-build and pre-link commands when building executables and libraries. 2005-02-25 09:14 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: ConvertToQuotedOutputPath must replace slashes in root component on windows. 2005-02-25 09:06 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added ConvertToQuotedOutputPath method and used it to properly generate external object references with spaces in the path. 2005-02-25 03:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-24 19:32 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Removed instances of calling ConvertToRelativeOutputPath twice on the same path. 2005-02-24 19:28 king * Source/cmGlobalGenerator.cxx: BUG: Need to configure relative path support for LocalGenerate to support old makefile generator. 2005-02-24 18:35 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: Converted some ConvertToRelativeOutputPath calls to ConvertToOptionallyRelativeOutputPath in preparation for making ConvertToRelativeOutputPath always convert. Some of these might be able to be switched back but we will first have to test what paths can be relative in the generate VS project files. 2005-02-24 17:46 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, kwsys/SystemTools.cxx: ENH: fix relative paths in xcode 2005-02-24 16:25 king * Source/cmLocalGenerator.cxx: ENH: Converted some ConvertToRelativeOutputPath calls to ConvertToOptionallyRelativeOutputPath in preparation for making ConvertToRelativeOutputPath not check CMAKE_USE_RELATIVE_PATHS. 2005-02-24 16:19 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: The path to the source file in a compile line should be made relative only when CMAKE_USE_RELATIVE_PATHS is on. 2005-02-24 16:04 king * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Merged implementations of ConvertToRelative*Path methods. The main ConvertToRelativePath method is now in cmGlobalGenerator. It converts paths only if they are at least inside the deepest common directory between the top-level source and build trees. Each cmLocalGenerator instance calls this global method with its own output directory as the "local" argument from which paths are relative. Added separate ConvertToOptionallyRelative path that pays attention to the CMAKE_USE_RELATIVE_PATHS option. 2005-02-24 15:36 andy * Source/cmOrderLinkDirectories.cxx: COMP: remove compiler warning 2005-02-24 15:34 andy * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: fix spaces in paths problems 2005-02-24 14:47 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added ComparePath method. 2005-02-24 14:27 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: remove unused code 2005-02-24 13:45 king * Source/cmMakefile.cxx: COMP: HP compiler does not like initializing a const std::string & with a const char* (which requires the reference to be bound to a temporary with the scope of the reference). 2005-02-24 13:26 hoffman * Source/cmOrderLinkDirectories.cxx: ENH: clean up and remove some debug code 2005-02-24 13:16 hoffman * bootstrap, Source/CMakeLists.txt, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmOrderLinkDirectories.cxx, Source/cmOrderLinkDirectories.h: ENH: add a new library path ordering algorithm to make sure -L paths will pick the correct libraries if possible 2005-02-24 12:44 king * Source/cmDependsC.cxx: BUG: Avoid putting a leading ./ on the dependency names. 2005-02-24 12:19 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: BUG: Using a better technique to produce the rule file name for a custom command when the output is not in the current directory or lower. 2005-02-24 11:46 king * Modules/Platform/CMakeLists.txt: BUG: Added installation of .in files as well as .cmake files. 2005-02-24 10:32 king * Source/cmGlobalGenerator.cxx: BUG: Only use the existing CMake(lang)Compiler.cmake file from the build tree if it was generated by the same version of CMake. 2005-02-24 10:31 king * Source/cmMakefile.cxx: BUG: Fixed GetCacheMinorVersion to not always return 0. 2005-02-24 10:14 andy * Source/cmCommands.cxx: COMP: Remove compile warning in bootstrap stage 2005-02-24 09:21 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Do not crash when the link language for a target is not known. 2005-02-24 09:20 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Need proper newline argument to ConstructScript call. 2005-02-24 03:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-23 20:41 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: remove output path stuff 2005-02-23 14:36 martink * Source/cmGlobalVisualStudio6Generator.cxx: BUG: fix for empty target or config strings in the Build method 2005-02-23 13:50 hoffman * Source/cmGlobalXCodeGenerator.cxx: FIX: fix to make this work with new custom command stuff 2005-02-23 03:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-22 15:31 king * Source/cmProjectCommand.cxx: ENH: Added CMAKE_PROJECT_NAME variable to play the role of CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR for the top-level project name. 2005-02-22 15:22 king * Modules/CMakeGenericSystem.cmake, Source/cmLocalGenerator.cxx: ENH: Added better default install location for windows builds. The previous default /usr/local did not make much sense. Now "%SystemDrive%/Program Files/PROJECT_NAME" is used, which is the windows equivalent to /usr/local. 2005-02-22 14:52 king * Source/: cmLoadCommandCommand.cxx, cmLoadCommandCommand.h: ENH: LOAD_COMMAND command will now set a variable called CMAKE_LOADED_COMMAND_ to the full path of the loaded module if loading was successful. Otherwise the variable is not set (will evaluate to empty string). This is useful both in testing whether loading worked and for installing loaded command modules. 2005-02-22 12:34 martink * Source/cmGlobalGenerator.cxx: COMP: fix warning 2005-02-22 12:10 king * Source/cmAddCustomCommandCommand.h: BUG: Fixed formatting of generated documentation. 2005-02-22 12:04 king * Tests/CustomCommand/CMakeLists.txt: ENH: Added test for multiple commands in a custom command. 2005-02-22 10:43 martink * Source/CMakeLists.txt: BUG: fix test execution 2005-02-22 10:42 martink * Source/cmCTest.cxx: BUG: better error handling 2005-02-22 10:32 king * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmCPluginAPI.cxx, cmCustomCommand.cxx, cmCustomCommand.h, cmFLTKWrapUICommand.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx, cmITKWrapTclCommand.cxx, cmIncludeExternalMSProjectCommand.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator2.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmMakefile.h, cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues. 2005-02-22 09:12 martink * Source/: cmCTest.cxx, cmCTest.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, ctest.cxx: ENH: ctest now uses CMake global generator to do the build part of build-and-test 2005-02-22 09:08 king * Source/cmake.cxx: BUG: Need to return before configure step when running in script mode. 2005-02-22 08:22 king * Source/cmStandardIncludes.h: ENH: Adding cmCustomCommandLine and cmCustomCommandLines subclasses of std::vector instantiations to represent multiple commands for a single custom command. These will be used in an upcoming checkin. 2005-02-22 03:01 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-21 03:07 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-20 03:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-19 02:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-18 16:19 king * Source/: cmMakefile.cxx, cmSourceFile.cxx, cmSourceFile.h: BUG: cmSourceFile instances should delete their own custom commands when a new one is set. 2005-02-18 16:12 king * Source/cmTarget.cxx: COMP: Using const_iterator instead of iterator to walk through custom command dependencies. 2005-02-18 16:12 king * Source/cmTarget.h: COMP: Added missing forward declaration of cmMakefile. This was only working because cmCustomCommand.h declared it. 2005-02-18 15:45 andy * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for spaces in the path 2005-02-18 15:43 king * Tests/ExternalOBJ/CMakeLists.txt: BUG: We still want to print out the location where the object was found if it was found by the glob. 2005-02-18 14:32 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: remove warning 2005-02-18 14:22 king * CMakeLists.txt: BUG: Disabling DART_ROOT removal until we can get Dart to submit without it. 2005-02-18 13:32 hoffman * Source/CMakeLists.txt, Source/cmFileCommand.cxx, Source/cmGlobalXCodeGenerator.cxx, Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx, Tests/ExternalOBJ/CMakeLists.txt: ENH: all tests are passing for XCode 2005-02-18 02:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-17 17:54 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmXCodeObject.h: ENH: more tests are passing, relative paths, and external objects are the ones left now 2005-02-17 16:59 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Detect when TestsToRunInformation is not set 2005-02-17 16:11 andy * Source/: cmCTest.cxx, CTest/cmCTestTestHandler.cxx: ENH: Some more generalization 2005-02-17 15:23 andy * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateCommand.h, CTest/cmCTestUpdateHandler.cxx: ENH: Cleanups and add CTEST_UPDATE command 2005-02-17 15:22 andy * Source/CTest/: cmCTestGenericHandler.cxx, cmCTestGenericHandler.h: ENH: Add a way to set options of the handler genericly 2005-02-17 11:28 king * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Adding kwsys::SystemTools::FileTimeCompare method to compare file modification times with the highest resolution possible on the file system. 2005-02-17 11:27 king * bootstrap: ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times. 2005-02-17 10:51 andy * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestStartCommand.cxx, CTest/cmCTestStartCommand.h: ENH: Cleanups and add CTEST_START command 2005-02-17 10:51 andy * Source/cmSystemTools.cxx: ENH: Add support for single ' 2005-02-17 10:49 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformCxxTests.cxx: ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times. 2005-02-17 10:45 hoffman * Modules/FindQt.cmake: FIX: fix for bug 1409 2005-02-17 10:42 hoffman * Modules/FindCurses.cmake: FIX: fix for bug 1438 2005-02-17 10:39 hoffman * Source/cmLocalVisualStudio7Generator.cxx: FIX: fix for bug 1606 2005-02-17 10:18 king * Source/cmDependsC.cxx: ENH: Removing collapsing of files to full path before checking. The current working directory is set correctly because the dependency lines are used by make anyway. This drastically improves the speed of dependency checking. 2005-02-17 10:03 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Avoid generating duplicate rules for an object file. A warning about duplicate source files in a target is now generated. 2005-02-17 08:50 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added generation of test target to run ctest. 2005-02-17 07:53 king * Source/cmake.cxx: BUG: Removing "guess when there is a space in the path" check for chdir command. It is the responsibility of the caller of the command to ensure the arguments are properly quoted on the command line. 2005-02-17 07:53 king * Tests/CommandLineTest/CMakeLists.txt: BUG: Fix for space in path for chdir test. We just need to double-quote the arguments. 2005-02-17 02:42 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-16 19:13 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: add CMAKE_CFG_INTDIR 2005-02-16 18:47 hoffman * Source/: cmCTest.cxx, cmGlobalXCodeGenerator.cxx: ENH: use ALL_BUILD target 2005-02-16 16:35 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmMakefile.cxx, cmMakefile.h: ENH: more tests are passing 2005-02-16 16:06 andy * Source/CTest/: cmCTestEmptyBinaryDirectoryCommand.cxx, cmCTestScriptHandler.cxx: BUG: Report errors 2005-02-16 16:03 andy * Source/kwsys/SystemTools.cxx: BUG: On windows allow removing of files that are read-only 2005-02-16 14:38 andy * Source/CTest/cmCTestUpdateHandler.cxx: COMP: Remove unused variable 2005-02-16 14:24 andy * Source/CTest/cmCTestUpdateHandler.h: COMP: Remove warning 2005-02-16 14:24 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Improve output, and handle 'G' files in subversion 2005-02-16 13:45 andy * Source/CTest/cmCTestUpdateHandler.cxx: BUG: If project is up to date, handle that case 2005-02-16 13:36 andy * Modules/Dart.cmake: BUG: Clean the messages 2005-02-16 13:30 andy * Modules/: Dart.cmake, DartConfiguration.tcl.in: ENH: Reorganize and add subversion support 2005-02-16 13:29 andy * CMakeLists.txt: ENH: Remove DART_ROOT to force DartConfiguration.tcl to be up to date 2005-02-16 13:28 andy * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h: ENH: Initial implementation of SVN support. Closes Bug #1601 - Add subversion support 2005-02-16 13:15 hoffman * Source/cmake.cxx, Source/cmakemain.cxx, Tests/CommandLineTest/CMakeLists.txt: BUG: fix CommandLine test problems with spaces and testing for the return value 2005-02-16 12:31 martink * CTestCustom.ctest.in: ENH: add supp for xlc linking on darwin 2005-02-16 09:17 andy * Utilities/cmzlib/CMakeLists.txt: COMP: attempt to fix warning on Visual Studio 7 2005-02-16 09:00 hoffman * CTestCustom.ctest.in: COMP: add a warning ignore for gcc 3.4.2 2005-02-16 08:56 king * Source/kwsys/SystemTools.cxx: BUG: Removing debugging code now that the problem has been fixed on the remote dashboard. 2005-02-16 02:18 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-15 17:25 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: add custom commands, still failing a bunch of tests 2005-02-15 16:03 king * Source/kwsys/SystemTools.cxx: BUG: Preserve trailing slash state when translating paths. 2005-02-15 09:58 hoffman * Source/kwsys/SystemTools.cxx: ENH: make sure paths do not end in / before adding one 2005-02-15 09:02 king * Source/cmDependsFortran.cxx: STYLE: Added TODO comment for checking dependencies. 2005-02-15 09:01 king * Tests/Fortran/: CMakeLists.txt, test_module_implementation.f90, test_module_interface.f90, test_module_main.f90: ENH: Added Fortran 90 test if the platform supports it. 2005-02-15 08:40 king * Source/kwsys/SystemTools.cxx: BUG: Adding debugging code to remotely debug a failing dashboard test. 2005-02-15 08:28 king * Source/kwsys/SystemTools.cxx: BUG: Adding debugging code to remotely debug a failing dashboard test. 2005-02-15 02:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-14 16:46 hoffman * Source/: cmCTest.cxx, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalGenerator.h: ENH: getting closer 2005-02-14 16:15 andy * Tests/MakeClean/CMakeLists.txt: COMP: Try to fix test on HP 2005-02-14 14:35 hoffman * CMakeLists.txt, CTestCustom.ctest.in, ChangeLog.manual, Source/CMakeLists.txt, Source/cmCTest.cxx: ENH: merge from main tree 2005-02-14 10:16 martink * Source/CMakeLists.txt: ENH: only do objc++ test with GNU of course 2005-02-14 10:16 martink * CTestCustom.ctest.in: ENH: added supp for Curl coding style 2005-02-14 09:21 hoffman * Modules/Platform/Darwin-xlc.cmake: ENH: move xlc stuff to branch 2005-02-14 08:44 king * Tests/MakeClean/CMakeLists.txt: COMP: Need ANSI flags for C executable. 2005-02-14 02:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-13 02:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-12 02:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-11 16:25 andy * Source/cmake.cxx: ENH: Add command to copy directory with content 2005-02-11 16:25 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Implement copy of directory with content 2005-02-11 14:25 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: more work on linking flags 2005-02-11 14:22 hoffman * Modules/CMakeCXXCompiler.cmake.in: FIX: fix bug 1495 2005-02-11 14:20 hoffman * Source/cmLocalVisualStudio7Generator.cxx: FIX: fix for bug 1460 2005-02-11 14:18 hoffman * Modules/UseSWIG.cmake: FIX: fix bug 1303 2005-02-11 14:13 hoffman * Source/cmLocalVisualStudio6Generator.cxx, Templates/staticLibHeader.dsptemplate: FIX: fixes bugs 1152 and 1154 2005-02-11 02:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-10 16:18 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Split cmLocalUnixMakefileGenerator2 away from cmLocalUnixMakefileGenerator to be a stand-alone generator. 2005-02-10 14:19 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Initializing translation map using the PWD environment variable and getcwd functions to automatically translate logical paths involving the current working directory. Also added the JoinPath method to aid users of the SplitPath method. 2005-02-10 10:35 king * Source/kwsys/SystemTools.cxx: COMP: std:: -> kwsys_stl:: 2005-02-10 10:32 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Added SystemTools::SplitPath method to split any file path into its basic components. 2005-02-10 08:27 hoffman * Source/cmGlobalKdevelopGenerator.cxx: COMP: fix warning 2005-02-10 08:22 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fix for bug 1100. If EXECUTABLE_OUTPUT_PATH or LIBRARY_OUTPUT_PATH is a relative path it should be converted to a full path relative to each build directory. 2005-02-10 07:46 king * Utilities/cmzlib/: CMakeLists.txt, zconf.h: COMP: Disabling warnings in zlib code to avoid changing it too much. 2005-02-10 07:44 hoffman * Source/cmGlobalKdevelopGenerator.cxx: COMP: fix warning 2005-02-10 02:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-09 23:25 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: ENH: fix bug 1324 2005-02-09 23:21 hoffman * Source/: cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h, cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h: ENH: move most of the to global generator 2005-02-09 23:00 hoffman * Source/cmTryRunCommand.cxx, Source/cmTryRunCommand.h, Modules/TestBigEndian.cmake: ENH: fix for 1450 2005-02-09 22:46 hoffman * Modules/: FindJNI.cmake, FindJava.cmake: ENH: bug fix 1573 2005-02-09 22:45 hoffman * Modules/FindPythonLibs.cmake: ENH: bug fix 1574 2005-02-09 11:40 king * Source/cmLocalUnixMakefileGenerator2.cxx, Source/cmLocalUnixMakefileGenerator2.h, Tests/MakeClean/CMakeLists.txt, Tests/MakeClean/ToClean/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt: ENH: Adding cleaning of custom command outputs during "make clean". 2005-02-09 09:36 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Moved reference from local driver targets (like build.local) into individual target rule files. Main rule is now empty, except that clean.local may remove files registered for cleaning. 2005-02-09 09:32 king * Source/CMakeLists.txt: ENH: Adding MakeClean test to test cleaning for makefile generators. 2005-02-09 09:21 king * Tests/MakeClean/: CMakeLists.txt, check_clean.c.in, ToClean/CMakeLists.txt, ToClean/ToCleanFiles.cmake.in, ToClean/toclean.cxx: ENH: Adding test of "make clean". 2005-02-08 17:12 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmXCodeObject.h: ENH: add link library stuff 2005-02-08 10:13 andy * Tests/SystemInformation/CMakeLists.txt: ENH: Display all output in ctest 2005-02-07 17:36 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx, cmXCodeObject.h: ENH: fix bug in target linking 2005-02-07 16:18 king * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.file.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Executable/complex.file.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Executable/complex.file.cxx: ENH: Added partial test for include regular expressions. 2005-02-07 16:16 king * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Removed useless expression warning. 2005-02-07 16:11 king * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmLocalUnixMakefileGenerator2.cxx: ENH: Implemented support for include/complain regular expressions for dependency scanning. This now includes the possibility that scanning will return failure and the build will stop. 2005-02-07 15:10 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added generation of CMakeDirectoryInformation.cmake file in each directory next to the Makefile. The include file search path is now stored in this file instead of duplicating it for every object file. This will also allow more information to be passed in the future. 2005-02-07 15:09 king * Source/cmMakefile.h: ENH: Added GetComplainRegularExpression method. 2005-02-07 09:05 king * Tests/SystemInformation/DumpInformation.cxx: BUG: Need to include full output to be a useful test. 2005-02-07 05:26 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-06 05:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-05 07:50 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Updated post-build command to drive installation through the native build system. 2005-02-05 05:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-04 17:58 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx, cmXCodeObject.h: ENH: this version can build cmake 2005-02-04 17:38 king * Source/cmCTest.cxx: BUG: Fixed --build-target implementation to work with Visual Studio generators. 2005-02-04 15:14 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Implemented external object feature. 2005-02-04 14:13 king * Source/CMakeLists.txt: ENH: Adding test for external object file feature. 2005-02-04 13:58 king * Tests/ExternalOBJ/: CMakeLists.txt, executable.cxx, Object/CMakeLists.txt, Object/external_main.cxx, Object/external_object.cxx: ENH: Adding test for external object file feature. 2005-02-04 10:06 king * Modules/CMakeTestFortranCompiler.cmake: ENH: Added test for Fortran90 support. 2005-02-04 05:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-03 19:32 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: remove warnings 2005-02-03 17:42 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h: ENH: depends work between targets 2005-02-03 08:39 king * Source/cmDependsJavaParserHelper.cxx: COMP: Fix warning about printf format and given type. 2005-02-03 05:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-02 17:16 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h: ENH: getting closer 2005-02-02 17:05 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y, cmDependsJavaParser.cxx, cmDependsJavaParser.y: COMP: Adding warning work-around for unused case label yyerrorlab on HP compiler. 2005-02-02 13:19 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: move AddFlags stuff up to LocalGenerator from LocalUnix generator 2005-02-02 05:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-02-01 17:17 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: closer 2005-02-01 15:48 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: ENH: getting closer 2005-02-01 14:28 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warning 2005-02-01 13:12 hoffman * Modules/CMakeFindXCode.cmake: ENH: add trycompile code for xcode 2005-02-01 13:07 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: add trycompile code for xcode 2005-02-01 11:28 king * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y: COMP: Disabling warning in generated code. 2005-02-01 10:44 king * Source/: cmDependsJavaLexer.h, cmDependsJavaLexer.in.l: COMP: Removing #line directives from .h file to avoid bogus Sun warning. 2005-02-01 10:42 king * Source/: CMakeLists.txt, cmDependsFortran.cxx, cmDependsFortranLexer.cxx, cmDependsFortranLexer.h, cmDependsFortranLexer.in.l, cmDependsFortranParser.cxx, cmDependsFortranParser.h, cmDependsFortranParser.y, cmDependsFortranParserTokens.h, cmDependsFortranLexer.c, cmDependsFortranParser.c: ENH: Changed over to using C++ for building flex/bison generated files. It reduces the number of changes that need to be made after generation. 2005-02-01 05:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-31 05:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-30 05:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-29 07:57 king * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Removed shadowed variable warning. 2005-01-29 05:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-28 18:12 king * Source/cmGlobalXCodeGenerator.cxx: COMP: Added missing labels to case. 2005-01-28 17:46 andy * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l: COMP: Another borland problem 2005-01-28 17:43 andy * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l, cmDependsJavaParser.cxx, cmDependsJavaParser.y, cmDependsJavaParserTokens.h: COMP: Remove more warnings/errors 2005-01-28 17:25 king * Source/cmGeneratedFileStream.cxx: COMP: Fix unused parameter warning when bootstrapping. 2005-01-28 17:24 andy * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l, cmDependsJavaParser.cxx, cmDependsJavaParser.y, cmDependsJavaParserTokens.h: COMP: Remove warnings 2005-01-28 17:21 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: move executable xcode stuff to a method 2005-01-28 17:18 king * Source/cmDependsJavaParserHelper.cxx: COMP: Removed default argument from method definition. 2005-01-28 17:14 andy * Source/CMakeLists.txt: ENH: Enable java dependency 2005-01-28 17:13 andy * Source/: cmDependsJavaParser.cxx, cmDependsJavaParser.y, cmDependsJavaParserHelper.cxx, cmDependsJavaParserHelper.h, cmDependsJavaParserTokens.h: ENH: Initial import of java parser 2005-01-28 17:13 andy * Source/cmDependsFortranParser.y: STYLE: Add some diff helping comments 2005-01-28 17:09 king * Source/: cmDependsFortranParser.c, cmDependsFortranParser.y, cmDependsFortranParserTokens.h: COMP: Disabled warnings in generated code. 2005-01-28 16:56 andy * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.h, cmDependsJavaLexer.in.l: ENH: Initial import of java parser 2005-01-28 16:26 hoffman * Source/cmGlobalXCodeGenerator.cxx: ENH: use absolute paths 2005-01-28 16:00 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH: create mainGroup 2005-01-28 14:17 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Implemented full per-object test for whether provides-requires mode is needed. This will still use a recursive make for any Fortran object even if it doesn't have requires. It is possible to avoid it but we can do that later. 2005-01-28 13:20 andy * Modules/Dart.cmake: ENH: Better checking for Dart. Closes Bug #1505 - Configuration fails to create Makefile 2005-01-28 13:00 andy * Source/cmake.cxx: BUG: prevent -P or script to be passed as homedirectory 2005-01-28 12:01 king * Source/cmDependsFortran.cxx: STYLE: Added another solution proposal for out-of-directory modules. 2005-01-28 10:45 king * Source/cmDependsFortran.cxx: ENH: Added provides/requires output for modules. 2005-01-28 10:12 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add error regex 2005-01-28 08:30 hoffman * Modules/Platform/Windows-cl.cmake: ENH: remove debug print 2005-01-28 05:20 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-27 19:24 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warning 2005-01-27 17:45 andy * Modules/Dart.cmake: ENH: Enable compression and use the new trigger script 2005-01-27 17:43 andy * Source/cmCTest.cxx, Modules/DartConfiguration.tcl.in: ENH: Enable compression with DartConfiguration file 2005-01-27 17:09 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: ENH: xcode almost working for simple exe, but not yet 2005-01-27 16:49 andy * Source/CTest/cmCTestTestHandler.h: COMP: Fix build on sun 2005-01-27 16:43 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: ENH: fix a few more xcode things 2005-01-27 16:25 hoffman * Source/cmXCodeObject.cxx: ENH: add missing ; 2005-01-27 16:11 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmXCodeObject.cxx: ENH: add more xcode stuff 2005-01-27 15:54 andy * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestConfigureHandler.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestMemCheckHandler.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h: ENH: Several cleanups and improvements 2005-01-27 13:31 martink * Source/CTest/: cmCTestRunScriptCommand.cxx, cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: ENH: clean up running of default script 2005-01-27 11:43 andy * Source/: CMakeLists.txt, cmCTest.cxx, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestConfigureHandler.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h: ENH: Add a superclass to all handlers 2005-01-27 11:01 martink * Source/CTest/: cmCTestRunScriptCommand.cxx, cmCTestScriptHandler.cxx, cmCTestScriptHandler.h, cmCTestSleepCommand.cxx: COMP: fix some compiler warnings/errors 2005-01-27 10:47 martink * Source/ctest.cxx: ENH: added missing documentation 2005-01-27 10:14 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: Add compression support to XML files 2005-01-27 10:14 andy * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH: Add compression support 2005-01-27 10:11 andy * Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Source/CMakeLists.txt: ENH: Link to cmzlib 2005-01-27 10:11 martink * Source/: CMakeLists.txt, CTest/cmCTestCommand.h, CTest/cmCTestEmptyBinaryDirectoryCommand.cxx, CTest/cmCTestEmptyBinaryDirectoryCommand.h, CTest/cmCTestRunScriptCommand.cxx, CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestSleepCommand.cxx, CTest/cmCTestSleepCommand.h: ENH: added more capabilities to ctest 2005-01-27 05:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-26 16:19 king * Source/cmDependsFortranParser.y: COMP: Added instruction to remove TABs from generated file. 2005-01-26 16:18 king * Source/: CMakeLists.txt, cmLocalUnixMakefileGenerator2.cxx: ENH: Added hook into Fortran dependency scanner. 2005-01-26 16:17 king * Source/: cmDependsFortranLexer.c, cmDependsFortranLexer.h, cmDependsFortranParser.c, cmDependsFortranParserTokens.h: ENH: Added generated lexer and parser sources. 2005-01-26 16:10 king * Source/: cmDependsFortranLexer.in.l, cmDependsFortranParser.y: COMP: Added additional instructions about how to modify the generated files. 2005-01-26 16:09 king * Source/cmDependsFortran.cxx: COMP: Added constructor to cmDependsFortranFile to avoid using initializer list. Also included assert.h. 2005-01-26 15:58 king * Source/cmDependsFortranParser.y: COMP: Added forward declaration of yylex. 2005-01-26 15:55 andy * CMakeLists.txt: ENH: Add zlib from VTK 2005-01-26 15:55 andy * Utilities/cmzlib/: .NoDartCoverage, CMakeLists.txt, adler32.c, cm_zlib_mangle.h, compress.c, crc32.c, deflate.c, deflate.h, example.c, gzio.c, infblock.c, infblock.h, infcodes.c, infcodes.h, inffast.c, inffast.h, inffixed.h, inflate.c, inftrees.c, inftrees.h, infutil.c, infutil.h, maketree.c, minigzip.c, trees.c, trees.h, uncompr.c, zconf.h, zlib.def, zlib.h, zlib.rc, zlibDllConfig.h.in, zutil.c, zutil.h: ENH: Initial import from VTK 2005-01-26 15:45 king * Source/cmDependsFortran.cxx: ENH: Removed Lexer/Parser prefix before _yy symbols. Just cmDependsFortran_yy is enough. 2005-01-26 15:43 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix version number 2005-01-26 15:33 king * Source/: cmDependsFortran.cxx, cmDependsFortran.h, cmDependsFortranLexer.in.l, cmDependsFortranParser.h, cmDependsFortranParser.y: ENH: Added Fortran dependency scanner implementation. 2005-01-26 14:25 king * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH: Added default constructor and Open method. 2005-01-26 11:13 andy * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: Add support for shrinking the output of the test 2005-01-26 10:10 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add method to populate custom integers 2005-01-26 05:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-25 16:36 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warnings 2005-01-25 16:30 hoffman * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warnings 2005-01-25 16:09 hoffman * bootstrap: ENH: add xcode stuff to bootstrap 2005-01-25 15:26 hoffman * Source/: CMakeLists.txt, cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h, cmake.cxx: ENH: add initial non-working XCode stuff 2005-01-25 05:59 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-24 17:35 hoffman * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h, cmLocalXCodeGenerator.cxx, cmLocalXCodeGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h: ENH: initial xcode stuff 2005-01-24 05:53 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-23 05:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-22 05:51 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-21 16:25 hoffman * Source/: cmXCodeObject.cxx, cmXCodeObject.h: ENH: start xcode stuff 2005-01-21 12:26 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: ENH: move project map to global generator base 2005-01-21 11:22 martink * Source/cmWhileCommand.cxx: COMP: fix unused var warning 2005-01-21 10:27 hoffman * bootstrap, Source/CMakeLists.txt, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx, Source/cmCommands.h, Source/cmWhileCommand.cxx, Source/cmake.cxx: ENH: split up cmCommands into two files 2005-01-21 09:37 martink * Source/: cmCommands.cxx, cmWhileCommand.cxx, cmWhileCommand.h, cmEndWhileCommand.cxx, cmEndWhileCommand.h: ENH: added while command 2005-01-21 05:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-20 15:26 martink * Source/cmSetCommand.cxx: COMP: fix unused var warning 2005-01-20 14:38 martink * Source/: cmSetCommand.cxx, cmSetCommand.h: ENH: now the set command can set environment variables 2005-01-20 12:30 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in, CMakeDetermineCCompiler.cmake, CMakeFortranCompiler.cmake.in, CMakeJavaCompiler.cmake.in, CMakeRCCompiler.cmake.in, CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake, Platform/Windows-cl.cmake, Platform/Windows-cl.cmake.in: ENH: stuff to keep compiler tests from re-running all the time 2005-01-20 12:28 hoffman * Source/: cmGlobalGenerator.cxx, cmLocalKdevelopGenerator.cxx: ENH: add some comments on how this could be moved to global generator 2005-01-20 04:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-19 12:06 king * Source/: cmListFileLexer.in.l, cmListFileLexer.c: ENH: Mangled lexer symbols to begin in cmListFileLexer_yy instead of just yy to avoid conflict with other lexers that may be added. 2005-01-19 07:23 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Removed unquoted version of OBJECTS make variable. Quoted seems to work everywhere. BUG: Fixed AppendAnyDepend to properly identify executable targets. BUG: Used CreateMakeVariable to fix variable name for OBJECTS list when target has a . in its name. 2005-01-19 05:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-18 18:11 andy * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Add proper link directory 2005-01-18 17:29 andy * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Add cmexpat to complex 2005-01-18 17:09 king * Source/: CMakeLists.txt, cmDepends.cxx, cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmake.cxx: ENH: Split dependency scanning and checking into separate cmDepends superclass with language-specific subclasses such as cmDependsC. 2005-01-18 16:47 andy * Source/CMakeLists.txt: COMP: Ok, actually link to the library.... 2005-01-18 15:54 andy * Source/cmXMLParser.cxx, Utilities/cmexpat/xmlparse.c: COMP: Try to resolve compile errors because of missing includes and wrong include path 2005-01-18 14:02 andy * Source/cmXMLParser.cxx: COMP: Use cmOStringStream not ostringstream 2005-01-18 13:41 andy * Source/: CMakeLists.txt, cmXMLParser.cxx, cmXMLParser.h: ENH: Add XML parser 2005-01-18 11:15 king * Source/cmLocalUnixMakefileGenerator2.cxx: STYLE: Added TODO comment for another missing feature (external object files). 2005-01-18 09:06 andy * Utilities/Doxygen/doc_makeall.sh.in: ENH: Cleanup 2005-01-18 08:58 andy * CMakeLists.txt, cmake_uninstall.cmake.in: ENH: Add uninstall. This is not really a feature but more of an example on how to do it. 2005-01-18 04:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-17 16:29 hoffman * Source/cmCTest.cxx: BUG: when ctest is looking for cmake look in the build directory as well as where ctest is so that purify will work 2005-01-17 15:20 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in, Platform/Windows-cl.cmake: BUG: fix running of cl in trycompiles 2005-01-17 15:09 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Adding partial implementation of provides-requires mode. 2005-01-17 15:09 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fix for relative path conversion when path is a subset of relative path root. 2005-01-17 14:29 hoffman * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: BUG: make sure handles are always closed even if Wait is not called. 2005-01-17 04:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-15 04:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-13 12:38 hoffman * ChangeLog.manual: BUG: fix from main tree 2005-01-13 03:58 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-12 13:58 martink * Source/CTest/cmCTestBuildHandler.cxx: ENH: now limits warnings and error report to 50 each 2005-01-12 13:51 martink * Source/CTest/cmCTestBuildHandler.cxx: ENH: now limits warnings and error report to 50 each 2005-01-12 10:11 millerjv * Source/kwsys/Base64.c: BUG: encoding 2 bytes into 4 bytes was accessing a 3rd byte from the source 2005-01-12 04:43 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-11 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-10 05:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-08 05:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-07 11:56 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-05 05:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-04 18:24 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added install target implementation. Also added missing include of assert.h. 2005-01-04 17:41 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added relative path support (mostly done). Many paths are written relative even if CMAKE_USE_RELATIVE_PATHS is not on just to keep makefiles short. 2005-01-04 16:26 king * Source/cmLocalUnixMakefileGenerator.h: ENH: Made ConfigureOutputPaths virtual to help new generator. 2005-01-04 15:38 hoffman * ChangeLog.manual, Modules/Platform/Windows-icl.cmake: add intel compiler config file 2005-01-04 12:12 hoffman * ChangeLog.manual, Source/cmSetCommand.cxx: fix for bug 1445 2005-01-04 10:55 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add a delay method 2005-01-04 09:56 king * Source/cmLocalKdevelopGenerator.cxx: BUG: Applied patch attached to bug #1453. 2005-01-04 08:42 martink * Source/cmSetCommand.cxx: ENH: fixed SET command to accept cache values with more than one value 2005-01-04 04:17 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-02 05:04 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2005-01-01 21:02 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-31 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-30 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-29 05:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-28 05:23 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-27 05:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-26 05:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-25 05:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-24 05:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-23 05:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-22 05:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-21 05:14 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-20 05:09 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-19 05:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-18 05:11 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-17 05:06 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-16 22:19 hoffman * Modules/CMakeDetermineSystem.cmake: fix wrong number of arguments 2004-12-16 22:18 hoffman * Modules/CMakeDetermineSystem.cmake: fix number of arguments 2004-12-16 17:26 hoffman * ChangeLog.manual, Modules/CMakeDetermineSystem.cmake, Modules/Platform/OpenBSD.cmake: ENH: fix for OpenBSD 2004-12-16 05:52 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-15 05:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-14 05:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-13 05:03 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-12 05:08 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-11 05:10 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-10 05:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-09 16:14 king * Source/cmSystemTools.cxx: BUG: Fix to avoid relative path with ..s all the way to the root. 2004-12-09 15:56 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Support for custom command outputs in subdirectories of current build tree location. 2004-12-09 15:23 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: AppendAnyDepend must handle non-existing files. 2004-12-09 15:11 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added post-build rules to executables and libraries. Generalized AppendLibDepend method to AppendAnyDepend. This takes most of the functionality of AppendCustomDepend too, and generalized jump-and-build to executables. 2004-12-09 13:52 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Implemented utility targets. This involved pulling part of the custom command rule implementation out into shared methods. 2004-12-09 05:12 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-08 05:05 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-07 05:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-06 12:39 hoffman * Modules/Platform/: Tru64.cmake, True64.cmake: FIX: fix for bug 1325, Tru64 not True64 2004-12-06 12:38 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalUnixMakefileGenerator.cxx: BUG: fix for bug 1396, object files could not be used as sources any more 2004-12-06 11:10 hoffman * ChangeLog.manual, Source/cmCTest.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx, Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h, Utilities/Release/cmake_release.sh: merge from main tree 2004-12-06 05:00 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-05 04:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-04 04:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-03 09:25 martink * Source/CMakeLists.txt: ENH: minor fix for windows 2004-12-03 09:05 martink * Source/cmMakefile.cxx: ENH: fix for relative paths 2004-12-03 06:27 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-02 13:14 hoffman * Source/cmMakefile.cxx: BUG: fix for 1369 before include directories need to be always added 2004-12-02 12:33 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix for bug 1385, /tmp should not be used on windows 2004-12-02 06:13 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-12-01 07:28 king * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Need to choose between and based on whether standard headers are available. 2004-12-01 07:24 king * Source/kwsys/: kwsys_ios_fstream.h.in, kwsys_ios_iostream.h.in: COMP: Disabling old streams warnings when including old headers on MSVC. 2004-12-01 06:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-30 18:20 king * Source/kwsys/kwsys_ios_sstream.h.in: BUG: Need to include header to use placement new syntax. Really this should be fixed by replacing the stream buffer to set a new string instead of reconstructing the object, but this will require quite a bit of work to do portably. 2004-11-30 06:29 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-29 06:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-28 06:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-27 06:28 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-26 06:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-25 06:19 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-24 09:25 andy * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: ENH: Add support for proxy authentication (thanks Jean-Michel) 2004-11-24 05:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-23 17:34 hoffman * Modules/Platform/AIX.cmake: ENH: try and fix aix xlC with gcc 2004-11-23 17:28 hoffman * Modules/Platform/AIX.cmake: ENH: try and fix aix xlC with gcc 2004-11-23 14:07 hoffman * Modules/Platform/AIX.cmake: ENH: try to fix aix with native cxx and gcc 2004-11-23 10:48 andy * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Make more things XML safe 2004-11-23 05:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-22 05:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-21 05:44 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-20 05:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-19 09:42 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Moved custom command rule files into special CMakeCustomCommands.dir subdirectory. 2004-11-19 09:32 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Unified WriteDependRules, WriteBuildRules, WriteCleanRules, and the future WriteInstallRules into a single WritePassRules method. Also added WriteTargetDependsRule and WriteTargetCleanRule methods to unify writing of depend and clean rules for each target. 2004-11-19 05:41 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-18 08:25 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-17 08:33 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-16 08:16 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-15 09:39 martink * Source/ctest.cxx: COMP: fix warning 2004-11-15 08:22 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-14 08:21 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-13 09:55 martink * Source/: cmCTest.cxx, ctest.cxx, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH: added -U option to take union of -R and -I 2004-11-13 08:15 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-12 05:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-11 17:40 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Another linker error on sun 2004-11-11 05:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-10 15:39 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: FIX: make sure the object file name is correctly mangled for depend information 2004-11-10 13:15 martink * CMakeLists.txt, CTestCustom.ctest.in: ENH: added custom supp for cmake 2004-11-10 10:24 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-09 09:57 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-08 05:46 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-07 05:45 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-06 05:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-05 15:09 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added partial clean target support. 2004-11-05 15:03 king * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: Moved code that checks output path variables to separate ConfigureOutputPaths method. Needed to provide access to the same code from a subclass. 2004-11-05 07:39 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Implemented VERBOSE output setting. 2004-11-05 05:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-04 05:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-03 15:43 martink * Source/kwsys/SystemTools.cxx: ENH: merges from the main tree 2004-11-03 11:02 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Generalized driver targets and subdirectory traversal rules. The implementations of all, depend, build, clean, install, etc. now follow a common framework. 2004-11-03 08:59 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Removed unneeded requires rules now that canonical names are available. 2004-11-03 08:46 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added convenience rules to build targets without specifying full paths. 2004-11-03 07:51 king * Source/: cmExportLibraryDependencies.cxx, cmGeneratedFileStream.cxx, cmGeneratedFileStream.h, cmGlobalVisualStudio7Generator.cxx, cmLocalGenerator.cxx, cmLocalKdevelopGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator2.cxx, cmVTKMakeInstantiatorCommand.cxx: STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity. 2004-11-03 07:27 king * Source/: cmGlobalVisualStudio7Generator.cxx, cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: COMP: Fix new cmGeneratedFileStream for MSVC. 2004-11-03 07:23 king * bootstrap, Source/CMakeLists.txt, Source/cmExportLibraryDependencies.cxx, Source/cmGeneratedFileStream.cxx, Source/cmGeneratedFileStream.h, Source/cmLocalGenerator.cxx, Source/cmLocalKdevelopGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator2.cxx, Source/cmVTKMakeInstantiatorCommand.cxx: ENH: Re-implemented cmGeneratedFileStream to look like a real stream and replace the destination file atomically. This will avoid problems with the process being terminated while generating a file. 2004-11-03 05:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-02 18:09 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added partial RC language dependency scanning (just using C dependencies for now). 2004-11-02 17:38 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added dependencies between libraries. 2004-11-02 17:19 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Removed debugging output. 2004-11-02 17:14 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Implemented generation of custom command rule files. 2004-11-02 17:11 andy * Source/kwsys/SystemTools.cxx: COMP: Remove compile warning 2004-11-02 08:32 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: BUG: Fixed subdirectory implementation for Borland Make. 2004-11-02 07:36 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Implemented subdirectory rules for all target. 2004-11-02 04:49 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-11-01 16:57 hoffman * Source/kwsys/SystemTools.cxx, Tests/Dependency/CMakeLists.txt, Tests/Dependency/1/CMakeLists.txt, Tests/Dependency/1/OneSrc.c: BUG: add a test for a single char dir, and fix bug introduced in 1.53, but we still can not handle a space as the start of a directory name 2004-11-01 04:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-31 03:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-30 04:32 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-29 18:15 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added framework for subdirectory traversal. 2004-10-29 17:18 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Dependency makefile lines must be at least three characters long to hold a dependency. 2004-10-29 16:50 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h, cmake.cxx, cmake.h: ENH: Added build system integrity check to cmLocalUnixMakefileGenerator2. This now uses a special --check-build-system flag to cmake which replaces --check-rerun. Integrity of dependencies is also checked during generation. 2004-10-29 15:32 hoffman * Source/cmLocalGenerator.cxx: FIX: fix shared flag 2004-10-29 15:31 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove debug print 2004-10-29 14:57 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fixes for Borland Make. 2004-10-29 13:55 king * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fixes for NMake. 2004-10-29 13:04 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Changed AppendRecursiveMake to GetRecursiveMakeCall and implemented jump-and-build on Windows and UNIX. 2004-10-29 11:42 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/TestCXXAcceptsFlag.cmake, Source/cmCTest.cxx, Source/cmCacheManager.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Tests/Complex/Executable/A.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/A.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/A.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/LoadCommand/LoadedCommand.cxx, Tests/LoadCommandOneConfig/LoadedCommand.cxx, Utilities/Release/cmake_release.sh: move 2.0.5 to LatestRelease 2004-10-29 10:52 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Cleaned up format of generated makefiles. Consolidated rule generation into single WriteMakeRule method. Added special targets like rebuild_cache and edit_cache. 2004-10-29 04:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-28 15:40 hoffman * Source/cmIncludeDirectoryCommand.cxx: ENH: add a check for empty include directories 2004-10-28 15:31 hoffman * CMakeLists.txt, Utilities/Release/cmake_release.sh: Create CMake2.0.5 version 2004-10-28 07:46 king * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Fix local shadow warnings. 2004-10-28 07:43 king * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Fix for Mac specific code. 2004-10-28 04:36 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-27 16:00 hoffman * Source/cmMakefile.cxx: ENH: look in the windows LIB env variable for libraries 2004-10-27 16:00 hoffman * Source/cmGlobalKdevelopGenerator.cxx: DOC: documentation change 2004-10-27 15:58 hoffman * ChangeLog.manual, Modules/TestCXXAcceptsFlag.cmake, Source/cmCacheManager.cxx, Source/cmLocalUnixMakefileGenerator.cxx: ENH: merge from main tree bug fixes 2004-10-27 12:05 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Do not try to handle unimplemented target types yet. Fixes for projects with subdirectories. 2004-10-27 11:26 andy * Source/cmakemain.cxx: BUG: If bootstrap cmake is run with no argument produce error 2004-10-27 10:53 hoffman * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: ENH: put error checking for missing linker languages 2004-10-27 10:47 andy * bootstrap, Source/cmFileCommand.cxx, Source/cmFindPackageCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx: PERF: Remove several classes from the bootstrap and so making bootstrap smaller and faster 2004-10-27 10:45 andy * Source/CursesDialog/ccmake.cxx: STYLE: Remove unused code 2004-10-27 10:45 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added executable dependencies on libraries including jump-and-build support. 2004-10-27 10:45 andy * Modules/TestCXXAcceptsFlag.cmake: BUG: Check for the variable first time 2004-10-27 08:49 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Add a space before the : only if the target name is one letter long. This works around bugs in some shells' tab completion of target names. 2004-10-27 08:47 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added generation of rules for shared libraries and modules. 2004-10-27 08:20 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added rules to build executables. Also began to consolidate flag list construction into separate methods. 2004-10-27 04:37 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-26 20:13 andy * Source/cmCacheManager.cxx: BUG: Handle DOS files un unix file systems 2004-10-26 17:23 andy * Modules/TestCXXAcceptsFlag.cmake: BUG: Only test for cxx flags the first time around 2004-10-26 16:07 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Do not generate touch rule for target level dependencies. There are no build-time dependencies by default. 2004-10-26 15:03 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: move stuff from main tree to branch 2004-10-26 14:49 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added generation of rule to build object file. 2004-10-26 14:33 hoffman * Source/kwsys/SystemTools.cxx: ENH: handle read only directories with configure file destination 2004-10-26 14:12 hoffman * ChangeLog.manual, Source/cmCTest.cxx: ENH: merge from main tree 2004-10-26 13:00 king * Source/cmLocalUnixMakefileGenerator2.cxx: ERR: Missing std:: on endl. 2004-10-26 12:55 king * Source/cmake.cxx: ENH: Added object file dependency scanning to cmLocalUnixMakefileGenerator2. This needs a hook in cmake.cxx. 2004-10-26 12:54 king * bootstrap, Source/CMakeLists.txt: ENH: Added cmLocalUnixMakefileGenerator2 to build. 2004-10-26 12:53 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Added object file dependency scanning. 2004-10-26 10:24 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Handle more REMARKS on SGI 2004-10-26 10:15 king * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Split part of GetIncludeFlags method into separate GetIncludeDirectories method. 2004-10-26 08:45 andy * Source/kwsys/SystemTools.hxx.in: COMP: Attempt to fix warnings on SGI 2004-10-26 04:40 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-25 16:39 hoffman * Source/: cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h: ENH: add some more comments 2004-10-25 15:08 hoffman * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.cxx, LoadCommand/LoadedCommand.h.in, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.cxx, LoadCommandOneConfig/LoadedCommand.h.in: ENH: clean up loaded command test so you can tell what really failed 2004-10-25 13:40 hoffman * Source/cmSystemTools.cxx: COMP: remove an unused variable warning 2004-10-25 13:24 hoffman * ChangeLog.manual, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/LoadCommand/LoadedCommand.cxx, Tests/LoadCommandOneConfig/LoadedCommand.cxx: ENH: move stuff from main tree to fix the runsingle program mess 2004-10-25 13:16 hoffman * Source/cmSystemTools.cxx, Source/cmSystemTools.h, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: FIX: go back to not trying to handle spaces in the path for run single command and comment it so that people know to call the right thing 2004-10-25 12:26 hoffman * Source/cmLocalKdevelopGenerator.cxx: COMP: remove warnings 2004-10-25 12:15 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: add test back for single char exe 2004-10-25 11:59 hoffman * Source/cmSystemTools.cxx, Tests/LoadCommand/LoadedCommand.cxx, Tests/LoadCommandOneConfig/LoadedCommand.cxx: FIX: fix RunSingleCommand to work with spaces in the path, and with an already quoted command 2004-10-25 10:04 andy * Source/CMakeLists.txt: ENH: Allow disabling of long running tests 2004-10-25 04:34 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-24 11:38 andy * Source/cmVersion.cxx: STYLE: Nightly Version update 2004-10-22 21:52 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: remove run program test until run single command is fixed 2004-10-22 21:03 hoffman * Source/cmSystemTools.cxx: undo last check in as it breaks borland with spaces some how 2004-10-22 17:51 hoffman * ChangeLog.manual, Source/cmCTest.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmSystemTools.cxx, Source/kwsys/SystemTools.cxx, Tests/Complex/Executable/A.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/A.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/A.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: fixes from main tree 2004-10-22 17:05 hoffman * Tests/: Complex/Executable/A.cxx, ComplexOneConfig/Executable/A.cxx, ComplexRelativePaths/Executable/A.cxx: ENH: add missing file 2004-10-22 17:00 hoffman * Source/cmLocalUnixMakefileGenerator.cxx, Source/cmSystemTools.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: FIX: fix the problem where a target is a single character and nmake gets confused and add a test for it 2004-10-22 16:58 hoffman * Source/cmTarget.cxx: COMP: remove warnings 2004-10-22 15:45 andy * Source/CMakeLists.txt: COMP: Remove unnecessary commit 2004-10-22 15:44 andy * bootstrap, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmDocumentation.cxx, Source/cmDumpDocumentation.cxx, Source/cmVersion.cxx, Source/cmVersion.h, Source/cmake.cxx, Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add development version support in CMake 2004-10-22 10:19 hoffman * Source/cmLocalKdevelopGenerator.cxx: COMP: remove warning 2004-10-21 17:29 hoffman * ChangeLog.manual: add .0.5 2004-10-21 17:11 hoffman * ChangeLog.manual: add .0.5 2004-10-21 16:07 andy * Source/CTest/cmCTestTestHandler.cxx: BUG: Fix reporting of path and full command when test program was not found 2004-10-21 15:21 hoffman * Source/: cmLocalGenerator.cxx, cmTarget.cxx: COMP: fix warnings 2004-10-21 14:55 hoffman * Source/cmLocalGenerator.cxx: COMP: fix warning 2004-10-21 14:34 hoffman * Modules/CMakeDetermineFortranCompiler.cmake, Modules/Platform/Windows-g77.cmake, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmTarget.cxx, Source/cmTarget.h: ENH: add the ability to generate custom commands for a language that is not supported by an IDE 2004-10-21 13:34 andy * Source/CTest/cmCTestBuildHandler.cxx: BUG: Handle remarks on SGI properly 2004-10-21 11:58 hoffman * Source/: cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h: ENH: better support for kdevelop3 2004-10-20 12:37 andy * Source/kwsys/CommandLineArguments.cxx: COMP: Remove warning 2004-10-20 08:19 hoffman * Source/cmCTest.cxx: fix warning on LRB 2004-10-20 08:14 hoffman * Source/cmCTest.cxx: COMP: remove warning 2004-10-19 15:09 hoffman * CMakeLists.txt, ChangeLog.manual, Modules/CMakeTestForFreeVC.cxx, Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt, Source/cmAddExecutableCommand.cxx, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmFileCommand.cxx, Source/cmForEachCommand.cxx, Source/cmGlob.cxx, Source/cmGlob.h, Source/cmGlobalCodeWarriorGenerator.cxx, Source/cmGlobalCodeWarriorGenerator.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmIncludeExternalMSProjectCommand.cxx, Source/cmListFileLexer.c, Source/cmListFileLexer.h, Source/cmListFileLexer.in.l, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmSystemTools.h, Source/cmTryRunCommand.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmWin32ProcessExecution.h, Source/cmakemain.cxx, Source/kwsys/SystemTools.cxx, Tests/StringFileTest/CMakeLists.txt, Utilities/Release/cmake_release.sh, Utilities/Release/config_IRIX64: ENH: move 2.0.4 to LRB 2004-10-19 14:57 hoffman * ChangeLog.manual: update change log 2004-10-19 14:56 hoffman * Source/cmCTest.cxx: merge from main tree, add more warning cases to ctest 2004-10-19 14:51 hoffman * bootstrap: ENH: perfer gmake for bootstrap 2004-10-19 13:25 andy * Tests/CTestTest/test.cmake.in: ENH: Display version of ctest first 2004-10-19 13:25 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add regular expression for remarks on IRIX 2004-10-19 13:02 hoffman * Source/cmSystemTools.cxx: BUG: if the paths share nothing then just return the remote path with no .. 2004-10-19 12:48 andy * Source/cmCTest.cxx: BUG: Remove instances of // in the output 2004-10-19 12:38 andy * Source/cmCTest.cxx: EHN: Even more cleanup 2004-10-19 10:59 andy * Source/CMakeLists.txt, Tests/CTestTest/test.cmake.in: ERR: Fix problems on windows 2004-10-18 18:11 will * bootstrap: COMP: Fix on sun 2004-10-18 17:24 andy * Source/CMakeLists.txt: ENH: Remove bogus clean step 2004-10-18 15:37 andy * Source/CMakeLists.txt: BUG: Ok, this should make the test actually do something 2004-10-18 15:05 andy * Source/CMakeLists.txt: ENH: Do bootstrap test on all unix systems 2004-10-18 13:19 hoffman * Source/cmSystemTools.cxx: ENH: better comments and variable names 2004-10-18 12:33 andy * Source/CMakeLists.txt: ENH: Add bootstrap test 2004-10-18 11:48 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: make sure output path is used for target with canonical name 2004-10-18 11:34 andy * bootstrap: ENH: Add check for previous bootstrap in the source tree when doing out-of-source build 2004-10-17 22:47 andy * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: BUG: Fix output to match the Dart output 2004-10-17 22:47 andy * Source/CTest/cmCTestTestHandler.cxx: ENH: Cleanups and unify output 2004-10-17 22:46 andy * Source/kwsys/CMakeLists.txt: ENH: Specify full path to the executable 2004-10-17 22:46 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add method to get the relative path to source or build 2004-10-17 19:45 andy * Source/CTest/: cmCTestCoverageHandler.cxx, cmCTestCoverageHandler.h: ENH: Update to the new coverage code. It may not be perfect yet, but it is a start 2004-10-17 19:02 andy * Tests/CTestTest/test.cmake.in: ENH: Propagate more things 2004-10-17 18:50 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add method to find file in parent directories if it exists 2004-10-17 18:50 andy * Tests/CTestTest/test.cmake.in: ENH: Propagate MEMORYCHECK_COMMAND and COVERAGE_COMMAND to the CTest test 2004-10-17 18:49 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Handle coverage errors 2004-10-15 09:24 king * Source/: cmake.cxx, cmake.h: ENH: Added --check-rerun option to allow a runtime check of whether a new generate should really be done. 2004-10-15 09:23 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added FileTimeCompare method to compare file modification times. Currently the resolution is limited to one second. 2004-10-15 08:57 king * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added generation of rule to build object file. 2004-10-14 16:50 hoffman * Source/cmLocalGenerator.cxx: BUG: make sure all returns for ConvertToRelativeOutputPath get passed by ConvertToOutputPath 2004-10-14 15:09 hoffman * Source/cmLocalGenerator.cxx: BUG: now that system tools relative path works, clean up the convert to relative output path code 2004-10-14 11:59 hoffman * Source/cmLocalKdevelopGenerator.cxx: COMP: remove warning 2004-10-14 11:46 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h: BUG: allow split string to know if it is separating a path 2004-10-13 11:37 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h: BUG: fix and comment relative path funciton 2004-10-12 18:29 andy * Modules/Dart.cmake: ENH: If dart or ctest are not found, use ctest. For default drop location etc, support http submit (just set DROP_METHOD to http. Only look for tclsh if DART_ROOT is set 2004-10-12 10:57 hoffman * bootstrap, Source/CMakeLists.txt: allow kdevelop for cygwin 2004-10-12 10:22 hoffman * Source/cmLocalKdevelopGenerator.cxx: BUG: remove bad headers 2004-10-12 09:50 hoffman * bootstrap, Source/cmake.cxx: BUG: do not build kdevlop stuff when bootstrapping 2004-10-11 16:35 andy * Source/cmLocalKdevelopGenerator.cxx: ENH: Support not writing files to the source tree. Generate single project file for whole project, some other little cleanups 2004-10-11 15:25 andy * Source/cmLocalKdevelopGenerator.cxx: BUG: Fix generated XML 2004-10-11 14:47 andy * Source/CMakeLists.txt: STYLE: Remove anoying message 2004-10-11 13:57 andy * Source/cmCTest.cxx: BUG: On Windows, remove extra CR characters. Hopefully this will result in not duplicated new-lines 2004-10-11 11:57 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix split program from args to not get stuck in an infinite loop in some cases 2004-10-11 11:55 hoffman * Modules/CMakeTestCXXCompiler.cmake: ENH: make sure the c++ compiler is a c++ compiler 2004-10-11 11:47 hoffman * bootstrap: ENH: add kdev to bootstrap 2004-10-11 11:32 hoffman * Source/: CMakeLists.txt, cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h, cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h, cmake.cxx: NEW: add kdevelop patch from Alexander Neundorf 2004-10-11 08:02 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ERR: Replaced std::string with kwsys_stl::string for portability. 2004-10-10 12:14 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add method to retrieve parent directory and for checking if directory is a subdirectory of another directory 2004-10-06 12:41 hoffman * ChangeLog.manual, Source/cmAddExecutableCommand.cxx: FIX: merge from main tree mac bundle fix 2004-10-06 12:25 hoffman * ChangeLog.manual, Source/cmCTest.cxx, Source/cmCTest.h: ENH: merge from main tree fix for build overview page 2004-10-05 16:16 andy * Source/CMakeLists.txt: ERR: Too much commits 2004-10-05 16:14 andy * Source/: CMakeLists.txt, cmCTest.cxx, CTest/CMakeLists.txt, CTest/cmCTestSubmit.cxx: PERF: Several cleanups, and remove need for Curl directory to be in include path 2004-10-05 11:37 hoffman * Source/cmake.cxx: FIX: correctly handle if path table can not open 2004-10-05 11:29 hoffman * bootstrap: ENH: pick native compilers first, and aCC before CC 2004-10-05 10:59 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix realpath problem and unix slashes 2004-10-05 10:13 andy * Source/CTest/cmCTestSubmit.cxx: ERR: Fix TRUE build problem and replace error couts with cerrs 2004-10-05 10:00 andy * Source/cmCTest.cxx: ERR: Fix Windows build 2004-10-05 09:25 martink * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: COMP: fix some compile issues with insert 2004-10-05 09:01 martink * Source/cmake.cxx: COMP: fix bad include file 2004-10-05 08:49 andy * bootstrap: ERR: Fix bootstrap 2004-10-05 08:33 andy * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake, CheckTypeSize.c: ENH: Add option of adding random include files before doing CheckTypeSize 2004-10-05 08:32 andy * Modules/CheckIncludeFiles.cmake: ENH: When test fails, write out the output 2004-10-04 16:15 king * Source/: cmLocalUnixMakefileGenerator2.cxx, cmLocalUnixMakefileGenerator2.h: ENH: Started new makefile generator implementation. It will temporarily be called cmLocalUnixMakefileGenerator2 until it is ready to replace the original completely. 2004-10-04 12:31 martink * CMake.rtf, Source/cmake.cxx, Source/cmake.h, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in: ENH: Mathieus support for path conversions 2004-10-04 12:02 andy * Tests/CTestTest/test.cmake.in: BUG: Use kwsys from the source tree 2004-10-04 08:06 andy * Tests/CTestTest/test.cmake.in: ENH: Better sorting of results 2004-10-03 07:27 andy * Tests/CTestTest/test.cmake.in: BUG: Fix problem with spaces in the path 2004-10-03 07:14 andy * Source/ctest.cxx: BUG: Attempt to remove memory leak 2004-10-01 13:23 andy * Source/CTest/cmCTestBuildHandler.cxx: BUG: Add regular expression to vector 2004-10-01 13:10 andy * Tests/CTestTest/test.cmake.in: ENH: Use existing CTest and cmake 2004-10-01 12:21 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h: ENH: Add CTEST_EXECUTABLE_NAME to CTest scripting. This way you do not have to specify ctest executable in CTEST_COMMAND, but just a variable 2004-10-01 11:36 king * Source/kwsys/testProcess.c: ERR: Added missing include of string.h 2004-10-01 11:13 andy * Tests/CTestTest/test.cmake.in: ENH: Let us recognize it on the dashboard 2004-09-30 18:45 andy * Source/CMakeLists.txt: ENH: Cleanup CTest test 2004-09-30 18:45 andy * Tests/CTestTest/test.cmake.in: ENH: Do kwsys instead of CMake 2004-09-30 18:06 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ERR: Fix for non-gcc/icc compilers 2004-09-30 17:42 king * Source/kwsys/testProcess.c: ENH: Added optional display of output for tests. Avoid printing alot of output for test 6. 2004-09-30 17:27 andy * Source/CTest/cmCTestBuildHandler.h: ERR: Fix error 2004-09-30 16:24 andy * bootstrap: BUG: Check if the compiler is gnu. If it is, do not do special platform tests. Fixes Bug #1215 - bootstrap uses native flags with gnu compiler on OSF 2004-09-30 16:20 andy * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h: ENH: Add support for SourceFile and LineNumber 2004-09-29 16:07 hoffman * Source/: cmCTest.h, cmCacheManager.cxx, cmCacheManager.h, cmDynamicLoader.cxx, cmGlobalGenerator.cxx, cmLoadCacheCommand.cxx, cmLocalUnixMakefileGenerator.cxx, cmMakefile.cxx, cmTarget.cxx, cmakewizard.cxx: ENH: shorten the symbols a bit and remove maps of std::string for map of cmStdString 2004-09-29 14:14 andy * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: BUG: Remove maximum size of test output 2004-09-29 13:21 andy * Source/kwsys/SystemTools.hxx.in: ERR: Fix Windows build 2004-09-29 12:20 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Move permissions code to kwsys so that copyfile can use it. Fixes Bug #1133 - cmake -E copy file dir sets the wrong permissions on the destination directory 2004-09-29 11:52 andy * Source/CTest/cmCTestScriptHandler.cxx: BUG: If extra update failes, continue with dashboard. Closes Bug #894 - Fatal CVS update error kills test, and is not reported 2004-09-29 11:18 andy * Source/kwsys/SystemTools.cxx: ENH: When copy file, if the output file exits, delete it first 2004-09-29 08:58 andy * Source/kwsys/CMakeLists.txt: ENH: Allow CMake to use CommandLineArguments without warning 2004-09-29 08:34 andy * Source/kwsys/CommandLineArguments.hxx.in: ENH: Add lots of comments 2004-09-29 07:56 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Add access to last argument parsed 2004-09-28 17:51 andy * CMakeLists.txt: ENH: Enable Command Line Arguments 2004-09-28 17:51 andy * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: ENH: Move all extracting of variables to ExtractVariables. This way it is easy to know what variables are used 2004-09-28 11:34 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Add accessor for Argv0 2004-09-28 09:00 andy * Source/CTest/: cmCTestScriptHandler.h, cmCTestScriptHandler.cxx: ENH: Add some documentation 2004-09-27 16:33 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: make sure release flags are replaced 2004-09-27 15:21 hoffman * Source/CMakeLists.txt: ENH: allow for a different jni.h to enable java testing 2004-09-27 15:15 hoffman * Source/CMakeLists.txt: ENH: allow for a different jni.h to enable java testing 2004-09-27 15:11 hoffman * Source/CMakeLists.txt: space in path problem 2004-09-27 14:39 hoffman * Source/CMakeLists.txt: ENH: use jni.h to determine java version 2004-09-27 14:35 hoffman * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx, Utilities/Release/cmake_release.sh: merge from main tree and change version to 2.0.4 2004-09-27 14:21 hoffman * Source/CMakeLists.txt: ENH: use jni.h to determine java version 2004-09-27 13:36 andy * Source/cmCTest.cxx: BUG: If notes file is missing, create empty notes file with error message 2004-09-27 13:03 hoffman * Tests/Fortran/CMakeLists.txt: clean up output of test and force verbose makefiles 2004-09-27 11:36 hoffman * Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeJavaInformation.cmake, Source/cmLocalUnixMakefileGenerator.cxx: BUG: make sure java jar files are not libfoo.jar but are just foo.jar 2004-09-27 11:03 hoffman * Source/CMakeLists.txt: ENH: better message for skipping java 2004-09-27 09:49 andy * Modules/Documentation.cmake: ENH: Replace INCLUDE(Find...) with FIND_PACKAGE(...) 2004-09-24 16:54 hoffman * Source/CMakeLists.txt: ENH: use correct args for test of java 2004-09-24 16:34 hoffman * Tests/Java/: CMakeCheckJavaPath.java, CMakeLists.txt: try and get this java test to work 2004-09-24 16:34 hoffman * Source/CMakeLists.txt: ENH: only use newer java for testing 2004-09-24 15:40 hoffman * Tests/Java/: CMakeCheckJavaPath.java, CMakeLists.txt: ENH: add some java code to try and find the system path 2004-09-24 14:37 hoffman * Modules/: CMakeCXXInformation.cmake, CMakeFortranInformation.cmake, CMakeSystemSpecificInformation.cmake: BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 2004-09-24 11:35 martink * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix crash with vs6 2004-09-24 11:34 martink * Source/CMakeLists.txt: ENH: check for all parts of java 2004-09-24 11:05 hoffman * Tests/Java/CMakeLists.txt: ENH: remove classpath so that this test passes with older java compilers that clober the system class path with the -classpath option 2004-09-24 10:07 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: replace all enabled languages in rule vars 2004-09-24 09:34 hoffman * Source/cmGlobalGenerator.cxx: ENH: change ignore function so that it first checks to see if the extension has a language 2004-09-24 09:11 hoffman * Modules/Platform/Darwin.cmake: ENH: use c++ with c++ and c flags with c 2004-09-24 08:39 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: correctly ignore files 2004-09-23 17:49 hoffman * Source/CMakeLists.txt: temporary fix to try and get a clean dashboard 2004-09-23 15:02 andy * Source/kwsys/CommandLineArguments.cxx: ERR: Fix memory problem 2004-09-23 11:53 andy * Source/kwsys/CommandLineArguments.cxx: STYLE: Only allocate as much space as needed 2004-09-23 11:45 andy * Source/kwsys/CommandLineArguments.cxx: ENH: Make GetRemainingArguments actually work 2004-09-23 11:44 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: only replace the language being used in expand rule variables 2004-09-23 09:11 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: STYLE: remove warning 2004-09-23 09:08 hoffman * Source/cmTryCompileCommand.cxx: remove warning 2004-09-23 08:51 hoffman * Modules/CMakeRCInformation.cmake, Source/cmGlobalGenerator.cxx: ENH: fix problems with .def and RC files 2004-09-23 08:20 hoffman * CMakeLists.txt: ENH: make sure cmake has 2.0 2004-09-23 07:53 andy * bootstrap: ENH: Attempt to detect a non-parallel make 2004-09-22 17:50 hoffman * Source/cmTarget.cxx: BUG: fix perfered linker language code 2004-09-22 17:41 hoffman * Tests/Java/CMakeLists.txt: use verbose makefiles 2004-09-22 16:51 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: make it verbose 2004-09-22 16:44 hoffman * Source/cmLocalVisualStudio6Generator.cxx: fix compilation 2004-09-22 15:14 hoffman * Source/cmProjectCommand.cxx: remove warnings 2004-09-22 14:52 hoffman * Modules/CMakeJavaInformation.cmake: BUG: let the generator quote the path 2004-09-22 14:42 hoffman * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeCXXInformation.cmake, Modules/CMakeCommonLanguageInclude.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeDetermineRCCompiler.cmake, Modules/CMakeFortranInformation.cmake, Modules/CMakeGenericSystem.cmake, Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeJavaInformation.cmake, Modules/CMakeRCCompiler.cmake.in, Modules/CMakeRCInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestJavaCompiler.cmake, Modules/CMakeTestRCCompiler.cmake, Modules/Platform/AIX.cmake, Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Linux-como.cmake, Modules/Platform/Linux.cmake, Modules/Platform/MP-RAS.cmake, Modules/Platform/NetBSD.cmake, Modules/Platform/OSF1.cmake, Modules/Platform/RISCos.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/ULTRIX.cmake, Modules/Platform/UNIX_SV.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt, Source/cmCommands.cxx, Source/cmEnableLanguageCommand.cxx, Source/cmEnableLanguageCommand.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmProjectCommand.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTryCompileCommand.cxx, Source/cmTryRunCommand.cxx, Tests/Fortran/CMakeLists.txt, Tests/Java/A.java, Tests/Java/CMakeLists.txt, Tests/Java/HelloWorld.java: ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 10:06 hoffman * Source/CMakeLists.txt: ENH: only try to use fortran if the generator is make based 2004-09-22 08:50 hoffman * Modules/CMakeFortranCompiler.cmake.in: BUG: fix GNU check variable and add new variables used by enable language 2004-09-21 12:51 hoffman * Source/cmListFileLexer.h: merge from main tree 2004-09-21 12:47 hoffman * ChangeLog.manual, Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Tests/StringFileTest/CMakeLists.txt: merge from main tree 2004-09-20 14:39 hoffman * Modules/FindJava.cmake: ENH: look for java in more places 2004-09-20 13:47 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: branch only fix for VSExternalInclude 2004-09-20 08:51 king * Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Tests/StringFileTest/CMakeLists.txt: BUG#1179: Fix for syntax in unquoted arguments. 2004-09-17 16:46 hoffman * ChangeLog.manual, Source/CMakeLists.txt, Source/cmForEachCommand.cxx, Source/cmGlob.cxx, Source/cmGlob.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmIncludeExternalMSProjectCommand.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmWin32ProcessExecution.h, Source/cmakemain.cxx, Source/kwsys/SystemTools.cxx, Tests/VSExternalInclude/CMakeLists.txt, Tests/VSExternalInclude/main.cpp, Tests/VSExternalInclude/Lib1/CMakeLists.txt, Tests/VSExternalInclude/Lib1/lib1.cpp, Tests/VSExternalInclude/Lib1/lib1.h, Tests/VSExternalInclude/Lib2/CMakeLists.txt, Tests/VSExternalInclude/Lib2/lib2.cpp, Tests/VSExternalInclude/Lib2/lib2.h: merge from main tree 2004-09-17 16:00 hoffman * Source/cmLocalVisualStudio6Generator.cxx: merge from main tree bug 1041 2004-09-17 15:57 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for bug 1041, _MBCS sometimes added for UNIICODE which is bad 2004-09-17 09:14 hoffman * Modules/CMakeJavaCompiler.cmake.in: BUG: commit bug 1123 2004-09-17 09:01 hoffman * Source/cmProjectCommand.h: BUG: 1163 fix documentation 2004-09-16 17:16 hoffman * Source/cmFileCommand.cxx: merge from main tree fix bug 1122 2004-09-16 17:13 andy * Source/CTest/cmCTestBuildHandler.cxx: ENH: Attempt to handle Intel's remarks. Close Bug #1156 - Better support for icc 'remark' 2004-09-16 12:39 andy * Source/kwsys/SystemTools.cxx: ENH: Add missing include 2004-09-16 10:58 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add method to retrieve the terminal width 2004-09-16 10:49 andy * Source/kwsys/CommandLineArguments.cxx: ENH: a bit more cleanup. The help should really be replaced by something like cmDocumentation 2004-09-16 10:48 martink * Source/cmGlobalVisualStudio6Generator.cxx, Tests/VSExternalInclude/CMakeLists.txt: BUG: fix VSExternal for visual studio 6 2004-09-16 10:27 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Condense help string, add support for setting line length and make it work 2004-09-15 15:15 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx: BUG: fix external project command for VS 7 and 71 2004-09-15 14:08 andy * Source/: cmGlob.cxx, cmGlob.h: ENH: Remove double slash 2004-09-15 13:33 andy * Source/cmGlob.cxx: BUG: Attempt to fix bug on Windows (and apple) where files returned are all lowercase 2004-09-15 13:31 andy * Source/cmForEachCommand.cxx: BUG: Propagate file name and line number inside FOREACH. Fixes Bug #1169 - Erro messages inside FOREACH have bad filename and line number 2004-09-15 13:03 hoffman * Source/cmGlobalVisualStudio7Generator.cxx: ENH: fix for vs 70 generator 2004-09-15 12:07 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmIncludeExternalMSProjectCommand.cxx, cmLocalVisualStudio7Generator.cxx: ENH: clean up of INCLUDE_EXTERNAL_MSPROJECT contributed by Clinton Stimpson 2004-09-15 11:31 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: make sure env CC and CXX are not set for VS IDE builds 2004-09-15 10:35 martink * Tests/VSExternalInclude/CMakeLists.txt: ENH: produce better output 2004-09-15 10:32 martink * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineFortranCompiler.cmake: ENH: do not check for gnu for visual studio 2004-09-15 09:22 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Move callback structure out of the public interface. Also block the warning on Visual Studio Debug 2004-09-14 16:34 hoffman * Tests/VSExternalInclude/: CMakeLists.txt: ENH: add a test for external projects 2004-09-14 16:01 hoffman * Source/CMakeLists.txt, Tests/VSExternalInclude/CMakeLists.txt, Tests/VSExternalInclude/main.cpp, Tests/VSExternalInclude/Lib1/CMakeLists.txt, Tests/VSExternalInclude/Lib1/lib1.cpp, Tests/VSExternalInclude/Lib1/lib1.h, Tests/VSExternalInclude/Lib2/CMakeLists.txt, Tests/VSExternalInclude/Lib2/lib2.cpp, Tests/VSExternalInclude/Lib2/lib2.h: ENH: add a test for external projects 2004-09-14 14:05 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmIncludeExternalMSProjectCommand.cxx: bug fixes for external projects 2004-09-14 11:48 martink * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ERR: Fix borland build 2004-09-14 11:39 andy * Source/kwsys/CommandLineArguments.cxx: ERR: Add missing include 2004-09-14 10:34 andy * Source/kwsys/: CommandLineArguments.cxx, CommandLineArguments.hxx.in: ENH: Use const correctness for arguments 2004-09-14 09:19 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: fix include external project bug 2004-09-13 19:06 andy * Source/kwsys/: CommandLineArguments.cxx, testCommandLineArguments.cxx: ERR: More missing ios and includes 2004-09-13 18:57 andy * Source/kwsys/CommandLineArguments.cxx: ERR: Fix IOS namespace 2004-09-13 16:15 andy * Source/kwsys/: CMakeLists.txt, CommandLineArguments.cxx, CommandLineArguments.hxx.in, testCommandLineArguments.cxx: ENH: Move command line argument parsing code to kwsys 2004-09-10 14:40 hoffman * Source/: cmCTest.cxx, cmakemain.cxx: ENH: fix warning correctly 2004-09-10 11:19 andy * CMakeLists.txt: ENH: Add warning messages if curses library is not found 2004-09-10 11:15 andy * Modules/FindQt.cmake: ENH: Use FIND_PACKAGE instead of INCLUDE(Find... 2004-09-10 08:42 martink * Source/cmCTest.cxx: fix dash8 warning 2004-09-10 08:30 martink * Source/CTest/cmCTestTestHandler.h: fix HPUX bugs 2004-09-09 16:05 hoffman * Modules/Platform/Linux-ifort.cmake: add ifort support 2004-09-09 12:58 hoffman * Source/: cmCTest.cxx, cmakemain.cxx: WAR: remove a warning on i64 2004-09-09 11:50 hoffman * Modules/Platform/HP-UX.cmake: try to fix fortran on hp 2004-09-09 10:52 martink * Source/CTest/cmCTestTestHandler.cxx: missing include 2004-09-09 09:31 martink * Source/CTest/cmCTestCoverageHandler.cxx: missing include 2004-09-09 08:41 martink * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h, CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateHandler.cxx: more cleanup of ctest 2004-09-08 17:53 hoffman * Tests/Fortran/CMakeLists.txt: ENH: add more output for fortran so I can figure out what is going on with other fortran compilers 2004-09-08 10:41 hoffman * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: BUG: don't close the pipes too early 2004-09-07 16:55 hoffman * Source/: cmCacheManager.cxx, cmDumpDocumentation.cxx, cmEnableTestingCommand.cxx, cmExportLibraryDependencies.cxx, cmGlobalCodeWarriorGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmTryCompileCommand.cxx, cmUseMangledMesaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: ENH: add better error reporting for file open failures 2004-09-07 16:03 hoffman * Source/: cmWin32ProcessExecution.cxx, kwsys/SystemTools.cxx: Fix leaked file and registry descriptors 2004-09-07 12:51 martink * Source/: cmCTest.h, cmCTest.cxx: duh errors 2004-09-07 11:45 martink * Source/: cmCTest.cxx, cmCTest.h: more warnings 2004-09-07 11:28 martink * Source/CTest/cmCTestScriptHandler.cxx: more warnings 2004-09-07 10:46 martink * Source/cmCTest.cxx: more cleanup 2004-09-07 10:37 martink * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h: more cleanup 2004-09-07 09:17 martink * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, CTest/cmCTestConfigureHandler.cxx, CTest/cmCTestConfigureHandler.h, CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h, CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h: some bug fixes for my recent checkins and some more cleanup 2004-09-06 14:43 martink * Source/CTest/cmCTestScriptHandler.cxx: another platform fix 2004-09-06 14:17 martink * Source/CTest/cmCTestScriptHandler.h: another platform fix 2004-09-06 13:54 martink * Source/cmCTest.cxx: jesus 2004-09-06 13:37 martink * Source/CMakeLists.txt: oops 2004-09-06 12:49 martink * Source/kwsys/SystemTools.cxx: fix warning 2004-09-06 12:46 martink * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h: starting cleanup of ctest 2004-09-06 12:46 martink * Source/cmGlobalGenerator.cxx: warning fix 2004-09-06 12:45 martink * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: broke out part of test scripting into seperate class 2004-09-03 15:47 hoffman * ChangeLog.manual, Modules/CMakeTestForFreeVC.cxx, Modules/Platform/Windows-cl.cmake: merge from main tree fix for free vc tools 2004-09-03 15:19 hoffman * Modules/: CMakeTestForFreeVC.cxx, Platform/Windows-cl.cmake: ENH better test for free VC tools 2004-09-03 13:49 hoffman * Source/cmGlobalCodeWarriorGenerator.cxx: remove warning 2004-09-03 13:48 hoffman * Source/cmGlobalCodeWarriorGenerator.cxx: fix for darwin 2004-09-03 13:24 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator.cxx: ENH: remove warnings 2004-09-03 12:03 hoffman * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeFortranCompiler.cmake.in, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx: ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem 2004-09-03 12:01 hoffman * Modules/Platform/Windows-cl.cmake: ENH: check for ms free command line tools 2004-08-31 18:51 king * Source/cmListFileCache.cxx: BUG: Fixed line number of end of file error message. 2004-08-31 18:39 king * Source/: cmListFileCache.cxx, cmListFileLexer.c, cmListFileLexer.h, cmListFileLexer.in.l: BUG#1049: Added error message when file ends in an unterminated string. 2004-08-31 10:41 king * Source/cmFileCommand.cxx: BUG: Fix crash when CMAKE_DEBUG_POSTFIX is not set. 2004-08-31 10:20 andy * DartConfig.cmake: ENH: Cleanups 2004-08-31 08:25 king * Source/kwsys/kwsys_ios_iosfwd.h.in: ERR: Removed inclusion of fstream header. This file is meant as a compatibility header for iosfwd and therefore should not include any other header. Whatever was fixed by adding the include of fstream here should be fixed by other means. 2004-08-30 15:15 hoffman * ChangeLog.manual, Source/cmCTest.cxx: merge fixes from main tree 2004-08-30 14:07 hoffman * ChangeLog.manual, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmMakefile.cxx: fix RUN_TESTS and generated header files merge from main tree 2004-08-30 14:01 hoffman * ChangeLog.manual, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Source/cmSystemTools.h, Utilities/Release/cmake_release.sh: merge from main tree 2004-08-30 13:50 hoffman * Source/: cmSystemTools.h, kwsys/SystemTools.cxx: BUG: fixes for mingw and CMakesetup with spaces in the source directory 2004-08-30 12:14 hoffman * Modules/Platform/Windows-gcc.cmake: Make sure cmake uses consistent module prefixes 2004-08-27 09:55 hoffman * Source/cmMakefile.h: ENH: remove warning 2004-08-27 08:41 hoffman * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalBorlandMakefileGenerator.h, cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h, cmProjectCommand.cxx: ENH: try to initialize all languages at the same time 2004-08-26 22:52 andy * Modules/: CMakeBackwardCompatibilityC.cmake, CMakeBackwardCompatibilityCXX.cmake, Documentation.cmake, FindFLTK.cmake, FindGLU.cmake, FindGnuplot.cmake, FindOpenGL.cmake, FindPNG.cmake, FindPerl.cmake, FindPythonLibs.cmake, FindQt.cmake, FindSelfPackers.cmake, FindTCL.cmake, FindThreads.cmake, FindUnixCommands.cmake, FindVTK.cmake, FindWget.cmake, FindX11.cmake, FindwxWidgets.cmake, FindwxWindows.cmake, TestForANSIStreamHeaders.cmake, UseVTK40.cmake, Use_wxWindows.cmake, UsewxWidgets.cmake, Platform/CYGWIN-g77.cmake: ENH: Cleanup. Use relative path to modules 2004-08-26 21:43 hoffman * Modules/Platform/SunOS.cmake: hack to try and fix sun platform 2004-08-26 18:00 king * Docs/cmake-mode.el: BUG: Only count block open tokens if they are followed by an open paren. 2004-08-26 17:49 hoffman * Source/cmTryCompileCommand.cxx: ENH: try compiles in CXX require C to be enabled as well 2004-08-26 16:34 hoffman * Modules/CMakeDetermineFortranCompiler.cmake, Source/CMakeLists.txt: ENH: try to find fortran compiler before adding the test 2004-08-26 16:11 hoffman * Source/CMakeLists.txt: ENH: try to find fortran compiler before adding the test 2004-08-26 16:00 hoffman * Source/CMakeLists.txt: remove test fortran for now 2004-08-26 15:55 hoffman * Source/CMakeLists.txt: Add a fortran test if there is a fortran compiler 2004-08-26 15:50 hoffman * Modules/CMakeDetermineFortranCompiler.cmake, Source/CMakeLists.txt: Add a fortran test if there is a fortran compiler 2004-08-26 14:55 hoffman * Modules/CMake.cmake, Modules/CMakeCInformation.cmake, Modules/CMakeCXXInformation.cmake, Modules/CMakeCommonLanguageInclude.cmake, Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeFortranInformation.cmake, Modules/CMakeGenericSystem.cmake, Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeJavaInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/Platform/AIX.cmake, Modules/Platform/BSDOS.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Linux.cmake, Modules/Platform/MP-RAS.cmake, Modules/Platform/NetBSD.cmake, Modules/Platform/OSF1.cmake, Modules/Platform/OpenBSD.cmake, Modules/Platform/RISCos.cmake, Modules/Platform/SCO_SV.cmake, Modules/Platform/SINIX.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/True64.cmake, Modules/Platform/ULTRIX.cmake, Modules/Platform/UNIX_SV.cmake, Modules/Platform/UnixWare.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows-ifort.cmake, Modules/Platform/Xenix.cmake, Source/CMakeLists.txt, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmListFileCache.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmProjectCommand.cxx, Source/cmTryCompileCommand.cxx, Source/cmake.cxx, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/Fortran/CMakeLists.txt: ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 09:45 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Make default date shorter 2004-08-25 12:42 hoffman * Source/cmCTest.cxx: ENH: better error display for failure 2004-08-25 08:44 hoffman * Source/cmCTest.cxx: ENH: produce better error message for missing variables in -S mode 2004-08-24 11:30 andy * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fix the list of targets. The base target name now includes the MACOSX_BUNDLE path 2004-08-24 11:17 andy * Source/cmAddExecutableCommand.cxx: BUG: If macdir does not end with '/' then add it always, not just when adding current directory 2004-08-23 14:33 andy * Source/cmake.cxx: ENH: Implement PreLoad.cmake feature for CMakeSetup 2004-08-23 14:09 hoffman * Source/CTest/CMakeLists.txt: fix syntax 2004-08-23 13:45 hoffman * CMakeLists.txt, Source/CTest/CMakeLists.txt: ENH: fix out of the box build on sgi to match dashboards 2004-08-23 11:33 hoffman * Modules/FindJava.cmake: BUG: 1107 add extra place to look for java 2004-08-23 11:29 martink * Source/cmCTest.cxx: now will check out src dir if it has the necc info 2004-08-23 11:21 hoffman * Modules/FindJava.cmake: BUG: 1107 add extra place to look for java 2004-08-19 12:51 andy * Source/cmCTest.cxx: ENH: Handle gmake error message 2004-08-18 09:28 andy * Modules/CMakeSystemSpecificInformation.cmake: BUG: Unly set gcc flags for C compiler if CMAKE_COMPILER_IS_GNUCC is set 2004-08-18 08:52 andy * Source/cmCTest.cxx: BUG: When GetNightlyTime returns past time, fix everything. Also, return correct time when printing 2004-08-17 19:18 andy * Modules/Platform/Darwin-xlc.cmake: ENH: Initial import for Darwin using xlC 2004-08-17 16:13 andy * Source/CursesDialog/cmCursesMainForm.cxx: ENH: Reload PreLoad.cmake every time you do configure 2004-08-17 15:36 andy * Source/CursesDialog/cmCursesMainForm.cxx: ENH: Enable preload for ccmake 2004-08-17 15:36 andy * Source/: cmake.cxx, cmake.h: ENH: Move PreLoad.cmake code to public method so that ccmake and CMakeSetup can call it 2004-08-17 14:23 andy * Source/cmCTest.cxx: BUG: Attempt to fix timezone problem where start time appears one day before the actual start time. Also add verbosity to GetNightlyTime 2004-08-16 09:03 king * Utilities/Release/config_IRIX64: BUG: Need to set HAVE_LIBCRYPTO to 0 instead of letting the test be done. 2004-08-11 20:36 hoffman * Source/cmCTest.cxx: fix it 2004-08-11 16:58 hoffman * Source/: cmAbstractFilesCommand.cxx, cmAddExecutableCommand.cxx, cmCreateTestSourceList.cxx, cmGlobalCodeWarriorGenerator.cxx, cmGlobalGenerator.cxx, cmGlobalUnixMakefileGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmUtilitySourceCommand.cxx: ENH: use GetRequiredDefinition instead of GetDefinition and crash 2004-08-11 16:57 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: ENH: change RUN_TESTS to use -C and not -D also use GetRequiredDefinition where needed 2004-08-11 16:37 hoffman * Source/cmCTest.cxx: ENH: fixes for RUN_TESTS from visual studio IDE, fprintf does not print right away, so std::cerr had to be used. Also, allow .\ to start the config type 2004-08-11 16:35 hoffman * Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestFortranCompiler.cmake, Source/cmSystemTools.cxx: ENH: minor fortran fixes 2004-08-11 09:31 hoffman * CMakeLists.txt, ChangeLog.manual, DartConfig.cmake, Docs/cmake-mode.el, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeVS8FindMake.cmake, Modules/Dart.cmake, Modules/FindDoxygen.cmake, Modules/FindFLTK.cmake, Modules/FindKDE.cmake, Modules/FindQt.cmake, Modules/FindSWIG.cmake, Modules/UseSWIG.cmake, Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.h, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx, Source/cmDynamicLoader.cxx, Source/cmExecProgramCommand.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmFileCommand.cxx, Source/cmGetTargetPropertyCommand.h, Source/cmGlobalCodeWarriorGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmLinkLibrariesCommand.cxx, Source/cmListFileLexer.c, Source/cmListFileLexer.in.l, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx, Source/cmSubdirCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTryRunCommand.cxx, Source/cmUseMangledMesaCommand.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/cmakewizard.h, Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h, Source/CursesDialog/cmCursesMainForm.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/ProcessUNIX.c, Source/kwsys/SystemTools.cxx, Templates/CMakeWindowsSystemConfig.cmake, Templates/TestDriver.cxx.in, Tests/Simple/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/lib4.cxx, Tests/SimpleInstall/lib4.h, Tests/SimpleInstall/TestSubDir/CMakeLists.txt, Tests/SimpleInstall/TestSubDir/TSD.cxx, Tests/SimpleInstall/TestSubDir/TSD.h, Tests/SimpleInstall/TestSubDir/TSD_utils.cxx, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib4.cxx, Tests/SimpleInstallS2/lib4.h, Tests/SimpleInstallS2/TestSubDir/CMakeLists.txt, Tests/SimpleInstallS2/TestSubDir/TSD.cxx, Tests/SimpleInstallS2/TestSubDir/TSD.h, Tests/SimpleInstallS2/TestSubDir/TSD_utils.cxx, Utilities/Doxygen/CMakeLists.txt, Utilities/Release/cmake_release.sh: Moving latest release branch to CMake-2-0-3. 2004-08-09 18:39 martink * Source/cmIncludeCommand.cxx: ENH: Allow user to overwrite Platforms files 2004-08-09 18:20 martink * Modules/Platform/Windows-icl.cmake: ENH: Initial import 2004-08-09 17:42 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix for try run failing on some cygwin builds. Allow a driver letter to start a full path on cygwin 2004-08-09 13:03 hoffman * Source/cmMakefile.cxx: BUG: fix bug where custom command generated .h files do not get the header_file_only flag set 2004-08-06 15:05 hoffman * Tests/Fortran/: CMakeLists.txt, hello.f: ENH: initial fortran 2004-08-06 14:51 hoffman * Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/CMakeDetermineFortranCompiler.cmake, Modules/CMakeFortranCompiler.cmake.in, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestFortranCompiler.cmake, Modules/Platform/CYGWIN-g77.cmake, Modules/Platform/g77.cmake, Source/cmGlobalGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTryCompileCommand.cxx: ENH: initial fortran support 2004-08-05 11:59 hoffman * Modules/FindQt.cmake: ENH: remove verbose QT message 2004-08-05 11:51 king * Source/cmAddExecutableCommand.cxx: ERR: Replacing hack call to CONFIGURE_FILE command with direct call to m_Makefile->ConfigureFile. 2004-08-05 10:27 king * ChangeLog.manual, Source/cmGlobalGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx: BUG#427: Merging fix to CMake 2.0 release branch. 2004-08-05 10:17 king * Source/: cmGlobalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: BUG#427: Generated makefiles need to have targets with canonical names for each executable and library target in order for try-compiles to work correctly when specifying the target. 2004-08-05 09:29 king * ChangeLog.manual, Source/cmGlobalCodeWarriorGenerator.cxx, Source/cmGlobalCodeWarriorGenerator.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmTryRunCommand.cxx: Merging fixes from main tree. See ChangeLog.manual section on 2.0.4 for details. 2004-08-05 09:17 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fixed crash when CMAKE_CXX_STACK_SIZE is not defined. 2004-08-04 17:24 king * Source/cmMakefile.cxx: BUG: Fix crash when adding a custom command to a source file that cannot be created. 2004-08-04 17:21 hoffman * Source/cmTryRunCommand.cxx: ENH: allow debug of tryrun 2004-08-04 16:33 king * Source/: cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmMakefile.cxx: BUG: CMAKE_TRY_COMPILE_CONFIGURATION should be obtained from the cmMakefile instance for the listfile containing the TRY_COMPILE call, not the top level listfile. 2004-08-04 14:34 king * Source/cmMakefile.cxx: ERR: Removed duplicate default arguments. 2004-08-04 13:05 hoffman * Source/cmake.cxx: fix incorrect selection of visual studio generator 2004-08-04 10:45 king * Source/: cmCPluginAPI.cxx, cmForEachCommand.cxx, cmListFileCache.cxx, cmListFileCache.h, cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Added support for special variables CMAKE_CURRENT_LIST_FILE and CMAKE_CURRENT_LIST_LINE that evaluate to the file name and line number in which they appear. This implements the feature request from bug 1012. 2004-08-04 10:00 king * Source/cmake.cxx: BUG: Fixed typo in name of MSVC 8 registry key. 2004-08-04 08:50 andy * Source/cmIfCommand.cxx: ERR: Fix warnings and memory leak 2004-08-03 10:20 hoffman * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: create a server that does not use vtkPVApplication or tcl wrapping. Move several classes from GUI/Client to Servers/Filters. Remove use of PARAVIEW_NEW_SOURCE_ORGANIZATION define. 2004-08-03 08:13 andy * Source/: cmIfCommand.cxx, cmIfCommand.h: BUG: When regular expression failes to compile, produce error: Fixes part of Bug #1025 - CMake silently ignores regular expression failure 2004-08-02 08:36 andy * Source/cmCTest.cxx: BUG: these flags do not take arguments, so they do not really need to check if they are last. Fixes Bug #1020 - ctest doesn't parse its options correctly 2004-07-30 15:50 andy * Source/: cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmInstallTargetsCommand.h: ENH: Since install works on Windows too, remove the UNIX 2004-07-30 09:42 hoffman * CMakeLists.txt, Utilities/Release/cmake_release.sh: change version to 2.0.3 2004-07-29 17:15 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add some documentation, and make sure that the flag given to -D -T or -M is valid. Fixes Bug #1015 - Documentation: ctest -D 2004-07-29 17:07 andy * Modules/Dart.cmake: ENH: Add MemCheck to the list of Make targets. Closes Bug #1016 - Testing targets in Makefile 2004-07-29 15:26 andy * Source/cmCTest.cxx: ENH: Add AIX linker error 2004-07-29 14:45 hoffman * ChangeLog.manual, Modules/Dart.cmake, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmTarget.cxx, Source/cmake.cxx, Source/CTest/cmCTestSubmit.cxx, Source/kwsys/SystemTools.cxx: merges from main tree 2004-07-29 14:19 hoffman * Modules/CMakeSystemSpecificInformation.cmake, Source/cmTarget.cxx, Source/cmakewizard.h: merge from main tree, comment spelling fixes 2004-07-29 11:46 king * ChangeLog.manual, Source/cmLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.cxx: BUG: Fixed crash when optimized/debug argument to a link-libraries command is not followed by a value. 2004-07-29 11:43 king * Source/: cmTargetLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.cxx: BUG: Fixed crash when optimized/debug argument is not followed by a value. 2004-07-29 11:11 andy * Tests/X11/CMakeLists.txt: ERR: Fix test to use post CMAKE_X_LIBS variables 2004-07-29 10:22 king * ChangeLog.manual: ENH: Added changes for cmAuxSourceDirectoryCommand.h and cmGetTargetPropertyCommand.h 2004-07-28 08:12 king * Source/: cmGetTargetPropertyCommand.h: ENH: Added documentation of LOCATION target property. 2004-07-27 13:40 hoffman * Source/cmake.cxx: BUG: fix for bug 971, pick a better generator from the command line 2004-07-27 08:52 andy * Modules/Dart.cmake: DOC: Fix typo 2004-07-27 08:49 andy * Source/CTest/cmCTestSubmit.cxx: BUG: Allow submit and trigger url to contain ?. Fixes Bug #997 - CTest cannot handle URLs which contain a "?" 2004-07-27 08:48 andy * Modules/Dart.cmake: ENH: Allow project to overwrite CMAKE_SYSTEM_NAME part of default BUILDNAME 2004-07-26 16:59 hoffman * Modules/CMakeSystemSpecificInformation.cmake, Source/cmMakefile.cxx, Source/cmTarget.cxx, Source/cmakewizard.h: BUG: fix for bug 998, fix spelling errors 2004-07-26 16:00 andy * Source/cmCTest.cxx: ENH: Support Threading Problem in memcheck 2004-07-26 15:52 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add maximum size of test output 2004-07-24 19:58 king * Source/: cmAuxSourceDirectoryCommand.h: ENH: Added warning about using this command to avoid listing sources for a library by hand. It is supposed to be used only for Templates directories. 2004-07-22 11:20 hoffman * ChangeLog.manual, Modules/FindFLTK.cmake, Modules/FindQt.cmake, Source/cmCTest.cxx, Source/cmDynamicLoader.cxx, Source/cmGlobalCodeWarriorGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx, Source/cmUseMangledMesaCommand.cxx, Source/cmake.cxx, Source/CursesDialog/cmCursesMainForm.cxx, Templates/CMakeWindowsSystemConfig.cmake, Templates/TestDriver.cxx.in: merge from main tree 2004-07-22 10:59 hoffman * Modules/: FindFLTK.cmake, FindQt.cmake: BUG: put back flags to maintain backwards compatibility 2004-07-20 16:18 andy * Source/: cmCTest.cxx, cmCTest.h: BUG: Encode current time so that on some international computers xslt will not break. Also, for continuous, do not repeat if there were locally modified files or conflict, but only when things actually update 2004-07-20 11:09 andy * Source/kwsys/SystemTools.cxx: BUG: If source and destination is the same file, then do not copy file always 2004-07-20 11:07 andy * Source/cmMakefile.cxx: ENH: When running cmake with PreLoad make sure CMAKE_CURRENT_SOURCE/BINARY_DIR works 2004-07-20 11:02 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: ENH: remove deletes 2004-07-19 13:01 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: BUG: fix for 981 cursor returns to correct place in help screen 2004-07-19 13:00 hoffman * Source/cmDynamicLoader.cxx: bug fix for 986 2004-07-16 16:02 hoffman * Source/cmake.cxx: ENH: add a message at the end of the cmake run telling the user where things were written. 2004-07-16 15:18 hoffman * Templates/TestDriver.cxx.in: make sure tests flush output 2004-07-15 14:38 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: sort flags, and fix order and case problems and add a few more 2004-07-15 13:53 martink * Source/cmCTest.cxx: better error warning exceptions 2004-07-14 19:53 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: remove warnings 2004-07-14 16:10 hoffman * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: ENH: use a map to fill out flags, and keep command line consistent with the GUI 2004-07-13 17:33 king * Source/kwsys/testProcess.c: BUG: Fixed off-by-one error in test6 function. 2004-07-13 17:27 king * Source/kwsys/: testProcess.c, CMakeLists.txt: ENH: Added test for runaway output. 2004-07-13 16:50 king * Source/kwsys/ProcessWin32.c: ENH: Re-arranged handling of the two threads per pipe to improve readability of code. 2004-07-13 16:23 king * Source/kwsys/ProcessWin32.c: BUG: Fix for read pipe wakeup when child is writing alot of data and may fill the pipe buffer before WriteFile is called. 2004-07-13 11:06 martink * Source/: cmCTest.cxx, cmCTest.h: submit elapsed times as well 2004-07-13 10:03 andy * Modules/FindQt.cmake: BUG: These regular expressions were wrong because \\t does not match tab. Also, this fix prevents whole file to be dumped to the cache 2004-07-09 15:38 hoffman * Modules/FindQt.cmake: merge in fixes from neundorf at kde org, bug 869 2004-07-09 14:18 hoffman * Source/: cmMakefile.cxx, cmUseMangledMesaCommand.cxx: BUG: fix spelling errors BUG 952 2004-07-09 13:50 hoffman * Source/cmGlobalCodeWarriorGenerator.cxx, Templates/CMakeDotNetSystemConfig.cmake, Templates/CMakeWindowsSystemConfig.cmake: BUG: remove unused variable CMAKE_OBJECT_FILE_SUFFIX from cmake 2004-07-09 11:49 king * Source/kwsys/ProcessUNIX.c: ERR: Fixed missing return warning. Code was not reachable anyway. 2004-07-09 09:12 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: remove double include flags for rc resouce compiles 2004-07-07 18:15 king * Source/kwsys/ProcessWin32.c: ENH: Added windows implementation of Disown/Detach. 2004-07-07 17:46 king * Source/kwsys/ProcessUNIX.c: BUG: Do not disown if process has already been killed or the timeout expired. Also need to call kwsysProcessCleanup to disown. 2004-07-07 17:27 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Added kwsysProcess_Disown an kwsysProcess_Option_Detach to allow detached processes to be created. Currently implemented only on UNIX. 2004-07-07 17:09 hoffman * ChangeLog.manual, DartConfig.cmake, Modules/CMakeVS8FindMake.cmake, Modules/FindSWIG.cmake, Modules/UseSWIG.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmExecProgramCommand.cxx, Source/cmFileCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx, Source/cmQTWrapUICommand.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTryRunCommand.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/kwsys/CMakeLists.txt, Source/kwsys/ProcessUNIX.c, Source/kwsys/SystemTools.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/lib4.cxx, Tests/SimpleInstall/lib4.h, Tests/SimpleInstall/TestSubDir/CMakeLists.txt, Tests/SimpleInstall/TestSubDir/TSD.cxx, Tests/SimpleInstall/TestSubDir/TSD.h, Tests/SimpleInstall/TestSubDir/TSD_utils.cxx, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib4.cxx, Tests/SimpleInstallS2/lib4.h, Tests/SimpleInstallS2/TestSubDir/CMakeLists.txt, Tests/SimpleInstallS2/TestSubDir/TSD.cxx, Tests/SimpleInstallS2/TestSubDir/TSD.h, Tests/SimpleInstallS2/TestSubDir/TSD_utils.cxx: merge from main tree, see ChangeLog.manual for changes 2004-07-07 16:09 andy * Source/cmCTest.cxx: BUG: LastMemCheck is not really an XML file 2004-07-07 13:03 king * Source/kwsys/ProcessUNIX.c: ERR: Using KWSYSPE_PIPE_BUFFER_SIZE in place of separate bufferSize constant for consistency. 2004-07-05 12:16 hoffman * Modules/CMakeVS8FindMake.cmake, Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio8Generator.cxx, Source/cmGlobalVisualStudio8Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx: ENH: add support for VCExpress 2005 2004-07-04 00:05 hoffman * Source/kwsys/ProcessUNIX.c: no c++ comments in c 2004-07-03 12:00 hoffman * Source/kwsys/ProcessUNIX.c: fix for hp build 2004-07-02 17:39 king * Source/kwsys/CMakeLists.txt: BUG: Need a C-only library for C tests. 2004-07-02 16:39 king * Source/kwsys/ProcessUNIX.c: BUG#392: Implementation of process tree killing for systems with /proc filesystem. 2004-07-02 16:29 king * Source/: cmCTest.cxx, cmCTest.h: BUG#969: Partially fixed by at least using the timeout for the individual calls to RunSingleCommand from within the inner ctest instance. This should be modified to incrementally adjust remaining time. 2004-07-02 16:27 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Made RunSingleCommand take a double as its timeout length. 2004-07-02 14:09 king * Source/cmFileCommand.cxx: BUG: Fixed generation of installation manifest to account for library versioning symlinks. Also removed DESTDIR prefix from generated manifest. 2004-07-02 14:08 king * Source/cmLocalGenerator.cxx: BUG: install_manifest.txt should be overwritten each time the install is run. 2004-07-02 13:39 king * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ERR: Removed debugging code from test. 2004-07-02 11:51 andy * Source/cmFileCommand.cxx: BUG: If the destination is the same as source, do not copy file. Fixes Bug #956 - make install broken 2004-07-02 09:57 andy * Source/cmake.cxx: ENH: Also read PreLoad.cmake from the binary tree 2004-06-30 11:31 hoffman * Source/: cmMakefile.cxx, kwsys/SystemTools.cxx: ENH: add CMAKE_FILE_PATH, CMAKE_PROGRAM_PATH, CMAKE_LIBRARY_PATH, and search them first, PATH second, and last the paths listed in the FIND call 2004-06-30 08:59 andy * Source/cmFileCommand.cxx: ERR: Fix typo 2004-06-29 16:40 hoffman * Source/cmQTWrapUICommand.cxx: ENH: remove QT_WRAP_UI flag 2004-06-29 10:22 hoffman * Modules/FindSWIG.cmake: BUG: make sure if swig is found, we know it is found 2004-06-29 09:23 andy * Source/cmFileCommand.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Better handling of debug postfix and fix the test 2004-06-28 16:39 andy * Source/cmFileCommand.cxx, Source/cmGlobalGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ERR: Fix visual studio install 2004-06-28 14:39 andy * Source/cmFileCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstall/lib4.cxx, Tests/SimpleInstall/lib4.h, Tests/SimpleInstallS2/lib4.cxx, Tests/SimpleInstallS2/lib4.h: BUG: Implement installing of shared library versioning and add test for the whole thing 2004-06-28 11:14 andy * Modules/UseSWIG.cmake: BUG: Add more comments and fix CMAKE_SWIG_FLAGS 2004-06-28 09:08 andy * Modules/FindSWIG.cmake: BUG: Replace MATCHES with STREQUAL for better checking, better checking for existence of swig directory, verify if required flag was set, support fedora's location of swig. Fixes Bug #955 - Swig on fedora and Bug #954 - FIND_PACKAGE(SWIG REQUIRED) 2004-06-26 08:40 hoffman * Modules/UseSWIG.cmake: BUG: SWIG_FLAGS was ignored by the add swig source to module command 2004-06-25 14:04 andy * CMakeLists.txt: ENH: Build expat as a part of default build 2004-06-25 14:04 andy * Utilities/cmexpat/: .NoDartCoverage, CMakeLists.txt, COPYING, ascii.h, asciitab.h, cm_expat_mangle.h, expat.h, expatConfig.h.in, expatDllConfig.h.in, iasciitab.h, latin1tab.h, nametab.h, utf8tab.h, xmlparse.c, xmlrole.c, xmlrole.h, xmltok.c, xmltok.h, xmltok_impl.c, xmltok_impl.h, xmltok_ns.c: ENH: Initial import of expat 2004-06-24 09:05 hoffman * Source/cmWin32ProcessExecution.cxx: ENH: remove warning on borland 2004-06-24 08:57 hoffman * Source/cmExecProgramCommand.cxx: BUG: exec program should not fail if it can not exec the program, but should only set the return value to -1 and set the output to the reason for the failure. 2004-06-23 16:34 hoffman * Source/: cmExecProgramCommand.cxx, cmSystemTools.cxx, cmSystemTools.h, cmTryRunCommand.cxx, cmWin32ProcessExecution.cxx: BUG: fix spaces in path on mingw, and change EXEC_PROGRAM to return false when it does not run, also do not convert the directory to an output path for EXEC_PROGRAM as this is done by the process execution, and doing it twice may cause trouble on some shells. 2004-06-23 16:15 hoffman * Modules/Platform/Windows-cl.cmake: C++ compiler is not set for c only projects 2004-06-23 10:13 king * Source/: cmCacheManager.cxx, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h: ENH: Adding MODIFIED property to cache values that have been changed by the user. 2004-06-22 17:23 hoffman * Source/cmSystemTools.cxx: BUG: fix spaces in path with mingw and custom commands 2004-06-21 12:59 hoffman * ChangeLog.manual: update changes for release 2.0.2 2004-06-21 12:48 hoffman * CMakeLists.txt, Utilities/Release/cmake_release.sh: change version on branch 2004-06-21 12:48 hoffman * CMakeLists.txt: change minimum cmake 2004-06-18 15:47 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: merge from main tree, remove automatic -I for source 2004-06-18 15:47 hoffman * Source/cmSubdirCommand.h: merge from main tree, fix docs 2004-06-18 15:46 hoffman * Modules/FindFLTK.cmake, Modules/FindQt.cmake, Source/cmFLTKWrapUICommand.cxx, Source/cmQTWrapCPPCommand.cxx: merge from main tree, remove useless variables 2004-06-18 15:14 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Added special hack for VTK 4.0-4.4 to re-enable automatic addition of current source directory to -I path. 2004-06-18 15:01 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Added special hack for VTK 4.0-4.4 to re-enable automatic addition of current source directory to -I path. 2004-06-18 13:04 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Need to preserve automatic addition of source tree to -I path if CMAKE_BACKWARDS_COMPATIBILITY is set to below 2.0. 2004-06-18 13:00 king * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fixed typo. 2004-06-18 12:56 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Need to preserve automatic addition of source tree to -I path if CMAKE_BACKWARDS_COMPATIBILITY is set to below 2.0. 2004-06-18 10:54 king * Docs/: cmake-mode.el: BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument. 2004-06-18 10:51 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l: BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument. 2004-06-16 09:45 hoffman * Source/cmSubdirCommand.h: clean up documentation 2004-06-16 09:43 hoffman * Source/cmFLTKWrapUICommand.cxx, Source/cmQTWrapCPPCommand.cxx, Modules/FindFLTK.cmake, Modules/FindQt.cmake: clean up commands so they don't need extra variable 2004-06-15 11:52 king * Source/cmLocalUnixMakefileGenerator.cxx: Removing automatic addition of a -I path for the current source directory. This is not consistent with the Visual Studio generators which do not provide this path. It should not be added anyway because it is adding an include path not requested by the CMakeLists.txt code. The code I'm removing was originally added in revision 1.17 of cmUnixMakefileGenerator.cxx as a part of several other changes and has a commit log entry of "some bug fixes" It was propagated from their to cmLocalUnixMakefileGenerator.cxx. Since all our projects build in the VS IDE without this include path, it should not be needed. Users can easily fix problems caused by this by adding INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) to their CMakeLists.txt code. This was often necessary previously when a project was originally written on a Unix system and then built with Visual Studio. 2004-06-15 08:32 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: merge from main tree, fix GetCurrentDirectory problem 2004-06-15 08:30 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: fix include order because of GetCurrentDirectory define and windows.h problem 2004-06-14 13:25 hoffman * Modules/FindKDE.cmake: merge from main tree, new module 2004-06-14 12:29 hoffman * Utilities/Doxygen/CMakeLists.txt: merge from main tree 2004-06-14 12:28 hoffman * Source/: cmIfCommand.cxx, cmIfCommand.h: merge from main tree, add STRGREATER 2004-06-14 12:28 hoffman * Source/cmCommands.cxx: merge from main tree, fix bootstrap on mac 2004-06-14 12:27 hoffman * Modules/FindFLTK.cmake: merge from main tree, look for both Fl.h and Fl.H 2004-06-14 12:21 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: merge from main tree, use cmake to install itself, when building cmake 2004-06-14 12:20 hoffman * Source/cmIfCommand.cxx: merge from main tree, fix compound if crash on unix 2004-06-14 12:19 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: merge from main tree, use correct path for sub projects 2004-06-14 12:18 hoffman * Source/cmCTest.cxx: merge from main tree, more -I stuff 2004-06-14 12:18 hoffman * Source/CMakeLists.txt: merge from main tree, do not use regex for directoires 2004-06-14 12:17 hoffman * Modules/FindDoxygen.cmake: ENH: better find for doxygen 2004-06-14 12:16 hoffman * Modules/Platform/Windows-cl.cmake, Source/cmLocalVisualStudio7Generator.cxx, Templates/DLLHeader.dsptemplate: ENH: add NDEBUG to windows release builds for both ide and nmake 2004-06-14 12:02 martink * Source/: cmIfCommand.h, cmIfCommand.cxx: added strequal 2004-06-14 11:24 andy * Tests/CTestTest/test.cmake.in: ENH: Handle spaces in the path 2004-06-14 11:23 andy * Source/cmCommands.cxx: ERR: On Mac we need GET_SOURCE_FILE_PROPERTY for building curl 2004-06-14 10:46 hoffman * Modules/FindKDE.cmake: ENH: add FindKDE from Alex from kde.org 2004-06-14 10:36 hoffman * Modules/FindFLTK.cmake: fix for bug 915 2004-06-14 10:28 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx: BUG: fix sub project path problem 2004-06-11 15:27 martink * CMakeLists.txt, CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt, ChangeLog.manual, ChangeLog.txt, DartConfig.cmake, bootstrap, Docs/cmake-mode.el, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeImportBuildSettings.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestGNU.c, Modules/CheckForPthreads.c, Modules/CheckFunctionExists.c, Modules/CheckIncludeFile.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/CheckTypeSize.c, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.c, Modules/Dart.cmake, Modules/DartConfiguration.tcl.in, Modules/FindDCMTK.cmake, Modules/FindGLUT.cmake, Modules/FindGTK.cmake, Modules/FindITK.cmake, Modules/FindJNI.cmake, Modules/FindMFC.cmake, Modules/FindOpenGL.cmake, Modules/FindPHP4.cmake, Modules/FindPerlLibs.cmake, Modules/FindPike.cmake, Modules/FindPythonLibs.cmake, Modules/FindQt.cmake, Modules/FindRuby.cmake, Modules/FindSWIG.cmake, Modules/FindTCL.cmake, Modules/FindTclsh.cmake, Modules/FindVTK.cmake, Modules/FindwxWidgets.cmake, Modules/FindwxWindows.cmake, Modules/MacOSXBundleInfo.plist.in, Modules/TestBigEndian.c, Modules/UseSWIG.cmake, Modules/UsewxWidgets.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Linux.cmake, Modules/Platform/OSF1.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt, Source/TODO, Source/cmAddCustomCommandCommand.h, Source/cmAddCustomTargetCommand.cxx, Source/cmAddExecutableCommand.cxx, Source/cmAddExecutableCommand.h, Source/cmAddTestCommand.cxx, Source/cmCMakeMinimumRequired.h, Source/cmCPluginAPI.cxx, Source/cmCPluginAPI.h, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmCommand.h, Source/cmCommands.cxx, Source/cmConfigure.cmake.h.in, Source/cmConfigureFileCommand.cxx, Source/cmConfigureFileCommand.h, Source/cmCreateTestSourceList.cxx, Source/cmCreateTestSourceList.h, Source/cmDocumentation.cxx, Source/cmDocumentation.h, Source/cmDynamicLoader.cxx, Source/cmElseCommand.h, Source/cmEnableTestingCommand.cxx, Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.cxx, Source/cmEndForEachCommand.h, Source/cmEndIfCommand.h, Source/cmExecProgramCommand.h, Source/cmExportLibraryDependencies.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h, Source/cmFindPathCommand.cxx, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.h, Source/cmForEachCommand.cxx, Source/cmForEachCommand.h, Source/cmGeneratedFileStream.h, Source/cmGetCMakePropertyCommand.cxx, Source/cmGetDirectoryPropertyCommand.cxx, Source/cmGetDirectoryPropertyCommand.h, Source/cmGetFilenameComponentCommand.h, Source/cmGetSourceFilePropertyCommand.cxx, Source/cmGetTargetPropertyCommand.cxx, Source/cmGlob.cxx, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalCodeWarriorGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmIfCommand.cxx, Source/cmIfCommand.h, Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Source/cmInstallTargetsCommand.cxx, Source/cmInstallTargetsCommand.h, Source/cmLinkLibrariesCommand.cxx, Source/cmLinkLibrariesCommand.h, Source/cmListFileCache.cxx, Source/cmListFileCache.h, Source/cmListFileLexer.c, Source/cmListFileLexer.h, Source/cmListFileLexer.in.l, Source/cmLoadCacheCommand.h, Source/cmLoadCommandCommand.cxx, Source/cmLocalCodeWarriorGenerator.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMacroCommand.cxx, Source/cmMacroCommand.h, Source/cmMakeDepend.cxx, Source/cmMakeDirectoryCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMessageCommand.h, Source/cmOptionCommand.cxx, Source/cmOutputRequiredFilesCommand.h, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h, Source/cmQTWrapUICommand.cxx, Source/cmQTWrapUICommand.h, Source/cmRemoveCommand.h, Source/cmRemoveDefinitionsCommand.cxx, Source/cmRemoveDefinitionsCommand.h, Source/cmSeparateArgumentsCommand.h, Source/cmSetCommand.h, Source/cmSetDirectoryPropertiesCommand.cxx, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSetSourceFilesPropertiesCommand.cxx, Source/cmSetTargetPropertiesCommand.h, Source/cmSiteNameCommand.cxx, Source/cmSourceFile.cxx, Source/cmSourceFilesCommand.cxx, Source/cmStandardIncludes.h, Source/cmStringCommand.cxx, Source/cmStringCommand.h, Source/cmSubdirCommand.cxx, Source/cmSubdirCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h, Source/cmUseMangledMesaCommand.h, Source/cmVTKMakeInstantiatorCommand.cxx, Source/cmVTKWrapJavaCommand.h, Source/cmVTKWrapPythonCommand.h, Source/cmVTKWrapTclCommand.h, Source/cmWin32ProcessExecution.cxx, Source/cmWrapExcludeFilesCommand.cxx, Source/cmWriteFileCommand.cxx, Source/cmWriteFileCommand.h, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Source/cmaketest.cxx, Source/cmakewizard.cxx, Source/cmakewizard.h, Source/ctest.cxx, Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h, Source/CursesDialog/ccmake.cxx, Source/CursesDialog/cmCursesMainForm.cxx, Source/CursesDialog/cmCursesPathWidget.cxx, Source/CursesDialog/cmCursesStringWidget.cxx, Source/kwsys/Base64.c, Source/kwsys/Base64.h.in, Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.h.in, Source/kwsys/Configure.hxx.in, Source/kwsys/Copyright.txt, Source/kwsys/Directory.cxx, Source/kwsys/Directory.hxx.in, Source/kwsys/EncodeExecutable.c, Source/kwsys/Process.h.in, Source/kwsys/ProcessFwd9x.c, Source/kwsys/ProcessUNIX.c, Source/kwsys/ProcessWin32.c, Source/kwsys/RegularExpression.cxx, Source/kwsys/RegularExpression.hxx.in, Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in, Source/kwsys/kwsysHeaderDump.pl, Source/kwsys/kwsysPlatformCxxTests.cmake, Source/kwsys/kwsysPlatformCxxTests.cxx, Source/kwsys/kwsysPrivate.h, Source/kwsys/kwsys_ios_fstream.h.in, Source/kwsys/kwsys_ios_iosfwd.h.in, Source/kwsys/kwsys_ios_iostream.h.in, Source/kwsys/kwsys_ios_sstream.h.in, Source/kwsys/kwsys_std.h.in, Source/kwsys/kwsys_std_fstream.h.in, Source/kwsys/kwsys_std_iosfwd.h.in, Source/kwsys/kwsys_std_iostream.h.in, Source/kwsys/kwsys_std_sstream.h.in, Source/kwsys/kwsys_stl.h.in, Source/kwsys/test1.cxx, Source/kwsys/testIOS.cxx, Source/kwsys/testProcess.c, Templates/CMakeLists.txt, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/TestDriver.cxx.in, Templates/install-sh, Templates/staticLibHeader.dsptemplate, Tests/COnly/CMakeLists.txt, Tests/CommandLineTest/CMakeLists.txt, Tests/CommandLineTest/PreLoad.cmake, Tests/Complex/CMakeLists.txt, Tests/Complex/VarTests.cmake, Tests/Complex/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/Complex/Library/file2.cxx, Tests/Complex/Library/testConly.c, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/VarTests.cmake, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/file2.cxx, Tests/ComplexOneConfig/Library/testConly.c, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/VarTests.cmake, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/file2.cxx, Tests/ComplexRelativePaths/Library/testConly.c, Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/generator.cxx, Tests/CustomCommand/wrapper.cxx, Tests/Jump/CMakeLists.txt, Tests/Jump/Executable/CMakeLists.txt, Tests/Jump/Executable/jumpExecutable.cxx, Tests/Jump/Library/CMakeLists.txt, Tests/Jump/Library/Shared/CMakeLists.txt, Tests/Jump/Library/Shared/jumpShared.cxx, Tests/Jump/Library/Static/CMakeLists.txt, Tests/Jump/Library/Static/jumpStatic.cxx, Tests/LinkLineOrder/Two.c, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommand/CMakeCommands/cmTestCommand.c, Tests/LoadCommandOneConfig/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c, Tests/PreOrder/CMakeLists.txt, Tests/PreOrder/simple.cxx, Tests/PreOrder/Library/CMakeLists.txt, Tests/PreOrder/Library/simpleLib.cxx, Tests/Simple/CMakeLists.txt, Tests/Simple/simpleWe.cpp, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/PostInstall.cmake, Tests/SimpleInstall/PreInstall.cmake, Tests/SimpleInstall/foo.c, Tests/SimpleInstall/foo.h, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/lib1.cxx, Tests/SimpleInstall/lib1.h, Tests/SimpleInstall/lib2.cxx, Tests/SimpleInstall/lib2.h, Tests/SimpleInstall/lib3.cxx, Tests/SimpleInstall/lib3.h, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/PostInstall.cmake, Tests/SimpleInstallS2/PreInstall.cmake, Tests/SimpleInstallS2/foo.c, Tests/SimpleInstallS2/foo.h, Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib1.cxx, Tests/SimpleInstallS2/lib1.h, Tests/SimpleInstallS2/lib2.cxx, Tests/SimpleInstallS2/lib2.h, Tests/SimpleInstallS2/lib3.cxx, Tests/SimpleInstallS2/lib3.h, Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/InputFile.h.in, Tests/SubDir/CMakeLists.txt, Tests/SubDir/vcl_algorithm+vcl_pair+double.foo.c, Tests/SubDir/AnotherSubdir/pair+int.int.c, Tests/SubDir/AnotherSubdir/secondone.c, Tests/SubDir/AnotherSubdir/testfromsubdir.c, Tests/SubDir/Examples/CMakeLists.txt, Tests/SubDir/Examples/example1/CMakeLists.txt, Tests/SubDir/Examples/example1/example1.cxx, Tests/SubDir/Examples/example2/CMakeLists.txt, Tests/SubDir/Examples/example2/example2.cxx, Tests/SubDir/Executable/CMakeLists.txt, Tests/SubDir/Executable/test.cxx, Tests/SubDir/ThirdSubDir/pair+int.int1.c, Tests/SubDir/ThirdSubDir/pair_p_int.int1.c, Tests/SubDir/ThirdSubDir/testfromauxsubdir.c, Tests/SubDir/ThirdSubDir/thirdone.c, Tests/SwigTest/CMakeLists.txt, Tests/SwigTest/example.cxx, Tests/SwigTest/example.h, Tests/SwigTest/example.i, Tests/SwigTest/runme.php4, Tests/SwigTest/runme.pike, Tests/SwigTest/runme.pl, Tests/SwigTest/runme.py, Tests/SwigTest/runme.rb, Tests/SwigTest/runme.tcl, Tests/SwigTest/runme2.tcl, Tests/SystemInformation/CMakeLists.txt, Tests/SystemInformation/DumpInformation.cxx, Tests/TryCompile/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt, Tests/Wrapping/vtkTestMoc.h, Utilities/Doxygen/CMakeLists.txt, Utilities/Doxygen/doxyfile.in, Utilities/Release/cmake_release.sh, Utilities/Release/config_IRIX64, Utilities/Release/release_dispatch.sh: updated to 2.0.1 2004-06-11 15:07 hoffman * Source/cmIfCommand.cxx: BUG: fix crash for if statment due to bad microsoft docs on deque BUG id 917 2004-06-09 18:56 martink * Source/cmLocalUnixMakefileGenerator.cxx: BUG#891: When building CMake itself, use the new cmake to install so that the current cmake can be overwritten. 2004-06-09 18:01 martink * Source/CMakeLists.txt: ERR: Do not use the binary directory as a regular expression. 2004-06-09 17:36 martink * Source/cmCTest.cxx: BUG: Files in top-level directory of source tree were not reported in updates log. 2004-06-09 11:30 andy * DartConfig.cmake: ENH: Cleanups 2004-06-09 11:19 andy * Source/cmCTest.cxx: BUG: Even if update fails it should produce valid XML 2004-06-09 10:37 andy * DartConfig.cmake: ENH: Use viewcvs instead of cvsweb 2004-06-08 17:36 martink * Source/cmCTest.cxx: support for floating ponit strides 2004-06-08 17:26 barre * Modules/FindDoxygen.cmake, Utilities/Doxygen/CMakeLists.txt: a) new version of tools like Doxygen and Graphviz now set install path info in win32 registery. use it. b) remove DOT_PATH, it was polluting the cache (can be computed from DOT, update CMakeLists.txt accordingly if DOT_PATH is not defined) 2004-06-07 21:41 hoffman * Source/kwsys/SystemTools.cxx: BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets tons of errors about not being able to create the bin directory 2004-06-07 13:55 king * Source/kwsys/SystemTools.cxx: BUG: Do not create a directory on top of a file. 2004-06-07 12:35 hoffman * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestSubmit.cxx, CTest/cmCTestSubmit.h: merge from main tree, add support for scp submit 2004-06-07 09:54 hoffman * Modules/FindFLTK.cmake: merge from main tree, fix order of libraries 2004-06-07 09:50 hoffman * Tests/Simple/CMakeLists.txt: merge from main tree 2004-06-07 09:49 hoffman * Source/kwsys/SystemTools.cxx: merge from main tree, fix find library so it does not find directories 2004-06-07 09:48 hoffman * Source/cmMakefile.cxx: merge from main tree, detect problems writting files 2004-06-07 09:47 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: merger from main tree, fix subdir preorder 2004-06-07 09:46 hoffman * Source/cmLocalGenerator.cxx: merge from main tree, fix install with subdir and not exepath 2004-06-07 09:46 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmLocalVisualStudio7Generator.cxx: merge from main tree, fix crash in external project include 2004-06-07 09:45 hoffman * Source/cmCreateTestSourceList.cxx: merge from main tree, do not write test driver each time cmake is run 2004-06-07 09:44 hoffman * Source/: cmCTest.cxx, cmCTest.h: ENH: changes from main tree, some different -I options, CTEST_DASHBOARD_ROOT computation, some more error and warning matches 2004-06-07 08:51 andy * Source/CTest/cmCTestSubmit.cxx: ERR: Remove warning 2004-06-04 14:59 king * Source/kwsys/CMakeLists.txt: ERR: Do not add the library if no sources are used. 2004-06-03 19:12 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ERR: Remove testinf of PREORDER on Windows 2004-06-03 17:09 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ERR: Try to fix simple install on vs6 2004-06-03 14:54 hoffman * Modules/FindFLTK.cmake: Fix for bug 903 change order of fltk libraries 2004-06-02 13:39 andy * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestSubmit.cxx, CTest/cmCTestSubmit.h: ENH: Implement scp submission 2004-06-01 14:08 king * Modules/Platform/: HP-UX.cmake, IRIX.cmake, IRIX64.cmake, OSF1.cmake, Windows-bcc32.cmake, gcc.cmake: BUG#895: Adding -DNDEBUG to C and C++ flags for release builds. 2004-06-01 12:55 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstall/TestSubDir/CMakeLists.txt, SimpleInstall/TestSubDir/TSD.cxx, SimpleInstall/TestSubDir/TSD.h, SimpleInstall/TestSubDir/TSD_utils.cxx, SimpleInstallS2/CMakeLists.txt, SimpleInstallS2/TestSubDir/CMakeLists.txt, SimpleInstallS2/TestSubDir/TSD.cxx, SimpleInstallS2/TestSubDir/TSD.h, SimpleInstallS2/TestSubDir/TSD_utils.cxx: ENH: More elaborate install test 2004-06-01 12:19 hoffman * Source/kwsys/SystemTools.cxx: ENH: make sure find library does not find directories 2004-06-01 12:07 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: fix for 871, include external should work for 7.1 and 7.0 2004-06-01 11:30 andy * Source/cmLocalGenerator.cxx: ENH: Fix bug in cmake install when exec/librayr output path not defined. Closes Bug #899 - subdir INSTALL_TARGETS INSTALL_PROGRAMS dont work 2004-06-01 09:58 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Fix preorder. This caused preorder to not work and the test passed because of jump-over rule 2004-05-28 15:02 martink * Source/: cmCTest.cxx, cmCTest.h: ctest -S support for multiple ctest command arguments 2004-05-27 12:56 andy * Source/cmCreateTestSourceList.cxx: BUG: When creating a test driver, do not remove the old file, so if nothing changes, it will not rebuild. Fixes Bug #885 - cmCreateTestSource overwrite file when running cmake 2004-05-27 12:53 andy * Source/cmMakefile.cxx: ENH: Detect if there were problems writing file 2004-05-27 11:21 king * Utilities/Release/cmake_release.sh: Updated to not include CVS directories in cygwin package. 2004-05-26 15:27 martink * Source/cmCTest.cxx: added another error string and change the -I option some 2004-05-25 14:34 martink * CMakeLists.txt, Utilities/Release/cmake_release.sh: merges from the main tree 2004-05-25 11:31 martink * Modules/CMakeImportBuildSettings.cmake, Modules/FindQt.cmake, Modules/UseSWIG.cmake, Source/cmCTest.cxx, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmGeneratedFileStream.h, Source/cmGetDirectoryPropertyCommand.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmMacroCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSetDirectoryPropertiesCommand.cxx, Source/cmSetDirectoryPropertiesCommand.h, Source/cmSystemTools.cxx, Tests/CommandLineTest/CMakeLists.txt, Tests/Simple/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt: merges from the main tree 2004-05-25 11:20 martink * Modules/CMakeImportBuildSettings.cmake, Source/cmCTest.cxx: better error message 2004-05-21 11:52 hoffman * Source/cmSystemTools.cxx: ENH: speed up for NOTFOUND 2004-05-21 09:51 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: fix rerun of cmake command 2004-05-20 21:27 hoffman * Source/cmSystemTools.cxx: BUG: back out change due to broken dashboard 2004-05-20 17:33 hoffman * Source/cmSystemTools.cxx: ENH: remove regex use where strcmp is faster 2004-05-20 16:56 andy * Modules/UseSWIG.cmake, Source/cmGetDirectoryPropertyCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSetDirectoryPropertiesCommand.cxx, Source/cmSetDirectoryPropertiesCommand.h: ENH: Implement additional make clean files as a directory property instead of cmake variable 2004-05-20 16:35 hoffman * Tests/TryCompile/CMakeLists.txt: BUG: dont put the output of a try compile in the output because visual stduio 7 ide will thing there were errors 2004-05-20 16:29 hoffman * Source/: cmGeneratedFileStream.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: BUG: make sure global generate is done when cmakelist file chagnes, also make sure guids are stored in the cache so the .sln file does not change every time 2004-05-20 16:26 hoffman * Modules/FindQt.cmake: ENH: look for qtmoc in some other places 2004-05-20 15:08 martink * Source/: cmCacheManager.cxx, cmCacheManager.h: updates to gui to delete cache 2004-05-20 13:15 martink * Source/cmCTest.cxx: added error 2004-05-19 16:04 hoffman * Source/cmMacroCommand.cxx: ENH: make it run much faster 2004-05-18 15:40 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: make sure ADDITIONAL_MAKE_CLEAN_FILES works with spaces in the path and is converted to the correct native path type 2004-05-18 15:39 hoffman * Source/: cmEndForEachCommand.cxx, cmForEachCommand.cxx: merge from main tree, detect missing endforeach 2004-05-18 15:39 hoffman * Source/: cmDocumentation.cxx, cmakemain.cxx: merge from main tree, move doc stuff around so it does not give cmake docs to ctest 2004-05-18 15:38 hoffman * Source/cmCTest.cxx: merge from main tree, add some more obscure options to ctest 2004-05-18 15:37 hoffman * Modules/UseSWIG.cmake: BUG: 835 fix 2004-05-18 15:37 hoffman * Modules/CMakeTestGNU.c: BUG: 825 fix 2004-05-18 14:33 hoffman * Modules/CMakeTestGNU.c: BUG: fix problem where cmake thinks the intel compiler is gnu 2004-05-17 16:31 hoffman * Modules/UseSWIG.cmake: ENH: append to the list of clean files, don't just set them 2004-05-17 15:56 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: change ADDITIONAL_MAKE_CLEAN_FILES to work with spaces in the path and on windows with no spaces 2004-05-17 15:55 hoffman * Modules/UseSWIG.cmake: BUG: Bug #835 fix, add swig generated files to clean target 2004-05-13 16:17 hoffman * ChangeLog.manual: add a hand edited changelog 2004-05-13 16:17 hoffman * ChangeLog.manual: file ChangeLog.manual was added on branch CMake-2-6 on 2008-03-30 13:09:04 +0000 2004-05-13 13:41 martink * Source/cmCTest.cxx: new feature for continuous clean once 2004-05-13 13:07 king * Utilities/Release/cmake_release.sh: Removed support for wxCMakeSetup dialog. 2004-05-13 10:34 hoffman * Source/kwsys/: Base64.h.in, CMakeLists.txt, Process.h.in, ProcessWin32.c, ProcessWin32Kill.c, ProcessWin32Kill.h.in, kwsysHeaderDump.pl: Merge changes from the main tree, fix a bug in the process kill code 2004-05-13 10:08 king * Source/kwsys/ProcessWin32.c: BUG: Do not wait for children to exit when killing them. Sometimes they do not really die. 2004-05-12 15:34 martink * Source/cmEndForEachCommand.cxx: fix warning 2004-05-12 14:32 martink * Source/: cmEndForEachCommand.cxx, cmForEachCommand.cxx: better error checking for FOREACH 2004-05-12 08:46 king * Utilities/Release/cmake_release.sh: ENH: Updated for 2.0.0 release tag. 2004-05-10 18:06 andy * Source/CMakeLists.txt, Tests/CTestTest/CMakeLists.txt, Tests/CTestTest/test.cmake.in, Tests/CommandLineTest/CMakeLists.txt: ENH: Add some ctest coverage 2004-05-10 17:53 andy * Source/: cmDocumentation.cxx, cmakemain.cxx: BUG: Move documentation so that it does not apear in ctest 2004-05-10 17:44 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add a way to force ctest to be a new process 2004-05-10 16:58 king * Utilities/Release/cmake_release.sh: ENH: Added support for using cvs checkout instead of cvs export. 2004-05-10 16:55 will * Source/cmCTest.cxx: ENH: Added regex. 2004-05-10 16:40 king * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: Need to recognize -B linker options. 2004-05-10 15:49 king * Utilities/Release/release_dispatch.sh: ENH: Adding release dispatch script. 2004-05-10 15:48 king * Utilities/Release/: cmake_release.sh, config_CYGWIN_NT-5.1, config_Linux, cygwin-package.sh.in: ENH: Updated to latest version from 1.8 branch. 2004-05-10 14:54 king * Source/kwsys/: CMakeLists.txt, ProcessWin32.c, ProcessWin32Kill.c, ProcessWin32Kill.h.in: ENH: Adding native windows process tree kill to ProcessWin32.c. This replaces the ProcessWin32Kill.c implementation. 2004-05-10 13:38 king * Source/kwsys/: Base64.h.in, ProcessWin32.c: ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:15 king * Source/kwsys/kwsysHeaderDump.pl: ENH: Renaming kwsys macro to kwsys_ns to work around borland preprocessor bug. 2004-05-10 13:10 king * Source/kwsys/: Process.h.in, ProcessWin32Kill.h.in: ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 12:45 hoffman * Modules/FindGTK.cmake, Modules/Platform/OSF1.cmake, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmIfCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmake.cxx, Source/ctest.cxx, Source/kwsys/Base64.h.in, Source/kwsys/CMakeLists.txt, Source/kwsys/Process.h.in, Source/kwsys/ProcessWin32.c, Source/kwsys/ProcessWin32Kill.c, Source/kwsys/ProcessWin32Kill.h.in, Source/kwsys/SystemTools.cxx, Templates/TestDriver.cxx.in: merge from main tree 2004-05-10 12:08 hoffman * Source/kwsys/ProcessWin32Kill.c: ENH: remove extra include for compile with mingw 2004-05-10 12:06 hoffman * Source/kwsys/: CMakeLists.txt, ProcessWin32Kill.c, ProcessWin32Kill.cxx: ENH: change to c code so it can be built with mingw 2004-05-10 11:04 hoffman * Source/kwsys/ProcessWin32Kill.cxx: ENH: remove unused include file so it will build with mingw 2004-05-10 10:20 martink * Source/cmCTest.cxx: fix for config type passing between ctests 2004-05-09 12:27 martink * Source/cmCTest.cxx: some cleanup and fix for PVLocal 2004-05-08 14:55 hoffman * Templates/TestDriver.cxx.in: BUG: remove debug pop hacks, also remove duplicate call to argvc function 2004-05-07 14:22 andy * Source/kwsys/: Base64.h.in, Process.h.in, ProcessWin32.c, ProcessWin32Kill.h.in: ERR: On Borland preprocessor goes into recursion which adds some weid spaces in the include name. This fixes it 2004-05-07 13:26 hoffman * Source/ctest.cxx: ENH: better documentation 2004-05-07 12:53 hoffman * Source/: cmCTest.cxx, cmCTest.h: ENH: add the ability to block popup error dialogs in tests on windows 2004-05-07 12:52 hoffman * Source/kwsys/ProcessWin32.c: BUG: make sure the correct state is set for expired processes 2004-05-07 11:24 martink * Source/cmCTest.cxx: missing header for unix 2004-05-07 10:50 martink * Source/: cmCTest.cxx, cmCTest.h: updated testingoptions for continuous dashboards 2004-05-07 10:16 hoffman * Modules/FindGTK.cmake: Add a missing dollar sign 2004-05-07 08:35 martink * Templates/TestDriver.cxx.in: fix warning maybe 2004-05-06 16:06 hoffman * Source/cmLocalGenerator.cxx: BUG: make sure install works with spaces in the path 2004-05-06 15:34 king * Source/kwsys/: CMakeLists.txt, ProcessWin32.c, ProcessWin32Kill.cxx, ProcessWin32Kill.h.in: ENH: Adding process tree killing for Win32 process execution. 2004-05-06 14:30 king * Source/kwsys/Process.h.in: ERR: Added units to SetTimeout documentation. 2004-05-06 10:30 hoffman * Source/cmCTest.cxx: BUG: fix ctest so that the search path for test executables produces better output and does not use config dir when it is not set 2004-05-06 10:29 hoffman * Source/kwsys/SystemTools.cxx: BUG: fix collapse full path to handle a file in the root directory 2004-05-06 09:47 martink * Source/cmIfCommand.cxx: horrible hack 2004-05-06 08:51 martink * Templates/TestDriver.cxx.in: fix warning 2004-05-05 11:41 martink * Source/cmCTest.cxx: fix for in source testing 2004-05-05 10:41 martink * Modules/Platform/OSF1.cmake: a guess at some OSF compiler flags 2004-05-05 10:23 hoffman * ChangeLog.txt: change log up-to 2.0 branch point 2004-05-05 10:21 hoffman * ChangeLog.txt: ENH: add new change log marking 2.0 branch 2004-05-05 10:19 hoffman * CMakeLists.txt, Source/cmCPluginAPI.h: ENH: move version to 2.1 for cvs because 2.0 has been branched 2004-05-05 10:17 hoffman * CMakeLists.txt, Source/cmCPluginAPI.h, Utilities/Release/cmake_release.sh: ENH: move version numbers to cmake 2.0 for branch 2004-05-05 10:13 andy * Source/: cmCTest.cxx, cmake.cxx: ENH: Remove memory leak 2004-05-04 14:24 hoffman * Source/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: fix tests to work with in source builds 2004-05-04 14:18 martink * Source/cmCTest.cxx: support in source builds and arg passing 2004-05-04 11:24 andy * Modules/Platform/Windows-bcc32.cmake, Source/cmLocalUnixMakefileGenerator.cxx: ENH: Only mangle object files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland for now. 2004-05-04 09:16 martink * Source/cmIfCommand.cxx: fix warning 2004-05-03 17:51 andy * Tests/SwigTest/CMakeLists.txt: ENH: Cleanup example a bit 2004-05-03 16:38 andy * Source/cmCTest.cxx: ENH: After running test clear results for memory checking 2004-05-03 16:36 andy * Source/cmCTest.cxx: ENH: Skip tests that do not have defects 2004-05-03 16:35 andy * Modules/: CheckTypeSize.c, CheckTypeSize.cmake: ENH: support STDDEF and cleanup 2004-05-03 15:33 martink * Source/cmIfCommand.cxx: minor backwards fix 2004-05-03 12:34 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix to make spaces in paths work for jump over with borland and nmake on second build 2004-05-03 12:02 andy * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: Remove warning 2004-05-03 10:10 king * Source/cmStringCommand.h: ENH: Documented use of \1 syntax in replace expression. 2004-05-03 08:52 hoffman * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: fix warnings in test 2004-05-02 11:50 hoffman * Tests/: LinkLineOrder/Two.c, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: remove warnings in tests 2004-05-01 22:05 hoffman * Source/ctest.cxx: BUG: putenv syntax was wrong and caused a crash on the SGI 2004-05-01 10:08 martink * Source/: cmIfCommand.cxx, cmIfCommand.h: better if expression support 2004-05-01 10:07 martink * Modules/FindOpenGL.cmake: fix to find opengl on some osf systems 2004-05-01 09:57 andy * Source/cmCTest.cxx: ERR: Remove warning about shadow variables 2004-04-30 18:21 andy * Tests/: Complex/Library/testConly.c, ComplexOneConfig/Library/testConly.c, ComplexRelativePaths/Library/testConly.c, SubDir/ThirdSubDir/testfromauxsubdir.c: ENH: Remove warnings 2004-04-30 17:28 andy * Tests/Simple/simpleWe.cpp: ENH: Remove warning 2004-04-30 15:17 andy * Source/ctest.cxx: ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest 2004-04-30 14:27 hoffman * Tests/SwigTest/CMakeLists.txt: ENH: link in more than just python 2004-04-30 14:14 andy * Source/cmCTest.cxx: ENH: Report filename of the note 2004-04-30 13:41 andy * Modules/FindSWIG.cmake: ENH: More paths 2004-04-30 12:54 hoffman * Modules/FindSWIG.cmake: ENH: add another place to look for swig.exe 2004-04-30 12:52 hoffman * Modules/FindSWIG.cmake: ENH: try to find swig.exe in SWIG_DIR 2004-04-30 12:36 andy * Source/cmCTest.cxx: ENH: Add support for notes in Testing/Notes subdirectory. This way test can write notes that will be reported 2004-04-30 12:17 andy * Tests/SwigTest/: CMakeLists.txt, example.cxx, example.h, example.i, runme.php4, runme.pike, runme.pl, runme.py, runme.rb, runme.tcl, runme2.tcl: ENH: Here is test for swig module 2004-04-30 12:11 andy * Modules/: FindPHP4.cmake, FindPerlLibs.cmake, FindPike.cmake, FindRuby.cmake, FindSWIG.cmake, UseSWIG.cmake: ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake 2004-04-30 11:36 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: remove duplicate depend on cache file and use of make variable in make target 2004-04-30 11:36 hoffman * Templates/TestDriver.cxx.in: ENH: remove unused variable 2004-04-30 10:32 hoffman * Source/kwsys/SystemTools.cxx: ENH: remove warnings 2004-04-30 08:02 hoffman * Templates/CMakeLists.txt: BUG: add missing install file 2004-04-29 17:44 king * Source/kwsys/CMakeLists.txt: ENH: Added automatic adjustment of C++ flags to include -timplicit_local and -no_implicit_include for the Compaq compiler on OSF. 2004-04-29 17:41 andy * Source/cmMacroCommand.cxx, Source/cmMacroCommand.h, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Add ARGV and ARGN support to MACRO command. ARGV is the list of all arguments and ARGN is the list of all nonexpected arguments 2004-04-29 15:12 andy * Source/cmForEachCommand.cxx, Source/cmForEachCommand.h, Tests/StringFileTest/CMakeLists.txt: ENH: Add RANGE support to FOREACH 2004-04-29 14:51 andy * Source/: cmCTest.cxx, cmStandardIncludes.h: BUG: Add a safety check so that you cannot send cmOStringStream.str() to other stream and produce the funky hex number. This makes it impossible to compile such a code. Adding that exposed a whole bunch of places in CMake where streams were used wrongly 2004-04-29 13:25 andy * Source/kwsys/SystemTools.cxx: BUG: Most of time when asking if file exists, we actually want to read it... Should fix Bug #809 - FIND_INCLUDE should check readability 2004-04-29 12:33 hoffman * Source/: cmGetTargetPropertyCommand.cxx, cmLocalUnixMakefileGenerator.cxx: ENH: remove warnings 2004-04-29 10:26 hoffman * Source/cmake.cxx: BUG: fix crash from bug id 806 2004-04-28 14:25 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove warning 2004-04-28 13:40 hoffman * Source/cmAddExecutableCommand.h: BUG: fix for bug 121 add some docs for MFC flag 2004-04-28 13:21 hoffman * Modules/Platform/Darwin.cmake, Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for bug 116 platform files can now specify directories that should not be added by CMAKE 2004-04-28 12:31 hoffman * Source/cmCreateTestSourceList.cxx, Source/cmCreateTestSourceList.h, Templates/TestDriver.cxx.in: ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28 2004-04-28 10:52 andy * Source/cmake.cxx, Tests/CommandLineTest/CMakeLists.txt, Tests/CommandLineTest/PreLoad.cmake: ENH: Add support for automatically preloaded cmake file. Closes Bug #802 - Add auto preload file support in CMake 2004-04-28 10:15 andy * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: Encode object files with funny characters in the name. It should fix Bug #418 - Borland 5.5.1, Templates/*.cxx files with '+' chars used in execs 2004-04-28 10:09 hoffman * Tests/: Complex/VarTests.cmake, Complex/Executable/complex.cxx, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/Executable/complex.cxx: ENH: add a test for EQUAL in if 2004-04-28 10:05 andy * Tests/SubDir/ThirdSubDir/: pair_p_int.int1.c, testfromauxsubdir.c: ENH: More special cases 2004-04-28 10:00 hoffman * Modules/: CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake: ENH: fixes for optional flag arguments to check include macros 2004-04-28 09:59 hoffman * Source/cmIfCommand.cxx: BUG: fix logic in EQUAL if test 2004-04-28 09:52 hoffman * Modules/CheckIncludeFileCXX.cmake: BUG: fix for bug 80, check include cxx now has an optional argument that can is added to the cxx flags 2004-04-28 09:51 hoffman * Source/: cmIfCommand.cxx, cmIfCommand.h: ENH: add a numeric EQUAL to the IF statment, very useful for variable arguments in MACROS 2004-04-27 14:16 andy * Source/kwsys/: Base64.c, Base64.h.in, CMakeLists.txt, Configure.h.in, Configure.hxx.in, Copyright.txt, Directory.cxx, Directory.hxx.in, EncodeExecutable.c, Process.h.in, ProcessFwd9x.c, ProcessUNIX.c, ProcessWin32.c, README.txt, RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx, SystemTools.hxx.in, kwsysHeaderDump.pl, kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx, kwsysPrivate.h, kwsys_ios_fstream.h.in, kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in, kwsys_ios_sstream.h.in, kwsys_stl.h.in, test1.cxx, testIOS.cxx, testProcess.c: ENH: Move to VolView branch 2004-04-27 12:03 andy * Source/cmGetTargetPropertyCommand.cxx, Tests/CustomCommand/CMakeLists.txt: ENH: Add LOCATION to GET_TARGET_PROPERTY. Closes Bug #34 - Add to GET_TARGET_PROPERTY location of target 2004-04-27 12:02 andy * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: GetSafeDefinition is now in cmMakefile 2004-04-27 11:30 andy * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add method to get definition even if it does not exists 2004-04-27 11:08 andy * Tests/CustomCommand/: generator.cxx, wrapper.cxx: ERR: Remove warnings from tests 2004-04-27 09:22 andy * Source/cmSourceFile.cxx, Tests/SubDir/CMakeLists.txt, Tests/SubDir/vcl_algorithm+vcl_pair+double.foo.c, Tests/SubDir/AnotherSubdir/pair+int.int.c, Tests/SubDir/AnotherSubdir/secondone.c, Tests/SubDir/AnotherSubdir/testfromsubdir.c, Tests/SubDir/ThirdSubDir/pair+int.int1.c, Tests/SubDir/ThirdSubDir/testfromauxsubdir.c, Tests/SubDir/ThirdSubDir/thirdone.c: BUG: Fix aus source dir and add better testing of it 2004-04-27 08:30 hoffman * Source/: cmLoadCommandCommand.cxx, cmMacroCommand.cxx: WRN: remove warnings 2004-04-26 18:51 andy * Source/cmCTest.cxx: ENH: Another one of those nasty hex numbers in the ctest output 2004-04-26 18:49 andy * Tests/SubDir/AnotherSubdir/: secondone.c, testfromsubdir.c: ENH: Add extra test files 2004-04-26 17:45 hoffman * Source/cmLoadCommandCommand.cxx: ENH: fix for bug id 27, add a signal handler for crashes in loaded commands 2004-04-26 17:32 andy * Source/CMakeLists.txt, Source/cmSourceFile.cxx, Tests/SubDir/CMakeLists.txt, Tests/SubDir/Executable/test.cxx: ENH: When source file is in subdirectory put object file in subdirectory. Fixes Bug #290 - Source files in subdirectories should produce object files in subdirectories 2004-04-26 13:42 andy * Modules/FindTCL.cmake: ENH: Add TCL_FOUND 2004-04-26 13:42 andy * Templates/: CMakeLists.txt, install-sh: ENH: With new install framework we don't need install-sh any more 2004-04-26 13:42 andy * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx: ENH:Add test for GET/SET_DIRECTORY_PROPERTY 2004-04-26 11:23 andy * Source/: cmake.cxx, cmake.h: BUG: Fix resolving of infinite loops while CMakeSetup/ccmake still running 2004-04-26 11:12 martink * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx: added tests for var args with macros 2004-04-26 11:11 martink * Source/: cmMacroCommand.cxx, cmMacroCommand.h: macros now support varargs 2004-04-26 11:00 king * Modules/FindITK.cmake, Modules/FindVTK.cmake, Source/cmFindPackageCommand.cxx: BUG#682: Adding environment variable check to FIND_PACKAGE command. 2004-04-26 10:49 king * Source/cmFindPackageCommand.cxx: STYLE: Removed trailing whitespace. 2004-04-26 10:19 king * Modules/: CheckVariableExists.c: BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. 2004-04-23 16:26 hoffman * Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate: BUG: fix for bug 769 CMAKE_STANDARD_LIBRARIES now used in ides 2004-04-23 16:20 andy * Source/: cmCommands.cxx, cmGetDirectoryPropertyCommand.cxx, cmGetDirectoryPropertyCommand.h, cmMakefile.h, cmSetDirectoryPropertiesCommand.cxx, cmSetDirectoryPropertiesCommand.h: ENH: Add GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change include directories and get all sorts of things. Closes Bug #25 - Get_CMAKE_PROPERTIES 2004-04-23 13:12 hoffman * Modules/CMakeSystemSpecificInformation.cmake, Source/cmLocalVisualStudio7Generator.cxx: ENH: add verbose make abilility to visual studio 7 2004-04-23 12:52 hoffman * Source/CMakeLists.txt, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSubdirCommand.cxx, Tests/PreOrder/CMakeLists.txt, Tests/PreOrder/simple.cxx, Tests/PreOrder/Library/CMakeLists.txt, Tests/PreOrder/Library/simpleLib.cxx: ENH: add SUBDIR PREORDER and fix clean for non-relative paths 2004-04-23 10:03 andy * Source/: cmAddExecutableCommand.cxx, cmAddExecutableCommand.h: ENH: Unify with other variables 2004-04-23 09:12 hoffman * Source/cmLocalVisualStudio6Generator.cxx: ENH: allow verbose makefile flag to remove nologo from all commands so you can see them in visual studio 6 2004-04-23 08:50 king * Source/cmCTest.cxx: ERR: Fixed unused variable assignment warning. 2004-04-22 18:04 andy * Source/cmCTest.cxx: ENH: Add DynamicAnalisys support. The old Purify is still available through --compatibility-mode 2004-04-22 17:23 hoffman * Modules/: FindwxWidgets.cmake, UsewxWidgets.cmake: BUG: fix for bug 618 2004-04-22 17:20 hoffman * Modules/FindGLUT.cmake: BUG: fix for bug 743 2004-04-22 17:08 hoffman * Modules/FindGTK.cmake: BUG: fix for bug 607 2004-04-22 16:58 hoffman * Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Templates/staticLibHeader.dsptemplate: ENH: add support for static library property STATIC_LIBRARY_FLAGS 2004-04-22 16:16 hoffman * Modules/FindDCMTK.cmake: ENH: contribution from Ian Scott, thanks. 2004-04-22 15:59 martink * Modules/FindOpenGL.cmake: update comments 2004-04-22 14:38 hoffman * Source/cmTarget.cxx: ENH: add a property for HAS_CXX to a target that will force the use of a c++ compiler in the linking of an executable that contains only c code 2004-04-22 14:11 andy * Source/kwsys/SystemTools.cxx: ERR: Verify that getenv returned something before using it 2004-04-22 13:37 martink * Source/cmAddCustomCommandCommand.h: update docs 2004-04-22 13:24 hoffman * Source/: cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmMakefile.cxx, kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and FIND_PATH in addtion to and before PATH 2004-04-22 11:12 hoffman * Modules/FindwxWindows.cmake: BUG: fix bad if statements 2004-04-22 09:44 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG 178: make top level cmakelist file a source in ALL_BUILD 2004-04-21 17:54 andy * Source/cmGlobalVisualStudio71Generator.cxx: ERR: Fix install on VS71 2004-04-21 16:23 king * Source/: cmListFileLexer.c, cmListFileLexer.h, cmListFileLexer.in.l: ENH: Added cmListFileLexer_SetString method to allow a string to be parsed as input. 2004-04-21 16:07 hoffman * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: add dep 2004-04-21 15:09 hoffman * Modules/FindwxWindows.cmake: ENH: fix for mingw 2004-04-21 11:42 andy * Source/cmFileCommand.cxx: BUG: Put all files to manifest 2004-04-21 11:36 king * Source/cmAddCustomTargetCommand.cxx: BUG: Fixed check of number of arguments. 2004-04-21 11:33 king * Modules/: FindITK.cmake, FindVTK.cmake: ENH: Terminate with a FATAL_ERROR if FIND_PACKAGE command was called with REQUIRED argument and package was not found. 2004-04-21 11:32 andy * Source/cmLocalGenerator.cxx: ENH: Do preinstall and postinstall script even if the target is not installed 2004-04-21 10:34 andy * Source/: cmakemain.cxx, ctest.cxx: ENH: Report error and exit when the current directory is not specified 2004-04-21 10:33 andy * Source/kwsys/SystemTools.cxx: BUG: Prevent crash when the current working directory cannot be established 2004-04-20 18:28 andy * Source/cmSystemTools.cxx: BUG: If the line ends without new-line character, Split should still return something 2004-04-19 17:21 andy * Source/cmCTest.cxx: RNH: Support NoDartCoverage in the binary directorory 2004-04-19 10:36 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH#696: Adding REQUIRED option to FIND_PACKAGE command. It will terminate the cmake configure step if the package is not found. 2004-04-18 14:41 andy * Source/: cmFileCommand.cxx, cmFileCommand.h, cmGlobalGenerator.cxx, cmMakefile.cxx, cmMakefile.h, cmWriteFileCommand.cxx, cmWriteFileCommand.h, cmake.cxx, cmake.h: ENH: Add check for infinite loops. Make sure that files written using WRITE_FILE and FILE WRITE are not used as input files. Fixes Bug #678 - WRITE_FILE and FILE(WRITE...) lead to infinite loops 2004-04-18 13:16 andy * Source/: cmLocalUnixMakefileGenerator.cxx, cmSourceFile.cxx: ENH: Add support for adding object files and sources. This way you can use external program such as assembler or fortran to generate object files. Also star of fixing: Bug #757 - add .o file as a source file 2004-04-16 14:55 martink * Source/cmCTest.cxx: better args handling for -I options 2004-04-16 14:52 martink * Source/: cmCTest.cxx, cmCTest.h: better args handling for -I option 2004-04-16 13:36 andy * Source/cmCTest.cxx: ENH: Better reporting of what tests failed and write a file with failed tests 2004-04-16 09:50 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 91 2004-04-15 16:11 andy * Source/CursesDialog/cmCursesStringWidget.cxx: ENH: Add support for HOME and END keys. Also fix Bug #666 - In CCMake when deleting something, it does not stop at the beginning of line 2004-04-15 15:46 andy * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Prevent deleting not existing variables and therefore prevent crash. Fixes: Bug #750 - CCMake crashes when deleting all variables 2004-04-15 13:59 andy * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, Complex/Library/file2.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/file2.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/file2.cxx: ENH: Add test for REMOVE_DEFINITION 2004-04-15 13:58 andy * Source/: cmCommands.cxx, cmMakefile.cxx, cmMakefile.h, cmRemoveDefinitionsCommand.cxx, cmRemoveDefinitionsCommand.h: ENH: ADD REMOVE_DEFINITION command. Fix feature request: Bug #182 - Add opposite to ADD_DEFINITIONS 2004-04-15 13:15 hoffman * Source/cmOptionCommand.cxx: BUG: fix for 282 2004-04-15 13:09 andy * Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Templates/CMakeLists.txt: ENH: Handle make install target on Visual Studio 6 and 7 and install templates 2004-04-15 12:07 andy * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: Ok, that is it. Remove old install and replace it with new 2004-04-15 11:55 hoffman * Modules/FindMFC.cmake: BUG: fix for bug 506 2004-04-15 11:38 hoffman * Source/cmSiteNameCommand.cxx: BUG: fix for bug 689 2004-04-15 08:22 hoffman * Modules/: CheckForPthreads.c, CheckFunctionExists.c, CheckTypeSize.c, CheckVariableExists.c, TestBigEndian.c: ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-14 17:02 hoffman * Modules/FindITK.cmake: BUG: fix for bug 608 2004-04-14 16:58 hoffman * Source/cmGlobalVisualStudio7Generator.cxx: BUG: fix external projects for vc7 2004-04-14 15:56 hoffman * Modules/: CheckFunctionExists.c, TestBigEndian.c: ENH: remove warnings from try compiles 2004-04-14 14:25 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Renamed --help-list-commands to --help-command-list and split --help [command] into separate --help and --help-command cmd options. 2004-04-14 13:40 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Added --help-list-commands option. 2004-04-14 08:55 hoffman * Source/cmCTest.cxx: ENH: remove warning 2004-04-13 18:27 hoffman * Source/cmCTest.cxx: ENH: fix warning 2004-04-13 16:32 hoffman * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: ENH: add the ability to run a limited sub-set of the tests 2004-04-12 21:01 hoffman * Modules/FindGTK.cmake: BUG: fix for bug 593 2004-04-09 09:53 andy * Source/cmCTest.cxx: BUG: Display string not some weird pointer 2004-04-09 08:37 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: add full path libraries to the depend information 2004-04-08 17:13 andy * Modules/MacOSXBundleInfo.plist.in, Source/cmAddExecutableCommand.cxx, Source/cmAddExecutableCommand.h: ENH: Improve Mac OSX bundle support 2004-04-07 12:07 martink * Source/cmLocalVisualStudio7Generator.cxx: fix problem with custom command 2004-04-07 09:58 hoffman * Source/cmTarget.cxx: ENH: remove warnings on sgi 2004-04-05 10:35 king * DartConfig.cmake: ERR: Need to use latest testing configuration even on branch. 2004-04-02 13:21 king * Source/cmTarget.cxx: BUG: _LINK_TYPE cache variable should never be switched from optimized to debug or vice versa. 2004-04-02 09:43 hoffman * Source/CMakeLists.txt, Tests/Jump/Library/Shared/CMakeLists.txt: ENH: fix for apple 2004-04-02 08:09 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix warning and shadow variable 2004-04-01 16:07 martink * Source/cmCTest.cxx: fix for missing valid images 2004-04-01 15:28 king * Source/kwsys/ProcessFwd9x.c: ENH: Added comment for future work to make forwarding executable always statically linked. 2004-04-01 14:37 andy * Source/cmCTest.cxx: BUG: Fix bug on windows. You cannot cout std::string directly 2004-04-01 14:11 andy * Source/: cmCTest.cxx, CTest/cmCTestSubmit.cxx, CTest/cmCTestSubmit.h: ENH: Add logging of submitting 2004-04-01 09:59 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix non relative paths 2004-04-01 08:59 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for non relative paths with spaces in the path 2004-03-31 16:44 king * Modules/FindTclsh.cmake: ENH: Added registry check for ActiveState Tcl 8.4.6. 2004-03-31 11:26 andy * Source/cmCTest.cxx: ENH: Reduce number of GetCurrentWorkingDirectory 2004-03-31 11:24 andy * Source/cmCTest.cxx: ENH: Change to the new directory 2004-03-31 10:01 hoffman * Source/: CMakeLists.txt, cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmake.cxx: ENH: make relative paths optional and default off, and add a test for them 2004-03-29 12:51 king * Source/cmConfigureFileCommand.cxx: BUG#485: Fixing on CMake 1.8 branch. 2004-03-29 12:04 king * Source/: cmSystemTools.h, cmTryCompileCommand.cxx: BUG#679: Merging fix to CMake 1.8 branch. 2004-03-28 17:59 andy * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx: ENH: When installing project, write manifest 2004-03-28 16:36 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Add a way to clean additional files 2004-03-28 16:00 andy * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmMakefile.cxx: ENH: If configure file fails do not create directory 2004-03-28 10:14 andy * Source/cmIncludeCommand.cxx: ERR: Remove debug 2004-03-28 10:14 andy * Source/cmLocalGenerator.cxx: BUG: Support paths with spaces 2004-03-28 09:46 andy * Source/: cmIncludeCommand.h, cmSetTargetPropertiesCommand.h: DOC: Fix comment 2004-03-27 20:59 andy * Source/cmLocalGenerator.cxx, Source/cmSetTargetPropertiesCommand.h, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/PostInstall.cmake, Tests/SimpleInstall/PreInstall.cmake, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/PostInstall.cmake, Tests/SimpleInstallS2/PreInstall.cmake: ENH: Add pre and post install script support 2004-03-27 19:52 andy * Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeLists.txt: ENH: Add support for importing modules without specifying path 2004-03-27 19:52 andy * Source/cmFindPackageCommand.cxx: ERR: That slash is unnecessary 2004-03-27 13:20 starreveld * Modules/FindOpenGL.cmake: ERR: Shouldn't be adding xlibs to opengllibs on osx 2004-03-25 16:06 martink * Source/cmCTest.cxx: coverage change that will probably end in an infinite loop 2004-03-25 08:45 king * Source/: cmLinkLibrariesCommand.h, cmTargetLinkLibrariesCommand.h: ENH: Clarified documentation for LINK_LIBRARIES and TARGET_LINK_LIBRARIES. 2004-03-24 16:31 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Added support to library flags parser for -Wl and -R options. 2004-03-23 15:02 king * Modules/Platform/Windows-cl.cmake: ERR: Fixed incorrect documentation for CMAKE_CXX_WARNING_LEVEL. Submitted by David Cole. 2004-03-20 20:37 andy * Source/cmCTest.cxx: ENH: Fix warning 2004-03-19 14:48 king * Source/cmTryCompileCommand.cxx: ENH: Clarified recursive TRY_COMPILE error message. 2004-03-19 09:34 andy * Source/cmCTest.cxx: ERR: Fix warnings about wrong format 2004-03-18 09:52 andy * Source/cmCTest.cxx: ERR: Fix build on broken C++ compiles with no != operator for std::string 2004-03-17 11:30 andy * Source/: cmCTest.cxx, cmCTest.h: BUG: change directory before running test and remember test number 2004-03-17 09:42 berk * Source/: cmSystemTools.h, cmTryCompileCommand.cxx: BUG: When error occurs, try compiles should still work 2004-03-17 08:20 andy * Source/cmCTest.h: ERR: On some compilers structure inside class cannot reference private typdefs from the same class 2004-03-16 12:54 king * Source/cmExportLibraryDependencies.cxx: ERR: Added missing include for auto_ptr. 2004-03-15 14:54 andy * Source/kwsys/CMakeLists.txt: ENH: Always include KWSys header files directory 2004-03-15 10:44 king * Source/cmExportLibraryDependencies.cxx: BUG#675: If not appending, do copy-if-different on exported file. 2004-03-15 09:35 andy * Source/cmCTest.h: ERR: Fix build 2004-03-14 12:28 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add support for future tags 2004-03-14 11:23 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Count tests while they go. Also in the logs report more stuff like elapsed time etc. 2004-03-12 14:43 king * Source/kwsys/ProcessUNIX.c: ERR: SIGSEGV == SIGBUS on BeOS. 2004-03-10 14:33 hoffman * Source/: cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h: ENH: update vs71 generator to support excluded subdirs 2004-03-09 16:28 hoffman * Source/CMakeLists.txt, Source/cmEnableTestingCommand.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSubdirCommand.cxx, Source/cmSubdirCommand.h, Tests/SubDir/Executable/test.cxx: ENH: add new subdirectory exclude from top option 2004-03-09 16:20 hoffman * Tests/SubDir/: CMakeLists.txt, Examples/CMakeLists.txt, Examples/example1/CMakeLists.txt, Examples/example1/example1.cxx, Examples/example2/CMakeLists.txt, Examples/example2/example2.cxx, Executable/CMakeLists.txt, Executable/test.cxx: ENH: create new test to test subdir exclude 2004-03-09 12:31 andy * Source/cmLocalVisualStudio7Generator.cxx: ENH: Properly build WIN32 executables 2004-03-09 07:50 andy * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Try to remove warning 2004-03-08 22:24 andy * Source/cmInstallTargetsCommand.h: ENH: Add comment about RUNTIME_DIRECTORY 2004-03-08 19:05 andy * Source/: cmConfigureFileCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Move implementation of configure_file to cmMakefile, so that other classes can use it 2004-03-04 10:05 king * Source/cmStringCommand.cxx, Source/cmStringCommand.h, Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/InputFile.h.in: ENH: Added STRING(CONFIGURE ...) command. 2004-03-03 18:18 king * Source/: cmConfigureFileCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Moved variable and #cmakedefine replacement from cmConfigureFileCommand.cxx to a ConfigureString method on cmMakefile. This will give other commands access to the configuration code. 2004-02-29 15:13 andy * Tests/COnly/CMakeLists.txt: ERR: Too much commits 2004-02-29 15:13 andy * Source/cmMakefile.cxx, Tests/COnly/CMakeLists.txt: ERR: Fix GetModulesFile 2004-02-29 14:23 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Handle backticks as a valid library 2004-02-29 09:53 andy * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Cleanup and remove warning 2004-02-29 09:51 andy * Source/cmLocalCodeWarriorGenerator.cxx: ERR: Fix build on Mac 2004-02-28 18:59 andy * Modules/MacOSXBundleInfo.plist.in, Source/cmAddExecutableCommand.cxx, Source/cmCPluginAPI.cxx, Source/cmFindPackageCommand.cxx, Source/cmLocalGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.h: ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE 2004-02-24 18:48 andy * Source/cmSystemTools.cxx: ERR: Fix crash. We should check output before appending to it 2004-02-24 10:05 andy * Source/: cmCTest.cxx, cmCTest.h: BUG: CVS update fix. If the CVS command was not set there was no indication that something went wrong. Now it will make sure it does. Also start working on multiple configuration scripts 2004-02-24 10:04 andy * Source/cmSystemTools.cxx: ENH: Put Process execution errors in output and honor verbosity 2004-02-23 09:56 andy * Source/: cmCTest.cxx, cmLocalGenerator.cxx: ENH: Improve coverage support and add more verbosity 2004-02-23 09:54 king * Source/kwsys/Directory.cxx: ERR: Merging 1.7->1.9 changes to CMake 1.8 branch. 2004-02-22 22:07 andy * Source/: cmCMakeMinimumRequired.h, cmConfigureFileCommand.h, cmElseCommand.h, cmEndIfCommand.h, cmExecProgramCommand.h, cmFindFileCommand.h, cmFindLibraryCommand.h, cmFindPathCommand.h, cmFindProgramCommand.h, cmGetFilenameComponentCommand.h, cmMakeDirectoryCommand.h, cmRemoveCommand.h, cmSeparateArgumentsCommand.h, cmWriteFileCommand.h: ENH: Make more commands scriptable 2004-02-22 22:06 andy * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Prevent crash when deleting the last cache item 2004-02-22 13:14 andy * Source/: cmCPluginAPI.cxx, cmFLTKWrapUICommand.cxx, cmGetCMakePropertyCommand.cxx, cmGetSourceFilePropertyCommand.cxx, cmLoadCacheCommand.h, cmOutputRequiredFilesCommand.h, cmQTWrapCPPCommand.h, cmQTWrapUICommand.h, cmSetSourceFilesPropertiesCommand.cxx, cmSourceFilesCommand.cxx, cmUseMangledMesaCommand.h, cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h, cmWrapExcludeFilesCommand.cxx: ENH: Cleanups 2004-02-20 14:46 andy * Source/cmake.cxx, Source/cmakemain.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Ok, when doing cmake -P you should not have to squish filename next to -P, There should be space between 2004-02-20 09:25 andy * Source/cmCTest.cxx: ENH: Handle wrong library on sun and no project on visual studio 7 2004-02-19 10:33 andy * Source/CMakeLists.txt: ENH: Comment out test 2004-02-19 10:32 andy * CMakeLists.txt, Source/CMakeLists.txt: ENH: Cleanup 2004-02-19 10:29 andy * Source/cmIfCommand.h: ENH: Make IF command scriptable 2004-02-19 10:28 king * Docs/cmake-mode.el: BUG: Fixed identification of ( and ) tokens to avoid finding them in string literals. 2004-02-19 09:35 andy * Source/cmMacroCommand.h: ENH: Macro should be scriptable 2004-02-19 09:35 andy * Source/cmCTest.cxx: ERR: Do not exit when find bad custom files. 2004-02-17 08:35 hoffman * Source/cmDynamicLoader.cxx: BUG: don't crash when loading a module that does not exist 2004-02-16 10:48 hoffman * Source/: cmConfigure.cmake.h.in, cmDynamicLoader.cxx: ENH: use cmake variables for cmDynamicLoader to figure out library prefix and extensions 2004-02-16 09:50 hoffman * Modules/Platform/Windows-gcc.cmake, Source/cmDynamicLoader.cxx: BUG: fix mingw module load tests 2004-02-14 16:55 hoffman * Modules/Platform/Windows-gcc.cmake: shared modules are not linked so do not use lib prefix 2004-02-13 10:51 hoffman * Modules/Platform/Windows-gcc.cmake, Source/kwsys/SystemTools.cxx: ENH: change mingw to use libfoo.dll instead of foo.dll since it can link to them 2004-02-12 21:44 andy * Source/cmFileCommand.cxx: ENH: Add DESTDIR support 2004-02-12 13:38 king * Source/kwsys/Directory.cxx: ERR: Fixed use of _findfirst for MSVC 6. 2004-02-12 11:23 martink * Source/kwsys/Directory.cxx: fix incorrect signature for findfirst 2004-02-12 09:13 hoffman * Source/kwsys/SystemTools.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: Fix install test fail on mingw 2004-02-12 08:58 andy * Source/kwsys/SystemTools.cxx: BUG: Like cygwin, mingw does not produce .lib file for shared libraries, so search for dll when searching for library 2004-02-11 10:56 andy * Source/cmCTest.cxx: ERR: Remove warning 2004-02-11 08:28 andy * Source/kwsys/SystemTools.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: On Cygwin shared libraries have only .dll file no .lib file, so when finding library on cygwin, search also for .dll. Also fix SimpleInstall test on cygwin 2004-02-10 15:53 andy * Source/cmCTest.cxx: ERR: Use filepath followed by filename not another filepath 2004-02-10 15:51 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add logging of tests while running. This way you can actually see the output as it goes 2004-02-09 16:40 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Some cleanup and try to fix Visual Studio builds 2004-02-09 15:34 andy * Source/cmLocalUnixMakefileGenerator.cxx: BUG: -l or whatever should be at beginning of line. 2004-02-09 11:33 andy * Source/CMakeLists.txt, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstallS2/inst.cxx: ENH: Some systems do not handle spaces in the path 2004-02-08 20:08 andy * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Install stage2 to handle runtime problem 2004-02-08 13:23 andy * Source/cmCTest.cxx: ENH: Attempt to support tests in funky subdirectories 2004-02-08 12:04 andy * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add second part of SimpleInstall 2004-02-06 16:43 king * Source/cmGlob.cxx: BUG#480: Merging 1.10->1.11 changes to 1.8 branch. 2004-02-06 15:26 andy * Source/cmGlob.cxx: ENH: When nor specifying full path, make sure it actually works, on broken filesystems fix case of files. 2004-02-06 15:18 andy * Source/cmFileCommand.cxx: ENH: Handle script mode 2004-02-06 13:47 andy * Source/: cmEndForEachCommand.h, cmForEachCommand.h, cmStringCommand.h: ENH: Make more commands scriptable 2004-02-06 10:49 andy * Modules/FindJNI.cmake: ENH: Better finding of JNI 2004-02-05 10:12 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ERR: Fix test on windows with network paths 2004-02-04 09:42 berk * Tests/: SimpleInstall/foo.c, SimpleInstall/foo.h, SimpleInstall/inst.cxx, SimpleInstallS2/foo.c, SimpleInstallS2/foo.h, SimpleInstallS2/inst.cxx: ENH: Fix test on HP-UX 2004-02-03 11:23 andy * Source/cmFileCommand.cxx: ENH: Fix support for debug postfix 2004-02-03 10:53 andy * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx, cmSetCommand.h: ENH: Add support for install postfix 2004-02-03 10:25 andy * Source/cmLocalGenerator.cxx: ENH: Cleanup output 2004-02-03 09:26 andy * Source/cmLocalUnixMakefileGenerator.cxx, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstallS2/CMakeLists.txt: ENH: Fix ADD_DEPENDENCIES on Unix makefiles and fix SimpleInstall test not to link the module 2004-02-02 18:23 andy * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt: ENH: Make test work on windows 2004-02-02 18:23 andy * Source/cmCTest.cxx: ENH: Propagate build type 2004-02-01 16:48 andy * Tests/: SimpleInstall/lib2.h, SimpleInstall/lib3.h, SimpleInstallS2/lib2.h, SimpleInstallS2/lib3.h: ENH: Fix exports 2004-02-01 12:53 andy * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/foo.c, Tests/SimpleInstall/foo.h, Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/lib1.cxx, Tests/SimpleInstall/lib1.h, Tests/SimpleInstall/lib2.cxx, Tests/SimpleInstall/lib2.h, Tests/SimpleInstall/lib3.cxx, Tests/SimpleInstall/lib3.h, Tests/SimpleInstallS2/CMakeLists.txt, Tests/SimpleInstallS2/foo.c, Tests/SimpleInstallS2/foo.h, Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib1.cxx, Tests/SimpleInstallS2/lib1.h, Tests/SimpleInstallS2/lib2.cxx, Tests/SimpleInstallS2/lib2.h, Tests/SimpleInstallS2/lib3.cxx, Tests/SimpleInstallS2/lib3.h: ENH: Add install test 2004-01-29 10:29 hoffman * Source/cmCTest.cxx: BUG: keep output 2004-01-29 09:01 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove depend on CMakeCache for rebuild_cache target to avoid double rebuild cache 2004-01-28 13:17 hoffman * Source/cmCTest.cxx: BUG: After running builtin ctest, go back to the original directory 2004-01-28 11:22 andy * Source/cmLocalGenerator.cxx: ERR: Remove cout 2004-01-28 10:59 king * Source/kwsys/ProcessWin32.c: BUG: Corrected detection of exceptional exit code. 2004-01-28 10:59 king * Source/kwsys/testProcess.c: ENH: Added exception string to abnormal termination report. 2004-01-28 09:47 martink * Source/cmCTest.cxx: Including exception string in test's error output. 2004-01-28 08:11 andy * Source/cmFileCommand.cxx: ERR: Remove warning about unused variable 2004-01-27 17:12 hoffman * Source/cmaketest.cxx: remove old file 2004-01-27 17:12 hoffman * Source/cmCTest.cxx: ENH: add a dynamic loader flush cache 2004-01-27 17:11 andy * Source/cmCTest.cxx: ENH: Only display the precontext or postcontext up to the next or previous warning or error 2004-01-27 14:51 hoffman * Source/cmSystemTools.cxx: BUG: fix FMM 2004-01-27 12:37 andy * Source/: cmFileCommand.cxx, cmInstallTargetsCommand.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h, cmTarget.h: ENH: Make install on windows seems to work now 2004-01-27 09:53 andy * Source/cmFileCommand.cxx: ERR: Fix build on Mingw. Looks like Mingw is more like visual studio... Thanks Fred Wheeler 2004-01-27 09:42 martink * Source/cmCTest.cxx: fix for backup restore 2004-01-27 09:05 andy * Source/cmFileCommand.cxx: ERR: And yet another set of constants for file permissions 2004-01-27 09:05 andy * Source/: cmStandardIncludes.h, cmSystemTools.h: ERR: Properly handle mode_t on borland 2004-01-26 17:52 andy * Source/cmStandardIncludes.h: ERR Fix borland 2004-01-26 16:29 andy * Source/cmLocalGenerator.cxx: BUG: Fix for spaces in path 2004-01-26 16:24 andy * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx: ENH: Several windows bugs and fixes 2004-01-26 16:05 andy * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add unix style install in file command 2004-01-26 15:50 andy * Source/: cmConfigureFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Preserve permissions when copying files 2004-01-26 15:03 andy * Source/: cmStandardIncludes.h, cmSystemTools.cxx: ERR: Fix build problems on Visual Studio 6 2004-01-26 14:55 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add code for setting and getting permissions 2004-01-26 14:41 andy * Source/: cmCTest.cxx, cmSystemTools.cxx: ENH: Improve calling of RunSingle command and fix compile error 2004-01-26 14:00 hoffman * Source/cmSystemTools.cxx: ENH: forgot return value 2004-01-26 13:57 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add support for CTestCustom.ctest, which modifies some behavior of ctest 2004-01-26 13:32 hoffman * Source/: cmCTest.cxx, cmGlobalGenerator.cxx, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h: BUG: fix put/get env problems 2004-01-26 13:32 hoffman * Source/kwsys/ProcessWin32.c: ENH: fix for build on cygwin mingw 2004-01-25 19:30 andy * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ERR: Fix std:: namespace 2004-01-25 19:25 andy * Source/: cmGlobalGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Start adding new installation framework 2004-01-24 12:52 king * Tests/Jump/Executable/CMakeLists.txt: BUG: Due to backward ordering, Visual Studio GUIs need the link directories for the libraries the first time. 2004-01-23 15:17 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: .lib from a .dll should go in m_LibraryOutputPath not m_ExecutableOutputPath 2004-01-23 13:43 hoffman * Tests/Jump/Library/Shared/CMakeLists.txt: BUG: libdir was set wrong on windows 2004-01-23 13:43 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: jump over feature was not working for windows 2004-01-23 13:19 andy * DartConfig.cmake: ENH: Fix url 2004-01-23 13:01 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for debug flags into project files 2004-01-23 13:01 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: more fixes for relative path stuff 2004-01-23 12:46 andy * DartConfig.cmake: ENH: Add nightly reporting 2004-01-23 12:40 hoffman * Modules/CMakeDetermineCCompiler.cmake: ENH: use CFLAGS for testing for gnu 2004-01-23 11:26 andy * DartConfig.cmake: ENH: More continuous e-mail stuff 2004-01-23 11:22 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: convert the .o files to not have ./ 2004-01-23 09:54 king * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: BUG: Fix to build rule generation with relative paths. 2004-01-23 09:48 king * DartConfig.cmake: ENH: Improving CMake continuous dashboards. Sending continuous email for all kinds of failures. 2004-01-23 09:44 martink * Source/: cmCTest.cxx, cmCTest.h: fixes to backup restore options 2004-01-23 08:53 king * Source/cmLocalGenerator.cxx: STYLE: Deleted trailing whitespace. 2004-01-23 08:51 king * Source/CMakeLists.txt: ERR: Fixed project name for Jump tests. 2004-01-22 14:44 king * Source/kwsys/: Process.h.in, ProcessUNIX.c: ERR: Fixed function prototypes with zero arguments to be C-style. 2004-01-22 11:16 andy * Source/kwsys/ProcessUNIX.c: BUG: If working directory does not exists, exit 2004-01-22 11:10 andy * Source/cmCTest.cxx: BUG: If at least one test fails, the percent cannot be greater than 99 2004-01-22 10:54 king * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: BUG: Fix jump-over-and-build for missing libraries when the relative path to the library is different between the source and destination of the jump. 2004-01-22 10:51 king * Tests/Jump/Library/: CMakeLists.txt, jumpShared.cxx, jumpStatic.cxx, Shared/CMakeLists.txt, Shared/jumpShared.cxx, Static/CMakeLists.txt, Static/jumpStatic.cxx: ENH: Improved test to have a different relative path name for libraries between the Executable and Library directories. 2004-01-22 10:36 king * Source/CMakeLists.txt: ENH: Added JumpWithLibOut and JumpNoLibOut to test whether jumping over to build a missing library works. 2004-01-22 10:30 king * Source/: cmake.cxx, kwsys/SystemTools.cxx: BUG: CopyFileIfDifferent should return success if the files did not differ or if the copy succeeded. It should return failure only if the files were different and the copy failed. 2004-01-22 10:23 king * Tests/Jump/Library/CMakeLists.txt: ERR: Fixed post-build rule to copy shared library correctly. 2004-01-22 09:56 king * Tests/Jump/: CMakeLists.txt, Executable/CMakeLists.txt, Executable/jumpExecutable.cxx, Library/CMakeLists.txt, Library/jumpShared.cxx, Library/jumpStatic.cxx: ENH: Adding test for jumping over and building a missing library. 2004-01-21 18:39 andy * Modules/CMakeDefaultMakeRuleVariables.cmake: ENH: This will probably break some obscure version of gcc, but until then, everybody doing profiling will be happy 2004-01-21 15:55 king * Source/cmSystemTools.cxx: BUG: ::Stdout method should flush cout after writing data. 2004-01-21 15:12 king * Modules/CMakeTestCCompiler.cmake: BUG#530: Merging 1.9 -> 1.10 changes to CMake 1.8 branch. 2004-01-21 15:11 king * Modules/CMakeTestCCompiler.cmake: BUG#530: Using #error to report a nice error message if the C compiler is set to a C++ compiler. 2004-01-21 15:08 king * Modules/TestBigEndian.c: BUG: Use return statement instead of exit. 2004-01-21 15:07 martink * Source/kwsys/ProcessUNIX.c: merge from the main tree 2004-01-21 14:43 king * Source/cmCTest.cxx: BUG: empty method on std string is a test, and does not set the string to empty. 2004-01-21 14:27 hoffman * Source/cmCTest.cxx: BUG: fix leak 2004-01-21 14:06 king * Source/cmCTest.cxx: BUG: Fixed buffer size in MakeXMLSafe. 2004-01-21 13:38 andy * Source/kwsys/ProcessUNIX.c: BUG: Fix valgrind error. If working directory is not set do not do chdir 2004-01-21 09:49 hoffman * Source/cmCTest.cxx: BUG: if a test is not found, it should fail 2004-01-21 09:25 hoffman * Source/cmCTest.cxx: ENH: make sure tests that are not run fail, and make sure that it does not try to run directories with the same name as tests 2004-01-20 14:36 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: bug fix for IBM broken xlC 6.0.0.4 compiler 2004-01-20 14:35 hoffman * Source/cmSystemTools.cxx: ENH: dont do relative paths when nothing is relative 2004-01-19 09:30 king * Source/kwsys/testProcess.c: ERR: Fixed unused argument warning. 2004-01-19 09:30 king * Source/kwsys/CMakeLists.txt: ERR: Must include Dart module after PROJECT command. 2004-01-17 12:47 king * Source/kwsys/CMakeLists.txt: ENH: Added Dart testing configuration. 2004-01-17 12:46 king * Source/kwsys/testProcess.c: ENH: Added a recursive process execution test. 2004-01-16 14:00 martink * Source/cmCTest.cxx: fix so that ctest is run even with bad cmake result 2004-01-15 17:07 andy * Source/cmCTest.cxx: ENH: Handle spaces in the dart output of test 2004-01-15 14:04 king * Modules/Platform/Windows-bcc32.cmake: BUG#518: Merging 1.30->1.31 changes to CMake 1.8 branch. 2004-01-15 13:57 andy * Modules/Platform/Windows-bcc32.cmake: ENH: Fix typos about copying exe flags to shared flags and to modules. Bug #518 - On borland, initial flags for bulding module are wrong 2004-01-15 08:50 king * Source/cmSystemTools.cxx: ENH: Added more error state checks to RunSingleCommand. 2004-01-13 12:28 andy * Source/cmCTest.cxx: ERR: Do not ignore argument after nocmake 2004-01-13 11:22 hoffman * Source/: cmCTest.cxx, cmCTest.h: ENH: add no cmake option 2004-01-13 09:05 king * Modules/CMakeDetermineCCompiler.cmake: BUG: Merging 1.23->1.25 changes to 1.8 branch for correct setting of MINGW flag on cygwin with -mno-cygwin flag. 2004-01-13 09:01 king * Modules/FindTclsh.cmake: Merging 1.6->1.7 changes to 1.8 branch to improve automatic finding of Tcl. 2004-01-13 09:01 king * Modules/FindTCL.cmake: Merging 1.30->1.31 changes to 1.8 branch to improve automatic finding of Tcl. 2004-01-13 09:00 hoffman * Modules/CMakeDetermineCCompiler.cmake: BUG: use the flags when testing for type of gnu compiler 2004-01-12 16:16 hoffman * Source/kwsys/SystemTools.cxx: BUG: try to get access to work on borland 2004-01-12 13:53 hoffman * Source/kwsys/SystemTools.cxx: ENH: use access over stat for performance 2004-01-12 13:30 andy * Source/: cmCTest.cxx, kwsys/SystemTools.cxx: ENH: Only look for executable until found 2004-01-09 15:57 barre * Modules/: FindTCL.cmake, FindTclsh.cmake: ENH: make it a bit smarter at finding stuff: now you need only to set *ONE* of (TCL|TK)_INCLUDE_PATH, (TCL|TK)_LIBRARY, TCL_TCLSH and the rest will be found. 2004-01-09 14:14 hoffman * Source/cmCTest.cxx: ENH: clean up the output some more 2004-01-09 14:05 hoffman * Source/cmCTest.cxx: ENH: clean up output 2004-01-09 13:35 hoffman * Source/: cmCTest.cxx, cmCTest.h: ENH: add an ability to specify a build run directory 2004-01-09 12:35 hoffman * Source/cmCTest.cxx: ENH: clean up output 2004-01-09 12:28 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: add a local target for libraries as well as executables 2004-01-09 11:23 king * CMakeLists.txt, Modules/CMakeDetermineSystem.cmake, Modules/CMakeFindFrameworks.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/Dart.cmake, Modules/FindOpenGL.cmake, Modules/FindPythonLibs.cmake, Modules/FindQt.cmake, Modules/FindTCL.cmake, Modules/Platform/Windows-cl.cmake, Source/cmCTest.cxx, Source/cmCreateTestSourceList.cxx, Source/cmGlobalCodeWarriorGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmLinkLibrariesCommand.cxx, Source/cmLocalCodeWarriorGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmOptionCommand.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmSiteNameCommand.cxx, Source/cmStringCommand.cxx, Source/cmTarget.cxx, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h, Source/kwsys/SystemTools.cxx, Utilities/Release/cmake_release.sh, Utilities/Release/config_Linux, Utilities/Release/cygwin-package.sh.in: ENH: Merged Release-1-8-2 -> Release-1-8-3 changes to CMake-LatestRelease branch. 2004-01-09 10:13 king * Source/cmCTest.cxx: BUG: Updated warning regex to match in more cases. 2004-01-09 08:54 hoffman * Source/cmCTest.cxx: BUG: if the build fails then the test fails 2004-01-09 07:22 hoffman * Source/CMakeLists.txt: BUG: fix arguments to wxwindows test 2004-01-08 09:59 hoffman * Source/: cmCTest.cxx, cmGlobalGenerator.cxx, cmake.cxx: BUG: make sure null terminator is in the right place for putenv static char array 2004-01-08 09:23 king * Source/cmake.cxx: BUG: Fix environment variable setting. 2004-01-08 09:19 king * Source/cmGlobalGenerator.cxx: BUG: Fix environment variable setting. 2004-01-08 08:19 hoffman * Source/: cmCTest.cxx: ENH: remove warning 2004-01-07 16:24 hoffman * Source/cmCTest.cxx: temp remove of optimization internal ctest use putenv causing trouble on cygwin 2004-01-07 16:15 hoffman * Source/cmCTest.cxx: ENH: print errors when they are there 2004-01-07 14:22 hoffman * Source/cmCTest.cxx: BUG: initialize ivar 2004-01-07 13:27 martink * Source/cmCreateTestSourceList.cxx: merge fix from main tree 2004-01-07 13:20 hoffman * Source/cmCTest.cxx: BUG: fix command line parser bug 2004-01-07 12:50 hoffman * Source/cmCTest.cxx: ENH: remove warning 2004-01-07 11:31 hoffman * Source/cmCTest.cxx: ENH: remove warnings 2004-01-07 11:24 hoffman * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, cmSystemTools.cxx, cmSystemTools.h, cmWin32ProcessExecution.cxx, cmake.cxx, ctest.cxx: ENH: add new feature to ctest so that it can cmake, build and run a test executable 2004-01-07 09:22 king * Source/cmGlobalVisualStudio6Generator.cxx: BUG: Fixed crash in extern MSVC project support. 2004-01-07 09:22 hoffman * Source/cmGlobalVisualStudio6Generator.cxx: BUG: fix crash in external dsp include 2004-01-07 09:10 king * Source/cmGlobalVisualStudio6Generator.cxx: BUG: Fixed crash in extern MSVC project support. 2004-01-07 09:08 hoffman * Source/cmGlobalVisualStudio6Generator.cxx: BUG: fix crash 2004-01-07 09:07 king * Source/cmCTest.cxx: BUG: Added missing Generator attributes to submitted XML files. 2004-01-07 08:37 martink * Modules/Dart.cmake: merge change from main tree 2004-01-06 19:13 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: ENH: Improve notes support (now you can specify them with the rest of the command line), improve reading of configuration file (now it actually rereads configuration file after running update/configure/build...). Remember the model (nightly/experimental) across runs 2004-01-06 16:56 king * Source/kwsys/: kwsys_std.h.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in: ENH: Removing empty source file now that makefile dependencies should have updated. 2004-01-06 16:18 hoffman * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: ENH: fix for hp make and relative paths never have targets with a ./ at the start of the name 2004-01-06 15:06 king * Utilities/Release/config_Linux: Fixed build for new machine. 2004-01-06 13:21 king * Utilities/Release/config_Linux: ENH: Updated configuration for new build location. 2004-01-05 16:29 martink * Source/cmGlob.cxx: fix for glob command 2004-01-05 15:30 king * Source/cmFindPackageCommand.cxx: BUG: Fixed typo in error message. 2004-01-05 13:20 king * Utilities/Release/cmake_release.sh: ENH: Updated TAG for 1.8.3 release. 2004-01-05 13:19 king * CMakeLists.txt, CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt, bootstrap, Modules/CMakeCCompiler.cmake.in, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeImportBuildSettings.cmake, Modules/CMakeLists.txt, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestGNU.c, Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake, Modules/Dart.cmake, Modules/FindGTK.cmake, Modules/FindJNI.cmake, Modules/FindJava.cmake, Modules/FindLATEX.cmake, Modules/FindPythonLibs.cmake, Modules/FindTCL.cmake, Modules/FindTclsh.cmake, Modules/FindThreads.cmake, Modules/FindWish.cmake, Modules/FindwxWindows.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForSTDNamespace.cmake, Modules/Platform/AIX.cmake, Modules/Platform/BSDOS.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/MP-RAS.cmake, Modules/Platform/NetBSD.cmake, Modules/Platform/OSF1.cmake, Modules/Platform/OpenBSD.cmake, Modules/Platform/RISCos.cmake, Modules/Platform/SCO_SV.cmake, Modules/Platform/SINIX.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/True64.cmake, Modules/Platform/ULTRIX.cmake, Modules/Platform/UNIX_SV.cmake, Modules/Platform/UnixWare.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows.cmake, Modules/Platform/Xenix.cmake, Modules/Platform/gcc.cmake, Source/CMakeLists.txt, Source/cmAddCustomTargetCommand.cxx, Source/cmAddTestCommand.cxx, Source/cmCPluginAPI.h, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmCacheManager.cxx, Source/cmCommands.cxx, Source/cmDynamicLoader.cxx, Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.h, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.h, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmLoadCommandCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTryCompileCommand.h, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/cmakemain.cxx, Source/cmakewizard.cxx, Source/cmakewizard.h, Source/CTest/cmCTestSubmit.cxx, Source/CursesDialog/ccmake.cxx, Source/kwsys/ProcessUNIX.c, Source/kwsys/ProcessWin32.c, Source/kwsys/SystemTools.cxx, Templates/EXEWinHeader.dsptemplate, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Utilities/CMakeLists.txt, Utilities/Release/cmake_release.sh, Utilities/Release/config_AIX, Utilities/Release/config_CYGWIN_NT-5.1, Utilities/Release/config_Darwin, Utilities/Release/config_HP-UX, Utilities/Release/config_IRIX64, Utilities/Release/config_Linux, Utilities/Release/config_OSF1, Utilities/Release/config_SunOS, Utilities/Release/cygwin-package.sh.in: ENH: Merging CMake Release-1-8-2 to CMake-LatestRelease. 2004-01-05 12:58 king * Source/cmLocalVisualStudio6Generator.cxx: BUG#416: Merging 1.49->1.50 changes to 1.8 branch. 2004-01-05 12:53 martink * Source/cmLocalVisualStudio6Generator.cxx: fix for long lines with post build rules 2004-01-05 11:22 king * Source/cmQTWrapCPPCommand.cxx: BUG#421: Merging 1.16->1.17 changes to 1.8 branch. 2004-01-05 11:13 andy * Source/cmQTWrapCPPCommand.cxx, Tests/Wrapping/CMakeLists.txt, Tests/Wrapping/vtkTestMoc.h: BUG: Fix dependency to input file for QT_WRAP_CPP. Bug #421 - QT_WRAP_CPP 2004-01-05 11:02 king * Source/kwsys/kwsysPlatformCxxTests.cmake: ERR: Removed use of FILE command and using WRITE_FILE instead. We would still like CMake 1.6 to be able to build CMake CVS, and kwsys is used. 2004-01-02 10:23 martink * Modules/Dart.cmake: fix for multiple nexted projects 2003-12-31 08:56 andy * bootstrap: ERR: Fix bootstrap for the changes in kwsys 2003-12-30 17:15 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in, kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in, kwsys_ios_sstream.h.in: ENH: Renamed KWSYS_IOS_HAVE_* macros to KWSYS_IOS_USE_* to be more readable in the C++ sources. 2003-12-30 16:23 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c, test1.cxx: ENH: Added GetExceptionString method to provide an error description when GetState returns Exception. 2003-12-30 14:33 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Removed stray debugging statement left from merge. 2003-12-30 13:40 king * Source/kwsys/SystemTools.cxx: ERR: Use of kwsys_stl was merged from main tree. The CMake 1.8 branch still uses kwsys_std. 2003-12-30 13:39 king * Source/kwsys/SystemTools.cxx: BUG: Merging 1.30->1.31 changes to CMake 1.8 branch. 2003-12-30 13:38 king * Source/kwsys/SystemTools.cxx: BUG: CollapseFullPath was calling SplitProgramPath before changing the working directory to in_base. 2003-12-30 10:26 king * Source/cmSystemTools.cxx: BUG: Do not call cmsysProcess_GetErrorString unless GetState returns State_Error. 2003-12-30 08:41 hoffman * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: BUG: borland make treats ./target and target as different also convert to outputpathrelative may get passed a quoted path 2003-12-30 07:55 andy * Source/cmCTest.cxx: ENH: Remove warnings about unused variables 2003-12-29 16:35 martink * Source/cmEnableTestingCommand.h: sets variable now 2003-12-29 16:27 martink * Source/cmLocalUnixMakefileGenerator.cxx: only generate test target when enabled 2003-12-29 16:27 martink * Source/cmEnableTestingCommand.cxx: sets variable now 2003-12-29 16:19 king * Modules/: CMakeFindFrameworks.cmake, FindPythonLibs.cmake, FindTCL.cmake: BUG#423: Merged fix to 1.8 branch. 2003-12-29 16:18 king * Modules/: CMakeFindFrameworks.cmake, FindPythonLibs.cmake, FindTCL.cmake: BUG#423: Fixed search for frameworks on OSX. 2003-12-29 16:15 king * Source/cmSiteNameCommand.cxx: BUG#407: Merged fix to 1.8 branch. 2003-12-29 16:10 andy * Source/cmSiteNameCommand.cxx: ENH: Do not use nslookup. All we really care is hostname. If somebody wants something fancy, just set it yourself. Fixes Bug #407 - nslookup is being deprecated for Red Hat and Fedora distributions 2003-12-29 15:37 king * Source/cmOptionCommand.cxx: BUG#408: Merged fix to 1.8 branch. 2003-12-29 15:26 andy * Source/cmOptionCommand.cxx: ERR: Fix problems with OPTION and -D on command line. Fix Bug #408 - Using -D without a type does not always work 2003-12-29 15:15 king * Modules/CMakeDetermineSystem.cmake: BUG#426: Merged fix to 1.8 branch. 2003-12-29 15:14 king * Modules/FindQt.cmake: BUG#425: Merged fix to 1.8 branch. 2003-12-29 14:55 hoffman * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: BUG: use ./ infront of the current directory 2003-12-29 14:26 andy * Modules/CMakeDetermineSystem.cmake: ERR: On systems where uname does not support -p, try -m. Fixes Bug #426 - CMAKE_SYSTEM_PROCESSOR unknown and inconsistent 2003-12-29 14:19 andy * Modules/FindQt.cmake: ENH: Add QT_ASSISTANTCLIENT_LIBRARY support. Fixes Bug #425 - Suggsted mod to FindQt.cmake to handle qassistantclient.lib 2003-12-29 13:41 king * Source/cmGlobalGenerator.cxx: BUG#427: Merged fix to 1.8 branch. 2003-12-29 13:37 king * Source/: cmGlobalCodeWarriorGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLinkLibrariesCommand.cxx, cmLocalCodeWarriorGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmTarget.cxx, cmTargetLinkLibrariesCommand.cxx: BUG#445: Merging fix to 1.8 branch. 2003-12-29 13:32 king * Source/cmStringCommand.cxx: BUG#452: Merging 1.10->1.11 changes to 1.8 branch. 2003-12-29 13:31 king * Source/cmStringCommand.cxx: BUG#452: Fix to argument checking for TOUPPER and TOLOWER subcommands. 2003-12-29 13:26 king * Modules/FindOpenGL.cmake: BUG: Added missing include path to search. 2003-12-29 13:14 king * Source/kwsys/SystemTools.cxx: ERR: Removed ftime ambiguity created by poor C++ standard headers provided by Borland 5.5. 2003-12-26 15:02 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: ENH: Add option to submit notes. Implements Bug #465 - Add notes support to CTest 2003-12-26 15:00 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: BUG: For consistency, use cmStdString. Also, there was a bug in SplitString which make it lose the first character. 2003-12-24 15:02 andy * Source/cmLocalGenerator.cxx: BUG: On Windows network paths do not really work as regular paths, so when the binary directory is on the network, we will not support relative paths 2003-12-24 13:17 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: use cd pwd trick for path for libnames 2003-12-24 10:51 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: use full paths via pwd for -L paths on unix shells 2003-12-24 10:07 kmorel * Source/kwsys/kwsys_ios_iosfwd.h.in: Fixed a problem where ifstream was not the same as kwsys_ios::ifstream on MSVC 6.0. 2003-12-24 09:19 andy * Source/cmCTest.cxx: ENH: Fix coverage to actually work and add support for .NoDartCoverage 2003-12-23 15:01 hoffman * Source/: cmLocalGenerator.cxx, cmTryCompileCommand.cxx, cmake.cxx, cmake.h: BUG: keep more of the case information 2003-12-23 13:31 hoffman * Source/cmLocalGenerator.cxx: BUG: fix for vtk build 2003-12-23 11:03 king * bootstrap: ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This corresponds to the same merge in KWSys. Fixes for bootstrapping on cygwin are also included. 2003-12-23 11:03 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx, RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx, SystemTools.hxx.in, kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in, kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in, kwsys_ios_sstream.h.in, kwsys_std.h.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in, kwsys_stl.h.in, test1.cxx, testIOS.cxx: ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This introduces separate kwsys_ios and kwsys_stl macros needed to support all platforms. 2003-12-23 10:44 king * bootstrap: BUG: Fixed 3rd C++ test to use endl correctly. Fixed incorrect spelling of appropriate. 2003-12-23 10:39 andy * bootstrap: ENH: Some cleanups and attempt to fix cygwin problem 2003-12-23 10:16 andy * bootstrap: ENH: Some cleanups, add settings comment to kwsys header files. Add proper dependency to kwsys headers 2003-12-23 09:53 king * bootstrap: BUG: Fixed use of KWSYS_IOS_HAVE_SSTREAM test result for cmConfigure. 2003-12-23 09:31 king * bootstrap: BUG: Moved use of KWSYS_IOS test results to after the tests are performed. Also cleaned up ordering of some tests. 2003-12-23 09:17 andy * bootstrap: ENH: support new KWSYS with IOS 2003-12-22 16:21 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmSystemTools.cxx: ENH: add relative paths to visual studio 6 and 7 project files 2003-12-22 15:16 hoffman * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: move relative path to parent generator class 2003-12-22 14:17 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: make new relative rpath work with spaces 2003-12-22 13:59 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: use fullpaths based on the actual current directory 2003-12-22 13:15 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: use a full path for rpath 2003-12-22 12:24 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: add support for relative paths in makefiles 2003-12-22 11:20 king * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cxx: ENH: All platform tests are now in kwsysPlatformCxxTests.cxx. This makes the listfile code much more readable. 2003-12-20 13:32 king * Source/kwsys/: CMakeLists.txt, testIOS.cxx: ENH: Added testIOS for kwsys_ios testing. 2003-12-20 13:31 king * Source/kwsys/kwsys_ios_sstream.h.in: ERR: Fixed istringstream to work with MSVC 6 old streams. 2003-12-20 12:44 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in, kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in, kwsys_ios_sstream.h.in: ENH: Shortened and grouped IOS and STL feature macro names. 2003-12-19 16:56 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx, RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx, SystemTools.hxx.in, kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in, kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in, kwsys_ios_sstream.h.in, kwsys_std.h.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in, kwsys_stl.h.in, test1.cxx: ENH: Split kwsys_std into kwsys_ios and kwsys_stl in order to avoid std namespace pollution and support more platforms. 2003-12-18 18:04 andy * Source/cmCTest.cxx: ENH: Even better. Only replace when path longer than 20 characters. Also replace parent directory. That way it will replace for related projects. 2003-12-18 17:42 andy * Source/cmCTest.cxx: ENH: Attempt to cleanup the build output 2003-12-18 17:36 martink * Source/cmCTest.cxx: bug fix 2003-12-18 13:40 andy * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Remove debug 2003-12-18 13:17 andy * Source/: cmGlobalCodeWarriorGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalCodeWarriorGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Fix Bug #445 - Same library in multiple projects can cause problems 2003-12-18 13:04 andy * Source/: cmLinkLibrariesCommand.cxx, cmLocalUnixMakefileGenerator.cxx, cmTarget.cxx, cmTargetLinkLibrariesCommand.cxx: BUG: Fix Bug #445 - Same library in multiple projects can cause problems 2003-12-17 09:42 andy * Modules/Dart.cmake: ENH: Mark things as advanced 2003-12-17 09:40 andy * Source/cmCTest.cxx: ERR: Remove debug 2003-12-17 09:25 andy * Source/cmCTest.cxx: ENH: Add more error regular expressions 2003-12-17 08:49 king * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: BUG#439: Merging fix to 1.8 branch. 2003-12-17 08:45 king * Modules/Platform/Windows-cl.cmake: BUG#438: Merging fix to 1.8 branch. 2003-12-17 08:36 martink * Source/cmCTest.cxx: better ctest driver and return codes 2003-12-17 08:30 king * Source/kwsys/SystemTools.hxx.in: ERR: std -> kwsys_std. 2003-12-17 08:21 martink * Modules/Platform/Windows-cl.cmake: fix in quoting 2003-12-16 17:30 andy * Source/cmCTest.cxx: ENH: Purify support should work now. 2003-12-16 17:20 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Added SetPipeShared method to allow stdout and stderr pipes to be shared with the parent process. 2003-12-16 16:19 andy * Source/cmCTest.cxx: ENH: Add suppression file support for valgrind 2003-12-16 16:19 andy * Modules/: Dart.cmake, DartConfiguration.tcl.in: ENH: Add suppression file 2003-12-16 15:55 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added GetEnv method. 2003-12-16 15:38 king * Source/kwsys/CMakeLists.txt: ENH: Updated copyright. 2003-12-16 15:37 king * Source/kwsys/CMakeLists.txt: ERR: SystemTools now depends on Directory. 2003-12-16 14:43 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Several cleanups and attempt to do purify support 2003-12-16 14:26 martink * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: is there any chance thiswill work on all platforms hmmm added removeAdirectory 2003-12-16 13:18 andy * Source/cmCTest.cxx: ENH: Cleanup output 2003-12-15 18:44 andy * Source/cmCTest.cxx: ERR: Fix coverage on gcc 2.95 2003-12-15 18:32 andy * Source/cmCTest.cxx: ERR: Ok, think before commit... This fixes two build problems. The missing brace and the std::string signature is different on gcc 2.95 and gcc 3.3. 2003-12-15 18:03 andy * Source/cmCTest.cxx: ERR: Inner loop used the same counter as outer. Broke coverage code 2003-12-15 17:28 andy * Source/: cmCTest.cxx, cmCTest.h: ERR: STD fixes 2003-12-15 17:25 andy * Modules/Dart.cmake, Modules/DartConfiguration.tcl.in, Source/cmCTest.cxx, Source/cmCTest.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/ctest.cxx, Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h, Source/CursesDialog/cmCursesPathWidget.cxx: ENH: Add initial memory check support which works for Valgrind 2003-12-15 16:30 king * Source/kwsys/: Base64.c, Base64.h.in, Configure.h.in, Configure.hxx.in, Copyright.txt, Directory.cxx, Directory.hxx.in, EncodeExecutable.c, Process.h.in, ProcessFwd9x.c, ProcessUNIX.c, ProcessWin32.c, RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx, SystemTools.hxx.in, kwsysHeaderDump.pl, kwsysPrivate.h, kwsys_std.h.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in, test1.cxx, testProcess.c: ENH: Updated copyright. 2003-12-15 12:56 martink * Source/cmCreateTestSourceList.cxx: fix compiler warning 2003-12-15 12:02 hoffman * Source/cmCTest.cxx: ENH: fix for gcc 3.1 2003-12-14 13:48 king * Source/kwsys/ProcessWin32.c: STYLE: Fixed typo on comment. 2003-12-14 13:47 king * Source/kwsys/ProcessWin32.c: ENH: Using CreateFile with FILE_FLAG_DELETE_ON_CLOSE to automatically delete the Win9x forwarding executable even if the parent process crashes. 2003-12-14 13:44 king * Source/kwsys/kwsysPrivate.h: ENH: Added KWSYS_NAMESPACE_STRING macro. 2003-12-14 13:03 king * Source/kwsys/Configure.h.in: BUG: Fixed dllimport. 2003-12-13 14:19 king * Source/kwsys/ProcessUNIX.c: ERR: Added include of sys/stat.h for open functions mode bits. 2003-12-13 14:13 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Added SetPipeFile method to allow the process pipeline stdin, stdout, and stderr to be redirected from/to files. 2003-12-13 10:36 king * Source/kwsys/: ProcessUNIX.c, ProcessWin32.c: ENH: Code is now robust to New method returning NULL. 2003-12-12 15:42 king * Modules/Platform/IRIX64.cmake: ENH: Added CMAKE_SHARED_LIBRARY_SONAME_C_FLAG and CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG settings to enable shared library version support for SGI. 2003-12-12 14:44 king * Modules/Platform/HP-UX.cmake: ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library version support for HP-UX. 2003-12-12 14:34 king * Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/Platform/SunOS.cmake, Source/cmLocalUnixMakefileGenerator.cxx, Modules/Platform/Linux.cmake: ENH: Using separate CMAKE_SHARED_LIBRARY_SONAME flags for C and CXX. 2003-12-12 14:20 king * Modules/Platform/SunOS.cmake: ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library version support for SunOS. 2003-12-12 09:12 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: reduce the number of times gnu is tested for 2003-12-12 08:09 martink * Source/cmCTest.cxx: now can do extra updates 2003-12-11 15:38 hoffman * Source/cmGlobalGenerator.cxx: BUG:427 trycompile target must be exe 2003-12-11 10:11 hoffman * Source/cmTryCompileCommand.cxx: BUG: need a dummy first argument to cmake 2003-12-11 08:57 martink * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: fix to the signature and argument parsing 2003-12-10 19:47 andy * Source/: cmake.cxx, cmakemain.cxx: ENH: Argument for script mode is -P (process) and take out the automatic script mode 2003-12-10 08:55 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: BUG: roll back change for variable used in path 2003-12-09 14:33 king * Modules/FindOpenGL.cmake: ENH: Adding /usr/include/w32api for OpenGL header search. 2003-12-09 11:44 king * Source/kwsys/SystemTools.cxx: BUG: File comparison on windows must test the volume serial number as well as the file index. 2003-12-09 10:33 martink * DartConfig.cmake: move start time up one hour 2003-12-09 09:16 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l: ERR: Removed YY_BREAK statements after return statements because they are unreachable. 2003-12-09 09:11 king * Source/: cmListFileLexer.c, cmListFileLexer.in.l: ERR: Added missing static keyword to cmListFileLexerSetToken and cmListFileLexerAppend definitions. 2003-12-09 08:32 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: use variables for output paths 2003-12-09 08:22 martink * Source/cmCTest.cxx: some updates to handle inline cache files and environment variables 2003-12-08 18:05 king * Source/cmSystemTools.cxx: BUG: Reimplemented ExpandListArguments to properly handle escaped backslashes that occur right before semicolons. This is important for lists of paths ending in backslashes on windows. 2003-12-08 16:10 martink * Source/cmSystemTools.cxx: bug fix to escaped semicolons in arguments 2003-12-08 15:05 king * Source/cmListFileLexer.in.l: ERR: Fixed comment about how to run flex to reflect new name of this file. 2003-12-08 14:20 king * Source/: cmListFileLexer.in.l, cmListFileLexer.l: ERR: Renaming cmListFileLexer.l to cmListFileLexer.in.l to avoid make programs trying to run lex automatically whn building cmListFileLexer.c. 2003-12-08 14:11 andy * bootstrap: ENH: Fix bootstrap to handle lex parser 2003-12-08 13:40 king * Source/: cmListFileLexer.c, cmListFileLexer.l: ERR: We must define YY_NO_UNISTD_H to build on windows. 2003-12-08 13:36 king * Source/: CMakeLists.txt, cmListFileCache.cxx, cmListFileCache.h, cmListFileLexer.c, cmListFileLexer.h, cmListFileLexer.l: ENH: Using lex-based tokenizer and a simple recursive-descent parser in place of the old hand-coded parser for CMake listfiles. 2003-12-08 11:35 king * Source/kwsys/CMakeLists.txt: STYLE: Removed trailing whitespace. 2003-12-08 11:31 king * Source/cmake.cxx: ENH: Improved error messages when source tree does not have a CMakeLists.txt file. No matter how many cases we check, there always seems to be a user that finds a case that gives a confusing error message... 2003-12-08 11:23 andy * Modules/Dart.cmake, Modules/DartConfiguration.tcl.in, Source/cmCTest.cxx: ENH: Improve coverage on systems with multiple gcov commands 2003-12-07 14:09 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Cleaned up pipe numbering. 2003-12-05 16:39 king * Source/cmCTest.cxx: ENH: Using cmListFileCache to read the DartTestfile instead of duplicating the parse loop. 2003-12-05 14:51 king * Source/kwsys/kwsys_std.h.in: ERR: Need to include Configure.hxx to get kwsys_std definition. 2003-12-05 11:53 king * Source/: cmCTest.cxx, cmSystemTools.cxx, kwsys/Process.h.in, kwsys/ProcessUNIX.c, kwsys/ProcessWin32.c, kwsys/test1.cxx, kwsys/testProcess.c: ENH: Removed pipe selection argument from WaitForData method in kwsysProcess. This greatly simplifies its use. 2003-12-05 11:37 king * Source/kwsys/: Process.h.in, ProcessFwd9x.c, ProcessWin32.c: STYLE: Removed trailing whitespace. 2003-12-05 11:19 king * Source/kwsys/ProcessWin32.c: BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order. 2003-12-05 10:45 king * Docs/cmake-mode.el: ENH: New indentation implementation to support multi-line strings. 2003-12-04 14:34 king * Docs/cmake-mode.el: STYLE: Removed trailing whitespace. 2003-12-04 13:56 king * Source/kwsys/ProcessUNIX.c: ERR: Added missing static storage class specifier for kwsysProcessCreate. 2003-12-03 14:16 martink * Source/cmCTest.cxx: some fixes to test harnes 2003-12-03 13:37 king * Source/kwsys/ProcessUNIX.c: ERR: Some platforms define stdin, stdout, and stderr as macros. Renaming these symbols to StdIn, StdOut, and StdErr. 2003-12-03 09:20 king * Source/kwsys/: Process.h.in, ProcessFwd9x.c, ProcessUNIX.c, ProcessWin32.c: ENH: Merged changes from KWSys-MultiProcess-bp to KWSys-MultiProcess-b2t-1-mp to main tree. This introduces support for process pipelines. 2003-12-03 09:12 king * Source/kwsys/Process.h.in: ERR: Added missing macro definition for kwsysProcess_AddCommand. 2003-12-02 17:23 king * Utilities/Release/cmake_release.sh: ENH: Added documentation about location of cmCPluginAPI.h in cygwin package. 2003-12-02 17:16 king * Utilities/Release/cygwin-package.sh.in: BUG: No longer need to copy Copyright.txt into doc directory. It is done by the cmake installation. 2003-12-02 17:14 king * Utilities/Release/cygwin-package.sh.in: BUG: Need to pass datadir/docdir/mandir to bootstrap script instead of writing in the cache. 2003-12-02 16:57 king * Utilities/Release/cygwin-package.sh.in: ENH: Cygwin now uses /usr/share/doc instead of /usr/doc. 2003-12-02 16:57 king * CMakeLists.txt, Utilities/Release/cmake_release.sh: ENH: Updating version number to 1.8.3. 2003-12-02 16:50 martink * Source/cmCTest.cxx: better error handling 2003-12-01 19:25 martink * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: a start on the dashboard driver 2003-12-01 13:07 king * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: BUG#411: Merged fix to 1.8 branch. 2003-12-01 13:06 king * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: BUG#411: Re-ordering statements so errors show up in CMakeError.log. 2003-11-28 15:37 king * Source/kwsys/ProcessWin32.c: ENH: Cleaned up implementation of stderr and win9x forwarding executable error pipe. 2003-11-28 14:21 king * Source/kwsys/ProcessWin32.c: ENH: Removing special termination pipe from Windows implementation. It does not need it because WaitForMultipleObjects can wait with a timeout for the process to terminate. This is not the case in UNIX because waitpid has no timeout, so we need the termination pipe there. 2003-11-28 14:08 king * Source/kwsys/ProcessWin32.c: BUG: Removed stray debugging code that caused win9x mode to always be used. 2003-11-28 14:02 king * Source/kwsys/ProcessWin32.c: ENH: Added special termination pipe to allow timeout to work for processes that close their output pipes. 2003-11-28 13:07 king * Source/kwsys/ProcessWin32.c: ENH: Error messages from the forwarding executable are now read completely even if they are reported in multiple blocks. 2003-11-28 12:58 king * Source/kwsys/ProcessWin32.c: BUG: Fixed error message when process control structure initialization runs out of memory. 2003-11-28 12:52 king * Source/kwsys/ProcessWin32.c: ERR: Removed useless if(command) in AddString. 2003-11-28 12:47 king * Source/kwsys/ProcessWin32.c: ENH: Renamed CMPE_* to KWSYSPE_* for consistency with ProcessUNIX.c. 2003-11-28 12:42 king * Source/kwsys/ProcessUNIX.c: BUG: When a child fails to exec, we need to read the entire error message, not just the first block. 2003-11-28 12:31 king * Source/kwsys/ProcessUNIX.c: ENH: UNIX implementation of process pipeline. 2003-11-28 10:08 king * Source/kwsys/ProcessUNIX.c: ENH: Implemented SetCommand and AddCommand for multiple process support. 2003-11-28 09:48 king * Source/kwsys/: ProcessUNIX.c: STYLE: Removed trailing whitespace. 2003-11-27 23:08 king * Source/kwsys/: Process.h.in, ProcessFwd9x.c, ProcessWin32.c: ENH: Windows implementation of process pipeline. 2003-11-27 10:28 king * Source/cmake.cxx: BUG: cmake_symlink_library should return the accumulated result, not just 0. 2003-11-26 17:59 king * Modules/Platform/Linux.cmake: ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:52 king * Modules/CMakeDefaultMakeRuleVariables.cmake: ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:38 king * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:34 king * Source/cmake.cxx: BUG: The cmake_symlink_library command needs to remove existing files before creating links. 2003-11-26 16:38 king * Source/cmake.cxx: ENH: Added undocumented cmake_symlink_library to help with building versioned shared libraries. 2003-11-26 16:15 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: remove more warnings 2003-11-26 16:12 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: remove warnings 2003-11-26 16:11 king * Source/cmSystemTools.cxx: ERR: Fixed unused parameter warnings. 2003-11-26 16:04 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx: ENH: fix some warnings 2003-11-26 14:52 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added CreateSymlink method. 2003-11-26 14:29 hoffman * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h: ENH: generate a sln and dsw file for each sub project in a project 2003-11-26 11:41 king * Source/: cmCTest.cxx, cmSystemTools.cxx: BUG: Do not use std::string to accumulate output. Use std::vector instead. This is much better at memory management. 2003-11-25 16:14 king * Utilities/Release/cmake_release.sh: STYLE: Removed trailing whitepsace. 2003-11-24 15:51 king * Utilities/Release/cmake_release.sh: BUG: osx_install should make the Resources directory before copying files into it. 2003-11-24 14:04 king * Modules/FindPythonLibs.cmake: BUG#266: Merging 1.16->1.18 changes to 1.8 branch. 2003-11-24 14:01 king * Source/cmLocalVisualStudio7Generator.cxx: BUG#393: Merging 1.40->1.41 changes to 1.8 branch. 2003-11-21 14:13 king * Source/cmLocalVisualStudio7Generator.cxx: BUG#393: Adding XML escaping for additional per-source compile flags. 2003-11-21 13:12 hoffman * Modules/FindPythonLibs.cmake: BUG: remove junk code 2003-11-20 15:41 king * Modules/FindPythonLibs.cmake: BUG#266: Added cygwin names for the library. Module now documents output as PYTHON_LIBRARIES instead of PYTHON_LIBRARY. 2003-11-20 15:31 king * Modules/FindPythonLibs.cmake: STYLE: Removed trailing whitespace. 2003-11-20 15:30 king * Modules/Platform/: AIX.cmake, BSDOS.cmake, Darwin.cmake, FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake, MP-RAS.cmake, NetBSD.cmake, OSF1.cmake, OpenBSD.cmake, RISCos.cmake, SCO_SV.cmake, SINIX.cmake, SunOS.cmake, True64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixWare.cmake, Windows-gcc.cmake, Xenix.cmake, gcc.cmake: BUG#383: Merged fix to 1.8 branch. 2003-11-14 10:44 hoffman * Modules/Platform/: AIX.cmake, BSDOS.cmake, Darwin.cmake, FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake, MP-RAS.cmake, NetBSD.cmake, OSF1.cmake, OpenBSD.cmake, RISCos.cmake, SCO_SV.cmake, SINIX.cmake, SunOS.cmake, True64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixWare.cmake, Windows-gcc.cmake, Xenix.cmake, gcc.cmake: BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu 2003-11-13 15:54 king * Source/cmAddCustomTargetCommand.cxx: BUG#321: Merged 1.13->1.14 changes to 1.8 branch. 2003-11-13 14:45 martink * Source/cmAddCustomTargetCommand.cxx: fixed argument parsing 2003-11-13 13:52 king * Source/: cmFindFileCommand.h, cmFindLibraryCommand.h, cmFindPathCommand.h, cmFindProgramCommand.h: ENH: Documentation improvements from main tree. 2003-11-13 13:51 king * Source/: cmFindFileCommand.h, cmFindLibraryCommand.h, cmFindPathCommand.h, cmFindProgramCommand.h: ENH: Documentation improvements. 2003-11-13 12:43 king * Modules/FindGTK.cmake: BUG#299: Merged 1.8->1.9 changes to 1.8 branch. 2003-11-12 17:44 king * Modules/FindGTK.cmake: BUG#299: GTK_gmodule_LIBRARY is optional just like GTK_gthread_LIBRARY. 2003-11-12 16:53 king * Modules/TestForANSIForScope.cmake: BUG#374: Merging 1.10->1.11 changes to 1.8 branch. 2003-11-12 16:53 king * Modules/TestForSTDNamespace.cmake: BUG#374: Merging 1.9->1.10 changes to 1.8 branch. 2003-11-12 16:51 king * Modules/: TestForANSIForScope.cmake, TestForSTDNamespace.cmake: BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. 2003-11-12 14:57 king * Source/cmMakeDepend.cxx: BUG#373: Merging 1.39->1.40 to 1.8 branch. 2003-11-12 14:20 hoffman * Source/cmMakeDepend.cxx: BUG: fix for bug 373 make depend problem 2003-11-12 14:17 king * Source/cmGlobalVisualStudio6Generator.cxx: BUG#371: Merging 1.19->1.20 changes to 1.8 branch. 2003-11-12 14:17 king * Source/cmGlobalVisualStudio7Generator.cxx: BUG#371: Merging 1.17->1.18 changes to 1.8 branch. 2003-11-12 14:06 andy * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: ENH: Bug #371 - Add build configuration for try compiles using cmake variable 2003-11-12 10:03 king * Modules/Dart.cmake: BUG#199: Merging 1.45->1.46 changes to 1.8 branch. 2003-11-12 10:00 king * Modules/Dart.cmake: BUG#199: If DART_EXPERIMENTAL_USE_PROJECT_NAME is set, the PROJECT_NAME will be included in the name of the Experimental and ExperimentalSubmit targets. 2003-11-11 12:53 king * Source/cmLocalVisualStudio7Generator.cxx: BUG#363: Merged 1.39->1.40 changes to 1.8 branch. 2003-11-11 12:51 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 363, VCMIDLTool not used for idl files 2003-11-11 12:51 king * Source/cmCTest.cxx: BUG#344: Merged 1.66->1.67 to 1.8 branch. 2003-11-11 12:36 andy * Source/cmCTest.cxx: BUG: Handle -C properly for executables that are not in the project; Fix Bug #344 - ctest -C Debug 2003-11-11 11:42 king * Source/cmCTest.h: BUG#259: Merging 1.16->1.18 changes to 1.8 branch. 2003-11-11 11:42 king * Source/cmCTest.cxx: BUG#259: Merging 1.62->1.63 and 1.64->1.66 changes to 1.8 branch. 2003-11-11 11:41 king * Source/cmAddTestCommand.cxx: BUG#259: Merging 1.18->1.20 changes to 1.8 branch. 2003-11-06 16:38 andy * Source/cmCTest.cxx: ENH: Add warning exception for VTK type warning blocking 2003-11-05 15:02 andy * Utilities/Doxygen/doxyfile.in: ENH: Handle kwsys properly 2003-11-05 15:02 andy * Utilities/Doxygen/CMakeLists.txt: ENH: Cleanup. We do not really need to use vtk for documentation. We only need utilities/doxygen directory 2003-11-05 13:03 king * Modules/Platform/Windows-bcc32.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx: BUG#346: Merging fix from main tree to 1.8 branch. 2003-11-05 11:18 hoffman * Modules/Platform/Windows-bcc32.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for bug 346, borland should now support dash in the path 2003-11-05 10:46 king * Source/cmCTest.cxx: BUG#259: Fix for spaces in paths to executable added to previous fixes for this bug. 2003-11-05 10:13 king * Modules/: FindTclsh.cmake, FindWish.cmake: BUG#322: Merging fix from main tree to 1.8 branch. 2003-11-04 12:50 king * Source/cmCTest.cxx: BUG#323: Merging fix from main tree to 1.8 branch. 2003-11-04 11:19 hoffman * Source/cmCTest.cxx: BUG: fix for bug 323 2003-11-04 09:45 king * Source/cmMakefile.cxx: BUG: Merging changes from revision 1.236 to 1.237 to 1.8 branch. 2003-11-04 09:44 king * Source/cmLocalVisualStudio6Generator.cxx: BUG: Merging changes from revisions 1.41 to 1.47 to 1.8 branch. 2003-11-04 09:36 king * Modules/: FindTclsh.cmake, FindWish.cmake: ENH: Adding registry entries to search path. 2003-11-04 09:06 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG#318: Merging fix from main tree to 1.8 branch. 2003-11-04 09:03 king * Source/CTest/cmCTestSubmit.cxx: BUG#320: Merging fix from main tree to 1.8 branch. 2003-11-04 09:01 king * Source/cmQTWrapCPPCommand.cxx: BUG#319: Merging fix from main tree (1.15->1.16) to 1.8 branch. 2003-11-04 09:00 king * Source/kwsys/: ProcessWin32.c, RegularExpression.cxx: ERR: Removed extra variable assignments. 2003-11-04 08:56 king * Source/kwsys/ProcessWin32.c: BUG: Removed CloseHandle in case of error in DuplicateHandle. According to documentation, DuplicateHandle will close the source handle regardless of error condition. 2003-11-04 08:50 king * Source/cmAddTestCommand.cxx: BUG: Cannot add extra escapes for backslashes because it makes the behavior inconsistent with previous versions of cmake. 2003-11-03 16:59 andy * Source/CTest/cmCTestSubmit.cxx: BUG: This fixes problem when submitting bugs on Mac: Bug #320 - When st_size in stat is 64 bit ctest does not submit 2003-11-03 15:57 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx: BUG: hack fix for problem of MS vs 6 and custom target commands 2003-11-03 15:53 andy * Source/cmQTWrapCPPCommand.cxx: BUG: Fix Bug #319 - Change in QT_WRAP_CPP's behaviour 2003-11-03 15:38 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Cleanup parsing of argument to help fix Bug #259 - CMake does not quote correctly in DartTestfile.txt 2003-11-03 15:19 king * Source/cmAddTestCommand.cxx: BUG#259: ADD_TEST command generated in DartTestfile.txt now quotes/escapes all arguments. 2003-11-03 11:01 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for debug libs not using output path 2003-10-31 17:22 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG#318: cmake.check_depends now collects all dependencies for cmake.depends and then uses a single rule. 2003-10-31 17:05 king * Modules/Platform/Windows-cl.cmake: BUG#317: Merging 1.23->1.24 changes to 1.8 branch. 2003-10-31 17:01 king * Templates/EXEWinHeader.dsptemplate: BUG#316: Merged 1.15->1.16 changes from main tree to 1.8 branch. 2003-10-31 16:56 hoffman * Modules/Platform/Windows-cl.cmake: BUG: fix for bug# 317 2003-10-31 16:55 andy * Source/cmLocalVisualStudio6Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate, Tests/COnly/CMakeLists.txt: ENH: Attempt to add debug library postfix for visual studio 6 2003-10-31 16:53 hoffman * Templates/EXEWinHeader.dsptemplate: Fix for BUG: 316 2003-10-31 12:55 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Merged all changes from main tree up to revision 1.39. 2003-10-31 09:31 andy * Source/cmCTest.cxx: ENH: Report when having conflicts 2003-10-30 16:12 king * Source/: cmake.cxx: BUG#313: Improving error message when no CMakeLists.txt file is found in the source tree. 2003-10-30 14:27 king * Source/cmAddTestCommand.cxx: BUG: Backing out previous change until a deeper problem can be investigated. 2003-10-30 14:00 king * Source/cmAddTestCommand.cxx: BUG#259: Do not double quote arguments if they are already quoted when writing DartTestfile.txt. 2003-10-30 13:47 king * Source/cmTryCompileCommand.h: BUG#163: Merging 1.12->1.13 changes to 1.8 branch for 1.8.2 release. 2003-10-30 13:46 king * Source/cmTryCompileCommand.h: BUG#163: Added documentation of OUTPUT_VARIABLE argument. 2003-10-30 13:35 king * Modules/FindLATEX.cmake: BUG#262: Merging fix from main tree 1.8->1.9 to 1.8 branch for 1.8.2 release. 2003-10-30 13:33 king * Modules/FindLATEX.cmake: BUG#262: Marking DVIPDF_CONVERTER as advanced. 2003-10-30 13:18 king * Source/cmake.cxx: BUG#311: Merging 1.141->1.142 changes to 1.8 branch for 1.8.2 release. 2003-10-30 13:16 king * Source/cmCTest.cxx: BUG#310: Merging 1.60->1.61 from main tree to 1.8 branch. 2003-10-30 10:05 andy * Source/cmCTest.cxx: BUG: Fix Bug #310 - CTest sends wrong time to cvs on Windows 2003-10-29 19:48 andy * Source/: cmake.cxx, cmakemain.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Ok, no more argument needed for script mode 2003-10-29 09:56 andy * Source/cmGlobalGenerator.cxx: ENH: More scripting changes 2003-10-29 09:43 andy * Source/: cmake.cxx, cmake.h, cmMakefile.cxx, cmakemain.cxx: ENH: Start includding the scripting support 2003-10-29 08:58 andy * Source/: cmCommand.h, cmMessageCommand.h, cmIncludeCommand.h: ENH: Start includding the scripting support 2003-10-28 15:26 andy * Source/cmake.cxx: ENH: Command should also be quoted 2003-10-28 13:22 king * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: BUG#303: Merged fix from main tree to 1.8 branch for 1.8.2 release. 2003-10-28 13:19 king * Source/cmLocalVisualStudio7Generator.cxx: BUG#200: Merged fix to 1.8 branch for 1.8.2 release. 2003-10-28 11:55 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: add preprocessor flags to resource compiler 2003-10-28 11:06 hoffman * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: BUG: fix for bug 303 pass makeflags to sub makes 2003-10-25 18:21 andy * Utilities/Doxygen/doxyfile.in: ENH: Add all subdirectories 2003-10-17 16:19 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: make sure -M flags are not duplicated and are only set in the xml 2003-10-17 16:10 king * Modules/CMakeDetermineCXXCompiler.cmake: BUG#276: Merge fix for spaces in path from main tree. 2003-10-17 16:09 king * Modules/CMakeDetermineCXXCompiler.cmake: BUG: Fixed same spaces-in-paths problem for CMakeTestGNU.c as in CMakeDetermineCCompiler.cmake. 2003-10-17 16:08 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for unicode and for /D -D 2003-10-16 19:15 andy * Source/CMakeLists.txt: ENH: Enable test on windows 2003-10-16 17:51 king * Modules/Platform/Windows-cl.cmake: BUG#78: Merged fix from main tree (1.22->1.23). 2003-10-16 13:42 king * CMakeLists.txt, Utilities/Release/cmake_release.sh: ENH: Updating version number for 1.8.2 release. 2003-10-16 13:09 king * Modules/: CMakeDetermineJavaCompiler.cmake, FindJNI.cmake, FindJava.cmake, FindTCL.cmake: BUG#281: Merging fix from main tree. See bug report for revision changes. 2003-10-16 13:06 king * Source/cmCTest.cxx: BUG#278: Merging fix from main tree (1.59->1.60) to 1.8 branch for 1.8.2 release. 2003-10-16 11:05 barre * Modules/: CMakeDetermineJavaCompiler.cmake, FindJNI.cmake, FindJava.cmake, FindTCL.cmake: FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin) 2003-10-16 10:32 hoffman * Source/cmLocalVisualStudio6Generator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: ENH: allow UNICODE to be specifed in the cxx flags and if not default to MBCS 2003-10-16 10:10 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: allow users to change to unicode 2003-10-16 07:49 andy * Source/cmCTest.cxx: ENH: Handle all white spaces, fix problem on cygwin 2003-10-15 23:42 hoffman * Modules/Platform/Windows-cl.cmake, Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 78 should be on 1.8 branch 2003-10-15 10:19 king * Modules/Platform/Darwin.cmake: BUG#277: Fix from main tree 1.5 -> 1.6 merged to 1.8 branch. Will be included in 1.8.2 release. 2003-10-15 10:14 king * Modules/Platform/Darwin.cmake: ERR: Old -flat_namespace -undefined suppress flags for CMAKE_SHARED_MODULE_CREATE_C_FLAGS should be included when CMAKE_BACKWARDS_COMPATIBILITY is 1.6 or lower. 2003-10-15 10:06 king * bootstrap: BUG#168: Merged fix for HP-UX ansi C flags as second part of the fix for this bug to 1.8 branch. 1.24 -> 1.25. 2003-10-15 10:01 king * Source/kwsys/SystemTools.cxx: BUG#263: Merged search path ordering fix from main tree to CMake 1.8 branch. 1.22 -> 1.24. 2003-10-15 09:56 king * Source/cmTargetLinkLibrariesCommand.cxx: BUG#201: Merged warning suppression support from main tree to 1.8 branch. 1.16->1.17. 2003-10-15 09:53 king * Modules/CheckTypeSize.cmake: Documentation fix from main tree. 1.11->1.12. 2003-10-15 09:52 king * Modules/CheckVariableExists.cmake: BUG: Merged trivial fix from main tree. 1.10 -> 1.11. 2003-10-15 09:49 king * Modules/CMakeDetermineCCompiler.cmake: BUG#263: Merged fix for system paths in ar and ranlib find commands to 1.8 branch. Will be included in 1.8.2 2003-10-15 09:26 king * Source/cmQTWrapCPPCommand.cxx: BUG#186: Merged fix from trunk to branch. 2003-10-15 09:18 king * Modules/CMakeDetermineCCompiler.cmake: BUG#276: Merge fix for spaces in path from main tree. 2003-10-14 22:30 king * Modules/CMakeDetermineCCompiler.cmake: BUG: Fix for spaces in path when loading CMakeTestGNU.c. 2003-10-13 16:04 andy * Source/CMakeLists.txt: ENH: Add test for FindwxWindows. Thanks to: Mathieu Malaterre 2003-10-13 15:27 andy * Modules/CheckTypeSize.cmake: ENH: Documentation fix 2003-10-13 11:58 king * Modules/Platform/Windows-cl.cmake: BUG#269: Fix for spaces in paths. Will be included in 1.8.2 release. 2003-10-13 11:32 andy * Modules/Platform/Windows-cl.cmake: ERR: allow spaces in the path 2003-10-11 08:12 king * Modules/CheckVariableExists.cmake: BUG: Message describing variable was using result variable. 2003-10-09 15:52 hoffman * Modules/CMakeDetermineCCompiler.cmake, Source/kwsys/SystemTools.cxx: ENH: put the system path after the paths specified on to the FIND command 2003-10-07 13:45 king * Utilities/Release/cmake_release.sh: Updated cygwin dependencies. 2003-10-07 09:50 king * Utilities/Release/config_CYGWIN_NT-5.1: GCC 2.95 is no longer available on cygwin. 2003-10-02 14:50 andy * Source/cmTargetLinkLibrariesCommand.cxx: ENH: Add CMAKE_IGNORE_DEPENDENCIES_ORDERING to prevent warnings about dependency problems 2003-09-26 11:27 king * Modules/CMakeImportBuildSettings.cmake: BUG: Comparison of build tool should be case-insensitive. 2003-09-26 11:15 king * Modules/CMakeImportBuildSettings.cmake: BUG: Comparison of build tool should be case-insensitive. 2003-09-24 17:51 andy * Source/cmQTWrapUICommand.cxx: ENH: Fix comment 2003-09-24 17:51 andy * Tests/Wrapping/CMakeLists.txt: ENH: Better testing 2003-09-24 17:50 andy * Source/cmQTWrapCPPCommand.cxx: BUG: Fix Bug #186 - QT_WRAP_UI uses the path twice 2003-09-24 11:10 king * Source/cmLocalVisualStudio7Generator.cxx: BUG#191: Merging fix into 1.8 branch for inclusion in 1.8.2 release. 2003-09-24 11:03 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Check for whether to use CMAKE_EXE_LINKER_FLAGS should look both for EXECUTABLE and WIN32_EXECUTABLE targets. 2003-09-23 13:58 king * Source/cmCTest.cxx: BUG#185: Merged fix from main tree to 1.8 branch. Change will be included in 1.8.2 release. 2003-09-23 13:49 andy * Source/cmCTest.cxx: ENH: Add missing newline Bug #185 - CTest exceptions output is missing new line 2003-09-18 11:05 hoffman * Source/kwsys/SystemTools.cxx: ENH: remove /tmp_mnt in collapse full path 2003-09-15 15:58 king * bootstrap: BUG: Need to check for -Ae flag on HP-UX cc compiler. Needed for ANSI C compilation. 2003-09-02 13:49 king * bootstrap: BUG#168: Using C compiler to build .c files during bootstrap instead of C++ compiler. 2003-09-02 13:27 king * bootstrap: BUG: Must use C compiler to compile C files during bootstrap, not C++ compiler. 2003-08-29 09:38 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Merged more fixes from main tree. 2003-08-28 16:22 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: make sure exe output path is used for dep hack stuff 2003-08-28 16:10 martink * Source/cmLocalVisualStudio6Generator.cxx: bad evil nasty ken 2003-08-28 16:06 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: fix to executable depends for custom commands 2003-08-28 15:02 king * Utilities/Release/config_IRIX64: ERR: Don't need separate -n32 and -64 binaries. 2003-08-28 14:58 hoffman * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: BUG: remove bundle_loader stuff it did not work with spaces in the path and is not needed for this test 2003-08-28 14:55 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Merged fix for bug with custom commands depending on executables from main tree. 2003-08-28 14:52 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: fix bug with custom commands depending on executables 2003-08-28 14:03 king * CMakeLists.txt, Utilities/Release/cmake_release.sh: ENH: Updated for 1.8.1 release number. 2003-08-27 20:35 starreveld * Modules/Platform/Darwin.cmake, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: remove the -flat_namespace and -undefined suppress hacks from ENH: CMAKE_SHARED_MODULE_CREATE_C_FLAGS ENH: and fix the complex example to specify a -bundle loader for the ENH: shared module that it builds. 2003-08-27 17:45 hoffman * Source/cmWin32ProcessExecution.cxx: ENH: remove warnings from use of NULL 2003-08-27 16:50 king * CMakeLists.txt, CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt, bootstrap, Modules/CMakeCCompiler.cmake.in, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestGNU.c, Modules/FindThreads.cmake, Modules/FindwxWindows.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows-gcc.cmake, Modules/Platform/Windows.cmake, Source/CMakeLists.txt, Source/TODO, Source/cmCacheManager.cxx, Source/cmCommands.cxx, Source/cmDynamicLoader.cxx, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmLoadCommandCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/kwsys/SystemTools.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Utilities/CMakeLists.txt: ENH: Merging changes from trunk into 1.8 branch. 1.) MinGW support (beta) 2.) make VERBOSE=1 3.) FindThreads.cmake fix 4.) FindwxWindows.cmake fix 5.) CMakeSystemSpecificInformation.cmake typo fix 6.) bootstrap spaces-in-path fix 2003-08-27 16:42 hoffman * Modules/Platform/Windows-gcc.cmake, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: MinGW build now passes all the tests 2003-08-27 16:08 king * Utilities/Release/: cmake_release.sh, config_AIX, config_Darwin, config_HP-UX, config_IRIX64, config_Linux, config_OSF1, config_SunOS, cygwin-package.sh.in: Merging release script changes from 1.8 branch to main tree. 2003-08-27 16:02 king * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: ERR: Fixed typo in comment. 2003-08-27 08:29 king * Source/cmake.cxx: ERR: Fixed placement of code introduced by a patch from main tree. Somehow it ended up on the wrong lines. 2003-08-26 17:13 king * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Added support for "make VERBOSE=1" to run one-time verbose make runs without changing CMAKE_VERBOSE_MAKEFILE. 2003-08-26 15:08 king * Source/: cmake.cxx, cmakemain.cxx, cmakewizard.cxx, cmakewizard.h: BUG#164: Fixed crash of cmake -i when CMAKE_ROOT cannot be found. Made resulting error message cleaner. 2003-08-26 15:06 king * Source/: cmake.cxx, cmakemain.cxx, cmakewizard.cxx, cmakewizard.h: BUG: Fixed crash of cmake -i when CMAKE_ROOT cannot be found. Made resulting error message cleaner. 2003-08-22 12:53 king * CMakeLists.txt, Source/CMakeLists.txt, Utilities/CMakeLists.txt: ENH: Moved decision to build MFCDialog up to top level. It is used in both the Source and Utilities directories. 2003-08-22 11:56 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove ifdef code and use makefile definitions 2003-08-22 11:56 hoffman * Modules/Platform/Windows-gcc.cmake: ENH: add configure file for gcc under windows 2003-08-22 09:52 andy * bootstrap, Modules/FindThreads.cmake: ERR: Reorganize to try to fix the -pthread problem on some systems 2003-08-21 16:22 hoffman * Modules/CMakeCCompiler.cmake.in, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestGNU.c, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows.cmake, Source/CMakeLists.txt, Source/cmDynamicLoader.cxx, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx, Source/kwsys/SystemTools.cxx: ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 13:26 andy * Modules/FindwxWindows.cmake: ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it 2003-08-21 09:23 hoffman * Source/TODO: [no log message] 2003-08-20 12:59 king * Source/: cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Added documentation of specifying an existing build tree as an argument. 2003-08-19 11:02 andy * Source/cmLoadCommandCommand.cxx: ERR: Fix crash of cmake on broken load commands 2003-08-19 10:50 king * Modules/Platform/: IRIX64.cmake: ENH: Improved default choice of -64 compiler/linker flags based on how cmake was built. 2003-08-19 10:29 andy * Source/cmLoadCommandCommand.cxx: BUG: LastError can return 0, so handle that case 2003-08-19 09:41 king * bootstrap: BUG: Merged cmake_make_processor error message to 1.8 branch. 2003-08-19 09:40 king * Source/: cmCTest.cxx, cmCTest.h: BUG: Merged fixes for bugs 146, 152, and 153 to 1.8 branch. 2003-08-19 09:39 king * Source/cmCacheManager.cxx: BUG#154: Merged fix to 1.8 branch. 2003-08-19 09:39 king * Source/cmake.cxx: ERR: Fixed warnings. 2003-08-19 09:33 king * Source/kwsys/SystemTools.cxx: ERR: Merged warning fix from main tree to CMake 1.8 branch. 2003-08-19 09:32 king * Source/kwsys/ProcessUNIX.c: ProcessUNIX.c 2003-08-19 09:32 king * Source/kwsys/ProcessWin32.c: BUG: Merged error message fix to CMake 1.8 branch. 2003-08-19 09:27 king * Modules/FindLATEX.cmake: BUG#156: Fixed typo psd2pdf -> ps2pdf. Will be included in 1.8.1 release. 2003-08-19 09:12 king * Utilities/Release/: cmake_release.sh, config_IRIX64: Added LDFLAGS support. 2003-08-19 09:06 king * Utilities/Release/config_IRIX64: ENH: Added configuration of both -64 and -n32 builds. 2003-08-19 09:05 king * Utilities/Release/cmake_release.sh: ENH: Added support for configuration of install tree. 2003-08-19 08:53 andy * Modules/FindLATEX.cmake: BUG: Fix Bug #156 - ps2pdf is not found on linux 2003-08-18 14:31 andy * Source/: cmCTest.cxx, cmCTest.h: BUG: Report failed as failed... 2003-08-18 14:06 andy * Source/cmake.cxx: ENH: Remove unused variable 2003-08-18 14:05 andy * Source/cmCacheManager.cxx: BUG: Fixed Bug #154 - Uninitialized type initialized value cache variables should return value 2003-08-18 11:30 andy * Source/: cmCTest.cxx, cmCTest.h: BUG: Fix Bug #153 - CTest does not detect tests that are not found and Bug #153 - CTest does not detect tests that are not found 2003-08-17 12:24 hoffman * Source/kwsys/SystemTools.cxx: ENH: remove warning and unneeded cast 2003-08-15 08:41 andy * Source/cmCTest.cxx: BUG: Fix test reporting 2003-08-14 13:34 andy * Source/cmCTest.cxx: ENH: Fix verbose output, fix error message, and fix the exit code check 2003-08-14 09:09 hoffman * Source/cmake.cxx: ENH: remove a warning 2003-08-13 18:17 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Better error reporting 2003-08-13 18:08 king * Source/kwsys/ProcessWin32.c: ENH: Made error message consistent between win9x and non-win9x version of error reporting. 2003-08-13 14:21 king * Source/kwsys/ProcessUNIX.c: ENH: Treating SIGBUS as a fault by default. 2003-08-12 17:24 king * Source/cmSystemTools.cxx: BUG: Do not hide console when run from ctest. 2003-08-12 17:18 andy * Source/cmSystemTools.cxx: ENH: Fix hidden console for ctest 2003-08-12 17:17 king * Utilities/Release/cmake_release.sh: Redoing 1.8.0. 2003-08-12 16:37 king * Utilities/Release/cmake_release.sh: Disable use of libdl by curl. 2003-08-12 16:35 king * Utilities/Release/: config_AIX, config_Darwin, config_HP-UX, config_IRIX64, config_Linux, config_OSF1, config_SunOS: ENH: Using write_standard_cache to shorten config files. 2003-08-12 16:35 king * Utilities/Release/cmake_release.sh: ENH: Unix builds should not use reentrant versions of network calls. 2003-08-11 18:24 king * Utilities/Release/config_Darwin: ENH: Updated for new wx version. 2003-08-11 18:21 king * Utilities/Release/cmake_release.sh: BUG: CMake.app directory is now in bin, not Source. 2003-08-11 18:14 king * Utilities/Release/cygwin-package.sh.in: BUG: Tests are run by bin/ctest instead of Source/ctest. 2003-08-11 17:58 king * Utilities/Release/: cmake_release.sh, config_IRIX64, config_Linux: ENH: Added support for parallel build during release. 2003-08-11 17:53 andy * bootstrap: ENH: Add error message for make missing 2003-08-11 17:41 king * Utilities/Release/cmake_release.sh: BUG: Test for build needs to look for bin/ccmake, not Source/ccmake. 2003-08-11 17:35 king * Utilities/Release/: cmake_release.sh, config_Darwin, config_HP-UX, config_IRIX64, config_SunOS: Merge from 1.8 branch. 2003-08-11 17:34 king * Source/cmCommands.cxx: BUG: Bootstrapping with wxWindows support needs SEPARATE_ARGUMENTS command. 2003-08-11 17:34 king * Modules/CMakeLists.txt: ENH: Installing readme.txt in Modules directory to be consistent with windows. 2003-08-11 16:55 king * Utilities/Release/config_Darwin: Fixed wx location. 2003-08-11 16:43 king * Source/cmCommands.cxx: BUG: Bootstrapping with wxWindows support requires SEPARATE_ARGUMENTS command in bootstrapped executable. 2003-08-11 16:31 king * Utilities/Release/config_HP-UX: ENH: Cleaned up link of dld. 2003-08-11 16:31 king * Utilities/Release/config_SunOS: ENH: Switching to system compiler. 2003-08-11 15:27 king * Utilities/Release/cmake_release.sh: Using bootstrap instead of configure. 2003-08-11 15:22 king * Utilities/Release/cmake_release.sh: ENH: Allow config files to specify a make. 2003-08-11 15:21 king * Utilities/Release/config_IRIX64: ENH: Enabling parallel build. 2003-08-11 15:16 king * Utilities/Release/cmake_release.sh: BUG: Location of ctest has changed to bin, not Source. 2003-08-11 15:15 king * Utilities/Release/config_Darwin: Updated for new FindwxWindows. 2003-08-11 15:07 king * Utilities/Release/cmake_release.sh: Update from 1.8 branch. 2003-08-11 15:06 king * Utilities/Release/config_Darwin: Updated for new location of wxWindows. 2003-08-11 15:02 king * Utilities/Release/config_Darwin: Updated for new location of wxWindows. 2003-08-11 15:01 king * Utilities/Release/cmake_release.sh: ENH: Updated for new FTP directory structure. 2003-08-11 14:56 king * Modules/CMakeLists.txt: ENH: Installing readme.txt in modules to be consistent with windows. 2003-08-11 14:44 martink * Source/: cmMakefile.cxx: added beta release support 2003-08-11 14:41 martink * CMakeLists.txt, Source/cmCPluginAPI.h: version 19 2003-08-11 14:37 martink * CMakeLists.txt, Source/cmCPluginAPI.h, Utilities/Release/cmake_release.sh: added version 2003-08-11 12:20 andy * Source/ctest.cxx: ENH: Add documentation for -D and add missing targets 2003-08-11 12:18 andy * Source/: cmCTest.cxx, CTest/cmCTestSubmit.cxx: ENH: Cleanup the output 2003-08-11 12:17 andy * Modules/Dart.cmake: ENH: Take Purify out because it is not implemented yet 2003-08-11 09:47 andy * Source/cmCTest.cxx: ENH: Remove debug 2003-08-10 18:30 martink * Source/: cmAbstractFilesCommand.h, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.h, cmAddExecutableCommand.h, cmAddLibraryCommand.h, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.h, cmBuildCommand.h, cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h, cmCTest.cxx, cmCacheManager.cxx, cmCommand.h, cmConfigureFileCommand.h, cmCreateTestSourceList.h, cmEnableTestingCommand.h, cmEndForEachCommand.h, cmExecProgramCommand.h, cmExportLibraryDependencies.h, cmFLTKWrapUICommand.h, cmFileCommand.h, cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.h, cmFindPackageCommand.h, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmForEachCommand.h, cmGetCMakePropertyCommand.h, cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.h, cmGlob.cxx, cmITKWrapTclCommand.h, cmIfCommand.h, cmIncludeCommand.h, cmIncludeDirectoryCommand.h, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.h, cmLoadCommandCommand.h, cmLocalUnixMakefileGenerator.cxx, cmMacroCommand.h, cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h, cmMarkAsAdvancedCommand.h, cmMessageCommand.h, cmOptionCommand.h, cmOutputRequiredFilesCommand.h, cmProjectCommand.h, cmQTWrapCPPCommand.h, cmQTWrapUICommand.h, cmRemoveCommand.h, cmSeparateArgumentsCommand.h, cmSetCommand.h, cmSetSourceFilesPropertiesCommand.h, cmSetTargetPropertiesCommand.h, cmSiteNameCommand.h, cmSourceFile.h, cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.h, cmSourceGroupCommand.h, cmStringCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h, cmSystemTools.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.h, cmTryCompileCommand.h, cmTryRunCommand.h, cmUseMangledMesaCommand.h, cmUtilitySourceCommand.h, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h, cmVariableRequiresCommand.h, cmWin32ProcessExecution.cxx, cmWrapExcludeFilesCommand.h, cmWriteFileCommand.h, cmake.cxx, cmake.h, cmakewizard.cxx, cmakewizard.h: removed redundent includes 2003-08-10 16:01 martink * Source/: cmMakeDepend.cxx, cmMakeDepend.h, cmSourceFile.cxx: removed duplicate includes 2003-08-10 16:00 martink * Source/cmMakefile.cxx: removed duplicate include 2003-08-09 19:37 andy * Source/cmCTest.cxx: ERR: Rename some variables to remove shadow warning 2003-08-08 18:28 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add regression images support 2003-08-08 17:10 andy * Source/cmCTest.cxx: ENH: Better output and use RunMakeCommand for configure 2003-08-08 11:59 andy * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineSystem.cmake, CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake, CMakeVS6FindMake.cmake, CMakeVS71FindMake.cmake, CMakeVS7FindMake.cmake, CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake, FindHTMLHelp.cmake, FindMFC.cmake, TestBigEndian.cmake, TestCXXAcceptsFlag.cmake, TestForANSIForScope.cmake, TestForSTDNamespace.cmake: ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 2003-08-08 11:19 martink * Source/cmStandardIncludes.h: added stdio 2003-08-08 10:40 martink * Source/cmLocalVisualStudio6Generator.cxx: fid post build iue on vs6 utility targets 2003-08-08 10:20 andy * Tests/SystemInformation/DumpInformation.cxx: EHN: Also display Configure.h and Configure.hxx from cmsys 2003-08-08 10:07 andy * Source/cmMakefile.cxx: ENH: When fixing cache value with uninitialized type, collapse full paths for PATH and FILEPATH. Closes Bug #82 - Specifying relative path when entering path can break things 2003-08-08 09:26 andy * Source/cmMakefile.cxx: ENH: Handle untyped but initialized values for boolean AddCacheDefinition. Closes Bug #118 - Specifying cache entries with -D should not need the type 2003-08-08 09:22 andy * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Get accessor for cache value as boolean 2003-08-08 09:17 martink * Source/cmLocalUnixMakefileGenerator.cxx: remove shadowed variable 2003-08-08 09:14 king * Source/cmFindPackageCommand.cxx: ERR: Fixed use of != operator for std::string on old broken compilers. 2003-08-08 08:48 andy * Source/cmakemain.cxx: ENH: Add help for cmake -E 2003-08-08 08:48 andy * Source/cmCTest.cxx: ENH: Flush the output file, to make more nice output for tail -f 2003-08-07 19:23 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Add displaying of dots when building project. Also, file is now written as the output is produced, so, tail -f works, baby... 2003-08-07 19:00 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Abstract parsing of arguments so that I can use it in other places 2003-08-07 18:44 andy * Source/cmaketest.cxx: ENH: More verbose 2003-08-07 17:43 king * Source/ctest.cxx: ENH: Clarification of help dumped when no arguments are given and no test file is found. 2003-08-07 16:54 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: BUG: fix the test 2003-08-07 16:50 king * Source/cmFindPackageCommand.cxx: ENH: Added compatability for capitalization of _DIR and _FOUND variables in cmake 1.6. 2003-08-07 16:32 andy * Modules/FindLATEX.cmake: ENH: Add PDFLaTeX and LaTeX2HTML. Closes Bug #132 - Add pdflatex and html2latex to FindLATEX.cmake 2003-08-07 16:26 andy * Source/: cmVariableWatch.cxx, cmVariableWatch.h: ENH: Add remove watch 2003-08-07 16:25 andy * CMakeLists.txt, Source/CMakeLists.txt: ENH: Fix dependencies for curses dialog 2003-08-07 16:11 king * Source/cmake.cxx: BUG: Fixed typo in error message. 2003-08-07 16:09 andy * CMakeLists.txt, Source/CMakeLists.txt, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmTargetLinkLibrariesCommand.h, Source/CTest/CMakeLists.txt: ENH: Report an error when ADD_LIBRARY and TARGET_LINK_LIBRARIES are in the wrong order and fix CMakeLists files to actually work 2003-08-07 16:04 hoffman * Tests/Complex/CMakeLists.txt, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Source/cmIncludeExternalMSProjectCommand.cxx: ENH: improve coverage 2003-08-07 15:39 andy * Source/kwsys/ProcessWin32.c: ENH: Cast into apropriate type to remove warning 2003-08-07 14:37 andy * Source/cmQTWrapUICommand.cxx: ENH: Use the new signature 2003-08-07 14:37 andy * Tests/Wrapping/CMakeLists.txt: ENH: More verbose test 2003-08-07 14:10 hoffman * Modules/Platform/Windows-cl.cmake: BUG: fix for main in a library on windows with nmake 2003-08-07 11:53 king * Source/cmLocalUnixMakefileGenerator.h: ENH: Added convenience signature to OutputMakeRule. 2003-08-07 11:42 king * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Makefiles now have rules to do a global generate if the CMake listfiles have changed. Necessary for when try-compiles are added to a listfile. 2003-08-07 09:19 hoffman * Modules/FindMPI.cmake, Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bugs 125 - 128, and a fix for the bug introduced by the bug fix for but 92. & was being replaced with &, but after double quote was replaced with " causing it to be &quot. Also add more search paths for mpi 2003-08-06 19:19 andy * Source/cmMakefile.cxx: ENH: oops, initialize variable 2003-08-06 18:54 andy * Source/cmGetCMakePropertyCommand.cxx, Source/cmGetCMakePropertyCommand.h, Source/cmMacroCommand.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Tests/SystemInformation/CMakeLists.txt, Tests/SystemInformation/DumpInformation.cxx: ENH: Add option to retrieve list of macros. Close Bug #25 - Get_CMAKE_PROPERTIES 2003-08-06 18:43 king * Source/cmDocumentation.cxx: BUG: Don't use -V as a version option. It conflicts with ctest. 2003-08-06 18:41 king * Source/cmake.cxx: ENH: Removed old argument processing code that never does anything. 2003-08-06 18:39 king * Source/: cmakewizard.cxx, CursesDialog/cmCursesMainForm.cxx: BUG#129: Fixed load/save of CMakeCache.txt when it is not in the current directory. 2003-08-06 17:58 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: If CMAKE_EDIT_COMMAND is not specified, use cmake -i 2003-08-06 17:52 andy * bootstrap: ENH: Add rebuild_cache 2003-08-06 17:32 andy * Modules/FindThreads.cmake: ENH: On apple use -lpthreads 2003-08-06 15:22 king * Source/: cmInstallFilesCommand.h, cmInstallProgramsCommand.h: ENH: Tweaked whitespace in documentation of command. 2003-08-06 15:18 king * Source/cmAddCustomCommandCommand.h: ENH: Tweaked whitespace in documentation of command. 2003-08-06 15:12 king * Source/CursesDialog/ccmake.cxx: ENH: Added SEE ALSO support for generated unix manpage. 2003-08-06 15:10 king * Source/CMakeLists.txt: BUG: We don't want to install cmaketest on UNIX or windows. It is for internal CMake testing only. We should probably fold its functionality into ctest anyway. 2003-08-06 15:03 king * Source/ctest.cxx, Utilities/CMakeLists.txt: ENH: Added documentation for ctest. 2003-08-06 14:49 king * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Added configuration of name of executable in man page header and version banner. 2003-08-06 13:48 king * Source/cmSystemTools.cxx: ENH: Hide windows for processes run by RunSingleCommand. 2003-08-06 13:41 king * Source/kwsys/SystemTools.cxx: Fixed indentation 2003-08-06 12:52 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: do not output make install rules on windows because they do not work 2003-08-06 11:51 king * Source/cmaketest.cxx: BUG: Fixed spacing error in message. 2003-08-06 10:42 king * Source/CMakeLists.txt: ENH: Install test is now enabled when CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/Tests/TestInstall/Prefix to keep test in one directory. 2003-08-06 10:39 king * Source/CMakeLists.txt, Tests/TestInstall.sh.in: ENH: Added Install test. It is enabled when the CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/InstallTest. 2003-08-06 10:15 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Fix install problem 2003-08-06 09:27 king * Source/kwsys/ProcessWin32.c: BUG: Need to provide stdin to child processes. 2003-08-05 18:25 king * Tests/CommandLineTest/CMakeLists.txt: ENH: Added test of --copyright and --version arguments for coverage. 2003-08-05 18:22 king * Tests/CommandLineTest/CMakeLists.txt: ENH: Added test of --help [command] form of help option for coverage. 2003-08-05 18:10 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Added support to --help to print help for a single command. 2003-08-05 17:39 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fixed implementation of long dependency list support. The proxy target must have a corresponding file to work correctly. Instead of using a proxy target, we now just list one line for each dependency and then print one copy of the build rule at the end. 2003-08-05 16:51 king * Source/cmake.cxx: ENH: Clarified source directory mismatch message. 2003-08-05 16:36 king * Source/: cmake.cxx, cmake.h: ENH#61: cmake and ccmake now support passing the path to a CMakeCache.txt file as an argument. Its settings will be loaded. 2003-08-05 16:04 king * Source/cmLocalVisualStudio7Generator.cxx: BUG#92 - Added XML escaping for <, >, and &. 2003-08-05 15:20 andy * Tests/SystemInformation/DumpInformation.cxx: BUG: Open as ascii to remove extra new lines 2003-08-05 15:10 king * Source/kwsys/: ProcessFwd9x.c, ProcessWin32.c: ENH: Added show/hide window support. 2003-08-05 14:27 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH: Added SetOption/GetOption methods for platform-specific options. 2003-08-05 13:53 king * Source/kwsys/ProcessUNIX.c: BUG: Can't close stdin. 2003-08-05 11:34 king * Source/kwsys/ProcessUNIX.c: BUG: Added missing zero-initialization of struct sigaction. 2003-08-05 09:55 martink * Modules/: CMakeTestNMakeCLVersion.c, Platform/Windows-cl.cmake: added test for whether pdbtype should be used for nmake 2003-08-05 09:07 king * Source/kwsys/ProcessUNIX.c: BUG: GetErrorString should return ErrorMessage buffer, not the pipe buffer. 2003-08-05 09:07 martink * Source/cmLocalUnixMakefileGenerator.cxx: minor fix 2003-08-05 08:49 martink * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: added outputEcho method and fixed make help for nmake and borland 2003-08-04 17:08 king * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: ERR: Fixed typeo tests->test. 2003-08-04 15:35 martink * Source/cmLocalUnixMakefileGenerator.cxx: added make help target first cut 2003-08-04 14:34 martink * Source/cmLocalUnixMakefileGenerator.cxx: fix for debug libs on UNIX 2003-08-04 11:48 andy * Source/cmSystemTools.cxx: ENH: Improve paths on windows 2003-08-04 07:55 andy * Source/cmSystemTools.cxx: ENH: Fix escaping on windows 2003-08-04 07:12 andy * Source/cmSystemTools.cxx: ENH: Fix argument parsing on UNIX with spaces 2003-08-03 22:41 andy * Source/cmSiteNameCommand.cxx: ENH: Use new RunCommand 2003-08-03 22:36 andy * Source/: cmCTest.cxx, cmCTest.h: ENH: Use new RunCommand 2003-08-03 22:34 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmake.cxx, cmaketest.cxx: ENH: Use the new RunCommand 2003-08-03 22:33 andy * Source/: cmBuildNameCommand.cxx, cmTryRunCommand.cxx, cmSiteNameCommand.cxx: ENH: Use the new signature 2003-08-03 22:32 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add back the kwsysProcess RunCommand, now is in parallel 2003-08-03 20:47 andy * Source/cmGetCMakePropertyCommand.cxx, Source/cmGetCMakePropertyCommand.h, Source/cmake.h, Tests/SystemInformation/CMakeLists.txt, Tests/SystemInformation/DumpInformation.cxx: ENH: Add accessor for the list of commands 2003-08-02 09:33 andy * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx: BUG: Fix problem with uninitialized variables 2003-08-01 19:13 andy * Modules/FindQt.cmake, Tests/Wrapping/CMakeLists.txt: ENH: Make it work for QT 2.3 non commercial on windows 2003-08-01 18:53 andy * Source/cmQTWrapUICommand.cxx: ENH: Make out of source work on Windows 2003-08-01 18:52 andy * Tests/Wrapping/CMakeLists.txt: ENH: Add more debug 2003-08-01 18:52 andy * Source/CMakeLists.txt: ENH: Fix test for Visual Studio 2003-08-01 17:11 andy * Modules/FindThreads.cmake: ENH: MAke it work on FreeBSD 2003-08-01 16:48 andy * Modules/: CheckForPthreads.c, FindThreads.cmake: ENH: Do better test for pthreads 2003-08-01 16:48 andy * Modules/FindQt.cmake: ENH: Fix indentation 2003-08-01 16:47 andy * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Remove debug 2003-08-01 15:41 hoffman * Tests/: Complex/Executable/complex.file.cxx, ComplexOneConfig/Executable/complex.file.cxx, ComplexRelativePaths/Executable/complex.file.cxx: add missing file 2003-08-01 15:33 king * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Dependency lists are now split into multiple make lines to allow longer lists on limited make programs. 2003-08-01 15:33 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Add support for -pthread 2003-08-01 15:27 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Adding link flags to an executable that links to shared libraries must be done for both EXECUTABLE and WIN32_EXECUTABLE targets. 2003-08-01 14:34 hoffman * Source/cmLocalUnixMakefileGenerator.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt: BUG (85): allow . to be in the name of an executable 2003-08-01 14:10 andy * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx, cmake.cxx: ENH: Allow specifying cmake variables on the command line without specifying the type Bug #118 - Specifying cache entries with -D should not need the type 2003-08-01 14:10 martink * Source/cmLocalUnixMakefileGenerator.cxx: all Makefiles now have both full path to exe and short version 2003-08-01 13:54 martink * Source/cmUtilitySourceCommand.cxx: fix for utility command without EXECUTABLE_OUTPUT_PATH 2003-08-01 13:24 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Syntax cleanup 2003-08-01 13:13 hoffman * Source/: cmGlobalNMakeMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: ENH: allow lib prefix for to stay for nmake and borland make as it is not a system prefix 2003-08-01 13:00 martink * CMakeLists.txt: change lib path back to empty 2003-08-01 12:49 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Fix echo's to use @echo. This way verbose mode does not print twice: Bug #45 - add @ from echo commands 2003-08-01 11:58 martink * CMakeLists.txt: made more options advanced 2003-08-01 09:18 andy * Tests/Wrapping/CMakeLists.txt: ERR: Only link qt to qt executable 2003-08-01 09:11 martink * Source/cmExportLibraryDependencies.cxx: fix for bug # 101 2003-07-31 16:43 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: when creating rule files remove the IntDir 2003-07-31 15:32 hoffman * Source/cmTarget.cxx: ENH: add support for OBJECT_DEPENDS for visual studio 2003-07-31 14:46 martink * Source/cmMakefile.cxx: bug fix for bug # 117 2003-07-31 13:15 andy * Modules/FindwxWindows.cmake: made a minor bugfix on my FindwxWindows.cmake. I capsulated the regular expression matching for the libdrs with another IF (line 355). By: Jan Woetzel 2003-07-31 08:50 andy * Tests/Wrapping/CMakeLists.txt: ERR: Attempt to fix wrapping on Windows 2003-07-31 08:33 andy * Tests/Wrapping/Wrap.c: ENH: Fix problem on HP. Whay should K&R be default? 2003-07-30 15:38 andy * Modules/FindQt.cmake: ENH: when linking in QT, we should also link DL, since QT uses them 2003-07-30 13:39 andy * Modules/FindQt.cmake: ENH: QT if it is multi threaded should link in threads 2003-07-30 13:28 andy * Tests/Wrapping/: CMakeLists.txt, foo.ui.in: ENH: Really test uic and perform configured uic test 2003-07-30 13:27 andy * Source/cmQTWrapUICommand.cxx: ENH: Allow qt ui files being it the binary dir. Bug #110 - QT_WRAP_UI problem on out-of-source builds 2003-07-30 13:11 andy * Source/cmaketest.cxx: ENH: Also fail when make failsSource/cmaketest.cxx 2003-07-30 13:10 andy * Tests/Wrapping/: CMakeLists.txt, Wrap.c: ENH: Add executable for wrapping test, so that make stage actually passes 2003-07-29 18:06 andy * Source/cmGlob.cxx: ENH: Speedup globbing and attempt to fix cygwin problem 2003-07-29 17:15 andy * Modules/FindQt.cmake: ENH: Use FindX11 when doing Qt on unix 2003-07-29 13:36 andy * Modules/Use_wxWindows.cmake: ENH: Add Use file for wxWindows. Thanks Jan Woetzel 2003-07-29 07:41 andy * Modules/FindwxWindows.cmake: ENH: Improved find module. Thank you Jan Woetzel 2003-07-29 07:01 andy * Source/cmAddCustomCommandCommand.cxx: ENH: Fix typo: Bug #100 - Spelling correction to an error message 2003-07-28 18:12 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmMakeDepend.cxx, cmMakeDepend.h: ENH: performance fixes for network depends 2003-07-28 14:43 hoffman * Source/: cmSourceGroupCommand.cxx, cmSourceGroupCommand.h: ENH: put back old style call to SOURCE_GROUP, no need to break things for this 2003-07-28 13:40 hoffman * Source/cmake.cxx: BUG: make sure initial cache file read only reads one file, and does not look for CMakeLists.txt files on the entire disk 2003-07-25 13:39 hoffman * Source/cmake.cxx: add a better message for the GUI if no CMakeLists.txt file is found. 2003-07-25 12:50 hoffman * Tests/Wrapping/CMakeLists.txt: for unix add x11 and pthreads for qt 2003-07-24 11:53 andy * Source/cmGlob.cxx: ENH: Remove warning 2003-07-24 11:37 martink * Source/cmLocalUnixMakefileGenerator.cxx: fix for utility depends bug#76 2003-07-24 11:33 king * Source/CMakeLists.txt, Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/FindPackageTest.cxx: ENH: Added FindPackageTest to improve coverage. 2003-07-24 11:32 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Implemented QUIET argument propagation to FOO_FIND_QUIETLY setting in FindFOO.cmake module that is found. 2003-07-24 11:12 andy * Source/cmGlob.cxx: ENH: On windows handle network paths 2003-07-24 11:06 king * Modules/FindVTK.cmake: ENH: Improved error message for VTK_DIR not found to refer to it as a cache entry. Some users thought this was supposed to be an environment variable. 2003-07-24 10:58 king * Source/CMakeLists.txt, Source/cmDumpDocumentation.cxx, Tests/CommandLineTest/CMakeLists.txt, Tests/CommandLineTest/CommandLineTest.cxx, Tests/StringFileTest/CMakeLists.txt: ENH: Added CommandLineTest to add coverage for command line arguments to cmake executables. This replaces the old DumpDocumentation test. 2003-07-23 18:01 andy * Tests/StringFileTest/CMakeLists.txt: ENH: More coverage 2003-07-23 17:59 king * Utilities/CMakeLists.txt: ENH: Added build of documentation for CMakeSetup. 2003-07-23 17:27 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: CheckOptions now takes const argv. 2003-07-23 15:45 king * Source/cmSourceGroupCommand.cxx: ENH: Added backwards compatability. 2003-07-23 15:32 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h: ENH: Fully implemented SOURCE_GROUP command. 2003-07-23 14:31 andy * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: ENH: Fix compatibility 2003-07-23 10:39 king * Source/cmSourceGroupCommand.cxx: BUG: Fixed off-by-one error in file list loop. Fix submitted by David A. Karr. 2003-07-23 10:26 andy * Source/cmGlob.cxx: ENH: On windows and apple handle lowercase/upercase file name problem 2003-07-23 09:10 king * Tests/StringFileTest/CMakeLists.txt: ENH: Added more verbose output of what globbing results. 2003-07-23 08:58 king * Utilities/CMakeLists.txt: BUG: Don't install ccmake documentation if no ccmake was built. 2003-07-23 08:37 king * bootstrap: ENH: Adding forced settings for prefix, docdir, mandir, and datadir. 2003-07-22 17:09 andy * DartConfig.cmake: ENH: Direct link to cmake bugs 2003-07-22 13:53 andy * Source/cmCPluginAPI.cxx: ERR: Fix error on bad C++ compiler that do not handle return void 2003-07-22 13:15 andy * Source/cmTarget.cxx: BUG: Fix copy/paste typo 2003-07-22 13:14 andy * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: ENH: Add DisplayStatus 2003-07-22 12:21 andy * Tests/: LoadCommand/LoadedCommand.cxx, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/LoadedCommand.cxx, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: More coverage 2003-07-22 11:17 andy * Tests/StringFileTest/CMakeLists.txt: ENH: More coverage 2003-07-22 10:45 andy * Tests/StringFileTest/CMakeLists.txt: ENH: Increase coverage 2003-07-21 17:14 king * Utilities/CMakeLists.txt: ENH: Added generation of ccmake documentation on UNIX. 2003-07-21 17:13 king * Source/CursesDialog/ccmake.cxx: ENH: Added introduction paragraph to documentation. 2003-07-21 16:38 king * CMakeLists.txt, bootstrap, Modules/CMakeLists.txt, Modules/Platform/CMakeLists.txt, Source/CMakeLists.txt, Source/cmCommands.cxx, Source/cmConfigure.cmake.h.in, Source/cmake.cxx, Templates/CMakeLists.txt, Utilities/CMakeLists.txt: ENH: Added optional configuration of data/doc/man dirs. This will be useful for package maintainers. 2003-07-21 16:37 king * Source/: InitialConfigureFlags.cmake.in, cmConfigure.h.in: Removing old file. This was used by old configure script which has been removed. 2003-07-21 15:29 andy * Source/cmGlob.cxx, Tests/StringFileTest/CMakeLists.txt: ENH: fix glob on windows and add glob recurse test 2003-07-21 15:02 king * Source/CMakeLists.txt: ENH: Added generation of cmake documentation during build preocess. 2003-07-21 14:58 king * Source/cmDocumentation.cxx: BUG: Text dump of documentation should be in ascii mode. 2003-07-21 14:57 king * Source/cmAddCustomTargetCommand.h: BUG: Fixed documentation formatting. 2003-07-21 14:44 andy * Source/: cmSourceFilesCommand.cxx, cmSourceFilesCommand.h: ENH: Use new deprecation mechanism 2003-07-21 14:43 andy * Source/cmFileCommand.h: ENH: Fix comment 2003-07-21 14:42 andy * Source/: cmCommand.h, cmMakefile.cxx: ENH: Initial framework for deprecated commands 2003-07-21 13:48 andy * Tests/StringFileTest/CMakeLists.txt: ENH: add more coverage tests 2003-07-21 13:46 andy * Source/cmGlob.cxx: ENH: Handle ^ as [^fu] 2003-07-17 14:56 andy * Tests/StringFileTest/CMakeLists.txt: ENH: Add additional new line after the string to match the change in file command 2003-07-17 14:56 andy * Source/cmFileCommand.cxx: ENH: Remove extra new line after the written string 2003-07-17 14:54 andy * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake, CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckSymbolExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake, TestBigEndian.cmake, TestCXXAcceptsFlag.cmake: ENH: Extra new line after output 2003-07-16 15:38 hoffman * Modules/CMakeDetermineSystem.cmake, Source/cmGlobalGenerator.cxx: ENH: set CMAKE_SYSTEM_VERSION for windows 2003-07-16 14:52 king * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Added QUIET optional argument to block error message when _DIR variable is not set. Also removed upper-casing of package name. 2003-07-16 11:38 king * Tests/SystemInformation/: DumpInformation.cxx, DumpInformation.h.in: ENH: Added dump of more files. Improved robustness of dump. 2003-07-15 12:52 hoffman * Source/cmAddCustomCommandCommand.cxx: ENH: better error checking 2003-07-14 10:33 king * Source/cmMakefile.cxx: BUG: Custom commands should have variables expanded before comparing with previously added custom commands. 2003-07-14 10:13 martink * Source/cmFLTKWrapUICommand.cxx: some updates 2003-07-14 09:44 martink * Source/cmFLTKWrapUICommand.cxx: some updates 2003-07-14 09:31 martink * Source/: cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h: some updates 2003-07-14 09:15 andy * Source/: cmFileCommand.cxx, cmFileCommand.h, cmGlob.cxx, cmGlob.h: ENH: Recurse subdirectories 2003-07-11 17:21 king * bootstrap: ENH: Removed cmsys include directory from bootstrap build of kwsys. It is no longer needed. 2003-07-11 16:29 king * Utilities/Release/cmake_release.sh: BUG: Update of release utilities must maintain tag. 2003-07-11 14:14 andy * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake, CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckSymbolExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake, Dart.cmake, TestBigEndian.cmake, TestCXXAcceptsFlag.cmake: ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things 2003-07-10 23:22 king * Source/cmake.h: ERR: Removed duplicate generator documentation.e 2003-07-10 23:15 king * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx: ENH: Added SEE ALSO section to generated man page. Minor formatting improvements for generated text-only documentation. 2003-07-10 23:14 king * Source/cmake.h: ENH: Added CMAKE_STANDARD_INTRODUCTION macro defining standard documentation for inclusion in every binary's documentation. 2003-07-10 23:14 king * Source/cmGlobalUnixMakefileGenerator.cxx: ENH: Wrote basic description in full documentation block. 2003-07-10 14:48 andy * Tests/StringFileTest/StringFile.cxx: ENH: Add missing include 2003-07-10 14:46 king * Source/kwsys/CMakeLists.txt: ERR: Generated source files need access to kwsysPrivate.h. Just copy it to the build tree. 2003-07-10 14:35 andy * Source/cmStringCommand.cxx: ERR: Remove unused variable 2003-07-10 14:32 king * Source/kwsys/: Base64.c, CMakeLists.txt, Directory.cxx, EncodeExecutable.c, ProcessUNIX.c, ProcessWin32.c, RegularExpression.cxx, SystemTools.cxx, kwsysPrivate.h: ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys headers through their configured namespace. 2003-07-10 14:29 andy * Tests/StringFileTest/CMakeLists.txt, Tests/StringFileTest/InputFile.h.in, Tests/StringFileTest/StringFile.cxx, Source/CMakeLists.txt: ENH: Add test for string and file commands 2003-07-10 13:25 andy * Source/: cmStringCommand.cxx, cmStringCommand.h: ENH: Add upper and lower case support. Close Bug #79 - STRING TOUPPER and TOLOWER 2003-07-09 17:25 king * Source/cmSystemTools.cxx: ENH: Added escape support for ( and ). 2003-07-09 17:17 king * Source/: cmListFileCache.cxx, cmSystemTools.cxx: ENH: Added support for # characters inside quoted arguments and for escaping # in a non-quoted argument. Improved parsing speed by not compiling regular expressions on blank lines. 2003-07-09 16:18 king * Source/kwsys/ProcessUNIX.c: ERR: Using strncpy instead of snprintf for portability. 2003-07-08 16:33 andy * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add MAKE_DIRECTORY and modify documentation 2003-07-08 16:27 andy * Source/cmGlob.cxx: ENH: Remove commented code 2003-07-08 14:18 andy * bootstrap, Source/CMakeLists.txt, Source/cmFileCommand.cxx, Source/cmFileCommand.h, Source/cmGlob.cxx, Source/cmGlob.h: ENH: Add globbing to FILE command 2003-07-08 13:27 king * Source/cmMakefile.cxx: BUG#65: Fixed inheritance of CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR. 2003-07-08 09:21 andy * Source/kwsys/CMakeLists.txt: ENH: Fix example 2003-07-08 00:28 king * Source/cmDocumentation.cxx: ERR: Added missing std::. 2003-07-07 23:20 king * CMakeLists.txt, Source/cmDocumentation.cxx, Source/cmDumpDocumentation.cxx, Source/cmStandardIncludes.h: ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch). 2003-07-07 22:54 king * Source/cmStringCommand.h: BUG: Removed extra newlines from help text. 2003-07-07 22:44 king * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Added support to write multiple help options with one command line. Output files can now also be specified for the help options. 2003-07-07 22:41 king * Source/kwsys/CMakeLists.txt: ERR: Removed useless set. 2003-07-07 22:41 king * Source/cmCommands.cxx: ENH: Made ADD_DEPENDENCIES available from bootstrapped cmake. It will be needed to build cmake. 2003-07-07 21:52 king * Source/: cmDocumentation.cxx, cmDocumentation.h, cmGlobalBorlandMakefileGenerator.cxx, cmGlobalBorlandMakefileGenerator.h, cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmake.cxx, cmake.h, cmakemain.cxx: ENH: Registered global generators are now kept in a table in the cmake instance. Added support for documentation with a Generators section. 2003-07-07 18:27 king * Source/cmSystemTools.cxx: BUG: Parsing of arguments from string by RunCommand before passing to Process execution does not work with backslashes in path names. Until this is fixed, we cannot use Process execution from kwsys. 2003-07-07 17:52 andy * bootstrap: ENH: Fix bootstrap to include ProcessUNIX.c 2003-07-07 17:47 andy * Source/: cmCommands.cxx, cmFileCommand.cxx, cmFileCommand.h: ENH: Start working on a general file manipulation command 2003-07-07 17:45 andy * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add optional argument to GetLineFromStream which can let the caller know whether there was a new line character at the end of the line that was just read 2003-07-07 13:36 andy * Docs/cmake-syntax.vim: Initial import of VIM syntax highlighting file 2003-07-07 09:38 king * Source/kwsys/ProcessWin32.c: ENH: Made call to FormatMessage more robust. 2003-07-07 09:16 king * Source/cmSystemTools.cxx: ENH: Using new Process SetWorkingDirectory method instead of manually implementing it. 2003-07-07 09:12 king * Source/kwsys/: Process.h.in, ProcessUNIX.c: ENH: Implemented SetWorkingDirectory method. 2003-07-07 09:10 king * Source/kwsys/ProcessWin32.c: ENH: Implemented SetWorkingDirectory method on Windows. 2003-07-07 08:41 king * Source/cmSystemTools.cxx: ENH: Using kwsys Process implementation to implement RunCommand. 2003-07-07 08:36 andy * Source/kwsys/: Process.h.in, ProcessUNIX.c: ENH: Start working on Working Directory support 2003-07-06 20:40 king * Source/kwsys/ProcessWin32.c: ENH: Using GetTempPath instead of TEMP environment variable to get a location to write the Win9x forwarding executable. 2003-07-03 18:33 king * Source/kwsys/ProcessWin32.c: BUG: Argument parsers do not always remove double quotes from around an argument that has no spaces. 2003-07-03 12:50 hoffman * Source/cmLocalVisualStudio7Generator.cxx: ENH: add linker flags 2003-07-03 11:39 hoffman * Source/cmCreateTestSourceList.cxx: ENH: null terminate at the end of the list 2003-07-03 07:58 king * Source/kwsys/CMakeLists.txt: BUG: Install target for standard header wrappers must point at the std subdirectory in the installation. 2003-07-02 10:48 andy * DartConfig.cmake: ENH: Add proper links to bugtracker 2003-07-02 10:37 andy * DartConfig.cmake: ENH: Add links to bugtracker 2003-07-02 08:35 king * Source/kwsys/ProcessWin32.c: ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31. 2003-07-01 13:32 king * Source/kwsys/Base64.c: ERR: Added casts to remove type conversion warnings. Pointer differences can be 64-bit, but unsigned long is 32-bit on many platforms. We know we are not traversing more data than can be handled by an unsigned long, though, because the length argument is an unsigned long. 2003-07-01 13:27 king * Source/kwsys/: ProcessFwd9x.c, ProcessWin32.c: ERR: Should use %p to pass HANDLE values on a command line, not %d. 2003-07-01 13:27 king * Source/kwsys/SystemTools.cxx: ERR: Removed unreachable code. 2003-07-01 11:40 king * Source/kwsys/: Base64.h.in, Process.h.in: ERR: Reduced requirements on preprocessor for export macro due to limitations of Mac preprocessor. The preprocessor can be fixed by using -no-cpp-precomp, but we don't want to require that option for every source file that includes our headers. 2003-07-01 08:54 king * Source/kwsys/EncodeExecutable.c: ERR: Added explicit cast from size_t to int. We know that the data will not be out of range. 2003-06-30 10:50 andy * bootstrap: ERR: Fix changes in kwsys for Configure.h and StandardIncludes.hxx 2003-06-30 10:44 andy * Source/kwsys/: Base64.c, ProcessFwd9x.c, ProcessWin32.c: ERR: Remove warnings on Windows 2003-06-30 10:30 king * Source/kwsys/: Base64.h.in, CMakeLists.txt, Configure.h.in, Directory.cxx, Directory.hxx.in, EncodeExecutable.c, Process.h.in, ProcessWin32.c, RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.hxx.in: ENH: Added DLL support. 2003-06-30 10:12 martink * Tests/CustomCommand/CMakeLists.txt: modified code to match cmake mode 2003-06-30 10:07 king * Source/kwsys/StandardIncludes.hxx.in: Removing old file. 2003-06-30 09:56 andy * bootstrap: ENH: Fix checking for C++ compiler on Mac, remove cmConfigure.h.tmp, so that nothing bad can happen if configure is interrupted, reports kwsys sources in cmConfigure.h 2003-06-30 08:49 king * Source/kwsys/Base64.h.in: ENH: Updated comments for doxygen. 2003-06-30 08:48 king * Source/kwsys/Base64.c: BUG: Should define KWSYS_IN_BASE64_C, not KWSYS_IN_PROCESS_C. 2003-06-30 08:48 king * Source/kwsys/CMakeLists.txt: ENH: Using FOREACH to shorten enabling of C components. 2003-06-29 21:42 andy * CMakeLists.txt, Source/kwsys/Base64.c, Source/kwsys/Base64.h.in, Source/kwsys/CMakeLists.txt: ENH: Initial import of Base64 2003-06-29 20:30 king * CMakeLists.txt: ENH: Enabling build of kwsys's Process class. This will be needed for ctest. 2003-06-29 20:20 king * Docs/cmake-mode.el: ENH: Added comment-region support. 2003-06-27 09:48 king * CMakeLists.txt: ERR: Disabling multiply defined symbols warning for linking executables on IRIX. The compiler's prelinker does not add weak symbols, so template instantiations are duplicated. 2003-06-27 08:46 martink * Source/: cmAuxSourceDirectoryCommand.cxx, cmTryCompileCommand.cxx: fix compiler warnings 2003-06-26 13:39 king * Source/kwsys/CMakeLists.txt: ENH: Updated documentation to describe enabling of classes. 2003-06-26 09:44 andy * bootstrap: ENH: Attempt to handle OSF compiler flags 2003-06-25 09:32 king * Source/kwsys/testProcess.c: ERR: Fixed use of non-constant initializer. 2003-06-25 08:29 king * Source/kwsys/Directory.cxx: ERR: Fixed conversion warning. 2003-06-24 21:37 lorensen * Source/kwsys/SystemTools.cxx: ERR: portability. 2003-06-24 16:35 martink * Source/kwsys/SystemTools.cxx: compiler fix 2003-06-24 15:24 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: moved depend code into cmTarget 2003-06-24 15:21 martink * Source/: cmMakefile.cxx, cmMakefile.h, kwsys/SystemTools.cxx: performance improvements 2003-06-24 15:11 martink * Source/cmMacroCommand.cxx: performance improvements 2003-06-24 15:10 martink * Source/: cmTarget.cxx, cmTarget.h: moved function into cmTarget 2003-06-24 10:16 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ERR: Renamed superclass typedef from SystemTools to Superclass to avoid conflict across platforms. 2003-06-24 09:02 king * Source/kwsys/SystemTools.cxx: ERR: std->kwsys_std. 2003-06-24 08:19 king * Source/cmSystemTools.h: ERR: Typedefs are not inherited on SGI and Borland. 2003-06-23 16:26 martink * Source/: cmForEachCommand.cxx, cmMacroCommand.cxx: perf improvement 2003-06-23 16:25 martink * Source/cmCustomCommand.h: performance improvement 2003-06-23 14:10 king * CMakeLists.txt, bootstrap, Source/CMakeLists.txt, Source/cmBuildNameCommand.cxx, Source/cmCTest.cxx, Source/cmCacheManager.cxx, Source/cmConfigureFileCommand.cxx, Source/cmIfCommand.cxx, Source/cmListFileCache.cxx, Source/cmLoadCacheCommand.cxx, Source/cmLocalCodeWarriorGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakeDepend.cxx, Source/cmMakeDepend.h, Source/cmMakefile.cxx, Source/cmRegularExpression.cxx, Source/cmRegularExpression.h, Source/cmSiteNameCommand.cxx, Source/cmSourceGroup.h, Source/cmStringCommand.cxx, Source/cmSystemTools.cxx, Source/cmUseMangledMesaCommand.cxx, Source/cmaketest.cxx: ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression. 2003-06-23 14:05 king * Source/kwsys/RegularExpression.hxx.in: ERR: Fixed documentation to read RegularExpression instead of cmRegularExpression. 2003-06-23 11:16 martink * Source/cmTarget.cxx: removed some no longer required code 2003-06-23 08:58 king * CMakeLists.txt, bootstrap, Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmDirectory.cxx, Source/cmDirectory.h, Source/cmMakeDirectoryCommand.cxx, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTryCompileCommand.cxx, Source/CursesDialog/cmCursesPathWidget.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt: ENH: Merged use of kwsys library. 2003-06-23 08:58 king * Makefile.in, configure, configure.in, Source/Makefile.in: ENH: Configure script now just invokes bootstrap script. 2003-06-23 08:56 king * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Removed cmake-specific functions. 2003-06-23 08:56 king * Source/kwsys/CMakeLists.txt: BUG: Need include regular expression to match all files. 2003-06-21 11:57 andy * bootstrap: ENH: Add copyright, cmConfigure.h is now touched only when it is modified, remove some spaces from output, add procedure that copies file and replaces atstring with another string 2003-06-20 20:33 martink * Source/cmMakefile.cxx: fix to expand variables in custom command outputs and main dependencies 2003-06-20 14:10 king * Source/kwsys/CMakeLists.txt: ENH: Changed configuration of header directory to specify it without the namespace. 2003-06-20 14:10 hoffman * Docs/cmake-mode.el: BUG: fix highlight for comments in multiple buffers 2003-06-20 13:56 martink * Source/cmMakefile.cxx: bug in not expanding variables for custom commands in targets 2003-06-20 11:23 martink * Source/cmMakefile.cxx: minor perf improvement 2003-06-19 18:57 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, RegularExpression.hxx.in, SystemTools.hxx.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in: ENH: Added full configuration of namespace even for Configure.hxx macro definitions. 2003-06-19 16:23 hoffman * Docs/cmake-mode.el: add a comment 2003-06-19 15:05 king * Docs/: cmake-indent.vim, cmake-mode.el: Added copyright. 2003-06-19 14:37 andy * Docs/cmake-indent.vim: Initial import: indentation file for vim 2003-06-19 14:30 king * Docs/cmake-mode.el: Minor tweaks for anal cases of indentation. 2003-06-19 14:27 martink * Source/cmMakefile.cxx: bug fix for finding source files 2003-06-19 14:27 martink * Source/: cmSystemTools.cxx, cmSystemTools.h: new function 2003-06-19 14:17 king * Docs/cmake-mode.el: BUG: Don't open a block if a command starts with IF in its name. 2003-06-19 13:38 martink * Docs/cmake-mode.el: fix to use function-name 2003-06-19 13:23 king * Docs/cmake-mode.el: Fixed slow regex for indentation. 2003-06-19 11:11 king * Docs/cmake-mode.el: ENH: Wrote more robust regular expressions for indenting. 2003-06-19 11:07 martink * Docs/cmake-mode.el: emacs mode 2003-06-18 17:28 king * Source/kwsys/kwsysHeaderDump.pl: Tool to dump macros for redefining C header namespaces. 2003-06-18 17:27 king * Source/kwsys/: CMakeLists.txt, testProcess.c: ENH: Added test for Process implementation. 2003-06-18 17:27 king * Source/kwsys/ProcessWin32.c: BUG: Must return Exception status correctly. 2003-06-18 17:19 king * Source/kwsys/ProcessUNIX.c: Removed Exception_Abort because there is no windows version. Also made ExitValue consistent with windows when a signal kills the process. 2003-06-18 17:19 king * Source/kwsys/Process.h.in: Removed Exception_Abort because there is no windows version. Also removed stray typedef keywords. 2003-06-18 17:06 king * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c, test1.cxx: ENH: Added documentation to interface. Finished process exit code interpretation implementation prototype. 2003-06-18 11:43 hoffman * Source/cmStringCommand.h: remove non-html safe stuff 2003-06-18 09:13 hoffman * Source/cmMakefile.cxx: BUG: fix not being able to find generated files in the binary tree 2003-06-17 17:13 martink * Source/cmLocalVisualStudio7Generator.cxx: fix for bad assumption on custom rules 2003-06-17 16:54 martink * Source/cmLocalVisualStudio6Generator.cxx: fix for bad assumption 2003-06-17 15:13 martink * Source/cmLocalVisualStudio6Generator.cxx: fix for bad assumption 2003-06-16 10:20 martink * Source/cmLocalVisualStudio6Generator.cxx: fix for vs6 rule files 2003-06-13 16:59 king * Source/cmMakefile.cxx: BUG: Fixed translation of relative path names to full path names. 2003-06-13 16:47 king * Source/cmSetSourceFilesPropertiesCommand.cxx: BUG: Fixed crash when source file cannot be looked up correctly. 2003-06-13 14:15 king * Source/cmake.cxx: BUG: Fixed check for existence of CMakeLists.txt file in top-level source directory before first configure. 2003-06-12 16:43 king * Modules/Platform/Windows-bcc32.cmake: BUG: Stack size in generated programs should be 10 meg, not 256. 2003-06-12 16:18 king * Source/kwsys/ProcessWin32.c: ERR: Added error check for malloc of process control structure. 2003-06-12 15:58 king * Source/kwsys/ProcessWin32.c: ERR: Using GetCurrentProcessId instead of _getpid so we don't need to include the system process.h header. Also creating pipe threads with 1K stacks to save memory. 2003-06-11 11:00 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Uninitialized std::string returns bad pointers from c_str() on some platforms. 2003-06-11 10:21 king * Source/kwsys/CMakeLists.txt: ENH: EXECUTABLE_OUTPUT_PATH is now always set to get around cmake 1.6.7 dependency problems. Moved default header directory inside the build tree instead of up one level. User projects can now set the header directory. 2003-06-11 10:11 hoffman * Modules/CMakeDetermineSystem.cmake: ENH: add processor type of win32 2003-06-11 10:07 hoffman * Modules/: CMakeDetermineSystem.cmake, CMakeSystem.cmake.in: ENH: add CMAKE_SYSTEM_PROCESSOR 2003-06-11 09:45 king * Source/kwsys/CMakeLists.txt: ERR: Added custom command that takes advantage of new syntax. 2003-06-11 09:44 king * Source/kwsys/ProcessWin32.c: ERR: Removed unused variables. 2003-06-11 09:44 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: When executable output path is not set, we still need to generate the full path to the executable target. 2003-06-10 17:39 king * Source/kwsys/CMakeLists.txt: ERR: Added work-around for cmake 1.6.7 bug in borland makefile generator. 2003-06-10 16:56 king * Source/kwsys/CMakeLists.txt: BUG: Need to add ANSI C flags for some platforms. 2003-06-10 16:55 king * Source/kwsys/ProcessUNIX.c: ERR: Added static specifier to static function definitions to quiet warnings on HP compiler. 2003-06-10 16:15 king * Source/kwsys/ProcessWin32.c: BUG: Don't show a console application's window. 2003-06-10 15:50 king * Source/kwsys/test1.cxx: ENH: Added use of process execution. 2003-06-10 15:46 king * Source/kwsys/: CMakeLists.txt, EncodeExecutable.c, Process.h.in, ProcessFwd9x.c, ProcessUNIX.c, ProcessWin32.c: ENH: Added Process execution implementation. 2003-06-10 15:45 king * Source/kwsys/SystemTools.cxx: ENH: Moved disabling of warnings to after kwsys includes. 2003-06-10 15:44 king * Source/kwsys/kwsys_std.h.in: ENH: Disabled warning 4786. 2003-06-06 09:58 andy * Modules/FindVTK.cmake: BUG: When VTK is not found, it should be fatal error 2003-06-06 09:57 andy * Source/CursesDialog/cmCursesMainForm.cxx: BUG: When only loading ccmake cache, do not allow generate 2003-06-06 09:06 martink * Source/cmCreateTestSourceList.cxx: undid change because other changes make it no longer neccesary 2003-06-05 16:45 martink * Source/: cmMakefile.cxx, cmMakefile.h: more custom command 2003-06-05 16:12 martink * Source/cmMakefile.cxx: more changes to support full paths 2003-06-05 15:28 martink * Source/cmMakefile.cxx: perf improvement 2003-06-05 15:18 martink * Source/cmMakefile.cxx: more changes to handle full paths correctly 2003-06-05 14:48 martink * Source/cmQTWrapUICommand.cxx: minor update for new custom commands 2003-06-05 14:40 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTarget.cxx: more crazt changes source files now must match with full path 2003-06-05 14:37 martink * Source/cmITKWrapTclCommand.cxx: updated for new custom command 2003-06-05 14:37 martink * Source/cmCreateTestSourceList.cxx: minor fix 2003-06-04 19:04 martink * Source/cmMakefile.cxx: hopeful fix for backwards compat 2003-06-04 18:50 martink * Source/cmLocalVisualStudio6Generator.cxx: minor fix 2003-06-04 16:06 martink * Source/cmMakefile.cxx: tricky fix for backwards compat 2003-06-04 14:25 hoffman * Tests/CustomCommand/: generator.cxx, wrapper.cxx: minor fixes 2003-06-04 14:01 hoffman * Source/cmMakefile.cxx: better error reporting 2003-06-04 14:00 hoffman * Source/cmMakefile.cxx: ENH: allow duplicate commands with the same output to be reduced automatically to one command 2003-06-04 13:55 hoffman * Source/cmLocalVisualStudio6Generator.cxx: bug fix for vs6 custom commands 2003-06-04 13:54 hoffman * Templates/UtilityHeader.dsptemplate: fix for new custom commands 2003-06-04 13:42 hoffman * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx: ENH: allow duplicate commands with the same output to be reduced automatically to one command 2003-06-04 11:46 hoffman * Source/cmAddCustomCommandCommand.h: command should nto be inherited 2003-06-04 10:46 hoffman * Tests/Wrapping/CMakeLists.txt: minor fix 2003-06-04 10:13 hoffman * Source/cmLocalVisualStudio6Generator.cxx: bug fix 2003-06-04 09:02 hoffman * Tests/CustomCommand/: CMakeLists.txt, generator.c, generator.cxx, wrapper.c, wrapper.cxx: fixes for HP 2003-06-04 09:00 king * bootstrap: ERR: Cannot use iostream.h for strict C++ compiler sanity check. Using a small class instead. 2003-06-04 08:42 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: compielr warnings 2003-06-04 08:40 martink * Source/cmMakefile.cxx: compielr errors on como 2003-06-03 14:55 martink * Source/: cmCustomCommand.cxx, cmLocalUnixMakefileGenerator.cxx, cmMakefile.cxx, cmSourceGroup.cxx: warning fixes 2003-06-03 14:45 hoffman * Modules/Dart.cmake: ENH: add all targets for dashboard build types 2003-06-03 10:47 martink * Source/: cmAddCustomCommandCommand.h: better docs 2003-06-03 10:33 martink * Tests/CustomCommand/: CMakeLists.txt, doc1.tex, foo.in, generator.c, wrapper.c, wrapped.h: new test 2003-06-03 10:30 martink * Source/: CMakeLists.txt, cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmCPluginAPI.cxx, cmCPluginAPI.h, cmCustomCommand.cxx, cmCustomCommand.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h, cmSetSourceFilesPropertiesCommand.cxx, cmSourceFile.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSystemTools.cxx, cmSystemTools.h, cmTarget.h: yikes added new custom command support 2003-06-02 16:37 martink * Docs/: CMake04.rtf, CMake12p2.rtf, CMake14.rtf, CMake16.rtf: add release docs to cvs 2003-05-29 15:30 martink * Source/: cmGetSourceFilePropertyCommand.cxx, cmGetTargetPropertyCommand.cxx: minor bug fix 2003-05-29 11:14 andy * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h: ENH: On envocation of ccmake check if directories are correct, but do not rerun configure 2003-05-29 11:14 andy * Source/: cmake.cxx, cmake.h: ENH: Abstract pre configure check in a separate method 2003-05-29 09:34 hoffman * Source/: cmCTest.cxx, cmRegularExpression.cxx, cmSetSourceFilesPropertiesCommand.cxx, cmTarget.cxx: ENH: remove warnings from borland 6 compiler 2003-05-28 15:52 andy * Source/CursesDialog/ccmake.cxx: ENH: Do not do configure first time. This way ccmake loads fast. 2003-05-28 09:21 hoffman * Source/: cmCTest.cxx, cmDynamicLoader.cxx, cmGlobalVisualStudio71Generator.cxx, cmSystemTools.cxx, CTest/cmCTestSubmit.cxx: Remove some borland 6 warnings 2003-05-28 07:53 andy * Modules/FindQt.cmake: ENH: More locations 2003-05-24 10:07 hoffman * Source/: cmAbstractFilesCommand.cxx, cmEndIfCommand.cxx, cmGlobalGenerator.cxx, cmIfCommand.cxx, cmSourceFilesCommand.cxx, cmSourceFilesRemoveCommand.cxx, cmTarget.cxx, cmWrapExcludeFilesCommand.cxx: ENH: add stdlib.h for portability to borland 6 2003-05-23 16:40 hoffman * Source/: cmCTest.cxx, cmMakefile.cxx, cmStringCommand.cxx, cmake.cxx: ENH: add some includes for borland 6 2003-05-23 09:35 hoffman * Modules/CMakeSystemSpecificInformation.cmake: ENH: add LDFLAGS as an initial value for all linker flags, good for -64 2003-05-19 13:41 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: fix for .def files and nmake and spaces in the path 2003-05-16 16:33 king * Modules/: TestForAnsiForScope.cxx: ERR: Removed warning for unused variable. 2003-05-16 15:20 king * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: When building a C executable, we should add CMAKE_SHARED_LIBRARY_C_FLAGS, not CMAKE_SHARED_LIBRARY_LINK_FLAGS. The latter is already added by the link line procedure. 2003-05-16 15:18 king * Modules/Platform/: AIX.cmake: BUG: Need -brtl when creating shared libraries. Also added -bexpall (AIX equivalent to Linux's -rdynamic) when building executables. 2003-05-15 15:15 king * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Don't report an error of output was generated but no error was set. Merging from trunk to 1.6 branch. 2003-05-15 15:05 king * Source/cmGlobalVisualStudio6Generator.cxx: Removed useless lower-casing and improved error message. Merged from trunk to 1.6 branch. 2003-05-15 14:58 king * Modules/FindFLTK.cmake: Looking in another place (merge from trunk). 2003-05-15 14:54 king * Source/CursesDialog/cmCursesStringWidget.cxx: Attempt to fix SGI ccmake problem (thank you Clint Miller). Merging from trunk to 1.6 branch. 2003-05-15 14:45 king * Source/cmMacroCommand.cxx: BUG: Merging fix from trunk into 1.6 branch. Report a missing ENDMACRO. 2003-05-15 09:35 andy * bootstrap: Several fixes before bootstrap is ready for prime-time: 1. Add --version flag to display version of CMake 2. Add comments to explain what is going on 3. Move CMAKE_ROOT_DIR and CMAKE_BOOTSTRAP to cmConfigure.h 4. Forward CC, CXX, and MAKE to cmake 5. Add more instructions 2003-05-14 15:38 king * Utilities/Release/cmake_release.sh: Updated for 1.6.7 release. 2003-05-14 14:14 king * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH: Updated version number to 1.6.7 from 1.6.6. 2003-05-14 12:10 king * Source/cmGlobalGenerator.cxx: BUG: Work-around for SGI MipsPro bug where #error doesn't return an error to make. Merged onto 1.6 branch from trunk. 2003-05-14 12:06 king * Source/cmGlobalGenerator.cxx: BUG: Work-around for SGI MipsPro bug where #error doesn't return an error to make. 2003-05-14 09:27 andy * bootstrap: ENH: Add parallel build support, fix bug in verbose and clean output when adding arguments 2003-05-14 09:19 andy * bootstrap: ENH: Add better error reporting 2003-05-14 08:45 king * Source/cmake.cxx: BUG: Need to remove the MAKEFLAGS when cmake starts. If cmake is run from inside make, we don't want the try-compiles to inherit the makeflags. 2003-05-14 08:40 king * Source/cmake.cxx: ERR: Fixed string literal->char* conversion warning. 2003-05-13 16:51 king * Source/cmake.cxx: BUG: Need to remove the MAKEFLAGS when cmake starts. If cmake is run from inside make, we don't want the try-compiles to inherit the makeflags. 2003-05-13 16:10 king * Source/: cmGlobalGenerator.cxx, cmake.cxx: ENH: When the initially configured generator is invalid, allow the user to change the generator without deleting the cache by hand. 2003-05-13 14:26 king * Source/: cmGlobalGenerator.cxx: ENH: Improved error message when a wrong generator is selected. 2003-05-13 14:05 king * Source/cmDynamicLoader.cxx: ERR: Removed unused parameter. 2003-05-13 13:54 king * Source/cmSystemTools.cxx: ERR: Removed unused variable from previous merge. 2003-05-13 13:52 king * Source/: cmCacheManager.cxx, cmConfigureFileCommand.cxx, cmListFileCache.cxx, cmLocalVisualStudio6Generator.cxx, cmMakeDepend.cxx, cmOutputRequiredFilesCommand.cxx, cmSystemTools.cxx, cmSystemTools.h, cmUseMangledMesaCommand.cxx: BUG: Using GetLineFromStream instead of getline due to buggy stream implementations on some platforms. Merged from trunk into branch 1.6. 2003-05-13 13:26 hoffman * Modules/CMakeVS71FindMake.cmake, Source/CMakeLists.txt, Source/cmGlobalVisualStudio71Generator.cxx, Source/cmGlobalVisualStudio71Generator.h, Source/cmGlobalVisualStudio7Generator.h, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx: ENH: Adding VS 7.1 generator to 1.6 branch. 2003-05-13 12:04 king * Modules/CheckIncludeFiles.cmake, Modules/CheckSymbolExists.cmake, Modules/FindCABLE.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalVisualStudio6Generator.cxx, Source/cmLocalVisualStudio7Generator.cxx, Source/cmLocalVisualStudio7Generator.h, Source/cmRemoveCommand.cxx, Source/cmStringCommand.h, Source/cmaketest.cxx, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Merged fixes from main tree into 1.6 branch. 2003-05-13 11:42 hoffman * Source/cmGlobalVisualStudio71Generator.h: Change name of 71 generator 2003-05-13 09:50 king * Source/kwsys/SystemTools.cxx: ERR: Removed use of std::string != operator due to bug in SGI compiler's library. 2003-05-13 09:42 king * Source/kwsys/CMakeLists.txt: ERR: Test for ansi streams may need to use iosfwd for test because some compilers provide an iostream header that is old streams. 2003-05-13 08:38 king * Source/kwsys/SystemTools.cxx: ERR: Added forward declarations of system functions for como compiler. 2003-05-12 13:43 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in: ENH: Added KWSYS_FORCE_OLD_STREAMS option to force use of non-ansi stream headers even if they are available. 2003-05-12 13:33 king * Source/kwsys/: CMakeLists.txt, StandardIncludes.hxx.in: ENH: Removed old (unused) StandardIncludes header. 2003-05-12 13:27 king * Source/kwsys/kwsys_std_iosfwd.h.in: ERR: Need to move forward declarations of non-ansi streams into std namespace when it is available. 2003-05-12 13:15 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, SystemTools.cxx, SystemTools.hxx.in, kwsys_std.h.in, kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in, kwsys_std_sstream.h.in: ENH: Added wrappers around the std stream headers to make them look like ansi streams on all platforms. 2003-05-09 15:47 hoffman * Modules/CMakeVS71FindMake.cmake: add find make program for 71 2003-05-09 09:32 hoffman * Modules/Platform/Windows-bcc32.cmake: BUG: remove typo from file 2003-05-08 16:59 hoffman * Source/: CMakeLists.txt, cmGlobalVisualStudio71Generator.cxx, cmGlobalVisualStudio71Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmake.cxx: add support for vs 71 2003-05-08 16:52 king * Source/CMakeLists.txt: ERR: Fixed arguments to kwsys's ADD_TEST call for msvc6. 2003-05-08 16:48 king * Source/kwsys/CMakeLists.txt: BUG: Need to invert test result for ansi string stream. 2003-05-08 14:49 king * Source/CMakeLists.txt: ENH: Added kwsys test. 2003-05-08 14:46 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx, Directory.hxx.in, RegularExpression.hxx.in, StandardIncludes.hxx.in, kwsys_std.h.in: ENH: Reduced header dependencies and cleaned up inclusion of standard headers. 2003-05-08 14:17 king * Source/kwsys/: CMakeLists.txt, README.itk, README.txt, test1.cxx: ENH: Setup for testing as a stand-alone project. 2003-05-08 09:55 hoffman * Modules/Platform/Windows-bcc32.cmake: BUG: fix for borland win32 exe builds 2003-05-08 09:43 martink * Modules/Platform/: Windows-bcc32.cmake: BUG: remove -H flags as they cause crashes on oldwww 2003-05-06 10:16 andy * Source/ctest.cxx: ERR: Remove warning 2003-05-05 10:24 hoffman * Modules/Platform/Windows-bcc32.cmake: ENH: change the default borland stack size 2003-05-05 10:23 hoffman * Source/cmLocalVisualStudio6Generator.cxx: BUG: add linker flags for modules 2003-05-05 10:23 hoffman * Source/cmLocalVisualStudio7Generator.cxx: BUG: remove 64 bit warnings 2003-05-05 09:54 andy * Modules/CheckIncludeFiles.cmake: ERR: Remove warning for main returning void. 2003-05-05 08:42 andy * Source/: CMakeLists.txt, cmaketest.cxx, cmaketest.h.in: BUG: Fix some dependencies for location of executables 2003-05-05 08:42 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Add support for make test even for fresh build of cmake 2003-05-02 14:05 martink * Modules/Dart.cmake: fixed andy sloppy code again 2003-05-02 13:57 andy * Modules/Dart.cmake, Modules/DartConfiguration.tcl.in, Source/CMakeLists.txt, Source/ctest.cxx: ENH: Fix some dart issues. Now it works fine without dart. 2003-05-02 13:56 andy * Source/cmake.cxx: ENH: New location of cmake binaries 2003-05-02 13:54 andy * Source/cmaketest.cxx: ENH: New location of cmake 2003-05-02 13:54 andy * Source/CTest/cmCTestSubmit.cxx: ENH: Be just a bit more verbose 2003-05-02 11:29 andy * CMakeLists.txt, Source/CMakeLists.txt: ENH: Executables should go to the bin directory 2003-05-01 07:56 andy * Source/CTest/cmCTestSubmit.cxx: ERR: Remove warnings 2003-04-30 07:32 andy * Source/cmake.h: ERR: Run should return a value 2003-04-29 17:23 andy * Source/: CMakeLists.txt, CTest/CMakeLists.txt: ENH: Make Curl code to be built by default 2003-04-29 10:07 andy * Source/cmakemain.cxx: ENH: Add argument -N which prevents CMake from doing configure and generate. This should be improved at some point that it will do all the error checking such as whether the CMakeLists.txt exists etc. It should essentially load cache, go through cmake lists, but not modify cache and other files in the build directory. The second feature is ability to display cache values. You run with argument -L (or -LH /-LA / -LAH) and it will display all nonadvanced cached variables (-L) / all cached variable (-LA) / and cached variables with corresponding help string (-LH -LAH). 2003-04-29 10:04 andy * Source/: cmake.cxx, cmake.h: ENH: Add additional optional argument to Run. If it is true, it will only set paths and load cache. It will not do configure and gfenerate 2003-04-29 10:02 andy * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Add method to convert from CacheEntryType to string 2003-04-28 13:16 martink * Source/cmMacroCommand.cxx: better error reporting 2003-04-25 15:16 andy * Source/: CTest/CMakeLists.txt, CMakeLists.txt: ENH: Enable CTest to be build as a part of CMake 2003-04-25 14:52 andy * Source/ctest.cxx: ENH: Rename option -D to -C because we will use -D later 2003-04-25 14:51 andy * Source/cmCommands.cxx: ERR: Set source files properties is needed for Curl build 2003-04-25 14:50 andy * Source/CTest/cmCTestSubmit.cxx: ERR: Remove warning because SCP not implemented 2003-04-24 13:25 berk * Source/: cmSystemTools.cxx: minor fix 2003-04-23 17:24 jjomier * Source/kwsys/Directory.hxx.in: FIX: warnings, disabling 4786 2003-04-23 13:58 martink * Source/CTest/CMakeLists.txt: fix some incldue paths 2003-04-22 16:10 king * Modules/FindCABLE.cmake: ENH: Updated search paths to newest values from Cable. 2003-04-22 14:32 andy * bootstrap: ENH: Add SGI -LANG:std support 2003-04-18 10:01 andy * Source/cmCTest.cxx: ENH: Cleanup 2003-04-18 10:00 andy * Source/cmCTest.cxx: Even better error detection on AIX 2003-04-18 09:48 andy * Source/cmCTest.cxx: Better AIX detection 2003-04-17 15:20 andy * Source/cmCTest.cxx: This is really an error 2003-04-17 13:13 andy * bootstrap: Support LDFLAGS 2003-04-17 13:13 andy * Source/cmCTest.cxx: ENH: Add AIX warerr 2003-04-17 11:59 martink * Source/cmLocalCodeWarriorGenerator.cxx: warning fix hopefully 2003-04-17 11:17 andy * DartConfig.cmake: More attempt to make continuous email work 2003-04-17 08:47 martink * Source/cmDynamicLoader.cxx: fix one warning 2003-04-17 08:23 andy * DartConfig.cmake: Attempt to enable sending of e-mails from continuous 2003-04-17 08:03 hoffman * Source/cmCommands.cxx: BUG: fix compile error on windows because of windows.h 2003-04-17 08:02 andy * CMakeLists.txt, bootstrap, configure, configure.in: BUG: Rename Bootstrap directory to Bootstrap.cmk, so that on platforms such as Windows and Mac OSX it will break during in-source build 2003-04-16 17:06 andy * DartConfig.cmake: ENH: cleanup 2003-04-16 16:20 martink * Source/cmDynamicLoader.cxx: fix one warning 2003-04-16 16:17 martink * Source/cmCommands.cxx: streamline bootstrap 2003-04-16 15:40 martink * Source/cmake.cxx: minor fix 2003-04-16 14:47 martink * Source/: CMakeLists.txt, cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h, cmake.cxx: add COdeWarrior back in for testing 2003-04-16 14:13 andy * Source/cmDynamicLoader.cxx: Attempt to make unloading work on OSX 2003-04-16 13:41 andy * Source/cmCTest.cxx: Fix update output 2003-04-16 13:33 hoffman * Tests/: LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt: ENH: add a double try compile to fix crazy make on hp 2003-04-11 18:05 kentwilliams * Source/kwsys/SystemTools.cxx: took out an orphan endif 2003-04-11 16:22 kentwilliams * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: remove redundant function and eliminate need for strcasecmp 2003-04-11 13:36 king * Source/kwsys/README.itk: ENH: Added documentation for ITK. 2003-04-11 07:27 lorensen * Source/kwsys/SystemTools.cxx: ERR: Borland fix for stricmp. ERR: removed itk dependencies. 2003-04-10 13:41 kentwilliams * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: Removed platform-specific functions from Code/IO/itkIOCommon, fixed code to use kwsys/SystemTools 2003-04-10 09:07 andy * Source/cmCTest.cxx: Do safe division instead of fixing result 2003-04-10 09:03 king * Source/kwsys/SystemTools.cxx: ERR: Removed unused parameter and truncated debug symbol warnings. 2003-04-09 08:08 andy * Source/cmCTest.cxx: Attempt to fix FIXNUM 2003-04-08 13:14 king * Source/kwsys/SystemTools.cxx: ERR: Fixed typo. cmRegularExpression -> RegularExpression. 2003-04-08 13:10 king * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx, Directory.hxx.in, RegularExpression.cxx, RegularExpression.hxx.in, StandardIncludes.hxx.in, SystemTools.cxx, SystemTools.hxx.in: ENH: Added kwsys library for platform-independent system tools. 2003-04-08 10:57 andy * Source/: cmCTest.cxx, cmCTest.h: Remove nan and inf, use iostreams to set precision, fix file name, and remove bogus files 2003-04-08 07:16 andy * Source/cmCTest.cxx: Remove push_back on string. Why can't STL be standard? 2003-04-07 18:21 andy * Source/: cmCTest.cxx, cmCTest.h: Some cov improvements and better esc 2003-04-07 12:20 andy * Source/cmaketest.cxx: We should really just call make and not make all 2003-04-04 10:56 king * Source/cmSetCommand.h: ENH: Added CACHE entry types to documentation string. 2003-04-04 10:05 king * Modules/FindFLTK.cmake: ENH: Added /usr/local/lib/fltk 2003-04-03 18:40 andy * bootstrap: Better support for spaces in paths 2003-04-03 08:44 andy * Source/cmSystemTools.cxx: Try differentiating extensions 2003-04-02 22:48 king * Source/: cmake.cxx, cmake.h, cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Improved documentation. Also modified behavior of "cmake" to not configure a project in the current directory unless . is given. 2003-04-02 22:44 king * Source/cmDocumentation.cxx: ENH: Running with zero arguments now produces usage. 2003-04-02 09:19 andy * Source/: cmCTest.cxx, cmCTest.h: Url escape password 2003-04-02 09:19 andy * Source/CTest/cmCTestSubmit.cxx: On verbose, be more verbose 2003-04-02 09:01 andy * Tests/Wrapping/qtwrappingmain.cxx: If display is not set, do not attempt to run application 2003-04-02 08:45 andy * Modules/FindQt.cmake: Add QT on debian 2003-04-01 15:31 andy * Source/cmCTest.cxx: Fix cov. problems, ignore nonascii char. Propagate verbosity 2003-04-01 15:30 andy * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Controle verbosity 2003-04-01 13:29 king * Source/cmSystemTools.cxx: BUG: strlen(buffer) from getline may be 2 less than gcount on windows because both the CR and LF characters may be removed. 2003-03-28 13:42 andy * Modules/CheckSymbolExists.cmake: New design of CheckSymbolExists pretty much replaces all other ones. For example: CHECK_HEADER_EXISTS("type.h" HAVE_TYPE_H) is: CHECK_SYMBOL_EXISTS(main "type.h" HAVE_TYPE_H) CHECK_LIBRARY_EXISTS("nsl" gethostname HAVE_LIBNSL) would be SET(CMAKE_REQUIRED_LIBRARIES "nsl") CHECK_SYMBOL_EXISTS(gethostname "netdb.h" HAVE_LIBNSL) ... 2003-03-27 15:52 andy * Source/: cmLocalVisualStudio6Generator.cxx, cmSystemTools.cxx, cmUseMangledMesaCommand.cxx: Remove warnings 2003-03-27 15:29 andy * bootstrap: Initial import of bootstrap for CMake 2003-03-27 13:03 hoffman * Modules/Platform/SunOS.cmake: Fix gnu c and Sun CC mix 2003-03-27 12:49 andy * CMakeLists.txt: Some more preparations for new bootstrap system 2003-03-27 12:24 andy * Source/: cmCacheManager.cxx, cmConfigureFileCommand.cxx, cmListFileCache.cxx, cmLocalVisualStudio6Generator.cxx, cmMakeDepend.cxx, cmOutputRequiredFilesCommand.cxx, cmSystemTools.cxx, cmSystemTools.h, cmUseMangledMesaCommand.cxx: Implement GetLineFromStream that actually works and use it instead of getline 2003-03-26 10:45 andy * Source/cmStandardIncludes.h, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: Remove bogus flags from cmStandardIncludes and make complex test pass 2003-03-21 11:33 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: BUG: fix REMOVE test 2003-03-21 11:24 hoffman * Source/cmRemoveCommand.cxx: BUG: fix broken command 2003-03-20 11:27 andy * Source/cmCTest.cxx: Fix problem with network paths 2003-03-20 10:12 andy * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Support cmake in directory with space 2003-03-20 09:47 andy * Source/cmCTest.cxx: BUG: used wrong counters 2003-03-19 18:28 andy * Source/cmCTest.cxx: More regex 2003-03-19 16:35 andy * Source/: cmCTest.cxx, cmCTest.h: Add start 2003-03-19 16:25 andy * Source/cmCTest.cxx: Move files to different location and fix time 2003-03-19 16:11 andy * Source/: cmCTest.cxx, cmCTest.h: Fix for visual studio 2003-03-19 10:16 king * Source/cmStringCommand.h: BUG: Command should be inherited. 2003-03-18 11:47 king * Utilities/Release/: config_Linux: ENH: Updated to do release build on ringworld. Needed for old glibc support. 2003-03-17 14:29 andy * Tests/Simple/: CMakeLists.txt, simple.cxx, simpleCLib.c, simpleWe.cpp: Improve test 2003-03-17 13:26 andy * Tests/Simple/: CMakeLists.txt, simpleCLib.c: Add testing for when C sources are compiled with C++ compiler 2003-03-17 11:21 andy * Source/CursesDialog/cmCursesMainForm.cxx: If there was no error, do not say that there was one 2003-03-17 10:00 king * Modules/FindGTK.cmake: BUG: Fixed ENDIF ordering. 2003-03-17 09:57 king * Modules/CheckSymbolExists.cmake: BUG: Fixed syntax of file generated for test. 2003-03-17 09:29 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: fix crash with force cxx type 2003-03-17 09:15 hoffman * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: force cxx compiler for cxx files 2003-03-17 08:25 andy * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx, DumpInformation.h.in: Display Cache and all variables 2003-03-16 20:33 andy * Modules/CheckSymbolExists.cmake: Prevent CMake from putting ; in the file 2003-03-16 20:25 andy * Modules/FindGTK.cmake: More variables advanced 2003-03-16 20:23 andy * Modules/FindGTK.cmake: Add gthread library 2003-03-15 10:04 hoffman * Source/cmTarget.cxx: BUG: HasCXX did not use GetFileFormat and was broken 2003-03-14 15:44 hoffman * Modules/FindGTK.cmake: BUG: bad if statement order 2003-03-14 15:06 hoffman * Source/cmGlobalVisualStudio6Generator.cxx: better error message 2003-03-14 12:00 hoffman * Modules/Platform/Windows-cl.cmake: force c++ for c++ files 2003-03-14 12:00 hoffman * Source/cmLocalVisualStudio6Generator.cxx: use c flags with c and not cxx flags, also force c++ for c files 2003-03-14 11:59 hoffman * Source/cmLocalVisualStudio7Generator.cxx: Force c++ builds for c++ files 2003-03-14 11:58 hoffman * Source/cmMakefile.cxx: make sure M is after m 2003-03-14 10:54 king * Source/cmMakefile.cxx: BUG: c extension must come before C. 2003-03-14 10:38 king * Source/cmMakefile.cxx: BUG: c must precede C. 2003-03-13 16:31 king * Utilities/Release/config_Linux: Merging from 1.6 again. 2003-03-13 16:30 king * Utilities/Release/config_Linux: BUG: Need to link statically against curses. 2003-03-13 15:59 king * Utilities/Release/: cmake_release.sh, config_Linux: Merging from 1.6 release branch. 2003-03-13 15:58 king * Utilities/Release/cmake_release.sh: BUG: Need to checkout ReleaseUtilities with same tag. 2003-03-13 15:47 king * Utilities/Release/: cmake_release.sh: ENH: Updated for 1.6.6 release. 2003-03-13 15:46 king * Modules/Platform/: SunOS.cmake: BUG: Don't use -nostdlib option to link shared libraries. Just use gcc -shared, even for C++ libraries. 2003-03-13 13:28 king * Source/cmMakefile.cxx: BUG: Added missing cc extension for Source Files group. 2003-03-13 13:03 king * Source/cmMakefile.cxx: BUG: Don't duplicate SUBDIRS. 2003-03-13 13:01 king * Source/cmMakefile.cxx: ENH: Added header file extensions. 2003-03-13 12:59 martink * Source/cmMakefile.cxx: allow the same subdir to be added twice 2003-03-13 12:48 andy * Source/cmMakefile.cxx: Fix regular expressions 2003-03-13 12:24 andy * Source/: cmMakefile.cxx, cmSystemTools.cxx: Synchronize extension lists 2003-03-13 11:53 king * Source/CursesDialog/form/fld_attr.c: BUG: Fixed forms for HP. 2003-03-13 11:51 king * Modules/TestForSTDNamespace.cmake: BUG: Don't repeat test. 2003-03-13 11:49 king * Modules/CheckTypeSize.cmake: BUG: Don't test type size more than once. 2003-03-13 11:48 king * Source/cmSystemTools.cxx: BUG: FindLibrary should not accept a directory even if the exact specified name exists. 2003-03-13 11:46 king * Source/cmake.cxx: BUG: Fixed crash when CMAKE_BACKWARDS_COMPATIBILITY is deleted. 2003-03-13 11:33 king * Source/cmMakefile.h: ENH: Updated version for 1.6.6 release. 2003-03-13 11:31 king * Utilities/Release/config_Linux: ERR: Need to do shared libc link with static C++ library to have safe dl loading on linux. 2003-03-13 08:44 king * Source/cmSystemTools.cxx: BUG: FindLibrary should not accept a directory even if the exact specified name exists. 2003-03-11 17:35 hoffman * Modules/TestForSTDNamespace.cmake: BUG: fix test not to run every time 2003-03-11 15:25 hoffman * Source/cmDynamicLoader.cxx, Source/CTest/CMakeLists.txt, Source/CursesDialog/form/fld_attr.c, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeLists.txt: BUG: fixes for hp 2003-03-09 18:16 andy * Source/CursesDialog/cmCursesMainForm.cxx: Remove warnings 2003-03-07 15:30 andy * Source/cmCTest.cxx: More XML 2003-03-07 11:53 andy * Source/CursesDialog/cmCursesMainForm.cxx: Remove warning 2003-03-07 11:45 andy * Source/cmCTest.cxx: Fix xml 2003-03-07 11:27 andy * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesMainForm.h: Add searching of variables 2003-03-06 15:32 andy * Modules/Dart.cmake: On borland and cygwin remove .EXE 2003-03-06 12:31 andy * Source/cmGetCMakePropertyCommand.cxx: Remove warning 2003-03-06 11:20 andy * Source/cmCommands.cxx, Source/cmGetCMakePropertyCommand.cxx, Source/cmGetCMakePropertyCommand.h, Tests/SystemInformation/CMakeLists.txt: Add command for accessing cmake properties. At this point the only properties are VARIABLES and CACHE_VARIABLES. Also add test for this feature 2003-03-06 11:19 andy * Source/: cmMakefile.cxx, cmMakefile.h: Add method which returns a list of all variables 2003-03-06 11:18 andy * Source/cmCacheManager.h: Cache manager should be able to take no arguments 2003-03-06 10:32 king * Modules/CheckTypeSize.cmake: BUG: Should test HAVE_ before repeating test, not just whether is set. 2003-03-05 17:08 andy * Source/cmCTest.cxx: oops... Forgot the main step 2003-03-03 13:58 andy * Modules/Dart.cmake: Add Update and configure steps where missing 2003-03-03 13:57 andy * Source/cmCTest.cxx: Fix typo 2003-03-03 09:32 andy * Modules/Dart.cmake: Start cleaning global namespace 2003-03-03 09:29 andy * CMakeLists.txt: BUG: Should be use the host CMake's dart file 2003-02-28 13:00 andy * Source/cmCTest.cxx: Ifdef code that is missing 2003-02-28 12:42 andy * Modules/CheckSymbolExists.cmake, Source/cmCTest.cxx: Fix update date and cleanup 2003-02-28 11:31 andy * Source/cmCTest.cxx: Add configure step 2003-02-27 14:48 andy * Modules/Dart.cmake: On windows but not on borland, look at cmake_build_tool instead of compiler to determine build name. Otherwise they will all be cl 2003-02-27 11:54 andy * Modules/Dart.cmake: Use more condense buildname. If this works fine we can make cmBuildName command deprecated 2003-02-24 11:02 king * Source/cmake.cxx: BUG: Fixed crash when CMAKE_BACKWARDS_COMPATIBILITY is deleted between configures. 2003-02-20 17:38 andy * Modules/Dart.cmake: Use simple defaults if DartConfig does not exist. This way you can use dart to build any project 2003-02-20 10:46 king * Modules/CMakeVS6FindMake.cmake: BUG: Fix registry entry name. 2003-02-20 10:44 hoffman * Modules/CMakeVS6FindMake.cmake: BUG: look for msdev in the right place 2003-02-20 09:40 king * Utilities/Release/cmake_release.sh: ENH: Updated for 1.6.5 release. 2003-02-20 08:55 king * Source/cmLocalUnixMakefileGenerator.cxx: fix for correct path style in depend file 2003-02-20 08:52 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: fix for correct path style in depend file 2003-02-20 08:47 king * Modules/TestForANSIForScope.cmake: BUG: Don't test every time for "for" scope. 2003-02-20 08:42 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fix problem with lib in the name of library. If there was lib in the name of library, then on Windows (where there is not lib prefix), cmake split the name wrongly. This only manifested when full path to the library is specified. 2003-02-20 08:41 hoffman * Modules/TestForANSIForScope.cmake: remove commented code 2003-02-20 08:38 king * Modules/CheckSymbolExists.cmake: BUG: Fixed return 0 through void type. 2003-02-20 08:37 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: Removed creation of extra CMAKE_C_COMPILER_FULLPATH and CMAKE_CXX_COMPILER_FULLPATH cache entries. 2003-02-20 08:34 king * Source/cmGlobalVisualStudio7Generator.cxx: BUG: Added missing paren to generated file. 2003-02-20 08:32 king * Source/cmaketest.cxx: BUG: Fix lower-casing of compiler for win98. 2003-02-20 08:30 king * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH: Updated for version 1.6.5. 2003-02-20 08:28 king * Source/cmFindPackageCommand.h: BUG: This command must be inherited. 2003-02-20 08:23 king * Modules/FindFLTK.cmake: BUG: Removed reference to CMake 1.4 compatability variable. 2003-02-20 07:55 king * Source/cmDumpDocumentation.cxx: ERR: Added missing return. 2003-02-19 17:37 king * Source/CMakeLists.txt: ENH: Using new --all-for-coverage of DumpDocumentation to improve coverage. 2003-02-19 17:36 king * Source/cmDumpDocumentation.cxx: ENH: Added option to dump all documentation (coverage). 2003-02-19 17:10 king * Modules/FindFLTK.cmake: BUG: Removed use of cmake 1.4 compatability variable. 2003-02-19 12:54 andy * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fix problem with lib in the name of library. If there was lib in the name of library, then on Windows (where there is not lib prefix), cmake split the name wrongly. This only manifested when full path to the library is specified. 2003-02-19 08:52 king * Source/cmDocumentation.cxx: ERR: Fixed signed/unsigned warning. 2003-02-18 20:54 king * Source/cmDumpDocumentation.cxx: ENH: Updated to use cmDocumentation class. 2003-02-18 20:42 king * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Re-implemented document generation class to be more organized and more robust. 2003-02-18 20:40 king * Source/cmAddCustomCommandCommand.h: Fix to documentation formatting: removed extra newline. 2003-02-18 16:24 hoffman * Source/cmGlobalVisualStudio7Generator.cxx: ENH: fix for vs 7 beta1 2003-02-17 15:47 king * Source/cmFindPackageCommand.h: BUG: This command must be inherited. 2003-02-17 10:30 andy * Modules/CheckSymbolExists.cmake: Fix return value problem 2003-02-17 09:59 andy * Source/CursesDialog/cmCursesStringWidget.cxx: Attempt to fix SGI ccmake problem (thank you Clint Miller) 2003-02-17 09:56 andy * Source/cmDocumentation.cxx: Minor documentation fixes 2003-02-17 09:42 king * Source/cmakemain.cxx: ENH: Added executable-specific command-line options. 2003-02-17 09:42 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Added header before list of commands in generated docs. Made options more intuitive. 2003-02-16 11:57 king * Source/cmDocumentation.cxx: ERR: Use of stream format flags is hard to make portable. Manually implementing justification. 2003-02-15 22:36 king * Source/cmDocumentation.cxx: ERR: Use of std::ios::fmtflags is not portable to older compilers. 2003-02-14 18:47 king * Source/: cmAbstractFilesCommand.h, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.h, cmAddExecutableCommand.h, cmAddLibraryCommand.h, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.h, cmBuildCommand.h, cmBuildNameCommand.h, cmConfigureFileCommand.h, cmCreateTestSourceList.h, cmElseCommand.h, cmEnableTestingCommand.h, cmEndForEachCommand.h, cmEndIfCommand.h, cmExecProgramCommand.h, cmExportLibraryDependencies.h, cmFLTKWrapUICommand.h, cmFindFileCommand.h, cmFindLibraryCommand.h, cmFindPackageCommand.h, cmFindPathCommand.h, cmFindProgramCommand.h, cmForEachCommand.h, cmGetFilenameComponentCommand.h, cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.h, cmITKWrapTclCommand.h, cmIfCommand.h, cmIncludeCommand.h, cmIncludeDirectoryCommand.h, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.h, cmInstallProgramsCommand.h, cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.h, cmLoadCacheCommand.h, cmLoadCommandCommand.h, cmMacroCommand.h, cmMakeDirectoryCommand.h, cmMarkAsAdvancedCommand.h, cmMessageCommand.h, cmOptionCommand.h, cmOutputRequiredFilesCommand.h, cmProjectCommand.h, cmQTWrapCPPCommand.h, cmQTWrapUICommand.h, cmRemoveCommand.h, cmSeparateArgumentsCommand.h, cmSetCommand.h, cmSetSourceFilesPropertiesCommand.h, cmSetTargetPropertiesCommand.h, cmSiteNameCommand.h, cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.h, cmSourceGroupCommand.h, cmStringCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h, cmTargetLinkLibrariesCommand.h, cmTryCompileCommand.h, cmTryRunCommand.h, cmUseMangledMesaCommand.h, cmUtilitySourceCommand.h, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h, cmVariableRequiresCommand.h, cmWrapExcludeFilesCommand.h, cmWriteFileCommand.h: ENH: Cleaned up documentation and formatted it for use by cmDocumentation. 2003-02-14 16:16 king * Source/cmDocumentation.cxx: ENH: Improved formatting of plain-text help to add a blank line before the beginning of a preformatted section. 2003-02-14 13:28 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Further improved formatting. HTML/man/help now all have a consistent appearance. 2003-02-14 13:06 king * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Improved formatting of documentation. 2003-02-14 11:13 martink * Source/cmaketest.cxx: Lowercase has a bad signiture, so I have to live with it 2003-02-14 10:56 king * Source/cmSystemTools.cxx: ERR: Added missing include for msvc. 2003-02-14 10:53 king * Source/: CMakeLists.txt, Makefile.in, cmDocumentation.cxx, cmDocumentation.h, cmStandardIncludes.h, cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h, cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Added cmDocumentation class to generate various forms of documentation. Each executable will be able to generate its own documentation. 2003-02-14 10:40 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: move full path compiler to internal and not just advanced 2003-02-14 09:54 hoffman * Modules/TestForANSIForScope.cmake, Source/cmCacheManager.cxx, Source/cmConfigureFileCommand.cxx, Source/cmConfigureFileCommand.h, Source/cmIncludeCommand.h, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.h, Source/cmMarkAsAdvancedCommand.h, Source/cmUseMangledMesaCommand.cxx, Source/cmVariableRequiresCommand.cxx, Source/cmVariableRequiresCommand.h: spelling errors 2003-02-14 09:25 hoffman * CMake.rtf: fix spelling errors 2003-02-13 21:57 king * CMakeLists.txt, configure, configure.in, Source/CMakeLists.txt, Source/cmConfigure.cmake.h.in, Source/cmConfigure.h.in, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmStandardIncludes.h: ENH: Centralized setting of CMake version number to top-level CMake listfile. 2003-02-13 12:03 king * Utilities/Release/cmake_release.sh: ENH: Merged updates for 1.6.4 release. 2003-02-13 11:57 king * Modules/FindJNI.cmake: BUG: Fix find of JNI on Mac OSX 10.2. 2003-02-13 11:54 king * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH: Updated for 1.6.4 release. 2003-02-13 11:52 king * Modules/UseVTKConfig40.cmake: BUG: Copy of _LIB_DEPENDS variables needs to be double-quoted. 2003-02-13 11:50 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for spaces in paths in library path 2003-02-13 11:47 king * Source/cmFindLibraryCommand.cxx: BUG: Use cmSystemTools::IsNOTFOUND. 2003-02-12 13:43 andy * Source/: cmCTest.cxx, cmakemain.cxx: Try to fix update 2003-02-12 09:26 andy * Source/cmCTest.cxx: Write individual too 2003-02-11 14:49 andy * Modules/FindJNI.cmake: Ok, now it finds JNI on Mac OSX 10.2 2003-02-11 13:56 andy * Modules/FindJNI.cmake: Fix typo 2003-02-11 13:53 andy * Modules/FindJNI.cmake: Add missing location 2003-02-11 13:37 andy * Modules/FindJNI.cmake: Improve searching for java files on OSX 2003-02-11 13:34 andy * Source/cmSetTargetPropertiesCommand.h: Fix comment 2003-02-11 09:50 king * Modules/: FindMangledMesa.cmake, FindOSMesa.cmake: Moving this very specific module to VTK. 2003-02-11 09:19 andy * Source/: cmCTest.cxx, cmCTest.h: Fix cont and remove comments 2003-02-10 23:19 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: Start working on cont 2003-02-10 22:00 hoffman * Tests/TryCompile/CMakeLists.txt: ENH: add more testing for ansi for scopes 2003-02-10 21:56 hoffman * Modules/TestForANSIForScope.cmake: clean up check for for scope test 2003-02-10 21:52 andy * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: Fix date issues with different models 2003-02-10 16:20 hoffman * Source/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt: ENH: add a new test for TRY_COMPILE 2003-02-10 13:19 hoffman * Tests/TryCompile/: CMakeLists.txt, fail.c, pass.c: ENH: add a new test to test try compile 2003-02-10 11:08 king * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Running "make test" can now have ARGS specified on the command line. These ARGS are passed to ctest. 2003-02-09 16:11 king * Utilities/Release/cmake_release.sh: ERR: Removed extra &&. 2003-02-08 10:24 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h: Fix for include optional 2003-02-08 10:23 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for spaces in paths in library path 2003-02-07 16:29 king * Modules/UseVTKConfig40.cmake: BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 2003-02-07 14:04 king * Source/: cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmLocalUnixMakefileGenerator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmSetSourceFilesPropertiesCommand.h, cmSetTargetPropertiesCommand.h, cmSystemTools.cxx, cmSystemTools.h: Several fixes/improvements: - Fixed CollapseFullPath to work on relative paths with base paths not in the current working directory. - INCLUDE command now supports relative paths (using above fix). - Added ABSOLUTE option to GET_FILENAME_COMPONENT command to unwind symlinks and relative paths. - Fixed libName_EXPORTS macro definition to be valid C identifier. - Added DEFINE_SYMBOL target propterty for customizing the export symbol. - Implemented LINK_FLAGS target propterty for libraries in VC6 and VC7. Several of these fixes were contributed by Gareth Jones. 2003-02-07 11:47 hoffman * Source/CTest/CMakeLists.txt: Remove warnings on AIX 2003-02-07 11:03 andy * Source/CTest/cmCTestSubmit.cxx: Do not reuse connection as that feature seems to be broken 2003-02-07 11:03 andy * Source/cmCTest.cxx: Fix update return status 2003-02-07 10:34 hoffman * Source/cmSystemTools.cxx: ENH: spelling error fix 2003-02-07 10:18 hoffman * Source/cmFindLibraryCommand.cxx: BUG: use IsNOTFOUND 2003-02-07 10:05 king * Utilities/Release/cmake_release.sh: ERR: Removed stray && from end of line. 2003-02-07 00:09 andy * Source/: cmCTest.cxx, cmCTest.h: Add updating support 2003-02-06 17:48 hoffman * CMakeLists.txt: tell the aix linker not to give warnings with -bhalt:5 2003-02-06 15:18 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: added option to shut off automatic rebuilding 2003-02-06 10:49 king * Source/CMakeLists.txt: ENH: Comeau C++ has been added for nightly testing. It does not support shared libraries, so we cannot run the complex tests. 2003-02-05 22:26 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h, cmTryCompileCommand.cxx: add better testing for unlink 2003-02-05 18:05 king * Source/cmCreateTestSourceList.cxx: BUG: Generate 0 into test driver instead of NULL. 2003-02-05 16:56 king * Utilities/Release/cmake_release.sh: ENH: Added win32_zipfile and win32_upload commands. 2003-02-05 16:53 king * Utilities/Release/cmake_release.sh: ENH: Added win32_zipfile and win32_upload commands. 2003-02-05 15:14 king * Utilities/Release/cmake_release.sh: BUG: Updated release tag for 1.6.3. 2003-02-05 15:07 king * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH: Updated to version 1.6.3. 2003-02-05 15:05 king * Modules/CMakeSystemSpecificInformation.cmake: ENH: CMAKE_INSTALL_PREFIX should not be advanced on UNIX. 2003-02-05 15:02 king * Modules/Platform/HP-UX.cmake: BUG: Optimization flags use + prefix, not -. 2003-02-05 15:01 king * Source/CursesDialog/cmCursesLongMessageForm.cxx: BUG: Fixed crash when messages are too long. 2003-02-05 14:58 king * Source/cmGlobalGenerator.cxx: BUG: Bug in NOTFOUND error reporting logic. 2003-02-05 14:55 hoffman * Modules/Platform/HP-UX.cmake: fix default release flags for hp 2003-02-05 14:55 king * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Better error checking for cache iterator. 2003-02-04 15:37 hoffman * Modules/CMakeSystemSpecificInformation.cmake: move cmake install out of advanced 2003-02-04 15:37 hoffman * Source/cmGlobalGenerator.cxx: BUG: add better testing for notfound 2003-02-04 14:37 berk * Modules/: FindMangledMesa.cmake, FindOSMesa.cmake: Created modules for Mesa headers and libraries. 2003-02-04 14:31 hoffman * Source/CursesDialog/cmCursesLongMessageForm.cxx: BUG: don't let the messages get too big 2003-02-04 14:01 martink * Source/: cmCacheManager.h, cmCacheManager.cxx: safer operation of iterators 2003-02-04 09:50 andy * Source/cmVTKWrapJavaCommand.cxx: Oops, std namespace 2003-02-04 09:48 andy * Source/cmVTKWrapJavaCommand.cxx: Generate java dependency files 2003-02-03 23:08 king * Utilities/Release/: cmake_release.sh: ENH: Improved robustness of remote invocation. Added more documentation. 2003-02-03 22:46 king * Utilities/Release/: cmake_release.sh: ENH: Added documentation and usage. 2003-02-03 13:31 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: ENH: add a better test for lib deps 2003-02-03 12:02 king * Utilities/Release/cmake_release.sh: ENH: Updated version to 1.6.2. 2003-02-03 12:01 king * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmGetFilenameComponentCommand.cxx, cmGlobalGenerator.cxx, cmITKWrapTclCommand.cxx, cmSourceFile.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Added new NOTFOUND notification feature. 2003-02-03 11:50 king * Source/cmMakefile.h: ENH: Updated from version 1.6.1 to 1.6.2. 2003-02-03 11:49 king * Source/cmExportLibraryDependencies.cxx: BUG: Removed generation of stray paren. 2003-02-03 09:53 king * Source/cmExportLibraryDependencies.cxx: BUG: Removed generation of stray paren. 2003-02-02 22:32 king * Source/CursesDialog/cmCursesStandardIncludes.h: ENH: Cleaned up sgi unreferenced warning hack. 2003-02-02 11:45 hoffman * Source/cmGlobalGenerator.cxx: fix warning 2003-02-01 16:39 hoffman * Source/cmMakefile.cxx: ENH: fix warning 2003-02-01 16:39 hoffman * Source/cmAddLibraryCommand.h: ENH: fix doc line 2003-02-01 16:27 hoffman * Source/CursesDialog/cmCursesStandardIncludes.h: BUG: add missing ; 2003-01-31 15:01 hoffman * Modules/FindOpenGL.cmake: ENH: add checking for NOTFOUND 2003-01-31 14:39 hoffman * Modules/FindOpenGL.cmake, Source/cmGlobalGenerator.cxx: ENH: add checking for NOTFOUND 2003-01-31 13:50 hoffman * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmGetFilenameComponentCommand.cxx, cmGlobalGenerator.cxx, cmITKWrapTclCommand.cxx, cmIncludeDirectoryCommand.cxx, cmLinkLibrariesCommand.cxx, cmMakefile.cxx, cmSourceFile.cxx, cmSystemTools.cxx, cmSystemTools.h, cmTargetLinkLibrariesCommand.cxx: ENH: add checking for NOTFOUND 2003-01-31 13:24 king * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH: Updated to version 1.6.1 from 1.6.0. 2003-01-31 13:18 king * Source/cmWin32ProcessExecution.cxx: Merge from HEAD. Use process output for error reporting instead of stdout. 2003-01-31 13:04 king * Modules/FindLATEX.cmake: ENH: Changes to work on windows. Merged from HEAD. 2003-01-31 11:52 king * Modules/FindFLTK.cmake: BUG: Need FIND_PROGRAM instead of FIND_FILE to find fluid.exe. 2003-01-31 11:49 king * Modules/FindPerl.cmake: ENH: Added ActivePerl/804 as a search path. 2003-01-31 11:44 king * Modules/CMakeSystemSpecificInformation.cmake: ERR: Removed stray double quote. 2003-01-31 11:41 king * Utilities/Release/cmake_release.sh: ENH: Another merge from branch 1.6. 2003-01-31 11:40 king * Modules/FindX11.cmake: BUG: Fix for cygwin's X11. 2003-01-31 11:36 king * Source/cmakewizard.cxx: ENH: cmake -i on HP needs printf instead of cout. 2003-01-31 11:35 king * Source/: CMakeLists.txt: BUG: Change install location of cmCPluginAPI header. 2003-01-31 08:47 martink * Source/CursesDialog/cmCursesStandardIncludes.h: fixed warnings 2003-01-30 14:34 andy * Source/: cmIncludeDirectoryCommand.cxx, cmLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.cxx: Add some error checking for missing include directories and link libraries 2003-01-30 14:34 andy * Modules/CMakeSystemSpecificInformation.cmake: Remove extra quote 2003-01-30 13:19 hoffman * Source/cmakewizard.cxx: BUG: can not mix cout and fgets on hp 2003-01-30 11:50 king * Source/CursesDialog/cmCursesStandardIncludes.h: ERR: Fixing attempt to remove warnings. 2003-01-29 14:20 king * Source/CursesDialog/cmCursesStandardIncludes.h: ERR: Another attempt to get rid of unreferenced inline function warnings on SGI. 2003-01-29 13:56 king * Utilities/Release/cmake_release.sh: ENH: Use * instead of directory list for installation tarball. 2003-01-29 13:46 king * Utilities/Release/cmake_release.sh: BUG: Need to include the include directory from the installation. 2003-01-29 09:06 andy * Modules/FindX11.cmake: Attempt to fix build problem on some platforms 2003-01-28 15:48 hoffman * Source/cmFindFileCommand.h: ENH: better docs 2003-01-28 15:44 hoffman * Modules/: FindFLTK.cmake, FindQt.cmake: ENH: change FIND_FILE to FIND_PROGRAM 2003-01-28 08:53 andy * Modules/FindLATEX.cmake: Make things work on unix and add DVIPDF 2003-01-27 12:25 andy * Source/cmWin32ProcessExecution.cxx: Fix output variable and remove this->m_ to be only m_ 2003-01-27 12:18 andy * Source/cmWin32ProcessExecution.cxx: Move errors to output variable 2003-01-24 17:40 king * Utilities/Release/cygwin-package.sh.in: ENH: Merged more changes from 1.6 branch. 2003-01-24 17:34 king * Utilities/Release/cygwin-package.sh.in: ENH: Added testing to packaging script. 2003-01-24 15:48 king * Utilities/Release/cmake_release.sh: ENH: Merged more changes from 1.6 branch. 2003-01-24 15:02 king * Utilities/Release/cmake_release.sh: ENH: Added cygwin_upload function. 2003-01-24 14:40 king * Utilities/Release/: cmake_release.sh, config_AIX, config_Darwin, config_IRIX64, config_Linux, config_OSF1, config_SunOS: ENH: Merged 1.6-branch changes to release scripts. 2003-01-24 14:29 king * Utilities/Release/: config_AIX, config_Darwin, config_IRIX64, config_Linux, config_OSF1, config_SunOS: ENH: Use verbose makefile during release build. 2003-01-24 13:55 king * Utilities/Release/cmake_release.sh: ENH: Updated checkout revision to Release-1-6-0 tag. 2003-01-24 13:53 king * Modules/Platform/: HP-UX.cmake: BUG: Added missing link flag to export symbols from an executable. 2003-01-24 11:49 king * Utilities/Release/cmake_release.sh: ENH: Updated for 1.6.0 release over 1.6.beta2. 2003-01-24 11:45 king * Utilities/: cmake_release_config_darwin, cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_osf, cmake_release_config_sun, cmake_release_cygwin.sh, cmake_release_unix_config.sh, cmake_release_version.sh: ENH: Removing old release scripts. CMake 1.6 now has its own copy of the release scripts. 2003-01-24 11:45 king * Utilities/: cmake-cygwin-package.sh, cmake_release_unix_build.sh, cmake_release_unix_package.sh, Release/cmake_release.sh, Release/config_AIX, Release/config_CYGWIN_NT-5.1, Release/config_Darwin, Release/config_HP-UX, Release/config_IRIX64, Release/config_Linux, Release/config_OSF1, Release/config_SunOS, Release/cygwin-package.sh.in: ENH: Release branch should contain its own release scripts. 2003-01-24 11:41 king * Utilities/Release/: cmake_release.sh, config_AIX, config_Darwin, config_HP-UX, config_Linux, config_OSF1, config_SunOS: ENH: Enabled testing during release build. 2003-01-24 10:33 king * Source/CursesDialog/cmCursesStandardIncludes.h: ERR: Fixed unreferenced termios declaration warning. 2003-01-23 10:42 barre * Modules/FindLATEX.cmake: no message 2003-01-23 10:37 barre * Modules/FindLATEX.cmake: FIX: - rename some entries (COMPILE -> COMPILER, and the converters -> _CONVERTER) - make sure that Window system are given a chance to find Latex and the converters if MikTex and GhostScript are installed (but not in the PATH) 2003-01-23 10:36 barre * Modules/FindPerl.cmake: FIX: the current version of Perl is 5.8 2003-01-23 10:35 barre * Source/cmGetFilenameComponentCommand.cxx: FIX: this command was not processing its arg to expand registery values 2003-01-22 15:00 martink * Modules/Platform/gcc.cmake: joins from the main tree 2003-01-22 14:59 martink * Modules/Platform/gcc.cmake: minor change to default compile flags 2003-01-22 14:49 martink * Modules/: FindMPEG2.cmake, FindSDL.cmake: merge from branch 2003-01-22 14:33 hoffman * Source/cmGlobalGenerator.h: ENH: merge from branch 2003-01-22 14:21 hoffman * Tests/X11/CMakeLists.txt: ENH: merge from head 2003-01-22 14:20 hoffman * Utilities/Doxygen/doc_makeall.sh.in: merge from main tree 2003-01-22 14:20 hoffman * Source/cmGlobalGenerator.cxx: merge from main tree, test for working c and c++ compilers 2003-01-22 14:17 hoffman * Templates/: cconfigure, cconfigure.in, cxxconfigure, cxxconfigure.in: merge with main branch and remove unused scripts 2003-01-22 14:13 hoffman * Modules/FindAndImportCMakeProject.cmake: moved to c++ command 2003-01-22 12:38 martink * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: joins from the main tree 2003-01-22 12:31 martink * Source/: cmCommands.cxx, cmFindPathCommand.cxx, cmGlobalUnixMakefileGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h, cmake.cxx: joins from the main tree 2003-01-22 12:29 hoffman * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: ENH: only run test for working c and cxx compiler once 2003-01-22 12:28 martink * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Modules/CheckIncludeFiles.cmake, Modules/FindFLTK.cmake, Modules/FindImageMagick.cmake, Modules/FindTclsh.cmake, Modules/FindVTK.cmake, Modules/FindX11.cmake, Modules/Platform/CYGWIN.cmake, Source/cmMessageCommand.cxx, Source/cmMessageCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/CursesDialog/ccmake.cxx, Source/CursesDialog/cmCursesMainForm.cxx, Source/CursesDialog/cmCursesMainForm.h, Source/cmExportLibraryDependencies.cxx, Source/cmExportLibraryDependencies.h, Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h: joins from the main tree 2003-01-22 11:44 martink * Source/cmLocalVisualStudio6Generator.cxx: fixed spelling mistake 2003-01-22 11:27 martink * Source/CursesDialog/ccmake.cxx: spelling fix 2003-01-22 11:21 martink * Modules/FindOpenGL.cmake: merge from branch 2003-01-22 11:16 martink * Modules/LinkQT.cmake: removed since no longer used 2003-01-22 11:11 martink * Modules/FindLATEX.cmake: merge branch change into main tree 2003-01-22 10:40 king * Source/cmFindPackageCommand.cxx: ENH: Added support for looking through CMAKE_MODULE_PATH to locate Find.cmake modules. 2003-01-22 10:33 king * Source/: cmake.cxx, CursesDialog/ccmake.cxx, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h: BUG: Fixed crash when CMAKE_ROOT cannot be found. 2003-01-22 09:34 hoffman * Source/cmake.cxx: BUG: fix command line to take -G only 2003-01-22 09:28 king * Source/cmGlobalVisualStudio6Generator.cxx: BUG: CMake 1.4 configured projects did not build with new CMake. 2003-01-21 17:15 king * Source/: cmCommands.cxx, cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH: Added FIND_PACKAGE command prototyp. 2003-01-21 16:46 king * Source/cmake.cxx: BUG: Use CMakeDefaultMakeRuleVariables.cmake to locate modules directory instead of FindVTK.cmake. 2003-01-21 15:03 king * Modules/FindVTK.cmake: ENH: Updated documentation. 2003-01-21 14:01 andy * Modules/CheckIncludeFiles.cmake: This list can be really long. Only display the variable name 2003-01-21 12:50 hoffman * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestCXXCompiler.cmake, Source/cmGlobalGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx, Source/cmMessageCommand.cxx, Source/cmMessageCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h: add a fatal error, and make sure c and c++ compilers work before using them 2003-01-21 12:41 hoffman * Modules/Platform/CYGWIN.cmake: use export all symbols on cygwin 2003-01-21 10:59 barre * Modules/FindImageMagick.cmake: IMPORTANT FIX: be extra-careful here on WIN32, we do NOT want CMake to look in the system's PATH env var to search for ImageMagick's convert.exe, otherwise it is going to pick Microsoft Window's own convert.exe, which is used to convert FAT partitions to NTFS format ! Depending on the options passed to convert.exe, there is a good chance you would kiss your hard-disk good-bye. 2003-01-20 21:15 ibanez * Modules/FindLATEX.cmake: ENH: PS2PDF_COMPILE added. It looks for ps2pdf. 2003-01-20 19:17 king * Source/cmMakefile.cxx: BUG: Fix for custom commands with spaces in paths. The arguments were not having spaces escaped. 2003-01-20 18:54 king * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: Fixed typo in previous fix. 2003-01-20 18:52 king * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: Fixed directory creation for spaces in install path. 2003-01-20 16:59 hoffman * Source/cmCommands.cxx, Source/cmExportLibraryDependencies.cxx, Source/cmExportLibraryDependencies.h, Source/cmGlobalGenerator.h, Source/cmMakefile.h, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: add a new command that allows exports of library dependencies from a project to a file 2003-01-20 14:39 will * Modules/FindX11.cmake: BUG: fix missed CMAKE to X11 variable name 2003-01-19 11:42 king * Source/cmSystemTools.cxx: ENH: Improved CopyFile error messages. 2003-01-18 11:34 king * Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Templates/install-sh: BUG: Fixed make install to handle library prefix/suffix settings. Also fixed support for spaces in paths during make install. 2003-01-17 18:14 king * Modules/: FindVTK.cmake: BUG: Fix for application of expand-list-variables. 2003-01-17 18:01 king * Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Templates/install-sh: ENH: Support for spaces in paths during make install. 2003-01-17 17:19 king * Modules/FindAndImportCMakeProject.cmake: ENH: Adding FIND_AND_IMPORT_CMAKE_PROJECT macro. 2003-01-17 15:15 king * Utilities/Release/cmake_release.sh: ENH: Added sanity check for setting of WX_RESOURCES by config_Darwin for osx_install. 2003-01-17 13:35 king * Utilities/Release/: cmake_release.sh, config_Darwin: ENH: Prototype for OSX packaging. 2003-01-17 13:35 king * Utilities/Release/cmake_release.sh: ENH: Cygwin package is now created in a Cygwin subdirectory. 2003-01-17 11:57 king * Utilities/Release/: cmake-cygwin-package.sh, cmake_release.sh, cygwin-package.sh.in: ENH: Renamed cmake-cygwin-package.sh to cygwin-package.sh.in and removed executable permission so it cannot be run accidentally. It must be run after being renamed to cmake-${VERSION}-${RELEASE}. 2003-01-17 11:55 king * Utilities/Release/cmake_release.sh: ENH: clean now removes the entire release root directory. 2003-01-17 11:51 king * Utilities/: cmake-cygwin-package.sh, cmake_release_config_aix, cmake_release_config_darwin, cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_osf, cmake_release_config_sun, cmake_release_cygwin.sh, cmake_release_unix_build.sh, cmake_release_unix_config.sh, cmake_release_unix_package.sh, cmake_release_version.sh: ENH: Removing old release scripts and config files. 2003-01-17 11:42 king * Utilities/Release/config_OSF1: ENH: Adding OSF release configuration. 2003-01-17 11:05 king * Utilities/Release/cmake_release.sh: ENH: Added cygwin release support. 2003-01-17 10:30 king * Utilities/Release/cmake-cygwin-package.sh: ENH: Adding cygwin packaging script to release directory. 2003-01-17 10:28 hoffman * Source/cmFindPathCommand.cxx, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: remove trailing slash from findpath command 2003-01-17 10:28 hoffman * Tests/SystemInformation/: DumpInformation.cxx, SystemInformation.in: add some more prints 2003-01-17 10:21 king * Utilities/Release/config_Linux: ENH: Removed old setting. 2003-01-17 10:21 king * Utilities/Release/config_CYGWIN_NT-5.1: ENH: Cygwin release configuration. 2003-01-17 09:52 king * Utilities/Release/cmake_release.sh: ENH: Added support for full remote packaging and copying back to local machine. Added support for uploading to FTP server. 2003-01-17 09:20 king * Utilities/Release/config_HP-UX: ENH: Linking with -a,archive_shared instead of -a,archive so that the shared curses library can be used. 2003-01-17 09:15 king * Utilities/Release/config_AIX: ERR: Can't build release static on aix. 2003-01-17 09:08 hoffman * Utilities/Release/config_AIX: Add AIX config file 2003-01-17 08:56 andy * Source/cmCTest.cxx: Remove warning about %e and %T 2003-01-16 15:47 martink * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: fix for compilers that need _ 2003-01-16 14:59 andy * Source/cmCTest.cxx: Add aix warning 2003-01-16 14:15 andy * DartConfig.cmake: Add selection of drop method 2003-01-16 14:05 barre * Utilities/Doxygen/doc_makeall.sh.in: FIX: HHC is now HTML_HELP_COMPILER 2003-01-16 13:31 ibanez * Modules/FindFLTK.cmake: FIX: Quotes added around the list of libs to be added in Apple. 2003-01-16 13:24 ibanez * Modules/FindFLTK.cmake: ENH: Platform dependent libraries added for APPLE. 2003-01-16 13:02 andy * Source/CTest/cmCTestSubmit.cxx: Try to fix aix problem 2003-01-16 12:45 andy * Source/CTest/cmCTestSubmit.cxx: Add proxy support for triggering 2003-01-16 12:38 hoffman * Modules/FindFLTK.cmake: ENH: fix for borland and cygwin 2003-01-16 12:30 andy * Source/CTest/cmCTestSubmit.cxx: Improve submtitting using http 2003-01-16 09:57 andy * Source/CTest/cmCTestSubmit.cxx: Improve build, now it should build on mac and other platforms where include file depend on each other 2003-01-16 08:40 hoffman * Source/cmMakefile.h: add back GetCMakeInstance 2003-01-16 08:31 hoffman * Source/cmMakefile.h: fix duplicate member on branch 2003-01-16 08:28 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: add the config directory to look for the loadable module 2003-01-15 19:24 king * Utilities/Release/cmake_release.sh: BUG: error_log function should return 1 to stop execution of rest of script. 2003-01-15 19:20 king * Utilities/Release/cmake_release.sh: ENH: Renamed package command to binary_tarball for clarity. 2003-01-15 19:17 king * Utilities/Release/: cmake_release.sh, config_HP-UX: ENH: Release script now exports PATH and LD_LIBRARY_PATH to remove the burden from the configuration scripts. 2003-01-15 19:14 king * Utilities/Release/config_HP-UX: BUG: Attempt to fix remote invocation. 2003-01-15 19:04 king * Utilities/Release/config_HP-UX: ENH: Enabling verbose makefile generation for hp-ux build. This will ease hand-fixing of the build of ccmake. 2003-01-15 19:02 king * Utilities/Release/cmake_release.sh: ENH: Cleaned up remote invocation. 2003-01-15 18:51 king * Utilities/Release/cmake_release.sh: ENH: Improved clean target. 2003-01-15 18:48 king * Utilities/Release/cmake_release.sh: BUG: Finished clean target and fixed grep for cvsroot in ~/.cvspass. 2003-01-15 18:44 king * Utilities/Release/cmake_release.sh: BUG: CVS login command is login, not cvs_login. 2003-01-15 18:43 king * Utilities/Release/config_aix: ERR: Removed old config file. 2003-01-15 18:42 king * Utilities/Release/: cmake_release.sh, config_Darwin, config_HP-UX, config_IRIX64, config_Linux, config_SunOS, config_aix: ENH: New release script prototype. 2003-01-15 18:28 ibanez * Modules/FindFLTK.cmake: ENH: Libraries are not marked as ADVANCED now. 2003-01-15 18:02 king * Source/cmMakefile.h: ERR: Removed duplicate declaration. 2003-01-15 17:45 hoffman * Source/cmMakefile.h: ENH: fix for ibm build 2003-01-15 17:31 hoffman * Source/CMakeLists.txt, Source/cmaketest.cxx, Tests/Complex/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/Complex/Library/moduleFile.c, Tests/Complex/Library/moduleFile.h, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/moduleFile.c, Tests/ComplexOneConfig/Library/moduleFile.h, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/moduleFile.c, Tests/ComplexRelativePaths/Library/moduleFile.h: ENH: add testing for modules and one two config modes for cmaketest 2003-01-15 17:02 hoffman * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt: use module on all platforms 2003-01-15 15:32 hoffman * Modules/FindOpenGL.cmake: fix from head 2003-01-15 15:02 hoffman * Modules/FindOpenGL.cmake: BUG: fix for OSX with x11 gl stuff 2003-01-15 13:25 hoffman * Modules/Platform/Windows-bcc32.cmake: merge with head fix for borland flag and bad set statment 2003-01-15 13:22 hoffman * Modules/Platform/Windows-bcc32.cmake: BUG: fix flags for borland link shared and module 2003-01-15 13:14 hoffman * Modules/FindOpenGL.cmake: BUG: make sure set command has proper quoting 2003-01-15 13:12 hoffman * Modules/FindOpenGL.cmake: quote the variable 2003-01-15 11:59 hoffman * Modules/FindTclsh.cmake: look for cygtcl83 2003-01-15 11:32 king * CMakeLists.txt: ENH: Merge of backward compatability changes from trunk. 2003-01-15 11:17 king * Utilities/cmake_release_version.sh: ENH: Updated version for 1.6.beta2 release. 2003-01-15 11:03 martink * Source/cmMakefile.h: updated patch level 2003-01-14 22:10 andy * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Add support for http submit. Also, add support for proxy, but it does not work yet. 2003-01-14 22:10 andy * Source/cmCTest.cxx: Add support for http submit 2003-01-14 09:53 andy * Source/: cmMakefile.cxx, cmMakefile.h: Make GetCMakeInstance private and clean cxx file 2003-01-13 10:15 martink * Modules/CheckSymbolExists.cmake: join from head 2003-01-13 10:11 martink * Modules/FindQt.cmake: merge from branch 2003-01-13 10:07 martink * Modules/Platform/Linux-como.cmake: joined to head 2003-01-13 10:04 martink * Source/cmLocalVisualStudio6Generator.cxx, Tests/Complex/Library/testConly.c, Tests/ComplexOneConfig/Library/testConly.c, Tests/ComplexRelativePaths/Library/testConly.c: joined to head 2003-01-13 09:30 hoffman * Source/cmLocalVisualStudio6Generator.cxx, Tests/Complex/Library/testConly.c, Tests/ComplexOneConfig/Library/testConly.c, Tests/ComplexRelativePaths/Library/testConly.c: BUG: fix CMAKE_C_FLAGS for visual studio 6, and add a test case 2003-01-13 09:27 martink * Modules/CheckIncludeFileCXX.cmake: joined to head 2003-01-13 09:24 martink * Modules/FindPNG.cmake: fixed typo 2003-01-13 09:22 martink * Modules/: TestForANSIForScope.cmake, TestForSTDNamespace.cmake: joined to head 2003-01-13 09:12 martink * Modules/: CMakeVS6BackwardCompatibility.cmake, CMakeVS7BackwardCompatibility.cmake, CheckTypeSize.cmake, FindX11.cmake: joined to head 2003-01-13 09:09 martink * Source/cmake.cxx, Source/cmake.h, Modules/FindOpenGL.cmake, Modules/CMakeBackwardCompatibilityC.cmake, Modules/CMakeBackwardCompatibilityCXX.cmake: joined to head 2003-01-13 09:06 martink * Source/: cmMakefile.cxx, cmVariableWatch.h: joined to head 2003-01-13 09:02 martink * Source/: cmGlobalGenerator.cxx, cmLocalVisualStudio6Generator.cxx: joined to head 2003-01-13 08:51 martink * Source/cmAbstractFilesCommand.cxx: joined 2003-01-13 08:50 martink * Source/CMakeLists.txt: added install target 2003-01-13 08:14 andy * Source/cmLocalVisualStudio6Generator.cxx: Add space between arguments 2003-01-12 22:28 andy * Modules/CheckSymbolExists.cmake: Add macro for checking if symbol exists 2003-01-12 10:50 andy * Source/cmLocalVisualStudio6Generator.cxx: Use C flags too. Not exactly the right solution but it will have to do for now. 2003-01-11 21:47 andy * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Add triggering 2003-01-11 21:47 andy * Source/cmCTest.cxx: Fix time output and add triggering 2003-01-11 10:57 andy * Source/CMakeLists.txt: Fix testing of curl on windows 2003-01-10 20:22 andy * Source/CMakeLists.txt: Add curl testing 2003-01-10 17:31 hoffman * CMakeLists.txt: ENH: make it work with cmake 1.6 with no backwards compatibility 2003-01-10 11:07 martink * Source/cmGlobalGenerator.cxx: fix warnings 2003-01-10 09:02 martink * Source/cmake.cxx: compiler warning 2003-01-10 07:50 andy * Source/CTest/cmCTestSubmit.cxx: Method should return something 2003-01-09 15:54 martink * Modules/FindOpenGL.cmake: better fix for win32 2003-01-09 14:00 martink * Modules/FindOpenGL.cmake: update to not put PROJECT_SOURCE_DIR as OPENGL_PATH 2003-01-09 12:18 martink * Source/: cmake.cxx, cmake.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h: fix bug in env settings 2003-01-09 11:35 martink * Source/: cmMakefile.cxx, cmVariableWatch.h: more option on var watches 2003-01-09 11:34 martink * Modules/CheckTypeSize.cmake: minor fix to backw compat 2003-01-09 11:32 hoffman * Source/cmGlobalGenerator.cxx: fix warning 2003-01-09 11:28 hoffman * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: restore the environment for cxx and cc in global generator 2003-01-09 11:27 hoffman * Source/cmVariableWatch.h: use cmstdstring in maps 2003-01-09 09:16 hoffman * Source/cmVariableWatch.h: fix syntax for addwatch 2003-01-09 08:50 martink * Modules/: CMakeVS6BackwardCompatibility.cmake, CMakeVS7BackwardCompatibility.cmake: added big endian stuff 2003-01-09 08:47 martink * Source/cmGlobalGenerator.cxx: only load bw compat if CMAKE_BACK... is set 2003-01-09 08:47 martink * Source/cmake.cxx: added watches for access of bw compat vars 2003-01-09 08:44 martink * Source/cmAbstractFilesCommand.cxx: now complains more 2003-01-08 14:41 hoffman * Utilities/cmake_release_config_aix: release script for aix 2003-01-08 13:24 andy * Source/: CMakeLists.txt, Makefile.in, cmMakefile.cxx, cmMakefile.h, cmVariableWatch.cxx, cmVariableWatch.h, cmake.cxx, cmake.h: Add variable watch support on the branch 2003-01-08 13:24 andy * Source/cmTryCompileCommand.cxx: Merge try compile fixes to branch 2003-01-08 12:59 andy * Source/: CMakeLists.txt, Makefile.in, cmMakefile.cxx, cmMakefile.h, cmVariableWatch.cxx, cmVariableWatch.h, cmake.cxx, cmake.h: Add option of watching variables 2003-01-08 12:12 hoffman * Modules/CMakeBackwardCompatibilityCXX.cmake, Modules/CheckIncludeFileCXX.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForSTDNamespace.cmake, Source/cmTryCompileCommand.cxx: ENH: only force the use of ansi flags in backwards mode 2003-01-08 11:58 iscott * Modules/FindQt.cmake: mark all variables advanced 2003-01-08 11:53 andy * Tests/X11/CMakeLists.txt: Change name of variable 2003-01-08 11:45 andy * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: Fix FindX11 to match convention 2003-01-08 10:48 iscott * Modules/: FindMPEG2.cmake, FindPNG.cmake, FindSDL.cmake, LinkQT.cmake: LinkQT.cmake has been deprecated for ages, removed it now. Fixed mistake in FindPNG.cmake Donated FindMPEG2 and FindSDL from VXL. 2003-01-07 22:24 andy * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Implement FTP uploading 2003-01-07 22:23 andy * Source/CTest/CMakeLists.txt: Add more places to search for library, also include curl directory when compiling 2003-01-07 22:23 andy * Source/cmCTest.cxx: New signature 2003-01-07 15:04 hoffman * CMakeLists.txt: ENH: fix install of cmake.1 2003-01-07 14:57 hoffman * CMakeLists.txt: fix reg ex for install cmake man 2003-01-07 13:52 martink * Source/CMakeLists.txt: adde dinstall for cmCPluginAPI.h 2003-01-07 13:19 hoffman * CMakeLists.txt, Templates/CMakeLists.txt: ENH: fix install and initial prefix 2003-01-07 13:05 hoffman * Templates/CMakeLists.txt: ENH: fix install target for templates 2003-01-07 12:54 hoffman * Templates/: cconfigure, cconfigure.in, cxxconfigure, cxxconfigure.in: remove unused files 2003-01-07 12:05 hoffman * CMakeLists.txt: use bootstrap initial flags 2003-01-07 10:22 king * Utilities/cmake_release_config_irix: BUG: Version number on rolle is 6.4, not 6.5. 2003-01-06 23:13 andy * Source/: cmCTest.cxx, cmCTest.h: Work on submitting 2003-01-06 23:07 andy * Source/CTest/: CMakeLists.txt, cmCTestSubmit.cxx, cmCTestSubmit.h: Start working on improved test 2003-01-06 16:09 king * Utilities/cmake_release_config_hpux: ERR: Fixes for linking statically with -ldld. 2003-01-06 15:41 hoffman * ChangeLog.txt: ENH: update change log for new version 2003-01-06 15:21 king * Utilities/cmake_release_config_sun: ERR: Fix for building static with -ldl on sun. 2003-01-06 14:56 king * Utilities/cmake_release_config_linux: ERR: Fixed typo. 2003-01-06 14:30 biddi * Source/cmVTKWrapTclCommand.cxx: Fix a problem with TCL wrapping if the source files have a relative path. The dependency is not correctly handled 2003-01-06 14:27 king * Utilities/: cmake_release_config_hpux, cmake_release_config_linux, cmake_release_config_sun: ENH: Updated for static executable. 2003-01-06 11:31 king * Utilities/cmake_release_version.sh: ENH: Updated for 1.6 beta 1 release. 2003-01-06 11:23 king * Utilities/: cmake_release_config_darwin, cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_osf, cmake_release_config_sun, cmake_release_cygwin.sh, cmake_release_unix_config.sh, cmake_release_version.sh: ENH: Updated for CMake 1.6 release. Version number is now in a single file that is sourced by all others. 2003-01-06 10:58 martink * Source/: cmCPluginAPI.h: updated version 2003-01-06 10:43 martink * CMake.rtf: updated docs 2003-01-06 09:39 martink * Source/: cmMakefile.h: update version 2003-01-06 09:36 martink * Source/cmMakefile.h: updated version 2003-01-06 09:32 king * Modules/Platform/Linux-como.cmake: ENH: Added shared library settings. 2003-01-06 09:04 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ENH: look for AIX compiler as well 2003-01-06 08:39 hoffman * Modules/Platform/OSF1.cmake: add shared path for OSF 2003-01-05 11:24 hoffman * Modules/Platform/OSF1.cmake: BUG: revert back to rpath, 2003-01-03 20:26 andy * Modules/CheckTypeSize.cmake: Remove debug 2003-01-03 20:03 andy * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake: Fix problems with required flags 2003-01-03 19:21 andy * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFiles.cmake, CheckLibraryExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake: Add required flags 2003-01-03 17:36 king * Modules/FindPythonLibs.cmake: ENH: Find python framework on Mac OSX. 2003-01-03 16:23 hoffman * Modules/Platform/OSF1.cmake: try to fix rpath on OSF 2003-01-03 16:14 andy * Tests/COnly/libc2.h: Fix problem with test on Borland 2003-01-03 08:12 hoffman * Modules/Platform/SunOS.cmake: BUG: bad rpath flag for suns 2003-01-02 10:27 king * Source/cmCPluginAPI.h: ENH: Changed magic numbers to reserved. Added CMAKE_VERSION_MAJOR and CMAKE_VERSION_MINOR macros to allow commands to do conditional compilation across multiple versions of CMake. 2003-01-02 09:57 king * Modules/CMakeBackwardCompatibilityC.cmake: BUG: Don't add -I/usr/include as an X_CFLAGS setting. 2003-01-02 09:57 king * Modules/FindX11.cmake: BUG: Fixed ordering of X11 search. 2003-01-02 09:06 andy * Tests/COnly/CMakeLists.txt: Rename libraries from c1 to testc1 2003-01-02 08:51 hoffman * Modules/Platform/: AIX.cmake, OSF1.cmake, SunOS.cmake: clean up some c/cxx issues 2003-01-01 18:00 andy * Modules/CheckIncludeFiles.cmake: Add macro for checking if a swequence of includes can be includes 2003-01-01 17:35 andy * Tests/COnly/CMakeLists.txt: Test conversion from ascii to string 2003-01-01 17:34 andy * Source/: cmStringCommand.cxx, cmStringCommand.h: Add a way to convert ascii to string 2003-01-01 16:25 andy * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake, CheckTypeSize.cmake, CheckVariableExists.cmake: To prevent cmake from breaking up arguments, put quotes around them 2003-01-01 15:02 andy * Modules/CheckVariableExists.cmake: Add a way to add custom libraries to the mix. Also add status reporting 2003-01-01 15:01 andy * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake, CheckTypeSize.cmake: Add a way to add custom libraries to the mix 2003-01-01 14:26 andy * Tests/COnly/: libc2.c, libc2.h: Shared library should export symbols on windows 2002-12-31 15:22 andy * Tests/COnly/: CMakeLists.txt, conly.c, libc1.c, libc1.h, libc2.c, libc2.h: Test also stating and shared libraries 2002-12-31 13:08 king * Modules/: CMakeDefaultMakeRuleVariables.cmake, Platform/Darwin.cmake, Platform/HP-UX.cmake, Platform/Linux-como.cmake, Platform/Windows-bcc32.cmake, Platform/Windows-cl.cmake: ENH: Added to link rules. 2002-12-31 12:59 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: When there are no link flags, we want an empty string, not a null pointer. 2002-12-31 12:41 king * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Support LINK_FLAGS property for static libraries. 2002-12-30 11:48 hoffman * Modules/Platform/AIX.cmake: ENH: fix shared libraries on AIX 2002-12-30 11:02 king * Modules/CMakeBackwardCompatibilityC.cmake, Modules/CheckSizeOf.c, Modules/CheckSizeOf.cmake, Modules/CheckTypeSize.c, Modules/CheckTypeSize.cmake, Tests/LoadCommand/CMakeLists.txt, Tests/LoadCommandOneConfig/CMakeLists.txt: ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 2002-12-30 08:18 andy * Source/cmSystemTools.cxx: Fix problem on windows with network paths 2002-12-30 07:47 hoffman * Source/: cmAbstractFilesCommand.h, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.h, cmAddExecutableCommand.h, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.h, cmBuildCommand.h, cmBuildNameCommand.h, cmFLTKWrapUICommand.h: ENH: clean up docs some 2002-12-27 11:14 starreveld * Modules/FindPythonLibs.cmake: ENH: find python framework and include files on OSX 2002-12-26 19:59 andy * Modules/CMakeJavaCompiler.cmake.in: If there is no java compiler report error on ADD_JAVA_LIBRARY 2002-12-26 13:58 andy * Modules/Platform/Windows-cl.cmake: Add missing closing bracket 2002-12-23 12:19 hoffman * Source/cmSystemTools.h: ENH: fix for AIX 2002-12-23 09:51 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: WAR: remove warinings 2002-12-23 09:25 hoffman * Source/cmSystemTools.cxx: ENH: handle // in the path 2002-12-22 15:19 hoffman * Modules/Platform/Windows-bcc32.cmake, Source/cmLocalUnixMakefileGenerator.cxx: ENH: fixes for borland with spaces in the path 2002-12-22 11:50 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: clean up warning and use more short paths 2002-12-22 10:09 barre * Modules/: Documentation.cmake, FindHTMLHelp.cmake, FindHhc.cmake: ENH: it's time to create a real Microsoft HTML Help Workshop CMake module 2002-12-21 11:14 hoffman * Source/: cmGetTargetPropertyCommand.cxx, cmGetTargetPropertyCommand.h, cmSetTargetPropertiesCommand.cxx, cmSetTargetPropertiesCommand.h: ENH: add target properties files 2002-12-20 17:15 hoffman * Source/cmCommands.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: add target properties 2002-12-20 16:15 king * Source/cmVTKWrapTclCommand.cxx: ERR: Tcl_PkgProvide takes char*, so we cannot pass a string literal to it. 2002-12-20 12:59 king * Modules/Platform/Windows-cl.cmake, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Templates/CMakeVisualStudio6Configurations.cmake: ENH: Visual Studio 6 and 7 generators now set CMAKE_CONFIGURATION_TYPES to be a semicolon-separated list of configurations that will be built. 2002-12-20 11:56 barre * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: FIX: make CMAKE_X_LIBS and CMAKE_X_CFLAGS advanced 2002-12-20 11:20 hoffman * Source/cmGlobalUnixMakefileGenerator.cxx: ENH: add a check to make sure cmake can find the c or C++ compiler for trycompile 2002-12-20 11:20 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: BUG: fix for backwards compatibility 2002-12-20 10:23 martink * Source/: cmSourceFilesCommand.cxx, cmake.cxx: testing more agressive compatability settings 2002-12-20 09:43 king * Modules/FindTCL.cmake: ENH: Use the Mac -framework for Tk if it is available. 2002-12-20 09:42 king * Modules/FindTCL.cmake: ENH: Use the Mac -framework for Tcl if it is available. 2002-12-19 15:34 hoffman * Source/cmGlobalGenerator.cxx: BUG: enable the languages when not running in global mode 2002-12-19 12:51 hoffman * Modules/CMakeSystemSpecificInformation.cmake: better docs 2002-12-19 12:51 hoffman * Modules/Platform/Windows-cl.cmake: ENH: make linker flags use init values so users can set them from the cache 2002-12-18 16:58 king * Source/cmVTKWrapTclCommand.cxx: ENH: Tcl packages now Tcl_PkgProvide their own name and version. 2002-12-18 10:52 king * Modules/Platform/gcc.cmake: ENH: Adding build type flags for C. 2002-12-18 09:38 king * Source/CMakeLists.txt, Tests/X11/CMakeLists.txt: ERR: Project name and executable name should match for consistency in the X11 test. 2002-12-17 17:05 king * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: ENH: Added return type int to ExecuteCommand. 2002-12-17 14:55 king * Source/cmFLTKWrapUICommand.cxx: BUG: Need at least 2 arguments, not exactly 2. 2002-12-17 14:55 king * Source/cmListFileCache.h: ERR: Added operator != for SGI. 2002-12-17 14:54 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineJavaCompiler.cmake, CMakeDetermineSystem.cmake, CMakeSystemSpecificInformation.cmake, CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckLibraryExists.cmake, CheckSizeOf.cmake, CheckVariableExists.cmake, TestBigEndian.cmake, TestCXXAcceptsFlag.cmake, TestForANSIForScope.cmake, TestForSTDNamespace.cmake: ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages 2002-12-17 13:28 king * Source/CMakeLists.txt, Tests/X11/CMakeLists.txt: BUG: Renamed X11 test executable to useX11 to avoid conflict with name of library. 2002-12-17 12:56 martink * Source/cmLocalVisualStudio6Generator.cxx: better handling of Module 2002-12-17 12:11 andy * Source/cmake.cxx: Save directories when doing global build 2002-12-17 11:58 king * Source/cmMacroCommand.cxx: ENH: Improved error message for macro invoked with incorrect number of arguments. 2002-12-17 11:57 king * Source/cmTryCompileCommand.cxx: ENH: TryCompile should produce a verbose makefile. 2002-12-17 11:55 king * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: ENH: FindX11.cmake module now almost fully duplicates old configure functionality. 2002-12-17 10:04 martink * Source/cmLocalVisualStudio7Generator.cxx: some clean up in link directories 2002-12-16 21:19 andy * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, ctest.cxx, ctest.h: Split ctest into two three files 2002-12-16 18:28 king * Source/cmLocalVisualStudio7Generator.cxx: BUG: Cannot remove quotes from defined flags. 2002-12-16 12:13 andy * Source/cmake.cxx: Fix switching from local to global generation when cmake version changes or when things change inside version 2002-12-16 11:10 king * Source/cmake.cxx: ENH: Added copy_if_different option to -E flag. 2002-12-16 09:39 king * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: BUG: Fixed quotes in output paths. 2002-12-15 13:45 andy * Source/: ctest.cxx, ctest.h: Add support for only showing what will be done. This way you can for example get a list of all tests: ctest -N or list of all tests that match regex: ctest -N -R regex 2002-12-13 17:35 king * Tests/: Complex/CMakeLists.txt, Complex/cmTestGeneratedHeader.h.in, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestGeneratedHeader.h.in, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestGeneratedHeader.h.in, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx: ENH: Added test for generated header included by non-generated source. 2002-12-13 17:34 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Need source file and OBJECT_DEPENDS as dependencies of an object file. 2002-12-13 16:16 king * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmSetSourceFilesPropertiesCommand.cxx: ENH: Added source file property OBJECT_DEPENDS to support generated header files included in non-generated sources. 2002-12-13 14:58 king * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake, CheckLibraryExists.cmake, CheckSizeOf.cmake, CheckVariableExists.cmake: ENH: Don't repeat check even if answer was no. 2002-12-13 09:52 martink * Source/cmIfCommand.cxx: made more strict 2002-12-13 09:27 martink * Source/: ctest.cxx, cmCPluginAPI.cxx: fixed warnings 2002-12-13 09:18 king * Source/: cmFunctionBlocker.h, cmIfCommand.h: ERR: Fixed unused parameter warning. 2002-12-12 17:48 hoffman * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: Make try compile add a depend to re-run cmake if its source chagnes 2002-12-12 12:02 king * Utilities/: cmake_release_config_darwin, cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_osf, cmake_release_config_sun, cmake_release_cygwin.sh: ENH: Updated for 1.4.7 release. 2002-12-12 11:51 martink * Source/cmMakefile.h: updated to patch7 2002-12-12 11:36 king * Source/: cmListFileCache.cxx, cmListFileCache.h, cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h, ctest.cxx: ENH: Improved filename/line number reporting in error message. Macro invocations now chain up the error message. 2002-12-12 10:25 king * Modules/CMakeTestGNU.c: ERR: Fixed syntax errors for picky preprocessors. 2002-12-12 10:25 king * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: ERR: Need double-quotes around expression to be mached in IF command. 2002-12-12 10:10 king * Tests/: Complex/CMakeLists.txt, Complex/VarTests.cmake, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.cmake, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/VarTests.cmake: BUG: Can't double-quote foreach arguments. 2002-12-12 08:42 martink * Tests/Wrapping/CMakeLists.txt: now uses SET instead of SOURCE_LIST command 2002-12-11 18:20 king * Source/cmListFileCache.cxx: BUG: Multi-line functions must also increment line number, not the pointer. 2002-12-11 18:15 king * Source/cmEndForEachCommand.h: ERR: Dummy InitialPass implementation must return a value. 2002-12-11 18:13 king * Source/: cmAbstractFilesCommand.cxx, cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx, cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx, cmAddTestCommand.cxx, cmCPluginAPI.cxx, cmCommand.h, cmCreateTestSourceList.cxx, cmEndForEachCommand.cxx, cmEndForEachCommand.h, cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h, cmITKWrapTclCommand.cxx, cmIfCommand.cxx, cmIfCommand.h, cmIncludeDirectoryCommand.cxx, cmInstallProgramsCommand.cxx, cmInstallTargetsCommand.cxx, cmLinkDirectoriesCommand.cxx, cmLinkLibrariesCommand.cxx, cmListFileCache.cxx, cmListFileCache.h, cmLoadCacheCommand.cxx, cmLoadCommandCommand.cxx, cmLocalUnixMakefileGenerator.cxx, cmMacroCommand.cxx, cmMacroCommand.h, cmMakefile.cxx, cmMakefile.h, cmMarkAsAdvancedCommand.cxx, cmMessageCommand.cxx, cmProjectCommand.cxx, cmRemoveCommand.cxx, cmSetSourceFilesPropertiesCommand.cxx, cmSourceFilesCommand.cxx, cmSourceFilesRemoveCommand.cxx, cmSubdirCommand.cxx, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTargetLinkLibrariesCommand.cxx, cmUtilitySourceCommand.cxx, cmVariableRequiresCommand.cxx, cmWriteFileCommand.cxx, ctest.cxx: ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside. 2002-12-11 14:18 martink * Source/CMakeSetup.dsw: removed dsw file 2002-12-11 14:16 martink * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: added a Free method 2002-12-11 14:15 king * Source/: cmCreateTestSourceList.cxx, cmSystemTools.cxx: ENH: Improved implementation of MSVC debug hook to only add the hook if DART_TEST_FROM_DART is set in the environment. This is better than always adding the hook and testing the environment from the callback. 2002-12-11 12:09 andy * Source/: cmGlobalVisualStudio7Generator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: Add check so that java projects build without C++ 2002-12-11 11:49 king * Source/: cmDumpDocumentation.cxx, cmSystemTools.cxx, cmSystemTools.h, cmakemain.cxx, cmaketest.cxx, cmw9xcom.cxx, ctest.cxx: ENH: Added cmSystemTools::EnableMSVCDebugHook() to prevent error dialogs when CMake is invoked by Dart. 2002-12-11 11:32 king * Source/cmCreateTestSourceList.cxx: ENH: Generate code to setup MSVC debug library hook. The test driver program will not display error dialogs if DART_TEST_FROM_DART is set in the environment. 2002-12-11 10:34 andy * Modules/CMakeDetermineJavaCompiler.cmake, Modules/CMakeJavaCompiler.cmake.in, Source/cmGlobalGenerator.cxx: Add java support 2002-12-10 17:52 andy * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h: Add support for comments on custom commands in visual studio 6 2002-12-10 17:43 andy * Source/: cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: Add support for comments on custom commands in visual studio 7 2002-12-10 16:46 andy * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmMakefile.cxx, cmMakefile.h, cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmLocalUnixMakefileGenerator.cxx, cmSourceGroup.cxx, cmSourceGroup.h: Add comment support, so that you can see in build process what the custom command does 2002-12-10 16:45 andy * Source/: cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h: Allow target with no command 2002-12-10 16:08 hoffman * Source/: cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h: BUG: update for changes in cmMakeDepend 2002-12-10 16:01 hoffman * Source/: cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: ENH: update use of makedepend 2002-12-10 15:55 hoffman * Source/: cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: ENH: update to new style MakeDepend 2002-12-10 14:12 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: make sure empty depends are not used 2002-12-10 14:10 martink * Source/: cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h: updated for changes in Depend Calcs 2002-12-10 13:59 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: do not output empty depends 2002-12-10 13:36 andy * Source/ctest.cxx: Remove warning 2002-12-10 10:34 hoffman * Source/: cmMakeDepend.cxx, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: BUG: fix compile flags for source files, and fix depend bug for cmake 14 branch 2002-12-10 09:34 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: remove cerr 2002-12-10 09:28 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmMakeDepend.cxx: BUG: fix bug in depends 2002-12-09 16:23 andy * Source/cmaketest.cxx: Add to usage 2002-12-09 16:22 andy * Modules/FindPythonLibs.cmake: Better search for python 2002-12-09 14:33 king * Modules/CMakeImportBuildSettings.cmake: ENH: Using only filename without path or extension for comparing build tools. 2002-12-09 08:27 hoffman * Modules/: CMakeVS6BackwardCompatibility.cmake, CMakeVS7BackwardCompatibility.cmake: use win32 threads for win32 2002-12-08 22:36 andy * Source/: ctest.cxx, ctest.h: Initial addition of coverage 2002-12-08 22:35 andy * Source/cmSystemTools.cxx: Fix bug in globbing. Now it actually uses only files or directories that result in globbing not the ones that were is the vector before 2002-12-08 22:33 andy * Source/: cmGlobalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: Rename variable to remove warning 2002-12-08 14:25 starreveld * Templates/CMakeLists.txt: ERR: Remove references to files removed 4 days ago 2002-12-06 15:35 hoffman * Source/: cmGlobalUnixMakefileGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalUnixMakefileGenerator.cxx, cmMakefile.cxx: ENH: fix IntDir jump and build problem 2002-12-06 11:43 hoffman * Source/cmGlobalGenerator.cxx: ENH: set the CXX and CC environment vars 2002-12-06 10:16 hoffman * Modules/CMakeDetermineCCompiler.cmake: BUG: fix C compiler init 2002-12-06 10:09 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: clean up compiler picking code 2002-12-06 10:02 hoffman * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Source/cmGlobalVisualStudio6Generator.cxx: fix for generator picked compilers 2002-12-05 16:53 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: use correct path type for check_cache file 2002-12-05 16:52 hoffman * Source/cmDynamicLoader.cxx: fix free before use 2002-12-05 14:56 hoffman * Source/: cmCacheManager.cxx, cmLocalUnixMakefileGenerator.cxx: ENH: add a rule to automatically re-run cmake from the top if the CMakeCache.txt file is changed 2002-12-05 14:24 andy * Source/Makefile.in: Better dependencies for bootstrap 2002-12-05 13:44 hoffman * Modules/CMakeBackwardCompatibilityC.cmake, Modules/CMakeBackwardCompatibilityCXX.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeVS6BackwardCompatibility.cmake, Modules/CMakeVS6FindMake.cmake, Modules/CMakeVS7BackwardCompatibility.cmake, Modules/CMakeVS7FindMake.cmake, Modules/Dart.cmake, Modules/Platform/Windows-cl.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalBorlandMakefileGenerator.h, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.h, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.h, Source/cmGlobalVisualStudio6Generator.cxx, Source/cmGlobalVisualStudio6Generator.h, Source/cmGlobalVisualStudio7Generator.cxx, Source/cmGlobalVisualStudio7Generator.h, Source/cmLocalVisualStudio6Generator.cxx: ENH: unify EnableLanguage across all generators 2002-12-05 11:55 andy * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.cxx, LoadCommand/LoadedCommand.h.in, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.cxx, LoadCommandOneConfig/LoadedCommand.h.in: Speedup the test 2002-12-05 11:09 martink * Source/cmGlobalVisualStudio7Generator.h: use InAll target setting to determine what targets are in the default build 2002-12-05 10:47 king * Modules/: FindVTK.cmake, UseVTK40.cmake, UseVTKBuildSettings40.cmake, UseVTKConfig40.cmake: ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 2002-12-05 10:34 king * Modules/CMakeImportBuildSettings.cmake: BUG: Fix for string comparison when one string is empty. 2002-12-05 09:46 king * Modules/: CMakeBuildSettings.cmake.in, CMakeExportBuildSettings.cmake, CMakeImportBuildSettings.cmake: ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 2002-12-05 08:30 martink * Source/cmGlobalVisualStudio7Generator.cxx: use InAll target setting to determine what targets are in the default build 2002-12-04 18:44 king * Source/: cmStringCommand.cxx, cmStringCommand.h: ENH: Added COMPARE modes to STRING command. 2002-12-04 16:59 king * Modules/CMakeUnixFindMake.cmake: BUG: Removed stray debugging message. 2002-12-04 14:18 king * Source/cmLocalUnixMakefileGenerator.cxx: ENH: When a full path to a library cannot be parsed, just add the whole path to the link line. If it isn't a valid path, the linker will complain. 2002-12-04 10:57 hoffman * Modules/CMakeUnixFindMake.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmake.cxx, Source/cmake.h: BUG: fix get make command problems. 2002-12-04 10:44 martink * Source/cmake.cxx: added CMAKE_BACKWARDS_COMPATIBILITY entry 2002-12-04 10:25 martink * Source/cmLinkLibrariesCommand.h: updated comment 2002-12-03 16:19 hoffman * Modules/CMakeBorlandFindMake.cmake, Modules/CMakeNMakeFindMake.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/CMakeUnixFindMake.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.cxx: determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 15:23 hoffman * Source/CMakeLists.txt, Source/cmLocalBorlandMakefileGenerator.cxx, Source/cmLocalBorlandMakefileGenerator.h, Source/cmLocalNMakeMakefileGenerator.cxx, Source/cmLocalNMakeMakefileGenerator.h, Templates/CCMakeSystemConfig.cmake.in, Templates/CMakeBorlandWindowsSystemConfig.cmake, Templates/CMakeNMakeWindowsSystemConfig.cmake, Templates/CXXCMakeSystemConfig.cmake.in: remove unused files 2002-12-03 14:15 ibanez * Modules/FindImageMagick.cmake: Module to find tools from the ImageMagick package. These tools are useful for converting image formats. 2002-12-03 14:09 martink * Source/: CMakeLists.txt, Makefile.in, cmake.cxx: remove code warrior and fixed GUI isues 2002-12-03 13:46 ibanez * Modules/FindFLTK.cmake: ENH: description of variables now follows other style in other .cmake files. 2002-12-03 13:44 ibanez * Modules/FindGLUT.cmake: ENH: Description of variables now specifies that the full path is required. 2002-12-03 12:59 martink * Source/cmMakefile.cxx: fix purify FMR 2002-12-03 11:23 martink * CMakeLists.txt: bug fix and some cleanup 2002-12-03 11:21 martink * Tests/.NoDartCoverage: clean up coverage some 2002-12-03 10:47 hoffman * Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/Platform/Linux-como.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Source/cmLocalUnixMakefileGenerator.cxx: correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules 2002-12-03 09:59 hoffman * Modules/CMakeDefaultMakeRuleVariables.cmake: use LINK_FLAGS not C and CXX LINK_FLAGS 2002-12-02 16:35 martink * Source/cmStringCommand.cxx: fix compile warning 2002-12-02 16:15 hoffman * Source/cmMakefile.cxx: add project command even if inheriting 2002-12-02 16:08 hoffman * Source/cmListFileCache.cxx: ENH: put the project command at the front of the project 2002-12-02 15:59 martink * Source/: cmFindLibraryCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmSystemTools.cxx, cmSystemTools.h: removed cmMakefile depend from cmSystemTools 2002-12-02 15:43 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove forced enable language call because a PROJECT command is now added to each project 2002-12-02 15:37 hoffman * Source/: cmListFileCache.cxx, cmMakefile.cxx: ENH: remove cerr calls 2002-12-02 15:30 hoffman * Source/: cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx: ENH: add PROJECT command if there is not one 2002-12-02 15:03 martink * Source/cmIfCommand.cxx: minor fix 2002-12-02 13:18 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: add a space around the compile flags 2002-12-02 10:33 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix compile flags for a single file 2002-11-29 18:56 andy * Source/cmGlobalUnixMakefileGenerator.cxx: Fix problem on unix with space 2002-11-29 16:35 andy * Source/cmSystemTools.cxx: When cd-jing into directory, if directory has space, it should put quotes around. I guess we could just put quotes around all the time 2002-11-28 23:45 ibanez * Modules/FindFLTK.cmake: ENH: FLTK 1.1.1 under Windows links now with the comctl32 library. 2002-11-27 07:42 andy * Tests/ObjC++/CMakeLists.txt: Add missing library. The test should be linked to framework Cocoa 2002-11-27 07:41 andy * Source/cmSystemTools.cxx: Add objective C++ file in the list of C++ files. This may be wrong, but it will fix problems on Mac for now 2002-11-26 19:02 starreveld * Source/CMakeLists.txt: Add ObjC++ test for OSX 2002-11-26 19:01 starreveld * Tests/ObjC++/: CMakeLists.txt, objc++.mm: Test for ObjC++ on OSX machines only 2002-11-26 09:37 andy * Source/cmTryCompileCommand.cxx: Remove warning 2002-11-25 17:57 andy * Modules/FindwxWindows.cmake: Change priorities 2002-11-22 16:59 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: fix for paths with spaces and borland 2002-11-22 16:18 hoffman * Modules/Platform/Windows-bcc32.cmake: change flags for borland 2002-11-22 15:44 andy * Source/cmLocalVisualStudio6Generator.cxx: Revert back to 1.5, since it is fixed in ConvertToOutputPath and this breaks Windows 98 2002-11-22 09:45 andy * Source/CursesDialog/cmCursesMainForm.cxx: Rename local variable 2002-11-21 23:54 hoffman * Source/cmLocalVisualStudio7Generator.cxx: add support for CMAKE_C_FLAGS and handle quotes in CMAKE_CXX_FLAGS 2002-11-21 16:11 hoffman * Source/cmTryCompileCommand.cxx: fix for c flags 2002-11-21 16:03 hoffman * Source/: cmTryCompileCommand.cxx: fix flag setting 2002-11-21 15:36 hoffman * Modules/Platform/CYGWIN.cmake: remove debug stuff 2002-11-21 15:15 hoffman * Source/cmTryCompileCommand.cxx: move compile defs to cxx and c flags 2002-11-21 14:59 hoffman * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: clean up entire temp directory 2002-11-21 14:45 hoffman * Modules/: CheckIncludeFileCXX.cmake, TestForANSIStreamHeaders.cmake: try to fix check for ansi stream 2002-11-21 14:32 hoffman * Modules/CheckIncludeFileCXX.cmake: fix order 2002-11-21 14:24 hoffman * Modules/TestForSTDNamespace.cmake: fix order 2002-11-21 14:11 hoffman * Modules/CheckIncludeFileCXX.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForANSIStreamHeaders.cmake, Modules/TestForSTDNamespace.cmake, Source/cmTryCompileCommand.cxx: move ansi cxx flags stuff out of try compile and into cmake files 2002-11-21 13:37 hoffman * Source/cmSystemTools.cxx: fix network paths with spaces 2002-11-21 13:28 hoffman * Modules/CMakeBackwardCompatibilityCXX.cmake: have to cache ansi_cxxflags 2002-11-21 12:59 hoffman * Modules/: CMakeBackwardCompatibilityCXX.cmake, TestCXXAcceptsFlag.cmake: spelling error 2002-11-21 12:52 hoffman * Modules/: CMakeBackwardCompatibilityCXX.cmake, DummyCXXFile.cxx, TestCXXAcceptsFlag.cmake, Platform/IRIX64.cmake, Platform/OSF1.cmake: add checks for ansi flags and not hard code them 2002-11-21 12:26 andy * Source/cmLocalVisualStudio6Generator.cxx: Fix for network paths with space 2002-11-21 12:26 andy * Source/ctest.cxx: Fix for network paths 2002-11-21 11:46 barre * Modules/CMakeSystemSpecificInformation.cmake: FUX: those vars need to be ADVANCED 2002-11-21 10:11 king * Modules/: CheckVariableExists.c, CheckVariableExists.cmake: ENH: Added CHECK_VARIABLE_EXISTS macro. 2002-11-21 10:03 king * Source/CursesDialog/cmCursesMainForm.cxx: ERR: Fixed string literal to char* warnings. 2002-11-21 08:45 hoffman * Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/Platform/CYGWIN.cmake, Source/cmLocalUnixMakefileGenerator.cxx, Tests/SystemInformation/SystemInformation.in: fix for create shared library 2002-11-21 08:19 martink * Tests/LinkLineOrder/: Exec1.c, Exec2.c, NoDepB.c, NoDepC.c, NoDepE.c, NoDepF.c, NoDepX.c, NoDepY.c, NoDepZ.c, One.c: converted c plus plus comments 2002-11-21 08:12 hoffman * Modules/CMakeSystemSpecificInformation.cmake: ENH: fix for module run time flag 2002-11-20 18:18 hoffman * Source/: cmCacheManager.h, cmSystemTools.cxx: rename foo variables to better names 2002-11-20 18:00 king * Source/: cmLoadCacheCommand.cxx, cmLoadCacheCommand.h: ENH: Added READ_WITH_PREFIX option to LOAD_CACHE command. This allows reading of cache values from another cache without actually creating local copies of the cache entires. The values are stored as prefixed local makefile variables. 2002-11-20 16:23 king * Modules/FindVTK.cmake: ENH: Added support to find VTK 4.0. 2002-11-20 15:23 hoffman * Modules/CMakeCCompiler.cmake.in: BUG: use CMAKE_COMPILER_IS_GNUCC not CMAKE_COMPILER_IS_GNUGCC 2002-11-20 14:40 ibanez * Modules/FindLATEX.cmake: ENH: Now also locates the "makeindex" program. 2002-11-20 14:11 king * Modules/FindVTK.cmake: ENH: Only search VTK_INSTALL_PATH if USE_INSTALLED_VTK is on. Only search VTK_BINARY_PATH if USE_BUILT_VTK is on. 2002-11-20 13:37 king * Modules/FindVTK.cmake: ENH: New implementation of FindVTK to take advantage of VTKConfig.cmake. Also provides more powerful search path mechanism, and requires only one cache entry in user project. 2002-11-20 12:58 king * Source/cmSystemTools.cxx: BUG: Attempt to fix CopyFile problem using flush before check for success. 2002-11-20 09:06 king * Source/cmGetFilenameComponentCommand.cxx: ERR: Fixed signed/unsigned warning. 2002-11-20 09:06 king * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fixed unused parameter warning. 2002-11-20 09:04 martink * Tests/LinkLineOrder/NoDepA.c: fixed comments to be c style not c plus plus 2002-11-19 18:17 hoffman * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeSystemSpecificInformation.cmake, Source/cmGetFilenameComponentCommand.cxx, Source/cmGetFilenameComponentCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h: allow flags to be in the CC and CXX environment variables 2002-11-19 18:01 perera * Source/CMakeLists.txt, Source/cmMakefile.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Tests/LinkLineOrder/CMakeLists.txt, Tests/LinkLineOrder/Exec1.c, Tests/LinkLineOrder/Exec2.c, Tests/LinkLineOrder/NoDepA.c, Tests/LinkLineOrder/NoDepB.c, Tests/LinkLineOrder/NoDepC.c, Tests/LinkLineOrder/NoDepE.c, Tests/LinkLineOrder/NoDepF.c, Tests/LinkLineOrder/NoDepX.c, Tests/LinkLineOrder/NoDepY.c, Tests/LinkLineOrder/NoDepZ.c, Tests/LinkLineOrder/One.c, Tests/LinkLineOrder/Two.c: BUG: the dependency analysis would incorrectly alphabetically re-order the link lines, which affects external libraries pulled up from deep within the dependency tree. Fixed by preserving order everywhere. 2002-11-19 15:55 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: fixes to better honor env CC and CXX 2002-11-19 14:40 hoffman * Source/cmSystemTools.cxx: ENH: add some better output when copy file fails 2002-11-19 14:40 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: fix some warnings 2002-11-19 13:19 andy * Source/CursesDialog/cmCursesPathWidget.cxx: Add / after directory name when doing tab completion 2002-11-19 13:09 andy * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesMainForm.h: Add progress to ccmake 2002-11-19 12:20 hoffman * Modules/CMakeSystemSpecificInformation.cmake: BUG: fix CFLAGS 2002-11-19 12:18 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: BUG: fix handling of CXX 2002-11-19 09:12 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: fix warning 2002-11-19 09:01 martink * Source/cmSystemTools.cxx: fix in warning 2002-11-18 16:29 andy * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesMainForm.h: Initial add of progress 2002-11-18 15:14 hoffman * Modules/: CMakeBackwardCompatibilityC.cmake, FindThreads.cmake: BUG: fix for thread and cache override 2002-11-18 10:52 andy * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckLibraryExists.cmake, CheckSizeOf.cmake, TestForANSIForScope.cmake, TestForANSIStreamHeaders.cmake, TestForSTDNamespace.cmake: Add more messages, make messages look the same, add checks if test was already successfull 2002-11-18 10:51 andy * Modules/CMakeSystemSpecificInformation.cmake: If system detection fails, make copy of CMakeCache 2002-11-18 09:08 hoffman * Tests/SystemInformation/SystemInformation.in: add print for compiler is gnu 2002-11-17 17:28 martink * Source/: cmake.cxx, cmLocalUnixMakefileGenerator.cxx: fix some compiler warnings hopefully 2002-11-15 17:45 hoffman * Modules/Platform/Windows-bcc32.cmake, Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for borland run time dll 2002-11-15 16:00 hoffman * Modules/Platform/SunOS.cmake: fix for sun 2002-11-15 13:17 martink * Source/cmake.cxx: fixed bad source directory bug 2002-11-15 12:54 martink * Source/cmIfCommand.cxx: fixed compiler warning 2002-11-15 10:07 hoffman * Modules/CMakeSystemSpecificInformation.cmake: ENH: add back install prefix 2002-11-15 09:30 hoffman * Modules/FindThreads.cmake: fix thread logic 2002-11-15 09:16 hoffman * Modules/CMakeSystemSpecificInformation.cmake: ENH: add CFLAGS and CXXFLAGS 2002-11-15 07:42 andy * Source/cmakemain.cxx: Oops, std namespace 2002-11-14 17:12 andy * Source/cmakemain.cxx: Add Progress support 2002-11-14 16:29 berk * Modules/Platform/HP-UX.cmake: temp fix for hp 2002-11-14 16:29 hoffman * Source/TODO: [no log message] 2002-11-14 16:12 berk * Modules/Platform/HP-UX.cmake: fix flags for hp 2002-11-14 14:06 andy * Source/cmLocalUnixMakefileGenerator.cxx: Fix compile flags on c files in static liobraries on windows 2002-11-14 11:33 andy * Modules/CMakeSystemSpecificInformation.cmake, Modules/Platform/Windows-cl.cmake, Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix flags for c compiler on windows 2002-11-14 11:16 martink * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: added another func 2002-11-14 11:03 martink * Source/: cmCPluginAPI.h, cmCPluginAPI.cxx: added another func 2002-11-14 09:38 andy * Modules/: FindJNI.cmake, FindJava.cmake, FindPythonLibs.cmake: Clean find for Python, add find for python 2.2 on windows, cleanup java on windows and add java 1.4 support 2002-11-14 09:38 berk * Source/cmLocalUnixMakefileGenerator.cxx: Added missing space. 2002-11-14 09:37 andy * Source/cmLocalUnixMakefileGenerator.cxx: Fix building on NMake. Use short paths 2002-11-14 08:59 hoffman * Modules/Platform/Windows-bcc32.cmake: BUG: fix for missing temp file variable 2002-11-13 23:36 hoffman * Modules/Platform/Windows-bcc32.cmake, Source/cmLocalUnixMakefileGenerator.cxx: reorder tWR so that it does not crash with shared 2002-11-13 20:14 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: add support for borland run time flag for shared builds 2002-11-13 20:11 hoffman * Modules/Platform/Windows-bcc32.cmake: fix shared builds on borland and add debug stuff for makefiles 2002-11-13 18:27 hoffman * Source/: cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: BUG: fix for build out of dir for windows 2002-11-13 16:31 hoffman * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckLibraryExists.cmake, CheckSizeOf.cmake: ENH: add status messages 2002-11-13 15:59 martink * Source/: cmLocalUnixMakefileGenerator.cxx, cmMakefile.cxx, cmMakefile.h, cmMessageCommand.cxx, cmMessageCommand.h: ENH: space fixes and add a status option to message command 2002-11-13 15:32 martink * Modules/Platform/Windows-bcc32.cmake: ENH: move -P flag from cxxflags to the compile line for cxx files 2002-11-13 15:20 hoffman * Source/: cmGlobalUnixMakefileGenerator.cxx, cmake.cxx, cmake.h: ENH: check to make sure cmake matches the cmake used to generate the cache 2002-11-13 14:51 hoffman * Modules/Platform/Windows-bcc32.cmake: ENH: use correct run time library for borland 2002-11-13 14:31 hoffman * Source/: cmCacheManager.cxx, cmGlobalUnixMakefileGenerator.cxx: ENH: force a global generate if the cache version does not match the running cmake 2002-11-13 13:19 berk * Source/Makefile.in: BUG: add missing depend rules for hp make 2002-11-13 11:49 hoffman * Modules/FindX11.cmake: fix for nsl library and X11 2002-11-13 11:36 hoffman * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: fix for nsl library and X11 2002-11-13 11:25 hoffman * Modules/Platform/Windows-bcc32.cmake: BUG: fix order of link line for creating shared libraries 2002-11-12 19:39 king * Modules/CheckFunctionExists.cmake: BUG: Fixed doc string on generated variable. 2002-11-12 16:58 hoffman * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix path problems 2002-11-12 16:27 will * Modules/FindX11.cmake: Backwards compatibility. Andy and Bill made me add socket library. 2002-11-12 15:24 hoffman * Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Source/cmLocalUnixMakefileGenerator.cxx: ENH: add .def file support 2002-11-12 14:48 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: change to new variables 2002-11-12 14:19 hoffman * Modules/: CMakeBackwardCompatibilityC.cmake, CheckLibraryExists.cmake, FindThreads.cmake: add find threads check 2002-11-12 14:18 hoffman * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx, DumpInformation.h.in, SystemInformation.in: clean up test for html output 2002-11-12 13:06 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix reg expression 2002-11-12 12:47 king * Source/cmLocalUnixMakefileGenerator.cxx: [no log message] 2002-11-12 10:47 barre * Modules/FindOpenGL.cmake: FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times 2002-11-12 09:33 hoffman * Tests/SystemInformation/DumpInformation.cxx: [no log message] 2002-11-12 09:31 hoffman * Tests/SystemInformation/CMakeLists.txt: fix project name 2002-11-12 09:12 hoffman * Modules/: CMakeSystemSpecificInformation.cmake, Platform/CYGWIN.cmake, Platform/Windows-bcc32.cmake, Platform/Windows-cl.cmake: Set CMAKE_BUILD_TOOL 2002-11-11 18:10 hoffman * Modules/CMakeSystemSpecificInformation.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt, Source/TODO, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h: ENH: fix up several problems with new stuff 2002-11-11 18:07 hoffman * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx, DumpInformation.h.in, SystemInformation.in: new test 2002-11-11 17:00 hoffman * Modules/Platform/OSF1.cmake: Fix for OSF 2002-11-11 13:15 andy * Source/cmLocalUnixMakefileGenerator.cxx: Fix regular expressions to be able to handle windows libraries 2002-11-11 12:31 hoffman * Modules/CMakeBackwardCompatibilityC.cmake, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeSystem.cmake.in, Modules/CMakeSystemSpecificInformation.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/gcc.cmake, Source/TODO, Source/cmGlobalUnixMakefileGenerator.cxx: clean up flags with _init flags 2002-11-11 11:43 hoffman * Modules/: CMakeLists.txt, Platform/CMakeLists.txt: add install stuff for platform directory 2002-11-11 09:11 hoffman * Modules/Platform/Darwin.cmake: ENH: fix for darwin modules 2002-11-10 10:02 hoffman * Modules/Platform/: HP-UX.cmake, IRIX.cmake, IRIX64.cmake, Windows-bcc32.cmake, Windows-cl.cmake, gcc.cmake: BUG: fix setting of c flags 2002-11-09 13:43 hoffman * Modules/Platform/: HP-UX.cmake, IRIX.cmake, IRIX64.cmake, Windows-bcc32.cmake, Windows-cl.cmake, gcc.cmake: fix for cxxflags 2002-11-08 18:07 king * Modules/Platform/Linux-como.cmake: ENH: Adding support for comeau C++ compiler. 2002-11-08 18:06 king * Modules/: CMakeSystemSpecificInformation.cmake, Platform/HP-UX.cmake, Platform/IRIX.cmake, Platform/IRIX64.cmake, Platform/Linux.cmake, Platform/Windows-bcc32.cmake, Platform/Windows-cl.cmake, Platform/gcc.cmake: ENH: Moved caching of C*_FLAGS* settings down to CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end. 2002-11-08 18:05 king * Source/cmSetCommand.cxx: BUG: A variable is not in the cache if it is UNINITIALIZED. 2002-11-08 18:05 king * Source/cmGlobalCodeWarriorGenerator.cxx: ERR: Removed use of NULL. 2002-11-08 18:05 king * Source/cmSystemTools.cxx: ERR: Added missing include. 2002-11-08 17:24 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake: store the compiler in the cache 2002-11-08 15:46 hoffman * CMakeLists.txt, Modules/CMakeBackwardCompatibilityCXX.cmake, Modules/CMakeCCompiler.cmake.in, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakePrintSystemInformation.cmake, Modules/CMakeSystem.cmake.in, Modules/CMakeSystemSpecificInformation.cmake, Modules/CYGWIN.cmake, Modules/CheckIncludeFile.cxx.in, Modules/CheckIncludeFileCXX.cmake, Modules/TestForANSIForScope.cmake, Modules/TestForAnsiForScope.cxx, Modules/TestForSTDNamespace.cmake, Modules/TestForSTDNamespace.cxx, Modules/Windows.cmake, Modules/Platform/AIX.cmake, Modules/Platform/BSDOS.cmake, Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake, Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake, Modules/Platform/Linux.cmake, Modules/Platform/MP-RAS.cmake, Modules/Platform/NetBSD.cmake, Modules/Platform/OSF1.cmake, Modules/Platform/OpenBSD.cmake, Modules/Platform/RISCos.cmake, Modules/Platform/SCO_SV.cmake, Modules/Platform/SINIX.cmake, Modules/Platform/SunOS.cmake, Modules/Platform/True64.cmake, Modules/Platform/ULTRIX.cmake, Modules/Platform/UNIX_SV.cmake, Modules/Platform/UnixWare.cmake, Modules/Platform/Windows-bcc32.cmake, Modules/Platform/Windows-cl.cmake, Modules/Platform/Windows.cmake, Modules/Platform/Xenix.cmake, Modules/Platform/gcc.cmake, Source/CMakeLists.txt, Source/TODO, Source/cmExecProgramCommand.cxx, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.h, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.h, Source/cmIfCommand.cxx, Source/cmLoadCommandCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx, Source/cmStandardIncludes.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTryCompileCommand.cxx, Source/cmWin32ProcessExecution.cxx, Source/cmWin32ProcessExecution.h, Source/ctest.cxx: Complete rework of makefile generators expect trouble 2002-11-08 13:28 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeSystemSpecificInformation.cmake, Platform/Windows-bcc32.cmake, Platform/Windows-cl.cmake: [no log message] 2002-11-08 11:31 hoffman * Source/ctest.cxx: fix ctest 2002-11-08 11:30 hoffman * Modules/: AIX.cmake, BSDOS.cmake, CMakeSystemSpecificInformation.cmake, CYGWIN.cmake, Darwin.cmake, FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake, Linux.cmake, MP-RAS.cmake, NetBSD.cmake, OSF1.cmake, OpenBSD.cmake, RISCos.cmake, SCO_SV.cmake, SINIX.cmake, SunOS.cmake, True64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixWare.cmake, Windows-bcc32.cmake, Windows-cl.cmake, Windows.cmake, Xenix.cmake, gcc.cmake, Platform/AIX.cmake, Platform/BSDOS.cmake, Platform/CYGWIN.cmake, Platform/Darwin.cmake, Platform/FreeBSD.cmake, Platform/HP-UX.cmake, Platform/IRIX.cmake, Platform/IRIX64.cmake, Platform/Linux.cmake, Platform/MP-RAS.cmake, Platform/NetBSD.cmake, Platform/OSF1.cmake, Platform/OpenBSD.cmake, Platform/RISCos.cmake, Platform/SCO_SV.cmake, Platform/SINIX.cmake, Platform/SunOS.cmake, Platform/True64.cmake, Platform/ULTRIX.cmake, Platform/UNIX_SV.cmake, Platform/UnixWare.cmake, Platform/Windows-bcc32.cmake, Platform/Windows-cl.cmake, Platform/Windows.cmake, Platform/Xenix.cmake, Platform/gcc.cmake: move to platform directory 2002-11-08 11:09 hoffman * Modules/CMakeSystemSpecificInformation.cmake: hp fixes 2002-11-08 10:40 hoffman * Modules/HP-UX.cmake: hp fixes 2002-11-08 10:29 hoffman * Modules/HP-UX.cmake: hp fixes 2002-11-08 10:22 hoffman * Modules/CMakeSystemSpecificInformation.cmake, Modules/HP-UX.cmake, Source/cmLocalUnixMakefileGenerator.cxx: hp fixes 2002-11-08 08:47 hoffman * Modules/: CMakeBackwardCompatibilityCXX.cmake, HP-UX.cmake, TestForANSIForScope.cmake: ENH: fix for hp and remove some messages 2002-11-07 17:45 hoffman * Modules/: CMakeBackwardCompatibilityCXX.cmake, TestForANSIForScope.cmake, TestForAnsiForScope.cxx, TestForSTDNamespace.cxx: [no log message] 2002-11-07 17:26 hoffman * Modules/TestForANSIForScope.cmake: [no log message] 2002-11-07 17:21 hoffman * Modules/: CMakeBackwardCompatibilityCXX.cmake, HP-UX.cmake, TestForAnsiForScope.cxx, TestForSTDNamespace.cmake, TestForSTDNamespace.cxx: [no log message] 2002-11-07 11:43 hoffman * Modules/Windows-cl.cmake, Source/cmExecProgramCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx: win32 apps and crash on sun 2002-11-07 09:22 king * Source/cmStringCommand.cxx: ERR: Fixed signed/unsigned warnings. 2002-11-07 09:15 andy * Source/CursesDialog/cmCursesMainForm.cxx: Revert 2002-11-07 09:04 andy * Source/: cmake.cxx, cmake.h: Revert back 2002-11-06 23:25 hoffman * Source/: cmGlobalNMakeMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: clean up echos 2002-11-06 23:06 hoffman * Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/Windows-bcc32.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h: borland mostly working, tests are passing, no command to file stuff yet 2002-11-06 18:40 king * Modules/FindITK.cmake: ENH: Enhanced FindITK supporting use of ITK from an install tree or a build tree. Only one cache entry is brought into user's project, called "ITK_DIR". This is the location of an ITKConfig.cmake file from which other settings are loaded. 2002-11-06 18:05 king * Source/cmStringCommand.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: BUG: Fixed STRING(REGEX REPLACE ...) and added better test. 2002-11-06 17:35 king * Source/cmCommands.cxx, Source/cmStringCommand.cxx, Source/cmStringCommand.h, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Added STRING command. 2002-11-06 17:04 hoffman * Modules/Windows-bcc32.cmake: borland config 2002-11-06 16:59 king * Source/: cmRegularExpression.cxx, cmRegularExpression.h: ENH: compile method now returns whether compilation succeeded. 2002-11-06 16:30 hoffman * Modules/Windows-cl.cmake, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h: borland getting closer 2002-11-06 16:05 andy * Templates/AppleInfo.plist: Use CMake icon on Mac 2002-11-06 14:56 andy * CMakeIcon.icns: Add Mac icon 2002-11-06 14:54 andy * CMakeIcon.icns: Add CMake icon 2002-11-06 13:06 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, ctest.cxx: Move the hi-res time to system tools 2002-11-06 12:04 andy * Source/: cmake.cxx, cmake.h, CursesDialog/cmCursesMainForm.cxx: In certain cases, try to guess the source directory, so that you can run cmake or ccmake without specifying source dir 2002-11-06 11:36 andy * Source/: cmSystemTools.cxx, CursesDialog/cmCursesPathWidget.cxx: Remove warning 2002-11-06 11:20 barre * Source/cmMakeDepend.cxx: FIX: a / was appended without checking if there wasn't one already. 2002-11-06 08:52 andy * Tests/X11/X11.c: Try to fix test 2002-11-05 23:07 hoffman * Source/: TODO, cmLocalUnixMakefileGenerator.cxx: remove warning 2002-11-05 22:55 hoffman * Modules/: CMakeDetermineCCompiler.cmake, IRIX64.cmake: ranlib trouble 2002-11-05 22:44 hoffman * Modules/: CMakeDetermineCCompiler.cmake, IRIX.cmake, IRIX64.cmake: fix for no ranlib 2002-11-05 18:11 hoffman * CMakeLists.txt, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeSystem.cmake.in, Modules/IRIX64.cmake: remove debug message statements 2002-11-05 18:06 hoffman * Modules/: IRIX64.cmake: [no log message] 2002-11-05 17:57 hoffman * Modules/IRIX64.cmake, Source/cmLocalUnixMakefileGenerator.cxx: [no log message] 2002-11-05 17:55 hoffman * CMakeLists.txt: debug 2002-11-05 17:49 hoffman * Modules/CMakeDefaultMakeRuleVariables.cmake: enh: add to link libs 2002-11-05 17:31 hoffman * Modules/: CYGWIN.cmake, IRIX.cmake, IRIX64.cmake, gcc.cmake: add flags 2002-11-05 17:20 andy * Modules/FindX11.cmake: Make things advanced 2002-11-05 17:05 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: add cxx flags to link exe 2002-11-05 15:49 hoffman * Modules/: HP-UX.cmake, IRIX64.cmake, OSF1.cmake: add ansi flags 2002-11-05 14:33 hoffman * Modules/: IRIX.cmake, IRIX64.cmake, SunOS.cmake: [no log message] 2002-11-05 14:10 hoffman * Modules/: AIX.cmake, BSDOS.cmake, Darwin.cmake, FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, MP-RAS.cmake, NetBSD.cmake, OSF1.cmake, OpenBSD.cmake, RISCos.cmake, SCO_SV.cmake, SINIX.cmake, SunOS.cmake, True64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixWare.cmake, Xenix.cmake: ENH: add all the OS files 2002-11-05 13:35 andy * Source/CursesDialog/ccmake.cxx: Cleanup 2002-11-05 11:52 hoffman * Modules/Linux.cmake: add linux config file 2002-11-05 11:31 hoffman * Modules/: CMakeSystemSpecificInformation.cmake, Windows.cmake: add check for sstream 2002-11-05 11:02 hoffman * Modules/: CMakeBackwardCompatibilityCXX.cmake, CheckIncludeFile.cxx.in, CheckIncludeFileCXX.cmake: add check for sstream 2002-11-05 10:45 hoffman * Source/: cmGlobalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: fix backwards compat enable and remove full path target 2002-11-05 08:52 andy * Source/CursesDialog/: cmCursesFilePathWidget.cxx, cmCursesFilePathWidget.h, cmCursesPathWidget.cxx, cmCursesStringWidget.cxx: Reparent file path widget, add tab completion support to path anf file path widget 2002-11-05 08:51 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: Add a simple globbing of files and directories 2002-11-05 07:15 andy * Modules/FindX11.cmake, Tests/X11/CMakeLists.txt: Try to fix FindX11 2002-11-05 07:06 andy * Tests/X11/X11.c: Simplify 2002-11-04 19:45 king * Source/cmITKWrapTclCommand.cxx: ENH: Added generation of --gccxml-compiler argument to GCC-XML for msvc6, msvc7, and nmake makefiles generators. 2002-11-04 17:37 andy * Source/CursesDialog/: cmCursesPathWidget.cxx, cmCursesPathWidget.h, cmCursesStringWidget.cxx, cmCursesStringWidget.h: Start working on adding tab support 2002-11-04 16:59 andy * Source/cmWin32ProcessExecution.cxx: Fix windows process execution so that it pops up the windows 2002-11-04 16:26 hoffman * Modules/CMakeCCompiler.cmake.in, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/Windows-cl.cmake, Modules/Windows.cmake, Source/TODO, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTryCompileCommand.cxx: nmake passing tests 2002-11-04 15:01 andy * Source/cmWriteFileCommand.cxx: Make directory if it does not exist yet 2002-11-04 14:50 andy * Templates/AppleInfo.plist: Attempt to automate apple gui generation 2002-11-04 11:54 andy * Tests/X11/X11.c: Fix test 2002-11-04 10:13 hoffman * Source/TODO: [no log message] 2002-11-04 10:11 hoffman * CMakeLists.txt, Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakePrintSystemInformation.cmake, Modules/CMakeSystemSpecificInformation.cmake, Modules/Windows-cl.cmake, Modules/Windows.cmake, Source/CMakeLists.txt, Source/cmGlobalBorlandMakefileGenerator.cxx, Source/cmGlobalNMakeMakefileGenerator.cxx, Source/cmIfCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx: nmake almost working 2002-11-03 18:18 andy * Tests/X11/X11.c: Try to make test to run 2002-11-01 22:57 hoffman * Source/CMakeLists.txt: make qt stuff advanced 2002-10-31 10:36 andy * Templates/CCMakeSystemConfig.cmake.in: Revert X11 stuff until other steps are done 2002-10-29 15:58 andy * Tests/X11/X11.c: Print message on system without X11 2002-10-29 15:54 andy * Tests/X11/: CMakeLists.txt, X11.c: Add Windows code 2002-10-29 15:47 andy * Modules/FindX11.cmake: Now it should work 2002-10-29 15:46 andy * Source/CMakeLists.txt, Tests/X11/CMakeLists.txt, Tests/X11/X11.c: Add test for X11 2002-10-29 15:03 hoffman * Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeDefaultMakeRuleVariables.cmake, Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeDetermineCXXCompiler.cmake, Modules/CMakeDetermineSystem.cmake, Modules/CMakePrintSystemInformation.cmake, Modules/CMakeSystem.cmake.in, Modules/CMakeSystemSpecificInformation.cmake, Modules/CYGWIN.cmake, Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h, Source/cmGlobalNMakeMakefileGenerator.h, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmGlobalUnixMakefileGenerator.h, Source/cmLoadCommandCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Tests/Testing/CMakeLists.txt: branch checkin of working cygwin build for generator cleanup and removal of configure 2002-10-29 13:34 andy * Templates/CCMakeSystemConfig.cmake.in: Remove X11 stuff 2002-10-29 13:34 andy * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckLibraryExists.cmake, CheckSizeOf.cmake, TestBigEndian.cmake: Add append to write_file 2002-10-29 13:32 andy * Source/: cmWriteFileCommand.cxx, cmWriteFileCommand.h: Add flag to WRITE_FILE to append 2002-10-29 13:30 andy * Modules/CMakeBackwardCompatibilityC.cmake: Do this the right way 2002-10-29 13:30 andy * Modules/FindX11.cmake: This should substitute configure part that finds X11 2002-10-28 10:29 king * Source/cmITKWrapTclCommand.cxx: ENH: Added generation of --gccxml-cxxflags option to complement --gccxml-compiler. 2002-10-25 16:47 hoffman * Modules/CMakeDetermineCCompiler.cmake, Modules/CMakeSystemSpecificInformation.cmake, Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmLocalUnixMakefileGenerator.cxx: [no log message] 2002-10-25 16:13 hoffman * Modules/CMakeCXXCompiler.cmake.in: [no log message] 2002-10-25 15:46 king * Utilities/cmake_release_cygwin.sh: ENH: Updated for cmake 1.4.6 package. Added automatic conversion of setup.hint to unix newlines. 2002-10-25 14:34 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeDetermineCCompiler.cmake: [no log message] 2002-10-25 14:25 hoffman * Source/: cmGlobalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h: test on unix 2002-10-25 14:13 king * Utilities/: cmake_release_config_darwin, cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_osf, cmake_release_config_sun, cmake_release_cygwin.sh: ENH: Updated for 1.4.6 release. 2002-10-25 14:08 hoffman * Modules/: CMakeDefaultMakeRuleVariables.cmake, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineSystem.cmake, CMakeSystemSpecificInformation.cmake: [no log message] 2002-10-24 15:39 hoffman * Source/cmake.cxx: BUG: fix stack limit size on mac OSX 2002-10-24 13:39 andy * Modules/CMakeBackwardCompatibilityC.cmake: Add check for big endian in backward compatibility scripts 2002-10-24 11:58 martink * Source/cmMakefile.h: updated patch level to 6 2002-10-24 11:48 martink * Source/cmBorlandMakefileGenerator.cxx: fix support for Win32 execs 2002-10-24 10:58 andy * Source/cmSubdirCommand.cxx: Subdirs reports an error if the subdirectory does not exists 2002-10-24 10:23 andy * Source/cmMakefile.cxx: Try to remove some warnings 2002-10-23 18:03 king * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h, cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddTestCommand.cxx, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h, cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h, cmCPluginAPI.cxx, cmCPluginAPI.h, cmCacheManager.cxx, cmCacheManager.h, cmCommand.h, cmCommands.cxx, cmCommands.h, cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmCreateTestSourceList.cxx, cmCreateTestSourceList.h, cmCustomCommand.cxx, cmCustomCommand.h, cmData.h, cmDirectory.cxx, cmDirectory.h, cmDumpDocumentation.cxx, cmDynamicLoader.cxx, cmDynamicLoader.h, cmElseCommand.cxx, cmElseCommand.h, cmEnableTestingCommand.cxx, cmEnableTestingCommand.h, cmEndForEachCommand.cxx, cmEndForEachCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmExecProgramCommand.cxx, cmExecProgramCommand.h, cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h, cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h, cmGeneratedFileStream.h, cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmGetSourceFilePropertyCommand.cxx, cmGetSourceFilePropertyCommand.h, cmGlobalBorlandMakefileGenerator.cxx, cmGlobalBorlandMakefileGenerator.h, cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h, cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeCommand.h, cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmIncludeExternalMSProjectCommand.cxx, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmListFileCache.cxx, cmListFileCache.h, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h, cmLoadCommandCommand.cxx, cmLoadCommandCommand.h, cmLocalBorlandMakefileGenerator.cxx, cmLocalBorlandMakefileGenerator.h, cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h, cmLocalNMakeMakefileGenerator.cxx, cmLocalNMakeMakefileGenerator.h, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h, cmMacroCommand.cxx, cmMacroCommand.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h, cmMarkAsAdvancedCommand.cxx, cmMarkAsAdvancedCommand.h, cmMessageCommand.cxx, cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h, cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h, cmProjectCommand.cxx, cmProjectCommand.h, cmQTWrapCPPCommand.cxx, cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h, cmRegularExpression.cxx, cmRegularExpression.h, cmRemoveCommand.cxx, cmRemoveCommand.h, cmSeparateArgumentsCommand.cxx, cmSeparateArgumentsCommand.h, cmSetCommand.cxx, cmSetCommand.h, cmSetSourceFilesPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h, cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmStandardIncludes.h, cmSubdirCommand.cxx, cmSubdirCommand.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmTryCompileCommand.cxx, cmTryCompileCommand.h, cmTryRunCommand.cxx, cmTryRunCommand.h, cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h, cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h, cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h, cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h, cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h, cmWriteFileCommand.cxx, cmWriteFileCommand.h, cmake.cxx, cmake.h, cmakemain.cxx, cmaketest.cxx, cmakewizard.cxx, cmakewizard.h, cmw9xcom.cxx, ctest.cxx, ctest.h, CursesDialog/ccmake.cxx, CursesDialog/cmCursesBoolWidget.cxx, CursesDialog/cmCursesBoolWidget.h, CursesDialog/cmCursesCacheEntryComposite.cxx, CursesDialog/cmCursesCacheEntryComposite.h, CursesDialog/cmCursesDummyWidget.cxx, CursesDialog/cmCursesDummyWidget.h, CursesDialog/cmCursesFilePathWidget.cxx, CursesDialog/cmCursesFilePathWidget.h, CursesDialog/cmCursesForm.cxx, CursesDialog/cmCursesForm.h, CursesDialog/cmCursesLabelWidget.cxx, CursesDialog/cmCursesLabelWidget.h, CursesDialog/cmCursesLongMessageForm.cxx, CursesDialog/cmCursesLongMessageForm.h, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h, CursesDialog/cmCursesPathWidget.cxx, CursesDialog/cmCursesPathWidget.h, CursesDialog/cmCursesStandardIncludes.h, CursesDialog/cmCursesStringWidget.cxx, CursesDialog/cmCursesStringWidget.h, CursesDialog/cmCursesWidget.cxx, CursesDialog/cmCursesWidget.h: ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. 2002-10-23 16:57 hoffman * Source/: cmExecProgramCommand.cxx, cmExecProgramCommand.h: ENH: if output variable turn verbose off 2002-10-23 16:53 hoffman * Modules/: CMakeCCompiler.cmake.in, CMakeDefaultMakeRuleVariables.cmake, CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineSystem.cmake, CMakePrintSystemInformation.cmake, CMakeSystem.cmake.in, CMakeSystemSpecificInformation.cmake, CYGWIN.cmake: closer to removing autoconf 2002-10-23 16:43 king * Source/CursesDialog/form/frm_driver.c: ERR: Another attempt to remove warnings from missing prototypes. 2002-10-22 18:17 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeTestGNU.c, Windows.cmake: test for gnu compiler 2002-10-22 15:04 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeSystemSpecificInformation.cmake, CYGWIN.cmake: [no log message] 2002-10-22 10:36 hoffman * Source/cmLocalBorlandMakefileGenerator.cxx: BUG: make sure win32 exes are win32 2002-10-22 10:34 hoffman * Modules/: CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake, CMakeDetermineSystem.cmake, CMakeSystemSpecificInformation.cmake: new cmake based configuration 2002-10-18 15:51 andy * Source/ctest.cxx: When in verbose mode print test command 2002-10-18 12:08 andy * Source/cmWin32ProcessExecution.h: Improve comment 2002-10-17 10:50 andy * Source/: CursesDialog/cmCursesMainForm.cxx, cmCreateTestSourceList.cxx, cmDirectory.cxx, cmFindProgramCommand.cxx, cmGlobalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmSystemTools.cxx, cmUseMangledMesaCommand.cxx: Rename variables to remove warnings 2002-10-16 13:30 martink * Source/cmVTKWrapTclCommand.cxx: update to handle tcl 84 2002-10-16 11:48 martink * Source/CursesDialog/cmCursesLongMessageForm.cxx: fix compiler warnings 2002-10-16 11:41 martink * Source/CursesDialog/form/fty_regex.c: fix compiler warnings 2002-10-16 11:37 martink * Source/CursesDialog/form/: fty_alnum.c, fty_alpha.c, fty_int.c, fty_ipv4.c, fty_num.c: fix compiler warnings 2002-10-16 11:32 martink * Source/CursesDialog/: cmCursesMainForm.cxx, ccmake.cxx: fixed a warning 2002-10-16 11:24 martink * Source/CursesDialog/cmCursesLongMessageForm.cxx: fixed a warning 2002-10-16 11:20 martink * Source/CursesDialog/: cmCursesForm.h, cmCursesLabelWidget.cxx: fixed a warning 2002-10-16 11:16 martink * Source/CursesDialog/: cmCursesBoolWidget.cxx, cmCursesDummyWidget.cxx: fixed a warning 2002-10-16 10:53 king * Source/CursesDialog/form/frm_driver.c: ENH: Another attempt to fix OSF warnings. Also removed TABS. 2002-10-16 08:49 andy * Source/ctest.cxx: Remove unused variable 2002-10-15 14:33 martink * Source/cmLoadCommandCommand.cxx: better warning message 2002-10-15 11:45 martink * Source/cmLoadCommandCommand.cxx: better warning message 2002-10-15 07:20 andy * Source/ctest.cxx: Remove std::hex as it does not seems to work on SGI, attempt to fix ftime problem on borland 2002-10-14 18:33 andy * Source/ctest.cxx: Fix namespace, typo, and make ftime work on windows 2002-10-14 15:11 andy * Source/: ctest.cxx, ctest.h: Even more cleanups, fix time on certain platforms such as windows, cygwin, and linux. Hopefully we can add entries for other platforms until try_compile works. Also escape certain characters for xml. 2002-10-14 09:30 andy * Source/ctest.cxx: More cleanups, fix prexontext and log number 2002-10-13 23:07 andy * Source/: ctest.cxx, ctest.h: Add LastBuild.log file, fix some minor problems in output, modify output a bit... 2002-10-11 13:17 martink * Source/cmLocalCodeWarriorGenerator.cxx: compiler warning 2002-10-11 11:22 iscott * Modules/Dart.cmake: Add option to control number of errors sent to dashbaord 2002-10-11 10:16 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added Split method to cmSystemTools to split a string into lines on its newlines. 2002-10-11 10:14 king * Modules/FindCABLE.cmake: BUG: Should not load CMAKE_INSTALL_PREFIX from the cache. 2002-10-11 08:36 king * Source/cmStandardIncludes.h: ERR: istrstream and istringstream need to be pulled into namespace std on the SGI. 2002-10-10 11:08 andy * Source/cmWin32ProcessExecution.cxx: Fix network build 2002-10-10 10:45 barre * Modules/FindJava.cmake, Templates/CCMakeSystemConfig.cmake.in, Templates/CMakeBorlandWindowsSystemConfig.cmake, Templates/CMakeDotNetSystemConfig.cmake, Templates/CMakeNMakeWindowsSystemConfig.cmake, Templates/CMakeWindowsSystemConfig.cmake, Templates/CXXCMakeSystemConfig.cmake.in: ENH: mark some vars as advanced (and resort the list) 2002-10-10 10:43 king * Source/: cmCMakeMinimumRequired.cxx, cmLocalBorlandMakefileGenerator.cxx, cmLocalNMakeMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx, cmStandardIncludes.h, cmSystemTools.cxx, cmVTKMakeInstantiatorCommand.cxx, cmake.cxx, ctest.cxx: ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 09:41 andy * Source/: cmGlobalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.cxx, cmStandardIncludes.h: Remove compile error and remove some warnings 2002-10-10 09:02 king * Utilities/cmake_release_config_osf: ENH: Updated for actual build. 2002-10-10 08:25 martink * Source/: cmGlobalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.cxx: fixed some compiler warnings 2002-10-10 08:23 andy * Source/ctest.cxx: Remove warning 2002-10-10 08:11 andy * Source/cmSetCommand.cxx: Remove warning 2002-10-10 08:11 andy * Source/: cmStandardIncludes.h, ctest.cxx: Try to use platform independent input string stream 2002-10-09 17:47 martink * Source/: cmDynamicLoader.cxx, cmaketest.cxx: Remove memory leak caused by cmDynamicLoader not being deleted properly 2002-10-09 15:54 martink * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: added test of SET CACHE FORCE 2002-10-09 15:48 martink * Source/: cmSetCommand.cxx, cmSetCommand.h: added FORCE option 2002-10-09 15:36 martink * Source/CursesDialog/ccmake.cxx: fix for OSF 2002-10-09 15:24 barre * Source/cmGlobalGenerator.cxx: ENH: update the progress when generating is "done". 2002-10-09 13:49 martink * Source/cmGlobalCodeWarriorGenerator.h: changed name 2002-10-09 13:47 andy * Modules/FindwxWindows.cmake: Add some search paths 2002-10-09 13:37 martink * Source/cmake.cxx: added Code Warrior dev 2002-10-09 13:31 martink * Source/: Makefile.in, CMakeLists.txt: added build for Code Warrior 2002-10-09 13:30 martink * Source/: cmGlobalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h: some updates 2002-10-08 22:54 andy * Source/: ctest.cxx, ctest.h: Reorganization, cleanup and some improvement in dart emulation 2002-10-08 22:00 andy * Source/: ctest.cxx, ctest.h: Add parsing of warnings and errors 2002-10-08 20:02 andy * Source/: ctest.cxx, ctest.h: Add configure option and fix potential bug in other targets. Now the run command is actually run with directory, so eventually we should be able to run this from a subdirectory 2002-10-08 15:55 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: new plugin API 2002-10-08 15:55 martink * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h, cmLoadCommandCommand.cxx: some mods to the plugin API 2002-10-08 10:53 hoffman * Source/cmExecProgramCommand.cxx: BUG: get all the output including the last character 2002-10-07 16:23 martink * CMakeLists.txt: added header dep 2002-10-07 09:20 andy * Tests/COnly/: foo.c, foo.h: Fix problem on HP 2002-10-07 09:16 martink * Source/cmIfCommand.cxx: minor fix to allow if with no arguments 2002-10-07 08:23 andy * Source/cmGlobalVisualStudio6Generator.cxx: Suppress output of trycompile 2002-10-06 21:25 andy * Source/ctest.cxx: Fix update so that it actually updates the source directory, 2002-10-06 21:24 andy * Source/cmSystemTools.cxx: Fix for run command on windows. If you specify command in quotes but not full path, it should still work 2002-10-06 20:44 andy * Source/ctest.cxx: Add missing namespace 2002-10-06 20:44 andy * Source/cmSystemTools.cxx: Revert back. Does not seems to work on Windows 2002-10-06 20:36 andy * Source/: ctest.cxx, ctest.h: Add some minimal Dart capability to ctest. For example now you can actually use ctest to build projects, do cvs update on all platforms. This is especially cool for Visual Studio where you do not want to load the whole development environment just to build your project. 2002-10-06 18:56 andy * Source/cmSystemTools.cxx: Check if directory was actually created 2002-10-06 15:10 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake: ENH: nmake now uses incremental linking as Msdev does. Faster build (linking a static vtk.exe or paraview.exe could take more than 10 minutes) 2002-10-06 12:12 andy * Source/cmTarget.cxx, Tests/COnly/CMakeLists.txt, Tests/COnly/conly.c, Tests/COnly/foo.c, Tests/COnly/foo.h: If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works... 2002-10-05 10:24 andy * Source/: cmSystemTools.cxx, cmWin32ProcessExecution.h: Fix borland build. Borland Run command should be static, since it is called with no object... 2002-10-04 18:16 andy * Source/: cmMakefile.cxx, cmMakefile.h, cmRegularExpression.cxx, cmRegularExpression.h, cmSourceGroupCommand.cxx: Try to improve source group interface 2002-10-04 14:01 andy * Source/cmCacheManager.cxx: Remove tabs 2002-10-04 12:30 andy * Source/cmCacheManager.cxx: Fix reading of advanced values from CMakeCache 2002-10-04 11:42 martink * Source/: cmLocalCodeWarriorGenerator.h, cmGlobalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.cxx: updates 2002-10-04 11:33 barre * DartConfig.cmake: ENH: my opinion is that it should be ADVANCED. Few people build the doc. 2002-10-04 10:47 andy * Source/cmSystemTools.cxx: Add missing argument 2002-10-04 10:38 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: Cleanup RunCOmmand code and move borland one to vtkWin32ProcessExecution, so that it is all in one place... Add timeout option whihc does not work yet, but it should not produce warning any more 2002-10-04 08:59 martink * Source/cmLocalGenerator.cxx: always set PROJECT_SOURCE_DIR etc 2002-10-03 16:40 martink * Source/: cmGlobalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.cxx: some fixes 2002-10-03 15:14 martink * Source/: cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h, cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h: under development 2002-10-02 17:46 martink * Source/cmWin32ProcessExecution.cxx: Revert to fix win 9x 2002-10-02 17:31 king * Source/: cmGlobalUnixMakefileGenerator.cxx, cmStandardIncludes.h: ENH: Added explicit declarations of some C functions that are hard to get from standard headers in como (www.comeaucomputing.com) strict mode. 2002-10-02 17:23 king * Source/cmIncludeCommand.cxx: BUG: Must return false after an error of incorrect arguments. 2002-10-02 17:22 king * Source/: cmIfCommand.cxx, cmIfCommand.h: BUG: STRLESS and STRGREATER need to treat non-existent definitions as strings. 2002-10-02 17:16 andy * Source/cmWin32ProcessExecution.cxx: Cleanup and try to unify with the other code 2002-10-02 17:14 andy * Source/cmSystemTools.cxx: Cleanup 2002-10-02 16:42 ibanez * Modules/CMakeLists.txt: ENH: Adding install of .in and .c modules. 2002-10-02 11:35 martink * Source/cmLocalBorlandMakefileGenerator.cxx: Remove unnecessary new line 2002-10-02 11:15 martink * Source/cmSystemTools.cxx: Fix bug in borland run command 2002-10-02 11:14 martink * Source/cmake.cxx: Produce only one output 2002-10-01 18:37 king * Source/cmITKWrapTclCommand.cxx: ENH: Added support to pass the gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set on m_Makefile. 2002-10-01 15:56 andy * Modules/: TestBigEndian.c, TestBigEndian.cmake: Add test for big endian 2002-10-01 13:04 martink * Source/cmWin32ProcessExecution.cxx: Fix grouping of arguments on Windows 98 2002-10-01 13:04 martink * Source/cmLocalVisualStudio6Generator.cxx: Fix a bug in generator. This one is good: This bug is only present on Windows 98, but since RunCommand did not work, it never showed on the dashboard... In any case commands in Visual studio 6 should be in windows style slashes 2002-10-01 13:00 martink * Source/cmw9xcom.cxx: Put quotes around arguments if they have spaces and no quotes 2002-10-01 12:59 martink * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: Remove bogus exec_program 2002-10-01 10:12 ibanez * Modules/FindFLTK.cmake: ENH: removed "USE_FLTK_VERSION_1.1" in favor of "FLTK_VERSION_1.1" to avoid confusions. 2002-10-01 07:28 andy * Source/: Makefile.in, cmakemain.cxx: Remove dependency to dynamic loader during bootstrap 2002-09-30 22:26 ibanez * Modules/FindFLTK.cmake: ENH: Version 1.1 is considered to be the default. 2002-09-30 21:34 king * Source/CursesDialog/cmCursesMainForm.cxx: ERR: Fixed bad sentence in error message. 2002-09-30 16:46 andy * Source/cmake.cxx: Fix bug in chdir; Who did this anyway... 2002-09-30 16:25 hoffman * Source/: Makefile.in, cmDynamicLoader.cxx, cmakemain.cxx: BUG: fix load command stuff for cygwin and cleanup at exit 2002-09-30 15:05 martink * Source/cmWin32ProcessExecution.h: Add some more comments 2002-09-30 15:00 martink * Source/cmWin32ProcessExecution.cxx: Cleanups and hopefully now it works on all windows platforms 2002-09-30 14:01 martink * Source/cmake.cxx: Set comspec substitute the right way 2002-09-30 14:00 martink * Source/ctest.cxx: Set comspec substitute 2002-09-30 13:59 martink * Source/cmw9xcom.cxx: Add spaces 2002-09-30 12:24 ibanez * Modules/FindLATEX.cmake: Configuratiion for finding LaTeX related executables. 2002-09-30 11:41 andy * Source/: CMakeLists.txt, cmSystemTools.cxx, cmake.cxx, cmw9xcom.cxx: Another attempt on Windows 98 2002-09-30 11:00 andy * Source/cmSystemTools.cxx: Attempt to unify the code 2002-09-30 10:47 andy * Source/cmSystemTools.cxx: Fix bug in printing 2002-09-30 07:55 andy * Source/cmWin32ProcessExecution.cxx: Remove warnings and fix potential bug 2002-09-30 07:09 andy * Source/cmSystemTools.cxx, Templates/CMakeBorlandWindowsSystemConfig.cmake: Make borland pass all the tests on XP (and 2000?) 2002-09-29 22:10 andy * Source/cmSystemTools.cxx: Remove debug 2002-09-29 21:57 andy * Source/cmSystemTools.cxx: It is late and it at least seems to work better than before... 2002-09-29 21:55 andy * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: Fix for it to compile on "all" windows platforms... 2002-09-29 21:48 andy * Source/cmSystemTools.cxx: Simplify debugging by resetting error code 2002-09-29 14:09 martink * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: possible fix for warnings 2002-09-29 14:09 martink * Source/cmake.cxx: compiler warnings 2002-09-27 17:28 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: Add two cmake commands -E echo for echoing strings and -E comspec for workaround of bug of windows 9x; add another implementation of run command on windows which should work... 2002-09-27 17:26 andy * Source/: CMakeLists.txt, cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: Add class for process execution on Windows 2002-09-27 17:16 andy * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: Use cmake echo 2002-09-27 16:23 martink * Source/: cmCreateTestSourceList.cxx, cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx, cmIncludeDirectoryCommand.cxx: removed some includes 2002-09-27 16:19 martink * Source/: cmTarget.cxx, cmTarget.h, cmCommand.h, cmEnableTestingCommand.cxx, cmEndForEachCommand.cxx, cmForEachCommand.cxx, cmAddTestCommand.cxx, cmAuxSourceDirectoryCommand.cxx, cmElseCommand.cxx, cmEndIfCommand.cxx, cmIfCommand.cxx, cmAbstractFilesCommand.cxx, cmAddDependenciesCommand.cxx, cmAddLibraryCommand.cxx, cmInstallTargetsCommand.cxx, cmMacroCommand.cxx, cmMessageCommand.cxx, cmWriteFileCommand.cxx, cmAddExecutableCommand.cxx: removed some includes 2002-09-27 16:19 hoffman * Source/: cmSetCommand.cxx, cmSetCommand.h: BUG: fix doc string and allow a variable to be promoted from non-cache to cache 2002-09-27 16:18 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: remove unused stuff 2002-09-27 15:52 martink * Source/cmMakefile.h: new patch 2002-09-27 14:12 andy * Templates/: CCMakeSystemConfig.cmake.in, cconfigure, cconfigure.in: Cleanup configure scripts 2002-09-26 15:13 martink * Source/: cmake.h, cmake.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h: added progress 2002-09-26 13:52 martink * Source/cmMakefile.cxx: minor memory fix 2002-09-25 17:25 andy * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckLibraryExists.cmake: Set variable to either 1 or empty string instead of TRUE and FALSE 2002-09-25 10:38 andy * Modules/CheckLibraryExists.cmake: Cleanup 2002-09-25 10:08 andy * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.h.in, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.h.in: Check for library 2002-09-25 10:08 andy * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake, CheckSizeOf.cmake: Fix modules for recent changes 2002-09-25 10:07 andy * Source/: cmGlobalUnixMakefileGenerator.cxx, cmTryCompileCommand.cxx: Several changes: COMPILE_DEFINITIONS is now depricated. If you want to specify some, use CMAKE_FLAGS -DCMAKE_DEFINITIONS:STRING=...; same goes for libraries, include path, ... It now detects wether the file is C or C++ and uses the apropriate project command, it also does the right thing when doing try_compile, so it does not execute configure for every single try_compile 2002-09-25 09:31 andy * Source/cmLocalUnixMakefileGenerator.cxx: Use file format detection 2002-09-25 09:30 andy * Source/: cmSystemTools.cxx, cmSystemTools.h: Add detection of file format from extension 2002-09-25 07:46 andy * Source/cmGlobalGenerator.cxx: Attempt to make NMake quiet during TRY_COMPILE 2002-09-24 18:34 andy * Source/: ctest.cxx, ctest.h: Add verbose flag -V, which makes the output of tests to be displayed; also add help to ctest 2002-09-24 17:58 andy * Modules/CMakeBackwardCompatibilityC.cmake, Modules/CMakeBackwardCompatibilityCXX.cmake, Source/cmGlobalUnixMakefileGenerator.cxx: Improve backward compatibility, so that all backward compatibility stuff is in two modules; fix invoking of try_compile; add checking for header files and sizes of types 2002-09-24 17:37 andy * Source/cmSystemTools.cxx: Add support for mac dylib 2002-09-24 16:36 andy * Modules/: CheckLibraryExists.cmake, CheckLibraryExists.lists.in: Initial attempt to check if library exists 2002-09-24 16:20 andy * Modules/CheckSizeOf.cmake: Improve check size of. Now it checks for some header files before trying to check types 2002-09-24 14:49 king * Source/: cmEndIfCommand.cxx, cmIfCommand.cxx: [no log message] 2002-09-24 14:22 king * Utilities/cmake_release_config_osf: ENH: Adding prototype release config script for OSF. 2002-09-24 14:18 king * Utilities/cmake_release_config_cygwin: ERR: Removed old cygwin release config file. A separate script is now used. 2002-09-24 13:24 martink * Source/cmake.cxx: fixed memory leak 2002-09-24 13:17 martink * Source/cmTryRunCommand.cxx: always convert to output path 2002-09-24 10:47 hoffman * Utilities/: cmake-cygwin-package.sh, cmake_release_cygwin.sh: use /usr/bin/find and uname for cygwin version 2002-09-24 10:30 andy * Source/cmLoadCommandCommand.cxx: Cleanup 2002-09-24 10:24 andy * Source/: cmDynamicLoader.cxx, cmDynamicLoader.h: Add accessor for Flushing cache 2002-09-24 09:51 hoffman * Source/cmLocalUnixMakefileGenerator.cxx: one rule per line so borland make does not die 2002-09-24 09:50 hoffman * Source/cmLocalBorlandMakefileGenerator.cxx: handle long commands 2002-09-24 09:24 hoffman * Source/: cmDynamicLoader.cxx, cmGlobalGenerator.cxx: fix for cygwin and nmake that does not define WIN32 2002-09-23 21:14 king * Utilities/: cmake-cygwin-package.sh, cmake-cygwin.README, cmake_release_cygwin.sh, setup.hint: ENH: Added cygwin packaging scripts. The setup.hint and cmake.README files required by Cygwin are generated automatically. 2002-09-23 17:24 andy * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt: Fix problem 2002-09-23 17:20 king * Utilities/cmake_release_unix_package.sh: ENH: Added to generated README the typical install locaiton of /usr/local. 2002-09-23 16:57 andy * Source/cmDynamicLoader.cxx: Fix cache for non void* types 2002-09-23 16:24 andy * Source/cmDynamicLoader.cxx: Keep track of libraries so that you can load them as many times as you want... 2002-09-23 15:57 andy * Source/cmaketest.cxx: Cleanup 2002-09-23 15:56 andy * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: Some minor fixes for mac 2002-09-23 15:54 andy * Source/cmLocalUnixMakefileGenerator.cxx: Fix generation of C only modules 2002-09-23 15:53 andy * Source/cmDynamicLoader.cxx: Fix extension and suffix for modules on mac 2002-09-23 14:57 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: cleanup 2002-09-23 14:57 martink * Source/: cmCPluginAPI.h, cmLoadCommandCommand.cxx: cleaned up API 2002-09-23 14:11 andy * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt: Fix test so that it will work on HP 2002-09-23 14:04 andy * Source/cmTryCompileCommand.cxx: Fix HP build 2002-09-23 13:32 andy * Source/: cmSystemTools.cxx, cmTryCompileCommand.cxx: Try to remove some warnings 2002-09-23 13:11 andy * Source/cmLoadCommandCommand.cxx: Fix loading of module for borland 2002-09-23 12:23 andy * Source/cmGlobalGenerator.cxx: Try to fix borland and nmake try compile 2002-09-23 11:06 andy * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h, cmTryRunCommand.cxx: Abstract cleaning of files and add code that deletes files from Debug subdirectory 2002-09-23 11:05 andy * Source/cmGlobalVisualStudio6Generator.cxx: Remove debug stuff 2002-09-23 10:01 andy * Modules/FindwxWindows.cmake: Fix comments 2002-09-23 09:58 andy * Source/cmLocalVisualStudio7Generator.cxx: Try to fix quoted definitions 2002-09-23 09:41 martink * Source/cmIfCommand.cxx: hopefull another fix to if statements 2002-09-23 09:07 andy * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h: Attempt to fix Visual studio 6 comiling 2002-09-23 08:51 king * Utilities/cmake_release_unix_package.sh: BUG: Creating source tarball should not affect current directory. 2002-09-23 08:44 king * Utilities/: cmake_release_config_darwin, cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_sun: ENH: Incremented version to 1.4.5. 2002-09-22 10:08 martink * Source/cmLocalVisualStudio7Generator.cxx: defines cannot have quotes in them 2002-09-22 09:53 martink * Source/: cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: some try compile fixes 2002-09-22 07:52 martink * Source/: cmWriteFileCommand.cxx, CursesDialog/cmCursesMainForm.cxx: compiler warning 2002-09-21 07:29 andy * Source/cmWriteFileCommand.cxx: Fix namespace problem 2002-09-20 15:01 andy * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake, CheckSizeOf.cmake: Fix tests for new trycompile and tryrun 2002-09-20 15:01 andy * Source/: cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx, cmTryRunCommand.cxx: Add GetLocal on cmMakefile and on local builds do not perform tests 2002-09-20 14:17 andy * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.h.in, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.h.in: Include more testing 2002-09-20 14:16 andy * Modules/: CheckIncludeFile.c.in, CheckIncludeFile.cmake: Simplify checking for headers 2002-09-20 13:40 andy * Modules/: CheckIncludeFile.c.in, CheckIncludeFile.cmake: Add macro which checks if the header file exists 2002-09-20 13:40 andy * Modules/CheckFunctionExists.cmake: Fix comment 2002-09-20 13:17 andy * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.cxx, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.cxx, LoadCommand/LoadedCommand.h.in, LoadCommandOneConfig/LoadedCommand.h.in: Fix test so that it does some modules testing by checking for some functions and some size of types 2002-09-20 13:16 andy * Modules/: CheckFunctionExists.c, CheckFunctionExists.cmake, CheckSizeOf.c, CheckSizeOf.cmake: Add two commonly used modules. First one checks if the function exists, the second one checks the size of type 2002-09-20 13:15 andy * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx: Add option of TRY_COMPILE to store the output of compilation so that if the output fails you can display it or store it in the file 2002-09-20 13:14 andy * Source/: cmCommands.cxx, cmWriteFileCommand.cxx, cmWriteFileCommand.h: Add WRITE_FILE command, which writes string to a file 2002-09-20 10:06 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: removed c++ style comments 2002-09-20 08:07 martink * Source/: cmTryRunCommand.h, cmTryRunCommand.cxx: compiler warnings 2002-09-19 16:12 hoffman * Source/cmBorlandMakefileGenerator.cxx: ENH: allow for long command lines 2002-09-19 16:09 andy * Source/cmMakefile.cxx: Remove unnecessary disabling of output 2002-09-19 16:07 andy * Source/cmTryRunCommand.cxx: Fix tryrun to work on Linux 2002-09-19 15:01 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: use single line depend rules for borland compiler 2002-09-19 14:59 hoffman * Source/cmMSDotNETGenerator.cxx: ENH: add include to rc, and newline to custom commnad 2002-09-19 14:59 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx: ENH: add include to rc 2002-09-19 14:58 hoffman * Source/CMakeLists.txt: ENH: fix bad endif 2002-09-19 14:58 hoffman * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, staticLibHeader.dsptemplate: ENH: add include paths to rc 2002-09-19 14:40 andy * Source/cmSystemTools.cxx: Supress standard error when running command 2002-09-19 14:36 andy * Source/cmTryCompileCommand.cxx: Fix try compile with second signature, remove cmake lists from cache so that multiple tests work 2002-09-19 14:35 andy * Source/cmSystemTools.h: Add a way to check if run command output is disabled 2002-09-19 14:35 andy * Source/cmMakefile.cxx: When doing try compile disable output 2002-09-19 14:34 andy * Source/: cmListFileCache.cxx, cmListFileCache.h: Add a way to remove files from cache 2002-09-19 11:06 andy * Source/cmTryRunCommand.cxx: Fix compile problem 2002-09-19 11:01 martink * Source/cmTryRunCommand.cxx: minor cleanup 2002-09-19 10:25 andy * Modules/FindwxWindows.cmake: Fix find wxWindows 2002-09-19 09:49 martink * Source/: cmCommands.cxx, cmTryCompileCommand.cxx, cmTryCompileCommand.h: updated to try compile 2002-09-19 09:48 martink * Source/: cmTryRunCommand.cxx, cmTryRunCommand.h: new command 2002-09-19 09:47 andy * Source/CMakeLists.txt: Add option for building wxWindows GUI for CMake 2002-09-19 09:42 andy * Modules/FindwxWindows.cmake: Improve searching for wxWindows 2002-09-18 14:18 andy * Source/: cmSystemTools.cxx, cmSystemTools.h, CursesDialog/ccmake.cxx: Improve message handler to include client data. 2002-09-18 11:38 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: test passing CMAKE_FLAGS 2002-09-18 11:37 martink * Source/: cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx, cmTryCompileCommand.h: now Try compile can include CMAKE_FLAGS 2002-09-18 11:36 martink * Source/cmLoadCommandCommand.cxx: better error reporting 2002-09-18 10:40 king * Source/cmSetCommand.cxx: ENH: If SET(VAR) is called with no other arguments, remove the definition of VAR. 2002-09-18 10:39 king * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Added RemoveDefinition method. 2002-09-18 09:53 barre * Source/cmVTKWrapTclCommand.cxx: FIX: better support for the Tcl/Tk 8.4 pre-release 2002-09-18 08:15 andy * Modules/FindGTK.cmake: GL should not be a completely necessary thing for finding GTK. This will find gtk and GL but also just GTK 2002-09-18 08:13 andy * Source/cmakewizard.cxx: Remove unnecessary variable 2002-09-18 08:07 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt: removed target 2002-09-17 15:41 king * Modules/CMakeLists.txt: ENH: Adding installation of TRY_COMPILE tests. 2002-09-17 15:41 king * Source/cmTryCompileCommand.cxx: BUG: Generated CMakeLists.txt file needs to take CMAKE_ANSI_CXXFLAGS into account. 2002-09-17 14:40 king * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fixed typo: INSTALL_PROGRAMS -> INSTALL_PROGRAM. 2002-09-17 14:20 martink * Source/CursesDialog/cmCursesMainForm.cxx: some cmake api changees 2002-09-17 14:19 andy * Source/cmakewizard.cxx: Strip the string that user answers 2002-09-17 14:18 barre * Source/cmVTKWrapTclCommand.cxx: ENH: add support for Tcl/Tk 8.4.0 2002-09-17 14:12 martink * Source/cmake.h: updated comments 2002-09-17 14:09 king * Source/cmLocalUnixMakefileGenerator.cxx: BUG: INSTALL_DATA should be INSTALL_PROGRAMS for program install targets. 2002-09-17 14:04 martink * Source/CursesDialog/cmCursesMainForm.cxx: some cmake api changees 2002-09-17 13:59 martink * Source/: cmMakefile.cxx, cmake.cxx, cmake.h, cmakewizard.cxx: cleaned up some of the cmake interface 2002-09-17 13:59 martink * Source/CMakeLists.txt: new test 2002-09-17 13:48 andy * Source/cmakewizard.cxx: Replace getline with fgets since getline does not seems to work properly on Mac OSX 2002-09-17 11:48 andy * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMarkAsAdvancedCommand.cxx: Fix problems with advanced not being marked. 2002-09-17 10:56 king * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmLocalUnixMakefileGenerator.cxx: ENH: Improved implementation of INSTALL_FILES and INSTALL_PROGRAMS commands. Source paths can now be relative or full paths, and don't need to be in the same directory as the CMakeLists.txt file. 2002-09-17 10:38 martink * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: added Destructor 2002-09-17 10:38 martink * Source/: cmCPluginAPI.h, cmLoadCommandCommand.cxx: added destructor to loaded commands 2002-09-17 09:17 martink * Modules/TestForANSIStreamHeaders.cmake: slight change in signature for TryCompile 2002-09-17 09:16 martink * Source/: cmGlobalVisualStudio6Generator.cxx, cmTryCompileCommand.cxx, cmTryCompileCommand.h: slight change in signature 2002-09-17 09:16 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt: some cleanup 2002-09-17 08:29 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt: minor fix in error message 2002-09-16 16:27 martink * Tests/: LoadCommand/CMakeLists.txt, LoadCommand/LoadedCommand.cxx, LoadCommand/CMakeCommands/CMakeLists.txt, LoadCommand/CMakeCommands/cmTestCommand.c, LoadCommandOneConfig/CMakeLists.txt, LoadCommandOneConfig/LoadedCommand.cxx, LoadCommandOneConfig/CMakeCommands/CMakeLists.txt, LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: load command test 2002-09-15 09:54 martink * Source/: cmAddCustomCommandCommand.cxx, cmAddDependenciesCommand.cxx, cmCacheManager.cxx, cmExecProgramCommand.cxx, cmFLTKWrapUICommand.cxx, cmListFileCache.cxx, cmaketest.cxx, ctest.cxx: remove unused variables 2002-09-15 09:42 martink * Source/: cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx: updated to use ConfigureFinalPass 2002-09-15 08:53 martink * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h, cmGlobalGenerator.cxx: changed handling of FinalPass 2002-09-15 08:53 martink * Source/cmLocalUnixMakefileGenerator.cxx: changed when final pass is done 2002-09-15 08:52 martink * Source/: cmMakefile.h, cmMakefile.cxx: renamed GenerateMakefile to ConfigureFinalPass 2002-09-14 10:59 martink * Source/CursesDialog/cmCursesMainForm.cxx: removed extra Generate that was screwing things up 2002-09-14 08:47 martink * Source/cmGlobalGenerator.cxx: fixed warning 2002-09-13 19:23 martink * Source/cmGlobalGenerator.cxx: made less verbose 2002-09-13 19:23 martink * Modules/TestForANSIStreamHeaders.cmake: removed messages 2002-09-13 16:38 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added FileIsFullPath test method. 2002-09-13 13:48 martink * Source/: cmGlobalGenerator.cxx, cmMakefile.cxx, cmake.h: some fixes for try compile 2002-09-13 11:09 martink * Templates/: CXXCMakeSystemConfig.cmake.in, cxxconfigure, cxxconfigure.in: now uses TryCompile 2002-09-13 11:05 martink * Source/cmGlobalNMakeMakefileGenerator.h: minor fix inEnableLanguages 2002-09-13 11:01 martink * Source/: cmTryCompileCommand.cxx: fix to the cleanup code 2002-09-13 10:42 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalNMakeMakefileGenerator.h, cmGlobalUnixMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTryCompileCommand.cxx: better trycompile and enable langiages 2002-09-13 10:41 martink * Source/cmake.cxx: better try compile 2002-09-13 10:40 martink * Modules/TestForANSIStreamHeaders.cmake: removed messages 2002-09-13 09:51 andy * configure, configure.in: Improve bootstrapping on Unix, so that it bootstraps in the subdirectory. This prevents from compiler files being reused and you can do make clean... 2002-09-13 09:49 iscott * Modules/FindQt.cmake: Make QT variables advanced 2002-09-13 08:15 martink * Source/: cmEndIfCommand.cxx, cmLocalUnixMakefileGenerator.cxx: compiler warning 2002-09-13 05:39 iscott * Modules/FindQt.cmake: Need to use $ENV{} to access environment variables 2002-09-12 16:36 martink * Modules/TestForANSIStreamHeaders.cmake: some cleanup 2002-09-12 14:37 martink * Source/cmake.cxx: uninitialized var 2002-09-12 13:55 andy * Source/cmaketest.cxx: Remove unnecessary include 2002-09-12 13:42 andy * Source/cmakemain.cxx: Remove unnecessary include 2002-09-12 13:19 bettingf * Tests/Wrapping/CMakeLists.txt, Source/CMakeLists.txt: added include of FindQT.cmake 2002-09-12 11:47 martink * Source/: cmMakefileGenerator.cxx, cmMakefileGenerator.h, CMakeLists.txt: new arch 2002-09-12 11:44 martink * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmDSWWriter.cxx, cmDSWWriter.h, cmDSPWriter.cxx, cmDSPWriter.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: new arch 2002-09-12 11:38 bettingf * Source/CMakeLists.txt: added test for QTWrapUI called qtwrapping 2002-09-12 11:37 bettingf * Tests/Wrapping/: qtwrappingmain.cxx, CMakeLists.txt: corrected test for QTWrapUI 2002-09-12 11:14 martink * Modules/: TestForANSIStreamHeaders.cmake, TestForANSIStreamHeaders.cxx: new try compile module 2002-09-12 11:13 andy * Source/cmCacheManager.cxx: Oops, too fast commit; add missing ; 2002-09-12 11:12 andy * Source/cmCacheManager.cxx: Add more error checking 2002-09-12 11:08 martink * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: another signature for Try_Compile 2002-09-12 11:08 martink * Source/: cmMakefile.cxx, cmake.cxx, cmake.h: added a flag if a cmake is in try compile 2002-09-12 09:56 andy * Source/cmMarkAsAdvancedCommand.cxx: Fix mark as advanced. Now it should work properly 2002-09-12 09:00 andy * Source/: cmakewizard.cxx, cmakewizard.h: Simplify code. Since we access cache entry through the iterator, we do not need the cache manager any more 2002-09-12 08:56 andy * Source/cmCacheManager.h: Fix build problem on Sun 2002-09-11 16:44 bettingf * Source/cmQTWrapUICommand.cxx: corrected the generated lists .h in header list and .cxx in sources list 2002-09-11 16:43 bettingf * Source/cmLocalUnixMakefileGenerator.cxx: added generation of the GENERATED_QT_FILES list for make clean 2002-09-11 16:41 bettingf * Tests/Wrapping/CMakeLists.txt: added test for QTWrapUI 2002-09-11 16:40 bettingf * Tests/Wrapping/: qtwrappingmain.cxx, qtwrapping.ui: test for QTWarpUI 2002-09-11 16:12 king * Source/cmCacheManager.cxx: BUG: GetCacheValue must check if value is UNINITIALIZED. If so, pretend it doesn't exist. 2002-09-11 15:13 andy * Source/CursesDialog/cmCursesMainForm.cxx: Fix bug in ccmake which made it crash when all cache values were deleted 2002-09-11 15:04 andy * Source/CursesDialog/cmCursesMainForm.cxx: Fix problem with ccmake crashing on empty caches 2002-09-11 14:38 andy * Source/cmCacheManager.cxx: Fix find and remove check for uninitialized entries 2002-09-11 14:08 andy * Source/cmCacheManager.cxx: Function strcasecmp is not portable 2002-09-11 14:05 andy * Source/: cmCacheManager.cxx, cmCacheManager.h, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmMakefile.cxx, cmMarkAsAdvancedCommand.cxx, cmVariableRequiresCommand.cxx, cmakewizard.cxx, cmakewizard.h, CursesDialog/cmCursesCacheEntryComposite.cxx, CursesDialog/cmCursesCacheEntryComposite.h, CursesDialog/cmCursesMainForm.cxx: Couple of changes: cache variables now have a map of properties. ADVANCED and HELPSTRING are now properties of cache variable, IsAdvanced is gone, so is GetCacheEntry, since cache entries are now all private. To access them, you use the iterator. -ADVANCED cache entries are gone and are replaced by the property of cache variables. The cache file still looks the same, but the -ADVANCED cache entries are created when writing file. MarkAsAdvanced and VariableRequires are fixed. So are curses gui and wizard 2002-09-11 13:27 andy * Templates/CCMakeSystemConfig.cmake.in: Remove Mark_AS_ADVANCED for some variables that do not exist 2002-09-11 12:52 martink * Source/cmMakefile.cxx: minor fix in try compile code 2002-09-11 09:54 king * Source/: CMakeLists.txt, cmDynamicLoader.cxx, cmDynamicLoader.h, cmDynamicLoaderC.c: ENH: Pointer-to-function to pointer-to-data casts are not even allowed in strict C. Re-implemented this conversion in pure C++ using a casting trick with an extra level of indirection. 2002-09-11 08:52 king * Source/cmDynamicLoaderC.c: ERR: Removed C++-style comments, used C-style instead. 2002-09-10 17:24 king * Source/cmake.cxx: ERR: Added missing include of stdio.h for sprintf. 2002-09-10 16:52 martink * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: updated signature 2002-09-10 16:52 martink * Source/: cmMakefile.cxx, cmMakefile.h: updated makefile moved commands into cmake and fixed try compile 2002-09-10 16:51 martink * Source/cmDumpDocumentation.cxx: moved dump docs into cmake 2002-09-10 16:51 martink * Source/: cmake.h, cmake.cxx: moved commands into cmake 2002-09-10 16:49 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h: modified TryCompile 2002-09-10 15:46 king * Source/: CMakeLists.txt, cmDynamicLoader.cxx, cmDynamicLoader.h, cmDynamicLoaderC.c: ERR: Cast from pointer-to-data to pointer-to-function is not allowed in C++. The cast needed by cmDynamicLoader::GetSymbolAddress is now hidden in a C file. 2002-09-10 15:40 king * Source/cmGlobalUnixMakefileGenerator.cxx: ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. Also changed putenv to setenv for comeau on linux. 2002-09-10 15:40 king * Source/cmStandardIncludes.h: ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux. 2002-09-10 15:38 king * Source/cmSystemTools.cxx: ERR: Fix for borland on linux. We cannot directly compare the st_dev and st_ino members of struct stat. Use memcmp instead. 2002-09-10 15:37 king * Source/cmLocalGenerator.cxx: ERR: Removed stray semi-colon. 2002-09-10 15:36 king * Source/: cmMakefile.cxx, cmRegularExpression.cxx, cmRegularExpression.h, cmMakeDepend.cxx, cmLoadCommandCommand.cxx, cmCPluginAPI.cxx: ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. 2002-09-10 15:36 king * Source/cmake.cxx: ERR: Fix for borland on linux. 2002-09-10 13:32 barre * Modules/FindOpenGL.cmake: FIX: typo + bring back the OPENGL_gl_LIBRARY path that can be used to find GLU (was wiped out from FindGLU) 2002-09-10 12:49 martink * Source/CMakeLists.txt: removed extra ENDIF 2002-09-10 10:35 king * configure, configure.in: ERR: Went back to old-style test for -LANG:std on the SGI. 2002-09-10 10:16 martink * Source/: cmEndIfCommand.cxx, cmIfCommand.cxx: better error checking on If statements 2002-09-10 10:02 king * configure, configure.in: ERR: AC_SUBST replaced with AC_DEFINE. Needed to get configure script to correctly setup cmConfigure.h. 2002-09-10 09:51 king * Source/cmCommands.cxx: ERR: Removed accidental commit. 2002-09-10 09:50 king * configure, configure.in, Source/cmCommands.cxx: BUG: Missing AC_SUBST commands added. 2002-09-09 09:50 hoffman * Modules/FindOpenGL.cmake: Adding GLU to the OPENGL_LIBRARIES only if it is found. 2002-09-08 10:15 martink * Source/: cmGlobalNMakeMakefileGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio7Generator.cxx, cmake.cxx: compiler warnings 2002-09-07 21:25 martink * Source/: cmGlobalGenerator.cxx, cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio7Generator.cxx: compiler warnings 2002-09-07 21:22 martink * Source/cmLocalGenerator.h: compiler warning 2002-09-07 21:18 martink * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmLocalBorlandMakefileGenerator.cxx: fix for borland compilers 2002-09-06 18:05 king * Source/cmVTKWrapTclCommand.cxx: ERR: Fix for borland in generated code. vtkCommand is ambiguously both a function and a class. 2002-09-06 17:19 king * configure, configure.in, Templates/cconfigure, Templates/cconfigure.in, Templates/cxxconfigure, Templates/cxxconfigure.in: ENH: Improved configure test implementations by using AC_TRY_COMPILE. 2002-09-06 16:30 martink * Source/cmLocalUnixMakefileGenerator.cxx: updated to fix the long depend line issue on Borland 2002-09-06 14:03 starreveld * Modules/FindOpenGL.cmake: ERR: Fix opengl finding on osx 2002-09-06 13:56 barre * Modules/FindTCL.cmake: ENH: make stub stuff ADVANCED 2002-09-06 13:04 martink * Source/: cmakewizard.cxx, CMakeLists.txt, Makefile.in, cmGlobalGenerator.cxx, cmGlobalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.cxx: new arch 2002-09-06 13:01 martink * Source/: cmaketest.cxx, cmake.cxx, cmake.h, cmMakefile.cxx, cmMakefile.h, cmakemain.cxx: new arch 2002-09-06 13:00 martink * Source/CursesDialog/: ccmake.cxx, cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h: new architecture 2002-09-06 11:47 hoffman * Templates/CMakeBorlandWindowsSystemConfig.cmake: fix comment 2002-09-06 11:00 iscott * Modules/readme.txt: Add important missing word to documentation 2002-09-06 10:55 iscott * Modules/readme.txt: More detailed information about consistent FindXXX.cmake files 2002-09-06 10:47 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: use :: rule and not a long line extension 2002-09-06 09:24 martink * Source/cmLocalUnixMakefileGenerator.cxx: minor fix 2002-09-06 08:33 martink * Source/cmLocalUnixMakefileGenerator.cxx: minor fixes 2002-09-05 12:00 iscott * Modules/: FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake, FindOpenGL.cmake, FindX11.cmake: Hide lots of values in the advanced list Fix some bugs OpenGL always needs X11 on Unix 2002-09-05 09:04 martink * Source/cmLocalGenerator.h: made destructor virtual 2002-09-05 08:22 martink * Source/cmDynamicLoader.cxx: removed some couts 2002-09-04 15:46 martink * Source/cmCacheManager.h: made method public 2002-09-04 15:28 martink * Source/cmLocalUnixMakefileGenerator.cxx: fixes 2002-09-04 15:24 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmLocalGenerator.cxx, cmLocalGenerator.h: updates 2002-09-04 15:22 martink * Source/: cmGlobalVisualStudio6Generator.cxx, cmGlobalVisualStudio6Generator.h, cmLocalVisualStudio6Generator.cxx, cmLocalVisualStudio6Generator.h, cmGlobalVisualStudio7Generator.cxx, cmGlobalVisualStudio7Generator.h, cmLocalVisualStudio7Generator.cxx, cmLocalVisualStudio7Generator.h: new arch 2002-09-04 15:22 martink * Source/: cmGlobalBorlandMakefileGenerator.cxx, cmGlobalBorlandMakefileGenerator.h, cmLocalBorlandMakefileGenerator.cxx, cmLocalBorlandMakefileGenerator.h: first cut a new arch 2002-09-04 11:17 martink * Tests/Wrapping/CMakeLists.txt: fixed test for new cmake 2002-09-04 09:24 king * Modules/FindOpenGL.cmake: ERR: Still need to define OPENGL_INCLUDE_PATH in addition to the standard OPENGL_INCLUDE_DIR for backward compatability. 2002-09-03 12:29 iscott * Modules/FindMFC.cmake: A simple FindMFC module for consistency 2002-09-03 10:41 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: use windows paths for utility depends 2002-09-03 10:41 hoffman * Source/cmMSDotNETGenerator.cxx: BUG: bug for more than one custom commands 2002-09-03 09:14 iscott * Modules/Dart.cmake: Dart now has a configure option 2002-09-03 09:00 iscott * Modules/FindPNG.cmake: I copied a bit too much VXL functionality here. Oops 2002-09-03 08:33 iscott * Modules/FindPerl.cmake: Added PERL_FOUND 2002-09-03 08:24 iscott * Modules/FindMPEG.cmake: Add an MPEG finder in the new format - functionality copied from VXL. 2002-09-03 06:10 iscott * Modules/: FindAVIFile.cmake, FindGLU.cmake, FindGLUT.cmake, FindJPEG.cmake, FindOpenGL.cmake, FindPNG.cmake, FindTIFF.cmake, FindX11.cmake: Fixed mistake in comments Transferred OPENGL finding logic in from VXL Added Some backwards compatibility with CMake1.4 2002-09-02 17:34 iscott * Modules/: FindFLTK.cmake, FindGTK.cmake: Moved FLTK and GTK to new FindXXX scheme. Imported some functionality from VXL 2002-09-02 17:33 iscott * Modules/FindX11.cmake: small bug fixes 2002-09-02 17:29 iscott * Source/cmFLTKWrapUICommand.cxx: FLTK_FLUID_EXE -> FLTK_FLUID_EXECUTABLE because Module files are moving to consistent scheme 2002-09-02 16:59 iscott * Modules/: FindQt.cmake, FindTIFF.cmake: Fix Bugs 2002-09-02 16:24 iscott * Modules/FindZLIB.cmake: This file should not be empty 2002-09-02 15:49 iscott * Modules/: FindZLIB.cmake, FindZLib.cmake: Moved FindZLib.cmake to FindZLIB.cmake 2002-09-02 15:46 iscott * Modules/: FindPNG.cmake, FindX11.cmake, FindZLib.cmake: Copied the X11 PNG and ZLIB functoinality from VXL 2002-09-02 14:08 iscott * Modules/: FindPNG.cmake, FindZLib.cmake: Adding Zlib and PNG find modules in the new format 2002-09-02 12:58 iscott * Modules/FindTIFF.cmake: This Find Module is in the new style 2002-09-02 12:05 iscott * Modules/: FindJPEG.cmake, FindQt.cmake, FindWget.cmake, FindZLib.cmake: Add helpful message for QT Windows users Add FindZLib in new format Move FindJPEG and FINDWGET over to new scheme 2002-09-02 07:03 iscott * Modules/FindAVIFile.cmake, Modules/FindQt.cmake, Modules/LinkQT.cmake, Modules/readme.txt, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx: Define a single expected format for the values defined in every FindXXX.cmake file. Upgrade all the QT functionality to use the new FindXXX.cmake format Add a module for AVIFile. 2002-08-30 16:01 martink * Source/: cmGlobalUnixMakefileGenerator.cxx, cmGlobalUnixMakefileGenerator.h, cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h, cmGlobalNMakeMakefileGenerator.cxx, cmGlobalNMakeMakefileGenerator.h, cmLocalNMakeMakefileGenerator.cxx, cmLocalNMakeMakefileGenerator.h: in progress 2002-08-30 16:00 martink * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.cxx, cmLocalGenerator.h: in progress checkin 2002-08-30 09:54 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: add rpcrt4.lib because of CMakeLib needing it 2002-08-29 09:45 martink * Source/cmCPluginAPI.cxx: extern C fixes 2002-08-28 16:35 martink * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h: some changes in cachemanager and singletons 2002-08-28 16:34 martink * Source/cmaketest.cxx: no more singletons 2002-08-28 16:33 martink * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: now needs dynlib support 2002-08-28 15:08 king * Utilities/: cmake_release_config_cygwin, cmake_release_unix_build.sh, cmake_release_unix_config.sh, cmake_release_unix_package.sh: ENH: Moved build of source tarball to package script. 2002-08-28 14:51 martink * Source/: cmCPluginAPI.cxx, cmCacheManager.cxx, cmCacheManager.h, cmCommands.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmLoadCacheCommand.cxx, cmLoadCommandCommand.cxx, cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakefile.cxx, cmMakefile.h, cmMakefileGenerator.cxx, cmMakefileGenerator.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmVariableRequiresCommand.cxx, cmake.cxx, cmake.h, cmakemain.cxx, cmakewizard.cxx, cmakewizard.h: changed cache manager and registered generators to no longer be singletons 2002-08-28 14:49 martink * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: an early checking not complete 2002-08-28 14:33 hoffman * Source/cmBorlandMakefileGenerator.cxx, Source/cmMSDotNETGenerator.cxx, Source/cmNMakeMakefileGenerator.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: ENH: add include paths to rc program for resource generation 2002-08-28 10:43 king * Utilities/setup.hint: ENH: Incremented version number for 1.4-4 2002-08-28 10:40 king * Utilities/: cmake-cygwin.README, setup.hint: ENH: Adding cygwin installation files to branch. 2002-08-28 10:28 hoffman * Utilities/: cmake-cygwin.README, cmake_release_config_cygwin, setup.hint: [no log message] 2002-08-28 09:30 king * Utilities/cmake_release_config_darwin: Switched to release branch tag instead of sticky tag. 2002-08-28 09:27 king * Utilities/cmake_release_config_darwin: ENH: Adding release configuration for darwin. 2002-08-28 09:07 king * Utilities/cmake_release_unix_package.sh: BUG: Don't erase tarball directory in packaging step in case there is a source tarball there. 2002-08-28 09:04 hoffman * Utilities/: cmake_release_unix_config.sh, cmake_release_unix_package.sh: cygwin release 2002-08-28 08:51 king * Utilities/: cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_sun: ENH: Updated release script configuration for CMake release 1.4.4. 2002-08-27 14:45 andy * Source/cmSourceFile.cxx: Fix bug in trying to set stding with null 2002-08-27 09:43 hoffman * Source/: CMakeLists.txt, cmLoadCommandCommand.cxx: ENH: fix warnings 2002-08-27 08:36 martink * Source/: CMakeLists.txt, cmCommands.cxx: fixed bootstrap build to not use LoadCOmmandCOmmand 2002-08-26 15:22 martink * Source/: cmGetSourceFilePropertyCommand.cxx, cmGetSourceFilePropertyCommand.h: updated to match the SET 2002-08-26 15:20 martink * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: added new form of Set source file properties command 2002-08-26 10:52 martink * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h, cmCommands.cxx, cmLoadCommandCommand.cxx: now uses stubs 2002-08-26 08:53 martink * Source/cmSetSourceFilesPropertiesCommand.cxx: fixed bug maybe 2002-08-23 17:00 hoffman * Templates/cxxconfigure, Templates/cxxconfigure.in, configure, configure.in: try another flag for the dec compiler... 2002-08-23 16:25 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: no more dll for plugin 2002-08-23 16:15 martink * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: remoevd shared lib 2002-08-23 16:12 martink * Source/: cmCPluginAPI.h, cmCacheManager.h, cmDirectory.h, cmRegularExpression.h, cmStandardIncludes.h, cmSystemTools.h, cmake.h, CMakeLists.txt, cmListFileCache.h, cmMakefile.h, cmMakefileGenerator.h, cmakewizard.h: removed shared lib support 2002-08-23 16:12 martink * Source/cmaketest.cxx: memory issue 2002-08-23 15:11 martink * Source/: cmVTKMakeInstantiatorCommand.cxx, cmCacheManager.h, cmCPluginAPI.cxx: compiler warnings 2002-08-23 13:47 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: BUG: fix for cygwin 2002-08-23 13:46 hoffman * Source/: CMakeLists.txt, cmCacheManager.cxx, cmCacheManager.h, cmake.cxx, cmake.h, cmakemain.cxx, cmaketest.cxx, CursesDialog/CMakeLists.txt, CursesDialog/form/CMakeLists.txt: BUG: add explicit clean up of the cachemanager at exit of programs, so dll destruction is not a problem. 2002-08-23 09:09 hoffman * Source/cmNMakeMakefileGenerator.cxx: remove use of getpropertyasbool 2002-08-22 17:06 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: BUG: fix for borland and a shared CMakeLib 2002-08-22 16:57 hoffman * Tests/: Complex/CMakeLists.txt, Complex/Executable/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: BUG: fix for borland and a shared CMakeLib 2002-08-22 16:16 hoffman * Source/CMakeLists.txt: BUG: borland needs to have BUILD_SHARED_LIBS on for executables to work with c++ 2002-08-22 15:58 martink * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: complex test needs the dll 2002-08-22 14:41 martink * Source/cmCPluginAPI.cxx: minor warning fix 2002-08-22 14:40 iscott * Modules/: FindAVIFile.cmake, readme.txt: Some more explanation of a consistent scheme 2002-08-22 11:37 hoffman * configure, configure.in, Templates/cxxconfigure, Templates/cxxconfigure.in: BUG: fix for OSF compiler to use ansi mode for streams 2002-08-22 11:12 hoffman * Source/cmNMakeMakefileGenerator.cxx: BUG: use c flags for cprograms, and do not use large command lines for linking 2002-08-22 09:17 martink * Source/cmCPluginAPI.cxx: fixed some warnings 2002-08-22 09:11 martink * Source/cmSetSourceFilesPropertiesCommand.cxx: fixed some warnings 2002-08-22 09:10 martink * Source/cmCPluginAPI.h: fixed nested comment 2002-08-22 08:25 martink * Source/CursesDialog/CMakeLists.txt: added lib 2002-08-21 15:52 king * Utilities/cmake_release_unix_package.sh: ENH: Added -files to end of internal binary tarball to distinguish from the outer tarball's name. 2002-08-21 15:37 martink * Source/CursesDialog/cmCursesMainForm.cxx: minor fixes for new cache api 2002-08-21 13:15 martink * Source/: cmMakefile.cxx, cmMakefile.h, cmCPluginAPI.cxx: minor bug 2002-08-21 12:01 martink * Source/: cmMakefileGenerator.h, cmMakefile.h: dll support 2002-08-21 12:00 martink * Source/cmRegularExpression.h: made into dll 2002-08-21 11:59 martink * Source/: cmake.h, cmakewizard.h, cmakewizard.cxx: support for plugins 2002-08-21 11:58 martink * Source/: cmLoadCommandCommand.cxx, cmLoadCommandCommand.h: adding plugin support 2002-08-21 11:58 martink * Source/: cmDynamicLoader.cxx, cmDynamicLoader.h: added plugin support 2002-08-21 11:55 martink * Source/: cmStandardIncludes.h, CMakeLists.txt, cmCacheManager.cxx, cmCacheManager.h, cmDirectory.h, cmSystemTools.h, cmListFileCache.h: made CMakeLib shared on windows 2002-08-21 11:54 martink * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: added C Plugin API first cut 2002-08-21 09:45 hoffman * Source/cmNMakeMakefileGenerator.cxx: BUG: use c compiler for link of c programs, and use temp file nmake syntax for linking c and c++ programs 2002-08-19 15:40 iscott * Modules/: FindQt.cmake, LinkQT.cmake: I have tested this with VXL/our internal code, and it works for me. 2002-08-19 10:05 iscott * Modules/FindQt.cmake: I first go at a consistent FindXXX.cmake file 2002-08-16 11:20 martink * Source/cmMacroCommand.cxx: minor fix 2002-08-16 11:17 martink * Source/: cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmSetSourceFilesPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.h, cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmGetSourceFilePropertyCommand.cxx, cmWrapExcludeFilesCommand.cxx, cmCreateTestSourceList.cxx, cmAbstractFilesCommand.cxx, cmAuxSourceDirectoryCommand.cxx, cmBorlandMakefileGenerator.cxx, cmDSPWriter.cxx, cmFLTKWrapUICommand.cxx, cmMSDotNETGenerator.cxx, cmMakeDepend.cxx, cmNMakeMakefileGenerator.cxx, cmTarget.cxx, cmUnixMakefileGenerator.cxx, cmVTKMakeInstantiatorCommand.cxx: modified how source files store properties 2002-08-16 09:45 king * Source/cmVTKMakeInstantiatorCommand.cxx: ERR: unsigned int -> size_t. 2002-08-16 09:31 king * Source/cmVTKMakeInstantiatorCommand.cxx: ENH: Changed check for which version of instantiators to generate to look for definition of VTK_USE_INSTANTIATOR_NEW instead of an extra argument to VTK_MAKE_INSTANTIATOR. 2002-08-15 15:01 king * Source/: cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h: BUG: Added backward-compatability. The old instantiator style will be used unless the argument USE_INSTANTIATOR_NEW is given to tell the command to make use of the instantiator new functions exported from each class's implementation file. 2002-08-15 14:39 king * Source/: cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h: ENH: Improved generated instantiator to use extern declarations to wrappers around the New() methods. This avoids the need to include each class's header in an instantiator source. The instantiator class implementations can now fit in a single source file that compiles quickly. 2002-08-15 09:34 hoffman * Source/cmNMakeMakefileGenerator.cxx: ENH: add -DWIN32 flag for builds 2002-08-14 11:44 ibanez * Modules/FindFLTK.cmake: ENH: Platform dependent libraries added. 2002-08-13 15:47 martink * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: added macro test 2002-08-13 15:46 martink * Source/: cmCommands.cxx, cmMacroCommand.cxx, cmMacroCommand.h: added new command 2002-08-13 10:46 martink * Source/: cmExecProgramCommand.h, cmExecProgramCommand.cxx: merge from main tree 2002-08-13 10:08 martink * CMakeLists.txt: added man page 2002-08-13 10:05 martink * Source/cmCreateTestSourceList.cxx: some warning and purify fixes 2002-08-13 10:04 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx: IF Else improvements 2002-08-13 10:03 martink * Source/: cmMakefile.cxx, cmMakefile.h: merges from the main branch 2002-08-13 10:02 martink * Source/cmRemoveCommand.cxx: merge from main branch 2002-08-13 10:01 martink * Copyright.txt: merge from the main branch 2002-08-13 10:00 martink * cmake.1: updated from main branch 2002-08-13 09:59 martink * Modules/: FindFLTK.cmake, FindTCL.cmake: updates from the main branch 2002-08-12 08:39 martink * Source/cmElseCommand.cxx: compiler warning 2002-08-09 12:00 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmMakefile.cxx: better IF ELSE handling 2002-08-09 10:04 barre * Modules/FindTCL.cmake: FIX: fix commit messup (this change was committed to the branch instead of the main tree, thus was wiped-out later) 2002-08-09 08:33 barre * Modules/FindwxWindows.cmake: FIX: - WINDOWS does not exist, use WIN32 (or defineWINDOWS if cygwin can not be used inUnix mode?), - fix an un-closed IF, - use same prefix for vars (and make it advanced) 2002-08-09 07:55 andy * Modules/FindwxWindows.cmake: This hopefully finds wxWindows on UNIX 2002-08-08 15:30 andy * Modules/FindwxWindows.cmake: Add UNIX support for WXWINDOWS 2002-08-08 15:29 andy * Source/: cmExecProgramCommand.cxx, cmExecProgramCommand.h: Add return value support and add documentation 2002-08-08 15:14 king * Copyright.txt: ENH: Updated copyright. 2002-08-08 15:13 andy * Source/: cmExecProgramCommand.cxx, cmExecProgramCommand.h: Add option of storing output to the variable 2002-08-08 13:41 barre * Modules/FindwxWindows.cmake: ENH: first stab at wxWindows support (win32) 2002-08-08 12:49 king * CMakeLists.txt: ENH: Adding installation for man page. 2002-08-08 12:30 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: handle .exe extension for cygwin 2002-08-08 11:58 king * cmake.1: ENH: Initial checkin of unix manpage. 2002-08-08 08:51 martink * Source/cmCreateTestSourceList.cxx: fixed some compiler warnings and leaks 2002-08-07 18:12 king * Utilities/: cmake_release_config_hpux, cmake_release_config_irix, cmake_release_config_linux, cmake_release_config_sun, cmake_release_unix.sh, cmake_release_unix_build.sh, cmake_release_unix_config.sh, cmake_release_unix_package.sh: ENH: Split install script into two parts. Added basic support for adding more files to the distribution and creating packages. 2002-08-07 11:01 martink * Source/cmCreateTestSourceList.cxx: fixed some compiler warnings and leaks 2002-08-07 10:30 martink * Source/cmCreateTestSourceList.cxx: fixed some compiler warnings and leaks 2002-08-05 18:08 ibanez * Modules/FindFLTK.cmake: ENH: Images library added. Names for debuggin versions in windows added. 2002-08-05 09:51 martink * Source/cmRemoveCommand.cxx: minor fix 2002-08-02 13:43 ibanez * Modules/FindFLTK.cmake: FIX: names styles for fltkgl and fltkforms are different in windows and linux. Both styles are now searched taking advantage of the NAMES option in FIND_LIBRARY. 2002-08-02 12:51 martink * Source/cmLinkDirectoriesCommand.cxx: duhhhhhh 2002-08-02 08:50 martink * Source/: cmFindLibraryCommand.cxx, cmLinkLibrariesCommand.cxx, cmMakefile.h: updates from the main tree 2002-08-01 23:05 barre * Source/cmFindLibraryCommand.cxx: FIX: put ExpandRegistryValue() back (seems to have been removed accidentally I guess in 1.25) 2002-08-01 15:58 martink * Source/cmLinkDirectoriesCommand.cxx: no longer need an argument 2002-08-01 09:50 martink * Source/cmCreateTestSourceList.cxx, Source/cmCreateTestSourceList.h, Source/cmMakefile.h, Source/cmNMakeMakefileGenerator.cxx, Source/cmNMakeMakefileGenerator.h, Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Source/cmVTKWrapTclCommand.cxx, Source/cmake.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/TestDriver/CMakeLists.txt, Tests/TestDriver/test1.cxx, Tests/TestDriver/test2.cxx, Tests/TestDriver/testArgs.h, Tests/TestDriver/subdir/test3.cxx: merges from the main branch 2002-08-01 08:41 martink * Modules/: FindGLU.cmake, FindJNI.cmake, FindOpenGL.cmake, FindTCL.cmake: merges from the main tree 2002-07-31 13:45 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: BUG: fix jump to directory and build for nmake if library path is not set. combine OutputBuildExecutableInDir and OutputBuildLibraryInDir into OutputBuildTargetInDir 2002-07-31 11:08 martink * Tests/TestDriver/testArgs.h: minor fix for c tests 2002-07-31 11:07 martink * Source/cmCreateTestSourceList.cxx: fixed support for C test programs 2002-07-31 09:29 barre * Source/cmCreateTestSourceList.cxx: FIX: is enough to get malloc()/free() 2002-07-30 16:19 martink * Tests/TestDriver/: CMakeLists.txt, test1.cxx, test2.cxx, subdir/test3.cxx: updated to mods in command 2002-07-30 16:18 martink * Source/: cmCreateTestSourceList.cxx, cmCreateTestSourceList.h: updated to handle extensions 2002-07-30 10:33 barre * Source/cmCreateTestSourceList.cxx: FIX: la commande créait du code C++. Du code C devrait faire l'affaire. 2002-07-30 10:23 barre * Source/cmCreateTestSourceList.cxx: FIX: la commande créait du code C++. Du code C devrait faire l'affaire. 2002-07-29 09:46 barre * Modules/: FindTCL.cmake: ENH: change the search path order (if several Tcl/Tk are installed, the "current" version is likely to be the one that is bound to the wish/tclsh found in the PATH) 2002-07-26 14:06 barre * Modules/: FindTCL.cmake: ENH: clean the module, add debug libs 2002-07-26 10:14 king * Source/: cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: BUG: Only one generated Tcl wrapper source was getting added to the package's library. 2002-07-26 09:54 king * Source/cmVTKWrapTclCommand.cxx: BUG: Generated call to Tcl_CreateCommand for vtkCommand should cast pointer to extern "C" version. 2002-07-25 16:47 king * Source/cmVTKWrapTclCommand.cxx: BUG: Generated vtkCommand prototype cannot be extern "C" because it may not match with the version in VTK. 2002-07-25 16:41 andy * Source/cmSystemTools.cxx: Ok, now cd will work on windows 2002-07-25 16:25 will * Source/cmVTKWrapTclCommand.cxx: fixed warning 2002-07-25 11:17 barre * Modules/FindTCL.cmake: FIX: the stub libs were not searched 2002-07-25 11:10 barre * Modules/FindTCL.cmake: FIX: the stub libs were not searched 2002-07-25 09:16 martink * Source/cmMakefile.cxx: makefile now does not ignore NOTFOUND libs and includes 2002-07-25 08:00 martink * Source/cmMakefile.cxx: makefile now ignores NOTFOUND libs and includes 2002-07-22 11:03 king * Utilities/cmake_release_config_irix: ENH: Added release script configuration for IRIX build. 2002-07-22 10:40 martink * Source/cmMakefile.h: updated to patch 1 2002-07-22 10:34 martink * Templates/CXXCMakeSystemConfig.cmake.in: better docs and support for mising args 2002-07-22 10:33 martink * Source/cmMakefile.cxx: now replaces args even if not defined 2002-07-22 10:31 martink * Source/: cmAddDefinitionsCommand.cxx, cmIncludeDirectoryCommand.cxx, cmLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.cxx: allows less arguments changes from main tree 2002-07-22 10:00 martink * Source/: cmIncludeDirectoryCommand.cxx, cmLinkLibrariesCommand.cxx: allows no arguments 2002-07-20 08:55 martink * Source/cmAddDefinitionsCommand.cxx: modified to accept no arguments 2002-07-19 15:49 martink * Templates/CXXCMakeSystemConfig.cmake.in: fixed some empty descriptions 2002-07-19 14:42 martink * Source/cmMakefile.cxx: full variable replacement and removal or empty arguments 2002-07-19 14:40 martink * Source/cmTargetLinkLibrariesCommand.cxx: does not need a second argument 2002-07-18 18:43 starreveld * Modules/: FindGLU.cmake, FindOpenGL.cmake: ERR: remove automatic Carbon framework on osx 2002-07-17 16:33 martink * Source/cmInstallFilesCommand.cxx: fix for install with paths 2002-07-17 15:57 martink * Source/cmInstallFilesCommand.cxx: fixe for files with paths 2002-07-17 11:53 andy * Source/cmake.cxx: Fix changing of directories using cmSystemTools RunCommand feature 2002-07-17 10:52 martink * Source/: cmForEachCommand.cxx, cmForEachCommand.h, cmMakefile.cxx: fix for IF statements inside of Foreach loops 2002-07-17 10:48 martink * Source/cmForEachCommand.cxx, Source/cmForEachCommand.h, Source/cmMakefile.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: fixed if statements inside a foreach 2002-07-16 17:42 king * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: ENH: Added test for IF inside a FOREACH. 2002-07-15 11:37 king * Utilities/cmake_release_config_hpux: ENH: Adding release script configuration for HPUX.e 2002-07-15 11:13 king * Utilities/cmake_release_config_sun: ENH: Added release configuration file for Sun. 2002-07-15 10:48 king * Utilities/: cmake_release_config_linux, cmake_release_unix.sh: ENH: Made release script more generic for creating static and shared releases. 2002-07-15 10:09 king * Utilities/cmake_release_config_linux: ENH: Release script configuration file for linux. 2002-07-15 10:08 king * Utilities/cmake_release_unix.sh: ENH: Protoype unix release script. 2002-07-15 09:55 king * Templates/CMakeLists.txt: ERR: CXXCMakeSystemConfig.cmake and CCMakeSystemConfig.cmake need .in extension. 2002-07-15 09:46 king * Source/cmInstallFilesCommand.cxx: BUG: Only the last extension should be removed. 2002-07-15 09:45 king * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h: BUG: INSTALL_FILES command should remove the extension of a file before adding the user provided extension. 2002-07-15 09:44 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added GetFilenameWithoutLastExtension. 2002-07-15 09:23 king * Templates/CMakeLists.txt: ERR: Install for CXXCMakeSystemConfig.cmake and CCMakeSystemConfig.cmake need .in extension. 2002-07-15 09:22 king * Modules/FindJNI.cmake: ENH: Added /usr/local/lib/java search paths. 2002-07-15 08:44 martink * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h: fix install target 2002-07-12 11:17 martink * Modules/FindJava.cmake: merged module into branch 2002-07-12 11:10 martink * Source/cmIfCommand.cxx: minor warning fix 2002-07-11 14:58 martink * Source/cmIfCommand.cxx: fix warning 2002-07-11 14:25 martink * Source/cmMakefile.cxx: merge from the main tree 2002-07-11 14:20 hoffman * Source/cmMakefile.cxx: BUG: fix for compile with hp 2002-07-11 14:03 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h: merged some updates, the IF checking 2002-07-11 13:58 martink * Source/: cmUnixMakefileGenerator.cxx, cmVTKWrapTclCommand.cxx, cmake.cxx: updates from the main tree 2002-07-10 16:07 martink * Source/cmVTKWrapTclCommand.cxx: fix warning on Sun 2002-07-10 14:34 andy * Source/cmake.cxx: Add command that runs program in given directory 2002-07-10 11:38 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h: better error handling with if statements 2002-07-10 09:33 andy * Source/cmUnixMakefileGenerator.cxx: Fix problem when using NMake. This generated lines without space so nmake got all confused 2002-07-08 09:30 andy * Modules/FindJava.cmake: Add module that finds java executables. This module should find java, javac, and jar. 2002-07-02 09:58 martink * configure, configure.in: merges from main tree 2002-07-02 09:56 martink * Modules/FindFLTK.cmake: merges with main tree 2002-07-02 09:54 martink * Source/: cmAuxSourceDirectoryCommand.cxx, cmBorlandMakefileGenerator.cxx, cmCMakeMinimumRequired.cxx, cmConfigure.cmake.h.in, cmConfigure.h.in, cmCreateTestSourceList.cxx, cmCreateTestSourceList.h, cmDSWWriter.cxx, cmElseCommand.cxx, cmEnableTestingCommand.h, cmFLTKWrapUICommand.cxx, cmFindLibraryCommand.cxx, cmFunctionBlocker.h, cmGetFilenameComponentCommand.cxx, cmITKWrapTclCommand.cxx, cmIfCommand.cxx, cmIfCommand.h, cmInstallFilesCommand.cxx, cmLinkLibrariesCommand.cxx, cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx, cmSourceFilesRemoveCommand.cxx, cmStandardIncludes.h, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTargetLinkLibrariesCommand.cxx, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmWrapExcludeFilesCommand.cxx, cmake.cxx, cmake.h, ctest.cxx: massive merge from main tree 2002-07-02 09:33 martink * Source/: cmFindLibraryCommand.cxx, cmMakefile.h, cmSystemTools.cxx, cmSystemTools.h: updates 2002-07-02 08:24 martink * Source/: cmMakefile.cxx, cmMakefile.h: fixed warning 2002-07-01 08:49 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h: consolidated IF handling and added checks for bad arguments 2002-06-30 13:53 martink * Source/: cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: fixed commands that were setting definitions in final pass to set definitions in initial pass 2002-06-29 20:04 martink * Source/: cmQTWrapCPPCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: fixed commands that were setting definitions in final pass to set definitions in initial pass 2002-06-28 10:29 andy * Source/cmVTKWrapPythonCommand.cxx: Remove another warning in the python wrapping 2002-06-28 10:18 martink * Source/cmSourceFile.h: performance fix 2002-06-28 09:43 andy * Source/cmVTKWrapPythonCommand.cxx: Add removing of warnings and add comment about the file being generated in CMake 2002-06-28 09:21 martink * Source/cmAuxSourceDirectoryCommand.cxx: bug fix for aux src dirs 2002-06-28 08:57 martink * Source/: cmMakefile.cxx, cmSourceFile.h: minor cleanup 2002-06-27 21:17 martink * Source/: cmMakefile.cxx, cmSourceFile.h: performance inprovements 2002-06-27 16:47 martink * Source/cmMakefile.cxx: bug fix 2002-06-27 16:42 martink * Source/: cmMakefile.cxx, cmSourceFilesCommand.cxx: bug fix 2002-06-27 16:25 martink * Source/cmSourceFilesCommand.cxx: bug fix 2002-06-27 16:05 martink * Tests/Simple/CMakeLists.txt: a minor fix to make my life easier 2002-06-27 15:57 martink * Source/cmAuxSourceDirectoryCommand.cxx, Source/cmCreateTestSourceList.cxx, Source/cmDSWWriter.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmGetFilenameComponentCommand.cxx, Source/cmITKWrapTclCommand.cxx, Source/cmInstallFilesCommand.cxx, Source/cmLinkLibrariesCommand.cxx, Source/cmMSDotNETGenerator.cxx, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx, Source/cmSourceFilesCommand.cxx, Source/cmSourceFilesRemoveCommand.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmVTKMakeInstantiatorCommand.cxx, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapPythonCommand.cxx, Source/cmVTKWrapTclCommand.cxx, Source/cmWrapExcludeFilesCommand.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: removed all source lists from the system and made them vectors. Also appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building 2002-06-27 09:35 king * Source/: cmake.cxx, cmake.h: BUG: CMake crashed if it failed to find its own executable. Also added better error messages when this occurs. 2002-06-25 09:59 hoffman * Tests/Simple/CMakeLists.txt: add a test with no extension 2002-06-25 09:59 hoffman * Source/cmTarget.cxx: BUG: try to tell the difference between variables with sources and other variables 2002-06-25 09:18 king * Source/cmStandardIncludes.h: BUG: Result from ostrstream::str() can be a null pointer. 2002-06-24 18:19 king * Source/cmStandardIncludes.h: BUG: Attempt to fix ostrstream::str() wrapper for broken platforms. 2002-06-24 16:42 martink * Source/cmTarget.cxx: modified to handle src list vectors without proper dollar signs 2002-06-24 14:07 martink * Source/ctest.cxx: BUG: make sure windows paths are used for the command or it will not work for win 98 2002-06-21 11:35 martink * Templates/: CXXCMakeSystemConfig.cmake.in, cxxconfigure, cxxconfigure.in: now looks for stringstream as well, from the main tree 2002-06-21 11:25 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx: fixed if matches bug 2002-06-21 10:31 king * Source/cmStandardIncludes.h: ERR: using declaration to move streams into std namespace needs to bring up ostrstream and ostringstream, not strstream and stringstream. 2002-06-21 10:26 king * Source/CursesDialog/form/frm_driver.c: ERR: Removed most of the repeated curses declarations. The cause errors on other platforms. Grrrr.. 2002-06-21 09:25 king * Source/CursesDialog/form/frm_driver.c: ERR: Added function declarations from curses.h. They are not present on some platforms. Fixes warnings about implicit declarations. 2002-06-21 09:00 king * Tests/: Complex/cmTestConfigure.h.in, ComplexOneConfig/cmTestConfigure.h.in, ComplexRelativePaths/cmTestConfigure.h.in: ENH: Added configuration of CMAKE_NO_ANSI_STRING_STREAM. It is defined when the sstream header does not exist. 2002-06-21 08:42 king * configure, Templates/cxxconfigure: ERR: Ran autoconf on corresponding fixes to configure.in and cxxconfigure.in. 2002-06-21 08:39 hoffman * Templates/cxxconfigure.in: fix for sstream 2002-06-21 08:38 hoffman * configure.in: fix to sstring stuff 2002-06-20 10:39 hoffman * Source/: cmElseCommand.cxx, cmIfCommand.cxx: modified MATCHES to handle non variables 2002-06-20 10:20 king * Source/cmStandardIncludes.h: ERR: cmStringStream is taking the functionality of ostringstream and ostrstream, not stringstream and strstream. 2002-06-20 10:19 king * Templates/CXXCMakeSystemConfig.cmake.in: BUG: CMAKE_NO_ANSI_STRING_STREAM needs to be copied from the cxxconfigure results. 2002-06-19 15:21 king * Source/: cmBorlandMakefileGenerator.cxx, cmCMakeMinimumRequired.cxx, cmConfigure.cmake.h.in, cmConfigure.h.in, cmNMakeMakefileGenerator.cxx, cmStandardIncludes.h, cmSystemTools.cxx, cmUnixMakefileGenerator.cxx, cmVTKMakeInstantiatorCommand.cxx, cmake.cxx: ENH: Added cmStringStream class to wrap std::stringstream or std::strstream depending on the platform. The interface is that of std::stringstream, so no "ends" or "rdbuf()->freeze(0)" lines are needed. 2002-06-19 15:09 king * configure, Templates/cxxconfigure: ENH: Re-ran autoconf to include changes to corresponding configure input. This adds a test for the availability of sstream. 2002-06-19 15:05 king * configure.in, Templates/cxxconfigure.in: ENH: Added test for sstream header. Defines CMAKE_NO_ANSI_STRING_STREAM if the header doesn't exist. 2002-06-19 14:35 barre * Source/cmSystemTools.cxx: ENH: FindLibrary supports .Net specific lib dirs 2002-06-19 13:49 martink * Source/: cmCreateTestSourceList.cxx, cmCreateTestSourceList.h, cmEnableTestingCommand.h, cmFunctionBlocker.h, cmMakefile.h, cmTarget.cxx: merges from main tree 2002-06-19 13:28 martink * Source/cmSourceFile.cxx: modified create test source to create a vector 2002-06-19 13:14 martink * Modules/: Dart.cmake, FindGLU.cmake, FindGLUT.cmake, FindJNI.cmake, FindOpenGL.cmake, FindTclsh.cmake, FindX11.cmake: update dfrom main tree 2002-06-19 12:51 martink * Source/cmCreateTestSourceList.cxx, Source/cmCreateTestSourceList.h, Source/cmSourceFile.cxx, Source/cmTarget.cxx, Tests/TestDriver/CMakeLists.txt: modified create test source to create a vector 2002-06-19 08:57 king * Source/CursesDialog/form/fty_alpha.c: ERR: Fixed unused parameter warning. 2002-06-19 07:28 hoffman * CMakeLists.txt, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: [no log message] 2002-06-18 17:20 king * Source/: cmEnableTestingCommand.h, cmFunctionBlocker.h, cmMakefile.cxx, cmSystemTools.cxx, cmTarget.cxx: ERR: Fixed compiler warnings. 2002-06-18 17:20 king * Source/CursesDialog/: ccmake.cxx, cmCursesBoolWidget.cxx, cmCursesDummyWidget.cxx, cmCursesForm.h, cmCursesLabelWidget.cxx, cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx: ERR: Fixed compiler warnings about unused parameters. 2002-06-18 17:19 king * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c, fty_alnum.c, fty_int.c, fty_ipv4.c, fty_num.c, fty_regex.c: ERR: Fixed compiler warnings when using strict ansi. 2002-06-18 16:43 martink * Modules/Dart.cmake: fixed another bug 2002-06-18 16:35 martink * Modules/Dart.cmake: fixed bug 2002-06-18 16:32 king * Source/ctest.cxx: ERR: Fix for fprintf format warning. 2002-06-18 16:30 king * Source/CursesDialog/form/frm_data.c: ERR: Attempt to fix warning on OSF about implicit declaration of winnstr. 2002-06-18 14:26 barre * Modules/FindGLUT.cmake: ENH: add more paths for the HP 2002-06-18 08:54 hoffman * CMakeLists.txt, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: try and fix link problem on dec 2002-06-17 13:43 andy * Modules/FindJNI.cmake: Add debian Java paths 2002-06-17 13:07 barre * Modules/: FindGLU.cmake, FindGLUT.cmake: FIX: GLU and GLUT flags for Mac OSX 2002-06-14 16:49 barre * Modules/: FindCABLE.cmake, FindTclsh.cmake, FindX11.cmake: ENH: clean modules (doc, make stuff advanced, etc.) 2002-06-14 16:38 hoffman * Modules/Dart.cmake: ENH: change so that on all make based systems all dart targets are added 2002-06-14 11:46 barre * Modules/: FindGLU.cmake, FindGLUT.cmake: ENH: use OPENGL_LIBRARY_PATH as additional search path 2002-06-14 11:45 barre * Modules/FindOpenGL.cmake: ENH: define OPENGL_LIBRARY_PATH (path to OPENGL_LIBRARY) so that it can be used to search for other OpenGL-related libs 2002-06-14 11:31 barre * Modules/FindGLU.cmake: FIX: bug, the wrong include file was searched. 2002-06-14 10:37 barre * Source/: cmFindLibraryCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: FindLibrary can now use the makefile to add some compiler-specific lib search path (depending on the generator). 2002-06-14 10:35 barre * Modules/FindGLUT.cmake: ENH/FIX: Glut should be found, not set. Add search path for Cygwin 2002-06-13 14:45 barre * Modules/FindGLUT.cmake: FIX: comply with the way OpenGL libs are set in FindOpenGL and FindGLU 2002-06-13 11:48 barre * Modules/: FindGLU.cmake, FindGLUT.cmake, FindOpenGL.cmake: ENH: make all OpenGL libs advanced, and add support for glu lib with Borland 2002-06-11 14:54 martink * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: some fixes for dot net and spaces 2002-06-11 14:25 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: use lower case and not short path for uniq paths on window 2002-06-11 14:25 hoffman * Source/cmMSDotNETGenerator.cxx: only allow unique configurations 2002-06-11 14:15 hoffman * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: BUG: fix dot net for paths with spaces 2002-06-11 12:16 hoffman * Source/cmMSDotNETGenerator.cxx: BUG: RelativePath should not be quoted in output files even if it has spaces 2002-06-11 11:19 martink * Source/cmUnixMakefileGenerator.cxx: some win98 depend problems 2002-06-11 11:01 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: don't use short paths in the output 2002-06-11 10:43 hoffman * Source/cmUnixMakefileGenerator.cxx: use short path to get unique path names for depend path output 2002-06-11 09:14 hoffman * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx: ERR: Fixed sun CC warnings. 2002-06-10 14:21 martink * Source/: cmMakeDepend.cxx, cmMakeDepend.h, CMakeLists.txt: joins with the head 2002-06-10 14:19 martink * Source/: cmMakeDepend.cxx, cmMakeDepend.h: now includes current include files directory when searching for files it includes 2002-06-10 11:33 hoffman * Source/CMakeLists.txt: BUG: cmake needs it's own directory for includes, so depends work 2002-06-10 09:50 hoffman * ChangeLog.txt: new changes for 1.4 2002-06-10 09:35 martink * Source/cmMakefile.h: updated revision 2002-06-10 09:33 martink * Modules/: FindGLUT.cmake, FindPythonLibs.cmake: updated from main branch 2002-06-10 08:53 andy * Modules/FindPythonLibs.cmake: Oops, forgot the library name 2002-06-10 08:52 andy * Modules/FindPythonLibs.cmake: Add search for python 2.2 2002-06-07 08:39 ibanez * Modules/FindFLTK.cmake: FIX: {} were missing around FLTK_*_LIBRARY. 2002-06-06 17:49 ibanez * Modules/FindFLTK.cmake: FIX: The final test is done now over FLTK_LIBRARY instead of FLTK_LIBRARY_PATH 2002-06-06 15:28 ibanez * Modules/FindFLTK.cmake: ENH: Support for FLTK1.1 and FLTK1.0.11 added. An option allows to select between the two versions. 2002-06-06 15:00 martink * CMake.rtf: updates 2002-06-06 11:53 hoffman * Source/: Makefile.borland: ENH: remove borland bootstrap makefile 2002-06-06 08:49 hoffman * Modules/FindGLUT.cmake: fix for glut on win32 2002-06-05 13:31 martink * Source/cmMakefile.h: updated revision 2002-06-05 13:30 martink * Source/cmMakefile.h: updated rev 2002-06-05 13:22 martink * Source/ccommand.cxx: merged ccommand into cmake 2002-06-05 09:11 martink * Source/: CMakeLib.dsp, DumpDocumentation.dsp, ccommand.dsp, cmake.dsp, ctest.dsp: uses executabke bootstrap 2002-06-03 13:40 martink * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: changed CCOMMAND to CMAKE 2002-06-03 13:08 martink * Source/CMakeLists.txt, Source/cmBorlandMakefileGenerator.cxx, Source/cmNMakeMakefileGenerator.cxx, Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: removed ccommand use cmake now 2002-06-03 11:06 martink * CMake.rtf: updated 2002-06-03 10:25 hoffman * Source/: cmMakefile.cxx, cmTarget.cxx: ENH: only add _LIB_DEPEND information for libraries and modules 2002-05-31 08:39 martink * Source/cmSystemTools.cxx: fixed bug in get short path for quoted paths 2002-05-29 15:00 perera * Source/cmTarget.cxx: BUG: never make a target depend on itself. This was causing unnecessary library duplication, resulting in link errors on some platforms. 2002-05-29 09:56 king * Source/cmUnixMakefileGenerator.cxx: BUG: MAKEFLAGS does not need to be passed on command line. It is automatically set by make in environment for recursive call. 2002-05-28 08:56 martink * Source/: cmake.cxx, cmake.h: remobed bootstrap 2002-05-28 08:50 martink * bootstrap.exe, ccommand.exe: different bootstrap command 2002-05-27 10:29 barre * Tests/: Complex/VarTests.cmake, Complex/Executable/complex.cxx, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/Executable/complex.cxx: ENH: add tests for LESS, GREATER, STRLESS, STRGREATER (IF command) 2002-05-23 13:27 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: ENH: increse coverage 2002-05-23 13:23 hoffman * Source/cmSystemTools.cxx, Source/cmSystemTools.h, Tests/Complex/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: increase coverage 2002-05-23 13:04 hoffman * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigureEscape.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigureEscape.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigureEscape.h.in, ComplexRelativePaths/Executable/complex.cxx: add a test for escape quotes and configure file 2002-05-23 10:36 martink * bootstrap.exe, ccommand.exe: added win32 bootstrap support 2002-05-23 10:34 martink * Source/: cmDSWWriter.cxx, cmMSDotNETGenerator.cxx: only add test target if testing is enabled and ctest is found 2002-05-23 10:33 martink * Source/cmake.cxx: minor bootstap fixes 2002-05-23 10:32 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h: adde less greater 2002-05-22 13:20 hoffman * Source/cmAddCustomCommandCommand.cxx: ENH: add list expansion back 2002-05-22 09:48 hoffman * Source/: cmMSDotNETGenerator.cxx, cmMSProjectGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH: enable cxx by default if no languages have been enabled 2002-05-22 09:48 hoffman * Source/cmSystemTools.cxx: ENH: better comment processing 2002-05-22 09:47 hoffman * Source/: ctest.cxx, ctest.h: ENH: fix depend problem 2002-05-18 16:09 starreveld * Modules/FindOpenGL.cmake: find openGL in Carbon 2002-05-15 17:23 martink * Source/: cmake.cxx, cmake.h: added initial attempt to support win32 bootstrapping 2002-05-15 11:11 berk * Source/cmSystemTools.cxx: RunCommand now checks whether the process died abnormally (on Unix) 2002-05-14 08:42 andy * Modules/FindWish.cmake: Add better detection of wish 8.2 2002-05-12 11:32 barre * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: add no_system_path option to FindProgram so that the PATH is ignored 2002-05-12 11:31 barre * Source/: cmFindProgramCommand.cxx, cmFindProgramCommand.h: ENH/FIX: add NO_SYSTEM_PATH option + fix command usage 2002-05-12 11:31 barre * Source/cmFindLibraryCommand.h: FIX: command usage 2002-05-11 22:28 perera * Source/cmTarget.cxx: FIX: Remove assert since it was breaking IRIX builds. 2002-05-10 14:06 millerjv * Source/cmTarget.cxx: FIX: Const reference to a set needs a const_iterator. (.NET build error) 2002-05-10 13:35 perera * Source/CMakeLists.txt, Source/cmTarget.cxx, Source/cmTarget.h, Tests/Dependency/CMakeLists.txt, Tests/Dependency/Eight/CMakeLists.txt, Tests/Dependency/Eight/EightSrc.c, Tests/Dependency/Exec2/CMakeLists.txt, Tests/Dependency/Exec2/ExecMain.c, Tests/Dependency/Exec3/CMakeLists.txt, Tests/Dependency/Exec3/ExecMain.c, Tests/Dependency/Exec4/CMakeLists.txt, Tests/Dependency/Exec4/ExecMain.c, Tests/Dependency/Seven/CMakeLists.txt, Tests/Dependency/Seven/SevenSrc.c, Tests/LinkLine/CMakeLists.txt, Tests/LinkLine/Exec.c, Tests/LinkLine/One.c, Tests/LinkLine/Two.c: BUG: Correct some of the dependency analysis code. - Make sure the original link line is untouched - Avoid duplicating the link line when supporting version < 1.4 - Make sure the cyclic dependencies and such are output correctly in complicated cases. - Avoid outputing dependencies that are already satisfied on the original link line when possible. 2002-05-10 08:54 king * Source/cmSystemTools.cxx: ERR: Added variable initializer. 2002-05-09 09:33 hoffman * Source/: cmDSWWriter.cxx, cmMSDotNETGenerator.cxx, cmTarget.cxx, cmTarget.h, cmUnixMakefileGenerator.cxx: ENH: change set to set to avoid long symbols that crash ar on solaris 2002-05-08 17:45 king * Tests/Wrapping/: CMakeLists.txt, itkWrapperConfig.cxx: ENH: Added coverage test for ITK_WRAP_TCL. Doesn't actually invoke CABLE. 2002-05-08 17:45 king * Source/cmITKWrapTclCommand.cxx: ENH: Added dependency hack to support wrapping test. 2002-05-08 17:37 king * Source/cmITKWrapTclCommand.cxx: BUG: Need to use CMAKE_CXX_COMPILER, not CXX, to get the C++ compiler name. 2002-05-08 13:11 king * Source/: cmCommands.cxx, cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: ENH: Added ITK Tcl wrapping command. 2002-05-08 10:27 martink * Source/Makefile.borland: ENH: add clean command 2002-05-08 09:05 hoffman * Source/cmake.cxx: ENH: fix cmake to work without ccommand. 2002-05-08 08:46 hoffman * Source/cmBorlandMakefileGenerator.cxx: BUG: short path does not work on bcc32 2002-05-07 11:03 hoffman * Source/CursesDialog/ccmake.cxx: ENH: add -B option to specify the build directory, so make edit_cache will work 2002-05-07 09:11 hoffman * Source/cmUnixMakefileGenerator.cxx: WNG: remove a warning 2002-05-07 09:03 hoffman * CMake.rtf: ENH: update with docs about the targets 2002-05-07 09:02 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx, cmake.cxx: ENH: add an edit_cache target that runs ccmake or CMakeSetup 2002-05-03 18:10 hoffman * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: fix borland test 2002-05-03 16:34 hoffman * Source/: cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: rework library depend stuff 2002-05-03 00:27 perera * Source/CMakeLists.txt, Source/cmTarget.cxx, Source/cmTarget.h, Tests/Dependency/CMakeLists.txt: - bug fix where paths weren't being output when LIB_OUT_PATH *isn't* used - test case for above mentioned bug - more comments. Comments are good. 2002-05-02 19:09 hoffman * Source/cmTarget.cxx: check for optimized or debug library adds 2002-05-02 16:13 hoffman * Source/: cmTarget.cxx, cmTarget.h: remove canonical conversion for lib names 2002-05-02 15:56 hoffman * Source/: cmMakefile.cxx, cmMakefile.h, cmTarget.cxx: make it backwards compatible with old cmake 2002-05-02 15:10 hoffman * Source/CMakeLists.txt, Source/cmMakefile.cxx, Source/cmTarget.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: Debug optimized cache fixes 2002-05-02 13:41 perera * Source/: cmTarget.cxx, cmTarget.h: BUG: The library paths should stay with the libraries during dependency analysis. 2002-05-02 13:17 hoffman * Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx, Source/cmUnixMakefileGenerator.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/Dependency/Exec/CMakeLists.txt, Tests/Dependency/Six/CMakeLists.txt: ENH: change LINK_LIBRARY to add to targets 2002-05-02 08:54 andy * configure, configure.in: Revert to make it work again 2002-05-02 08:46 andy * configure, configure.in: Improve bootstrap on UNIX. Now it bootstraps into a separate directory. 2002-05-02 02:27 perera * Source/cmTarget.cxx: BUG: if a_LIBS_DEPENDS exists but is empty, there are no explicit dependencies. 2002-05-01 16:33 perera * Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.cxx, Tests/Dependency/CMakeLists.txt: ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries. 2002-05-01 16:24 perera * Tests/Dependency/: CMakeLists.txt, Exec/CMakeLists.txt, Exec/ExecMain.c, Six/CMakeLists.txt, Six/SixASrc.c, Six/SixBSrc.c: ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries. 2002-05-01 14:00 perera * Source/CMakeLists.txt, Source/cmDSPWriter.cxx, Source/cmDSWWriter.cxx, Source/cmMSDotNETGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmNMakeMakefileGenerator.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx, Tests/Dependency/CMakeLists.txt, Tests/Dependency/Exec/CMakeLists.txt, Tests/Dependency/Exec/ExecMain.c, Tests/Dependency/Five/CMakeLists.txt, Tests/Dependency/Five/FiveSrc.c, Tests/Dependency/Four/CMakeLists.txt, Tests/Dependency/Four/FourSrc.c, Tests/Dependency/NoDepA/CMakeLists.txt, Tests/Dependency/NoDepA/NoDepASrc.c, Tests/Dependency/NoDepB/CMakeLists.txt, Tests/Dependency/NoDepB/NoDepBSrc.c, Tests/Dependency/NoDepC/CMakeLists.txt, Tests/Dependency/NoDepC/NoDepCSrc.c, Tests/Dependency/Three/CMakeLists.txt, Tests/Dependency/Three/ThreeSrc.c, Tests/Dependency/Two/CMakeLists.txt, Tests/Dependency/Two/TwoSrc.c: ENH: Add library dependency analysis. 2002-05-01 11:34 berk * Source/CursesDialog/: ccmake.cxx, cmCursesCacheEntryComposite.cxx, cmCursesCacheEntryComposite.h, cmCursesMainForm.cxx, cmCursesMainForm.h: The entry widgets are now created with what is initially available on the terminal. 2002-05-01 10:12 berk * Source/: cmIncludeCommand.cxx, cmMakefile.cxx: Reformatted the error printed by cmMakefile. 2002-04-30 21:48 hoffman * Source/CMakeLists.txt: ENH: allow cmake tests to be run without dart. 2002-04-30 17:49 hoffman * CMakeLists.txt, Source/CMakeLists.txt: create tests without Dart 2002-04-30 17:45 hoffman * Source/cmVTKMakeInstantiatorCommand.cxx: ENH: replace freeze with delete 2002-04-30 16:58 hoffman * Templates/: cconfigure, cconfigure.in: ENH: remove -fPIC for AIX gnu 2002-04-30 15:33 hoffman * Source/cmMSDotNETGenerator.cxx: ENH: fix relwithdebinfo 2002-04-30 14:01 hoffman * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: ENH: add test for SEPARATE_ARGUMENTS 2002-04-30 14:00 hoffman * Source/: cmCommands.cxx, cmSeparateArgumentsCommand.cxx, cmSeparateArgumentsCommand.h: ENH: add new command to separate space separated arguments 2002-04-30 14:00 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmCacheManager.cxx: ENH: do not use count, find for map lookup 2002-04-30 12:58 hoffman * Source/cmMakefile.cxx: ENH: improve speed of GetSource function 2002-04-30 08:09 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: look for -l anywhere in link library entry not just the begining of the line 2002-04-29 10:23 hoffman * Source/cmMakefile.cxx: BUG: make sure link directories are not duplicated 2002-04-29 08:27 hoffman * Templates/: cconfigure, cconfigure.in: use multiple rpath options for sgi 2002-04-28 16:14 perera * Source/: cmLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.cxx: ENH: Make it unnecessary to ever specify LINK_DIRECTORIES for any library generated in this project, even when LIBRARY_OUTPUT_PATH is set. 2002-04-26 21:45 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: remove redirections for output of make commands as some things are lost 2002-04-26 12:43 hoffman * Source/cmUnixMakefileGenerator.cxx: COM: just fix up a comment 2002-04-26 12:42 hoffman * Templates/CCMakeSystemConfig.cmake.in: correct c flags for shared links 2002-04-26 12:21 hoffman * Source/cmUnixMakefileGenerator.cxx, Templates/CCMakeSystemConfig.cmake.in, Templates/CMakeSystemConfig.cmake.in: BUG: fix shared links for cc on hp 2002-04-26 09:55 hoffman * Source/cmBuildNameCommand.cxx: ENH: fix build name 2002-04-26 09:35 hoffman * Source/cmSiteNameCommand.cxx: ENH: look for nslookup and hostname in the right places 2002-04-26 09:22 will * CMake.pdf: ENH:New pdf for CMake 2002-04-26 09:17 martink * CMake.rtf: updated for 1.4 2002-04-26 09:11 martink * Source/cmSourceFilesRemoveCommand.cxx: dprecated 2002-04-26 08:59 martink * Source/Makefile.borland: fixed up again duh 2002-04-25 16:29 martink * Source/Makefile.borland: updated to build ccommand 2002-04-25 15:40 hoffman * Modules/Dart.cmake, Source/cmSiteNameCommand.cxx: fix up hostname for windows 2002-04-25 13:09 hoffman * Source/cmake.cxx: ENH: check for mismatched generators 2002-04-25 07:59 hoffman * Source/: ccommand.cxx, cmCMakeMinimumRequired.cxx, cmOptionCommand.cxx: WAR: remove warnings for .NET compiler 2002-04-24 10:08 andy * Source/.cvsignore: Add cvsignore so that you do not see visual stufio files when you do cvs update 2002-04-23 16:16 berk * Source/: cmake.cxx, CursesDialog/ccmake.cxx, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h: Exit ccmake on fatal errors. 2002-04-23 12:18 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: clean up depend output 2002-04-23 11:33 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: add depends for utility targets 2002-04-22 15:16 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake, Templates/CMakeWindowsSystemConfig.cmake, Source/cmNMakeMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.cxx: ENH: make CMake less verbose/precious 2002-04-22 15:05 perera * Source/CursesDialog/: CMakeLists.txt, form/CMakeLists.txt: BUG: Changed from SOURCE_FILES to SET 2002-04-22 14:29 barre * Source/cmNMakeMakefileGenerator.cxx: ENH: need CMAKE_LINKER_FLAGS 2002-04-22 14:22 barre * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: make CMake less verbose/precious 2002-04-22 14:18 martink * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: duhZ 2002-04-22 11:51 martink * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt, Complex/Executable/cmVersion.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/cmVersion.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/cmVersion.h.in, ComplexRelativePaths/Executable/complex.cxx: fixed for remove COMMAND 2002-04-22 11:50 martink * Source/: CMakeLists.txt, cmCommands.cxx, cmRemoveCommand.cxx, cmRemoveCommand.h: updated for 1.4 2002-04-19 15:28 hoffman * Source/cmTargetLinkLibrariesCommand.cxx, Tests/Simple/CMakeLists.txt, Tests/Simple/simple.cxx, Tests/Simple/simpleLib.cxx: BUG: add link directories for target link libraries and add a test for it 2002-04-19 14:03 martink * Source/: cmAbstractFilesCommand.cxx, cmSourceFilesCommand.cxx, cmWrapExcludeFilesCommand.cxx: added deprecated warnings for version 1.4 or later 2002-04-19 13:05 hoffman * Source/cmCMakeMinimumRequired.h: ENH: fix doc line 2002-04-19 12:49 martink * Source/cmNMakeMakefileGenerator.cxx: renamed unix to unixPath for compile error 2002-04-19 11:49 hoffman * Source/cmNMakeMakefileGenerator.cxx: BUG: fix short path on files that do not exist 2002-04-19 09:00 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: try to make sure a depend file only has one rule 2002-04-19 08:27 hoffman * Source/: cmSystemTools.cxx, cmake.cxx: BUG: fix SameFile function for windows, and compare source directories 2002-04-18 16:13 martink * Source/cmUnixMakefileGenerator.cxx: BUG: work with spaces in the path 2002-04-18 15:58 andy * Source/cmUnixMakefileGenerator.cxx: Make quotes and echos to work on unix (hopefully) 2002-04-18 15:58 andy * Modules/FindMPI.cmake: Add mpi search paths for Debian 2002-04-18 14:51 hoffman * Source/cmake.cxx: ENH: use home not start 2002-04-18 14:19 hoffman * Source/cmake.cxx: ENH: check for mis-matched source directories 2002-04-18 13:44 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: quote the echo commands 2002-04-18 13:12 hoffman * Source/cmSystemTools.cxx: BUG: do escaped semi-colon better 2002-04-18 12:02 hoffman * Source/cmMessageCommand.cxx, Source/cmSystemTools.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: add ability to escape semi-colons 2002-04-18 11:52 martink * configure, configure.in: ENH: handle spaces in paths for cygwin bootstrap 2002-04-18 07:58 hoffman * Source/cmCMakeMinimumRequired.cxx: BUG: add missing include 2002-04-18 07:57 hoffman * Source/: CMakeLib.dsp, Makefile.borland: BUG: fix bootstrap build makefiles 2002-04-17 16:16 hoffman * Source/cmAbstractFilesCommand.cxx, Source/cmAddCustomCommandCommand.cxx, Source/cmCMakeMinimumRequired.cxx, Source/cmCMakeMinimumRequired.h, Source/cmCommands.cxx, Source/cmOptionCommand.cxx, Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/CMakeLists.txt, Tests/ComplexRelativePaths/cmTestConfigure.h.in, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: backwards compatible for VTK 4.0, add cmake version requires 2002-04-17 14:58 king * Tests/Wrapping/CMakeLists.txt: ENH: Removed tests for commands that no longer exist. 2002-04-17 14:54 king * Source/: CMakeLists.txt, Makefile.in, cmCableClassSet.cxx, cmCableClassSet.h, cmCableClassSetCommand.cxx, cmCableClassSetCommand.h, cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h, cmCommands.cxx, cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h, cmMakefile.cxx: ENH: Removed out-of-date commands CABLE_WRAP_TCL CABLE_CLASS_SET and CONFIGURE_GCCXML 2002-04-17 14:52 king * Modules/FindCABLE.cmake: ENH: Updated for latest Cable from CVS. Old alpha version of Cable is no longer supported. 2002-04-17 14:51 king * Modules/FindGCCXML.cmake: ENH: Updated for version 0.2 of GCC-XML. 2002-04-17 14:39 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: use convert to output path for depend files 2002-04-17 08:28 hoffman * Modules/FindOpenGL.cmake: better to find mac opengl 2002-04-17 08:15 hoffman * Templates/: CCMakeSystemConfig.cmake.in, CXXCMakeSystemConfig.cmake.in: more advanced values 2002-04-17 08:09 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: ENH: more coverage 2002-04-16 13:48 barre * Source/cmSystemTools.cxx: Syntax seemed to be confusing according to the Bill 2002-04-16 09:28 barre * Source/ccommand.cxx: FIX: warning 2002-04-15 09:09 hoffman * Source/cmSystemTools.cxx: use stream not sprintf 2002-04-15 08:48 barre * Source/cmSystemTools.cxx: ENH: FilesDiffer checks for 0 byte files 2002-04-14 15:32 barre * Source/cmSystemTools.cxx: ENH: more paranoid checkings 2002-04-12 12:05 barre * Source/cmSystemTools.cxx: FIX: iostream binary flag should be used for cygwin too 2002-04-12 09:57 barre * Source/cmSystemTools.cxx: FIX: fix UMR 2002-04-11 18:59 barre * Source/ccommand.cxx: ENH: also displays command output 2002-04-11 18:17 barre * Source/ccommand.cxx: can be used to time commands (time() & clock()) 2002-04-11 17:02 hoffman * Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.h, Source/cmFindPathCommand.h, Source/cmFindProgramCommand.h, Source/cmIncludeCommand.cxx, Source/cmListFileCache.cxx, Source/cmMakefile.cxx, Source/cmSystemTools.cxx, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: speed improvements 2002-04-11 16:58 starreveld * Source/cmUnixMakefileGenerator.cxx: Allow modules to build properly again. (broken when Cxx testing was added) 2002-04-11 11:30 barre * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: increase coverage 2002-04-11 10:29 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: clean up utility rule generation 2002-04-11 10:11 barre * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: ENH: use target as source if source is empty 2002-04-11 10:05 barre * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h: ENH: use target as source if source is empty 2002-04-11 09:53 barre * Source/: cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: FIX: echo pb, make Nmake gen use Unix gen, factorize stuff in Unix gen 2002-04-10 17:33 barre * Tests/: Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt: ENH: add a test to check if more than one post-build command can be attached. it fails right now. 2002-04-10 16:45 andy * Source/cmUnixMakefileGenerator.cxx: Fix problem with custom commands on unix 2002-04-10 12:13 king * Source/cmaketest.cxx: ERR: UseIt() missing return type. 2002-04-10 11:23 hoffman * Tests/: Complex/Library/testConly.c, ComplexOneConfig/Library/testConly.c, ComplexRelativePaths/Library/testConly.c: ENH: only check flag on unix 2002-04-10 08:38 hoffman * Source/cmaketest.cxx: fix warning 2002-04-09 12:22 hoffman * Tests/: Complex/Library/testConly.h, ComplexOneConfig/Library/testConly.h, ComplexRelativePaths/Library/testConly.h, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: check for compile flags and add back c flag to unix generator 2002-04-09 12:15 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: check for compile flags and add back c flag to unix generator 2002-04-09 12:02 hoffman * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, Complex/Library/testConly.c, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/testConly.c, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/testConly.c: ENH: check for compile flags and add back c flag to unix generator 2002-04-09 11:33 barre * DartConfig.cmake: ENH: quick stab at a rollup button 2002-04-09 10:19 hoffman * Tests/: Complex/Library/testConly.c, Complex/Library/testConly.h, ComplexOneConfig/Library/testConly.c, ComplexOneConfig/Library/testConly.h, ComplexRelativePaths/Library/testConly.c, ComplexRelativePaths/Library/testConly.h: correct exports for windows 2002-04-09 09:37 hoffman * Tests/: Complex/Library/sharedFile.h, ComplexOneConfig/Library/sharedFile.h, ComplexRelativePaths/Library/sharedFile.h: c not c++ comment 2002-04-09 08:55 hoffman * DartConfig.cmake: change EST to EDT 2002-04-08 19:31 biddi * Source/cmSystemTools.cxx: ERR: ReplaceString didn't work properly if replace was longer than with as length added to start pos on next search was replaceLength instead of withLength 2002-04-08 15:01 hoffman * Templates/: CXXCMakeSystemConfig.cmake.in, cconfigure, cconfigure.in: [no log message] 2002-04-08 13:36 hoffman * Source/cmExecProgramCommand.cxx, Source/cmUnixMakefileGenerator.cxx, Templates/CCMakeSystemConfig.cmake.in, Templates/CXXCMakeSystemConfig.cmake.in, Templates/cconfigure, Templates/cconfigure.in, Templates/cxxconfigure, Templates/cxxconfigure.in, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/Complex/Library/testConly.c, Tests/Complex/Library/testConly.h, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/testConly.c, Tests/ComplexOneConfig/Library/testConly.h, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/testConly.c, Tests/ComplexRelativePaths/Library/testConly.h: ENH: use separate vars for creating c++ and c shared libraries and add a test for c libraries 2002-04-05 12:08 hoffman * Source/cmProjectCommand.cxx: expand ; args 2002-04-05 10:51 martink * Modules/Dart.cmake: improved finding purify on windows to use registry 2002-04-05 09:39 hoffman * Source/: Makefile.borland, cmaketest.cxx, cmaketest.h.in: ENH: make sure the test tests the right cmake, and not the cmake used to bootstrap this cmake 2002-04-05 07:22 hoffman * Tests/TestDriver/testArgs.h: ENH: add missing file 2002-04-04 16:53 hoffman * Source/cmCreateTestSourceList.cxx, Source/cmCreateTestSourceList.h, Tests/TestDriver/CMakeLists.txt: ENH: add the ability to process command line arguments in the test driver before the test driver gets them 2002-04-04 11:01 hoffman * Source/cmUnixMakefileGenerator.cxx, Templates/CXXCMakeSystemConfig.cmake.in, Templates/cxxconfigure, Templates/cxxconfigure.in: ENH: separate the ar program for cxx and c 2002-04-04 10:08 hoffman * Templates/CMakeLists.txt: update install information 2002-04-04 09:04 hoffman * Templates/: cxxconfigure, cxxconfigure.in: BUG: add system command back into script 2002-04-03 16:14 hoffman * Source/cmExecProgramCommand.cxx, Source/cmExecProgramCommand.h, Source/cmNMakeMakefileGenerator.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmaketest.cxx, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: fix more space problems, you can add args to the ExecProgram command separatly now 2002-04-03 13:53 andy * Modules/FindTCL.cmake: More places to find TCL/TK for example on Debian 2002-04-02 15:42 hoffman * CMake.rtf, Example/Demo/CMakeLists.txt, Example/Hello/CMakeLists.txt, Source/CMakeLists.txt, Source/cmBorlandMakefileGenerator.cxx, Source/cmBorlandMakefileGenerator.h, Source/cmDSWWriter.cxx, Source/cmMSDotNETGenerator.cxx, Source/cmMSDotNETGenerator.h, Source/cmMSProjectGenerator.cxx, Source/cmMSProjectGenerator.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileGenerator.cxx, Source/cmMakefileGenerator.h, Source/cmNMakeMakefileGenerator.cxx, Source/cmNMakeMakefileGenerator.h, Source/cmProjectCommand.cxx, Source/cmProjectCommand.h, Source/cmSetCommand.cxx, Source/cmSetSourceFilesPropertiesCommand.h, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Source/cmake.cxx, Templates/cconfigure, Templates/cconfigure.in, Templates/cxxconfigure, Templates/cxxconfigure.in, Tests/COnly/CMakeLists.txt, Tests/COnly/conly.c, Templates/configure, Templates/configure.in, Templates/CCMakeSystemConfig.cmake.in, Templates/CXXCMakeSystemConfig.cmake.in: ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler 2002-04-01 14:58 barre * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: add test for registry-related functions (win32) 2002-04-01 14:50 hoffman * Source/cmSystemTools.cxx: ENH: fix for regkey and ; separation 2002-04-01 13:34 barre * Source/: ccommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: add functions to API (read, write, delete registry key value) 2002-04-01 08:08 andy * Modules/FindVTK.cmake: More finds for VTK 2002-03-31 11:43 andy * Modules/FindVTK.cmake: Add some more locations of VTK 2002-03-30 17:17 barre * Source/: cmAbstractFilesCommand.cxx, cmSetCommand.cxx: FIX: get rid of warnings 2002-03-29 18:07 ibanez * Modules/FindFLTK.cmake: ENH: HAS_FLTK variable added. FLTK_WRAP_UI command made INTERNAL. 2002-03-29 16:25 barre * Source/cmCreateTestSourceList.cxx: FIX: should compare to 0, not NULL 2002-03-29 16:03 barre * Source/: ctest.cxx, ctest.h: ENH: if -R or -E was used, displays also the name of the tests that passed. 2002-03-29 15:41 barre * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: FIX: fix dummy lib name for Unix 2002-03-29 15:02 barre * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, Complex/Library/cmTestLibraryConfigure.h.in, Complex/Library/dummy, Complex/Library/empty.h, Complex/Library/file2.cxx, Complex/Library/file2.h, ComplexOneConfig/Library/cmTestLibraryConfigure.h.in, ComplexOneConfig/Library/dummy, ComplexOneConfig/Library/empty.h, ComplexOneConfig/Library/file2.cxx, ComplexOneConfig/Library/file2.h, ComplexRelativePaths/Library/cmTestLibraryConfigure.h.in, ComplexRelativePaths/Library/dummy, ComplexRelativePaths/Library/empty.h, ComplexRelativePaths/Library/file2.cxx, ComplexRelativePaths/Library/file2.h, Complex/Library/fileFlags.cxx, ComplexOneConfig/Library/fileFlags.cxx, ComplexRelativePaths/Library/fileFlags.cxx: ENH: fix tests 2002-03-29 14:31 hoffman * Source/cmMSDotNETGenerator.cxx: output list bug 2002-03-29 14:22 hoffman * Tests/: Complex/Library/cmTestLibraryConfigure.h.in, ComplexOneConfig/Library/cmTestLibraryConfigure.h.in, ComplexRelativePaths/Library/cmTestLibraryConfigure.h.in: [no log message] 2002-03-29 14:20 hoffman * Source/cmAbstractFilesCommand.cxx, Source/cmAddCustomCommandCommand.cxx, Source/cmAddCustomTargetCommand.cxx, Source/cmAddDefinitionsCommand.cxx, Source/cmAddDependenciesCommand.cxx, Source/cmAddTestCommand.cxx, Source/cmCableClassSetCommand.cxx, Source/cmCableWrapTclCommand.cxx, Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx, Source/cmFLTKWrapUICommand.cxx, Source/cmFindFileCommand.cxx, Source/cmFindLibraryCommand.cxx, Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx, Source/cmGetSourceFilePropertyCommand.cxx, Source/cmGetSourceFilePropertyCommand.h, Source/cmIncludeDirectoryCommand.cxx, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmInstallTargetsCommand.cxx, Source/cmLinkDirectoriesCommand.cxx, Source/cmLoadCacheCommand.cxx, Source/cmMakeDirectoryCommand.cxx, Source/cmMarkAsAdvancedCommand.cxx, Source/cmOutputRequiredFilesCommand.cxx, Source/cmProjectCommand.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx, Source/cmSetSourceFilesPropertiesCommand.cxx, Source/cmSetSourceFilesPropertiesCommand.h, Source/cmSiteNameCommand.cxx, Source/cmSourceFilesCommand.cxx, Source/cmSourceFilesFlagsCommand.cxx, Source/cmSourceFilesFlagsCommand.h, Source/cmSourceFilesRemoveCommand.cxx, Source/cmSubdirCommand.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUseMangledMesaCommand.cxx, Source/cmUseMangledMesaCommand.h, Source/cmUtilitySourceCommand.cxx, Source/cmVTKMakeInstantiatorCommand.cxx, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapPythonCommand.cxx, Source/cmVTKWrapTclCommand.cxx, Source/cmVariableRequiresCommand.cxx, Source/cmWrapExcludeFilesCommand.cxx, Tests/Complex/Executable/CMakeLists.txt, Tests/Complex/Executable/complex.cxx, Tests/ComplexOneConfig/Executable/CMakeLists.txt, Tests/ComplexOneConfig/Executable/complex.cxx, Tests/ComplexRelativePaths/Executable/CMakeLists.txt, Tests/ComplexRelativePaths/Executable/complex.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/Complex/Library/file2.cxx, Tests/Complex/Library/file2.h, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/file2.cxx, Tests/ComplexOneConfig/Library/file2.h, Tests/ComplexRelativePaths/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/file2.cxx, Tests/ComplexRelativePaths/Library/file2.h: make sure ; expansion is done in all commands 2002-03-29 11:12 hoffman * Tests/TestDriver/: CMakeLists.txt, test1.cxx, testExtraStuff.cxx, testExtraStuff2.cxx, testExtraStuff3.cxx: ENH: add test for set to create source lists 2002-03-29 11:11 hoffman * Source/cmAddExecutableCommand.cxx: fix const problem 2002-03-29 11:04 hoffman * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx, cmSetCommand.cxx, cmSetCommand.h: ENH: add ability to use ; separated lists in SET and expand them for addexecutable and addlibrary 2002-03-29 11:03 hoffman * Source/cmGetSourceFilePropertyCommand.h: fix docs 2002-03-29 10:56 barre * Source/: cmMessageCommand.cxx, cmMessageCommand.h: ENH: Add SEND_ERROR flag to MESSAGE so that an error can be raised within a CMakeList file 2002-03-29 10:07 hoffman * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: more tests 2002-03-29 10:06 hoffman * Source/: cmAbstractFilesCommand.cxx, cmBorlandMakefileGenerator.cxx, cmCommands.cxx, cmCreateTestSourceList.cxx, cmDSPWriter.cxx, cmFLTKWrapUICommand.cxx, cmGetSourceFilePropertyCommand.cxx, cmGetSourceFilePropertyCommand.h, cmInstallFilesCommand.cxx, cmMSDotNETGenerator.cxx, cmMakeDepend.cxx, cmMakefile.cxx, cmMakefile.h, cmNMakeMakefileGenerator.cxx, cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmSetSourceFilesPropertiesCommand.cxx, cmSetSourceFilesPropertiesCommand.h, cmSourceFile.cxx, cmSourceFilesCommand.cxx, cmSourceFilesFlagsCommand.cxx, cmTarget.cxx, cmTarget.h, cmUnixMakefileGenerator.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmWrapExcludeFilesCommand.cxx, cmaketest.cxx, cmaketest.h.in: ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc. 2002-03-29 08:42 barre * Source/cmCreateTestSourceList.cxx: FIX: tolower is in !, frenchy 2002-03-28 11:43 barre * Source/cmCreateTestSourceList.cxx: ENH: perform case insensitive comparison on test names 2002-03-27 16:19 barre * Source/cmCreateTestSourceList.cxx: FIX: cmSourceFile::SetName was not called correctly for the test source files 2002-03-27 15:52 barre * Source/cmCreateTestSourceList.cxx: ENH: small formatting enh 2002-03-27 13:54 barre * Tests/: Complex/VarTests.cmake, Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: ENH: add a more stressing FOREACH test. 2002-03-27 13:46 barre * Source/CMakeLists.txt, Tests/TestDriver/CMakeLists.txt, Tests/TestDriver/test3.cxx, Tests/TestDriver/subdir/test3.cxx: ENH: add testdriver test with source file in subdir 2002-03-27 10:55 barre * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: FIX: do not use CMAKE_CFG_INTDIR, just use LINK_DIRECTORIES 2002-03-27 10:54 barre * Tests/: Testing/CMakeLists.txt, Wrapping/CMakeLists.txt: FIX: do not need CMakeLib 2002-03-26 18:06 barre * Source/cmCreateTestSourceList.cxx: ENH: keep the name of the test as close to the source file (only the function name is cleaned up) 2002-03-26 17:53 barre * Source/cmCreateTestSourceList.cxx: ENH: add -R (similar to ctest but use substr instead of regexp). indent. 2002-03-26 16:45 barre * Source/: cmForEachCommand.h, cmFunctionBlocker.h, cmMakefile.cxx: FIX: foreach function-blockers were using expanded args. Add virtual func to specify if function blocker needs them expanded or not. 2002-03-26 16:44 barre * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: ExpandListArguments(): empty elements in semi-colon-separated string-list can now be ignored. 2002-03-26 16:42 barre * Source/cmCreateTestSourceList.cxx: ENH: now supports tests inside sub-dirs 2002-03-26 14:42 barre * Tests/Wrapping/CMakeLists.txt: ENH: USE_MANGLED_MESA is more careful now. Try to trick it again. 2002-03-26 14:41 barre * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, Testing/CMakeLists.txt, Wrapping/CMakeLists.txt: ENH: Use ${CMAKE_CFG_INTDIR} instead of hardcoded RelInfo, Debug, Release, etc. 2002-03-26 12:55 hoffman * Source/cmUseMangledMesaCommand.cxx: ENH: add error checking for mmesa 2002-03-26 12:38 hoffman * Source/: ccommand.cxx, cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx: ENH: use ccommand for del on windows 2002-03-26 12:38 hoffman * Source/cmaketest.cxx: ENH: show output when running tests 2002-03-26 12:37 hoffman * Source/cmCreateTestSourceList.cxx: ENH: if no arguments are given and there is only one test, then run it 2002-03-25 17:03 martink * Source/cmake.cxx: removed quotes from cmake and ccommand executable to be consistant 2002-03-25 16:24 barre * Source/cmForEachCommand.cxx: ENH: support semi-colon format (list of args as string) 2002-03-25 15:59 barre * Source/: ccommand.cxx, cmSystemTools.cxx: ENH: cmCopyFile ; the path to the destination file will be created ; second arg can be a directory. 2002-03-25 15:58 barre * Templates/: CMakeDotNetSystemConfig.cmake, CMakeWindowsSystemConfig.cmake: Add suffixes 2002-03-20 16:18 hoffman * Source/CMakeLists.txt, Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx, Source/cmCreateTestSourceList.h, Source/cmaketest.cxx, Tests/TestDriver/CMakeLists.txt, Tests/TestDriver/test1.cxx, Tests/TestDriver/test2.cxx, Tests/TestDriver/test3.cxx: ENH: add new command to create a test driver 2002-03-20 13:16 hoffman * CMakeLists.txt, Source/CMakeLists.txt: ENH: remove fltk dialog as it is no longer supported 2002-03-19 12:25 andy * Source/ccommand.cxx: Return error on copy 2002-03-18 11:59 andy * Source/ccommand.cxx: Remove warning about sign and unsigned 2002-03-15 15:42 andy * Source/: CMakeLists.txt, CMakeSetup.dsw, ccommand.cxx, ccommand.dsp, cmake.cxx: Add ccommand for executing commands on the system, so by using ADD_CUSTOM_COMMAND, you can make rules to do some system commands during build. Currently supported commands are copy and remove. Others will follow. 2002-03-15 13:20 perera * Source/cmSourceFilesFlagsCommand.cxx: BUG: The source file may be specified with an extension. 2002-03-15 10:43 martink * Source/ctest.cxx: less noisy about changing directories 2002-03-15 09:40 berk * Templates/CMakeSystemConfig.cmake.in: There can be multiple ansi flags now 2002-03-15 09:23 hoffman * Templates/configure: HP add Ae flag 2002-03-15 09:14 berk * Templates/configure.in: Added better support for HPux 2002-03-14 16:04 hoffman * Source/cmMakefile.cxx: ENH: add .in as a header file type, as it can not be compiled 2002-03-14 16:03 hoffman * Source/CMakeLists.txt: BUG: .h not two .cxx files 2002-03-14 14:59 hoffman * Source/cmSystemTools.cxx: BUG: fix RunCommand again... back to system, but with GetShortPath 2002-03-14 14:59 hoffman * Source/cmDSPWriter.cxx: BUG: fix for paths with spaces 2002-03-14 14:58 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h: BUG: fix for files with dashes in them 2002-03-14 11:11 hoffman * Source/: cmConfigureGccXmlCommand.cxx, cmExecProgramCommand.cxx, cmSystemTools.cxx, cmSystemTools.h, cmaketest.cxx, ctest.cxx: ENH: overhaul of RunCommand on windows, if only win32 had popen... 2002-03-13 14:23 martink * Source/: cmDSPWriter.cxx, cmDSWWriter.cxx: ENH: closer to working with spaces in the path 2002-03-13 10:25 hoffman * Source/: CMakeLists.txt, cmAuxSourceDirectoryCommand.cxx, cmCableClassSet.cxx, cmCableClassSet.h, cmDirectory.cxx, cmDirectory.h, cmFLTKWrapUICommand.cxx, cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmMSDotNETGenerator.cxx, cmMakefile.cxx, cmNMakeMakefileGenerator.cxx, cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmRegularExpression.cxx, cmSourceGroup.cxx, cmSystemTools.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmaketest.cxx, ctest.cxx: ENH: remove several compiler warnings 2002-03-12 10:16 king * Templates/: configure, configure.in: ENH: Added test for explicit instantiation support. 2002-03-11 16:04 hoffman * Source/cmOptionCommand.cxx: ENH: add error checking for option commands with too many arguments 2002-03-11 12:11 hoffman * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: ENH: add support for .def files 2002-03-11 08:11 hoffman * Source/cmMSDotNETGenerator.cxx: BUG: make sure libraries do not depend on themselves 2002-03-10 18:24 hoffman * Templates/: configure, configure.in: ENH: try to get crazy dec cxx to work again... one more time 2002-03-10 10:02 hoffman * Templates/: configure, configure.in: ENH: try to get crazy dec cxx to work again... 2002-03-08 13:12 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: more dec silly stuff 2002-03-08 11:01 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: more stupid dec cxx tricks... 2002-03-08 08:19 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: add one more stupid function call for the dec cxx compiler... 2002-03-08 07:25 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: try to fix dec cxx 2002-03-07 22:07 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: add more junk for the dec cxx compiler to force it to instantiate stuff 2002-03-07 12:13 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: use the string class to force the dec compiler to instantiate some templates 2002-03-07 10:41 barre * Source/CMakeLists.txt: Build cmaketest even if testing if OFF (so that it can be used externally) 2002-03-06 17:58 barre * Source/: ctest.cxx, ctest.h: ENH: add -E option (exclude tests matching a regexp) 2002-03-06 16:30 barre * Source/: CMakeLists.txt, cmaketest.cxx: ENH: add cmaketest to install targets (so that it can be used in other projects) and pass the rest of its command-line args to cmake 2002-03-06 10:44 hoffman * Templates/CMakeNMakeWindowsSystemConfig.cmake: build type should not be advanced 2002-03-06 10:11 hoffman * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt: ENH: add test for semi-colon separated lists of libraries 2002-03-06 10:10 hoffman * Source/: cmLinkLibrariesCommand.cxx, cmMSDotNETGenerator.cxx, cmSystemTools.cxx, cmSystemTools.h, cmTargetLinkLibrariesCommand.cxx: ENH: add suport for semi-colon separated list variables 2002-03-05 18:41 hoffman * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx, cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx, cmAddTestCommand.cxx, cmBuildCommand.cxx, cmCableClassSetCommand.cxx, cmCableWrapTclCommand.cxx, cmConfigureFileCommand.cxx, cmElseCommand.cxx, cmEndIfCommand.cxx, cmExecProgramCommand.cxx, cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmGetFilenameComponentCommand.cxx, cmIfCommand.cxx, cmIncludeCommand.cxx, cmIncludeExternalMSProjectCommand.cxx, cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx, cmLoadCacheCommand.cxx, cmMakeDirectoryCommand.cxx, cmMakefile.cxx, cmMessageCommand.cxx, cmOptionCommand.cxx, cmOutputRequiredFilesCommand.cxx, cmSetCommand.cxx, cmSourceFilesCommand.cxx, cmSubdirCommand.cxx, cmSystemTools.cxx, cmUnixMakefileGenerator.cxx, cmUseMangledMesaCommand.cxx, cmVTKMakeInstantiatorCommand.cxx: ENH: expand variables in arguments before the commands get them 2002-03-05 18:25 hoffman * Source/cmSystemTools.cxx: BUG: get the correct return value from pclose 2002-03-04 15:00 hoffman * Tests/: Complex/Library/fileFlags.cxx, ComplexOneConfig/Library/fileFlags.cxx, ComplexRelativePaths/Library/fileFlags.cxx: ENH: add support for per file flags 2002-03-04 14:12 hoffman * Source/: cmCommands.cxx, cmDSPWriter.cxx, cmDSPWriter.h, cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmSourceFile.h, cmSourceGroup.cxx, cmSourceGroup.h, cmUnixMakefileGenerator.cxx, cmSourceFilesFlagsCommand.cxx, cmSourceFilesFlagsCommand.h: ENH: add file specific compile flags 2002-03-04 14:11 hoffman * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: ENH: add a test for per file flags 2002-03-01 15:49 king * Source/: cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h: ENH: Added support for including extra files in generated header to get access to export macros of derived projects. 2002-03-01 09:00 hoffman * Templates/: CMakeBorlandWindowsSystemConfig.cmake, CMakeDotNetSystemConfig.cmake, CMakeNMakeWindowsSystemConfig.cmake, CMakeSystemConfig.cmake.in, CMakeWindowsSystemConfig.cmake, configure, configure.in: ENH: add some OS/compiler variables 2002-02-28 15:58 hoffman * Modules/Dart.cmake: ENH: add VERBOSE_BUILD to options 2002-02-28 15:57 hoffman * Source/cmakewizard.cxx: check bool values and prefere off 2002-02-28 15:42 hoffman * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: use xml output quotes for paths 2002-02-28 15:06 hoffman * Templates/: configure, configure.in: change hp checks to all hps and not just version 10 2002-02-28 11:15 hoffman * Source/cmSystemTools.cxx: BUG: look for exe path as well. 2002-02-28 10:41 hoffman * Source/cmSystemTools.cxx: ENH: look for .com files before .exe 2002-02-28 08:45 hoffman * Templates/CMakeDotNetSystemConfig.cmake: find path to devenv 2002-02-28 07:50 hoffman * Templates/CMakeDotNetSystemConfig.cmake: ENH: add build name to the cache with a default value for dot net 2002-02-27 18:11 hoffman * Source/cmMSDotNETGenerator.cxx, Source/cmSystemTools.cxx, Templates/CMakeDotNetSystemConfig.cmake: clean up in dot net 2002-02-26 15:15 hoffman * Source/: ctest.cxx, ctest.h: add command line option -D for config directory to run 2002-02-26 15:14 hoffman * Source/: cmDSWWriter.cxx, cmMSDotNETGenerator.cxx: ENH: add RUN_TESTS 2002-02-26 11:46 barre * Source/cmAddTestCommand.cxx: FIX: command now expands args during the first pass (found through FOREACH example) 2002-02-26 10:11 hoffman * Templates/CMakeDotNetSystemConfig.cmake: [no log message] 2002-02-26 08:56 hoffman * Source/cmCableClassSet.cxx: BUG: fix type problem size_type is unsigned 2002-02-25 18:14 hoffman * Source/: cmBuildCommand.cxx, cmDirectory.h, cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmRegularExpression.h, cmSystemTools.cxx: ENH: dot net almost working 2002-02-25 16:57 barre * Source/cmAddExecutableCommand.cxx: FIX: command now expands *all* args (found through FOREACH example) 2002-02-25 15:22 barre * Tests/Testing/: CMakeLists.txt, Sub/CMakeLists.txt, Sub/Sub2/CMakeLists.txt, Sub/Sub2/testing2.cxx: ENH: provide a test for today's ReadListFile() bug fix 2002-02-25 15:06 barre * Source/cmMakefile.cxx: FIX: although a CMakeLists.txt file could be searched up 'n' level in the directory tree, ReadListFile() always implied a CMakeLists.txt file was up *one* level. 2002-02-25 13:20 hoffman * Modules/FindDart.cmake: ENH: look for Dart in c: 2002-02-25 11:58 barre * Source/cmSubdirCommand.cxx: ENH: Expand vars in SUBDIRS 2002-02-25 10:47 hoffman * Source/cmSystemTools.cxx: BUG: fix remove of cygdrive path stuff 2002-02-23 10:00 king * Source/cmSystemTools.cxx: ERR: std::ios::binary is only needed for Windows platforms, and isn't supported for all UNIX platforms. 2002-02-22 15:40 hoffman * Source/: cmAddTestCommand.cxx, cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: ENH: fix for spaces in paths on unix 2002-02-22 13:38 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmDSPWriter.cxx, cmExecProgramCommand.cxx, cmMSDotNETGenerator.cxx, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmaketest.cxx: ENH: big change in the path handling, one function CreateOutputPath is used to escape spaces and convert to the native path type 2002-02-22 10:08 king * Source/cmSystemTools.cxx: ENH: Another attempt at getting cmCopyFile to work correctly. The previous implementation was correct, but didn't work on HPUX due to stream library bugs. This implementation will hopefully work everywhere. 2002-02-21 17:32 hoffman * Source/cmSystemTools.cxx: BUG: fix copy file for HP 2002-02-21 16:06 barre * Source/: ctest.cxx, ctest.h: ENH: Since each test can send a lot of text to stderr/stdout, ctest now displays the list of tests that failed at the end of the process. 2002-02-21 15:55 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: add a virtual CreateMakeVariable to shorten makefile variables for borland make 2002-02-21 08:53 berk * Source/cmake.dsp: Argh 2002-02-21 08:43 hoffman * Source/cmaketest.cxx: add ifdef for windows function 2002-02-20 15:26 hoffman * Source/: cmMSDotNETGenerator.cxx, cmaketest.cxx: close to dot net working 2002-02-20 09:16 berk * Source/cmake.dsp: Bill forgot to add a library to the release target. 2002-02-19 17:56 hoffman * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: ENH: getting closer 2002-02-19 11:53 hoffman * Source/: Makefile.borland, CMakeLists.txt: ENH: add dotnet stuff 2002-02-19 09:43 hoffman * Source/: CMakeLib.dsp, CMakeLists.txt: add dot net stuff to cmakelists file and dsp file 2002-02-18 17:41 hoffman * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmSLNWriter.cxx, cmSLNWriter.h, cmVCProjWriter.cxx, cmVCProjWriter.h: getting closer but still not working dot net support 2002-02-18 14:36 hoffman * Source/: CMakeLib.dsp, cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmSLNWriter.cxx, cmSLNWriter.h, cmSystemTools.cxx, cmVCProjWriter.cxx, cmVCProjWriter.h, cmake.cxx, cmake.dsp: ENH: first pass at dot net support 2002-02-18 14:09 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH: fix for borland tlib files with dash in them problem. 2002-02-14 10:03 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: only depend subdir builds on TARGETS, not all sub dir operations, we do not want to build when doing a make depend 2002-02-14 10:01 hoffman * configure, configure.in, Templates/configure, Templates/configure.in: ENH: do not use O2 g as default flags 2002-02-14 09:31 barre * DartConfig.cmake: ENH: Add PROJECT_URL 2002-02-13 18:57 barre * DartConfig.cmake: ENH: Doxygen page 2002-02-13 18:50 barre * Utilities/Doxygen/doc_makeall.sh.in: FIX: remove that good ol' exit 0; 2002-02-13 18:32 barre * Utilities/Doxygen/doc_makeall.sh.in: FIX: update html archive filename 2002-02-13 18:28 barre * Utilities/Doxygen/: CMakeLists.txt, authors.txt, doc_makeall.sh.in, doxyfile.in: ENH: Contribution graphs 2002-02-13 16:17 barre * Source/CursesDialog/form/.NoDartCoverage: This dir should not be covered (form distrib) 2002-02-12 17:38 barre * Tests/Wrapping/: CMakeLists.txt, dummy: ENH: Trick VTK_WRAP_JAVA in a better way (avoid CUSTOM_TARGET) 2002-02-08 15:52 hoffman * Source/cmSystemTools.cxx: BUG: fix CollapseFullPath so a trailing slash is not added to directories 2002-02-07 11:39 andy * Templates/CMakeSystemConfig.cmake.in: ERR: Cache bigendian 2002-02-07 11:28 martink * Source/cmMakefile.h: next patch 2002-02-07 11:27 martink * Templates/CMakeSystemConfig.cmake.in: value needed to be cached 2002-02-06 12:14 hoffman * Source/cmake.cxx: ENH: add ends at end of string 2002-02-06 10:50 hoffman * Source/: cmSystemTools.cxx, cmSystemTools.h: add bool return value so diagnostics are easier 2002-02-06 10:42 hoffman * Source/cmAuxSourceDirectoryCommand.cxx: BUG: remove depend on directory because it is not supported by all makes 2002-02-04 22:00 hoffman * Source/CursesDialog/CMakeLists.txt: ENH: use target link libraries and add the link directory for cmform 2002-02-04 18:41 barre * Modules/: Documentation.cmake, FindGnuplot.cmake: Add module to find gnuplot 2002-02-04 08:28 iscott * Source/cmAuxSourceDirectoryCommand.cxx: the generated makefiles/DSPfiles now depend on the aux source directory's last modified date. 2002-02-01 13:08 berk * Source/cmake.cxx: Using cmSystemTools::Error() instead of cerr. 2002-02-01 13:07 berk * Source/cmUnixMakefileGenerator.cxx: Better support for parallel builds. Subdirs depend on their parent. 2002-02-01 09:28 hoffman * CMakeLists.txt, Source/CMakeLists.txt: use CMake_SOURCE and not CMAKE_ROOT 2002-01-31 15:16 blezek * Modules/FindPythonLibs.cmake: ENH: Adding search path's for PYTHON_LIBRARY 2002-01-31 10:32 hoffman * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt: try to get this working for dec cxx default compiler options 2002-01-30 11:23 hoffman * Source/cmStandardIncludes.h: ENH: fix for dec compiler, they still do not have the correct ansi stream library 2002-01-25 09:06 king * Source/CursesDialog/form/: fld_def.c, frm_data.c, frm_def.c, frm_driver.c: ERR: Corrected assertions of pointers to remove warnings. 2002-01-24 14:15 berk * Source/cmSystemTools.cxx: BUG: fix for network paths 2002-01-23 11:58 hoffman * Source/cmMakefile.h: patch 2 release to fix dsp header problem 2002-01-23 11:52 hoffman * Source/cmDSPWriter.cxx: BUG: allow .h files to be added to the sources 2002-01-23 10:56 barre * Source/cmaketest.cxx: ENH: run CMake a second time. The first time it is run, some cache values are computed. The second time it is run, some commands check if the value is already in the cache and return that value instead of re-computing it. Therefore this ENH: a) make sure that this specific code is tested, b) increase coverage. 2002-01-22 17:18 king * Modules/FindVTK.cmake: ENH: Added option of disabling error message when VTK is not found. 2002-01-22 15:55 barre * Tests/: Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Executable/Temp/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Executable/Temp/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Executable/Temp/CMakeLists.txt, Testing/CMakeLists.txt, Testing/Sub/CMakeLists.txt: Just rename dir 2002-01-22 15:50 barre * Tests/: Complex/CMakeCache.txt, ComplexOneConfig/CMakeCache.txt, ComplexRelativePaths/CMakeCache.txt, Complex/CMakeLists.txt, Complex/Cache/CMakeCache.txt, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/Cache/CMakeCache.txt, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/Cache/CMakeCache.txt: ENH: Move CMakeCache.txt to Cache/ directory to avoid any in-source build pb. 2002-01-22 14:15 millerjv * Modules/Dart.cmake: ENH: New variables CVS_UPDATE_OPTIONS, DART_TESTING_TIMEOUT 2002-01-22 13:30 barre * Tests/: Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: Coverage for OUTPUT_REQUIRED_FILES 2002-01-22 10:17 king * Source/: cmCacheManager.cxx, cmCacheManager.h, cmLoadCacheCommand.cxx, cmMakefile.cxx, cmake.cxx: ERR: Removed cmCacheManager::DefineCache method. It is no longer needed. 2002-01-22 07:37 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: flags already there, just not working 2002-01-22 07:18 hoffman * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt: BUG: must use ANSI flags for complex test now. 2002-01-21 15:30 barre * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: Add warnings/infos 2002-01-21 15:30 barre * Tests/Wrapping/CMakeLists.txt: Add coverage for VTK_MAKE_INSTANTIATOR 2002-01-21 15:30 will * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h, cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddTestCommand.cxx, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h, cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h, cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmCableClassSet.cxx, cmCableClassSet.h, cmCableClassSetCommand.cxx, cmCableClassSetCommand.h, cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h, cmCacheManager.cxx, cmCacheManager.h, cmCommand.h, cmCommands.cxx, cmCommands.h, cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h, cmCustomCommand.cxx, cmCustomCommand.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWWriter.cxx, cmDSWWriter.h, cmData.h, cmDirectory.cxx, cmDirectory.h, cmDumpDocumentation.cxx, cmElseCommand.cxx, cmElseCommand.h, cmEnableTestingCommand.cxx, cmEnableTestingCommand.h, cmEndForEachCommand.cxx, cmEndForEachCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmExecProgramCommand.cxx, cmExecProgramCommand.h, cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h, cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h, cmGeneratedFileStream.h, cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeCommand.h, cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmIncludeExternalMSProjectCommand.cxx, cmIncludeExternalMSProjectCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmListFileCache.cxx, cmListFileCache.h, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h, cmMakefileGenerator.cxx, cmMakefileGenerator.h, cmMarkAsAdvancedCommand.cxx, cmMarkAsAdvancedCommand.h, cmMessageCommand.cxx, cmMessageCommand.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmOptionCommand.cxx, cmOptionCommand.h, cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h, cmProjectCommand.cxx, cmProjectCommand.h, cmQTWrapCPPCommand.cxx, cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h, cmRegularExpression.cxx, cmRegularExpression.h, cmSetCommand.cxx, cmSetCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h, cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmStandardIncludes.h, cmSubdirCommand.cxx, cmSubdirCommand.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h, cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h, cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h, cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h, cmake.cxx, cmake.h, cmakemain.cxx, cmaketest.cxx, cmakewizard.cxx, cmakewizard.h, ctest.cxx, ctest.h, CursesDialog/ccmake.cxx, CursesDialog/cmCursesBoolWidget.cxx, CursesDialog/cmCursesBoolWidget.h, CursesDialog/cmCursesCacheEntryComposite.cxx, CursesDialog/cmCursesCacheEntryComposite.h, CursesDialog/cmCursesDummyWidget.cxx, CursesDialog/cmCursesDummyWidget.h, CursesDialog/cmCursesFilePathWidget.cxx, CursesDialog/cmCursesFilePathWidget.h, CursesDialog/cmCursesForm.cxx, CursesDialog/cmCursesForm.h, CursesDialog/cmCursesLabelWidget.cxx, CursesDialog/cmCursesLabelWidget.h, CursesDialog/cmCursesLongMessageForm.cxx, CursesDialog/cmCursesLongMessageForm.h, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h, CursesDialog/cmCursesPathWidget.cxx, CursesDialog/cmCursesPathWidget.h, CursesDialog/cmCursesStandardIncludes.h, CursesDialog/cmCursesStringWidget.cxx, CursesDialog/cmCursesStringWidget.h, CursesDialog/cmCursesWidget.cxx, CursesDialog/cmCursesWidget.h: ENH:Updated copyright 2002-01-21 15:11 will * Copyright.txt: ENH:Formal copyright notice 2002-01-21 11:39 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: remove warning from hpux make 2002-01-21 10:38 hoffman * Source/cmaketest.cxx: ENH: check the return value of the test program to be run 2002-01-21 10:22 barre * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: Comment test OUTPUT_REQUIRED 2002-01-21 10:11 hoffman * Source/: cmSourceFile.cxx, cmSourceFilesCommand.cxx, cmSourceFilesRemoveCommand.cxx: BUG: fix generated files with no extension bug 2002-01-20 02:21 barre * Tests/: Complex/VarTests.cmake, ComplexOneConfig/VarTests.cmake, ComplexRelativePaths/VarTests.cmake: More IF coverage 2002-01-20 01:58 barre * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, Complex/VarTests.cmake, ComplexOneConfig/VarTests.cmake, ComplexRelativePaths/VarTests.cmake, Complex/Executable/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt, Complex/Library/empty.h, ComplexOneConfig/Library/empty.h, ComplexRelativePaths/Library/empty.h, Testing/CMakeLists.txt, Wrapping/vtkExcluded.h, Wrapping/vtkIncluded.h: Increase Coverage. 2002-01-20 01:05 barre * Tests/Wrapping/: CMakeLists.txt, fltk1.fl: Add coverage for QT and FLTK wrappers. Also MANGLED_MESA 2002-01-20 00:12 barre * Tests/: Complex/CMakeCache.txt, Complex/CMakeLists.txt, Complex/VarTests.cmake, Complex/cmTestConfigure.h.in, ComplexOneConfig/CMakeCache.txt, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/cmTestConfigure.h.in, ComplexRelativePaths/CMakeCache.txt, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt: More tests + coverage 2002-01-20 00:11 barre * Tests/Testing/: CMakeLists.txt, DartConfig.cmake: More coverage + include Dart.cmake to maximize chance nslookup/hostname are found 2002-01-20 00:11 barre * Tests/Wrapping/: CMakeLists.txt, hints, vtkExcluded.cxx, vtkExcluded.h, vtkIncluded.cxx, vtkIncluded.h: Add test for VTK_WRAP_* 2002-01-20 00:06 barre * Source/cmLoadCacheCommand.h: Typo 2002-01-19 21:24 barre * Tests/: Complex/CMakeLists.txt, Complex/VarTests.cmake, Complex/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, Testing/CMakeLists.txt, Testing/testing.cxx, Wrapping/CMakeLists.txt, Wrapping/wrapping.cxx: Add documentation, comments. Move some 'Complex' sub-tests into 2 new 'Wrapping' and 'Testing' tests. 2002-01-19 21:23 barre * Source/CMakeLists.txt: Add 2 new tests 2002-01-19 21:22 barre * Source/cmSiteNameCommand.cxx: FIX: if the 'hostname' and 'nslookup' commands were not found from their HOSTNAME and NSLOOKUP cache definition, hard-coded values were used instead, thus causing pb if the corresponding progs were not in the PATH (RunCommand). Now use FindProgram() to be sure to find both, otherwise do nothing and set the site name to "unknown" (arbitrary. could be empty string ? or error ?). 2002-01-18 23:38 hoffman * Source/cmCableClassSet.cxx: BUG: make sure regex match has a string to match 2002-01-18 20:33 barre * Source/cmExecProgramCommand.cxx: Fix: "cd arg2 ; arg1" not working. OK with &&. Also should prevent from: "cd non_existing_dir_oops && rm -fr *" 2002-01-18 20:32 barre * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, Complex/VarTests.cmake, Complex/VarTests.txt, ComplexOneConfig/VarTests.cmake, ComplexOneConfig/VarTests.txt, ComplexRelativePaths/VarTests.cmake, ComplexRelativePaths/VarTests.txt, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx: ENH: Increase test + coverage 2002-01-18 19:22 barre * Tests/: Complex/CMakeCache.txt, ComplexOneConfig/CMakeCache.txt, ComplexRelativePaths/CMakeCache.txt: ENH: Increase test + coverage. This is not a bug, this cache is used for test. 2002-01-18 19:21 barre * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt, ComplexRelativePaths/CMakeLists.txt, Complex/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt: ENH: Increase test + coverage 2002-01-18 19:21 barre * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: RemoveFile returns if the file was removed or not 2002-01-18 17:01 barre * Source/cmLibraryCommand.h: Unused and deprecated class. Goodbye. 2002-01-18 16:59 martink * Source/cmIfCommand.cxx: bug fix 2002-01-18 16:45 hoffman * Source/cmIfCommand.cxx: fix if logic for null defs 2002-01-18 15:54 martink * Source/: cmSourceFilesCommand.cxx, cmSourceFilesCommand.h: required for utilties 2002-01-18 15:51 martink * Source/: cmUnixMakefileGenerator.h, cmUnixMakefileGenerator.cxx: fix for utilties 2002-01-18 15:39 andy * Source/cmSourceFilesRemoveCommand.cxx, Tests/Complex/Library/CMakeLists.txt, Tests/ComplexOneConfig/Library/CMakeLists.txt, Tests/ComplexRelativePaths/Library/CMakeLists.txt: Add GENERATED to cmSourceFilesRemoveCommand 2002-01-18 15:32 martink * Source/cmAddCustomCommandCommand.cxx: revert to old behaviour 2002-01-18 15:31 barre * Tests/: Complex/Library/CMakeLists.txt, ComplexOneConfig/Library/CMakeLists.txt, ComplexRelativePaths/Library/CMakeLists.txt: Fix: create_file.cxx is not GENERATED, it exists (so that it can be removed, until SOURCE_FILES_REMOVE is synced with SOURCE_FILES) 2002-01-18 15:18 martink * Source/cmSiteNameCommand.cxx: minor bug fix 2002-01-18 15:16 martink * Source/cmMakefile.h: bug fixes 2002-01-18 14:44 martink * Source/: cmCableClassSet.cxx, cmBuildNameCommand.cxx: bug fixes 2002-01-18 14:38 martink * Source/cmBuildCommand.cxx: compiler warning 2002-01-18 14:07 barre * Source/cmake.cxx: Fix: escaping spaces was preventing a value with space to be passed correctly 2002-01-18 13:37 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx: merged if MATCHES fix 2002-01-18 13:30 martink * Source/: cmUnixMakefileGenerator.h, cmUnixMakefileGenerator.cxx: some fixes to recent screwerd up changes 2002-01-18 12:03 barre * Tests/: Complex/CMakeLists.txt, Complex/VarTests.txt, Complex/cmTestConfigure.h.in, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/VarTests.txt, ComplexRelativePaths/cmTestConfigure.h.in, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, Complex/Library/create_file.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/create_file.cxx, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/create_file.cxx: Increase coverage, add tests 2002-01-18 11:48 barre * Source/cmExecProgramCommand.cxx: Fix bug: was expanding second arg even if not passed. crashed 2002-01-18 11:38 barre * Source/: cmVariableRequiresCommand.h, cmExecProgramCommand.h: Fix typo 2002-01-18 11:37 barre * Source/: cmBuildNameCommand.cxx, cmSiteNameCommand.cxx: Fix: argument was not used. 2002-01-18 11:36 barre * Source/cmBuildCommand.h: Fix typo (second argument was not reported) 2002-01-18 11:36 barre * Source/cmBuildCommand.cxx: no message 2002-01-18 10:28 hoffman * Source/cmCableClassSet.cxx: AIX compiler fix private to public 2002-01-18 10:27 hoffman * Source/cmElseCommand.cxx: BUG: GetDefiniton can return null 2002-01-18 09:02 barre * Tests/: Complex/simple.cxx, ComplexOneConfig/simple.cxx, ComplexRelativePaths/simple.cxx: Is not used (see Simple test) 2002-01-18 07:05 hoffman * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: ENH: remove unused and non-standard io.h file 2002-01-18 07:04 hoffman * Source/cmIfCommand.cxx: BUG: fix null pointer read if def is not defined 2002-01-17 16:36 barre * Tests/: Complex/Executable/complex.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/Executable/complex.cxx: Fix: displays msg if passed for custom command 2002-01-17 16:35 barre * Source/cmaketest.cxx: FIX: need a 'make clean' before 'make all' otherwise the post-build custom-command are not run (since a lib might be up to date already for ex.). 2002-01-17 15:49 barre * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/cmTestConfigure.h.in, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, Complex/Library/create_file.cxx, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/create_file.cxx, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/create_file.cxx: ENH: tests ADD_DEPENDENCIES and ADD_CUSTOM_COMMAND 2002-01-17 15:46 barre * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: Fix so that ADD_DEPENDENCIES work (the Utilities dependencies were not output) 2002-01-17 14:11 andy * Source/: cmSourceFilesCommand.cxx, cmSourceFilesCommand.h: Add option of adding generated files to source list 2002-01-17 12:54 hoffman * Source/cmDSPWriter.cxx: ENH: only output each link path once 2002-01-17 10:48 king * Source/cmMakefile.h: ERR: Missing forward declaration of cmMakeDepend added. 2002-01-17 09:28 hoffman * Source/cmDSPWriter.cxx: BUG: allow header files to be added to the dsp file 2002-01-16 17:29 barre * Source/cmAddCustomCommandCommand.cxx: Remove hack. 2002-01-16 17:26 andy * Source/cmAddCustomCommandCommand.cxx: Hack to make it work almost like before 2002-01-16 15:53 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: add silent and suffixes to check depend file 2002-01-16 15:00 hoffman * Source/cmConfigureFileCommand.cxx: BUG: make sure non cmakedef lines are not skipped 2002-01-16 12:45 hoffman * Source/cmConfigureFileCommand.cxx: ENH: do not undef cmakedefine stuff, just comment out the line 2002-01-15 17:21 berk * Source/cmUnixMakefileGenerator.cxx: Improved performance by removing implicit rules. 2002-01-15 16:20 martink * CMake.pdf, CMake.rtf: updated 2002-01-15 16:19 will * CMake.pdf: ENH:Support v1.2 2002-01-15 16:15 hoffman * CMake.rtf: public to www.cmake.org 2002-01-15 15:56 will * CMake.pdf: ENH:Docs for version 1.2 2002-01-15 15:52 hoffman * CMake.rtf: update for next version 2002-01-15 15:50 martink * Source/cmMakefile.h: next release 2002-01-15 15:46 martink * Source/cmMakefile.h: next release 2002-01-15 15:38 hoffman * ChangeLog.txt: log for relase 1.2 2002-01-15 15:29 millerjv * Modules/Dart.cmake: ENH: Added DELIVER_CONTINUOUS_EMAIL as an advanced cache entry. 2002-01-15 13:20 berk * Source/: cmFindPathCommand.cxx, cmFindProgramCommand.cxx: FIX: Entry doc. should never be overwritten. This may cause cmake to be re-run very often. 2002-01-14 19:08 hoffman * Source/cmDSPWriter.cxx: ENH: do not depend on the .dsp file but rather depend on .dsp.cmake and if the .dsp actually changes, then write it, so clean and rebuild will not cause many reloads 2002-01-14 18:52 hoffman * Source/cmCacheManager.cxx: ENH: try to keep the dsp files from changing between each write 2002-01-14 16:28 hoffman * Source/cmUnixMakefileGenerator.cxx: remove extra logic not needed anymore because of better depends 2002-01-14 16:02 berk * Source/cmUnixMakefileGenerator.cxx: Quote echo 2002-01-14 14:49 berk * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Curses was being used without initialization. 2002-01-12 22:55 hoffman * Source/cmBorlandMakefileGenerator.cxx: BUG: use borland run time dll for shared builds to avoid crashes 2002-01-11 10:55 hoffman * Templates/configure: ENH: add support for AIX shared libraries with gcc 2002-01-11 10:54 hoffman * Templates/configure.in: ENH: add support for shared libraries with gcc on AIX 2002-01-10 18:09 hoffman * Source/CMakeLists.txt: ENH: make the fltk build default to OFF, it fails on too many linux machines with the default build 2002-01-10 18:09 hoffman * Source/cmNMakeMakefileGenerator.cxx: BUG: fix build of library in other directory if it is not there 2002-01-10 16:22 andy * Source/cmConfigureFileCommand.cxx: Add space to output 2002-01-08 17:18 hoffman * Source/cmBorlandMakefileGenerator.cxx: BUG: need a larger default page size 2002-01-08 17:18 hoffman * Source/cmDSPWriter.cxx: BUG: need spaces around linker options 2002-01-08 13:32 hoffman * Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake: ENH: add CMAKE_EXTRA_LINK_FLAGS to dsp generator 2002-01-08 12:57 hoffman * Templates/: configure, configure.in: ENH: use +Z not +z for pic and use -fPIC for gcc 2002-01-08 12:53 hoffman * Templates/: configure, configure.in: ENH: add -L/usr/lib for hp so shared libs find that directory before the pa1.1 directory 2002-01-07 17:29 barre * Modules/FindVTK.cmake: More user friendly (built tree is automatically used). 2002-01-07 16:30 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: BUG: not all displayed messages are errors 2002-01-07 15:49 perera * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h: Rolling back symbolic path changes until it works on Windows. 2002-01-07 14:12 hoffman * Templates/configure: Add sizeof some types support 2002-01-07 14:07 andy * Templates/: configure.in, CMakeBorlandWindowsSystemConfig.cmake, CMakeNMakeWindowsSystemConfig.cmake, CMakeSystemConfig.cmake.in, CMakeWindowsSystemConfig.cmake: Add sizeof some types support 2002-01-07 13:47 hoffman * Templates/: configure, configure.in: use -shared for sunos build 2002-01-06 14:59 perera * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h: ENH: Add an invocation that maintains symbolic paths to the source and binary trees, mainly for systems with automounted network drives. ENH: CollapseFullPath() no longer adds a trailing "/" to directory paths. 2002-01-03 16:02 andy * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h: Fix add custom command so that it actually executes the code 2002-01-03 14:19 martink * Source/: cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx: minor fixes 2002-01-03 14:05 martink * Source/cmVTKWrapTclCommand.cxx: minor fix 2002-01-03 13:56 martink * Source/cmVTKWrapTclCommand.cxx: minor fix 2002-01-03 09:34 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx: expand vars nwo for exists test 2002-01-02 16:46 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h: added exists option for if statement 2002-01-02 16:45 martink * Source/: cmake.cxx, CursesDialog/cmCursesLongMessageForm.cxx, CursesDialog/cmCursesMainForm.cxx: prints the relese version 2002-01-02 16:44 martink * Source/cmMakefile.h: added release verison to cmMakefile 2002-01-02 11:54 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: BUG: put back recursive call to make for checking sources 2001-12-31 12:02 berk * Source/cmUnixMakefileGenerator.cxx: Type || should have been && 2001-12-31 11:54 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH: remove one call to make, and clean echo stuff a bit 2001-12-30 17:18 berk * Source/cmUnixMakefileGenerator.cxx: BUG: fix long depend list because it gets cut on the hp: I may look like berk, but it is bill H. 2001-12-28 17:00 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: remove the rule to run make depend from the top with each change in any cmakelist file. Instead, run make depend in the current directory if a source file changes, or if a .h file changes or is removed 2001-12-28 15:58 perera * Source/: cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: BUG: Don't generate build rules for header files. 2001-12-28 15:56 perera * Source/cmMakefile.cxx: BUG: .txx are not source files. They contain template code which can only be compiled when included in a regular .cxx file. By themselves, they cause do not cause code to be generated. 2001-12-28 15:54 perera * Source/cmSourceFile.cxx: ENH: Classify a file as source or header even when the extension is given explicitly. 2001-12-28 15:37 hoffman * CMakeLists.txt: remove bad ADD_DEPENDENCIES commands 2001-12-28 12:40 hoffman * Source/CMakeLists.txt: ERR: remove bad ADD_DEPENDENCIES commands 2001-12-27 14:55 hoffman * Source/cmIfCommand.cxx: remove warning 2001-12-27 13:55 hoffman * Source/cmAddDependenciesCommand.cxx: ENH: add error checking 2001-12-21 15:39 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: BUG: fix so you can remove a directory in the source tree, and clean up echo of commands 2001-12-21 15:11 martink * Source/CursesDialog/: cmCursesBoolWidget.cxx, cmCursesBoolWidget.h, cmCursesDummyWidget.cxx, cmCursesDummyWidget.h, cmCursesForm.h, cmCursesLabelWidget.cxx, cmCursesLabelWidget.h, cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h, cmCursesStringWidget.cxx, cmCursesStringWidget.h, cmCursesWidget.cxx, cmCursesWidget.h: update interface 2001-12-21 15:10 martink * Source/cmake.cxx: add patch hack 2001-12-21 14:54 martink * Source/: cmBuildCommand.cxx, cmSystemTools.cxx, ctest.cxx: fix for dos files on UNIX make -k and flush in ctest 2001-12-21 14:44 martink * Modules/: FindCurses.cmake, FindJNI.cmake, FindMPI.cmake, FindPythonLibs.cmake: general improvements 2001-12-21 14:40 barre * Modules/: FindVTK.cmake: Change so that different flavours of VTK might be chosen by the user. See full instructions in that file. 2001-12-21 14:40 martink * configure.in, configure: fixed for SGI CC 2001-12-21 14:39 martink * Templates/: CMakeBorlandWindowsSystemConfig.cmake, CMakeNMakeWindowsSystemConfig.cmake, CMakeWindowsSystemConfig.cmake, DLLHeader.dsptemplate, configure, configure.in, staticLibHeader.dsptemplate: variety of bug fixes 2001-12-21 09:55 ibanez * Source/cmFLTKWrapUICommand.cxx: ENH: No longer tries to create a directory for the output 2001-12-21 09:07 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: add support for DESTDIR in install targets 2001-12-21 00:01 perera * Source/cmUnixMakefileGenerator.cxx, Templates/CMakeSystemConfig.cmake.in: ENH: Add option to disable use of -rpath. 2001-12-20 17:00 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx: ENH: fix for win98 check for directory existence 2001-12-20 16:10 barre * Modules/: FindTclsh.cmake, FindWish.cmake, FindTCL.cmake: ENH: ADVANCED was not propagated to the new sub-mods 2001-12-20 15:46 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH: add make silent flag for nmake and move .SILENT: directive to top of makefile 2001-12-20 15:45 barre * Modules/: FindFLTK.cmake: ENH: mark everything ADVANCED 2001-12-20 15:45 hoffman * Source/cmBorlandMakefileGenerator.cxx: ENH: use better command for creating static library 2001-12-20 15:44 hoffman * Templates/: CMakeBorlandWindowsSystemConfig.cmake, CMakeNMakeWindowsSystemConfig.cmake, CMakeWindowsSystemConfig.cmake: BUG: must use CACHE values in these 2001-12-20 15:22 barre * Modules/FindVTK.cmake: ENH: Also look for 4.2, 4.1, 4.0 2001-12-20 15:17 barre * Modules/FindVTK.cmake: ENH: Also look for 4.2, 4.1, 4.0 2001-12-20 08:16 hoffman * Example/Demo/demo.cxx: remove fancy cxx stuff from the example 2001-12-19 21:51 barre * Modules/FindJNI.cmake: ENH: Make everything ADVANCED 2001-12-19 18:45 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH: add silent mode for makefile builds and fix borland and nmake after the depend stuff 2001-12-19 15:26 hoffman * Source/: CMakeLists.txt, cmaketest.cxx: add example to tests 2001-12-19 15:25 hoffman * Example/: CMakeLists.txt, Demo/CMakeLists.txt, Demo/demo.cxx, Demo/demo_b.cxx, Hello/CMakeLists.txt, Hello/hello.cxx, Hello/hello.h: move example into the source tree so it will work... 2001-12-19 11:38 barre * Modules/FindTCL.cmake: default ActiveState Tcl install dir is now C:/Tcl 2001-12-19 08:35 hoffman * Source/cmVTKMakeInstantiatorCommand.cxx: change ostrstream to strstream 2001-12-19 08:26 hoffman * Templates/configure, Templates/configure.in, configure, configure.in: check for LANG:std 2001-12-18 21:00 hoffman * configure, configure.in, Templates/configure, Templates/configure.in: -LANG:std should be default on sgi for ansi CXX Flags 2001-12-18 20:32 hoffman * Templates/staticLibHeader.dsptemplate: fix comment 2001-12-18 17:30 hoffman * Templates/: configure, configure.in: syntax error 2001-12-18 17:17 hoffman * Templates/configure: use cxx compiler on sgi to build static libs 2001-12-18 17:16 hoffman * Templates/configure.in: use cxx compiler to build static libs on sgi 2001-12-18 16:21 martink * Modules/FindJNI.cmake: bad spelling of java 2001-12-18 14:55 king * Source/cmIfCommand.cxx: ENH: Added error reporting for missing arguments to ENDIF. 2001-12-18 13:35 berk * Source/CursesDialog/cmCursesBoolWidget.cxx: Fixed warning. 2001-12-18 11:35 king * Source/: cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h: ENH: Improved flexibility of command by allowing specificiation of separate input and outputs source lists. Multiple input source lists are now also allowed. 2001-12-18 10:21 king * Source/: cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH: Improved dependency generation. If any cmake.depends is out of date, all of them in the tree are re-generated. This is necessary in certain cases when CMakeLists.txt files change. 2001-12-18 09:51 king * Source/cmElseCommand.cxx: ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command). 2001-12-18 09:39 king * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command). 2001-12-18 09:16 king * Source/cmMakefile.cxx: BUG: Existing projects have cache entries with the same name as the command they adjust (VTK_WRAP_JAVA in VTK, for example). Setting the command name as a variable is too dangerous. 2001-12-17 17:44 andy * Source/cmSystemTools.cxx: Better handling of new lines when moving from dos to unix 2001-12-17 16:20 king * Source/: cmCommands.cxx, cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h: ENH: Adding VTK_MAKE_INSTANTIATOR command. This command will be used by VTK kits to register their classes with vtkInstantiator. 2001-12-17 16:19 king * Source/cmMakefile.cxx: ENH: Each cmake command now adds a cmake variable of its own name, set to ON. This allows constructs in CMakeLists.txt files like: IF(FOO_COMMAND) FOO_COMMAND() ENDIF(FOO_COMMAND) This provides the option to add CMake commands for extra functionality without breaking compatability with earlier versions of CMake. 2001-12-17 11:30 hoffman * Templates/: CMakeNMakeWindowsSystemConfig.cmake, DLLHeader.dsptemplate: remove stack stuff 2001-12-17 11:28 hoffman * Templates/CMakeWindowsSystemConfig.cmake: use a better compiler name 2001-12-17 11:15 hoffman * Source/cmDSPWriter.cxx: ENH: allow custom commands for files that msdev knows about 2001-12-16 18:52 barre * Source/cmVTKWrapPythonCommand.cxx: Wrap abstract class too, as per David Gobbi's request (for the sake of the internal documentation features of python"). 2001-12-14 22:41 hoffman * Source/cmBuildCommand.cxx: use -i not -k for make 2001-12-13 13:28 berk * Source/CursesDialog/: cmCursesBoolWidget.cxx, cmCursesBoolWidget.h, cmCursesDummyWidget.cxx, cmCursesDummyWidget.h, cmCursesForm.h, cmCursesLabelWidget.cxx, cmCursesLabelWidget.h, cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h, cmCursesStringWidget.cxx, cmCursesStringWidget.h, cmCursesWidget.cxx, cmCursesWidget.h: Updated toolbar. 2001-12-12 18:27 hoffman * Source/CMakeLists.txt: ENH: allow local changes 2001-12-12 13:57 berk * Modules/FindMPI.cmake: Added doc. 2001-12-12 12:05 king * Modules/FindCurses.cmake: ENH: Added /lib to curses search path. 2001-12-12 11:51 berk * Modules/FindMPI.cmake: Added support for a 2nd mpi library (usually mpi++) 2001-12-11 15:59 king * Source/cmUnixMakefileGenerator.cxx: BUG: cmake.depends files of zero size were not being re-written in some cases. Added a comment output to the top of the file so it will be re-written every time. 2001-12-11 14:09 blezek * Modules/FindPythonLibs.cmake: ENH: Adding /usr/*/python1.5 for RedHat 7.1/Python 1.5 users 2001-12-11 12:29 hoffman * Source/cmSubdirDependsCommand.cxx: remove warning 2001-12-11 10:42 hoffman * Source/: cmUnixMakefileGenerator.cxx: check for empty library output path 2001-12-11 10:39 hoffman * Source/ctest.cxx: ENH: add flush 2001-12-11 02:21 ibanez * Source/: cmFLTKWrapUICommand.h, cmFLTKWrapUICommand.cxx: FIX: The command was modified it uses now a target and a source list composed of .fl files. The names of the generated .cxx files are added internally to the Sources list of the target. 2001-12-11 02:17 ibanez * Source/: cmUnixMakefileGenerator.cxx, cmTarget.h: FIX: GENERATED_CODE type is no longer needed: generated code is not a Target. 2001-12-10 12:10 king * Modules/FindTclsh.cmake: ENH: Added more filenames for tclsh program. Also now only looks for cygtclsh80 if under cygwin. 2001-12-10 12:04 king * Modules/FindTclsh.cmake: ENH: Added more filenames for tclsh program. Also now only looks for cygtclsh80 if under cygwin. 2001-12-10 12:02 perera * Source/cmUnixMakefileGenerator.cxx: BUG: LIBRARY_OUTPATH_PATH may be "set" to the null string, in which case it should be ignored. 2001-12-10 11:27 king * Source/: cmMakefile.cxx, cmMakefile.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmUnixMakefileGenerator.cxx: ENH: Parallel build support is now automatic. SUBDIR_DEPENDS command now does nothing. Also fixed a bug in CMakeLists.txt file inheritance when a directory level is skipped. 2001-12-10 11:03 king * Source/: cmMakefile.cxx, cmMakefile.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmUnixMakefileGenerator.cxx: ENH: SUBDIR_DEPENDS command now does nothing. The parallel build functionality is now automatic. Dependencies are setup to force the same build order as a single threaded build, but multiple files in the same directory can be built simultaneously. Also fixed bug with inheriting CMakeLists.txt files when a directory level is skipped. 2001-12-08 21:17 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: merge bug fixes to release 2001-12-08 21:16 hoffman * Source/cmCacheManager.cxx: merge bug fixes to release, mistaken comment in cache 2001-12-08 21:10 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: if LIBRARY_OUTPUT_PATH is set, then use the fullpath for a remote target 2001-12-08 20:49 hoffman * Source/cmUnixMakefileGenerator.h: WAR: remove warning 2001-12-07 19:11 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: executable extension wrong for ctest search, and was not looking in Debug and Release 2001-12-07 18:27 berk * Source/cmCacheManager.cxx: If an entry starts with // (network paths), double quote it. 2001-12-07 18:15 perera * Source/cmUnixMakefileGenerator.cxx: BUG: the rule for generating a library no longer has the full path, and so the dependency targets shouldn't, either. 2001-12-07 18:12 berk * Source/cmCacheManager.cxx: Comments start with TWO leading slashes not _one_ 2001-12-07 16:06 martink * Source/cmMakefile.h: version rev 2001-12-07 16:01 martink * Source/cmMakefile.h: release 10 2001-12-07 15:47 hoffman * Source/cmCacheManager.cxx, Source/cmMarkAsAdvancedCommand.cxx, Source/cmMarkAsAdvancedCommand.h, Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: add mark as not advanced to mark as advanced 2001-12-07 14:57 hoffman * ChangeLog.txt: yet another release 2001-12-07 14:31 hoffman * Source/cmaketest.cxx: ENH: convert to windows paths 2001-12-07 13:10 hoffman * Source/cmaketest.cxx: ENH: use windows paths to run commands and escape spaces 2001-12-07 10:58 hoffman * Source/: cmBorlandMakefileGenerator.cxx, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: add custom commands for targets 2001-12-07 10:32 barre * Templates/CMakeBorlandWindowsSystemConfig.cmake: Remove "unused var" warning from C_FLAGS 2001-12-06 20:04 barre * Source/cmNMakeMakefileGenerator.cxx: Do not output library search path if the library path option/flag is empty + add CMAKE_LINKER_HIDE_PARAMETERS since some linkers just do not support the @<< syntax 2001-12-06 20:02 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake: Add CMAKE_LINKER_HIDE_PARAMETERS since some linkers just do not support the @<< syntax 2001-12-06 17:40 andy * Source/CursesDialog/cmCursesMainForm.cxx: Fix bug with string 2001-12-06 17:09 hoffman * Source/cmakewizard.cxx: ENH: call convert to unix slashes for path and filepath entries 2001-12-06 17:07 berk * Source/CursesDialog/cmCursesMainForm.cxx: Added support for ~. 2001-12-06 16:50 martink * Source/cmSystemTools.cxx: handle tildas 2001-12-06 13:32 barre * Source/cmUnixMakefileGenerator.cxx: Lib path should be converted to native path too. 2001-12-06 13:31 barre * Source/: cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h: Fix the command quoting pb (remove m_QuoteNextCommand), move ConvertToNativePath to NMake gen 2001-12-06 11:52 martink * Modules/Dart.cmake: better use of modules 2001-12-06 11:52 martink * Modules/FindDart.cmake: better docs 2001-12-06 11:52 martink * Modules/FindTCL.cmake: now broken into pieces 2001-12-06 11:51 martink * Modules/: FindTclsh.cmake, FindWish.cmake: new modules 2001-12-06 11:49 martink * Source/CursesDialog/ccmake.cxx: Cleaning last line at exit. 2001-12-06 10:24 martink * Templates/CMakeSystemConfig.cmake.in: made install prefix non advanced 2001-12-05 15:36 perera * Modules/FindTCL.cmake: ENH: add more possible names for executables. 2001-12-05 15:28 barre * Source/: cmNMakeMakefileGenerator.cxx, cmCacheManager.cxx: Add single quotes feature. 2001-12-05 15:00 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake: Add single quotes feature. 2001-12-05 12:07 martink * Source/cmMakefile.h: up version 2001-12-05 11:59 martink * Source/cmMakefile.h: up version 2001-12-05 11:38 hoffman * ChangeLog.txt: new version 2001-12-05 11:37 will * CMake.pdf: updated from rtf 2001-12-05 11:32 hoffman * CMake.rtf: ENH: update cvs path 2001-12-04 18:49 starreveld * Templates/: configure, configure.in: Add the flat_namespace and undefined suppress flags to OSX builds 2001-12-04 17:28 hoffman * Source/cmSystemTools.cxx: ENH: remove /tmp_mnt from all paths in convert to unix slashes 2001-12-04 16:19 berk * Source/CursesDialog/cmCursesMainForm.cxx: Fixed outdated comment 2001-12-04 15:55 hoffman * Templates/CMakeBorlandWindowsSystemConfig.cmake: add tWM to c flags as well as CXX flags 2001-12-04 15:53 berk * Source/CursesDialog/cmCursesMainForm.cxx: Fixed overflow problem. 2001-12-04 15:16 hoffman * Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: add -tWM to default flags for compilation 2001-12-04 12:03 hoffman * Source/cmUnixMakefileGenerator.cxx: crazy fix for putenv, and native path called on custom command paths 2001-12-04 11:20 berk * Source/CursesDialog/cmCursesStandardIncludes.h: replacing clear() 2001-12-04 11:16 berk * Source/CursesDialog/: ccmake.cxx, cmCursesForm.cxx, cmCursesForm.h, cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx, cmCursesStringWidget.cxx: Added debugging. 2001-12-04 10:55 barre * Modules/: Documentation.cmake, FindCygwin.cmake, FindDoxygen.cmake, FindHhc.cmake, FindPerl.cmake, FindSelfPackers.cmake, FindUnixCommands.cmake, FindWget.cmake: Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 2001-12-04 10:54 barre * Modules/Dart.cmake: Remove code duplication. Call FindTcl.cmake, which also does the ADVANCED stuff. 2001-12-04 10:53 barre * Modules/FindTCL.cmake: Make shells also ADVANCED 2001-12-04 10:27 barre * Modules/FindPythonLibs.cmake: Make vars ADVANCED for WIN32 (same as Tcl) 2001-12-04 10:11 hoffman * Source/CursesDialog/form/frm_driver.c: no c++ comments in c code, duhhhh 2001-12-03 19:58 hoffman * Source/CursesDialog/form/frm_driver.c: ENH: AIX seems to define lines and columns as macros, I undefed them 2001-12-03 18:04 hoffman * Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: fix crashes in console apps 2001-12-03 17:47 hoffman * Source/cmVariableRequiresCommand.cxx: ENH: let people know the variable is advanced 2001-12-03 17:01 hoffman * Modules/FindOpenGL.cmake, Source/cmBorlandMakefileGenerator.cxx, Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: fix debugging with borland 2001-12-03 17:00 hoffman * Source/cmake.cxx: ENH: add -C load cache file option 2001-12-03 15:55 martink * Source/ctest.cxx: minor fix for not found executables 2001-12-03 15:48 hoffman * CMake.rtf: [no log message] 2001-12-03 15:11 berk * Source/: cmake.cxx: Fixed help. 2001-12-03 13:05 hoffman * Source/Makefile.borland: add wizard 2001-12-03 09:39 hoffman * CMake.rtf: update docs some 2001-12-02 18:22 ibanez * Source/cmFLTKWrapUICommand.cxx: ENH: AddCustomCommand register now multiple outputs. Auxiliary variable manage the output directory where FLTK generated code is going to be writen. 2001-11-30 17:20 barre * Source/: cmBuildCommand.cxx, cmDSPWriter.cxx, cmDSWWriter.cxx, cmIfCommand.cxx, cmUnixMakefileGenerator.cxx, cmake.cxx: fix warning for Borland build 2001-11-30 16:51 hoffman * Source/cmakewizard.h: [no log message] 2001-11-30 16:48 hoffman * Source/CMakeLib.dsp, Source/CMakeLists.txt, Source/Makefile.borland, Source/Makefile.in, Source/cmBorlandMakefileGenerator.cxx, Source/cmBorlandMakefileGenerator.h, Source/cmBorlandMakefileGenerator2.cxx, Source/cmBorlandMakefileGenerator2.h, Source/cmForEachCommand.cxx, Source/cmake.cxx, Source/cmakemain.cxx, Source/cmakewizard.cxx, Templates/CMakeBorlandWindowsSystemConfig.cmake, Templates/CMakeWindowsBorlandConfig.cmake, Templates/CMakeWindowsBorlandConfig2.cmake: new borland generator moved into place 2001-11-30 16:27 hoffman * Source/: cmBorlandMakefileGenerator.cpp, cmBorlandMakefileGenerator.h: Replace with nmake subclassed generator 2001-11-30 16:05 barre * Source/: cmBorlandMakefileGenerator2.cxx, cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: Add options for library manager (lib). 2001-11-30 16:04 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake: Add options for library manager (lib). Alpha sort 2001-11-30 15:55 berk * Modules/FindTCL.cmake: Unix users are smarter. 2001-11-30 15:04 berk * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesStringWidget.cxx: Improving interface. 2001-11-30 14:50 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: print cmake running message to cerr 2001-11-30 14:33 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake, Source/cmNMakeMakefileGenerator.cxx: Add linker flags for each build type 2001-11-30 14:24 berk * Source/CursesDialog/cmCursesMainForm.cxx: Better documentation. 2001-11-30 14:16 berk * Source/CursesDialog/cmCursesMainForm.cxx: Better documentation. 2001-11-30 13:59 berk * Source/CursesDialog/: cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx, cmCursesStringWidget.cxx: Improved help. 2001-11-30 13:53 berk * Templates/CMakeSystemConfig.cmake.in: Removed unused options. 2001-11-30 13:10 barre * Templates/CMakeNMakeWindowsSystemConfig.cmake: CMAKE_ANSI_CFLAGS is used by VTK, so it should be set in the NMake config so that it gets expanded (even to "") 2001-11-30 13:09 hoffman * Source/cmNMakeMakefileGenerator.cxx: fix library suffix 2001-11-30 12:41 hoffman * Source/cmUnixMakefileGenerator.cxx: remove suffix rules 2001-11-30 12:05 hoffman * Source/cmUnixMakefileGenerator.cxx: add new suffix rules 2001-11-30 11:34 berk * Source/CursesDialog/: ccmake.cxx, cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx, cmCursesStandardIncludes.h: Can non use clear because it is undef'ed. 2001-11-30 10:58 berk * Source/CursesDialog/ccmake.cxx: Fixed warning. 2001-11-30 10:54 berk * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx: Fixed warning. 2001-11-30 10:51 berk * Source/CursesDialog/: cmCursesMainForm.h, cmCursesMainForm.cxx: Since it is being used as an array size in another file, it is not possible to initialize MAX_WIDTH in a .cxx file. 2001-11-30 10:41 hoffman * Source/cmUnixMakefileGenerator.cxx: fix warning 2001-11-30 10:39 berk * Source/CursesDialog/: cmCursesLongMessageForm.cxx, cmCursesLongMessageForm.h: Missed std:: 2001-11-30 10:28 berk * Source/CursesDialog/cmCursesMainForm.h: Missed std:: 2001-11-30 10:27 berk * Templates/CMakeSystemConfig.cmake.in: CMAKE_WORDS_BIGENDIAN should not be in the cache. 2001-11-30 10:23 berk * Modules/FindPythonLibs.cmake: PYTHON_DEBUG_LIBRARY is only used on Windows. 2001-11-30 09:19 barre * Templates/CMakeSystemConfig.cmake.in: fix: If documentation added, then need cache type 2001-11-29 23:45 berk * Source/CursesDialog/: cmCursesLongMessageForm.cxx, cmCursesLongMessageForm.h: opps I forgot to add these 2001-11-29 23:24 hoffman * Source/Makefile.borland, Source/cmBorlandMakefileGenerator2.cxx, Source/cmNMakeMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.cxx, Templates/CMakeSystemConfig.cmake.in, Templates/CMakeWindowsBorlandConfig2.cmake: ENH: fix various problems caused by the generalization of nmake generator 2001-11-29 20:59 barre * Source/cmBorlandMakefileGenerator2.cxx, Source/cmNMakeMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Templates/CMakeNMakeWindowsSystemConfig.cmake, Templates/CMakeSystemConfig.cmake.in, Templates/CMakeWindowsBorlandConfig2.cmake, Templates/CMakeWindowsSystemConfig.cmake: Nmake build: move most of hard-coded values to config parameters 2001-11-29 16:44 berk * Source/: cmListFileCache.cxx, cmSystemTools.cxx, cmSystemTools.h, ctest.cxx, CursesDialog/CMakeLists.txt, CursesDialog/ccmake.cxx, CursesDialog/cmCursesCacheEntryComposite.cxx, CursesDialog/cmCursesCacheEntryComposite.h, CursesDialog/cmCursesForm.h, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h: Improvements to the curses interface. 2001-11-29 14:51 barre * Source/cmNMakeMakefileGenerator.cxx: Fix space pb (embended, then escaped) 2001-11-29 09:22 hoffman * Source/Makefile.borland: add bootstrap makefile for borland compiler 2001-11-29 09:09 hoffman * Source/CMakeLists.txt, Source/cmBorlandMakefileGenerator2.cxx, Source/cmakewizard.cxx, Templates/CMakeWindowsBorlandConfig2.cmake: fix for shared libs and borland 2001-11-29 01:51 ibanez * Source/cmUnixMakefileGenerator.cxx: ENH: GENERATED_CODE case added to switch. 2001-11-29 01:48 ibanez * Source/cmTarget.h: ENH: A type of target was added for representing GENERATED_CODE 2001-11-29 01:46 ibanez * Source/cmFLTKWrapUICommand.cxx: ENH: Custom commands are now builded. 2001-11-28 18:07 hoffman * Source/CMakeLib.dsp, Source/cmBorlandMakefileGenerator2.cxx, Source/cmBorlandMakefileGenerator2.h, Source/cmNMakeMakefileGenerator.cxx, Source/cmNMakeMakefileGenerator.h, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Templates/CMakeWindowsBorlandConfig2.cmake: ENH: borland generator 2 is working more or less 2001-11-28 14:45 ibanez * Source/cmFLTKWrapUICommand.cxx: ENH: Command simplified in order to construct a Source list of .cxx from a source list of .fl GUI files. 2001-11-28 14:44 ibanez * Source/cmFLTKWrapUICommand.h: ENH: The command was simplified to generate a source list of cxx from a source list of .fl GUI files. 2001-11-28 12:49 barre * Modules/FindPythonLibs.cmake: Fynd Python debug lib in usual libs dir too 2001-11-28 11:12 hoffman * Source/: CMakeLists.txt, cmBorlandMakefileGenerator2.cxx, cmBorlandMakefileGenerator2.h, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmake.cxx: add new borland generator 2001-11-28 10:51 hoffman * Source/cmaketest.cxx: [no log message] 2001-11-28 07:15 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: bug: fix same path comparison when short paths are used 2001-11-28 07:14 hoffman * Source/cmMarkAsAdvancedCommand.cxx: fix warning 2001-11-27 17:53 berk * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: nmake generator much closer to working with spaces 2001-11-27 17:32 berk * Source/cmMakefile.cxx: ENH: expand variables in a command before escaping spaces in the command 2001-11-27 17:31 berk * Source/cmOptionCommand.cxx: ENH: do not write over existing cache values even doc strings to avoid changing the cache file 2001-11-27 16:12 berk * Source/cmDSPWriter.cxx: remove unused include 2001-11-27 15:33 martink * Source/cmLinkLibrariesCommand.cxx: removed extra lib paths to avoid finding old libs 2001-11-27 15:32 martink * Modules/FindTCL.cmake: made some vars advanced 2001-11-27 15:20 martink * Modules/Dart.cmake: made some vars advanced 2001-11-27 00:03 ibanez * Source/cmCommands.cxx: ENH: Command for running FLTK's UI tool "Fluid" was added. 2001-11-27 00:02 ibanez * Source/cmUnixMakefileGenerator.cxx: ENH: Support for FLTK Fluid tool added. 2001-11-26 23:57 ibanez * Modules/FindFLTK.cmake: ENH: Support for running FLUID was added. 2001-11-26 22:40 ibanez * Source/: cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h: Command for invoking FLTK's code generator "Fluid" during the building process 2001-11-26 18:26 hoffman * Modules/Dart.cmake, Source/CMakeLists.txt, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmCommands.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx, Source/cmakewizard.cxx, Templates/CMakeSystemConfig.cmake.in, Templates/CMakeWindowsSystemConfig.cmake, Source/cmMarkAsAdvancedCommand.cxx, Source/cmMarkAsAdvancedCommand.h: ENH: add advanced variable types and command line wizard gui 2001-11-26 18:24 hoffman * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h: ENH: add possibility to add doc strings to varibles created by find type commands 2001-11-26 16:32 berk * Source/cmCacheManager.cxx: Oops. The wrong version of the duplicate code was kept. Loaded cache values were not made internal. 2001-11-26 15:45 berk * Modules/FindTCL.cmake: TK_INTERNAL_PATH is only needed on Windows. 2001-11-26 11:32 martink * Source/: cmSystemTools.cxx, cmSystemTools.h: removed warning messages 2001-11-26 11:31 martink * Source/cmIfCommand.cxx: better error messages 2001-11-24 18:47 barre * Modules/Dart.cmake: I want to be able to start/end experimental-only dashboards 2001-11-21 17:45 hoffman * Source/: cmCacheManager.cxx, cmDSPWriter.cxx, cmNMakeMakefileGenerator.cxx, cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx, cmake.cxx, cmaketest.cxx: NMake with spaces in directories 2001-11-21 11:35 andy * Source/cmCacheManager.cxx: Fix the current directory check for NMake 2001-11-21 08:47 hoffman * Source/cmake.cxx: ENH: clean up command line arguments 2001-11-21 08:46 hoffman * Source/: cmQTWrapUICommand.cxx, cmVariableRequiresCommand.cxx: WAR: fix warning 2001-11-20 17:50 hoffman * Source/: cmCacheManager.cxx, cmCacheManager.h, cmake.cxx, cmake.h: ENH: add command line arguments to set cache entries 2001-11-20 17:27 berk * Source/cmNMakeMakefileGenerator.cxx: ENH: closer to working with spaces in source directory 2001-11-20 17:27 berk * Source/cmaketest.cxx: BUG: fix memory leak 2001-11-20 17:26 berk * Source/cmDSPWriter.cxx: BUG: fix for spaces in path to CMakeList.txt file 2001-11-20 08:28 hoffman * Source/: cmStandardIncludes.h, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesStandardIncludes.h: define hacks and such for the dec compiler 2001-11-19 17:52 hoffman * Source/: cmCommands.cxx, cmSystemTools.cxx, cmSystemTools.h, cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h: ENH: add new command VARIABLE_REQUIRES for better debugging of list files 2001-11-19 09:34 hoffman * Source/: cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h: [no log message] 2001-11-16 16:42 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: look for cmake test with .exe if nmake 2001-11-16 16:28 hoffman * Source/cmNMakeMakefileGenerator.cxx: ENH: fix for dll builds 2001-11-16 13:08 bettingf * Source/cmUnixMakefileGenerator.cxx: Added a make depend in the clean rule to refresh the dependencies 2001-11-16 10:14 bettingf * Source/cmUnixMakefileGenerator.cxx: undo the last change because of problem with some versions of make 2001-11-16 09:40 bettingf * Modules/FindQt.cmake: fixed QT_UIC_EXE name 2001-11-16 09:04 bettingf * Source/cmUnixMakefileGenerator.cxx: added the deletion of cmake.depends in the cleaning so that it is recomputed even source files (i.e. .cxx or .h) are generated 2001-11-16 09:03 bettingf * Source/cmMakeDepend.cxx: Now adds dependency if the file doesn't exist but will be created during the compilation 2001-11-16 09:01 bettingf * Source/: cmQTWrapUICommand.cxx, cmQTWrapUICommand.h: corrected path problem and added moc compilation too 2001-11-15 22:10 hoffman * Source/Makefile.in: remove depend on star dot h as it is not really needed and breaks some versions of gmake 2001-11-15 18:18 hoffman * Source/cmNMakeMakefileGenerator.cxx: ENH: use crazy temp files for long command lines 2001-11-15 17:45 hoffman * Source/cmNMakeMakefileGenerator.cxx: ENH: remove debug prints 2001-11-15 17:11 hoffman * Modules/Dart.cmake, Source/cmBuildCommand.cxx, Source/cmNMakeMakefileGenerator.cxx, Source/cmNMakeMakefileGenerator.h, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Templates/CMakeNMakeWindowsSystemConfig.cmake, Templates/CMakeSystemConfig.cmake.in, Templates/CMakeWindowsBorlandConfig.cmake, Templates/CMakeWindowsSystemConfig.cmake: closer to nmake working, added CMAKE_MAKE_COMMAND instead of MAKECOMMAND used by Dart, nmake makefiles work with borland make and nmake 2001-11-15 14:54 millerjv * Modules/Dart.cmake: ENH: New make targets for Continuous builds. Added a NightlyStart and NightlyUpdate target for unix builds as well. 2001-11-15 14:52 millerjv * DartConfig.cmake: ENH: Changed Nightly start time 2001-11-15 09:55 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.h, cmake.cxx: ENH: fix library builds with nmake 2001-11-15 09:00 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: wrong shortname used 2001-11-15 08:43 hoffman * Source/cmaketest.cxx: BUG: fix build for cygwin 2001-11-15 08:42 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: avoid .cxx.o names... 2001-11-14 18:12 hoffman * Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Source/cmake.cxx, Source/cmaketest.cxx, Source/cmaketest.h.in, Templates/CMakeNMakeWindowsSystemConfig.cmake: Closer to nmake build 2001-11-14 18:11 hoffman * Source/: cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h: closer to nmake build 2001-11-14 10:21 hoffman * Templates/CMakeNMakeWindowsSystemConfig.cmake, Source/cmNMakeMakefileGenerator.cxx, Source/cmNMakeMakefileGenerator.h, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h: nmake support 2001-11-14 09:56 king * Source/CursesDialog/ccmake.cxx: ERR: Re-ordered includes to fix macro conflict for gcc 3.0. 2001-11-14 09:55 king * Source/CursesDialog/form/frm_driver.c: ERR: Fixed compiler warning for gcc 3.0. 2001-11-14 09:22 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: remove debug statements 2001-11-13 18:23 hoffman * Source/: CMakeLib.dsp, CMakeLists.txt, cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: start work on nmake generator 2001-11-13 15:54 hoffman * Source/: cmUnixMakefileGenerator.h, cmUnixMakefileGenerator.cxx: clean up object file build rule, and do not attempt to remove link_directories that are in the build tree 2001-11-13 14:22 martink * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt: fixes to curses stuff 2001-11-13 12:42 hoffman * Source/CursesDialog/form/fty_num.c: warnings 2001-11-13 12:38 hoffman * Source/: cmCacheManager.cxx, cmForEachCommand.cxx, cmIncludeExternalMSProjectCommand.cxx, cmMakefile.cxx, cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: ENH: clean up warnings 2001-11-13 12:21 hoffman * Source/cmAddDependenciesCommand.h: ENH: fix spelling error 2001-11-13 12:21 hoffman * Source/CursesDialog/cmCursesMainForm.cxx: ENH: remove warnings 2001-11-12 15:37 king * Source/cmMakeDepend.cxx: ENH: cmMakeDepend::GenerateDependInformation will now use hints regardless of whether the actual file exists. This can be used to add dependencies to .h files which are generated but included in hand-written .cxx files. If the .cxx does exist, though, it will be used first, and the hints will be used afterward. 2001-11-12 09:21 martink * Source/cmDSPWriter.cxx: minor fix 2001-11-10 23:01 ibanez * Modules/FindX11.cmake: Module to search for the installation of X11 2001-11-09 16:16 berk * Source/CursesDialog/: CMakeLists.txt, ccmake.cxx, ccurses.cxx: Renaming ccurses to ccmake. 2001-11-09 16:15 barre * Modules/FindSelfPackers.cmake: Self-packers 2001-11-09 16:05 berk * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt, CursesDialog/cmCursesStandardIncludes.h, CursesDialog/form/frm_driver.c, CursesDialog/form/frm_req_name.c: Trying to fix curses. 2001-11-09 13:00 martink * Source/cmDSPWriter.cxx, Source/cmDSPWriter.h, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: support for custom targets on exe and lib 2001-11-09 12:08 bettingf * Modules/FindQt.cmake: support for compilation of .ui files into .h and .cxx files 2001-11-09 12:07 bettingf * Source/: cmQTWrapCPPCommand.cxx, cmQTWrapCPPCommand.h: cleanups 2001-11-09 12:02 bettingf * Source/: cmQTWrapUICommand.h, cmQTWrapUICommand.cxx, cmCommands.cxx, cmUnixMakefileGenerator.cxx: support for compilation of .ui files into .h and .cxx files 2001-11-09 10:42 barre * Source/cmAddCustomCommandCommand.cxx: SOURCE, COMMAND, TARGET are required now 2001-11-09 10:37 barre * Source/cmAddCustomCommandCommand.h: SOURCE, COMMAND, TARGET are required now 2001-11-09 10:33 barre * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h: Reimplement code. Since a custom command is very flexible and might be extended in the future, make all arguments prefixed with arg type, make ordering irrelevant and potentially all args optional. 2001-11-08 17:30 berk * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c: Trying to fix curses problems. 2001-11-08 17:25 berk * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c: Fixing problems with curses headers. 2001-11-08 17:17 berk * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c: Trying to fix curses problems. 2001-11-08 17:10 berk * Source/CursesDialog/form/form.h: Oops. 2001-11-08 17:03 berk * CMakeLists.txt, Source/CursesDialog/CMakeLists.txt, Source/CursesDialog/form/CMakeLists.txt, Source/CursesDialog/form/form.h, Source/CursesDialog/form/nc_alloc.h: Changes to remove warnings and fix dependencies. 2001-11-08 15:09 martink * Source/cmDSWWriter.cxx: a better fix maybe 2001-11-08 14:44 hoffman * Source/cmDSWWriter.cxx: make sure custom targets are in the ALL_BUILD 2001-11-08 14:34 barre * Source/cmAddCustomCommandCommand.cxx: Fix number of params and expand vars in all args 2001-11-08 11:50 barre * Source/cmSourceFilesCommand.cxx: Fix bug. Was using unexpanded var instead of copy 2001-11-08 11:40 barre * Source/cmAddLibraryCommand.cxx: Break the "to infinity and beyond" stuff 2001-11-08 10:48 barre * Source/cmAddLibraryCommand.cxx: Expand var in srclist name too 2001-11-08 10:40 barre * Source/cmSourceFilesCommand.cxx: Expand var in name too 2001-11-08 09:16 barre * Source/cmAddDependenciesCommand.cxx: Expand variables in all target args 2001-11-08 08:42 berk * Source/cmUnixMakefileGenerator.cxx: Needed to replace srcdir to make install targets work. 2001-11-07 17:12 hoffman * Templates/: configure, configure.in: put back CMAKE_TEMPLATE_FLAGS 2001-11-07 17:04 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: no +=+ 2001-11-07 16:47 andy * Source/: cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h, cmCommands.cxx: Added accessor for add custom command 2001-11-07 16:07 barre * Modules/FindUnixCommands.cmake: Add cp (CP) 2001-11-07 15:57 hoffman * configure, configure.in, Source/cmUnixMakefileGenerator.cxx, Templates/configure, Templates/configure.in: remove template flags from cmake, no ptused, or -instance=static 2001-11-07 15:57 hoffman * Source/CursesDialog/cmCursesStandardIncludes.h: Trying to fix curses problems with some systems. 2001-11-07 15:01 berk * Source/CursesDialog/cmCursesStandardIncludes.h: Trying to fix build problems related to curses. 2001-11-07 14:55 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: use full source name for c code as well as c++ 2001-11-07 14:44 hoffman * Source/CursesDialog/ccurses.cxx: use cmake as the executable for cmake and not ccurses 2001-11-07 14:44 hoffman * Source/cmUnixMakefileGenerator.cxx: make sure default_target is first 2001-11-07 13:46 hoffman * CMakeLists.txt: ENH: add ansi flag for c compiler 2001-11-07 12:23 hoffman * Source/cmMessageCommand.cxx: Allow multiline messages 2001-11-07 09:54 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: Clean up a bit more 2001-11-07 09:29 hoffman * Source/cmCacheManager.cxx: One more time... case does not matter on cygwin 2001-11-06 16:14 hoffman * Source/cmExecProgramCommand.h: ENH: fix doc string 2001-11-06 15:29 bettingf * Source/: cmQTWrapCPPCommand.cxx, cmUnixMakefileGenerator.cxx: add cleaning of QT generated files when make clean is used 2001-11-06 12:03 hoffman * Source/CursesDialog/: ccurses.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h: ENH: tell cmake object where cmake is 2001-11-06 09:35 hoffman * Source/: cmCableWrapTclCommand.cxx, cmQTWrapCPPCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: BUG: CustomCommand has to use full path to Source file now 2001-11-06 08:40 hoffman * Source/CursesDialog/form/: fld_type.c, form.h: Removed a function which used va_start (did not compile on Sun with gcc) 2001-11-05 22:10 berk * Source/CursesDialog/: ccurses.cxx, cmCursesBoolWidget.cxx, cmCursesLabelWidget.cxx, cmCursesMainForm.cxx, cmCursesMainForm.h, cmCursesStringWidget.cxx: Many improvements. 2001-11-05 16:38 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: use full paths for object compile rules 2001-11-05 15:55 berk * Source/: CMakeLists.txt, CursesDialog/cmCursesMainForm.cxx: Re-enabling curses support. 2001-11-05 15:39 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: change to work with nmake 2001-11-05 13:22 berk * Modules/FindCurses.cmake, Source/CursesDialog/CMakeLists.txt, Source/CursesDialog/cmCursesForm.h, Source/CursesDialog/cmCursesLabelWidget.h, Source/CursesDialog/cmCursesMainForm.h, Source/CursesDialog/cmCursesWidget.h, Source/CursesDialog/form/frm_driver.c, Source/CursesDialog/form/frm_req_name.c, Source/CursesDialog/cmCursesStandardIncludes.h: HPUX support. 2001-11-05 12:57 lorensen * Source/cmIncludeExternalMSProjectCommand.cxx: ERR: ^M's removed. 2001-11-05 11:52 berk * Source/CursesDialog/form/: CMakeLists.txt, READ.ME, eti.h, fld_arg.c, fld_attr.c, fld_current.c, fld_def.c, fld_dup.c, fld_ftchoice.c, fld_ftlink.c, fld_info.c, fld_just.c, fld_link.c, fld_max.c, fld_move.c, fld_newftyp.c, fld_opts.c, fld_pad.c, fld_page.c, fld_stat.c, fld_type.c, fld_user.c, form.h, form.priv.h, frm_cursor.c, frm_data.c, frm_def.c, frm_driver.c, frm_hook.c, frm_opts.c, frm_page.c, frm_post.c, frm_req_name.c, frm_scale.c, frm_sub.c, frm_user.c, frm_win.c, fty_alnum.c, fty_alpha.c, fty_enum.c, fty_int.c, fty_ipv4.c, fty_num.c, fty_regex.c, llib-lform, mf_common.h, nc_alloc.h: Adding form library. 2001-11-05 11:52 berk * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt, CursesDialog/cmCursesCacheEntryComposite.h, CursesDialog/cmCursesLabelWidget.h, CursesDialog/cmCursesMainForm.cxx, CursesDialog/cmCursesMainForm.h, CursesDialog/cmCursesWidget.h: Fixing problems on Sun (name collusions between STL and curses) and disabling curses temporarily. 2001-11-05 10:42 andy * Source/CMakeLists.txt: Fix the IF IF problem 2001-11-05 08:37 berk * Source/CursesDialog/: ccurses.cxx, cmCursesCacheEntryComposite.cxx, cmCursesCacheEntryComposite.h, cmCursesLabelWidget.h, cmCursesMainForm.cxx, cmCursesMainForm.h, cmCursesWidget.h: ERR: To include cmake headers, one should use ../ 2001-11-05 05:43 pcp * Source/: cmDSPWriter.cxx, cmDSWWriter.cxx: switched string::compare to strncmp 2001-11-04 18:10 berk * Source/CursesDialog/cmCursesMainForm.h: Need to include standard headers. 2001-11-04 18:05 berk * Source/CursesDialog/: CMakeLists.txt, cmCursesBoolWidget.h, cmCursesCacheEntryComposite.h, cmCursesDummyWidget.h, cmCursesFilePathWidget.h, cmCursesForm.h, cmCursesLabelWidget.h, cmCursesMainForm.h, cmCursesPathWidget.h, cmCursesStringWidget.h, cmCursesWidget.h, ccurses.cxx, cmCursesBoolWidget.cxx, cmCursesCacheEntryComposite.cxx, cmCursesDummyWidget.cxx, cmCursesFilePathWidget.cxx, cmCursesForm.cxx, cmCursesLabelWidget.cxx, cmCursesMainForm.cxx, cmCursesPathWidget.cxx, cmCursesStringWidget.cxx, cmCursesWidget.cxx: Adding curses support. 2001-11-04 18:00 berk * Modules/FindCurses.cmake, Source/CMakeLists.txt: Adding curses support. 2001-11-02 22:32 barre * Source/: cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h: Add optional BEFORE param to INCLUDE_DIRECTORIES so that include dirs can be specified before the actual include dirs 2001-11-02 16:44 barre * Utilities/Doxygen/: CMakeLists.txt, doc_makeall.sh.in: Update 2001-11-02 16:43 barre * Modules/: Documentation.cmake, DocumentationVTK.cmake, FindCygwin.cmake, FindPerl.cmake, FindUnixCommands.cmake, FindWget.cmake: Move usual Unix commands to FindUnixCommands, use FingCygwin in other modules 2001-11-02 16:05 barre * Utilities/: CMakeLists.txt, Doxygen/CMakeLists.txt, Doxygen/doc_makeall.sh.in, Doxygen/doxyfile.in: Doxygen doc generator 2001-11-02 16:01 barre * CMakeLists.txt: Doxygen doc generator 2001-11-02 15:26 blezek * Modules/Dart.cmake: ENH: More Experimental targets for unix 2001-11-02 11:19 pcp * Source/: cmDSWWriter.cxx, cmIncludeExternalMSProjectCommand.cxx, cmDSPWriter.cxx: allow more than one external MS project 2001-11-02 09:18 andy * Source/cmCacheManager.cxx: On win32 path is all in lower case now 2001-11-01 18:37 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: clean up interface and change build in current directory to build the depend file first 2001-11-01 18:36 hoffman * Source/cmCacheManager.cxx: BUG: use collapse full path when testing cache directory 2001-11-01 18:36 hoffman * Source/cmDSPWriter.cxx: ENH: IntDir to INTDIR 2001-11-01 13:09 barre * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx: Expand vars in exe and lib name 2001-11-01 10:42 hoffman * Source/cmCacheManager.cxx: ENH: clean up drive letter check 2001-10-31 18:56 king * Source/: cmCableClassSet.cxx, cmCableClassSet.h: ENH: Added automatic detection of >> sequences in template names and replacement with "> >" in the output. 2001-10-31 18:56 king * Source/cmStandardIncludes.h: ENH: Replaced cmStdString implementation to make it more transparently a std:string. 2001-10-31 07:03 pcp * Source/: cmCommands.cxx, cmDSPWriter.cxx, cmDSWWriter.cxx, cmDSWWriter.h, cmIncludeExternalMSProjectCommand.cxx, cmIncludeExternalMSProjectCommand.h: INCLUDE_EXTERNAL_MSPROJECT command 2001-10-30 14:36 andy * Source/cmCacheManager.cxx: Fix the problem on windows of capital or lower case drive letter for CMAKE_CACHEFILE_DIR 2001-10-30 14:15 andy * Source/cmCacheManager.cxx: Change CMAKE_CURRENT_CWD to CMAKE_CACHEFILE_DIR and change the messages 2001-10-30 14:05 hoffman * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmMakefile.cxx, cmMakefile.h: ENH: add an option to configure file command that allows for only expansion of at variables and not dollar variables 2001-10-29 10:41 hoffman * Source/cmSystemTools.cxx: ENH: use callback not ifdef for MFC message box errors 2001-10-29 10:19 hoffman * Source/: cmCacheManager.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: add callback for message display 2001-10-26 18:21 hoffman * Modules/FindITK.cmake: [no log message] 2001-10-26 17:06 berk * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in: added CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION 2001-10-26 15:42 hoffman * Source/: cmConfigureFileCommand.cxx, cmMakefile.h, cmaketest.cxx: add dependency for configure files and use short path in WIN32 cmake test 2001-10-26 14:35 hoffman * Modules/FindVTK.cmake: use find_file and not just a set for USE_VTK_FILE 2001-10-26 11:22 barre * Modules/DocumentationVTK.cmake: VTK documentation framework 2001-10-26 09:29 andy * Source/cmCacheManager.cxx: Added check if the binary directory changed. If it did, it will print the warning message 2001-10-24 20:37 barre * Modules/FindCygwin.cmake: Add GZIP (gzip) 2001-10-24 20:33 barre * Modules/FindCygwin.cmake: Add TAR (path to tar or gtar) 2001-10-24 17:51 berk * Source/cmUnixMakefileGenerator.cxx: ENH: allow -framework as a complete entry in the link line for Mac OSX 2001-10-24 15:51 berk * DartConfig.cmake: public no longer has anonymous ftp. 2001-10-24 09:41 king * Modules/FindGCCXML.cmake: ENH: Improved FIND_PROGRAM call to find the executable in PREFIX/share/GCC_XML, the new standard install location. 2001-10-23 18:30 barre * Modules/FindCygwin.cmake: Cygwin mod 2001-10-23 17:49 barre * Source/: cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h: The result of this utility command can now be optionally added to the cache 2001-10-23 17:47 barre * Modules/FindDoxygen.cmake: Find Graphivz's dot too 2001-10-23 17:06 barre * Modules/: FindDoxygen.cmake, FindWget.cmake: Add Doxygen and Wget modules. Very simple. But might be more complex later, so let's use them asap 2001-10-23 16:55 barre * Modules/: FindHhc.cmake, FindPerl.cmake: Modules to find Perl and the HTML Help Compiler 2001-10-19 10:07 barre * Source/cmEnableTestingCommand.h: Add warning regarding the location of ENABLE_TESTING (should be in the top CMakeList.txt, otherwise Dart is lost) 2001-10-18 18:01 barre * Source/cmSiteNameCommand.cxx: SITE_NAME should return the most qualified name of the host. If nslookup works, now the domain is appended to the hostname (whereas it *replaced* the host name before) 2001-10-18 13:51 iscott * Source/cmQTWrapCPPCommand.cxx: Detect error and output useful message Previously it would have got confused about the destinationSourceGroup 2001-10-18 13:03 iscott * Source/cmFindFileCommand.cxx: This command should always set the cahce variabel to a filepath not a path 2001-10-17 15:11 barre * Source/cmProjectCommand.cxx: Add PROJECT_NAME to the set of definitions 2001-10-16 15:40 iscott * Modules/FindQt.cmake: fixed some stupid mistakes I thought I had tested these - honest 2001-10-16 15:32 iscott * Modules/: FindQt.cmake, LinkQT.cmake: Some simple modules for finding and linking qt 2001-10-15 18:37 hoffman * Source/cmMessageCommand.cxx: ENH: expand variables in message command output 2001-10-15 18:36 hoffman * Source/cmSourceFile.cxx: ENH: clean up error report for source files not found 2001-10-15 14:19 iscott * CMake.rtf, Source/cmCommands.cxx, Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h: added a QT_WRAP_CPP command 2001-10-11 17:20 king * Source/cmCableWrapTclCommand.cxx: ENH: Improved parsing of GCCXML_FLAGS to improve generation of gccxml rule. Also added ADD_DEFINITIONS arguments to the generated rule. 2001-10-11 14:57 andy * Source/cmCacheManager.cxx: Added removing of spaces in CMakeCache.txt in front of comments and variables 2001-10-10 10:22 hoffman * Source/cmCacheManager.cxx: ENH: add a warning comment for cache values that can not be changed because they are always loaded from another cache 2001-10-09 22:18 biddi * Source/cmBorlandMakefileGenerator.cpp: FIX: Same as last checkin except applies to bpi files as wellas lib files If we can't find it - and it's not a target - and it has no path already specified, it must be in OUTDIRLIB from another makefile in the same project ! (What this really means is the lib paths are correctly specified) 2001-10-09 10:25 hoffman * Source/cmSystemTools.cxx: ENH: better fix for dos return in lines, use the regular expression and don't edit the input line 2001-10-05 17:31 hoffman * Source/cmSystemTools.cxx: ENH: clean up returns from input, so we can read dos files on unix 2001-10-04 09:32 starreveld * Templates/: configure, configure.in: ERR: remove undefined warning for compatibility with new 10.1 linker 2001-10-03 15:49 hoffman * Modules/Dart.cmake, Source/CMakeLists.txt, Source/cmake.cxx, Source/cmaketest.cxx: ENH: fixes for borland compiler testing 2001-10-03 11:36 king * Modules/FindCABLE.cmake: ENH: Changed CABLE_BUILD_DIR to look for cableVersion.h instead of cable.README.txt. 2001-10-02 23:10 biddi * Source/cmBorlandMakefileGenerator.cpp: FIX:if we can't find it - and it's not a target - and it has no path already specified, it must be in OUTDIRLIB from another makefile in the same project ! (What this really means is the lib paths are correctly specified) 2001-10-02 17:28 hoffman * Source/: cmListFileCache.cxx, cmMakefile.cxx, cmSystemTools.cxx, cmSystemTools.h, ctest.cxx: ENH: add better error reports in parsing cmake files, like what file has the error 2001-10-01 13:35 martink * Source/: cmMakefile.h: version 2001-10-01 13:26 hoffman * ChangeLog.txt: [no log message] 2001-10-01 11:55 hoffman * Source/cmaketest.cxx: BUG: add missing include 2001-10-01 10:14 hoffman * Source/cmaketest.cxx: ENH: change checkboxes back to pull down menus, remove leak 2001-09-29 11:12 hoffman * Source/cmSystemTools.cxx: BUG: fix full path for file in current directory 2001-09-28 13:35 berk * Source/cmSystemTools.cxx: BUG: fix realpath problem again... 2001-09-28 12:14 berk * Source/cmSystemTools.cxx: BUG: separate path from file name before calling realpath 2001-09-28 10:40 hoffman * Source/: cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: get correct library name 2001-09-28 10:34 hoffman * CMakeLists.txt: BUG: optional in wrong order 2001-09-28 09:57 hoffman * CMakeLists.txt: make the include of the initial config flags optional, for builds that do not use configure 2001-09-27 16:50 hoffman * Source/: cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: use realpath instead of cd/pwd 2001-09-27 15:54 hoffman * CMakeLists.txt, Source/CMakeLists.txt: BUG: fix install prefix 2001-09-27 14:58 hoffman * configure, configure.in, Source/CMakeLists.txt, Source/InitialConfigureFlags.cmake.in: ENH: pass prefix from configure into cmake 2001-09-26 16:23 berk * Modules/Dart.cmake: Typo. 2001-09-25 14:39 martink * Modules/FindVTK.cmake: changes to chamghe 2001-09-25 11:06 martink * Source/cmVTKWrapTclCommand.cxx: memory leak 2001-09-21 11:48 martink * Modules/FindVTK.cmake: better install targets 2001-09-21 09:40 king * Source/cmSystemTools.cxx: BUG: CopyFile should return immediately after an error occurs. 2001-09-20 17:31 martink * Modules/FindVTK.cmake: updates 2001-09-20 16:43 berk * Source/ctest.cxx: handle spaces in commands and args 2001-09-20 15:08 hoffman * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddTestCommand.cxx, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h, cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmCableClassSetCommand.cxx, cmCableClassSetCommand.h, cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h, cmCommand.h, cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h, cmElseCommand.cxx, cmElseCommand.h, cmEnableTestingCommand.h, cmEndForEachCommand.cxx, cmEndForEachCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmExecProgramCommand.cxx, cmExecProgramCommand.h, cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmForEachCommand.cxx, cmForEachCommand.h, cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeCommand.h, cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h, cmLibraryCommand.h, cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h, cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h, cmMessageCommand.cxx, cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h, cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h, cmProjectCommand.cxx, cmProjectCommand.h, cmSetCommand.cxx, cmSetCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmSubdirCommand.cxx, cmSubdirCommand.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h, cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h: ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache 2001-09-20 13:44 martink * Source/cmMakefile.cxx: BUG: make a copy of the arguments before passing them to Execute 2001-09-20 12:00 martink * CMake.rtf: fixed some problems 2001-09-20 10:57 king * Modules/FindCABLE.cmake: ENH: Added support for finding cable when it is built in a configuration subdirectory by MSVC. 2001-09-20 10:54 king * Source/: cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*). 2001-09-20 10:53 king * Source/cmSetCommand.cxx: ENH: Added extra newline in an error message to improve readability. 2001-09-20 10:27 martink * Modules/FindVTK.cmake: minor changes 2001-09-20 09:11 martink * Modules/: FindVTK.cmake, UseVTKIncludes.cmake, UseVTKLibraries.cmake: removed some VTK stuff 2001-09-19 14:52 martink * Modules/: FindVTK.cmake, UseVTKIncludes.cmake, UseVTKLibraries.cmake: updated to how FindVTK works 2001-09-19 14:20 martink * Source/cmMakefile.h: version rev to 95 2001-09-19 14:20 martink * Source/cmMakefile.h: version rev to 94 2001-09-18 10:45 hoffman * ChangeLog.txt: [no log message] 2001-09-18 10:38 will * CMake.pdf: ENH:Updated documentation 2001-09-17 17:40 hoffman * CMake.rtf: ENH: update for new version 2001-09-17 16:36 hoffman * Source/: cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h: ENH: change to take a path as input 2001-09-17 16:34 hoffman * Source/cmFindFileCommand.cxx: BUG: fix return when file is not found 2001-09-17 14:16 king * Modules/FindCABLE.cmake: ENH: Added find support for looking at Cable's build directory if the user sets the CABLE_BUILD_DIR cache entry. 2001-09-17 13:58 hoffman * Source/: cmCommands.cxx, cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h: ENH: add Use mangled mesa command 2001-09-17 12:07 blezek * Modules/Dart.cmake: ENH: NightlyCoverage got lost 2001-09-14 16:36 martink * Source/: cmVTKWrapTclCommand.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx: now uses five argument version of wrap commands 2001-09-14 16:26 hoffman * Source/: cmMakefileGenerator.cxx, cmStandardIncludes.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmakemain.cxx: remove memory leaks 2001-09-14 15:18 hoffman * Source/cmDSPWriter.cxx: fix error in cygwin 2001-09-14 15:18 hoffman * Source/cmListFileCache.h: initialize class 2001-09-14 15:18 hoffman * Source/: cmMakefileGenerator.cxx, cmMakefileGenerator.h: add support for clean up 2001-09-14 10:14 martink * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate, staticLibHeader.dsptemplate: made Debug the default configuration 2001-09-14 08:34 barre * Modules/FindTCL.cmake: move cygtclsh80 to the end of list, otherwise it might be found while the non-cygwin wish8x.exe will be found too. If wish8x.exe is found, then the non-cygwin tclsh8x.exe must be found too. 2001-09-13 14:45 martink * Modules/Dart.cmake: added back some targets for UNIX 2001-09-13 11:27 martink * Source/: cmSystemTools.h, cmSystemTools.cxx: added shortest ext function 2001-09-12 17:09 lorensen * Source/cmSiteNameCommand.cxx: ENH: drop the case of the site name. This makes it consistent with Dart's usage. 2001-09-12 17:09 lorensen * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added LowerCase method. 2001-09-12 15:18 king * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH: Added parsing of gccxml flags into separate arguments for setting the custom command. This is necessary since the custom command now takes a vector of individual command line options instead of a single string. 2001-09-11 21:46 biddi * Templates/CMakeWindowsBorlandConfig.cmake: ERR: Spelling 2001-09-11 21:45 biddi * Source/: cmBorlandMakefileGenerator.cpp, cmBorlandMakefileGenerator.h, cmSystemTools.cxx: ERR: Change to EscapeSpaces forces rework of Borland generator Add clause to prevent adding quotes when they're already present, then stuff them onto all lib paths to prevent forward slashes causing trouble. 2001-09-11 20:00 biddi * Source/: cmBorlandMakefileGenerator.cpp, cmBorlandMakefileGenerator.h: ENH: Major fix of the Borland generator which addresses the problem of libraries with dependencies (other libraries) not linking when required. Dependency checking required the full path to be supplied to each file when they're not in the current directory (very tedious). All seems to be working nicely now. 2001-09-11 19:58 biddi * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add a findfile routine (as opposed to find executable or library) which doesn't add any extensions - Borland make needs full paths to certain dependencies otherwise linking doesn't work properly (dependencies aren't checked) 2001-09-11 15:17 martink * Source/ctest.cxx: updated testing 2001-09-11 14:58 martink * Source/cmDSPWriter.cxx: include fixes 2001-09-11 14:43 martink * Modules/Dart.cmake: reduced the number of targets 2001-09-11 14:42 martink * Source/cmaketest.cxx: bug in testing code 2001-09-11 13:44 hoffman * Source/cmBorlandMakefileGenerator.cpp: BUG: fix build with non-borland compiler 2001-09-11 13:40 martink * Source/cmDSPWriter.cxx: fix for include paths 2001-09-10 15:11 martink * Modules/Dart.cmake: reduced targets and merged tclsh commands 2001-09-10 15:11 martink * Source/: cmCableWrapTclCommand.cxx, cmDSPWriter.cxx, cmMakefile.cxx, cmMakefile.h, cmSystemTools.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: various windows fixes 2001-09-10 11:03 berk * Source/CMakeLists.txt: Typo in link command. 2001-09-08 12:09 biddi * Source/: cmBorlandMakefileGenerator.cpp, cmBorlandMakefileGenerator.h: ERR: Forgot to put back a backslash 2001-09-08 10:02 biddi * Source/cmBorlandMakefileGenerator.cpp: ERR: LINK_DIR must ot have backslah at end. Fix plus cleanup of some code. 2001-09-07 10:08 martink * Source/cmDirectory.cxx: fixed bug in mismatched directory opens consuming file descriptors 2001-09-07 09:40 king * Source/cmConfigureGccXmlCommand.cxx: ENH: Removed addition of compiler support directory include option since the find_*_options scripts now include it automatically. 2001-09-06 18:02 hoffman * Source/: CMakeLists.txt, cmBorlandMakefileGenerator.cpp: BUG: clean up lib and exe output paths 2001-09-06 17:28 hoffman * Source/CMakeLib.dsp, Source/cmBorlandMakefileGenerator.cpp, Source/cmBorlandMakefileGenerator.h, Source/cmMSProjectGenerator.h, Source/cmMakefileGenerator.cxx, Source/cmMakefileGenerator.h, Source/cmUnixMakefileGenerator.h, Source/cmake.cxx, Source/cmake.h, Templates/CMakeWindowsBorlandConfig.cmake: ENH: integrate borland support 2001-09-04 16:29 biddi * Source/cmBorlandMakefileGenerator.cpp, Source/cmBorlandMakefileGenerator.h, Templates/CMakeWindowsBorlandConfig.cmake: NEW: First check in of Borland Makefile Generator and template stuff 2001-09-04 16:07 hoffman * Source/: cmAddCustomTargetCommand.cxx, cmCustomCommand.cxx, cmCustomCommand.h, cmDSPWriter.cxx, cmDSWWriter.cxx, cmMakefile.cxx, cmMakefile.h, cmSourceGroup.cxx, cmSourceGroup.h, cmVTKWrapJavaCommand.cxx: ENH: separate command from its arguments in the custom command. This allows the generator on windows to change the slashes for just the command 2001-09-01 17:13 biddi * Source/cmBuildCommand.cxx: ENH: Added a clause for Borland compiler compatibility 2001-09-01 16:56 barre * Source/cmDSPWriter.cxx: Convert path format back to Windows slashes syntax. Mandatory for Win98 build. 2001-09-01 16:55 barre * Source/cmSystemTools.cxx: fix comment pb 2001-09-01 16:13 biddi * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Windows and Unix slash conversions return a char*, clean function seperated from Convert function 2001-09-01 16:12 biddi * Source/: cmMakefile.cxx, cmMakefile.h: ENH: ExpandVariables functions return a char * for convenience 2001-08-31 21:10 starreveld * Source/cmUnixMakefileGenerator.cxx: ENH: Generate compile lines for .m, .M, and .mm files (ObjC and ObjC++) 2001-08-30 17:32 hoffman * Source/cmMakefile.cxx: BUG: fix incorrect deletion of function blockers 2001-08-30 16:19 martink * Source/: cmMakefile.h: version rev 2001-08-30 16:06 hoffman * ChangeLog, ChangeLog.txt: [no log message] 2001-08-30 15:54 hoffman * ChangeLog.txt: ENH: add autogenerated changelog 2001-08-29 17:21 hoffman * Source/cmake.cxx: opps 2001-08-29 17:11 king * Source/cmConfigureGccXmlCommand.cxx: BUG: GCCXML_FLAGS found from find_gcc_options or find_mpro_options should have the trailing newline stripped from the string. 2001-08-29 17:10 king * Source/cmCableWrapTclCommand.cxx: ENH: Updated generated dependencies since cable's installation directory now uses separate CxxTypes and WrapTclFacility subdirecories for includes. 2001-08-29 17:08 king * Modules/FindCABLE.cmake: ENH: Updated library finding code to handle new cable installation directory structure. It now uses separate directories for CxxTypes and WrapTclFacility headers. 2001-08-29 16:42 martink * Source/: ctest.cxx, ctest.h: added regexp option 2001-08-29 16:13 hoffman * Source/: CMakeLib.dsp, DumpDocumentation.dsp, cmake.dsp, ctest.dsp: remove /ZI 2001-08-29 15:57 hoffman * Source/: cmake.cxx, cmaketest.cxx: ENH: run cmake from cmaketest 2001-08-29 10:47 king * Source/cmMakefile.h: ENH: Added a const version of GetLinkLibraries(). 2001-08-29 10:46 king * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: Proper dependencies between shared libraries now exist in the generated makefiles. If a shared library links to another, the other will be built before the link is attempted. 2001-08-29 09:57 hoffman * Source/cmMakefile.cxx: clean up a bit 2001-08-29 09:44 berk * Source/cmSystemTools.cxx: BUG: fix out of bounds read on string in mkdir 2001-08-29 09:26 perera * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Special value IGNORE behaves like NOTFOUND, but makes FindLibrary, etc, _not_ search for a library, etc. 2001-08-28 18:35 hoffman * Source/cmListFileCache.h: remove warning 2001-08-28 18:28 hoffman * Source/: CMakeLib.dsp, CMakeLists.txt, CMakeSetup.dsw, Makefile.in, cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx: ENH: add caching for the input CMakeList.txt files, 2X speed up 2001-08-28 18:27 hoffman * Source/cmDSPWriter.cxx: BUG: put spaces in /I paths 2001-08-28 18:02 starreveld * Source/: cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmMakefile.cxx, cmMakefile.h, cmTarget.h, cmUnixMakefileGenerator.cxx: Changes to allow MODULE type target for a shared library 2001-08-28 18:01 starreveld * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in: Changes to allow a MODULE target for a shared library. 2001-08-28 16:04 martink * CMakeLists.txt, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: minor fix 2001-08-28 14:55 martink * Source/: cmDSPWriter.cxx, cmSystemTools.cxx, cmSystemTools.h: better network build support 2001-08-28 13:49 starreveld * Templates/: configure, configure.in: Added support for Darwin (OSX) 2001-08-28 10:57 hoffman * Modules/FindTCL.cmake: ENH: support for cygwin 2001-08-28 10:57 hoffman * Source/: cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: fix for broken apple mkdir and general clean up of MakeDirectory command 2001-08-27 15:19 martink * Source/cmDSPWriter.cxx: support for network path link libraries 2001-08-27 14:44 hoffman * Source/: cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx: ENH: change expand variables to use GetDefinition 2001-08-27 14:38 hoffman * configure, configure.in: [no log message] 2001-08-27 14:35 hoffman * configure, configure.in, Source/Makefile.in: ENH: clean up sgi build and use non-broken autoconf 2001-08-27 12:24 hoffman * configure, Source/cmUnixMakefileGenerator.cxx, Templates/configure: [no log message] 2001-08-27 11:03 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: set CXX and CC when running configure from cmake 2001-08-27 10:23 martink * Source/ctest.cxx: better formatted output 2001-08-27 10:22 hoffman * Templates/: configure, configure.in: ENH: use ANSI_CXXFLAGS for testing compiler 2001-08-27 10:11 hoffman * CMakeLists.txt, Templates/CMakeSystemConfig.cmake.in, Templates/configure, Templates/configure.in, Tests/Complex/CMakeLists.txt, Tests/ComplexOneConfig/CMakeLists.txt, Tests/ComplexRelativePaths/CMakeLists.txt: ENH: sgi -LANG:std 2001-08-27 10:07 berk * Source/CMakeSetup.dsw: ken added dependancy to build everything 2001-08-25 12:31 martink * Source/: CMakeSetup.dsw, ctest.dsp: added ctest to win32 2001-08-24 17:50 hoffman * Templates/: configure, configure.in: [no log message] 2001-08-24 17:30 hoffman * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in: ENH: more sgi -LANG stuff 2001-08-24 17:25 hoffman * configure, configure.in: auto detect lang:std: 2001-08-24 17:17 hoffman * Source/Makefile.in: ENH: build for sgi CC out of box 2001-08-24 17:12 hoffman * configure, configure.in: auto detect lang:std: 2001-08-24 17:00 hoffman * configure, configure.in: auto detect lang:std: 2001-08-24 16:51 hoffman * configure, configure.in: auto detect lang:std: 2001-08-24 15:54 hoffman * Tests/: Complex/cmTestConfigure.h.in, Complex/Executable/complex.cxx, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/Executable/complex.cxx, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/Executable/complex.cxx: BUG: fix complex test for old compilers 2001-08-24 15:45 hoffman * configure, configure.in, Tests/Complex/cmTestConfigure.h.in, Tests/ComplexOneConfig/cmTestConfigure.h.in, Tests/ComplexRelativePaths/cmTestConfigure.h.in: BUG: fix for SGI Native compiler 2001-08-24 15:41 hoffman * Templates/: configure, configure.in: BUG: fix flag for building shared on HP 2001-08-23 18:30 perera * Source/: cmAddTestCommand.cxx, cmAddTestCommand.h: BUG: ADD_TEST now only does stuff if ENABLE_TESTING has been run. 2001-08-23 18:02 hoffman * Source/: cmMakefile.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: improve coverage 2001-08-23 17:40 hoffman * Source/: CMakeLists.txt, cmDumpDocumentation.cxx, cmMakefile.cxx, cmMakefile.h: ENH: add dump documentation test 2001-08-23 16:28 king * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH: Each cmCableWrapTclCommand instance now uses a single cmMakeDepend object for dependencies for all the gccxml input files it generates. This should significantly improve generation time. 2001-08-23 16:24 hoffman * Source/cmaketest.cxx: BUG: run make all on unix not make exename 2001-08-23 16:00 hoffman * Source/: CMakeLists.txt, cmStandardIncludes.h, cmaketest.cxx, ctest.cxx: ENH: add more testing 2001-08-23 13:57 hoffman * Tests/: Complex/CMakeLists.txt, Complex/VarTests.txt, Complex/cmTestConfigure.h.in, Complex/simple.cxx, Complex/Executable/CMakeLists.txt, Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt, Complex/Library/file2.cxx, Complex/Library/file2.h, Complex/Library/sharedFile.cxx, Complex/Library/sharedFile.h, Complex/Library/ExtraSources/file1.cxx, Complex/Library/ExtraSources/file1.h, ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.txt, ComplexOneConfig/cmTestConfigure.h.in, ComplexOneConfig/simple.cxx, ComplexOneConfig/Executable/CMakeLists.txt, ComplexOneConfig/Executable/complex.cxx, ComplexOneConfig/Library/CMakeLists.txt, ComplexOneConfig/Library/file2.cxx, ComplexOneConfig/Library/file2.h, ComplexOneConfig/Library/sharedFile.cxx, ComplexOneConfig/Library/sharedFile.h, ComplexOneConfig/Library/ExtraSources/file1.cxx, ComplexOneConfig/Library/ExtraSources/file1.h, ComplexRelativePaths/CMakeLists.txt, ComplexRelativePaths/VarTests.txt, ComplexRelativePaths/cmTestConfigure.h.in, ComplexRelativePaths/simple.cxx, ComplexRelativePaths/Executable/CMakeLists.txt, ComplexRelativePaths/Executable/complex.cxx, ComplexRelativePaths/Library/CMakeLists.txt, ComplexRelativePaths/Library/file2.cxx, ComplexRelativePaths/Library/file2.h, ComplexRelativePaths/Library/sharedFile.cxx, ComplexRelativePaths/Library/sharedFile.h, ComplexRelativePaths/Library/ExtraSources/file1.cxx, ComplexRelativePaths/Library/ExtraSources/file1.h: ENH: try to get better test coverage 2001-08-23 13:12 martink * Source/ctest.cxx: also check path for test executables 2001-08-23 11:39 martink * Source/ctest.cxx: fixed format 2001-08-23 11:32 martink * Source/cmUnixMakefileGenerator.cxx: better ctest support 2001-08-23 11:12 martink * Source/: CMakeLists.txt, cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx, ctest.cxx, ctest.h: added test driver for make test target 2001-08-22 16:33 martink * Source/cmDSPWriter.cxx: ENH: do not put a rule in to rebuild the ALL_BUILD.dsp file, as it is not possible... 2001-08-22 11:58 hoffman * Source/: cmCableClassSet.h, cmCableWrapTclCommand.cxx, cmCacheManager.cxx, cmCacheManager.h, cmMakeDepend.h, cmMakefile.h, cmSourceGroup.h, cmStandardIncludes.h, cmTarget.h, cmUnixMakefileGenerator.cxx: ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files. 2001-08-22 11:26 hoffman * Source/cmMakefile.h: BUG: shorten length of symbols 2001-08-22 10:12 berk * Source/cmDSPWriter.cxx: OUTDIR->IntDir 2001-08-21 11:04 starreveld * Source/cmMakefile.cxx: Added support for .mm source files (ObjC++) 2001-08-20 13:32 hoffman * Templates/: configure, configure.in: BUG: fix check for no std:: 2001-08-20 09:23 hoffman * Source/cmSetCommand.cxx: BUG: cmSystemTools::CollapseFullPath is a bad thing to call on the compiler which is a filepath 2001-08-19 19:11 barre * Source/cmOptionCommand.cxx: Allow option value to be expanded (thus, we can use the value of another option as default) 2001-08-19 12:14 barre * Source/cmMakefile.cxx: gcc and MSVC clash on basic_string::compare(), let's try substr() 2001-08-19 07:36 barre * Source/cmSetCommand.cxx: If the value is a path, collapse it (cleaner) 2001-08-18 17:57 hoffman * Templates/: configure, configure.in: BUG: get the flags right 2001-08-18 12:51 barre * Source/cmMakefile.cxx, Modules/FindDart.cmake: Support for $ENV{VAR} syntax (lookup in the environment vars) 2001-08-17 17:11 martink * Source/: cmElseCommand.cxx, cmIfCommand.cxx: backwards MATCHES in if and else statements 2001-08-16 18:01 hoffman * Templates/configure: ENH: default for cygwin should be pthreads 2001-08-16 17:42 hoffman * Templates/: CMakeSystemConfig.cmake.in, CMakeWindowsSystemConfig.cmake, configure, configure.in: ENH: add CMAKE_USE_WIN32_THREADS to the possible thread types 2001-08-16 11:41 berk * Source/: cmCacheManager.cxx, cmCacheManager.h, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h: Adding new options to LoadCache. 2001-08-15 13:40 berk * Source/: cmCacheManager.cxx, cmCacheManager.h, cmLoadCacheCommand.cxx: 1. Added EXCLUDE option to LOAD_CACHE. 2. Entries brought in from another cache are now marked as internal. 2001-08-15 13:23 martink * Modules/FindDart.cmake: looks at same level 2001-08-15 10:03 hoffman * Templates/: configure, configure.in: ENH: make pthreads the default for cygwin 2001-08-14 17:18 king * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h, cmMakefile.cxx: ENH: Improved INSTALL_FILES and INSTALL_PROGRAMS commands to allow each call to the command in a single directory to specify a different install path. 2001-08-13 16:04 martink * Modules/Dart.cmake: removed grep 2001-08-10 15:52 martink * Source/: cmVTKWrapTclCommand.cxx, cmMakefile.h: now creates output directories 2001-08-09 15:35 hoffman * CMake.pdf: ENH: update pdf to rtf 2001-08-09 15:23 hoffman * CMake.rtf: ENH: add some docs for sgi CC 2001-08-09 14:58 berk * Source/: cmElseCommand.cxx, cmIfCommand.cxx: BUG: or and and were inverted. 2001-08-09 11:12 hoffman * ChangeLog: add generated ChangeLog file. Should be updated each time a new version is made 2001-08-09 11:08 martink * Source/: cmMakefile.h: updated version 2001-08-09 11:07 martink * README: out of date 2001-08-09 09:33 hoffman * Source/cmConfigure.cmake.h.in: BUG: add in for scope variable 2001-08-08 13:14 hoffman * Source/: cmSiteNameCommand.cxx, cmUtilitySourceCommand.cxx: BUG: can not Add a definition that you just got 2001-08-08 11:54 hoffman * configure, configure.in, Source/cmBuildCommand.cxx, Source/cmBuildNameCommand.cxx, Source/cmCableWrapTclCommand.cxx, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmConfigure.h.in, Source/cmConfigureGccXmlCommand.cxx, Source/cmDSPWriter.cxx, Source/cmDSWWriter.cxx, Source/cmFindFileCommand.cxx, Source/cmFindLibraryCommand.cxx, Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx, Source/cmLinkLibrariesCommand.cxx, Source/cmMSProjectGenerator.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmOptionCommand.cxx, Source/cmProjectCommand.cxx, Source/cmSetCommand.cxx, Source/cmSiteNameCommand.cxx, Source/cmStandardIncludes.h, Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUtilitySourceCommand.cxx, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapPythonCommand.cxx, Source/cmVTKWrapTclCommand.cxx, Templates/CMakeSystemConfig.cmake.in, Templates/configure, Templates/configure.in: ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-07 15:49 hoffman * Source/: cmStandardIncludes.h, cmSystemTools.cxx: ENH: compile with broken 720 SGI C++ compiler 2001-08-07 13:46 hoffman * Source/cmMakefile.cxx: ENH: html output for docs 2001-08-07 13:15 hoffman * CMake.rtf: ENH: update documents with current commands and new GUI 2001-08-07 08:47 king * CMakeLists.txt: ERR: CMakeLogo.gif has been moved to the root directory of the source so that the Web and Web/Art directories are not needed here. 2001-08-07 08:46 king * CMakeLogo.gif: ENH: CMakeLogo for Dart to use on testing web page. 2001-08-06 17:01 martink * Source/: cmElseCommand.cxx, cmElseCommand.h, cmIfCommand.cxx, cmIfCommand.h: added new if commands 2001-08-06 15:11 king * CMake.pdf, CMake.rtf: Re-adding doc files. They were accidentally removed due to a symlink from the CMake/Web directory when it was removed. 2001-08-06 15:01 king * CMake.pdf, CMake.rtf: Removing Web directory from CMake. It is moving to a separate, parallel CVS module called "CMakeWeb" 2001-08-03 15:47 king * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h: ENH: Added 'IMMEDIATE' option to CONFIGURE_FILE command to force file copy and configuration on the initial pass so that current variable values are used. 2001-08-02 17:27 king * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH: Added use of a class's tag to generate a better set of filenames for its wrapper configuration, xml, and generated files. This should also prevent half the classes from re-wrapping when a new one is inserted in the middle. 2001-08-02 14:42 king * Source/cmUnixMakefileGenerator.cxx: BUG: Generated link line for shared libraries had CMAKE_CXX_FLAGS instead of CMAKE_CXXFLAGS (note underscore). 2001-08-02 14:10 king * Source/cmMakefile.cxx: BUG: Fixed off-by-one error in ExpandVariablesInString for case of $ or @ as last character of string. 2001-08-02 09:07 king * Source/cmUnixMakefileGenerator.cxx: BUG: We don't want to output -I/usr/include in the INCLUDE_FLAGS variable. This causes problems with finding system headers in the wrong places for certain standard library implementations. 2001-08-01 16:14 king * Source/: cmCommands.cxx, cmMakefile.cxx, cmMakefile.h, cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h, cmUnixMakefileGenerator.cxx: ENH: Added SUBDIR_DEPENDS command and corresponding support code. This command allows specification that a set of subdirectories be built before a particular directory. 2001-08-01 16:13 king * Source/cmAddDefinitionsCommand.cxx: BUG: Needed to expand variables of definitions. 2001-08-01 16:12 king * Source/cmInstallFilesCommand.cxx: BUG: Need to expand variables when a regular expression is specified. 2001-08-01 16:11 king * Modules/FindCABLE.cmake: ENH: Support to find CABLE utility if it is installed. 2001-08-01 11:19 king * Modules/FindTCL.cmake: ENH: Added tk library names tk8.4 tk8.3 tk8.2 and tk8.0 to correspond to tk84 tk83 tk82 and tk80. TK_LIBRARY should now be found on more platforms. 2001-07-31 11:29 king * Source/cmCommands.cxx, Source/cmDSPWriter.cxx, Source/cmDSWWriter.cxx, Source/cmInstallFilesCommand.cxx, Source/cmInstallProgramsCommand.cxx, Source/cmInstallProgramsCommand.h, Source/cmMakefile.cxx, Source/cmTarget.cxx, Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx, Templates/CMakeLists.txt: ENH: Added INSTALL_PROGRAMS command and corresponding support. This involved splitting cmTarget::INSTALL into INSTALL_FILES and INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds execute permission. The INSTALL_PROGRAMS commnad takes either a list of explicit names, or a regex. It will not expand source lists like the INSTALL_FILES command will. 2001-07-30 12:21 king * Source/cmCableClassSet.cxx: ERR: ElementCombinationGenerator::ReplacePortion needs to be a friend of ElementCombinationGenerator so that it can get access to ElementCombinationGenerator::Substitution. Also fixed one minor problem for HP build. 2001-07-30 11:34 king * Source/: cmCableClassSet.cxx, cmCableWrapTclCommand.cxx, cmDSPWriter.cxx, cmMakeDepend.cxx, cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx: BUG: Changed include and link directory paths in cmMakefile back to std::vector because there is an order dependency. Only cmMakefile::AddIncludeDirectory and cmMakefile::AddLinkDirectory should be called to add directories to the paths. They make sure the paths are unique as they are inserted. 2001-07-30 07:18 scottim * Source/: cmCableClassSet.cxx, cmCableWrapTclCommand.cxx, cmDSPWriter.cxx, cmMakeDepend.cxx, cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx: Removed the Uniquification of the include and link directory list in FinalPass, and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories a set rather than vector 2001-07-27 16:29 hoffman * Source/cmMakefile.cxx: ENH: Re-implemented ExpandVariablesInString to significantly improve performance. 2001-07-27 13:06 scottim * Source/: cmMakefile.cxx, cmMakefile.h: MAkefile now strips duplicate directores from the libraries and include paths 2001-07-26 11:07 king * Source/: cmCableClassSet.cxx, cmCableClassSet.h, cmCableClassSetCommand.cxx, cmCableWrapTclCommand.cxx: ENH: Added cable class-set expansion and tagging for alternate name generation. This should make the generated wrappers much easier to setup and use. 2001-07-26 09:47 berk * CMakeLists.txt: ENH: Updated regexp for tracing dependencies in FLTK dialog. 2001-07-26 08:36 martink * Source/cmMakefile.h: fixed warnings 2001-07-25 18:30 hoffman * Source/: cmMakefile.cxx, cmMakefile.h, cmake.cxx, cmake.h: ENH: rework GUI with configure/OK/Cancel 2001-07-25 16:53 martink * Source/: cmCommands.cxx, cmFunctionBlocker.h, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h: added for each command 2001-07-25 16:52 martink * Source/: cmEndForEachCommand.cxx, cmEndForEachCommand.h, cmForEachCommand.cxx, cmForEachCommand.h: new commands 2001-07-25 09:40 berk * Source/cmCacheManager.cxx: Removing trailing spaces after cache entry value. 2001-07-24 16:16 king * Source/cmDSPWriter.cxx: BUG: Fixed dependency generation to work for when there are many, many dependencies. Output is now easier to ready anyway because each dependency is on its own line. 2001-07-23 14:43 king * Source/: cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h: BUG: CompilerIsMipsPro needs to redirect stderr to stdout so that the test output can be checked. 2001-07-23 11:54 king * Source/: cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h: ENH: Added support for UNIX compilers. GCC and MIPSpro are supported. 2001-07-23 11:53 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added support for non-verbose mode output from running a command. This can be used when it is expected that the command may fail. 2001-07-23 11:07 king * Source/: cmCommands.cxx, cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h: ENH: Added CONFIGURE_GCCXML command to do hard work of configuring GCCXML's flags for the current compiler. Currently only implemented correctly for Visual C++ in Windows. 2001-07-23 11:06 king * Modules/FindGCCXML.cmake: ENH: Module to find and configure GCCXML and GCCXML_FLAGS. 2001-07-20 11:41 millerjv * Modules/Dart.cmake: ENH: Added Purify targets 2001-07-20 09:20 millerjv * Modules/Dart.cmake: ENH: Added purify command. 2001-07-20 04:56 scottim * Templates/DLLHeader.dsptemplate: adding what I think is a missing /pdbtype:sept 2001-07-18 16:45 martink * Source/cmMakefile.h: updated version 2001-07-18 11:40 martink * Source/cmSystemTools.cxx: limit library search to appropriate extensions 2001-07-18 10:17 hoffman * Modules/Dart.cmake: BUG: enable testing even if not tcl found 2001-07-17 15:41 king * Source/cmCableWrapTclCommand.cxx: ENH: Added generation of dependencies on the CMake-generated input to gcc-xml so that re-generation of wrappers will occur if a header changes. 2001-07-17 15:41 king * Source/cmMakeDepend.cxx: BUG: Need to expand variables in search paths in case it hasn't been done yet by the makefile. 2001-07-17 15:09 king * Source/: cmMakeDepend.cxx, cmMakeDepend.h, cmOutputRequiredFilesCommand.cxx, cmUnixMakefileGenerator.cxx: ENH: Hacked together a new implementation of the dependency generator code. This should support finding dependencies for individual files without doing them for the entire makefile. Use cmMakeDepend::FindDependencies() to do this. 2001-07-17 09:54 king * Modules/CMakeLists.txt, Modules/FindDart.cmake, Modules/FindJNI.cmake, Modules/FindPythonLibs.cmake, Modules/FindTCL.cmake, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Templates/configure, Templates/configure.in: ENH: Added support for using backslash-style escaping in CMakeLists.txt file arguments. This allows double quotes to be used in arguments. 2001-07-16 18:40 perera * Source/: cmAuxSourceDirectoryCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx, cmSourceFilesRemoveCommand.cxx, cmTarget.cxx: ENH: Source and header file extensions are in variables in cmMakefile. AUX_SOURCE_DIRECTORY will only add files that have a "source" extension. 2001-07-16 15:19 ibanez * Modules/: FindGLU.cmake, FindGLUT.cmake: Search path for OpenGL related libraries 2001-07-16 10:17 hoffman * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in: ENH: add a variable for CMAKE_COMPILER_IS_GNUCXX 2001-07-16 10:14 hoffman * Source/: cmMakefile.cxx, cmSourceFile.cxx: ENH: add support for mac osx 2001-07-15 21:10 barre * Modules/FindPythonLibs.cmake: update include/lib path to Python (Linux) 2001-07-11 13:30 martink * Source/: cmMakefile.h: version num 2001-07-11 12:12 hoffman * Source/cmSystemTools.cxx: BUG: make sure find program does not find directories 2001-07-10 17:13 hoffman * Source/: cmIncludeCommand.cxx, cmLoadCacheCommand.cxx: BUG: remove iostream.h includes 2001-07-10 16:20 berk * Source/cmUnixMakefileGenerator.cxx: Unnecessary variable 2001-07-10 16:20 berk * Source/cmMakefile.cxx: Better error checking. 2001-07-10 14:29 hoffman * Templates/: configure, configure.in: BUG: fix excape of * for cmake 2001-07-10 13:57 king * Source/cmUnixMakefileGenerator.cxx: BUG: When splitting a full path library into separate -L and -l parts, the -l part may not have a "lib" prefix on cygwin. 2001-07-10 12:09 king * Source/cmake.cxx: ENH: Removing automatic setting of BUILD_SHARED_LIBS. Projects that support this should explicitly declare it with the OPTION command, or set its libraries to shared or static directly on each ADD_LIBRARY command. 2001-07-10 11:56 berk * Modules/Dart.cmake: Checking if tclshcommand is defined before running it. 2001-07-10 11:46 king * Source/cmUnixMakefileGenerator.cxx: ENH: Added -D(library_name)_EXPORTS to build rules for sources that are going to be linked into a shared library. This allows dllexport setup for DLL building on cygwin. It may also come in handy in unix in the future. This corresponds to the same definition added by the dll dsp template in windows. 2001-07-10 09:23 martink * Source/cmBuildNameCommand.cxx: changes to better handle old values or hand set values 2001-07-09 12:46 nobody * DartConfig.cmake: Disabled doxygen and gnats 2001-07-08 17:54 perera * Source/cmUnixMakefileGenerator.cxx: BUG: library extension goes after library name, not before 2001-07-06 14:41 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: some clean up, and better checking to see if we are building cmake 2001-07-06 14:11 hoffman * configure, configure.in: ENH: run make depend 2001-07-06 12:46 will * Source/cmCommand.h: ERR:Spelling mistake 2001-07-06 09:22 king * Source/cmStandardIncludes.h: ENH: Warning 4503 disable for MSVC. 2001-07-05 18:15 hoffman * Templates/: configure, configure.in: BUG: fix flags for cygwin and shared builds 2001-07-05 17:52 hoffman * Source/cmSystemTools.cxx: ENH: add better error output 2001-07-05 12:03 hoffman * Source/cmUnixMakefileGenerator.cxx, Templates/configure, Templates/configure.in: BUG: fix solaris problems in install and ar 2001-07-03 10:53 king * Source/cmCableWrapTclCommand.cxx: ENH: Removed -fsyntax-only flag from call to gcc-xml. It should be part of GCCXML_FLAGS. 2001-07-03 05:27 scottim * Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/UtilityHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: Renamed the ReleaseWithDebugInfo Build configuration to RelWithDebInfo, because msdev does simple matching on build target, and specifying either Release or Debug builds would also build ReleaseWithDebugInfo 2001-07-02 16:52 king * Source/cmUnixMakefileGenerator.cxx: BUG: When outputting relative path of .o, the relative path of the source file must also be written (not full path). 2001-07-02 16:30 millerjv * Source/cmBuildNameCommand.cxx: FIX: BuildName removes path to compiler and converts any illegal characters 2001-07-02 15:57 king * Source/: cmCommands.cxx, cmBuildSharedLibrariesCommand.cxx, cmBuildSharedLibrariesCommand.h: ENH: Removed deprecated command completely. 2001-07-02 15:38 king * Source/: cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWWriter.cxx, cmMakefile.cxx, cmMakefile.h, cmTarget.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: Added support for selection of static/shared build on a per-library basis. 2001-07-02 14:38 martink * Source/cmake.cxx: better arg support 2001-07-02 14:03 berk * Source/: cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: Should not be inherited. 2001-07-02 14:03 berk * Source/: cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: Better error checking. 2001-07-02 14:02 berk * Source/cmConfigureFileCommand.cxx: Wrong place for fout 2001-06-29 16:46 martink * Source/cmConfigureFileCommand.cxx: better configure file command 2001-06-29 16:06 nobody * CMakeLists.txt: added logo 2001-06-29 09:53 martink * Source/cmaketest.cxx: minor compile fix 2001-06-29 09:30 hoffman * Source/cmUnixMakefileGenerator.cxx, Templates/CMakeSystemConfig.cmake.in, Templates/configure, Templates/configure.in: BUG: break up CMAKE_AR into program and ARGS 2001-06-28 17:45 hoffman * configure, configure.in, Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx, Templates/configure, Templates/configure.in: ENH: various fixes to allow bootstrap on sunos with CC 2001-06-28 16:45 hoffman * Source/cmEnableTestingCommand.cxx: fixed Dart issue 2001-06-28 15:27 hoffman * Templates/CMakeSystemConfig.cmake.in: set values in the cache not just the current makefile 2001-06-28 15:08 berk * Source/cmUnixMakefileGenerator.cxx: Special rules for out-of-package source files. 2001-06-28 14:38 hoffman * Templates/: configure, configure.in: BUG: pass flags to compiler during configure 2001-06-28 14:27 hoffman * Templates/: configure, configure.in: BUG: pass flags to compiler during configure 2001-06-28 14:01 hoffman * Source/cmSourceFilesCommand.cxx: BUG: find files in subdirectories 2001-06-28 11:42 hoffman * Source/cmStandardIncludes.h: fix for scope on hp 2001-06-28 11:40 hoffman * Source/cmSystemTools.cxx: BUG: check size of path error, HP gcount problem 2001-06-27 17:19 berk * Source/cmSourceFilesCommand.cxx: Added variable expansion. 2001-06-27 16:18 martink * Source/cmMakefile.h: updated version to 0.3 2001-06-27 16:17 martink * Source/cmMakefile.h: updated version to 0.2 2001-06-27 16:14 martink * Source/cmUnixMakefileGenerator.cxx: ENH: fix install when executable and lib path set 2001-06-27 15:42 hoffman * configure, configure.in, Source/CMakeLists.txt, Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmake.cxx, Templates/install-sh: ENH: fix install for cygwin, build cmake from configure 2001-06-27 15:13 king * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: BUG: Check for building shared libraries should read from the make file's setting, not directly from the cache. 2001-06-27 15:09 king * Source/cmDSPWriter.cxx: BUG: Check for building shared libraries should read from makefile's setting, not directly from the cache. 2001-06-27 13:16 martink * CMake.rtf: updated for 0.2 2001-06-27 13:12 martink * Source/: cmLinkLibrariesCommand.h, cmSubdirCommand.h: documentation change 2001-06-27 12:09 perera * Source/cmUnixMakefileGenerator.cxx: ENH: Use ${MAKE} instead of make for dependent library rules 2001-06-27 11:49 martink * Source/cmCommands.cxx: alphabetized 2001-06-27 11:35 martink * Source/cmake.cxx: added help options 2001-06-27 09:17 martink * Source/: cmSystemTools.cxx, cmaketest.cxx, cmaketest.h.in: minor fixes to testing 2001-06-27 09:16 martink * Source/CMakeLists.txt: mod to the testing 2001-06-27 09:16 martink * CMakeLists.txt: added dependencies for testing 2001-06-26 16:19 hoffman * Source/cmake.dsp: BUG: change to dos mode 2001-06-26 13:41 martink * Modules/Dart.cmake: update for CMake changes 2001-06-26 13:23 martink * Source/: CMakeLists.txt, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmBuildCommand.cxx: modified how paths are escaped, added depends 2001-06-26 10:01 martink * Source/: cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h, cmCommands.cxx: added add dependencies command 2001-06-25 13:34 millerjv * Source/: cmBuildNameCommand.cxx, cmSiteNameCommand.cxx: FIX: added AddDefinition() to store site name and build name in makefile. Also stripped white space from the result of hostname. 2001-06-25 10:59 martink * CMakeLists.txt: made cmake write its execs into CMake/Source 2001-06-22 14:53 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: shared libraries should not depend on other shared libraries, they get relinked too often. 2001-06-22 14:53 hoffman * Source/cmMakefile.cxx: ENH: put back stdio.h to get sprintf 2001-06-22 14:23 biddi * Source/cmCommands.cxx: ERR: Serious problems with my CVS. How did this get committed? 2001-06-22 12:19 king * Source/cmSystemTools.cxx: BUG: Wrote correct implementation of cmCopyFile. 2001-06-22 12:18 king * Source/cmake.cxx: BUG: Fixed generation of cMakeRoot in one case. 2001-06-22 12:18 king * Source/cmStandardIncludes.h: ENH: Added string.h include. 2001-06-22 12:17 king * Source/cmMakefile.cxx: ERR: Removed stray standard header include. They should be added to cmStandardIncludes.h 2001-06-22 12:17 king * Source/cmIncludeCommand.cxx: BUG: Added missing newline in error message. 2001-06-22 11:32 martink * Source/cmMakefile.cxx: removed stricmp 2001-06-22 11:28 martink * Source/CMakeLists.txt: escape quotes on cmaketest.h.in 2001-06-22 11:15 martink * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h: added escape quotes option 2001-06-22 11:14 martink * Source/: cmMakefile.cxx, cmMakefile.h: added escape quotes option in replace strings 2001-06-22 10:21 martink * Source/: cmSystemTools.cxx, cmSystemTools.h: added escape quote method 2001-06-22 09:58 biddi * Source/: cmCommands.cxx, cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h: ENH: Added new command SOURCE_FILES_REMOVE which can be used to take files out of the build. Especially useful when certain compilers choke on the odd file. 2001-06-22 09:47 biddi * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Added RemoveSource(...) to complement AddSource. New command SOURCE_FILES_REMOVE uses it and can be used to take files out of the build 2001-06-22 09:27 martink * Source/cmaketest.cxx: namespace issues 2001-06-21 17:55 hoffman * Source/cmDSWWriter.cxx: allow no name project 2001-06-21 17:53 martink * Source/CMakeLists.txt: better testing 2001-06-21 17:53 martink * Source/: cmSystemTools.cxx, cmSystemTools.h: adde changeDirectory 2001-06-21 17:52 martink * Source/: cmaketest.cxx, cmaketest.h.in: new test driver 2001-06-21 17:52 martink * Tests/Simple/: CMakeLists.txt, simple.cxx: new tests 2001-06-21 17:41 hoffman * Source/cmake.cxx: BUG: fix for unix 2001-06-21 17:25 hoffman * Source/cmake.cxx: ENH: clean up 2001-06-21 17:20 hoffman * Source/cmake.cxx: ENH: look in the PREFIX dir for the modules 2001-06-21 16:34 hoffman * Source/: cmConfigure.cmake.h.in, cmake.cxx: ENH: better ability to find cmake program 2001-06-21 15:57 martink * Templates/CMakeLists.txt: minor install fix 2001-06-21 15:54 martink * Source/cmUnixMakefileGenerator.cxx: better permission handling 2001-06-21 15:02 king * Source/: cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx: ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about missing dependencies. 2001-06-21 15:02 king * Source/CMakeLists.txt: ENH: Added BUILD_FLTK_GUI option (defaults to ON). 2001-06-21 13:48 hoffman * Source/: CMakeLists.txt, cmSourceFile.cxx, cmStandardIncludes.h: BUG: fix bootstrap build on unix 2001-06-21 12:31 hoffman * CMakeLists.txt: ENH: add include regexp 2001-06-21 12:01 martink * CMakeLists.txt, Makefile.in, configure, configure.in, install-sh, Modules/CMakeLists.txt, Source/cmInstallFilesCommand.cxx, Source/cmInstallFilesCommand.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmake.cxx, Templates/CMakeLists.txt, Templates/install-sh: better install support 2001-06-21 10:58 hoffman * Templates/CMakeSystemConfig.cmake.in: BUG: remove quotes 2001-06-21 10:36 hoffman * Source/: cmIncludeCommand.cxx, cmIncludeCommand.h: ENH: add optional include and only allow one file per INCLUDE 2001-06-20 16:49 hoffman * Source/CMakeLists.txt, Source/cmDSPWriter.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: ENH: boot strap mfc gui and support for MFC 2001-06-20 13:56 hoffman * Source/CMakeLists.txt, Source/cmConfigure.cmake.h.in, Source/cmSourceFile.cxx, Source/cmStandardIncludes.h, Source/cmake.cxx, Templates/CMakeSystemConfig.cmake.in, Templates/configure, Templates/configure.in: ENH: fix cmake so it can boot strap itself better 2001-06-19 16:29 hoffman * Modules/FindFLTK.cmake: [no log message] 2001-06-19 16:10 hoffman * Source/CMakeLists.txt: ENH: build fltk cmake on unix with bootstrap 2001-06-19 16:05 king * Makefile.in: BUG: Exectuable installation must set permissions to 755 in case installer has a umask like 007. 2001-06-19 15:50 king * Source/: cmBuildSharedLibrariesCommand.cxx, cmake.cxx: ENH: CMake now always adds the BUILD_SHARED_LIBS cache entry. The BUILD_SHARED_LIBRARIES command that used to be used is now deprecated. 2001-06-19 15:33 hoffman * Source/CMakeLists.txt: ENH: add bootstrap support for building fltk 2001-06-19 12:03 king * Source/: cmCableCloseNamespaceCommand.cxx, cmCableCloseNamespaceCommand.h, cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx, cmCableData.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCableOpenNamespaceCommand.cxx, cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx, cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx, cmCableWrapCommand.h, cmCommands.cxx: ENH: Removing old-style cable commands related to the instantiation functionality which has now been removed from cable. 2001-06-19 12:01 king * Source/cmOutputRequiredFilesCommand.cxx: ERR: Removed unused variable. 2001-06-19 07:41 millerjv * Source/: cmAddTestCommand.cxx, cmEnableTestingCommand.cxx: ENH: Changed generated filename to DartTestfile.txt 2001-06-18 17:26 hoffman * Source/cmSystemTools.cxx: BUG: use pclose not fclose 2001-06-18 16:54 perera * Source/cmLinkLibrariesCommand.cxx: ENH: LINK_LIBRARIES(abc) will automatically add the path to abc to the link directories, if the path is known. 2001-06-18 15:35 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: remove unused 2001-06-18 15:32 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: create directories in the right place 2001-06-18 15:31 hoffman * Source/cmake.cxx: ENH: move EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH initial creation to after the CMakeLists.txt files have been parsed 2001-06-18 13:16 martink * Modules/Dart.cmake: out of source dart support 2001-06-15 17:57 hoffman * Source/cmUnixMakefileGenerator.cxx: ENH: do not add anything from the current directory to the depends 2001-06-15 10:35 perera * Source/cmUnixMakefileGenerator.cxx: BUG: fixed so that empty library paths are ignored 2001-06-14 17:06 biddi * Source/cmSourceFile.cxx: ERR: allow *.cpp as well as *.cxx etc etc 2001-06-14 11:45 martink * Source/CMakeLib.dsp: added make depend on win32 2001-06-14 10:19 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: fix it so that if a Makefile is out of date for some reason, it is only built once, it was doing it twice. 2001-06-14 09:10 martink * CMakeLists.txt, DartConfig.cmake: modified testing 2001-06-13 17:50 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: fix so it does not jump into the current directory for inital target builds 2001-06-13 17:03 hoffman * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmake.cxx: ENH: fix EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for unix 2001-06-13 16:15 martink * Modules/FindDart.cmake: used to find the dart testing system 2001-06-13 14:49 martink * CMakeLists.txt: minor dart change 2001-06-13 13:53 martink * Source/: cmTarget.cxx, cmTarget.h: duh 2001-06-13 13:49 martink * CMakeLists.txt, Source/cmTarget.cxx, Source/cmTarget.h: minor cvs web changeCMakeLists.txt 2001-06-12 14:15 perera * Source/cmUnixMakefileGenerator.cxx, Templates/configure, Templates/configure.in: BUG: SHLIB_LINK was being used when linking static executables. Missing comma in RUNTIME_FLAG for IRIX. ENH: User supplied SHLIB_CFLAGS (-fPIC, etc) will override configure detected flags 2001-06-12 13:30 martink * CMakeLists.txt, Source/CMakeLists.txt: support testing 2001-06-12 12:22 king * Source/cmUnixMakefileGenerator.cxx: BUG: CMake's configure needs to run with the current directory as the project's binary directory. 2001-06-12 11:55 martink * Source/: cmakemain.cxx: cmake does not require two arguments 2001-06-12 11:12 martink * Source/cmCommands.cxx: removed old added new 2001-06-12 11:08 martink * Source/cmCommands.cxx: removed old added new 2001-06-12 11:08 martink * Source/: cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h: added new command 2001-06-12 11:08 martink * Source/: cmConfigureFileNoAutoconf.cxx, cmConfigureFileNoAutoconf.h, cmTestsCommand.cxx, cmTestsCommand.h: removed old commands 2001-06-12 10:59 king * Source/: cmMakeDepend.cxx, cmUnixMakefileGenerator.cxx: BUG: Dependency hints must be removed by the makefile generator before adding the dependencies generated by cmMakeDepend. 2001-06-12 10:45 perera * Source/cmUnixMakefileGenerator.cxx: BUG: There was no dependency for library targets on their required libraries. (Hopefully there aren't any cyclic dependencies for libraries.) CMAKE_SHLIB_LINK is now used for executable targets. 2001-06-12 09:00 martink * Source/: cmMakeDepend.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmMakeDepend.cxx: some cleanup to the make depend process 2001-06-12 08:31 king * Source/cmUnixMakefileGenerator.cxx: BUG: WIN32_EXECUTABLE targets were not being installed on unix properly. They are supposed to be treated just like any other EXECUTABLE target. 2001-06-12 08:30 king * Source/cmake.cxx: ERR: int -> unsigned int. 2001-06-11 21:50 ibanez * Modules/FindFLTK.cmake: ENH: Added the path used in SuSe Linux 7.1 2001-06-11 19:14 millerjv * Modules/Dart.cmake: Modified for new Dart source tree 2001-06-11 18:00 martink * Source/cmake.cxx: minor fix in error checking 2001-06-11 17:09 king * Modules/FindTCL.cmake: ENH: Added check for tcl8.4 (as against tcl84), tcl8.3, tcl8.2, and tcl8.0 when finding the TCL_LIBRARY. 2001-06-11 16:47 martink * Source/cmMakefile.h: added some const versions of get methods 2001-06-11 15:31 millerjv * Modules/Testing.cmake: Changed Testing.cmake to Dart.cmake 2001-06-11 15:28 millerjv * Modules/Dart.cmake: Rename Testing.cmake to Dart.cmake 2001-06-11 10:18 king * Source/cmSystemTools.cxx: BUG: Fixed regular expression used to match registry entries. The expression now matches everything after a [HKEY until the first ']' is encountered. 2001-06-10 18:27 ibanez * Source/cmSystemTools.cxx: DOC: Added a comment about the risk of using tempnam in Unix, as opposed to using mkstemp. 2001-06-09 20:54 king * Source/cmCableWrapTclCommand.cxx: BUG: Changed custom command generation to not use full path of output file from cable. 2001-06-08 14:40 king * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH: Added proper request for/generation of CABLE, GCCXML, and GCCXML_FLAGS cache entries. This also allowed the correct generation of gccxml rules. 2001-06-08 14:38 king * Source/cmDSPWriter.cxx: BUG: Removed generation of stray # Begin Custom Build line. 2001-06-08 00:18 perera * Source/cmUnixMakefileGenerator.cxx, Templates/CMakeSystemConfig.cmake.in, Templates/configure, Templates/configure.in: ENH: Runtime library search paths can be added to the link lines for on shared builds. 2001-06-07 16:48 martink * CMake.pdf.gz: replaced with pdf version 2001-06-07 16:45 will * CMake.pdf: updated docs 2001-06-07 16:34 martink * CMake.doc.gz: checked in rtf version 2001-06-07 16:24 martink * CMake.rtf: updated docs 2001-06-07 14:52 hoffman * Source/cmAddTestCommand.cxx, Source/cmCablePackageCommand.cxx, Source/cmCableWrapTclCommand.cxx, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmDSWWriter.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSystemTools.h, Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx, Source/cmUtilitySourceCommand.cxx, Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapPythonCommand.cxx, Source/cmVTKWrapTclCommand.cxx, Source/cmake.cxx, Templates/CMakeWindowsSystemConfig.cmake: ENH: move utilities to targets from makefile, and add versioning to cache 2001-06-07 12:22 king * Source/cmEnableTestingCommand.cxx: BUG: ENABLE_TESTING command may need to create output directory before writing the CMakeTestfile into it since it is invoked before the makefile generator runs. 2001-06-07 11:36 scottim * Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/UtilityHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: adding a "Release with debugging Info" build to CMake for NT 2001-06-07 10:16 king * Source/cmCableWrapTclCommand.cxx: ERR: Fixed generation of source name and directory for cmSourceFiles of generated Tcl wrapper files. Changed extension of generated gcc-xml input c++ file to be .cc so that GCC will recognize it, but MsDev will still allow a custom command on it. 2001-06-07 08:50 millerjv * Source/cmConfigureFileNoAutoconf.cxx: FIX: Chaned error message to match command 2001-06-06 16:45 king * Source/cmCableWrapTclCommand.cxx: ENH: Changed generation of gccxml command to write out define and include flags explicitly instead of using CMAKE_CXX_FLAGS and INCLUDE_FLAGS variables. This should help it run when gccxml is not the compiler that will build the generated wrappers. 2001-06-06 16:14 millerjv * Source/cmAddTestCommand.cxx: FIX: InitialPass() seg fault on std::copy and FinalPass() was not appending to the file 2001-06-06 13:58 martink * Source/: cmAddTestCommand.cxx, cmAddTestCommand.h, cmCommands.cxx, cmConfigureFileNoAutoconf.cxx, cmEnableTestingCommand.cxx, cmEnableTestingCommand.h, cmMakefile.cxx, cmMakefile.h, cmTestsCommand.cxx: added enable testing deprecated some commands 2001-06-06 13:55 hoffman * Source/CMakeLib.dsp: [no log message] 2001-06-06 13:48 hoffman * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWMakefile.h, cmDSWWriter.cxx, cmDSWWriter.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h: ENH: rename DSWMakefile and DSPMakefile to DSWWriter and DSPWriter 2001-06-06 13:19 hoffman * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h, cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddTestCommand.cxx, cmAddTestCommand.h, cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h, cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmBuildSharedLibrariesCommand.cxx, cmBuildSharedLibrariesCommand.h, cmCableClassSetCommand.cxx, cmCableClassSetCommand.h, cmCableCloseNamespaceCommand.cxx, cmCableCloseNamespaceCommand.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableOpenNamespaceCommand.cxx, cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx, cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h, cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h, cmCommand.h, cmConfigureFileCommand.cxx, cmConfigureFileCommand.h, cmConfigureFileNoAutoconf.cxx, cmConfigureFileNoAutoconf.h, cmElseCommand.cxx, cmElseCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmExecProgramCommand.cxx, cmExecProgramCommand.h, cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx, cmIncludeCommand.h, cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h, cmLibraryCommand.h, cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h, cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMessageCommand.cxx, cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h, cmProjectCommand.cxx, cmProjectCommand.h, cmSetCommand.cxx, cmSetCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmSubdirCommand.cxx, cmSubdirCommand.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmTestsCommand.cxx, cmTestsCommand.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h, cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h: ENH: rename Invoke to InitialPass 2001-06-06 11:02 millerjv * Source/cmMakefile.cxx: Change name of file created from Testfile to CMakeTestfile.txt 2001-06-06 09:44 martink * Source/cmSystemTools.cxx: better regexp for reg entries 2001-06-06 09:43 martink * Modules/FindJNI.cmake: better tests 2001-06-06 07:47 millerjv * Source/cmMakefile.cxx: FIX: forgot to close the files 2001-06-05 22:54 perera * Source/cmUnixMakefileGenerator.cxx: ENH: Compress the library search directories so that each appears only once. 2001-06-05 20:34 millerjv * Source/cmCommands.cxx: ENH: Added AddTest command 2001-06-05 20:34 millerjv * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Added AddTest, and GenerateTestfile routines 2001-06-05 20:32 millerjv * Source/: cmAddTestCommand.cxx, cmAddTestCommand.h: New cmake command to specify a single test 2001-06-05 17:46 berk * Source/cmVTKWrapPythonCommand.cxx: Module name between Unix and Windows got switched by mistake. 2001-06-05 17:41 biddi * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Some tweaks, hacks and #ifdefs required to compile cmake on Borland C++Builder 2001-06-05 15:48 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: fix EXE and LIB path problems 2001-06-04 18:24 hoffman * Source/: cmDSWMakefile.cxx, cmDSWWriter.cxx: STYLE: line too long 2001-06-04 18:24 hoffman * Source/cmMessageCommand.cxx: ENH: print all arguments 2001-06-04 18:23 hoffman * Source/cmSetCommand.cxx: ENH: add better error checking 2001-06-04 17:17 martink * Source/: cmFindIncludeCommand.cxx, cmFindIncludeCommand.h: removed find include command 2001-06-04 17:16 martink * Source/cmCommands.cxx: removed find include command finally added message 2001-06-04 16:55 martink * Source/: cmSystemTools.cxx, cmSystemTools.h: new message command 2001-06-04 16:55 martink * Source/: cmMessageCommand.cxx, cmMessageCommand.h: new command 2001-06-04 16:45 martink * Source/cmVTKWrapPythonCommand.cxx: unused variable 2001-06-04 15:46 barre * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate, staticLibHeader.dsptemplate: the "Release" target is not the default. 2001-06-04 11:34 hoffman * Source/: cmGeneratedFileStream.h, cmUnixMakefileGenerator.cxx: ENH: try to better handle control-c during make Makefiles 2001-06-04 10:18 hoffman * Source/: cmCacheManager.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmFunctionBlocker.h, cmMSProjectGenerator.cxx, cmMakefile.cxx, cmMakefileGenerator.h: BUG: clean up memory leaks. 2001-06-01 13:54 martink * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: fix for network includ paths 2001-06-01 13:29 berk * Source/cmVTKWrapPythonCommand.cxx: Fixing the module name for Unix. 2001-05-31 15:48 hoffman * Source/cmake.cxx: BUG: fix edit of directories 2001-05-31 14:15 berk * Source/cmVTKWrapPythonCommand.cxx: Should not use decl if not on Windows. 2001-05-30 15:56 hoffman * Source/cmakemain.cxx: BUG: add missing file 2001-05-30 15:28 hoffman * Source/: CMakeLib.dsp, Makefile.in, cmMSProjectGenerator.cxx, cmake.cxx, cmake.dsp, cmake.h: ENH: change MFC gui to use cmake class 2001-05-29 14:16 perera * Source/cmUnixMakefileGenerator.cxx: BUG: Now only one makefile rule is generated per depenency. This eliminates a number of warnings. 2001-05-25 17:19 geoff * Source/cmSetCommand.cxx: bug meaning that set(a b) just set a to "" and not to b 2001-05-25 15:33 king * Source/cmSystemTools.cxx: BUG: Fixed stupid error in the hack I just checked in. 2001-05-25 15:32 king * Source/cmUnixMakefileGenerator.cxx: BUG: WIN32 executable target rules are now generated in unix the same as any other executable (instead of not at all). 2001-05-25 15:27 barre * Templates/CMakeWindowsSystemConfig.cmake: better help 2001-05-25 14:31 king * Source/cmSystemTools.cxx: BUG: Added hack to cmSystemTools::GetPath to make its algorithm correctly parse off the last entry of the system PATH environment variable. 2001-05-25 14:27 king * Source/cmUnixMakefileGenerator.cxx: BUG: Fixed logic that splits a full path library link into the -L and -l pieces to not write out a -l by itself if the file regular expression does not match. 2001-05-25 07:31 millerjv * Modules/Testing.cmake: BUG: missing quote on a custom command 2001-05-24 21:17 barre * Source/: cmSystemTools.cxx, cmSystemTools.h: New functions used to extract the components of a full filename. 2001-05-24 21:14 barre * Source/cmFindPathCommand.cxx: The path found is now collapsed (cleaner). 2001-05-24 21:13 barre * Source/: cmGetFilenameComponentCommand.cxx, cmGetFilenameComponentCommand.h, cmCommands.cxx: Welcome to cmGetFilenameComponentCommand ("Get a specific component of a full filename") 2001-05-24 21:12 barre * Source/CMakeLib.dsp: Welcome to cmGetFilenameComponentCommand 2001-05-24 21:11 barre * Modules/FindTCL.cmake: Try to find tclsh or wish and use that path to find the include or lib directory. TK_INTERNAL_PATH is searched too (path to tkWinInt.h) 2001-05-24 19:17 barre * Source/cmSystemTools.cxx: optimize ConvertToUnixSlashes a little bit, and use it in MakeDirectory (code was duplicated) 2001-05-24 17:51 king * Templates/CMakeSystemConfig.cmake.in: ERR: VAR type entry missing after CACHE for CMAKE_TEMPLATE_FLAGS. 2001-05-24 14:59 barre * Source/: cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h: updated to handle Tk commands compiled/linked separately. Useful for VTK Tk widgets for example. 2001-05-24 13:45 millerjv * Modules/Testing.cmake: Project independent setting for testing 2001-05-24 13:40 barre * Source/: cmSystemTools.cxx, cmSystemTools.h: new Capitalized function. Will be used in the VTK Tcl wrapper for example (in a more portable way). 2001-05-24 12:57 hoffman * Modules/FindOpenGL.cmake, Source/cmSetCommand.cxx, Source/cmSetCommand.h, Templates/CMakeSystemConfig.cmake.in, Templates/CMakeWindowsSystemConfig.cmake: ENH: change the syntax of the SET command, fix the combo box for larger strings 2001-05-24 11:47 martink * Source/: cmMakefile.h, cmake.cxx: added version number 2001-05-24 10:32 barre * Templates/DLLHeader.dsptemplate: removed hardcoded VTKDLL 2001-05-24 10:00 barre * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, staticLibHeader.dsptemplate: slight change in the order of the options (right-most takes precedence) 2001-05-23 20:16 millerjv * Source/cmBuildCommand.cxx: Changed Windows build command to build Release 2001-05-23 18:31 barre * Templates/DLLHeader.dsptemplate: Intermediate Dir was wrong 2001-05-23 18:22 barre * Templates/CMakeWindowsSystemConfig.cmake: /Gz => /GZ 2001-05-23 18:19 barre * Templates/CMakeWindowsSystemConfig.cmake: removed /O2 from debug 2001-05-23 17:19 hoffman * Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: ENH: create CMAKE_CXX_FLAGS_[Buildtype] flags 2001-05-23 16:31 martink * Source/cmMSProjectGenerator.cxx: bug finding windows template file 2001-05-23 16:28 martink * Source/: cmSystemTools.cxx, cmake.cxx: command line fixes for win32 2001-05-23 16:09 barre * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate, staticLibHeader.dsptemplate: ReleaseMinSize => MinSizeRel 2001-05-23 15:53 hoffman * Templates/DLLHeader.dsptemplate: BUG: remove vtkCommon 2001-05-23 15:49 martink * Source/cmake.cxx: fixed quoted cmake 2001-05-23 14:44 hoffman * Source/cmSystemTools.cxx: ENH: add better error message 2001-05-23 14:33 geoff * Source/cmake.dsp: DSPs have to be binary 2001-05-23 14:05 hoffman * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate, staticLibHeader.dsptemplate: ENH: change Release Minsize to MinSizeRel, add MinSizeRel to dll template 2001-05-23 13:16 king * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: Added INSTALL target to switch in OutputDSPFile. Also added a default that prints out an error message so that anyone who adds a target doesn't forget to update the switch. 2001-05-23 12:02 martink * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx: install fixes for win32 2001-05-23 11:53 martink * Source/: cmMakefile.cxx, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: added install target support 2001-05-23 11:34 ibanez * Modules/FindVTK.cmake: Module to search for VTK include and library paths 2001-05-23 11:29 martink * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h, cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h, cmCommands.cxx, cmTarget.cxx, cmTarget.h: added install rules 2001-05-23 11:27 martink * Templates/CMakeSystemConfig.cmake.in: added prefix to config 2001-05-23 10:47 hoffman * Source/cmGeneratedFileStream.h: BUG: remove warning 2001-05-23 10:47 hoffman * Source/cmake.dsp: BUG: fix output directory 2001-05-23 10:01 martink * Source/cmProjectCommand.cxx: added PROJECT_SOURCE_DIR 2001-05-23 09:35 hoffman * Source/cmTarget.cxx: ENH: allow duplicate libraries 2001-05-22 20:45 barre * Templates/UtilityHeader.dsptemplate: Template now uses EXECUTABLE_OUTPUT_PATH too. 2001-05-22 20:44 barre * Templates/EXEWinHeader.dsptemplate: PROP BASE and PROP were inverted 2001-05-22 20:36 barre * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: Seems to me that EXEWinHeader was not searched in the right place. 2001-05-22 17:49 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: do not include /usr/lib in -L 2001-05-22 13:52 hoffman * Source/Makefile.in: fix CXXFLAGS 2001-05-22 13:42 hoffman * Source/Makefile.in: [no log message] 2001-05-22 13:40 hoffman * configure, configure.in: use cxxflags in test builds 2001-05-22 13:22 hoffman * Source/Makefile.in, Source/cmUnixMakefileGenerator.cxx, Templates/configure, Templates/configure.in: BUG: fix depends and CXXFLAGS passing 2001-05-22 12:38 barre * Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate, Templates/EXEWinHeader.dsptemplate, Templates/staticLibHeader.dsptemplate: fixed some of the LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH problems. 2001-05-22 11:15 martink * dummy.in: no longer used 2001-05-21 16:43 king * Makefile.in: ERR: Added missing @srcdir@ and modified install expressions to include *.cmake* files instead of just *.cmake files (for .in). 2001-05-21 16:21 king * Source/cmCableWrapTclCommand.cxx: ENH: Converted to new Class and Group tags in place of WrapperSet and Groups tags. 2001-05-21 16:10 hoffman * Source/cmUnixMakefileGenerator.cxx, Templates/CMakeSystemConfig.cmake.in: fix for hp x11 and gl 2001-05-21 15:16 hoffman * Modules/FindOpenGL.cmake, Source/cmSystemTools.cxx: fix opengl on hp 2001-05-21 14:17 hoffman * Source/cmake.cxx: BUG: remove declaration without variable 2001-05-21 14:01 hoffman * configure, configure.in, Source/Makefile.in, Source/cmBuildNameCommand.cxx, Source/cmUnixMakefileGenerator.cxx, Templates/CMakeSystemConfig.cmake.in: clean up for build on its own 2001-05-21 11:43 martink * Source/cmake.dsp: release fix 2001-05-21 11:34 martink * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx, CMakeSetupCMD.dsp: collapsed into cmake.cxx 2001-05-21 11:32 martink * Source/cmake.dsp: new dsp 2001-05-21 11:13 martink * Source/cmake.cxx: bug fix in finding CMAKE_ROOT 2001-05-21 11:10 martink * Makefile.in: added install target 2001-05-21 10:47 hoffman * Source/: cmBuildNameCommand.cxx, cmSetCommand.cxx: BUG: fix compiler name 2001-05-21 09:50 martink * Source/: CMakeSetup.dsw, cmake.cxx: updated for out of tree builds 2001-05-21 09:32 martink * Makefile.in, configure, configure.in, install-sh: out of place cmake 2001-05-21 09:32 martink * CMakeSystemConfig.cmake.in, configure.in.sample, Source/Makefile.in, Source/cmMakefile.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmake.cxx: new out of place builds 2001-05-21 09:31 martink * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in: new structure 2001-05-18 16:45 hoffman * CMakeSystemConfig.cmake.in, Source/cmUnixMakefileGenerator.cxx: ENH: add support for X11 2001-05-18 16:30 martink * Source/cmUnixMakefileGenerator.cxx: duh 2001-05-18 15:25 martink * Source/: cmake.cxx, cmake.h: new command 2001-05-18 15:23 martink * Source/cmSystemTools.h: minor whitespace change 2001-05-18 15:22 martink * Source/cmMSProjectGenerator.cxx: compiler fix 2001-05-18 15:20 martink * Source/: cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakefileGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: changes for cmake to live outside of the source tree 2001-05-18 13:04 hoffman * CMakeSystemConfig.cmake.in, Source/cmSetCommand.cxx: ENH: allow cache to override config file 2001-05-18 11:48 king * Source/cmUnixMakefileGenerator.cxx: BUG: fix link of executables 2001-05-18 11:12 martink * Source/cmMakefileGenerator.h: added SetLocal method 2001-05-18 11:09 martink * Source/: cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: added SetLocal method 2001-05-18 10:15 hoffman * CMakeSystemConfig.cmake.in, Source/cmUnixMakefileGenerator.cxx: BUG: quote the compiler and other options 2001-05-17 17:43 hoffman * Source/: CMakeBuildTargets.cxx, Makefile.in: compile source dir into cmake 2001-05-17 15:48 will * Source/cmSystemTools.cxx: ERR:Bad #ifdef's 2001-05-17 12:36 martink * Source/: DLLFooter.dsptemplate, DLLHeader.dsptemplate, EXEFooter.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, UtilityFooter.dsptemplate, UtilityHeader.dsptemplate, staticLibFooter.dsptemplate, staticLibHeader.dsptemplate: moved into Template directory 2001-05-17 12:25 martink * CMakeMakefileTemplate.in, CMakeMaster.make.in, CMakeRules.make.in, CMakeSimpleRules.make.in, CMakeTargets.make.in, CMakeTopMakefileTemplate.in, CMakeVariables.make.in, CMakeWindowsSystemConfig.cmake: no longer used 2001-05-17 12:14 martink * Source/CMakeBuildTargets.cxx: unix fix 2001-05-17 12:08 martink * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx, cmCablePackageCommand.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmMakefile.cxx, cmUnixMakefileGenerator.cxx: half checked in changes for CMAKE_ROOT 2001-05-17 12:04 martink * Templates/: CMakeWindowsSystemConfig.cmake, DLLFooter.dsptemplate, DLLHeader.dsptemplate, EXEFooter.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, UtilityFooter.dsptemplate, UtilityHeader.dsptemplate, staticLibFooter.dsptemplate, staticLibHeader.dsptemplate: new directory 2001-05-17 11:44 hoffman * Source/: cmCableWrapTclCommand.cxx, cmConfigure.h.in, cmGeneratedFileStream.h, cmStandardIncludes.h: BUG: fix to compile on hp with aCC 2001-05-17 11:22 king * Source/cmCableWrapTclCommand.cxx: Renamed gccxml input/output files to drop _tcl qualification. 2001-05-16 18:10 hoffman * CMakeSystemConfig.cmake.in: ENH: fix for sunCC 2001-05-16 18:08 hoffman * Source/: cmCacheManager.cxx, cmUnixMakefileGenerator.cxx: BUG: fix for sun compiler 2001-05-16 17:43 king * Source/: cmCableClassSet.cxx, cmCableClassSet.h: ERR: Removed use of member templates. 2001-05-16 17:18 king * Source/cmUnixMakefileGenerator.cxx: ERR: int -> unsigned int 2001-05-16 17:18 king * Source/cmGeneratedFileStream.h: ERR: const error fixed. 2001-05-16 17:11 king * Source/CMakeLib.dsp: ENH: Added cmCableClassSet.cxx to build. 2001-05-16 17:11 king * Source/cmGeneratedFileStream.h: ERR: Added is_open() check in cmGeneratedFileStream::operator bool() so that implicit conversion to bool is not used. 2001-05-16 17:11 king * Source/cmCableClassSet.cxx: ERR: Removed dynamic_cast so that RTTI isn't required. 2001-05-16 16:41 king * Source/: Makefile.in, cmCableClassSet.cxx, cmCableClassSet.h, cmCableClassSetCommand.cxx, cmCableClassSetCommand.h, cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h, cmCommands.cxx: ENH: Adding CABLE_CLASS_SET and CABLE_WRAP_TCL commands. They cannot yet be used with the main branch of CABLE, though. 2001-05-16 16:40 king * Source/cmGeneratedFileStream.h: ENH: cmGeneratedFileStream class added to simplify copy-if-different usage on generated files. 2001-05-16 15:43 hoffman * configure.in.sample: [no log message] 2001-05-16 15:15 hoffman * CMakeSystemConfig.cmake.in, Source/Makefile.in, Source/cmBuildNameCommand.cxx, Source/cmBuildSharedLibrariesCommand.cxx, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmProjectCommand.cxx, Source/cmSetCommand.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h: ENH: unify make process on unix 2001-05-16 09:19 king * Source/: cmData.h, cmMakefile.cxx, cmMakefile.h: ENH: Added cmData and corresponding DataMap in cmMakefile to allow commands to register arbitrary extra data with the makefile without modifying the cmMakefile class definition. 2001-05-15 13:14 martink * Source/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, EXEWinHeader.dsptemplate, cmDSPMakefile.cxx, cmDSPWriter.cxx, staticLibHeader.dsptemplate: added output directory support 2001-05-14 16:47 barre * Source/cmSystemTools.cxx: Changed separator between registry key and its value. Change regexp for registry key. 2001-05-14 16:46 barre * Modules/FindTCL.cmake: Changed separator between registry key and its value. 2001-05-14 10:36 hoffman * Source/cmSystemTools.cxx: ENH: put back lost changes from r1.38 2001-05-12 07:29 barre * Source/cmSystemTools.cxx: fix + => += bug reported by A. Perera 2001-05-11 17:22 barre * Source/cmSystemTools.cxx: Extended the registry key regexp 2001-05-11 17:11 barre * Modules/FindTCL.cmake: Add 8.4 and registry support 2001-05-11 17:11 barre * Source/cmSystemTools.cxx: Add support for a specific value name in a registry key 2001-05-11 14:49 geoff * Source/cmCacheManager.cxx: Cache file is a bit prettier 2001-05-11 14:39 hoffman * Source/: cmCableSourceFilesCommand.cxx, cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: fix find library for unix 2001-05-11 13:58 barre * Modules/FindPythonLibs.cmake: NAMES syntax 2001-05-11 13:52 martink * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: fix for expanding library vars 2001-05-11 12:30 barre * Source/cmFindLibraryCommand.cxx: Fix help string when NAMES was used (forgot the case when there is no name) 2001-05-11 12:13 barre * Source/cmFindLibraryCommand.cxx: Fix help string when NAMES was used 2001-05-11 11:45 king * Source/cmFindLibraryCommand.cxx: ERR: int -> unsigned int. 2001-05-11 11:39 hoffman * CMakeVariables.make.in, Source/cmFindLibraryCommand.cxx: BUG: add back thread library 2001-05-11 11:07 martink * Source/cmFindProgramCommand.cxx: expands reg values 2001-05-11 10:52 martink * Source/: EXEHeader.dsptemplate, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx, EXEWinHeader.dsptemplate: added registry entry support and windows app support 2001-05-11 10:27 martink * Modules/: FindJNI.cmake, FindPythonLibs.cmake: minor fixes and new python module 2001-05-10 17:22 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: fix up gui with values that stay around too long 2001-05-10 16:21 geoff * Source/cmMakefile.cxx: definitions should now be overwritten if they already exist 2001-05-10 15:50 hoffman * Source/cmSystemTools.cxx: BUG: fix unix path search 2001-05-10 15:32 martink * Source/cmTarget.cxx: fix for expaning libraries prior to generating dsp 2001-05-10 14:30 geoff * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: Reads and uses MSPROJECT_TEMPLATE_DIRECTORY if it exists 2001-05-10 14:02 king * CMake.doc: BUG: Removing this file. It has been replaced by CMake.doc.gz to get around a problem with CVS. 2001-05-10 13:52 martink * Source/cmTarget.h: added win32 executable option 2001-05-10 12:25 king * CMake.doc.gz: Testing strange cvs problem with .doc files. 2001-05-10 12:05 king * CMake.pdf, CMake.pdf.gz: BUG: Removing old CMake.pdf and adding the gzipped version, CMake.pdf.gz because of file size problems with cvs. 2001-05-10 11:20 king * Source/cmUnixMakefileGenerator.cxx: BUG: Removed stray debugging output statement. Also renamed some variables for clarity. 2001-05-10 11:19 king * Source/cmSystemTools.cxx: ERR: RunCommand method needed return in unix. 2001-05-10 11:18 king * Source/: cmFindLibraryCommand.cxx, cmFindProgramCommand.cxx: ERR: Removed unused variable 2001-05-10 09:45 king * CMakeVariables.make.in: BUG: ANSI_CFLAGS -> CMAKE_ANSI_CFLAGS 2001-05-09 18:00 geoff * Source/: EXEHeader.dsptemplate, cmDSPMakefile.cxx, cmDSPWriter.cxx: ADD LINK32s are now on multiple lines because VC breaks otherwise 2001-05-09 17:38 barre * Modules/FindTCL.cmake: ENH: add 8.3 support 2001-05-09 16:17 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: escape spaces before adding .lib 2001-05-09 16:08 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: escape spaces 2001-05-09 15:48 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: only add .lib if no .lib exists 2001-05-09 14:53 hoffman * Modules/FindFLTK.cmake, Modules/FindGTK.cmake, Modules/FindJNI.cmake, Modules/FindJPEG.cmake, Modules/FindMPI.cmake, Modules/FindTCL.cmake, Source/cmCommand.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h, Source/cmFindProgramCommand.cxx, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx: ENH: change find library and find program to look for more than one name 2001-05-09 13:44 hoffman * Source/cmCableDefineSetCommand.cxx: BUG: match called on invalid number 2001-05-09 13:22 martink * CMakeMaster.make.in, CMakeRules.make.in, CMakeSystemConfig.cmake.in, CMakeTopMakefileTemplate.in, CMakeVariables.make.in, configure.in.sample, Source/Makefile.in: cleaned up configure some 2001-05-09 11:15 millerjv * Source/cmCacheManager.cxx: FIX: only clear the cache on a load when the load needs to read internal values. Otherwise, it is assumed that we are reading another projects cache. 2001-05-09 09:52 hoffman * Source/cmConfigureFileCommand.cxx: BUG: fix use beyond end of array 2001-05-09 08:51 martink * Source/: cmCommands.cxx, cmLoadCacheCommand.cxx, cmLoadCacheCommand.h, cmSourceFile.cxx: added load cache command and fixed source file 2001-05-08 17:37 king * Source/cmCacheManager.cxx: ERR: LoadCache needed to return a value. 2001-05-08 17:04 martink * Source/: cmCacheManager.cxx, cmCacheManager.h: added ability to load another cache 2001-05-08 17:03 martink * Source/cmProjectCommand.cxx: now adds src and bin dir into cache 2001-05-08 16:20 martink * Source/cmVTKWrapTclCommand.cxx: fixed bug in init code 2001-05-08 16:01 hoffman * configure.in.sample: clean up 2001-05-08 11:40 martink * Source/cmTargetLinkLibrariesCommand.cxx: BUG: added arg0 to link libraries 2001-05-08 10:16 ibanez * Modules/FindFLTK.cmake: Module to search the path for FLTK library ( http://www.fltk.org ) 2001-05-07 18:14 king * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx, cmMakefile.cxx: ENH: Moved cache entry addition into cmMakefile::AddLibrary and AddExecutable so that commands do not have to add it explicitly. 2001-05-07 18:11 hoffman * CMakeSystemConfig.cmake.in, Source/CMakeBuildTargets.cxx, Source/Makefile.in, Source/cmCacheManager.cxx, Source/cmCommands.cxx, Source/cmConfigureFile.cxx, Source/cmConfigureFile.h, Source/cmConfigureFileCommand.cxx, Source/cmConfigureFileCommand.h, Source/cmExecProgram.cxx, Source/cmExecProgram.h, Source/cmExecProgramCommand.cxx, Source/cmExecProgramCommand.h, Source/cmMakeDirectoryCommand.cxx, Source/cmMakeDirectoryCommand.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h: ENH: call configure from cmake 2001-05-07 10:02 blezek * Source/cmConfigureFile.cxx: BUG: Removing Remove Variables call 2001-05-07 09:16 geoff * configure.in.sample: Under FreeBSD: should be CMAKE_SHLIB_BUILD_FLAGS and not CMAKE_SHLIB_LINK_FLAGS. CMakeSystemConfig.cmake not being made 2001-05-05 11:28 hoffman * Source/cmAddExecutableCommand.cxx: BUG: add internal cache entry for executables, so depends can work 2001-05-05 11:03 hoffman * Source/: cmAddTargetCommand.cxx, cmAddTargetCommand.h, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.h, cmCommands.cxx, cmLibraryCommand.cxx: BUG: add removed command, and sort the order in cmCommands.cxx 2001-05-04 17:00 martink * Source/: cmMakefile.cxx, cmUnixMakefileGenerator.cxx: fixes for untiltiy targets in all 2001-05-04 16:44 blezek * Source/cmBuildNameCommand.cxx: ENH: Proper build name 2001-05-04 16:43 blezek * Source/cmSiteNameCommand.cxx: ENH: Correct sitename 2001-05-04 15:50 martink * Source/: cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmAddTargetCommand.cxx, cmAddTargetCommand.h, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmMakefile.cxx, cmMakefile.h, cmTarget.h, cmVTKWrapJavaCommand.cxx: option to make utilities in the all target 2001-05-04 14:53 hoffman * CMakeSystemConfig.cmake.in, CMakeWindowsSystemConfig.cmake: ENH: move to cmake for itkConfigure.h.in 2001-05-04 12:52 martink * Source/cmVTKWrapJavaCommand.cxx: updates 2001-05-04 11:35 geoff * Modules/: FindGTK.cmake, FindJPEG.cmake: INCLUDE these to find the relevant libraries 2001-05-04 11:34 hoffman * Source/: cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h, cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmExecProgram.cxx, cmExecProgram.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h: ENH: move testing stuff to cmake from configure, good bye dashboard... :) 2001-05-04 11:30 hoffman * CMakeRules.make.in, CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt, Source/cmAddTargetCommand.cxx, Source/cmAddTargetCommand.h, Source/cmCacheManager.cxx, Source/cmCommands.cxx, Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx, Source/cmFindProgramCommand.cxx, Source/cmMakefile.cxx, Source/cmOptionCommand.cxx, Source/cmOptionCommand.h, Source/cmSourceGroup.cxx, Source/cmSourceGroup.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx: ENH: move testing stuff to cmake from configure, good bye dashboard... :) 2001-05-04 10:44 king * Source/cmSystemTools.cxx: ENH: Added support to EscapeSpaces to use double quotes on windows. 2001-05-04 10:44 king * Source/cmCablePackageCommand.cxx: ENH: Added use of CMAKE cache entry for generating the DSP/makefile build rules. 2001-05-04 10:44 king * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h: ENH: Added use of CMAKE cache entry for generating the DSP build rules. 2001-05-04 10:13 martink * Modules/FindJNI.cmake: minor fixes 2001-05-04 09:56 martink * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: fixed custom command rule 2001-05-04 09:47 martink * Modules/FindJNI.cmake: new module 2001-05-04 09:39 martink * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmSourceGroup.cxx, cmSourceGroup.h, cmVTKWrapJavaCommand.cxx: better custom rules 2001-05-04 08:46 martink * Source/: cmFunctionBlocker.h, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmVTKWrapJavaCommand.cxx: better If checks 2001-05-04 08:45 martink * Source/: cmSourceFilesRequireCommand.cxx, cmSourceFilesRequireCommand.h, cmUnixDefinesCommand.cxx, cmUnixDefinesCommand.h, cmUnixLibrariesCommand.cxx, cmUnixLibrariesCommand.h, cmWin32DefinesCommand.cxx, cmWin32DefinesCommand.h, cmWin32IncludeDirectoryCommand.cxx, cmWin32IncludeDirectoryCommand.h, cmWin32LibrariesCommand.cxx, cmWin32LibrariesCommand.h: removed old functions 2001-05-03 16:55 king * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx: ENH: Added generation of internal CMAKE cache entry with path to command-line CMake executable. 2001-05-03 16:55 king * Source/: cmFindProgramCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH: Added cmSystemTools::FindProgram() and full-path detection utilities. 2001-05-03 15:27 martink * Source/: cmCommands.cxx, cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h: minor fixes 2001-05-03 11:04 martink * Source/cmCommands.cxx: removed deprecated commands 2001-05-03 10:58 martink * CMakeSystemConfig.cmake.in: better config info 2001-05-03 10:35 martink * Source/cmConfigureFile.cxx: now support cmakedefine 2001-05-03 08:53 martink * CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt: uses cmake commands now 2001-05-03 08:52 martink * CMakeSystemConfig.cmake.in, CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.cmake, CMakeWindowsSystemConfig.txt, Source/cmMakefile.cxx, Source/cmMakefile.h: system config uses cmake commands now 2001-05-02 17:33 martink * Modules/FindMPI.cmake: minor fixes 2001-05-02 17:07 martink * Modules/FindMPI.cmake: new module 2001-05-02 14:08 martink * Modules/FindOpenGL.cmake: simple module 2001-05-02 11:53 martink * Modules/FindTCL.cmake: finds tk as well 2001-05-02 11:53 martink * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx: cache loaded into makefile 2001-05-01 17:52 martink * Source/: cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: fixed bug in limiting to source lists 2001-05-01 17:37 king * Source/: cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableWrapCommand.cxx, cmCableWrapCommand.h: ENH: Changed cmCableWrapCommand to inherit from cmCableDefineSetCommand since they do almost exactly the same thing. Added a GetXmlTag virtual function to both classes to return what XML tag to generate in the set's output. cmCableDefineSetCommand generates a "Set" tag, and cmCableWrapCommand generates a "WrapperSet" tag. What is inside the tags is still generated by the cmCableDefineSetCommand superclass. 2001-05-01 17:35 king * Source/: cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h: ENH: Changed WriteConfiguration back to const because it doesn't need to report errors anymore. 2001-05-01 17:12 hoffman * Source/: UtilityFooter.dsptemplate, UtilityHeader.dsptemplate: ADD: add utiltity templates 2001-05-01 16:55 hoffman * configure.in.sample, Source/cmAddTargetCommand.cxx, Source/cmDSPMakefile.cxx, Source/cmDSPMakefile.h, Source/cmDSPWriter.cxx, Source/cmDSPWriter.h, Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h, Source/cmDSWWriter.cxx, Source/cmDSWWriter.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx: ENH: implement ADD_TARGET command, and add an ALL_BUILD target 2001-05-01 16:34 martink * Source/cmMakefile.cxx: cache now loaded into makefile 2001-05-01 16:28 martink * Source/: cmCacheManager.cxx, cmCacheManager.h: added method to puch cache into makefile defines 2001-05-01 16:27 martink * Source/cmIfCommand.cxx: slight bug in If command I think 2001-05-01 11:28 martink * Modules/FindTCL.cmake: first module 2001-05-01 11:16 martink * Source/: cmCommands.cxx, cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h, cmSetCommand.cxx, cmSetCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: new set command and IF NOT 2001-04-30 14:56 martink * Source/: cmElseCommand.cxx, cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmIfCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: bug fixes 2001-04-30 11:51 king * Source/cmCablePackageCommand.cxx: BUG: Fixed output of CMakeLists.txt path in cable_config.xml dependency list for unix. Needed to escape spaces instead of enclosing in double quotes. 2001-04-30 11:29 king * Source/cmMakefile.h: ERR: Removed a conflict that was checked in. 2001-04-30 10:52 anonymous * Source/: cmCommands.cxx, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmIncludeCommand.cxx, cmIncludeCommand.h, cmMakefile.cxx, cmMakefile.h: New command: INCLUDE(somefile.txt) 2001-04-30 10:44 martink * Source/: cmCommands.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmMakefile.cxx, cmMakefile.h, cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: added TARGET_LINK_LIBRARY command and support for debug and release libraries to link against 2001-04-27 14:57 king * Source/cmUnixMakefileGenerator.cxx: ERR: Renamed CustomCommands to BuildRules to match change in cmSourceGroup. 2001-04-27 14:52 king * Source/cmCablePackageCommand.cxx: BUG: Removed output of GCC_XML rules when the command cannot be found. 2001-04-27 14:51 king * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmSourceGroup.cxx, cmSourceGroup.h: BUG: Removed output of dual rules for source files that are processed by both the compiler and by a custom command. Also removed generation of duplicate CMakeLists.txt in the project files. 2001-04-27 14:40 martink * CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt: get system info into cmake 2001-04-27 14:25 martink * Source/: cmConfigureFile.cxx, cmConfigureFile.h: added configure file 2001-04-27 11:53 hoffman * configure.in.sample: BUG: run cache build with each configure 2001-04-27 11:36 hoffman * CMakeRules.make.in, Source/cmMakefile.cxx: BUG: fix inplace builds 2001-04-27 11:03 hoffman * Source/cmMakefile.cxx: ENH: fix in source build with non-gnu 2001-04-27 09:32 hoffman * Source/cmMakefile.cxx: ENH: add output when creating files 2001-04-27 09:30 martink * Source/: cmFindFileCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx: better help strings 2001-04-27 09:13 will * Source/cmAuxSourceDirectoryCommand.h: ENH:New copyright 2001-04-27 08:46 martink * CMakeVariables.make.in: removed old junk 2001-04-27 08:01 will * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx, cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmAddExecutableCommand.cxx, cmAddExecutableCommand.h, cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmAddTargetCommand.cxx, cmAddTargetCommand.h, cmAuxSourceDirectoryCommand.cxx, cmBuildSharedLibrariesCommand.cxx, cmCableCloseNamespaceCommand.cxx, cmCableCloseNamespaceCommand.h, cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx, cmCableData.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCableOpenNamespaceCommand.cxx, cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx, cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx, cmCableWrapCommand.h, cmCacheManager.cxx, cmCacheManager.h, cmCommand.h, cmCommands.h, cmConfigureFileNoAutoconf.cxx, cmConfigureFileNoAutoconf.h, cmCustomCommand.cxx, cmCustomCommand.h, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWMakefile.h, cmDSWWriter.cxx, cmDSWWriter.h, cmDirectory.cxx, cmDirectory.h, cmElseCommand.cxx, cmElseCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmFindFileCommand.cxx, cmFindFileCommand.h, cmFindIncludeCommand.cxx, cmFindIncludeCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindProgramCommand.cxx, cmFindProgramCommand.h, cmFunctionBlocker.h, cmIfCommand.cxx, cmIfCommand.h, cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmLibraryCommand.cxx, cmLibraryCommand.h, cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmMakefileGenerator.cxx, cmMakefileGenerator.h, cmOptionCommand.cxx, cmOptionCommand.h, cmProjectCommand.cxx, cmProjectCommand.h, cmRegularExpression.cxx, cmRegularExpression.h, cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h, cmSourceFilesRequireCommand.cxx, cmSourceFilesRequireCommand.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmStandardIncludes.h, cmSubdirCommand.cxx, cmSubdirCommand.h, cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h, cmTestsCommand.cxx, cmTestsCommand.h, cmUnixDefinesCommand.cxx, cmUnixDefinesCommand.h, cmUnixLibrariesCommand.cxx, cmUnixLibrariesCommand.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h, cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx, cmWin32DefinesCommand.cxx, cmWin32DefinesCommand.h, cmWin32IncludeDirectoryCommand.cxx, cmWin32IncludeDirectoryCommand.h, cmWin32LibrariesCommand.cxx, cmWin32LibrariesCommand.h, cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h: ENH:New copyright 2001-04-27 07:55 will * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h: ENH:Copyright 2001-04-26 16:22 martink * Source/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h, cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx, cmVTKWrapPythonCommand.cxx: support for debug and opt libraries 2001-04-26 15:41 martink * Source/: cmOptionCommand.cxx, cmOptionCommand.h: better help 2001-04-26 15:27 king * Source/: cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCablePackageCommand.cxx, cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx, cmCableWrapCommand.h: ENH: Changed WriteConfiguration to non-const so it can do error checking. Added parsing and output of a name for each WrapperSet generated from a CABLE_WRAP command. 2001-04-26 14:53 hoffman * Source/: cmAddLibraryCommand.cxx, cmBuildSharedLibrariesCommand.cxx, cmCacheManager.cxx, cmCacheManager.h, cmFindFileCommand.cxx, cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmOptionCommand.cxx, cmUtilitySourceCommand.cxx: ENH: add help for cache entries 2001-04-26 10:49 martink * Source/: cmCacheManager.cxx, cmElseCommand.cxx, cmIfCommand.cxx, cmSystemTools.cxx, cmSystemTools.h: some fixes for If commands 2001-04-26 09:38 martink * Source/: CMakeSetup.dsw, DumpDocumentation.dsp, cmCommands.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSPMakefile.h, cmDSPWriter.h, cmFindFileCommand.cxx, cmFindIncludeCommand.cxx, cmFindIncludeCommand.h, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindPathCommand.cxx, cmFindPathCommand.h, cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx: bug fixes 2001-04-25 16:09 hoffman * configure.in.sample, Source/Makefile.in, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmMakefile.cxx: ENH: clean up cmake GUI and remove the parsing of CMakeLists.txt files by configure 2001-04-25 11:47 martink * Source/: cmElseCommand.h, cmEndIfCommand.h, cmIfCommand.h: rules were not inherited when they should be 2001-04-25 09:39 king * Source/cmUnixMakefileGenerator.cxx: BUG: Fixed output of dependencies. It needs to loop over the makefile's targets, not the source lists. 2001-04-25 09:37 king * Source/cmMakeDepend.cxx: STYLE: Updated comments for name change cmClassFile->cmSourceFile 2001-04-25 09:33 martink * CMake.doc: updated the docs some 2001-04-24 17:33 king * Source/cmUnixMakefileGenerator.cxx: ERR: cmClassFile.h -> cmSourceFile.h include change. 2001-04-24 16:49 martink * Source/: cmClassFile.cxx, cmClassFile.h: many fixes and cleanup and features 2001-04-24 16:46 martink * Source/: CMakeLib.dsp, Makefile.in, cmAbstractFilesCommand.cxx, cmAuxSourceDirectoryCommand.cxx, cmCablePackageCommand.cxx, cmCableSourceFilesCommand.cxx, cmCacheManager.cxx, cmCacheManager.h, cmCommands.cxx, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmOptionCommand.cxx, cmSourceFilesCommand.cxx, cmSourceFilesRequireCommand.cxx, cmTarget.h, cmUnixDefinesCommand.cxx, cmUnixLibrariesCommand.cxx, cmUnixMakefileGenerator.cxx, cmWin32DefinesCommand.cxx, cmWin32IncludeDirectoryCommand.cxx, cmWin32LibrariesCommand.cxx, cmWrapExcludeFilesCommand.cxx, cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h, cmSourceFile.cxx, cmSourceFile.h, cmTarget.cxx, cmWrapTclCommand.cxx, cmWrapTclCommand.h: many fixes and cleanup and features 2001-04-24 12:40 hoffman * Source/: cmBuildSharedLibrariesCommand.cxx, cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx, cmMakefile.h, cmOptionCommand.cxx, cmWrapTclCommand.cxx: BUG: fix build directory problem 2001-04-24 09:45 king * CMakeVariables.make.in: ERR: Removed extra SRC_OBJ reference. The variable is no longer used. 2001-04-23 16:40 hoffman * Source/: CMakeLib.dsp, cmCacheManager.cxx, cmCacheManager.h, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmSourceGroup.h, cmStandardIncludes.h, cmWindowsConfigure.cxx, cmWindowsConfigure.h: ENH: new GUI editor for cmake cache file 2001-04-23 16:34 martink * Source/: cmCommands.cxx, cmWrapTclCommand.cxx: added option command 2001-04-23 16:33 martink * Source/: cmOptionCommand.cxx, cmOptionCommand.h: new command 2001-04-23 13:58 blezek * CMakeRules.make.in, Source/cmUnixMakefileGenerator.cxx: BUG: Clean was not doing it's job 2001-04-23 10:23 king * Source/cmIfCommand.h: ERR: Added virtual destructor to complement virtual functions in cmIfFunctionBlocker. 2001-04-19 17:39 martink * Source/: cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h, cmCommands.cxx, cmElseCommand.cxx, cmElseCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h, cmFunctionBlocker.h, cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h: added if else endif add definition 2001-04-19 13:28 martink * Source/: cmCablePackageCommand.cxx, cmCustomCommand.h, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmMakefile.cxx, cmSourceGroup.cxx, cmTarget.h, cmUnixMakefileGenerator.cxx: cleaned up the coding style made ivars private etc 2001-04-18 08:01 king * Source/cmMakeDepend.cxx: ERR: We can't assume a vector iterator is a pointer. It must be dereferenced to get a reference to the element, and then we can take the address of that to get a pointer. "i" becomes "&*i" 2001-04-17 07:42 king * Source/cmUnixMakefileGenerator.cxx: ERR: Removed unused variable. 2001-04-16 15:40 hoffman * Source/: cmStandardIncludes.h, cmSystemTools.cxx: BUG: fix small compile issues on HP aCC 2001-04-16 12:31 king * Source/: cmMakeDepend.cxx, cmMakeDepend.h: ENH: Changed m_Indices to an stl set and renamed it to m_IndexSet. Using a set results in a significant performance increase and reduction in memory usage. 2001-04-16 10:15 millerjv * Source/cmAddLibraryCommand.cxx: FIX: allow ADD_LIBRARY with no source list 2001-04-16 10:01 martink * Source/: cmCablePackageCommand.cxx, cmMakefile.h: fixed cable package issue 2001-04-12 15:34 martink * Source/: Makefile.in, cmAddLibraryCommand.cxx, cmCacheManager.cxx, cmCacheManager.h, cmMakefile.h, cmUnixMakefileGenerator.cxx, cmWrapTclCommand.cxx: some bug fixes 2001-04-12 09:55 king * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: Added individual library linkage output so that shared libraries will not try to link against themselves. 2001-04-12 09:49 martink * Source/: cmExecutablesCommand.cxx, cmExecutablesCommand.h: removed old rules 2001-04-11 16:34 king * Source/cmUnixMakefileGenerator.cxx: ENH: Generation now sets up proper linking of shared libraries to each other. 2001-04-11 15:43 king * CMakeMaster.make.in: ERR: Needed to switch point where CMakeTargets.make is included so that Variables will be available to the targets file. 2001-04-11 14:58 martink * Source/CMakeLib.dsp, Source/CMakeSetupCMD.dsp, Source/Makefile.in, Source/cmAbstractFilesCommand.cxx, Source/cmAddExecutableCommand.cxx, Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmAuxSourceDirectoryCommand.h, Source/cmCableCommand.cxx, Source/cmCableData.cxx, Source/cmCableData.h, Source/cmCablePackageCommand.cxx, Source/cmCablePackageCommand.h, Source/cmCableSourceFilesCommand.cxx, Source/cmClassFile.cxx, Source/cmClassFile.h, Source/cmCommands.cxx, Source/cmCustomCommand.cxx, Source/cmCustomCommand.h, Source/cmDSPMakefile.cxx, Source/cmDSPMakefile.h, Source/cmDSPWriter.cxx, Source/cmDSPWriter.h, Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h, Source/cmDSWWriter.cxx, Source/cmDSWWriter.h, Source/cmMakeDepend.cxx, Source/cmMakeDepend.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSourceFilesCommand.cxx, Source/cmSourceFilesCommand.h, Source/cmSourceFilesRequireCommand.cxx, Source/cmSourceFilesRequireCommand.h, Source/cmSourceGroup.cxx, Source/cmSourceGroup.h, Source/cmTarget.h, Source/cmTestsCommand.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h, Source/cmWrapExcludeFilesCommand.cxx, Source/cmWrapTclCommand.cxx, Source/cmWrapTclCommand.h, CMakeRules.make.in: major changes to support multiple libraries and source lists 2001-04-10 15:26 king * Source/DLLHeader.dsptemplate: ENH: Need BUILD_SHARED_LIBRARIES defined for making windows DLLs. 2001-04-09 10:56 king * Source/cmCablePackageCommand.cxx: ERR: Added double-quotes around command name before arguments are appended. 2001-04-09 10:53 king * Source/cmUnixMakefileGenerator.cxx: ERR: Missed one EscapeSpaces call. 2001-04-09 10:31 king * Source/: cmCableCommand.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx, cmUtilitySourceCommand.cxx: ERR: Corrected use of double-quotes to be compatible with UNIX make. Now double quotes (windows) or escape sequences for spaces (unix) are added when dependencies are output. 2001-04-09 09:44 king * Source/: cmCableCommand.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmUtilitySourceCommand.cxx: ENH: Added support for spaces in the output directory names. Spaces in the input directory name may work also, but are untested. 2001-04-06 17:01 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSPMakefile.h, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx: BUG: fix depends for libraries and executables in the same dir 2001-04-06 14:51 hoffman * Source/: cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx, cmMakefile.cxx: ENH: better error reporting, and add NOTFOUND into cache for library and file find 2001-04-06 12:00 martink * Source/cmFindIncludeCommand.h: fixed the documentation some 2001-04-06 08:28 millerjv * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: FIX: configurations list needed to be reset for each dsp file created 2001-04-04 09:33 millerjv * Source/: EXEHeader.dsptemplate, staticLibHeader.dsptemplate: FIX: returned to using /O2 optimization level and put a pragma in the netlib code that could not handle the /Og component of /O2 2001-03-28 11:49 king * Source/cmSystemTools.cxx: ERR: Blank line regular expression updated to allow whitespace on the line. 2001-03-23 14:27 king * Source/: cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h: ENH: Added support for CABLE_SOURCE_FILES to refer to files that are not in the current directory. The include path is searched for the files. 2001-03-21 15:52 king * Source/cmStandardIncludes.h: ERR: Added pragma to disable symbol length warning for Intel compiler. 2001-03-20 13:48 king * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ERR: Small bug in generated DSP file fixed. A custom command environment variable has been replaced with explicity writing out the command. 2001-03-20 13:20 king * Source/: CMakeLib.dsp, Makefile.in, cmCableCommand.cxx, cmCablePackageCommand.cxx, cmCommands.cxx, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmMakefile.cxx, cmMakefile.h, cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx, cmSourceGroupCommand.h, cmUnixMakefileGenerator.cxx, cmWrapTclCommand.cxx: ENH: Added SOURCE_GROUP command and corresponding support code. This command allows CMakeLists files to specify how sources are organized into groups in the generated DSP files and makefiles. 2001-03-19 11:47 millerjv * Source/EXEHeader.dsptemplate: ENH: ignore unused libary warnings, removed /force 2001-03-19 11:02 king * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: Added text files group to DSP output. CMakeLists.txt is duplicated in this group and outside, but fixing this will require a reorganization of custom rule generation. I should get to that soon. 2001-03-19 11:01 king * Source/cmCableCommand.cxx: ERR: Changed generation of rule to generate cable_config.xml to be produced differently for windows and unix. 2001-03-19 11:00 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ERR: Removed functions I just added. They don't belong here (yet?). 2001-03-19 10:09 king * Source/cmCableCommand.cxx: ENH: Added generation of a rule to re-run CMake if the cable_config.xml file is missing. 2001-03-19 10:09 king * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added functions to get information about the CMake executable on each platform. 2001-03-16 11:14 king * Source/: cmCableData.cxx, cmCableData.h: ERR: Re-ordered declaration of members v. order of initialization on the constructor to match each other. 2001-03-16 11:04 king * Source/: cmCableData.cxx, cmCableData.h: BUG: Rearranged cable config file open to do open in construction of m_OutputFile. Fixes problem on SGI with opening the file. 2001-03-16 09:25 king * Source/: cmCableDefineSetCommand.cxx, cmCableSourceFilesCommand.cxx: ENH: Changed generated includes to not have full path specified. 2001-03-15 18:09 king * Source/: cmCommands.cxx, cmIncludeRegularExpressionCommand.cxx, cmIncludeRegularExpressionCommand.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h: ENH: Added INCLUDE_REGULAR_EXPRESSION command to set regular expression used in dependency checking. 2001-03-15 14:46 king * Source/: cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h: ENH: Added SOURCE_FILES syntax to CABLE_DEFINE_SET command. 2001-03-15 14:33 king * Source/: cmMakefile.cxx, cmMakefile.h: BUG: Moved definition of CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR to be as soon as their information is known. 2001-03-15 10:42 king * Source/: cmCablePackageCommand.cxx, cmCablePackageCommand.h: BUG: Fixed segfault when CABLE_PACKAGE is only CABLE command. Related to order of virtual destructor calls. 2001-03-14 17:49 king * Source/cmStandardIncludes.h: ERR: Added for-loop scoping hack for CMake sources on MSVC 2001-03-14 16:34 king * Source/cmSystemTools.cxx: ENH: Added support for comments inside function calls and indented comments. 2001-03-13 18:01 king * Source/: cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h: ENH: Added support for element tag specification with syntax tag:element as an argument to the CABLE_DEFINE_SET command. A single colon with nothing to its left will result in an empty tag. 2001-03-13 09:33 king * Source/cmWrapTclCommand.cxx: ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments. 2001-03-12 18:30 king * Source/: cmCommand.h, cmSystemTools.cxx, cmSystemTools.h: ENH: Improved error handling when GetError is called on a command that has not called SetError. 2001-03-12 10:10 geoff * Source/: cmCommands.cxx, cmWin32IncludeDirectoryCommand.cxx, cmWin32IncludeDirectoryCommand.h: Include directories under Win32 only (inherited by subdirs) 2001-03-09 16:56 king * Source/: DLLHeader.dsptemplate, EXEHeader.dsptemplate, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, staticLibHeader.dsptemplate: ENH: Finished Simplifying dsptemplate processing with in place of separate Release, Debug, ReleaseDLL, ... configurations. 2001-03-09 15:35 king * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, staticLibHeader.dsptemplate: ERR: Fixed library path problem for ReleaseMinSize build. should now be used in place of separate Release, Debug, and ReleaseMinSize. 2001-03-09 14:35 king * Source/EXEHeader.dsptemplate: ERR: Fixed header template for Release MinSize builds. 2001-03-09 11:34 king * Source/EXEHeader.dsptemplate: ENH: Added Release MinSize configuration for executables. 2001-03-09 11:33 king * Source/cmUtilitySourceCommand.h: ENH: Made UTILITY_SOURCE command inherited, just like FIND_PROGRAM. 2001-03-09 11:16 king * Source/cmCablePackageCommand.cxx: ERR: Missing initalization of a cmClassFile::m_HeaderFileOnly fixed. 2001-03-09 10:53 king * Source/: cmDSWMakefile.cxx, cmDSWWriter.cxx, cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmUtilitySourceCommand.cxx: ENH: Added utility dependency support. Now a project can depend on other executables as well as link libraries. 2001-03-09 10:52 king * Source/: cmCableCommand.cxx, cmCableData.cxx: ERR: Added automatic creation of directory for cable_config.xml file and corresponding error reporting. 2001-03-09 10:52 king * Source/cmCablePackageCommand.cxx: ENH: Added proper dependency generation for a package on cable executable. 2001-03-08 18:24 king * Source/: cmMakefile.cxx, cmUtilitySourceCommand.cxx: ERR: Replaced CMAKE_CFG= with CMAKE_CFG_OUTDIR= to fix windows behavior. 2001-03-08 18:13 king * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: Added output of custom rules for XML sources. 2001-03-08 17:38 king * Source/cmUnixMakefileGenerator.cxx: ENH: Added output of defines flags as part of INCLUDE_FLAGS. 2001-03-08 17:31 king * Source/cmUnixMakefileGenerator.cxx: ENH: Added output of a custom command's m_Source as a dependency. 2001-03-08 17:31 king * Source/cmUnixDefinesCommand.cxx: ERR: Minor wording error in output message. 2001-03-08 17:30 king * Source/cmCablePackageCommand.cxx: ENH: Creation of generator rule now properly uses the custom command's m_Source member. 2001-03-08 16:13 king * Source/: cmCableCommand.cxx, cmCableData.cxx, cmCableData.h, cmCablePackageCommand.cxx, cmCablePackageCommand.h, cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h: ENH: Added creation of custom rules for generating CABLE packages. 2001-03-08 16:12 king * Source/: cmMakeDepend.cxx, cmMakeDepend.h: ENH: Added support for finding dependencies for files that don't exist. Dependency recursion begins with hints provided in the cmClassFile for a file if it doesn't exist. 2001-03-08 11:30 king * Source/cmCableSourceFilesCommand.cxx: ENH: Added .txx detection for Header block output. 2001-03-08 10:30 king * Source/: cmCommands.cxx, cmMakefile.cxx, cmMakefile.h, cmSystemTools.cxx, cmSystemTools.h, cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h: ENH: Added UTILITY_SOURCE command for specifying where a 3rd party utility's source is located when it is included in the distribution of a project. 2001-03-07 13:33 king * Source/cmCableCommand.cxx: ERR: Commented out experimental code that was accidentally checked in. 2001-03-07 13:23 king * Source/cmCableCommand.cxx: ENH: Added Cable to Utilities and appropriate CMakeLists.txt changes. Moved VXLNumerics link out of source's root directory and into separate entries for Code and Testing directories. This prevents linking of all programs (like Cable) with the numerics library. 2001-03-02 16:04 king * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: Added custom rule support to cmUnixMakefileGenerator. 2001-03-02 13:47 will * Source/cmUnixMakefileGenerator.cxx: BUG: repeat all -l options to avoid having to worry about link order. 2001-03-02 12:27 king * Source/: cmCableCommand.cxx, cmCableData.cxx, cmCableData.h: ENH: CABLE config file (config_cable.xml) should now be opened in the output directory. 2001-03-01 16:47 king * Source/: cmCableCloseNamespaceCommand.cxx, cmCableCloseNamespaceCommand.h, cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx, cmCableData.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCableOpenNamespaceCommand.cxx, cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx, cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx, cmCableWrapCommand.h, cmCommands.cxx: ENH: Change to new CABLE command architecture. CABLE configuration code is now generated on the first pass, during the Invoke() calls. 2001-02-28 17:50 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSPMakefile.h, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx: BUG: fix circular depends on libraries and remove depends for static libraries 2001-02-28 09:34 king * Source/: cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx, cmCableData.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCommands.cxx: ENH: CABIL -> CABLE rename. 2001-02-27 16:50 martink * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx: many enhancements including dll support 2001-02-27 16:49 martink * Source/cmWrapTclCommand.cxx: bug fixes 2001-02-27 16:49 martink * Source/cmCommands.cxx: added new commands 2001-02-27 16:48 martink * Source/cmClassFile.h: added wrap exclude ivar 2001-02-27 16:48 martink * Source/: cmBuildSharedLibrariesCommand.cxx, cmBuildSharedLibrariesCommand.h, cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h: new commands 2001-02-27 16:46 martink * Source/: DLLFooter.dsptemplate, DLLHeader.dsptemplate: dll build rules 2001-02-27 16:44 martink * Source/staticLibHeader.dsptemplate: change in options for much smaller libraries 2001-02-27 16:28 king * Source/: cmCableCommand.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx, cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCommands.cxx: ENH: Implemented automatic tag generation for CABIL_DEFINE_SET command. Added tag output to WriteConfiguration methods. Added CABIL_INSTANTIATE_CLASS command to generate explicit class template instantiation configuration output. 2001-02-27 15:41 king * Source/cmSystemTools.cxx: ENH/BUG: Improved function parsing to allow just about anything inside a double-quoted argument. Also fixed parsing of lines with both quoted and non-quoted arguments. 2001-02-27 12:00 lorensen * Source/cmSystemTools.cxx: ENH: mask on mkdir set to 777. 2001-02-27 12:00 lorensen * Source/CMakeBuildTargets.cxx: ERR: missing std:: on cout. 2001-02-26 20:58 millerjv * Source/staticLibHeader.dsptemplate: FIX: added /GR to MinSize build to avoid warnings about dynamic cast 2001-02-26 18:20 king * Source/cmCableInstantiateCommand.cxx: ERR: Fixed configuration file output to open file in output directory. 2001-02-26 18:16 king * Source/cmWrapTclCommand.cxx: int -> unsigned int 2001-02-26 18:00 king * Source/: cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx, cmCableData.h, cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h, cmCableInstantiateCommand.cxx, cmCableInstantiateCommand.h, cmCommands.cxx: ENH: Added CABIL commands for configuration file generation. 2001-02-26 17:58 king * Source/cmMakefile.h: ENH: Added GetUsedCommands() method. 2001-02-26 17:58 king * Source/cmStandardIncludes.h: ERR: fsream.h -> fstream.h 2001-02-26 17:17 martink * Source/: cmCommands.cxx, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmMakefile.h: a variety of fixes and enhancements 2001-02-26 17:17 martink * Source/: cmWrapTclCommand.cxx, cmWrapTclCommand.h: very early version of a wrapper 2001-02-26 17:15 martink * Source/: cmClassFile.cxx, cmClassFile.h: added functionality, fixed bug if no file existed and with header files 2001-02-26 17:14 martink * Source/: cmFindProgramCommand.cxx, cmFindProgramCommand.h: fixed bug and modified functionality 2001-02-26 17:13 martink * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h: new command 2001-02-26 13:25 king * Source/cmMakefile.cxx: ERR: Fixed unknown command output error message for spacing. 2001-02-26 12:07 king * Source/: cmAbstractFilesCommand.h, cmAddTargetCommand.h, cmAuxSourceDirectoryCommand.h, cmCommand.h, cmExecutablesCommand.h, cmFindIncludeCommand.h, cmFindLibraryCommand.h, cmFindProgramCommand.h, cmIncludeDirectoryCommand.h, cmLibraryCommand.h, cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.h, cmProjectCommand.h, cmSourceFilesCommand.h, cmSourceFilesRequireCommand.h, cmSubdirCommand.h, cmTestsCommand.h, cmUnixDefinesCommand.h, cmUnixLibrariesCommand.h, cmWin32DefinesCommand.h, cmWin32LibrariesCommand.h: ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses. 2001-02-23 10:40 king * Source/: cmAbstractFilesCommand.cxx, cmCommand.h, cmCommands.h, cmConfigureFileNoAutoconf.h, cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx, cmFindProgramCommand.cxx, cmMakefile.cxx, cmUnixMakefileGenerator.cxx: ERR: Fixed warnings (int->unsigned int and a few others). 2001-02-22 19:37 hoffman * configure.in.sample: ENH: update sample 2001-02-22 19:31 hoffman * Source/cmSystemTools.cxx: BUG: remove debug print 2001-02-22 19:23 hoffman * Source/CMakeBuildTargets.cxx, Source/Makefile.in, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmConfigureFileNoAutoconf.cxx, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmStandardIncludes.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, CMakeRules.make.in, CMakeTopMakefileTemplate.in, Source/cmConfigure.h.in: ENH: add CMakeCache.txt support 2001-02-20 14:12 hoffman * Source/cmSystemTools.cxx: ENH: remove relative and extra paths in CMakeLists.txt files 2001-02-20 12:25 hoffman * CMakeRules.make.in: BUG: fix for in source build 2001-02-19 15:13 hoffman * CMakeMakefileTemplate.in, MakefileTemplate.in, configure.in.sample, Source/CMakeBuildTargets.cxx, Source/CMakeSetupCMD.cxx, Source/Makefile.in, Source/cmCacheManager.cxx, Source/cmCacheManager.h, Source/cmCommand.h, Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx, Source/cmFindIncludeCommand.cxx, Source/cmFindLibraryCommand.cxx, Source/cmFindProgramCommand.cxx, Source/cmIncludeDirectoryCommand.cxx, Source/cmMakefile.cxx, Source/cmRegularExpression.h, Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx, Source/cmUnixMakefileGenerator.h: ENH: first pass at cache, clean up the unix generator, clean up configure.in some 2001-02-18 13:02 hoffman * configure.in.sample: ENH: add a smaple configure.in for CMake based projects 2001-02-18 12:47 hoffman * configure.in.sample: ENH: add a smaple configure.in for CMake based projects 2001-02-16 15:34 hoffman * Source/cmCacheManager.h: ENH: clean up comments some 2001-02-16 15:01 will * CMake.pdf: ENH:Added pdf file 2001-02-16 11:52 martink * CMake.doc: clean up docs 2001-02-16 11:34 martink * Source/: cmConfigureFileNoAutoconf.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx, cmFindLibraryCommand.h, cmFindProgramCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmSystemTools.cxx, cmSystemTools.h: ENH: add new commands fro find library and find program 2001-02-15 13:30 martink * CMakeRules.make.in, CMakeVariables.make.in, Source/CMakeBuildTargets.cxx, Source/CMakeSetupCMD.cxx, Source/cmClassFile.cxx, Source/cmClassFile.h, Source/cmConfigureFileNoAutoconf.h, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmProjectCommand.cxx, Source/cmProjectCommand.h: some cleanup and fixes 2001-02-14 12:26 hoffman * Source/cmMakeDepend.cxx: ENH: fix depend segfault 2001-02-13 18:49 hoffman * Source/: cmConfigureFileNoAutoconf.cxx, cmMakefile.cxx: ENH: new vnl 2001-02-13 16:48 hoffman * Source/: cmMakefile.cxx, cmMakefile.h: ENH: add configure style @var@ expansion 2001-02-12 19:49 hoffman * Source/: CMakeBuildTargets.cxx, Makefile.in, cmCommands.cxx, cmConfigureFileNoAutoconf.cxx, cmConfigureFileNoAutoconf.h, cmConfigureHeaderCommand.cxx, cmConfigureHeaderCommand.h, cmMakefile.cxx, cmMakefile.h, cmStandardIncludes.h, cmSystemTools.cxx, cmCommands.h: ENH: get rid of special msc configure file 2001-02-12 14:42 hoffman * Source/: CMakeLib.dsp, CMakeSetup.dsw, CMakeSetupCMD.dsp: ENH: share a .lib with the command line and mfc versions. 2001-02-12 14:26 hoffman * Source/: CMakeLib.dsp, CMakeSetup.dsw, CMakeSetupCMD.cxx, CMakeSetupCMD.dsp, Makefile.in, cmCacheManager.cxx, cmCacheManager.h, cmCommands.cxx, cmConfigureHeaderCommand.cxx, cmConfigureHeaderCommand.h, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmMSProjectGenerator.h: ENH: add cache manager class, move all commands into cmCommands.cxx to speed up compile times, share a .lib with the command line and mfc versions. 2001-02-06 17:01 hoffman * Source/staticLibHeader.dsptemplate: ENH: add /GX /Zm1000 2001-02-06 16:48 hoffman * Source/staticLibHeader.dsptemplate: ENH: min size build 2001-02-06 10:52 hoffman * Source/staticLibHeader.dsptemplate: ENH: put back /Zm1000 so we can build large files 2001-02-06 08:56 millerjv * Source/staticLibHeader.dsptemplate: FIX: remove precompiled header settings 2001-02-06 08:54 millerjv * Source/EXEHeader.dsptemplate: FIX: added /force to link options and removed precompiled header usage 2001-01-25 15:48 millerjv * Source/: EXEHeader.dsptemplate, staticLibHeader.dsptemplate: BUG: backed off on the compiler optimization used. Instead of using /O2, we now use all the components of /Ox (/Ob1 /Oi /Ot /Oy /Gs) except for /Og 2001-01-22 10:00 will * Source/CMakeSetupCMD.dsp: BUG: convert to dos format 2001-01-22 09:49 will * Source/: CMakeSetup.dsw, CMakeSetupCMD.dsp: BUG: make dsp and dsw files binary 2001-01-18 13:43 will * README: ENH:Commands not rules 2001-01-18 12:06 will * Source/Makefile.in: ERR:Oops, use SimpleRule not SimpleCommand 2001-01-18 11:51 will * CMakeCommands.make.in, CMakeMaster.make.in, CMakeRules.make.in, CMakeSimpleCommands.make.in, CMakeSimpleRules.make.in: ERR:Oops, renamed back 2001-01-18 11:20 will * CMakeCommands.make.in, CMakeMaster.make.in, CMakeRules.make.in, CMakeSimpleCommands.make.in, CMakeSimpleRules.make.in, Source/CMakeSetupCMD.dsp, Source/Makefile.in, Source/cmAbstractFilesCommand.cxx, Source/cmAbstractFilesCommand.h, Source/cmAbstractFilesRule.cxx, Source/cmAbstractFilesRule.h, Source/cmAddTargetCommand.cxx, Source/cmAddTargetCommand.h, Source/cmAddTargetRule.cxx, Source/cmAddTargetRule.h, Source/cmAuxSourceDirectoryCommand.cxx, Source/cmAuxSourceDirectoryCommand.h, Source/cmAuxSourceDirectoryRule.cxx, Source/cmAuxSourceDirectoryRule.h, Source/cmCommand.h, Source/cmDumpDocumentation.cxx, Source/cmExecutablesCommand.cxx, Source/cmExecutablesCommand.h, Source/cmExecutablesRule.cxx, Source/cmExecutablesRule.h, Source/cmFindIncludeCommand.cxx, Source/cmFindIncludeCommand.h, Source/cmFindIncludeRule.cxx, Source/cmFindIncludeRule.h, Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h, Source/cmFindLibraryRule.cxx, Source/cmFindLibraryRule.h, Source/cmFindProgramCommand.cxx, Source/cmFindProgramCommand.h, Source/cmFindProgramRule.cxx, Source/cmFindProgramRule.h, Source/cmIncludeDirectoryCommand.cxx, Source/cmIncludeDirectoryCommand.h, Source/cmIncludeDirectoryRule.cxx, Source/cmIncludeDirectoryRule.h, Source/cmLibraryCommand.cxx, Source/cmLibraryCommand.h, Source/cmLibraryRule.cxx, Source/cmLibraryRule.h, Source/cmLinkDirectoriesCommand.cxx, Source/cmLinkDirectoriesCommand.h, Source/cmLinkDirectoriesRule.cxx, Source/cmLinkDirectoriesRule.h, Source/cmLinkLibrariesCommand.cxx, Source/cmLinkLibrariesCommand.h, Source/cmLinkLibrariesRule.cxx, Source/cmLinkLibrariesRule.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmMakefileGenerator.h, Source/cmProjectCommand.cxx, Source/cmProjectCommand.h, Source/cmProjectRule.cxx, Source/cmProjectRule.h, Source/cmRuleMaker.h, Source/cmSourceFilesCommand.cxx, Source/cmSourceFilesCommand.h, Source/cmSourceFilesRequireCommand.cxx, Source/cmSourceFilesRequireCommand.h, Source/cmSourceFilesRequireRule.cxx, Source/cmSourceFilesRequireRule.h, Source/cmSourceFilesRule.cxx, Source/cmSourceFilesRule.h, Source/cmSubdirCommand.cxx, Source/cmSubdirCommand.h, Source/cmSubdirRule.cxx, Source/cmSubdirRule.h, Source/cmSystemTools.h, Source/cmTestsCommand.cxx, Source/cmTestsCommand.h, Source/cmTestsRule.cxx, Source/cmTestsRule.h, Source/cmUnixDefinesCommand.cxx, Source/cmUnixDefinesCommand.h, Source/cmUnixDefinesRule.cxx, Source/cmUnixDefinesRule.h, Source/cmUnixLibrariesCommand.cxx, Source/cmUnixLibrariesCommand.h, Source/cmUnixLibrariesRule.cxx, Source/cmUnixLibrariesRule.h, Source/cmWin32DefinesCommand.cxx, Source/cmWin32DefinesCommand.h, Source/cmWin32DefinesRule.cxx, Source/cmWin32DefinesRule.h, Source/cmWin32LibrariesCommand.cxx, Source/cmWin32LibrariesCommand.h, Source/cmWin32LibrariesRule.cxx, Source/cmWin32LibrariesRule.h: ENH:Reworked CMake for consistency 2001-01-12 14:35 will * README, Source/cmAbstractFilesRule.h, Source/cmAddTargetRule.h, Source/cmAuxSourceDirectoryRule.h, Source/cmExecutablesRule.h, Source/cmFindIncludeRule.h, Source/cmFindLibraryRule.h, Source/cmFindProgramRule.h, Source/cmIncludeDirectoryRule.h, Source/cmLibraryRule.h, Source/cmLinkDirectoriesRule.h, Source/cmLinkLibrariesRule.h, Source/cmMakefile.cxx, Source/cmProjectRule.h, Source/cmRuleMaker.h, Source/cmSourceFilesRequireRule.h, Source/cmSourceFilesRule.h, Source/cmSubdirRule.h, Source/cmTestsRule.h, Source/cmUnixDefinesRule.h, Source/cmUnixLibrariesRule.h, Source/cmWin32DefinesRule.h, Source/cmWin32LibrariesRule.h: ENH:Tweaks to dump documentation 2001-01-12 14:05 hoffman * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: add define flags in the right place 2001-01-12 13:48 hoffman * Source/cmSystemTools.cxx: BUG: add check for missing ) on function 2001-01-12 13:07 will * README, Source/cmAuxSourceDirectoryRule.h, Source/cmIncludeDirectoryRule.h, Source/cmLinkLibrariesRule.h, Source/cmProjectRule.h, Source/cmSourceFilesRequireRule.h, Source/cmSubdirRule.h, Source/cmUnixDefinesRule.h, Source/cmWin32DefinesRule.h: ENH:Tweaks to dump documentation 2001-01-12 12:49 will * Source/: cmAddTargetRule.h, cmMakefile.cxx: ENH:Tweaks to documentation 2001-01-12 12:49 will * README: ENH:Updated for rule-based CMake 2001-01-12 12:42 will * Source/: cmDumpDocumentation.cxx, cmMakefile.cxx, cmMakefile.h: ENH:Simple program dumps out internal documentation for CMake 2001-01-12 07:43 will * README: README 2001-01-11 16:19 will * doxygen.config: ENH:Doxygenated CMake 2001-01-11 14:55 will * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx, cmAbstractFilesRule.cxx, cmClassFile.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmExecutablesRule.cxx, cmFindIncludeRule.cxx, cmFindLibraryRule.cxx, cmFindProgramRule.cxx, cmIncludeDirectoryRule.cxx, cmLibraryRule.cxx, cmLinkDirectoriesRule.cxx, cmLinkLibrariesRule.cxx, cmMSProjectGenerator.cxx, cmMakeDepend.cxx, cmMakefile.cxx, cmMakefileGenerator.cxx, cmProjectRule.cxx, cmSourceFilesRequireRule.cxx, cmSourceFilesRule.cxx, cmSubdirRule.cxx, cmSystemTools.cxx, cmTestsRule.cxx, cmUnixDefinesRule.cxx, cmUnixLibrariesRule.cxx, cmWin32DefinesRule.cxx, cmWin32LibrariesRule.cxx: ENH:Documentation and cleanups 2001-01-11 14:47 will * Source/: CMakeSetupCMD.cxx, cmAddTargetRule.cxx, cmAuxSourceDirectoryRule.cxx, cmClassFile.h, cmDSWMakefile.cxx, cmDSWMakefile.h, cmDSWWriter.cxx, cmDSWWriter.h, cmDirectory.h, cmFindProgramRule.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakeDepend.h, cmMakefile.h, cmMakefileGenerator.h, cmRegularExpression.cxx, cmRegularExpression.h, cmStandardIncludes.h, cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmWindowsConfigure.cxx, cmWindowsConfigure.h: ENH:Documentation and cleanups 2001-01-11 11:35 blezek * Source/: cmWin32DefinesRule.cxx, cmWin32LibrariesRule.cxx: BUG: Broken on non WIN32 platforms, changed SetEnableOff to EnabledOff 2001-01-11 08:04 will * Source/: cmFindIncludeRule.h, cmFindLibraryRule.h, cmFindProgramRule.h, cmIncludeDirectoryRule.h, cmLibraryRule.h, cmLinkDirectoriesRule.h, cmLinkLibrariesRule.h, cmProjectRule.h, cmSourceFilesRequireRule.h, cmSourceFilesRule.h, cmSubdirRule.h, cmTestsRule.h, cmUnixDefinesRule.h, cmUnixLibrariesRule.h, cmWin32DefinesRule.h, cmWin32LibrariesRule.h: ENH:Added documentation; clean-up 2001-01-10 17:29 will * Source/: cmExecutablesRule.h, cmFindIncludeRule.h: ENH:Beginning clean up; adding documentation 2001-01-10 17:13 will * Source/cmAuxSourceDirectoryRule.h: ENH:Beginning clean up; adding documentation 2001-01-10 17:05 will * Source/: cmAbstractFilesRule.h, cmAddTargetRule.h, cmAuxSourceDirectoryRule.h, cmDSPMakefile.h, cmDSPWriter.h, cmExecutablesRule.h, cmFindIncludeRule.h, cmFindLibraryRule.h, cmFindProgramRule.h, cmIncludeDirectoryRule.h, cmLibraryRule.h, cmLinkDirectoriesRule.h, cmLinkLibrariesRule.h, cmProjectRule.h, cmRuleMaker.h, cmSourceFilesRequireRule.h, cmSourceFilesRule.h, cmSubdirRule.h, cmTestsRule.h, cmUnixDefinesRule.cxx, cmUnixDefinesRule.h, cmUnixLibrariesRule.cxx, cmUnixLibrariesRule.h, cmWin32DefinesRule.h, cmWin32LibrariesRule.h: ENH:Beginning clean up; adding documentation 2001-01-09 15:13 hoffman * Source/cmUnixMakefileGenerator.cxx: BUG: look for -l and -L only at the begining of a link string 2001-01-05 13:52 blezek * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx: BUG: main can not be void under ANSI C++ 2001-01-05 13:49 blezek * Source/cmMakefileGenerator.cxx: BUG: Looking for cmMakeFileGenerator.h rather than cmMakefileGenerator.h 2001-01-05 11:41 hoffman * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx, CMakeSetupCMD.dsp, Makefile.in, cmAbstractFilesRule.cxx, cmAbstractFilesRule.h, cmAddTargetRule.cxx, cmAddTargetRule.h, cmAuxSourceDirectoryRule.cxx, cmAuxSourceDirectoryRule.h, cmClassFile.cxx, cmClassFile.h, cmCollectFlags.cxx, cmCollectFlags.h, cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx, cmDSWMakefile.h, cmDSWWriter.h, cmDirectory.cxx, cmDirectory.h, cmExecutablesRule.cxx, cmExecutablesRule.h, cmFindIncludeRule.cxx, cmFindIncludeRule.h, cmFindLibraryRule.cxx, cmFindLibraryRule.h, cmFindProgramRule.cxx, cmFindProgramRule.h, cmIncludeDirectoryRule.cxx, cmIncludeDirectoryRule.h, cmLibraryRule.cxx, cmLibraryRule.h, cmLinkDirectoriesRule.cxx, cmLinkDirectoriesRule.h, cmLinkLibrariesRule.cxx, cmLinkLibrariesRule.h, cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h, cmMakefileGenerator.cxx, cmMakefileGenerator.h, cmProjectRule.cxx, cmProjectRule.h, cmRegularExpression.cxx, cmRegularExpression.h, cmRuleMaker.h, cmSourceFilesRequireRule.cxx, cmSourceFilesRequireRule.h, cmSourceFilesRule.cxx, cmSourceFilesRule.h, cmStandardIncludes.h, cmSubdirRule.cxx, cmSubdirRule.h, cmSystemTools.cxx, cmSystemTools.h, cmTestsRule.cxx, cmTestsRule.h, cmUnixDefinesRule.cxx, cmUnixDefinesRule.h, cmUnixLibrariesRule.cxx, cmUnixLibrariesRule.h, cmUnixMakefile.cxx, cmUnixMakefile.h, cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h, cmWin32DefinesRule.cxx, cmWin32DefinesRule.h, cmWin32LibrariesRule.cxx, cmWin32LibrariesRule.h, cmWindowsConfigure.cxx, cmWindowsConfigure.h: ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 2000-12-07 15:45 blezek * Source/cmMakefile.cxx: ENH: Added TESTS target 2000-11-22 11:02 hoffman * Source/cmMakeDepend.cxx: BUG: remove bogus warning about not finding a depend file, if there are no include paths 2000-11-09 10:41 will * README, Source/cmCollectFlags.cxx, Source/cmCollectFlags.h, Source/cmWindowsConfigure.cxx: ENH:Changed CMAKE_SOURCE_ROOT to CMAKE_SOURCE_DIR 2000-11-03 16:38 hoffman * README: [no log message] 2000-11-02 11:13 hoffman * Source/cmMakefile.cxx: BUG: make sure SOURCE_FILES starts at the begining of line 2000-11-02 10:56 blezek * CMakeVariables.make.in: ENH: Moved @JAVA@ to @JAVACOMMAND@ 2000-11-02 10:24 will * README, Source/cmClassFile.cxx, Source/cmMakefile.cxx: ENH:Reworked CMake to clearer indicate what the variables do 2000-10-25 17:18 hoffman * Source/: cmSystemTools.cxx: BUG: remove tabs from classnames 2000-10-04 09:58 lorensen * CMakeVariables.make.in: Enh: Added TCLSH 2000-10-02 14:21 blezek * Source/CMakeBuildTargets.cxx: BUG: if the path to your source directory has a -S in it, it will be picked up as the source directory by the command line parser, because it matches -S at any character position in the argements. Bad, should have used getopt, except that it is not cross platform. 2000-10-02 13:50 blezek * CMakeVariables.make.in: ENH: Support for XML builds and Dashboard 2000-09-28 12:43 blezek * README: ENH: Added note about VERBATIM targets in CMakeList.txt 2000-09-27 15:01 hoffman * CMakeMaster.make.in, CMakeRules.make.in, CMakeVariables.make.in, README, Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h, Source/cmDSWWriter.cxx, Source/cmDSWWriter.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefile.cxx, Source/cmUnixMakefile.h: ENH: change ME to LIBRARY and added PROJECT, also remove ITK stuff and replaced with CMake 2000-09-21 13:45 hoffman * README, Source/CMakeBuildTargets.cxx, Source/CMakeSetupCMD.cxx, Source/cmCollectFlags.cxx, Source/cmCollectFlags.h, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmUnixMakefile.cxx, Source/itkVC60Configure.cxx, Source/itkVC60Configure.h: ENH: clean up code, and varible names 2000-09-18 10:19 hoffman * Source/cmUnixMakefile.cxx: BUG: remove cout 2000-09-18 09:19 hoffman * CMakeRules.make.in, CMakeVariables.make.in, README, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmMakeDepend.cxx, Source/cmUnixMakefile.cxx, Source/cmWindowsConfigure.cxx, Source/cmWindowsConfigure.h: ENH: added a config setup file for CMakeSetup. Cleaned up the names of the source and binary directories 2000-09-18 07:27 hoffman * Source/CMakeSetupCMD.dsp: ENH: remove unused files 2000-09-12 06:44 hoffman * CMakeRules.make.in, CMakeVariables.make.in: BUG: fix build in place source directory 2000-09-12 05:37 hoffman * Source/: cmCollectFlags.cxx, cmCollectFlags.h: NEW: class to collect all the flags from parent directories 2000-09-12 05:30 hoffman * CMakeMaster.make.in, CMakeRules.make.in, CMakeTargets.make.in, CMakeVariables.make.in, MakefileTemplate.in, README, Source/CMakeBuildTargets.cxx, Source/CMakeSetup.cxx, Source/CMakeSetup.dsw, Source/CMakeSetupCMD.cxx, Source/CMakeSetupCMD.dsp, Source/Makefile.in, Source/cmClassFile.cxx, Source/cmClassFile.h, Source/cmDSPBuilder.cxx, Source/cmDSPBuilder.h, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmDSWBuilder.cxx, Source/cmDSWBuilder.h, Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h, Source/cmDSWWriter.cxx, Source/cmDSWWriter.h, Source/cmMakeDepend.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmPCBuilder.cxx, Source/cmPCBuilder.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefile.cxx, Source/cmUnixMakefile.h, Source/cmWindowsConfigure.h, Source/itkVC60Configure.h: ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system. 2000-09-01 10:43 hoffman * Source/: EXEHeader.dsptemplate, cmSystemTools.cxx: BUG: fix release build on windows 2000-08-31 14:26 hoffman * CMakeVariables.make.in, Source/cmUnixMakefile.cxx: BUG: fix build of lib.a problem 2000-08-31 14:15 hoffman * Source/: CMakeSetup.dsw, cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: fix name of command line version in dsp files 2000-08-31 13:54 hoffman * CMakeSimpleRules.make, CMakeSimpleRules.make.in: BUG: fix for out of source build 2000-08-31 13:52 hoffman * CMakeSimpleRules.make: ENH: fix for Sgi make 2000-08-31 09:36 hoffman * CMakeRules.make.in, Source/Makefile.in, Source/cmUnixMakefile.cxx: ENH: fix for SGI make 2000-08-31 06:36 hoffman * CMakeVariables.make.in, README: ENH: clean things up a bit 2000-08-30 13:59 hoffman * Source/cmDirectory.cxx, Source/cmDirectory.h, MakefileTemplate.in: ENH: add ability to compile all the files in a sub-directory 2000-08-30 13:35 hoffman * CMakeRules.make.in, CMakeVariables.make.in, README, Source/CMakeSetupCMD.dsp, Source/Makefile.in, Source/cmClassFile.cxx, Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmUnixMakefile.cxx: ENH: move from tools and create working CMake program 2000-08-29 15:26 hoffman * CMakeMaster.make.in, CMakeRules.make.in, CMakeVariables.make.in, Source/CMakeBuildTargets.cxx, Source/CMakeSetup.cxx, Source/CMakeSetup.dsw, Source/CMakeSetupCMD.cxx, Source/CMakeSetupCMD.dsp, Source/EXEFooter.dsptemplate, Source/EXEHeader.dsptemplate, Source/Makefile.in, Source/cmClassFile.cxx, Source/cmClassFile.h, Source/cmDSPBuilder.cxx, Source/cmDSPBuilder.h, Source/cmDSPMakefile.cxx, Source/cmDSPMakefile.h, Source/cmDSPWriter.cxx, Source/cmDSPWriter.h, Source/cmDSWBuilder.cxx, Source/cmDSWBuilder.h, Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h, Source/cmDSWWriter.cxx, Source/cmDSWWriter.h, Source/cmMakeDepend.cxx, Source/cmMakeDepend.h, Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmPCBuilder.cxx, Source/cmPCBuilder.h, Source/cmRegularExpression.cxx, Source/cmRegularExpression.h, Source/cmSystemTools.cxx, Source/cmSystemTools.h, Source/cmUnixMakefile.cxx, Source/cmUnixMakefile.h, Source/cmWindowsConfigure.cxx, Source/cmWindowsConfigure.h, Source/itkVC60Configure.cxx, Source/itkVC60Configure.h, Source/staticLibFooter.dsptemplate, Source/staticLibHeader.dsptemplate, README: NEW: move from tools and config to create CMake 2000-08-29 10:56 hoffman * CMakeMaster.make.in, CMakeRules.make.in, CMakeVariables.make.in, dummy.in: [no log message] cmake-2.8.12.2/cmake_uninstall.cmake.in000644 000765 000024 00000001434 12266011635 020421 0ustar00kitwarestaff000000 000000 if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") endif() file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) string(REGEX REPLACE "\n" ";" files "${files}") foreach(file ${files}) message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") if(EXISTS "$ENV{DESTDIR}${file}") exec_program( "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" OUTPUT_VARIABLE rm_out RETURN_VALUE rm_retval ) if("${rm_retval}" STREQUAL 0) else() message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") endif() else() message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.") endif() endforeach() cmake-2.8.12.2/CMakeCPack.cmake000644 000765 000024 00000012531 12266011633 016523 0ustar00kitwarestaff000000 000000 #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2009 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # If the cmake version includes cpack, use it if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") if(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake") option(CMAKE_INSTALL_DEBUG_LIBRARIES "Install Microsoft runtime debug libraries with CMake." FALSE) mark_as_advanced(CMAKE_INSTALL_DEBUG_LIBRARIES) # By default, do not warn when built on machines using only VS Express: if(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON) endif() include(${CMake_SOURCE_DIR}/Modules/InstallRequiredSystemLibraries.cmake) endif() set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "CMake is a build tool") set(CPACK_PACKAGE_VENDOR "Kitware") set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt") set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt") set(CPACK_PACKAGE_VERSION "${CMake_VERSION}") set(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") set(CPACK_SOURCE_PACKAGE_FILE_NAME "cmake-${CMake_VERSION}") # Make this explicit here, rather than accepting the CPack default value, # so we can refer to it: set(CPACK_PACKAGE_NAME "${CMAKE_PROJECT_NAME}") # Installers for 32- vs. 64-bit CMake: # - Root install directory (displayed to end user at installer-run time) # - "NSIS package/display name" (text used in the installer GUI) # - Registry key used to store info about the installation if(CMAKE_CL_64) set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64") set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} (Win64)") set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION} (Win64)") else() set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES") set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}") endif() if(NOT DEFINED CPACK_SYSTEM_NAME) # make sure package is not Cygwin-unknown, for Cygwin just # cygwin is good for the system name if("${CMAKE_SYSTEM_NAME}" STREQUAL "CYGWIN") set(CPACK_SYSTEM_NAME Cygwin) else() set(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}) endif() endif() if(${CPACK_SYSTEM_NAME} MATCHES Windows) if(CMAKE_CL_64) set(CPACK_SYSTEM_NAME win64-x64) else() set(CPACK_SYSTEM_NAME win32-x86) endif() endif() if(NOT DEFINED CPACK_PACKAGE_FILE_NAME) # if the CPACK_PACKAGE_FILE_NAME is not defined by the cache # default to source package - system, on cygwin system is not # needed if(CYGWIN) set(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}") else() set(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}-${CPACK_SYSTEM_NAME}") endif() endif() set(CPACK_PACKAGE_CONTACT "cmake@cmake.org") if(UNIX) set(CPACK_STRIP_FILES "bin/ccmake;bin/cmake;bin/cpack;bin/ctest") set(CPACK_SOURCE_STRIP_FILES "") set(CPACK_PACKAGE_EXECUTABLES "ccmake" "CMake") endif() # cygwin specific packaging stuff if(CYGWIN) # setup the cygwin package name set(CPACK_PACKAGE_NAME cmake) # setup the name of the package for cygwin cmake-2.4.3 set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CMake_VERSION}") # the source has the same name as the binary set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) # Create a cygwin version number in case there are changes for cygwin # that are not reflected upstream in CMake set(CPACK_CYGWIN_PATCH_NUMBER 1 CACHE STRING "patch number for CMake cygwin packages") mark_as_advanced(CPACK_CYGWIN_PATCH_NUMBER) # These files are required by the cmCPackCygwinSourceGenerator and the files # put into the release tar files. set(CPACK_CYGWIN_BUILD_SCRIPT "${CMake_BINARY_DIR}/${CPACK_PACKAGE_FILE_NAME}-${CPACK_CYGWIN_PATCH_NUMBER}.sh") set(CPACK_CYGWIN_PATCH_FILE "${CMake_BINARY_DIR}/${CPACK_PACKAGE_FILE_NAME}-${CPACK_CYGWIN_PATCH_NUMBER}.patch") # include the sub directory cmake file for cygwin that # configures some files and adds some install targets # this file uses some of the package file name variables include(Utilities/Release/Cygwin/CMakeLists.txt) endif() set(CPACK_WIX_UPGRADE_GUID "8ffd1d72-b7f1-11e2-8ee5-00238bca4991") # Set the options file that needs to be included inside CMakeCPackOptions.cmake set(QT_DIALOG_CPACK_OPTIONS_FILE ${CMake_BINARY_DIR}/Source/QtDialog/QtDialogCPack.cmake) configure_file("${CMake_SOURCE_DIR}/CMakeCPackOptions.cmake.in" "${CMake_BINARY_DIR}/CMakeCPackOptions.cmake" @ONLY) set(CPACK_PROJECT_CONFIG_FILE "${CMake_BINARY_DIR}/CMakeCPackOptions.cmake") # include CPack model once all variables are set include(CPack) endif() cmake-2.8.12.2/CMakeCPackOptions.cmake.in000644 000765 000024 00000006554 12266011633 020514 0ustar00kitwarestaff000000 000000 # This file is configured at cmake time, and loaded at cpack time. # To pass variables to cpack from cmake, they must be configured # in this file. if(CPACK_GENERATOR MATCHES "NSIS") set(CPACK_NSIS_INSTALL_ROOT "@CPACK_NSIS_INSTALL_ROOT@") # set the install/unistall icon used for the installer itself # There is a bug in NSI that does not handle full unix paths properly. set(CPACK_NSIS_MUI_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico") set(CPACK_NSIS_MUI_UNIICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico") # set the package header icon for MUI set(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp") # tell cpack to create links to the doc files set(CPACK_NSIS_MENU_LINKS "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-gui.html" "cmake-gui Help" "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help" "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-properties.html" "CMake Properties and Variables Help" "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/ctest.html" "CTest Help" "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-modules.html" "CMake Modules Help" "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-commands.html" "CMake Commands Help" "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help" "http://www.cmake.org" "CMake Web Site" ) # Use the icon from cmake-gui for add-remove programs set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\cmake-gui.exe") set(CPACK_NSIS_PACKAGE_NAME "@CPACK_NSIS_PACKAGE_NAME@") set(CPACK_NSIS_DISPLAY_NAME "@CPACK_NSIS_PACKAGE_NAME@, a cross-platform, open-source build system") set(CPACK_NSIS_HELP_LINK "http://www.cmake.org") set(CPACK_NSIS_URL_INFO_ABOUT "http://www.kitware.com") set(CPACK_NSIS_CONTACT @CPACK_PACKAGE_CONTACT@) set(CPACK_NSIS_MODIFY_PATH ON) endif() # include the cpack options for qt dialog if they exist # they might not if qt was not enabled for the build include("@QT_DIALOG_CPACK_OPTIONS_FILE@" OPTIONAL) if(CPACK_GENERATOR MATCHES "CygwinSource") # when packaging source make sure the .build directory is not included set(CPACK_SOURCE_IGNORE_FILES "/CVS/" "/\\.build/" "/\\.svn/" "\\.swp$" "\\.#" "/#" "~$") endif() if("${CPACK_GENERATOR}" STREQUAL "PackageMaker") if(CMAKE_PACKAGE_QTGUI) set(CPACK_PACKAGE_DEFAULT_LOCATION "/Applications") else() set(CPACK_PACKAGE_DEFAULT_LOCATION "/usr") endif() endif() if("${CPACK_GENERATOR}" STREQUAL "WIX") # Reset CPACK_PACKAGE_VERSION to deal with WiX restriction. # But the file names still use the full CMake_VERSION value: set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-@CMake_VERSION@-${CPACK_SYSTEM_NAME}") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-@CMake_VERSION@-Source") if(NOT CPACK_WIX_SIZEOF_VOID_P) set(CPACK_WIX_SIZEOF_VOID_P "@CMAKE_SIZEOF_VOID_P@") endif() set(CPACK_PACKAGE_VERSION "@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@.@CMake_VERSION_PATCH@") # WIX installers require at most a 4 component version number, where # each component is an integer between 0 and 65534 inclusive set(tweak "@CMake_VERSION_TWEAK@") if(tweak MATCHES "^[0-9]+$") if(tweak GREATER 0 AND tweak LESS 65535) set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.${tweak}") endif() endif() endif() cmake-2.8.12.2/CMakeGraphVizOptions.cmake000644 000765 000024 00000000231 12266011633 020642 0ustar00kitwarestaff000000 000000 set(GRAPHVIZ_IGNORE_TARGETS "tartest;testSystemTools;testRegistry;testProcess;testIOS;testHashSTL;testFail;testCommandLineArguments;xrtest;LIBCURL;foo") cmake-2.8.12.2/CMakeLists.txt000644 000765 000024 00000061537 12266011633 016411 0ustar00kitwarestaff000000 000000 #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2012 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= cmake_minimum_required(VERSION 2.8.2 FATAL_ERROR) set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required project(CMake) if(CMAKE_BOOTSTRAP) # Running from bootstrap script. Set local variable and remove from cache. set(CMAKE_BOOTSTRAP 1) unset(CMAKE_BOOTSTRAP CACHE) endif() set(CMake_BIN_DIR ${CMake_BINARY_DIR}/bin) if("${CMake_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") # Disallow architecture-specific try_run. It may not run on the host. macro(TRY_RUN) if(CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) message(FATAL_ERROR "TRY_RUN not allowed with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES=[${CMAKE_TRY_COMPILE_OSX_ARCHITECTURES}]") else() _TRY_RUN(${ARGV}) endif() endmacro() endif() #----------------------------------------------------------------------- # a macro to deal with system libraries, implemented as a macro # simply to improve readability of the main script #----------------------------------------------------------------------- macro(CMAKE_HANDLE_SYSTEM_LIBRARIES) # Options have dependencies. include(CMakeDependentOption) # Optionally use system xmlrpc. We no longer build or use it by default. option(CTEST_USE_XMLRPC "Enable xmlrpc submission method in CTest." OFF) mark_as_advanced(CTEST_USE_XMLRPC) # Allow the user to enable/disable all system utility library options by # defining CMAKE_USE_SYSTEM_LIBRARIES or CMAKE_USE_SYSTEM_LIBRARY_${util}. set(UTILITIES BZIP2 CURL EXPAT LIBARCHIVE ZLIB) foreach(util ${UTILITIES}) if(NOT DEFINED CMAKE_USE_SYSTEM_LIBRARY_${util} AND DEFINED CMAKE_USE_SYSTEM_LIBRARIES) set(CMAKE_USE_SYSTEM_LIBRARY_${util} "${CMAKE_USE_SYSTEM_LIBRARIES}") endif() if(DEFINED CMAKE_USE_SYSTEM_LIBRARY_${util}) if(CMAKE_USE_SYSTEM_LIBRARY_${util}) set(CMAKE_USE_SYSTEM_LIBRARY_${util} ON) else() set(CMAKE_USE_SYSTEM_LIBRARY_${util} OFF) endif() if(CMAKE_BOOTSTRAP) unset(CMAKE_USE_SYSTEM_LIBRARY_${util} CACHE) endif() string(TOLOWER "${util}" lutil) set(CMAKE_USE_SYSTEM_${util} "${CMAKE_USE_SYSTEM_LIBRARY_${util}}" CACHE BOOL "Use system-installed ${lutil}" FORCE) else() set(CMAKE_USE_SYSTEM_LIBRARY_${util} OFF) endif() endforeach() if(CMAKE_BOOTSTRAP) unset(CMAKE_USE_SYSTEM_LIBRARIES CACHE) endif() # Optionally use system utility libraries. option(CMAKE_USE_SYSTEM_LIBARCHIVE "Use system-installed libarchive" "${CMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE}") CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_CURL "Use system-installed curl" "${CMAKE_USE_SYSTEM_LIBRARY_CURL}" "NOT CTEST_USE_XMLRPC" ON) CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_EXPAT "Use system-installed expat" "${CMAKE_USE_SYSTEM_LIBRARY_EXPAT}" "NOT CTEST_USE_XMLRPC" ON) CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_ZLIB "Use system-installed zlib" "${CMAKE_USE_SYSTEM_LIBRARY_ZLIB}" "NOT CMAKE_USE_SYSTEM_LIBARCHIVE;NOT CMAKE_USE_SYSTEM_CURL" ON) CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_BZIP2 "Use system-installed bzip2" "${CMAKE_USE_SYSTEM_LIBRARY_BZIP2}" "NOT CMAKE_USE_SYSTEM_LIBARCHIVE" ON) # Mention to the user what system libraries are being used. foreach(util ${UTILITIES}) if(CMAKE_USE_SYSTEM_${util}) message(STATUS "Using system-installed ${util}") endif() endforeach() # Inform utility library header wrappers whether to use system versions. configure_file(${CMake_SOURCE_DIR}/Utilities/cmThirdParty.h.in ${CMake_BINARY_DIR}/Utilities/cmThirdParty.h @ONLY) endmacro() set(CMAKE_BUILD_ON_VISUAL_STUDIO 0) if(WIN32 AND NOT UNIX AND NOT BORLAND AND NOT MINGW ) set(CMAKE_BUILD_ON_VISUAL_STUDIO 1) endif() #----------------------------------------------------------------------- # a macro to determine the generator and ctest executable to use # for testing. Simply to improve readability of the main script. #----------------------------------------------------------------------- macro(CMAKE_SETUP_TESTING) if (NOT DART_ROOT) set(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM}) endif () if(BUILD_TESTING) set(CMAKE_TEST_GENERATOR "" CACHE STRING "Generator used when running tests") set(CMAKE_TEST_MAKEPROGRAM "" CACHE FILEPATH "Generator used when running tests") if(NOT CMAKE_TEST_GENERATOR) set(CMAKE_TEST_GENERATOR "${CMAKE_GENERATOR}") set(CMAKE_TEST_GENERATOR_TOOLSET "${CMAKE_GENERATOR_TOOLSET}") set(CMAKE_TEST_MAKEPROGRAM "${MAKEPROGRAM}") else() set(CMAKE_TEST_DIFFERENT_GENERATOR TRUE) set(CMAKE_TEST_GENERATOR_TOOLSET "") endif() # Are we testing with the MSVC compiler? set(CMAKE_TEST_MSVC 0) if(MSVC AND NOT CMAKE_TEST_DIFFERENT_GENERATOR) set(CMAKE_TEST_MSVC 1) else() if("${CMAKE_TEST_GENERATOR}" MATCHES "NMake" OR "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio") set(CMAKE_TEST_MSVC 1) endif() endif() set(CMAKE_TEST_SYSTEM_LIBRARIES 0) foreach(util CURL EXPAT XMLRPC ZLIB) if(CMAKE_USE_SYSTEM_${util}) set(CMAKE_TEST_SYSTEM_LIBRARIES 1) endif() endforeach() # This variable is set by cmake, however to # test cmake we want to make sure that # the ctest from this cmake is used for testing # and not the ctest from the cmake building and testing # cmake. set(CMAKE_CTEST_COMMAND "${CMake_BIN_DIR}/ctest") set(CMAKE_CMAKE_COMMAND "${CMake_BIN_DIR}/cmake") set(CMAKE_CPACK_COMMAND "${CMake_BIN_DIR}/cpack") endif() # configure some files for testing configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Templates/CTestScript.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/CTestScript.cmake" @ONLY) configure_file(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage ${CMake_BINARY_DIR}/Tests/.NoDartCoverage) configure_file(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage ${CMake_BINARY_DIR}/Modules/.NoDartCoverage) configure_file(${CMake_SOURCE_DIR}/CTestCustom.cmake.in ${CMake_BINARY_DIR}/CTestCustom.cmake @ONLY) configure_file(${CMake_SOURCE_DIR}/CTestCustom.ctest.in ${CMake_BINARY_DIR}/CTestCustom.ctest @ONLY) if(BUILD_TESTING AND DART_ROOT) configure_file(${CMake_SOURCE_DIR}/CMakeLogo.gif ${CMake_BINARY_DIR}/Testing/HTML/TestingResults/Icons/Logo.gif COPYONLY) endif() mark_as_advanced(DART_ROOT) mark_as_advanced(CURL_TESTING) endmacro() # Provide a way for Visual Studio Express users to turn OFF the new FOLDER # organization feature. Default to ON for non-Express users. Express users must # explicitly turn off this option to build CMake in the Express IDE... # option(CMAKE_USE_FOLDERS "Enable folder grouping of projects in IDEs." ON) mark_as_advanced(CMAKE_USE_FOLDERS) #----------------------------------------------------------------------- # a macro that only sets the FOLDER target property if it's # "appropriate" #----------------------------------------------------------------------- macro(CMAKE_SET_TARGET_FOLDER tgt folder) if(CMAKE_USE_FOLDERS) set_property(GLOBAL PROPERTY USE_FOLDERS ON) # Really, I just want this to be an "if(TARGET ${tgt})" ... # but I'm not sure that our min req'd., CMake 2.4.5 can handle # that... so I'm just activating this for now, with a version # compare, and only for MSVC builds. if(MSVC) if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 2.8) set_property(TARGET "${tgt}" PROPERTY FOLDER "${folder}") endif() endif() else() set_property(GLOBAL PROPERTY USE_FOLDERS OFF) endif() endmacro() #----------------------------------------------------------------------- # a macro to build the utilities used by CMake # Simply to improve readability of the main script. #----------------------------------------------------------------------- macro (CMAKE_BUILD_UTILITIES) #--------------------------------------------------------------------- # Create the KWIML library for CMake. set(KWIML cmIML) set(KWIML_HEADER_ROOT ${CMake_BINARY_DIR}/Utilities) add_subdirectory(Utilities/KWIML) #--------------------------------------------------------------------- # Create the kwsys library for CMake. set(KWSYS_NAMESPACE cmsys) set(KWSYS_USE_SystemTools 1) set(KWSYS_USE_Directory 1) set(KWSYS_USE_RegularExpression 1) set(KWSYS_USE_Base64 1) set(KWSYS_USE_MD5 1) set(KWSYS_USE_Process 1) set(KWSYS_USE_CommandLineArguments 1) set(KWSYS_HEADER_ROOT ${CMake_BINARY_DIR}/Source) set(KWSYS_INSTALL_DOC_DIR "${CMAKE_DOC_DIR}") add_subdirectory(Source/kwsys) set(kwsys_folder "Utilities/KWSys") CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE} "${kwsys_folder}") CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}_c "${kwsys_folder}") if(BUILD_TESTING) CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestDynload "${kwsys_folder}") CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestProcess "${kwsys_folder}") CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestsC "${kwsys_folder}") CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestsCxx "${kwsys_folder}") CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestSharedForward "${kwsys_folder}") endif() #--------------------------------------------------------------------- # Setup third-party libraries. # Everything in the tree should be able to include files from the # Utilities directory. include_directories( ${CMake_BINARY_DIR}/Utilities ${CMake_SOURCE_DIR}/Utilities ) # check for the use of system libraries versus builtin ones # (a macro defined in this file) CMAKE_HANDLE_SYSTEM_LIBRARIES() #--------------------------------------------------------------------- # Build zlib library for Curl, CMake, and CTest. set(CMAKE_ZLIB_HEADER "cm_zlib.h") if(CMAKE_USE_SYSTEM_ZLIB) find_package(ZLIB) if(NOT ZLIB_FOUND) message(FATAL_ERROR "CMAKE_USE_SYSTEM_ZLIB is ON but a zlib is not found!") endif() set(CMAKE_ZLIB_INCLUDES ${ZLIB_INCLUDE_DIR}) set(CMAKE_ZLIB_LIBRARIES ${ZLIB_LIBRARIES}) else() set(CMAKE_ZLIB_INCLUDES ${CMake_SOURCE_DIR}/Utilities) set(CMAKE_ZLIB_LIBRARIES cmzlib) add_subdirectory(Utilities/cmzlib) CMAKE_SET_TARGET_FOLDER(cmzlib "Utilities/3rdParty") endif() #--------------------------------------------------------------------- # Build Curl library for CTest. if(CMAKE_USE_SYSTEM_CURL) find_package(CURL) if(NOT CURL_FOUND) message(FATAL_ERROR "CMAKE_USE_SYSTEM_CURL is ON but a curl is not found!") endif() set(CMAKE_CURL_INCLUDES ${CURL_INCLUDE_DIRS}) set(CMAKE_CURL_LIBRARIES ${CURL_LIBRARIES}) else() set(CURL_SPECIAL_ZLIB_H ${CMAKE_ZLIB_HEADER}) set(CURL_SPECIAL_LIBZ_INCLUDES ${CMAKE_ZLIB_INCLUDES}) set(CURL_SPECIAL_LIBZ ${CMAKE_ZLIB_LIBRARIES}) option(CMAKE_BUILD_CURL_SHARED "Should curl be built shared" FALSE) if(NOT CMAKE_BUILD_CURL_SHARED) add_definitions(-DCURL_STATICLIB) endif() set(CMAKE_CURL_INCLUDES) set(CMAKE_CURL_LIBRARIES cmcurl) if(CMAKE_TESTS_CDASH_SERVER) set(CMAKE_CURL_TEST_URL "${CMAKE_TESTS_CDASH_SERVER}/user.php") endif() add_subdirectory(Utilities/cmcurl) CMAKE_SET_TARGET_FOLDER(cmcurl "Utilities/3rdParty") CMAKE_SET_TARGET_FOLDER(LIBCURL "Utilities/3rdParty") endif() #--------------------------------------------------------------------- # Build Compress library for CTest. set(CMAKE_COMPRESS_INCLUDES "${CMAKE_CURRENT_BINARY_DIR}/Utilities/cmcompress") set(CMAKE_COMPRESS_LIBRARIES "cmcompress") add_subdirectory(Utilities/cmcompress) CMAKE_SET_TARGET_FOLDER(cmcompress "Utilities/3rdParty") if(CMAKE_USE_SYSTEM_BZIP2) find_package(BZip2) else() set(BZIP2_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Utilities/cmbzip2") set(BZIP2_LIBRARIES cmbzip2) add_subdirectory(Utilities/cmbzip2) CMAKE_SET_TARGET_FOLDER(cmbzip2 "Utilities/3rdParty") endif() #--------------------------------------------------------------------- # Build or use system libarchive for CMake and CTest. if(CMAKE_USE_SYSTEM_LIBARCHIVE) if(EXISTS ${CMAKE_ROOT}/Modules/FindLibArchive.cmake) # added in 2.8.3 find_package(LibArchive) else() include(${CMake_SOURCE_DIR}/Modules/FindLibArchive.cmake) endif() if(NOT LibArchive_FOUND) message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBARCHIVE is ON but LibArchive is not found!") endif() set(CMAKE_TAR_INCLUDES ${LibArchive_INCLUDE_DIRS}) set(CMAKE_TAR_LIBRARIES ${LibArchive_LIBRARIES}) else() set(ZLIB_INCLUDE_DIR ${CMAKE_ZLIB_INCLUDES}) set(ZLIB_LIBRARY ${CMAKE_ZLIB_LIBRARIES}) add_definitions(-DLIBARCHIVE_STATIC) set(ENABLE_NETTLE OFF CACHE INTERNAL "Enable use of Nettle") set(ENABLE_OPENSSL ${CMAKE_USE_OPENSSL} CACHE INTERNAL "Enable use of OpenSSL") set(ENABLE_XATTR OFF CACHE INTERNAL "Enable extended attribute support") set(ENABLE_ACL OFF CACHE INTERNAL "Enable ACL support") set(ENABLE_ICONV OFF CACHE INTERNAL "Enable iconv support") add_subdirectory(Utilities/cmlibarchive) CMAKE_SET_TARGET_FOLDER(cmlibarchive "Utilities/3rdParty") set(CMAKE_TAR_LIBRARIES cmlibarchive ${BZIP2_LIBRARIES}) endif() #--------------------------------------------------------------------- # Build expat library for CMake and CTest. if(CMAKE_USE_SYSTEM_EXPAT) find_package(EXPAT) if(NOT EXPAT_FOUND) message(FATAL_ERROR "CMAKE_USE_SYSTEM_EXPAT is ON but a expat is not found!") endif() set(CMAKE_EXPAT_INCLUDES ${EXPAT_INCLUDE_DIRS}) set(CMAKE_EXPAT_LIBRARIES ${EXPAT_LIBRARIES}) else() set(CMAKE_EXPAT_INCLUDES) set(CMAKE_EXPAT_LIBRARIES cmexpat) add_subdirectory(Utilities/cmexpat) CMAKE_SET_TARGET_FOLDER(cmexpat "Utilities/3rdParty") endif() #--------------------------------------------------------------------- # Build XMLRPC library for CMake and CTest. if(CTEST_USE_XMLRPC) find_package(XMLRPC QUIET REQUIRED libwww-client) if(NOT XMLRPC_FOUND) message(FATAL_ERROR "CTEST_USE_XMLRPC is ON but xmlrpc is not found!") endif() set(CMAKE_XMLRPC_INCLUDES ${XMLRPC_INCLUDE_DIRS}) set(CMAKE_XMLRPC_LIBRARIES ${XMLRPC_LIBRARIES}) endif() #--------------------------------------------------------------------- # Use curses? if (UNIX) # there is a bug in the Syllable libraries which makes linking ccmake fail, Alex if(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable) set(CURSES_NEED_NCURSES TRUE) find_package(Curses QUIET) if (CURSES_LIBRARY) option(BUILD_CursesDialog "Build the CMake Curses Dialog ccmake" ON) else () message("Curses libraries were not found. Curses GUI for CMake will not be built.") set(BUILD_CursesDialog 0) endif () else() set(BUILD_CursesDialog 0) endif() else () set(BUILD_CursesDialog 0) endif () if(BUILD_CursesDialog) add_subdirectory(Source/CursesDialog/form) endif() endmacro () #----------------------------------------------------------------------- if(CMAKE_CXX_PLATFORM_ID MATCHES "OpenBSD") execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} -dumpversion OUTPUT_VARIABLE _GXX_VERSION ) string(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2" _GXX_VERSION_SHORT ${_GXX_VERSION}) if(_GXX_VERSION_SHORT EQUAL 33) message(FATAL_ERROR "GXX 3.3 on OpenBSD is known to cause CPack to Crash.\n" "Please use GXX 4.2 or greater to build CMake on OpenBSD\n" "${CMAKE_CXX_COMPILER} version is: ${_GXX_VERSION}") endif() endif() #----------------------------------------------------------------------- # The main section of the CMakeLists file # #----------------------------------------------------------------------- include(Source/CMakeVersion.cmake) # Releases define a small tweak level. if("${CMake_VERSION_TWEAK}" VERSION_LESS 20000000) set(CMake_VERSION_IS_RELEASE 1) set(CMake_VERSION_SOURCE "") else() set(CMake_VERSION_IS_RELEASE 0) include(${CMake_SOURCE_DIR}/Source/CMakeVersionSource.cmake) endif() # Compute the full version string. set(CMake_VERSION ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}) if(${CMake_VERSION_TWEAK} GREATER 0) set(CMake_VERSION ${CMake_VERSION}.${CMake_VERSION_TWEAK}) endif() if(CMake_VERSION_RC) set(CMake_VERSION ${CMake_VERSION}-rc${CMake_VERSION_RC}) endif() if(CMake_VERSION_SOURCE) set(CMake_VERSION ${CMake_VERSION}-${CMake_VERSION_SOURCE}) endif() # Include the standard Dart testing module enable_testing() include (${CMAKE_ROOT}/Modules/Dart.cmake) # Set up test-time configuration. set_directory_properties(PROPERTIES TEST_INCLUDE_FILE "${CMake_BINARY_DIR}/Tests/EnforceConfig.cmake") # where to write the resulting executables and libraries set(BUILD_SHARED_LIBS OFF) set(EXECUTABLE_OUTPUT_PATH "" CACHE INTERNAL "No configurable exe dir.") set(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL "Where to put the libraries for CMake") # The CMake executables usually do not need any rpath to run in the build or # install tree. set(CMAKE_SKIP_RPATH ON CACHE INTERNAL "CMake does not need RPATHs.") set(CMAKE_DATA_DIR "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}" CACHE STRING "Install location for data (relative to prefix).") set(CMAKE_DOC_DIR "doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}" CACHE STRING "Install location for documentation (relative to prefix).") set(CMAKE_MAN_DIR "man" CACHE STRING "Install location for man pages (relative to prefix).") mark_as_advanced(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR) if(CYGWIN AND EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") # Force doc, data and man dirs to conform to cygwin layout. set(CMAKE_DOC_DIR "share/doc/cmake-${CMake_VERSION}") set(CMAKE_DATA_DIR "share/cmake-${CMake_VERSION}") set(CMAKE_MAN_DIR "share/man") # let the user know we just forced these values message(STATUS "Setup for Cygwin packaging") message(STATUS "Override cache CMAKE_DOC_DIR = ${CMAKE_DOC_DIR}") message(STATUS "Override cache CMAKE_DATA_DIR = ${CMAKE_DATA_DIR}") message(STATUS "Override cache CMAKE_MAN_DIR = ${CMAKE_MAN_DIR}") endif() string(REGEX REPLACE "^/" "" CMAKE_DATA_DIR "${CMAKE_DATA_DIR}") string(REGEX REPLACE "^/" "" CMAKE_DOC_DIR "${CMAKE_DOC_DIR}") string(REGEX REPLACE "^/" "" CMAKE_MAN_DIR "${CMAKE_MAN_DIR}") if(BUILD_TESTING) include(${CMake_SOURCE_DIR}/Tests/CMakeInstall.cmake) endif() # include special compile flags for some compilers include(CompileFlags.cmake) # no clue why we are testing for this here include(CheckSymbolExists) CHECK_SYMBOL_EXISTS(unsetenv "stdlib.h" HAVE_UNSETENV) CHECK_SYMBOL_EXISTS(environ "stdlib.h" HAVE_ENVIRON_NOT_REQUIRE_PROTOTYPE) # CMAKE_TESTS_CDASH_SERVER: CDash server used by CMake/Tests. # # If not defined or "", this variable defaults to the server at # http://www.cdash.org/CDash. # # If set explicitly to "NOTFOUND", curl tests and ctest tests that use # the network are skipped. # # If set to something starting with "http://localhost/", the CDash is # expected to be an instance of CDash used for CDash testing, pointing # to a cdash4simpletest database. In these cases, the CDash dashboards # should be run first. # if("x${CMAKE_TESTS_CDASH_SERVER}" STREQUAL "x") set(CMAKE_TESTS_CDASH_SERVER "http://www.cdash.org/CDash") endif() # build the utilities (a macro defined in this file) CMAKE_BUILD_UTILITIES() # On NetBSD ncurses is required, since curses doesn't have the wsyncup() # function. ncurses is installed via pkgsrc, so the library is in /usr/pkg/lib, # which isn't in the default linker search path. So without RPATH ccmake # doesn't run and the build doesn't succeed since ccmake is executed for # generating the documentation. if(BUILD_CursesDialog) get_filename_component(_CURSES_DIR "${CURSES_LIBRARY}" PATH) set(CURSES_NEED_RPATH FALSE) if(NOT "${_CURSES_DIR}" STREQUAL "/lib" AND NOT "${_CURSES_DIR}" STREQUAL "/usr/lib" AND NOT "${_CURSES_DIR}" STREQUAL "/lib64" AND NOT "${_CURSES_DIR}" STREQUAL "/usr/lib64") set(CURSES_NEED_RPATH TRUE) endif() endif() if(BUILD_QtDialog) if(APPLE) set(CMAKE_BUNDLE_NAME "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}-${CMake_VERSION_PATCH}") set(CMAKE_BUNDLE_LOCATION "${CMAKE_INSTALL_PREFIX}") # make sure CMAKE_INSTALL_PREFIX ends in / string(LENGTH "${CMAKE_INSTALL_PREFIX}" LEN) math(EXPR LEN "${LEN} -1" ) string(SUBSTRING "${CMAKE_INSTALL_PREFIX}" ${LEN} 1 ENDCH) if(NOT "${ENDCH}" STREQUAL "/") set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/") endif() set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}${CMAKE_BUNDLE_NAME}.app/Contents") endif() set(QT_NEED_RPATH FALSE) if(NOT "${QT_LIBRARY_DIR}" STREQUAL "/lib" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/usr/lib" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/lib64" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/usr/lib64") set(QT_NEED_RPATH TRUE) endif() endif() # The same might be true on other systems for other libraries. # Then only enable RPATH if we have are building at least with cmake 2.4, # since this one has much better RPATH features than cmake 2.2. # The executables are then built with the RPATH for the libraries outside # the build tree, which is both the build and the install RPATH. if (UNIX) if( CMAKE_USE_SYSTEM_CURL OR CMAKE_USE_SYSTEM_ZLIB OR CMAKE_USE_SYSTEM_EXPAT OR CTEST_USE_XMLRPC OR CURSES_NEED_RPATH OR QT_NEED_RPATH) set(CMAKE_SKIP_RPATH OFF CACHE INTERNAL "CMake built with RPATH.") set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) endif() endif () # add the uninstall support configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" @ONLY) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") include (CMakeCPack.cmake) # setup some Testing support (a macro defined in this file) CMAKE_SETUP_TESTING() configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/DartLocal.conf.in" "${CMAKE_CURRENT_BINARY_DIR}/DartLocal.conf" COPYONLY) option(CMAKE_STRICT "Perform strict testing to record property and variable access. Can be used to report any undefined properties or variables" OFF) mark_as_advanced(CMAKE_STRICT) if(NOT CMake_VERSION_IS_RELEASE) if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND NOT "${CMAKE_C_COMPILER_VERSION}" VERSION_LESS 4.2) set(C_FLAGS_LIST -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -Wundef ) set(CXX_FLAGS_LIST -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W -Wshadow -Wpointer-arith -Wformat-security -Wundef ) foreach(FLAG_LANG C CXX) foreach(FLAG ${${FLAG_LANG}_FLAGS_LIST}) if(NOT " ${CMAKE_${FLAG_LANG}_FLAGS} " MATCHES " ${FLAG} ") set(CMAKE_${FLAG_LANG}_FLAGS "${CMAKE_${FLAG_LANG}_FLAGS} ${FLAG}") endif() endforeach() endforeach() unset(C_FLAGS_LIST) unset(CXX_FLAGS_LIST) endif() endif() # build the remaining subdirectories add_subdirectory(Source) add_subdirectory(Utilities) add_subdirectory(Tests) if(BUILD_TESTING) CMAKE_SET_TARGET_FOLDER(CMakeLibTests "Tests") endif() CMAKE_SET_TARGET_FOLDER(cmw9xcom "Utilities/Win9xCompat") CMAKE_SET_TARGET_FOLDER(documentation "Documentation") # add a test add_test(SystemInformationNew "${CMAKE_CMAKE_COMMAND}" --system-information -G "${CMAKE_TEST_GENERATOR}" ) # Install license file as it requires. install(FILES Copyright.txt DESTINATION ${CMAKE_DOC_DIR}) # Install script directories. install( DIRECTORY Modules Templates DESTINATION ${CMAKE_DATA_DIR} FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ DIRECTORY_PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE PATTERN "*.sh*" PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE ) # process docs related install add_subdirectory(Docs) #----------------------------------------------------------------------- # End of the main section of the CMakeLists file #----------------------------------------------------------------------- # As a special case when building CMake itself, CMake 2.8.0 and below # look up EXECUTABLE_OUTPUT_PATH in the top-level CMakeLists.txt file # to compute the location of the "cmake" executable. We set it here # so that those CMake versions can find it. We wait until after all # the add_subdirectory() calls to avoid affecting the subdirectories. set(EXECUTABLE_OUTPUT_PATH ${CMake_BIN_DIR}) cmake-2.8.12.2/CMakeLogo.gif000644 000765 000024 00000010601 12266011633 016123 0ustar00kitwarestaff000000 000000 GIF89a–=÷¦##˝))Ă˙/W‰‰‰•˙wôôôüttt˙OlădddŃ++\ŚŚ˙”””{{{kkkDDŇíííűTS¬z«ąąű¬ý‰ÎήĂĺĺ帎ą;;ІĘmŇńńńĘ%%éCC´s˙YIIISSSµµÍńLKÚ33 1\\\w‹‘â;=­‰33ÍáááŮŮŮ˝˝Ľz&m ŐŐŐŞ65˙\^ęęęş‚‚‚JJÖ2J¦ÝÝݨ¨¨ĄĄĄşşąşüüüĘ ŚCCCŃwm]]ÜĆĆĆĂ+++®®®ÎÎÎ99ę9NÇŃiNXVäggţ333||˙ĹáC1ĘĘĘžžžiVmµµµ·˛ˇˇˇă(&iQ!úúúZ[𯮕"""ÁÁŔ´gW˙egŮÓ:::Ć ¨ŘMGŘŘ˙ČŘŘŢ———÷÷÷LŃŃŃ­­ţFGę“f“TTŮ99Î÷9:“¨¨·wpVKq˛˛˛˝˝é4”2ÉÉ˙QQׂbeí Ľkj썍‚““†'(܇,,ýKK…Ö00÷QQMMÖ9˙,˙?^úúŕîHHĺ?@Ý77p°‚6E~5¬“śť¦—d^ýCCŞŞ¶ˇˇ«ccßX˙G^`÷NTëćXEĄ¸ą±­žž•67K%:˝0 T?AáH+“ę.>›››ţXWőONţţţżżż»»»ćppěw`ă00ooůŐŐĚłł¶ďďć2@ŰM=Şä‹žŔ‚ĚŰ˙âaaś™ž@@Ѱ ëkU··±ĹĚĚ'˙˙ Ö3%«««ĂÄÄ//Č$;ťGGÔŽŹŽ›ś˙µąĽP5]¤˙˙ösjn¸··Ű~r~Öv¤Ćď00ß?ç9*źŤź©©ĄśśÍ11=-0Ö)#8€XXŮاśR{SPOŮ*„¦<9ˇ©©~~qŻŻŻhptm[𮞣GHüI˙9_]âŕÁ°°ţ]edŤ€’+¤˙T[˙˙˙!ů,–=˙˙ H° Á! \ȰˇĂ‡#JśH±`µ;L*jÜȱŁGŠ+6dúH˛¤É“ ýës Ę—0cV,F “W2sęÜ)p\›Qf1šĆł¨Q’4–Rä¨Ó§»´ÁC…G5Ś@ÝĘŐ (étńč¤Fήhˇ¦jC*”Ř2"°ęi â ‡Ö^˝ăÄčáCZ>ŕ ečÉ 5kÔśE©!–Š%cƤYŔÄ0A!XÔ:8A‚…Dd‰†Ăkw„rëMdF M 0Çźďßľ‹Ľcż»řv¦q‚q%ŁýDEĐ‘#ˇžd9Ç(îäŹ0H˙ďŹÄ‚±|“.0Îß?46ůŤv iŘŹ"ĄŻŮšŰő}¤Á{ż-¤áĎt†xţ,qAÎü_EĘůËaÔ=rv¤Ř´†Ţ á‘Eü6Çţ#„XTĂoĂÄđţlXľ!aKZḃ؅Ń$š˘†)rÄŁocüčĐ“ţ¸0Ú@Î ń›KŃĂĎ\ÚA%@YA¤‰‰QĂ3IŚY’ şěE:é\7 :PŚ(B’ÁQZú3LF0ĆoHt1)ţFÔŁÓ¤1Ć0. 3 DËľM1!,1Ĺ€&iĚá‚ ›Ć˙C"8'x1J4Ph0Gü¶›)ę›V٢¬?Ě ô¨äą0©@<§‚^ŞýVD~ ”ŽŔ!-G&H!첛Ξ˝&©®°'‘‹šD*ڇÜ?´” Ü\M„¦¬ý6 Őâ‚oőűŔo$ČůŹ6ű¦ésţ áGGAľ€‡ íâĆ*WýiJhň/EZüV‚ Á/Ĺ‚&ń¬?äCMô"ˇÍ@éÁGËÄľ•0ś@W<7ŚA7Aˇëˇ†1ʰó $ăF4)˙ů'™¨JżťËĐ=>·˙ôkhˇM"”!ţ˙öˇ2ŰôÓ.čBß+¸ ŤŃ Í#łĂŘbŻŇÉ6ć 9¦ K„HhńOÁôBăťqŢ˙¸ůD`7Ě $đ‘Gř?>ü`F·U^±‘ ap°Ăň;Dî!4x‘ąć9l“6EÔşĐÄC1dZş@ÓS$ńśçâ–°ło.ýĎäöřqAú“F *” ż ůα}E‡°@v .r‚‚/˛d ĚŔ6r ŠäËgrČz¤Ťôf0ŕŕß  #Ď‚ôŹÜ 83#zŁÂń¤n1A=ňĐ H@d;˙^+ü)‚,łžg"BC$Ď!Š›‚>°¨… %ôG˙!©  ¶pFľć&( Ęş’@ž‘14şńŤhD˛$r:ŔŔă¸v´˘Ąp`9H/b‹Á‘ŁrĽů%wúG+(ĹÍ!áÂAľH@3,ĐČvN¸ţˇ…BE€th‚*W©ĘÝEÄvx1f‰GcHcŹěđ&–ABfßČD‹"0aŽŇ˘C¸ţ†„+1Í7i8ĎhX‚4Á{ą}ň$$ÄżqÁľâ‡B˝¬$uÜ‚18@ËYúpŹv@2ÔŕKŘÓ 6¨fD<Ů˙ŁÜ „E‚a&°É ÁQ˘bÓţńBéH ł{€@H%†Ń"”/kÂsćAâ,±"p4ň@R°“–y”†Ú zÖS‚ÁtĺBđś4LŁ Ó(AĆ“Ąe5 kRhyţ‘´ňŔ`1x¦?| ( ž±…Š2-ˇ =čÁ3ŕ.[xIKÚNw®´Ą´§=Lč" ­áoćÂ4˙  Ý@ĄZh3ścx–7±•1Đ Eżńg…ĆŁ,Nj¤VČĂ Ä:V“žÔvŕĐđKµ®•zČ„LŽŤ„č^Óh&÷¨@mďË×ô˘TŤ˙3kRőŤ?˙‘ˇ*utëkÚ0#2jTA˛“ťěXó`ŇYÖĂ|đÔĘ€ę2 ß( &RLaH€ Đ]$(Aí(9čE€aâ‡V Ătd0†±Š é%čöôˇS˙¸B–0M™Îk˘ţ@#ą¦lŚá9¬@Űčěg«Ű=4Ŕb1@jPŔ`B EŚ ˘b{ąĂH`Đ„KĐŔ(i!cdŢ})Ȳ ŹRd@4¦ü‚ _8ą DĘidş•`'ŔÂ…ČőŮĐŽ¶´§MíŽAdT(D­iŤhŕÚ ÄjA24álŘF±Q i$»ž`Á§ Mď X [Ŕ¬·íínČá’0 n eěhČ´¦‘ýnJ°`̦7ˇ±­ }[ĽÖqŢr/xmt\ĎŘĂ-¶qědłŕä˙§„'B0…†ŕ›íD&P‚˙ äjBäX4( Î@fz/ Ta Hşľ“ţMĚ»ř„¦Nu[ěÁŰ`7˛Ý}rP"_‡řň4LŔád} \NnχqŘ.@!<‚€fzam{–ŕ¨Ŕ/j‹Ă>fď!3Đ…&’Nů¤;Aר…śÁůÎ;#W˙Ć»Î+|=¨_Ä$\ŤŚAmXzqđ)¤! [Â4&p™‡~ćS Z‡% ÎĆ&6,gŘľ(p®ßťß‡ 6—PźâsĐ˙´âü4ˇ!0°@!P¤S>–Č>Đ…Ô˙ţö÷ÁîÜn“Sâô““0 ýĐădcp-t€L0d $ sđ  K &8ĐĂ0 pŕ1 ŰE>0-p€05` s 01Ŕ}tŕ0X@Kŕ0˛"ŕpPĂRL0:pK E€0(0 y“ç~łÖ –đ °đ ©€±ŕ…`äĐz€)çu¨—†x‹0 Px.0`˙ŕ K`"ăETS@ð8.\ c qŔQ* °i`-ř˙b$ř%0,>°¶P˙0|q ő1Ď -EPiPi°E0 pP ľ‘%0¨Řr Q  [p‹·… Á`„ €0 ĹđĆhŚp°-ŕ (Đu`—†8€“p˛ 2pćň>@ŰE Sŕřó٢=€q‚ź¦si đ…/Lŕ|¶SýU7_”‚‚%ŕŤX52.Iŕ @śHŠR :éőň µŔ8qŁ`‹¸¨‹rpËđ p„ Çpw°âđÓ0 °‡Đfxz¨'ŤÓ8Ť'@đ†H˙ Ú˙ň„:8‚ °ńüCÜäŻ`0L°` €Ő>0K°!0%ŕ‚PMB@@ Ú#FěŐŹ…¨%” ŕdP0#tĐ‚*°[Aů  ¨°wŮ ›Ŕ pg  Ŕ‘ @„0€Ŕ w ű@3pÄ _€Ňx2yłpŠ %?€Î¶đ?ôE¨ápŤ>X7E@?"]P8 >ŕ5 qŕ Ż:`#¶`5ŕ>˙ŕgrŤM` Č?ĐD ? L±d0JAa`‹yą Ö˙Đ—‚É‘ođgŔ‘„pǰw0Ś:€ ąŤ0yöi™łŕ˛ s€`01"q ń u‰ wY–#@‚ 癞gpđ— € wz`/9™÷é ˘9?j@ vą…` — €ů˘‰žč)ˇęŔ‘gîŕ Ş·†ř9 Bęŕ7Ŕź%jdPš° ÝŕhŔ ú˘çů 4:€ĄC°Ąé4`ŕ mxźCJ¤DJf 땤9q˘Nş—Ŕ gđ‘TZĄˇ6jŁ[ŞJ|zC@_0Đ49 EZ¤˛@˛˙p70 lާP›€ ÖP~IĄ1jĄ5šĄY:|˘\ŕ§C_:‘`¨‰Ę¨ŚjîŔT‘Ó`+š útZ§3Чžş§|Ú§¤Ę@¬~‚ ‘Gş¨űiŹ:«0‘ L*-0ş©3:ˇzú©ˇ:Ş\®Ä äZ¬A€Şî0 Ŕ¬ű) °şHŇjśŕoQŞž0ZĄ2ę«z ŞÁ*ŞâJ¬ăZ®äJŞ‚ŞŞŽę¨fŕńj§0)§÷ŁJŁyę­ÂęŻâ*°DP®»±ĄŠ®‘ 7«D·°ń ŻĐ—€Ią«»­5 ¬Ç:¬áZ¬^{łäZŞČú,f©&Ű]ŕ #pF{´Hk´„ŕ‘ɲTę«[*łJ łŁZµV»ĄČ l —A;úp )¶4¶)0¶d{¶h›¶j»¶l{¶fk]·r ;cmake-2.8.12.2/CompileFlags.cmake000644 000765 000024 00000004723 12266011633 017212 0ustar00kitwarestaff000000 000000 #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2009 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= #----------------------------------------------------------------------------- # set some special flags for different compilers # if(CMAKE_GENERATOR MATCHES "Visual Studio 7") set(CMAKE_SKIP_COMPATIBILITY_TESTS 1) endif() if(CMAKE_GENERATOR MATCHES "Visual Studio 6") set(CMAKE_SKIP_COMPATIBILITY_TESTS 1) endif() include (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityCXX.cmake) if(WIN32 AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(Intel)$") set(_INTEL_WINDOWS 1) endif() # Disable deprecation warnings for standard C functions. # really only needed for newer versions of VS, but should # not hurt other versions, and this will work into the # future if(MSVC OR _INTEL_WINDOWS) add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE) else() endif() #silence duplicate symbol warnings on AIX if(CMAKE_SYSTEM MATCHES "AIX.*") if(NOT CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -bhalt:5 ") endif() endif() if(CMAKE_SYSTEM MATCHES "IRIX.*") if(NOT CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-woff84 -no_auto_include") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-woff15") endif() endif() if(CMAKE_SYSTEM MATCHES "OSF1-V.*") if(NOT CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -timplicit_local -no_implicit_include ") endif() endif() # use the ansi CXX compile flag for building cmake if (CMAKE_ANSI_CXXFLAGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") endif () if (CMAKE_ANSI_CFLAGS) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") endif () # avoid binutils problem with large binaries, e.g. when building CMake in debug mode # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230 if (CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL parisc) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text.*") endif () cmake-2.8.12.2/configure000755 000765 000024 00000000143 12266011635 015544 0ustar00kitwarestaff000000 000000 #!/bin/sh cmake_source_dir=`cd "\`dirname \"$0\"\`";pwd` exec "${cmake_source_dir}/bootstrap" "$@" cmake-2.8.12.2/Copyright.txt000644 000765 000024 00000005115 12266011633 016350 0ustar00kitwarestaff000000 000000 CMake - Cross Platform Makefile Generator Copyright 2000-2011 Kitware, Inc., Insight Software Consortium All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the names of Kitware, Inc., the Insight Software Consortium, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------ The above copyright and license notice applies to distributions of CMake in source and binary form. Some source files contain additional notices of original copyright by their contributors; see each source for details. Third-party software packages supplied with CMake under compatible licenses provide their own copyright notices documented in corresponding subdirectories. ------------------------------------------------------------------------------ CMake was initially developed by Kitware with the following sponsorship: * National Library of Medicine at the National Institutes of Health as part of the Insight Segmentation and Registration Toolkit (ITK). * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel Visualization Initiative. * National Alliance for Medical Image Computing (NAMIC) is funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. * Kitware, Inc. cmake-2.8.12.2/CTestConfig.cmake000644 000765 000024 00000002032 12266011633 017004 0ustar00kitwarestaff000000 000000 #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2009 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= set(CTEST_PROJECT_NAME "CMake") set(CTEST_NIGHTLY_START_TIME "1:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "www.cdash.org") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=CMake") set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_CDASH_VERSION "1.6") set(CTEST_CDASH_QUERY_VERSION TRUE) # use old trigger stuff so that cmake 2.4 and below will not # get errors on trigger set (TRIGGER_SITE "http://public.kitware.com/cgi-bin/Submit-CMake-TestingResults.cgi") cmake-2.8.12.2/CTestCustom.cmake.in000644 000765 000024 00000006412 12266011633 017464 0ustar00kitwarestaff000000 000000 set(CTEST_CUSTOM_ERROR_MATCH ${CTEST_CUSTOM_ERROR_MATCH} "ERROR:") set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} "xtree.[0-9]+. : warning C4702: unreachable code" "warning LNK4221" "warning LNK4204" # Occurs by race condition with objects in small libs "variable .var_args[2]*. is used before its value is set" "jobserver unavailable" "warning: \\(Long double usage is reported only once for each file" "warning: To disable this warning use" "could not be inlined" "libcmcurl.*has no symbols" "not sorted slower link editing will result" "stl_deque.h:479" "Utilities.cmzlib." "Utilities.cmbzip2." "Source.CTest.Curl" "Source.CursesDialog.form" "Utilities.cmcurl" "Utilities.cmexpat." "Utilities.cmlibarchive" "/usr/include.*warning.*shadowed declaration is here" "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist" "Redeclaration of .send..... with a different storage class specifier" "is not used for resolving any symbol" "Clock skew detected" "remark\\(1209" "remark: .*LOOP WAS VECTORIZED" "warning .980: wrong number of actual arguments to intrinsic function .std::basic_" "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF" "LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF" "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF" "Warning: library was too large for page size.*" "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*" "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*" "Warning: public.*_archive.*clashes with prior module.*" "Warning: LINN32: Last line.*is less.*" "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*" "stl_deque.h:1051" "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)" "(Lexer|Parser).*warning.*statement is unreachable" "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c" "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value" "warning:.*is.*very unsafe.*consider using.*" "warning:.*is.*misused, please use.*" "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element" "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast "ld: warning: directory not found for option .-(F|L)" "warning.*This version of Mac OS X is unsupported" "clang.*: warning: argument unused during compilation: .-g" # Ignore clang's summary warning, assuming prior text has matched some # other warning expression: "[0-9,]+ warnings? generated." ) if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode") set(CTEST_CUSTOM_COVERAGE_EXCLUDE ${CTEST_CUSTOM_COVERAGE_EXCLUDE} "XCode" ) endif () if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop") set(CTEST_CUSTOM_COVERAGE_EXCLUDE ${CTEST_CUSTOM_COVERAGE_EXCLUDE} "Kdevelop" ) endif () set(CTEST_CUSTOM_COVERAGE_EXCLUDE ${CTEST_CUSTOM_COVERAGE_EXCLUDE} # Exclude kwsys files from coverage results. They are reported # (with better coverage results) on kwsys dashboards... "/Source/(cm|kw)sys/" # Exclude try_compile sources from coverage results: "/CMakeFiles/CMakeTmp/" # Exclude Qt source files from coverage results: "[A-Za-z]./[Qq]t/qt-.+-opensource-src" ) cmake-2.8.12.2/CTestCustom.ctest.in000644 000765 000024 00000000221 12266011633 017516 0ustar00kitwarestaff000000 000000 # This file is provided for compatibility with CMake 2.2 and lower. # Just include the custom file by its new name. INCLUDE("CTestCustom.cmake") cmake-2.8.12.2/DartConfig.cmake000644 000765 000024 00000001451 12266011633 016660 0ustar00kitwarestaff000000 000000 #============================================================================= # CMake - Cross Platform Makefile Generator # Copyright 2000-2009 Kitware, Inc., Insight Software Consortium # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= set(CTEST_PROJECT_NAME "CMake") set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "www.cdash.org") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=CMake") set(CTEST_DROP_SITE_CDASH TRUE) cmake-2.8.12.2/DartLocal.conf.in000644 000765 000024 00000010060 12266011633 016753 0ustar00kitwarestaff000000 000000 ExpectedBuilds: \ {andoria.kitware Linux-g++3.4-KDevelop} \ {andoria.kitware Linux-g++3.4-SVN} \ {DASH1.kitware Win32-nmake71} \ {DASH1.kitware Win32-vs71} \ {DASH1.kitware Win32-vs71Rel} \ {DASH1.kitware zRel24-Win32-nmake71} \ {DASH1.kitware zRel24-Win32-vs71} \ {DASH11.kitware zRel24-Win32-nmake71} \ {dash14.kitware Win32-bcc5.6} \ {dash14.kitware Win32-cygwin} \ {dash14.kitware Win32-mingw} \ {dash14.kitware zRel24-Win32-bcc5.6} \ {dash17.kitware Linux-g++4.0} \ {dash1win64.kitware Win64-vs80} \ {dash1win98.kitware Win32-vs60} \ {DASH2.kitware Win32-nmake70} \ {DASH2.kitware Win32-vs70} \ {DASH2.kitware Win32-vs70-InPlace} \ {DASH2.kitware zRel24-Win32-nmake70} \ {DASH2.kitware zRel24-Win32-vs70} \ {DASH3.kitware Win32-nmake60} \ {DASH3.kitware Win32-vs60} \ {DASH3.kitware zRel24-Win32-nmake60} \ {DASH3.kitware zRel24-Win32-vs60} \ {dash4.kitware Win32-bcc5.8} \ {DASH5.kitware Linux-gcc332-InPlace} \ {DASH5.kitware zRel24-Linix-gcc332} \ {DASH6.kitware zRel24-Linix-gcc332} \ {dash8.kitware Linux64-g++} \ {dash8.kitware Linux64-g++332} \ {dash8.kitware Linux64-g++341} \ {dash8.kitware zRel24-Linux64-g++} \ {dash8.kitware zRel24-Linux64-g++332} \ {dashmacmini1.kitware Darwin-Tiger-Xcode21} \ {dashmacmini1.kitware zRel24-Darwin-Tiger-g++} \ {dashmacmini2.kitware DarwinIntel-g++} \ {dashmacmini2.kitware DarwinIntel-Universal} \ {dashmacmini2.kitware Darwin-Tiger-Xcode21-univ} \ {dashmacmini3.kitware Darwin-LeopardIntel-g++} \ {dashmacmini3.kitware Darwin-LeopardIntel-Universal} \ {dashmacmini3.kitware Darwin-Leopard-Xcode21-univ} \ {dashsgi1.kitware IRIX32-CC} \ {dashsgi1.kitware IRIX64-CC} \ {dashsun1.kitware SunOS-CC} \ {dashsun1.kitware SunOS-CC-64} \ {dashsun1.kitware SunOS-gcc34-64} \ {destiny.kitware HP-UX-aCC} \ {destiny.kitware HP-UX-aCC-gmake} \ {devqnx.acfr.usyd.edu.au qnx-V3.3.5-gcc_ntox86} \ {grayson.kitware Win32-nmake80} \ {heart HP-UXia64-aCC} \ {hythloth.kitware Linux64-bullseye-cov} \ {hythloth.kitware Linux64-suncc-5.9} \ {hythloth.kitware Linux-nightly-win32-release} \ {insight.journal.kitware KWStyle} \ {iris.elemtech IRIX64-CC64-7.4} \ {iris.elemtech IRIX64-CC-7.4} \ {JET.kitware Linux-valgrind2} \ {krondor.kitware Darwin-c++} \ {krondor.kitware zRel24-Darwin-c++} \ {midworld.kitware DarwinG5-g++} \ {midworld.kitware DarwinG5-XCode15} \ {midworld.kitware zRel24-DarwinG5-g++} \ {pre.vision.cs.rpi.edu FreeBSD-CC-gmake} \ {pre.vision.cs.rpi.edu FreeBSD-CC-make} \ {RogueResearch3 Mac10.5-CMake-gcc-dbg-ppc} \ {RogueResearch3 Mac10.5-CMake-gcc-dbg-ppc64} \ {RogueResearch3 Mac10.5-CMake-gcc-rel-ppc} \ {RogueResearch3 Mac10.5-CMake-gcc-rel-ppc64} \ {RogueResearch3 Mac10.5-CMake-Xcode-dbg-ppc} \ {RogueResearch3 Mac10.5-CMake-Xcode-dbg-ppc64} \ {RogueResearch4 Mac10.5-CMake-gcc-dbg-i386} \ {RogueResearch4 Mac10.5-CMake-gcc-dbg-rosetta} \ {RogueResearch4 Mac10.5-CMake-gcc-rel-i386} \ {tick.rz.uni-augsburg.de LinuxPPC-g++3.3} \ {tick.rz.uni-augsburg.de LinuxPPC-g++3.4} \ {trinsic.kitware Win32-mingw} \ {r06n01.pbm.ihost.com AIX53-xlC} \ {r06n01.pbm.ihost.com zRel24-AIX53-xlC} \ {valhalla.kitware Win32-wcl386} #{devqnx.acfr.usyd.edu.au qnx-V3.3.5-gcc_ntox86 } \ #{mr-orange.obtech.net gentoo-linux-x86\_64-gcc-4.0.2 } \ #{G5.Nfsnet.Org Darwin8.3-gcc4} \ # commas in names do not work for expected builds.... #{G4.Nfsnet.Org Darwin-c++} \ #{salmon.nlm.nih.gov Darwin8.7-gcc4} \ #{crd.ge.com Solaris-gcc343} \ #{crd.ge.com Linux-icc81} \ #{crd.ge.com Windows-bcc32} \ #{crd.ge.com Windows-nmake71} \ #{crd.ge.com Windows-nmake60} \ #{dash16.kitware Linux-g++4.0} \ #{styx Linuxia64-g++} \ #{crd.ge.com Cygwin-gcc344} \ #{valhalla.kitware Win32-bccRel} \ #{valhalla.kitware Win32-bcc} \ #{valhalla.kitware Win32-g++} \ #{valhalla.kitware Win32-nmake60} \ #{valhalla.kitware Win32-nmake70} \ #{valhalla.kitware Win32-vs60} \ #{valhalla.kitware Win32-vs70} #{crd.ge.com FreeBSD-gcc321} \ #{crd.ge.com Linux-gcc320} \ #{cogattaca.kitware LinuxWin32-g++-Werror} \ #{cogattaca.kitware LinuxWin32-g++} \ #{dash8.kitware Win64-icl80} \ #{dash8.kitware zLRB-Win64-icl80} \ #{hythloth.kitware Linux-icc-8.1} \ CompressionMode: ALL CompressionCommand: /bin/gzip CompressionType: gzip cmake-2.8.12.2/Docs/bash-completion/cmake000644 000765 000024 00000011425 12266011633 020617 0ustar00kitwarestaff000000 000000 # bash completion for cmake(1) -*- shell-script -*- _cmake() { local cur prev words cword split=false _init_completion -n := || return # Workaround for options like -DCMAKE_BUILD_TYPE=Release local prefix= if [[ $cur == -D* ]]; then prev=-D prefix=-D cur="${cur#-D}" elif [[ $cur == -U* ]]; then prev=-U prefix=-U cur="${cur#-U}" fi case "$prev" in -D) if [[ $cur == *=* ]]; then # complete values for variables local var type value var="${cur%%[:=]*}" value="${cur#*=}" if [[ $cur == CMAKE_BUILD_TYPE* ]]; then # most widely used case COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo MinSizeRel' -- "$value" ) ) return fi if [[ $cur == *:* ]]; then type="${cur#*:}" type="${type%%=*}" else # get type from cache if it's not set explicitly type=$( cmake -LA -N 2>/dev/null | grep "$var:" \ 2>/dev/null ) type="${type#*:}" type="${type%%=*}" fi case "$type" in FILEPATH) cur="$value" _filedir return ;; PATH) cur="$value" _filedir -d return ;; BOOL) COMPREPLY=( $( compgen -W 'ON OFF TRUE FALSE' -- \ "$value" ) ) return ;; STRING|INTERNAL) # no completion available return ;; esac elif [[ $cur == *:* ]]; then # complete types local type="${cur#*:}" COMPREPLY=( $( compgen -W 'FILEPATH PATH STRING BOOL INTERNAL'\ -S = -- "$type" ) ) compopt -o nospace else # complete variable names COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) compopt -o nospace fi return ;; -U) COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) return ;; esac _split_longopt && split=true case "$prev" in -C|-P|--graphviz|--system-information) _filedir return ;; --build) _filedir -d return ;; -E) COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \ '/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ -- "$cur" ) ) return ;; -G) local IFS=$'\n' local quoted printf -v quoted %q "$cur" COMPREPLY=( $( compgen -W '$( cmake --help 2>/dev/null | sed -n \ -e "1,/^Generators/d" \ -e "/^ *[^ =]/{s|^ *\([^=]*[^ =]\).*$|\1|;s| |\\\\ |g;p}" \ 2>/dev/null )' -- "$quoted" ) ) return ;; --help-command) COMPREPLY=( $( compgen -W '$( cmake --help-command-list 2>/dev/null| grep -v "^cmake version " )' -- "$cur" ) ) return ;; --help-module) COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null| grep -v "^cmake version " )' -- "$cur" ) ) return ;; --help-policy) COMPREPLY=( $( compgen -W '$( cmake --help-policies 2>/dev/null | grep "^ CMP" 2>/dev/null )' -- "$cur" ) ) return ;; --help-property) COMPREPLY=( $( compgen -W '$( cmake --help-property-list \ 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) return ;; --help-variable) COMPREPLY=( $( compgen -W '$( cmake --help-variable-list \ 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) return ;; esac $split && return if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) [[ $COMPREPLY == *= ]] && compopt -o nospace [[ $COMPREPLY ]] && return fi _filedir } && complete -F _cmake cmake # ex: ts=4 sw=4 et filetype=sh cmake-2.8.12.2/Docs/bash-completion/CMakeLists.txt000644 000765 000024 00000000636 12266011633 022356 0ustar00kitwarestaff000000 000000 # Always install completion file in local dir # in order to be sure to always be able to install # in a local user directory rooted in a single directory. # packager should either patch that out or # add symlinks to the files in appropriate places # /etc/bash_completion.d/ # DATADIR/completions (may be /usr/share//completions install(FILES cmake cpack ctest DESTINATION ${CMAKE_DATA_DIR}/completions) cmake-2.8.12.2/Docs/bash-completion/cpack000644 000765 000024 00000003426 12266011633 020622 0ustar00kitwarestaff000000 000000 # bash completion for cpack(1) -*- shell-script -*- _cpack() { local cur prev words cword _init_completion -n = || return case "$prev" in -G) COMPREPLY=( $( compgen -W '$( cpack --help 2>/dev/null | sed -e "1,/^Generators/d" -e "s|^ *\([^ ]*\) .*$|\1|" \ 2>/dev/null )' -- "$cur" ) ) return ;; -C) COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo MinSizeRel' -- "$cur" ) ) return ;; -D) [[ $cur == *=* ]] && return # no completion for values COMPREPLY=( $( compgen -W '$( cpack --help-variable-list \ 2>/dev/null | grep -v "^cpack version " )' -S = -- "$cur" ) ) compopt -o nospace return ;; -P|-R|--vendor) # argument required but no completions available return ;; -B) _filedir -d return ;; --config) _filedir return ;; --help-command) COMPREPLY=( $( compgen -W '$( cpack --help-command-list 2>/dev/null| grep -v "^cpack version " )' -- "$cur" ) ) return ;; --help-variable) COMPREPLY=( $( compgen -W '$( cpack --help-variable-list \ 2>/dev/null | grep -v "^cpack version " )' -- "$cur" ) ) return ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) [[ $COMPREPLY == *= ]] && compopt -o nospace [[ $COMPREPLY ]] && return fi _filedir } && complete -F _cpack cpack # ex: ts=4 sw=4 et filetype=sh cmake-2.8.12.2/Docs/bash-completion/ctest000644 000765 000024 00000005226 12266011633 020663 0ustar00kitwarestaff000000 000000 # bash completion for ctest(1) -*- shell-script -*- _ctest() { local cur prev words cword _init_completion -n = || return case "$prev" in -C|--build-config) COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo MinSizeRel' -- "$cur" ) ) return ;; -j|--parallel) COMPREPLY=( $( compgen -W "{1..$(( $(_ncpus)*2 ))}" -- "$cur" ) ) return ;; -O|--output-log|-A|--add-notes|--extra-submit) _filedir return ;; -L|--label-regex|-LE|--label-exclude|--track|-I|--tests-information|\ --max-width|--timeout|--stop-time) # argument required but no completions available return ;; -R|--tests-regex|-E|--exclude-regex) COMPREPLY=( $( compgen -W '$( ctest -N 2>/dev/null | grep "^ Test" 2>/dev/null | cut -d: -f 2 )' -- "$cur" ) ) return ;; -D|--dashboard) if [[ $cur == @(Experimental|Nightly|Continuous)* ]]; then local model action action=${cur#@(Experimental|Nightly|Continuous)} model=${cur%"$action"} COMPREPLY=( $( compgen -W 'Start Update Configure Build Test Coverage Submit MemCheck' -P "$model" -- "$action" ) ) else COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' \ -- "$cur" ) ) compopt -o nospace fi return ;; -M|--test-model) COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' -- \ "$cur" ) ) return ;; -T|--test-action) COMPREPLY=( $( compgen -W 'Start Update Configure Build Test Coverage Submit MemCheck' -- "$cur" ) ) return ;; -S|--script|-SP|--script-new-process) _filedir '@(cmake|ctest)' return ;; --interactive-debug-mode) COMPREPLY=( $( compgen -W '0 1' -- "$cur" ) ) return ;; --help-command) COMPREPLY=( $( compgen -W '$( ctest --help-command-list 2>/dev/null| grep -v "^ctest version " )' -- "$cur" ) ) return ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) [[ $COMPREPLY == *= ]] && compopt -o nospace [[ $COMPREPLY ]] && return fi _filedir } && complete -F _ctest ctest # ex: ts=4 sw=4 et filetype=sh cmake-2.8.12.2/Docs/cmake-help.vim000644 000765 000024 00000001234 12266011633 017250 0ustar00kitwarestaff000000 000000 nmap ,hc :call OpenCmakeHelp() function! OpenCmakeHelp() let s = getline( '.' ) let i = col( '.' ) - 1 while i > 0 && strpart( s, i, 1 ) =~ '[A-Za-z0-9_]' let i = i - 1 endwhile while i < col('$') && strpart( s, i, 1 ) !~ '[A-Za-z0-9_]' let i = i + 1 endwhile let start = match( s, '[A-Za-z0-9_]\+', i ) let end = matchend( s, '[A-Za-z0-9_]\+', i ) let ident = strpart( s, start, end - start ) execute "vertical new" execute "%!cmake --help-command ".ident set nomodified set readonly endfunction autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in nmap :call OpenCmakeHelp() cmake-2.8.12.2/Docs/cmake-indent.vim000644 000765 000024 00000005461 12266011633 017607 0ustar00kitwarestaff000000 000000 " ============================================================================= " " Program: CMake - Cross-Platform Makefile Generator " Module: $RCSfile$ " Language: VIM " Date: $Date$ " Version: $Revision$ " " ============================================================================= " Vim indent file " Language: CMake (ft=cmake) " Author: Andy Cedilnik " Maintainer: Karthik Krishnan " Last Change: $Date$ " Version: $Revision$ " " Licence: The CMake license applies to this file. See " http://www.cmake.org/HTML/Copyright.html " This implies that distribution with Vim is allowed if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentexpr=CMakeGetIndent(v:lnum) setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE( " Only define the function once. if exists("*CMakeGetIndent") finish endif fun! CMakeGetIndent(lnum) let this_line = getline(a:lnum) " Find a non-blank line above the current line. let lnum = a:lnum let lnum = prevnonblank(lnum - 1) let previous_line = getline(lnum) " Hit the start of the file, use zero indent. if lnum == 0 return 0 endif let ind = indent(lnum) let or = '\|' " Regular expressions used by line indentation function. let cmake_regex_comment = '#.*' let cmake_regex_identifier = '[A-Za-z][A-Za-z0-9_]*' let cmake_regex_quoted = '"\([^"\\]\|\\.\)*"' let cmake_regex_arguments = '\(' . cmake_regex_quoted . \ or . '\$(' . cmake_regex_identifier . ')' . \ or . '[^()\\#"]' . or . '\\.' . '\)*' let cmake_indent_comment_line = '^\s*' . cmake_regex_comment let cmake_indent_blank_regex = '^\s*$' let cmake_indent_open_regex = '^\s*' . cmake_regex_identifier . \ '\s*(' . cmake_regex_arguments . \ '\(' . cmake_regex_comment . '\)\?$' let cmake_indent_close_regex = '^' . cmake_regex_arguments . \ ')\s*' . \ '\(' . cmake_regex_comment . '\)\?$' let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\|ELSEIF\|WHILE\|FUNCTION\)\s*(' let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\|ELSEIF\|ENDWHILE\|ENDFUNCTION\)\s*(' " Add if previous_line =~? cmake_indent_comment_line " Handle comments let ind = ind else if previous_line =~? cmake_indent_begin_regex let ind = ind + &sw endif if previous_line =~? cmake_indent_open_regex let ind = ind + &sw endif endif " Subtract if this_line =~? cmake_indent_end_regex let ind = ind - &sw endif if previous_line =~? cmake_indent_close_regex let ind = ind - &sw endif return ind endfun cmake-2.8.12.2/Docs/cmake-mode.el000644 000765 000024 00000026675 12266011633 017071 0ustar00kitwarestaff000000 000000 ;============================================================================= ; CMake - Cross Platform Makefile Generator ; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium ; ; Distributed under the OSI-approved BSD License (the "License"); ; see accompanying file Copyright.txt for details. ; ; This software is distributed WITHOUT ANY WARRANTY; without even the ; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ; See the License for more information. ;============================================================================= ;;; cmake-mode.el --- major-mode for editing CMake sources ;------------------------------------------------------------------------------ ;;; Commentary: ;; Provides syntax highlighting and indentation for CMakeLists.txt and ;; *.cmake source files. ;; ;; Add this code to your .emacs file to use the mode: ;; ;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path)) ;; (require 'cmake-mode) ;; (setq auto-mode-alist ;; (append '(("CMakeLists\\.txt\\'" . cmake-mode) ;; ("\\.cmake\\'" . cmake-mode)) ;; auto-mode-alist)) ;------------------------------------------------------------------------------ ;;; Code: ;; ;; cmake executable variable used to run cmake --help-command ;; on commands in cmake-mode ;; ;; cmake-command-help Written by James Bigler ;; (defcustom cmake-mode-cmake-executable "cmake" "*The name of the cmake executable. This can be either absolute or looked up in $PATH. You can also set the path with these commands: (setenv \"PATH\" (concat (getenv \"PATH\") \";C:\\\\Program Files\\\\CMake 2.8\\\\bin\")) (setenv \"PATH\" (concat (getenv \"PATH\") \":/usr/local/cmake/bin\"))" :type 'file :group 'cmake) ;; ;; Regular expressions used by line indentation function. ;; (defconst cmake-regex-blank "^[ \t]*$") (defconst cmake-regex-comment "#.*") (defconst cmake-regex-paren-left "(") (defconst cmake-regex-paren-right ")") (defconst cmake-regex-argument-quoted "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"") (defconst cmake-regex-argument-unquoted "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*") (defconst cmake-regex-token (concat "\\(" cmake-regex-comment "\\|" cmake-regex-paren-left "\\|" cmake-regex-paren-right "\\|" cmake-regex-argument-unquoted "\\|" cmake-regex-argument-quoted "\\)")) (defconst cmake-regex-indented (concat "^\\(" cmake-regex-token "\\|" "[ \t\r\n]" "\\)*")) (defconst cmake-regex-block-open "^\\(if\\|macro\\|foreach\\|else\\|elseif\\|while\\|function\\)$") (defconst cmake-regex-block-close "^[ \t]*\\(endif\\|endforeach\\|endmacro\\|else\\|elseif\\|endwhile\\|endfunction\\)[ \t]*(") ;------------------------------------------------------------------------------ ;; ;; Helper functions for line indentation function. ;; (defun cmake-line-starts-inside-string () "Determine whether the beginning of the current line is in a string." (if (save-excursion (beginning-of-line) (let ((parse-end (point))) (beginning-of-buffer) (nth 3 (parse-partial-sexp (point) parse-end)) ) ) t nil ) ) (defun cmake-find-last-indented-line () "Move to the beginning of the last line that has meaningful indentation." (let ((point-start (point)) region) (forward-line -1) (setq region (buffer-substring-no-properties (point) point-start)) (while (and (not (bobp)) (or (looking-at cmake-regex-blank) (cmake-line-starts-inside-string) (not (and (string-match cmake-regex-indented region) (= (length region) (match-end 0)))))) (forward-line -1) (setq region (buffer-substring-no-properties (point) point-start)) ) ) ) ;------------------------------------------------------------------------------ ;; ;; Line indentation function. ;; (defun cmake-indent () "Indent current line as CMAKE code." (interactive) (if (cmake-line-starts-inside-string) () (if (bobp) (cmake-indent-line-to 0) (let (cur-indent) (save-excursion (beginning-of-line) (let ((point-start (point)) (case-fold-search t) ;; case-insensitive token) ; Search back for the last indented line. (cmake-find-last-indented-line) ; Start with the indentation on this line. (setq cur-indent (current-indentation)) ; Search forward counting tokens that adjust indentation. (while (re-search-forward cmake-regex-token point-start t) (setq token (match-string 0)) (if (string-match (concat "^" cmake-regex-paren-left "$") token) (setq cur-indent (+ cur-indent cmake-tab-width)) ) (if (string-match (concat "^" cmake-regex-paren-right "$") token) (setq cur-indent (- cur-indent cmake-tab-width)) ) (if (and (string-match cmake-regex-block-open token) (looking-at (concat "[ \t]*" cmake-regex-paren-left)) ) (setq cur-indent (+ cur-indent cmake-tab-width)) ) ) (goto-char point-start) ; If this is the end of a block, decrease indentation. (if (looking-at cmake-regex-block-close) (setq cur-indent (- cur-indent cmake-tab-width)) ) ) ) ; Indent this line by the amount selected. (if (< cur-indent 0) (cmake-indent-line-to 0) (cmake-indent-line-to cur-indent) ) ) ) ) ) (defun cmake-point-in-indendation () (string-match "^[ \\t]*$" (buffer-substring (point-at-bol) (point)))) (defun cmake-indent-line-to (column) "Indent the current line to COLUMN. If point is within the existing indentation it is moved to the end of the indentation. Otherwise it retains the same position on the line" (if (cmake-point-in-indendation) (indent-line-to column) (save-excursion (indent-line-to column)))) ;------------------------------------------------------------------------------ ;; ;; Helper functions for buffer ;; (defun unscreamify-cmake-buffer () "Convert all CMake commands to lowercase in buffer." (interactive) (setq save-point (point)) (goto-char (point-min)) (while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t) (replace-match (concat (match-string 1) (downcase (match-string 2)) (match-string 3)) t)) (goto-char save-point) ) ;------------------------------------------------------------------------------ ;; ;; Keyword highlighting regex-to-face map. ;; (defconst cmake-font-lock-keywords (list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face)) "Highlighting expressions for CMAKE mode." ) ;------------------------------------------------------------------------------ ;; ;; Syntax table for this mode. Initialize to nil so that it is ;; regenerated when the cmake-mode function is called. ;; (defvar cmake-mode-syntax-table nil "Syntax table for cmake-mode.") (setq cmake-mode-syntax-table nil) ;; ;; User hook entry point. ;; (defvar cmake-mode-hook nil) ;; ;; Indentation increment. ;; (defvar cmake-tab-width 2) ;; ;; Keymap. ;; (defvar cmake-mode-map (let ((map (make-sparse-keymap))) (define-key map "\C-ch" 'cmake-help-command) (define-key map "\C-cl" 'cmake-help-list-commands) (define-key map "\C-cu" 'unscreamify-cmake-buffer) map) "Keymap used in cmake-mode buffers.") ;------------------------------------------------------------------------------ ;; ;; CMake mode startup function. ;; (defun cmake-mode () "Major mode for editing CMake listfiles. \\{cmake-mode-map}" (interactive) (kill-all-local-variables) (setq major-mode 'cmake-mode) (setq mode-name "CMAKE") ; Create the syntax table (setq cmake-mode-syntax-table (make-syntax-table)) (set-syntax-table cmake-mode-syntax-table) (modify-syntax-entry ?_ "w" cmake-mode-syntax-table) (modify-syntax-entry ?\( "()" cmake-mode-syntax-table) (modify-syntax-entry ?\) ")(" cmake-mode-syntax-table) (modify-syntax-entry ?# "<" cmake-mode-syntax-table) (modify-syntax-entry ?\n ">" cmake-mode-syntax-table) ; Setup font-lock mode. (make-local-variable 'font-lock-defaults) (setq font-lock-defaults '(cmake-font-lock-keywords)) ; Setup indentation function. (make-local-variable 'indent-line-function) (setq indent-line-function 'cmake-indent) ; Setup comment syntax. (make-local-variable 'comment-start) (setq comment-start "#") ; Setup keymap. (use-local-map cmake-mode-map) ; Run user hooks. (run-hooks 'cmake-mode-hook)) ; Help mode starts here (defun cmake-command-run (type &optional topic) "Runs the command cmake with the arguments specified. The optional argument topic will be appended to the argument list." (interactive "s") (let* ((bufname (concat "*CMake" type (if topic "-") topic "*")) (buffer (get-buffer bufname)) ) (if buffer (display-buffer buffer 'not-this-window) ;; Buffer doesn't exist. Create it and fill it (setq buffer (generate-new-buffer bufname)) (setq command (concat cmake-mode-cmake-executable " " type " " topic)) (message "Running %s" command) ;; We don't want the contents of the shell-command running to the ;; minibuffer, so turn it off. A value of nil means don't automatically ;; resize mini-windows. (setq resize-mini-windows-save resize-mini-windows) (setq resize-mini-windows nil) (shell-command command buffer) ;; Save the original window, so that we can come back to it later. ;; save-excursion doesn't seem to work for this. (setq window (selected-window)) ;; We need to select it so that we can apply special modes to it (select-window (display-buffer buffer 'not-this-window)) (cmake-mode) (toggle-read-only t) ;; Restore the original window (select-window window) (setq resize-mini-windows resize-mini-windows-save) ) ) ) (defun cmake-help-list-commands () "Prints out a list of the cmake commands." (interactive) (cmake-command-run "--help-command-list") ) (defvar cmake-help-command-history nil "Topic read history.") (require 'thingatpt) (defun cmake-get-topic (type) "Gets the topic from the minibuffer input. The default is the word the cursor is on." (interactive) (let* ((default-entry (word-at-point)) (input (read-string (format "CMake %s (default %s): " type default-entry) ; prompt nil ; initial input 'cmake-help-command-history ; command history default-entry ; default-value ))) (if (string= input "") (error "No argument given") input)) ) (defun cmake-help-command () "Prints out the help message corresponding to the command the cursor is on." (interactive) (setq command (cmake-get-topic "command")) (cmake-command-run "--help-command" (downcase command)) ) ; This file provides cmake-mode. (provide 'cmake-mode) ;;; cmake-mode.el ends here cmake-2.8.12.2/Docs/cmake-syntax.vim000644 000765 000024 00000010671 12266011633 017653 0ustar00kitwarestaff000000 000000 " ============================================================================= " " Program: CMake - Cross-Platform Makefile Generator " Module: $RCSfile$ " Language: VIM " Date: $Date$ " Version: $Revision$ " " ============================================================================= " Vim syntax file " Language: CMake " Author: Andy Cedilnik " Maintainer: Karthik Krishnan " Last Change: $Date$ " Version: $Revision$ " " Licence: The CMake license applies to this file. See " http://www.cmake.org/HTML/Copyright.html " This implies that distribution with Vim is allowed " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded if version < 600 syntax clear elseif exists("b:current_syntax") finish endif syn case ignore syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained syn region cmakeComment start="#" end="$" contains=cmakeTodo syn region cmakeRegistry start=/\[/ end=/]/ \ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped syn region cmakeVariableValue start=/\${/ end=/}/ \ contained oneline contains=CONTAINED,cmakeTodo syn region cmakeEnvironment start=/\$ENV{/ end=/}/ \ contained oneline contains=CONTAINED,cmakeTodo syn region cmakeString start=/"/ end=/"/ \ contains=CONTAINED,cmakeTodo,cmakeOperators syn region cmakeArguments start=/(/ end=/)/ \ contains=ALLBUT,cmakeArguments,cmakeTodo syn keyword cmakeSystemVariables \ WIN32 UNIX APPLE CYGWIN BORLAND MINGW MSVC MSVC_IDE MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 syn keyword cmakeOperators \ ABSOLUTE AND BOOL CACHE COMMAND DEFINED DOC EQUAL EXISTS EXT FALSE GREATER INTERNAL LESS MATCHES NAME NAMES NAME_WE NOT OFF ON OR PATH PATHS PROGRAM STREQUAL STRGREATER STRING STRLESS TRUE \ contained syn keyword cmakeDeprecated ABSTRACT_FILES BUILD_NAME SOURCE_FILES SOURCE_FILES_REMOVE VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WRAP_EXCLUDE_FILES \ nextgroup=cmakeArguments " The keywords are generated as: cmake --help-command-list | tr "\n" " " syn keyword cmakeStatement \ ADD_CUSTOM_COMMAND ADD_CUSTOM_TARGET ADD_DEFINITIONS ADD_DEPENDENCIES ADD_EXECUTABLE ADD_LIBRARY ADD_SUBDIRECTORY ADD_TEST AUX_SOURCE_DIRECTORY BUILD_COMMAND BUILD_NAME CMAKE_MINIMUM_REQUIRED CONFIGURE_FILE CREATE_TEST_SOURCELIST ELSE ELSEIF ENABLE_LANGUAGE ENABLE_TESTING ENDFOREACH ENDFUNCTION ENDIF ENDMACRO ENDWHILE EXEC_PROGRAM EXECUTE_PROCESS EXPORT_LIBRARY_DEPENDENCIES FILE FIND_FILE FIND_LIBRARY FIND_PACKAGE FIND_PATH FIND_PROGRAM FLTK_WRAP_UI FOREACH FUNCTION GET_CMAKE_PROPERTY GET_DIRECTORY_PROPERTY GET_FILENAME_COMPONENT GET_SOURCE_FILE_PROPERTY GET_TARGET_PROPERTY GET_TEST_PROPERTY IF INCLUDE INCLUDE_DIRECTORIES INCLUDE_EXTERNAL_MSPROJECT INCLUDE_REGULAR_EXPRESSION INSTALL INSTALL_FILES INSTALL_PROGRAMS INSTALL_TARGETS LINK_DIRECTORIES LINK_LIBRARIES LIST LOAD_CACHE LOAD_COMMAND MACRO MAKE_DIRECTORY MARK_AS_ADVANCED MATH MESSAGE OPTION OUTPUT_REQUIRED_FILES PROJECT QT_WRAP_CPP QT_WRAP_UI REMOVE REMOVE_DEFINITIONS SEPARATE_ARGUMENTS SET SET_DIRECTORY_PROPERTIES SET_SOURCE_FILES_PROPERTIES SET_TARGET_PROPERTIES SET_TESTS_PROPERTIES SITE_NAME SOURCE_GROUP STRING SUBDIR_DEPENDS SUBDIRS TARGET_LINK_LIBRARIES TRY_COMPILE TRY_RUN UNSET USE_MANGLED_MESA UTILITY_SOURCE VARIABLE_REQUIRES VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WHILE WRITE_FILE \ nextgroup=cmakeArguments syn keyword cmakeTodo \ TODO FIXME XXX \ contained " Define the default highlighting. " For version 5.7 and earlier: only when not done already " For version 5.8 and later: only when an item doesn't have highlighting yet if version >= 508 || !exists("did_cmake_syntax_inits") if version < 508 let did_cmake_syntax_inits = 1 command -nargs=+ HiLink hi link else command -nargs=+ HiLink hi def link endif HiLink cmakeStatement Statement HiLink cmakeComment Comment HiLink cmakeString String HiLink cmakeVariableValue Type HiLink cmakeRegistry Underlined HiLink cmakeArguments Identifier HiLink cmakeArgument Constant HiLink cmakeEnvironment Special HiLink cmakeOperators Operator HiLink cmakeMacro PreProc HiLink cmakeError Error HiLink cmakeTodo TODO HiLink cmakeEscaped Special delcommand HiLink endif let b:current_syntax = "cmake" "EOF" cmake-2.8.12.2/Docs/CMakeLists.txt000644 000765 000024 00000000326 12266011633 017266 0ustar00kitwarestaff000000 000000 install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim) install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs) add_subdirectory (bash-completion) cmake-2.8.12.2/doxygen.config000644 000765 000024 00000066616 12266011635 016522 0ustar00kitwarestaff000000 000000 # Doxyfile 1.1.4-20000625 # This file describes the settings to be used by doxygen for a project # # All text after a hash (#) is considered a comment and will be ignored # The format is: # TAG = value [value, ...] # Values that contain spaces should be placed between quotes (" ") #--------------------------------------------------------------------------- # General configuration options #--------------------------------------------------------------------------- # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = CMAKE # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = 0.0.1 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = ./Doxygen # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are: # Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, # Spanish and Russian OUTPUT_LANGUAGE = English # The DISABLE_INDEX tag can be used to turn on/off the condensed index at # top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in # documentation are documented, even if no documentation was available. # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = NO # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = YES # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSESS tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these class will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend # the brief description of a member or function before the detailed description. # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then # Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = NO # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user defined part of the path. Stripping is # only done if one of the specified strings matches the left-hand part of # the path. STRIP_FROM_PATH = # The INTERNAL_DOCS tag determines if documentation # that is typed after a \internal command is included. If the tag is set # to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = NO # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a class diagram (in Html and LaTeX) for classes with base or # super classes. Setting the tag to NO turns the diagrams off. CLASS_DIAGRAMS = YES # If the SOURCE_BROWSER tag is set to YES then a list of source files will # be generated. Documented entities will be cross-referenced with these sources. SOURCE_BROWSER = YES # Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct # doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES # If the CASE_SENSE_NAMES tag is set to NO (the default) then Doxygen # will only generate file names in lower case letters. If set to # YES upper case letters are also allowed. This is useful if you have # classes or files whose names only differ in case and if your file system # supports case sensitive file names. CASE_SENSE_NAMES = YES # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen # will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen # will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES # If the JAVADOC_AUTOBRIEF tag is set to YES (the default) then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the Javadoc-style will # behave just like the Qt-style comments. JAVADOC_AUTOBRIEF = NO # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented # member inherits the documentation from any documented member that it # reimplements. INHERIT_DOCS = YES # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen # will sort the (detailed) documentation of file and class members # alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = YES # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 8 # The ENABLE_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. ENABLED_SECTIONS = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- # The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = NO # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES # The WARN_FORMAT tag determines the format of the warning messages that # doxygen can produce. The string should contain the $file, $line, and $text # tags, which will be replaced by the file and line number from which the # warning originated and the warning text. WARN_FORMAT = "$file:$line: $text" #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- # The INPUT tag can be used to specify the files and/or directories that contain # documented source files. You may enter file names like "myfile.cpp" or # directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = "Source" # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. FILE_PATTERNS = *.h *.txx *.cxx # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = YES # The EXCLUDE tag can be used to specify files and/or directories that should # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. EXCLUDE = # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude # certain files from those directories. EXCLUDE_PATTERNS = # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. EXAMPLE_PATTERNS = # The IMAGE_PATH tag can be used to specify one or more files or # directories that contain image that are included in the documentation (see # the \image command). IMAGE_PATH = # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command , where # is the value of the INPUT_FILTER tag, and is the name of an # input file. Doxygen will then use the output that the filter program writes # to standard output. INPUT_FILTER = #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index # of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = YES # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 3 # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- # If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a # standard header. HTML_HEADER = # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = # The HTML_STYLESHEET tag can be used to specify a user defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet HTML_STYLESHEET = # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, # files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the # Microsoft HTML help workshop to generate a compressed HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = YES # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex' will be used as the default path. LATEX_OUTPUT = latex # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact # LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = NO # The PAPER_TYPE tag can be used to set the paper type that is used # by the printer. Possible values are: a4, a4wide, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = a4wide # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for # the generated latex document. The header should contain everything until # the first chapter. If it is left blank doxygen will generate a # standard header. Notice: only use this tag if you know what you are doing! LATEX_HEADER = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated # is prepared for conversion to pdf (using ps2pdf). The pdf file will # contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = NO # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. # command to the generated LaTeX files. This will instruct LaTeX to keep # running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output # For now this is experimental and is disabled by default. The RTF output # is optimised for Word 97 and may not look too pretty with other readers # or editors. GENERATE_RTF = YES # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf' will be used as the default path. RTF_OUTPUT = rtf # If the COMPACT_RTF tag is set to YES Doxygen generates more compact # RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated # will contain hyperlink fields. The RTF file will # contain links (just like the HTML output) instead of page references. # This makes the output suitable for online browsing using a WORD or other. # programs which support those fields. # Note: wordpad (write) and others do not support links. RTF_HYPERLINKS = NO #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- # If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = YES # The MAN_OUTPUT tag is used to specify where the man pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man' will be used as the default path. MAN_OUTPUT = man # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) MAN_EXTENSION = .3 #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will # evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # compilation will be performed. MACRO_EXPANSION = YES # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. SEARCH_INCLUDES = NO # The INCLUDE_PATH tag can be used to specify one or more directories that # contain include files that are not input files but should be processed by # the preprocessor. INCLUDE_PATH = # The PREDEFINED tag can be used to specify one or more macro names that # are defined before the preprocessor is started (similar to the -D option of # gcc). The argument of the tag is a list of macros of the form: name # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. PREDEFINED = "itkNotUsed(x)="\ "itkSetMacro(name,type)= \ virtual void Set##name (type _arg);" \ "itkGetMacro(name,type)= \ virtual type Get##name ();" \ "itkGetConstMacro(name,type)= \ virtual type Get##name () const;" \ "itkSetStringMacro(name)= \ virtual void Set##name (const char* _arg);" \ "itkGetStringMacro(name)= \ virtual const char* Get##name () const;" \ "itkSetClampMacro(name,type,min,max)= \ virtual void Set##name (type _arg);" \ "itkSetObjectMacro(name,type)= \ virtual void Set##name (type* _arg);" \ "itkGetObjectMacro(name,type)= \ virtual type* Get##name ();" \ "itkBooleanMacro(name)= \ virtual void name##On (); \ virtual void name##Off ();" \ "itkSetVector2Macro(name,type)= \ virtual void Set##name (type _arg1, type _arg2) \ virtual void Set##name (type _arg[2]);" \ "itkGetVector2Macro(name,type)= \ virtual type* Get##name () const; \ virtual void Get##name (type& _arg1, type& _arg2) const; \ virtual void Get##name (type _arg[2]) const;" \ "itkSetVector3Macro(name,type)= \ virtual void Set##name (type _arg1, type _arg2, type _arg3) \ virtual void Set##name (type _arg[3]);" \ "itkGetVector3Macro(name,type)= \ virtual type* Get##name () const; \ virtual void Get##name (type& _arg1, type& _arg2, type& _arg3) const; \ virtual void Get##name (type _arg[3]) const;" \ "itkSetVector4Macro(name,type)= \ virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4) \ virtual void Set##name (type _arg[4]);" \ "itkGetVector4Macro(name,type)= \ virtual type* Get##name () const; \ virtual void Get##name (type& _arg1, type& _arg2, type& _arg3, type& _arg4) const; \ virtual void Get##name (type _arg[4]) const;" \ "itkSetVector6Macro(name,type)= \ virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4, type _arg5, type _arg6) \ virtual void Set##name (type _arg[6]);" \ "itkGetVector6Macro(name,type)= \ virtual type* Get##name () const; \ virtual void Get##name (type& _arg1, type& _arg2, type& _arg3, type& _arg4, type& _arg5, type& _arg6) const; \ virtual void Get##name (type _arg[6]) const;" \ "itkSetVectorMacro(name,type,count)= \ virtual void Set##name(type data[]);" \ "itkGetVectorMacro(name,type,count)= \ virtual type* Get##name () const;" \ "itkNewMacro(type)= \ static Pointer New();" \ "itkTypeMacro(thisClass,superclass)= \ virtual const char *GetClassName() const;" \ "ITK_NUMERIC_LIMITS= \ std::numeric_limits" # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED tag. EXPAND_ONLY_PREDEF = YES #--------------------------------------------------------------------------- # Configuration::addtions related to external references #--------------------------------------------------------------------------- # The TAGFILES tag can be used to specify one or more tagfiles. TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = YES # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES # If the ENABLE_PREPROCESSING, INCLUDE_GRAPH, and HAVE_DOT tags are set to # YES then doxygen will generate a graph for each documented file showing # the direct and indirect include dependencies of the file with other # documented files. INCLUDE_GRAPH = YES # If the ENABLE_PREPROCESSING, INCLUDED_BY_GRAPH, and HAVE_DOT tags are set to # YES then doxygen will generate a graph for each documented header file showing # the documented files that directly or indirectly include this file INCLUDED_BY_GRAPH = YES # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found on the path. DOT_PATH = # The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width # (in pixels) of the graphs generated by dot. If a graph becomes larger than # this value, doxygen will try to truncate the graph, so that it fits within # the specified constraint. Beware that most browsers cannot cope with very # large images. MAX_DOT_GRAPH_WIDTH = 1024 # The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height # (in pixels) of the graphs generated by dot. If a graph becomes larger than # this value, doxygen will try to truncate the graph, so that it fits within # the specified constraint. Beware that most browsers cannot cope with very # large images. MAX_DOT_GRAPH_HEIGHT = 1024 #--------------------------------------------------------------------------- # Configuration::addtions related to the search engine #--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = NO # The CGI_NAME tag should be the name of the CGI script that # starts the search engine (doxysearch) with the correct parameters. # A script with this name will be generated by doxygen. CGI_NAME = search.cgi # The CGI_URL tag should be the absolute URL to the directory where the # cgi binaries are located. See the documentation of your http daemon for # details. CGI_URL = # The DOC_URL tag should be the absolute URL to the directory where the # documentation is located. If left blank the absolute path to the # documentation, with file:// prepended to it, will be used. DOC_URL = # The DOC_ABSPATH tag should be the absolute path to the directory where the # documentation is located. If left blank the directory on the local machine # will be used. DOC_ABSPATH = # The BIN_ABSPATH tag must point to the directory where the doxysearch binary # is installed. BIN_ABSPATH = /usr/local/bin/ # The EXT_DOC_PATHS tag can be used to specify one or more paths to # documentation generated for other projects. This allows doxysearch to search # the documentation for these projects as well. EXT_DOC_PATHS = cmake-2.8.12.2/Example/CMakeLists.txt000644 000765 000024 00000000752 12266011633 017774 0ustar00kitwarestaff000000 000000 # The name of our project is "HELLO". CMakeLists files in this project can # refer to the root source directory of the project as ${HELLO_SOURCE_DIR} and # to the root binary directory of the project as ${HELLO_BINARY_DIR}. project (HELLO) # Recurse into the "Hello" and "Demo" subdirectories. This does not actually # cause another cmake executable to run. The same process will walk through # the project's entire directory structure. add_subdirectory (Hello) add_subdirectory (Demo) cmake-2.8.12.2/Example/Demo/CMakeLists.txt000644 000765 000024 00000000777 12266011633 020667 0ustar00kitwarestaff000000 000000 # Make sure the compiler can find include files from our Hello library. include_directories (${HELLO_SOURCE_DIR}/Hello) # Make sure the linker can find the Hello library once it is built. link_directories (${HELLO_BINARY_DIR}/Hello) # Add executable called "helloDemo" that is built from the source files # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. add_executable (helloDemo demo.cxx demo_b.cxx) # Link the executable to the Hello library. target_link_libraries (helloDemo Hello) cmake-2.8.12.2/Example/Demo/demo.cxx000644 000765 000024 00000000126 12266011633 017563 0ustar00kitwarestaff000000 000000 #include "hello.h" extern Hello hello; int main() { hello.Print(); return 0; } cmake-2.8.12.2/Example/Demo/demo_b.cxx000644 000765 000024 00000000041 12266011633 020060 0ustar00kitwarestaff000000 000000 #include "hello.h" Hello hello; cmake-2.8.12.2/Example/Hello/CMakeLists.txt000644 000765 000024 00000000273 12266011633 021035 0ustar00kitwarestaff000000 000000 # Create a library called "Hello" which includes the source file "hello.cxx". # The extension is already found. Any number of sources could be listed here. add_library (Hello hello.cxx) cmake-2.8.12.2/Example/Hello/hello.cxx000644 000765 000024 00000000134 12266011633 020120 0ustar00kitwarestaff000000 000000 #include "hello.h" #include void Hello::Print() { printf("Hello, World!\n"); } cmake-2.8.12.2/Example/Hello/hello.h000644 000765 000024 00000000125 12266011633 017545 0ustar00kitwarestaff000000 000000 #ifndef _hello_h #define _hello_h class Hello { public: void Print(); }; #endif cmake-2.8.12.2/Modules/AddFileDependencies.cmake000644 000765 000024 00000001752 12266011633 022053 0ustar00kitwarestaff000000 000000 # - ADD_FILE_DEPENDENCIES(source_file depend_files...) # Adds the given files as dependencies to source_file # #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(ADD_FILE_DEPENDENCIES _file) get_source_file_property(_deps ${_file} OBJECT_DEPENDS) if (_deps) set(_deps ${_deps} ${ARGN}) else () set(_deps ${ARGN}) endif () set_source_files_properties(${_file} PROPERTIES OBJECT_DEPENDS "${_deps}") endmacro() cmake-2.8.12.2/Modules/AutomocInfo.cmake.in000644 000765 000024 00000001243 12266011633 021077 0ustar00kitwarestaff000000 000000 set(AM_SOURCES @_moc_files@ ) set(AM_HEADERS @_moc_headers@ ) set(AM_MOC_COMPILE_DEFINITIONS @_moc_compile_defs@) set(AM_MOC_INCLUDES @_moc_incs@) set(AM_MOC_OPTIONS @_moc_options@) set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE@") set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/") set(AM_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@/") set(AM_QT_MOC_EXECUTABLE "@_qt_moc_executable@") set(AM_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/") set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/") set(AM_QT_VERSION_MAJOR "@_target_qt_version@") set(AM_TARGET_NAME @_moc_target_name@) set(AM_RELAXED_MODE "@_moc_relaxed_mode@") cmake-2.8.12.2/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in000644 000765 000024 00000002530 12266011633 025465 0ustar00kitwarestaff000000 000000 # This is a basic version file for the Config-mode of find_package(). # It is used by write_basic_package_version_file() as input file for configure_file() # to create a version-file which can be installed along a config.cmake file. # # The created file sets PACKAGE_VERSION_EXACT if the current version string and # the requested version string are exactly the same and it sets # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version. # The variable CVF_VERSION must be set before calling configure_file(). set(PACKAGE_VERSION "@CVF_VERSION@") if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" ) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() set(PACKAGE_VERSION_COMPATIBLE TRUE) if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") set(PACKAGE_VERSION_EXACT TRUE) endif() endif() # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "") return() endif() # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif() cmake-2.8.12.2/Modules/BasicConfigVersion-ExactVersion.cmake.in000644 000765 000024 00000003462 12266011633 025006 0ustar00kitwarestaff000000 000000 # This is a basic version file for the Config-mode of find_package(). # It is used by write_basic_package_version_file() as input file for configure_file() # to create a version-file which can be installed along a config.cmake file. # # The created file sets PACKAGE_VERSION_EXACT if the current version string and # the requested version string are exactly the same and it sets # PACKAGE_VERSION_COMPATIBLE if the current version is equal to the requested version. # The tweak version component is ignored. # The variable CVF_VERSION must be set before calling configure_file(). set(PACKAGE_VERSION "@CVF_VERSION@") if("@CVF_VERSION@" MATCHES "^([0-9]+\\.[0-9]+\\.[0-9]+)\\..*") # strip the tweak version set(CVF_VERSION_NO_TWEAK "${CMAKE_MATCH_1}") else() set(CVF_VERSION_NO_TWEAK "@CVF_VERSION@") endif() if("${PACKAGE_FIND_VERSION}" MATCHES "^([0-9]+\\.[0-9]+\\.[0-9]+)\\..*") # strip the tweak version set(REQUESTED_VERSION_NO_TWEAK "${CMAKE_MATCH_1}") else() set(REQUESTED_VERSION_NO_TWEAK "${PACKAGE_FIND_VERSION}") endif() if("${REQUESTED_VERSION_NO_TWEAK}" STREQUAL "${CVF_VERSION_NO_TWEAK}") set(PACKAGE_VERSION_COMPATIBLE TRUE) else() set(PACKAGE_VERSION_COMPATIBLE FALSE) endif() if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") set(PACKAGE_VERSION_EXACT TRUE) endif() # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "") return() endif() # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif() cmake-2.8.12.2/Modules/BasicConfigVersion-SameMajorVersion.cmake.in000644 000765 000024 00000003302 12266011633 025611 0ustar00kitwarestaff000000 000000 # This is a basic version file for the Config-mode of find_package(). # It is used by write_basic_package_version_file() as input file for configure_file() # to create a version-file which can be installed along a config.cmake file. # # The created file sets PACKAGE_VERSION_EXACT if the current version string and # the requested version string are exactly the same and it sets # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version, # but only if the requested major version is the same as the current one. # The variable CVF_VERSION must be set before calling configure_file(). set(PACKAGE_VERSION "@CVF_VERSION@") if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" ) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() if("@CVF_VERSION@" MATCHES "^([0-9]+)\\.") set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") else() set(CVF_VERSION_MAJOR "@CVF_VERSION@") endif() if("${PACKAGE_FIND_VERSION_MAJOR}" STREQUAL "${CVF_VERSION_MAJOR}") set(PACKAGE_VERSION_COMPATIBLE TRUE) else() set(PACKAGE_VERSION_COMPATIBLE FALSE) endif() if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") set(PACKAGE_VERSION_EXACT TRUE) endif() endif() # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "") return() endif() # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif() cmake-2.8.12.2/Modules/BundleUtilities.cmake000644 000765 000024 00000071173 12266011633 021365 0ustar00kitwarestaff000000 000000 # - Functions to help assemble a standalone bundle application. # A collection of CMake utility functions useful for dealing with .app # bundles on the Mac and bundle-like directories on any OS. # # The following functions are provided by this module: # fixup_bundle # copy_and_fixup_bundle # verify_app # get_bundle_main_executable # get_dotapp_dir # get_bundle_and_executable # get_bundle_all_executables # get_item_key # clear_bundle_keys # set_bundle_key_values # get_bundle_keys # copy_resolved_item_into_bundle # copy_resolved_framework_into_bundle # fixup_bundle_item # verify_bundle_prerequisites # verify_bundle_symlinks # Requires CMake 2.6 or greater because it uses function, break and # PARENT_SCOPE. Also depends on GetPrerequisites.cmake. # # FIXUP_BUNDLE( ) # Fix up a bundle in-place and make it standalone, such that it can be # drag-n-drop copied to another machine and run on that machine as long as all # of the system libraries are compatible. # # If you pass plugins to fixup_bundle as the libs parameter, you should install # them or copy them into the bundle before calling fixup_bundle. The "libs" # parameter is a list of libraries that must be fixed up, but that cannot be # determined by otool output analysis. (i.e., plugins) # # Gather all the keys for all the executables and libraries in a bundle, and # then, for each key, copy each prerequisite into the bundle. Then fix each one # up according to its own list of prerequisites. # # Then clear all the keys and call verify_app on the final bundle to ensure # that it is truly standalone. # # COPY_AND_FIXUP_BUNDLE( ) # Makes a copy of the bundle at location and then fixes up the # new copied bundle in-place at ... # # VERIFY_APP() # Verifies that an application appears valid based on running analysis # tools on it. Calls "message(FATAL_ERROR" if the application is not verified. # # GET_BUNDLE_MAIN_EXECUTABLE( ) # The result will be the full path name of the bundle's main executable file # or an "error:" prefixed string if it could not be determined. # # GET_DOTAPP_DIR( ) # Returns the nearest parent dir whose name ends with ".app" given the full # path to an executable. If there is no such parent dir, then simply return # the dir containing the executable. # # The returned directory may or may not exist. # # GET_BUNDLE_AND_EXECUTABLE( ) # Takes either a ".app" directory name or the name of an executable # nested inside a ".app" directory and returns the path to the ".app" # directory in and the path to its main executable in # # # GET_BUNDLE_ALL_EXECUTABLES( ) # Scans the given bundle recursively for all executable files and accumulates # them into a variable. # # GET_ITEM_KEY( ) # Given a file (item) name, generate a key that should be unique considering # the set of libraries that need copying or fixing up to make a bundle # standalone. This is essentially the file name including extension with "." # replaced by "_" # # This key is used as a prefix for CMake variables so that we can associate a # set of variables with a given item based on its key. # # CLEAR_BUNDLE_KEYS() # Loop over the list of keys, clearing all the variables associated with each # key. After the loop, clear the list of keys itself. # # Caller of get_bundle_keys should call clear_bundle_keys when done with list # of keys. # # SET_BUNDLE_KEY_VALUES( # ) # Add a key to the list (if necessary) for the given item. If added, # also set all the variables associated with that key. # # GET_BUNDLE_KEYS( ) # Loop over all the executable and library files within the bundle (and given # as extra ) and accumulate a list of keys representing them. Set # values associated with each key such that we can loop over all of them and # copy prerequisite libs into the bundle and then do appropriate # install_name_tool fixups. # # COPY_RESOLVED_ITEM_INTO_BUNDLE( ) # Copy a resolved item into the bundle if necessary. Copy is not necessary if # the resolved_item is "the same as" the resolved_embedded_item. # # COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE( ) # Copy a resolved framework into the bundle if necessary. Copy is not necessary # if the resolved_item is "the same as" the resolved_embedded_item. # # By default, BU_COPY_FULL_FRAMEWORK_CONTENTS is not set. If you want full # frameworks embedded in your bundles, set BU_COPY_FULL_FRAMEWORK_CONTENTS to # ON before calling fixup_bundle. By default, # COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE copies the framework dylib itself plus # the framework Resources directory. # # FIXUP_BUNDLE_ITEM( ) # Get the direct/non-system prerequisites of the resolved embedded item. For # each prerequisite, change the way it is referenced to the value of the # _EMBEDDED_ITEM keyed variable for that prerequisite. (Most likely changing to # an "@executable_path" style reference.) # # This function requires that the resolved_embedded_item be "inside" the bundle # already. In other words, if you pass plugins to fixup_bundle as the libs # parameter, you should install them or copy them into the bundle before # calling fixup_bundle. The "libs" parameter is a list of libraries that must # be fixed up, but that cannot be determined by otool output analysis. (i.e., # plugins) # # Also, change the id of the item being fixed up to its own _EMBEDDED_ITEM # value. # # Accumulate changes in a local variable and make *one* call to # install_name_tool at the end of the function with all the changes at once. # # If the BU_CHMOD_BUNDLE_ITEMS variable is set then bundle items will be # marked writable before install_name_tool tries to change them. # # VERIFY_BUNDLE_PREREQUISITES( ) # Verifies that the sum of all prerequisites of all files inside the bundle # are contained within the bundle or are "system" libraries, presumed to exist # everywhere. # # VERIFY_BUNDLE_SYMLINKS( ) # Verifies that any symlinks found in the bundle point to other files that are # already also in the bundle... Anything that points to an external file causes # this function to fail the verification. #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # The functions defined in this file depend on the get_prerequisites function # (and possibly others) found in: # get_filename_component(BundleUtilities_cmake_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) include("${BundleUtilities_cmake_dir}/GetPrerequisites.cmake") function(get_bundle_main_executable bundle result_var) set(result "error: '${bundle}/Contents/Info.plist' file does not exist") if(EXISTS "${bundle}/Contents/Info.plist") set(result "error: no CFBundleExecutable in '${bundle}/Contents/Info.plist' file") set(line_is_main_executable 0) set(bundle_executable "") # Read Info.plist as a list of lines: # set(eol_char "E") file(READ "${bundle}/Contents/Info.plist" info_plist) string(REGEX REPLACE ";" "\\\\;" info_plist "${info_plist}") string(REGEX REPLACE "\n" "${eol_char};" info_plist "${info_plist}") # Scan the lines for "CFBundleExecutable" - the line after that # is the name of the main executable. # foreach(line ${info_plist}) if(line_is_main_executable) string(REGEX REPLACE "^.*(.*).*$" "\\1" bundle_executable "${line}") break() endif() if(line MATCHES "^.*CFBundleExecutable.*$") set(line_is_main_executable 1) endif() endforeach() if(NOT "${bundle_executable}" STREQUAL "") if(EXISTS "${bundle}/Contents/MacOS/${bundle_executable}") set(result "${bundle}/Contents/MacOS/${bundle_executable}") else() # Ultimate goal: # If not in "Contents/MacOS" then scan the bundle for matching files. If # there is only one executable file that matches, then use it, otherwise # it's an error... # #file(GLOB_RECURSE file_list "${bundle}/${bundle_executable}") # But for now, pragmatically, it's an error. Expect the main executable # for the bundle to be in Contents/MacOS, it's an error if it's not: # set(result "error: '${bundle}/Contents/MacOS/${bundle_executable}' does not exist") endif() endif() else() # # More inclusive technique... (This one would work on Windows and Linux # too, if a developer followed the typical Mac bundle naming convention...) # # If there is no Info.plist file, try to find an executable with the same # base name as the .app directory: # endif() set(${result_var} "${result}" PARENT_SCOPE) endfunction() function(get_dotapp_dir exe dotapp_dir_var) set(s "${exe}") if(s MATCHES "^.*/.*\\.app/.*$") # If there is a ".app" parent directory, # ascend until we hit it: # (typical of a Mac bundle executable) # set(done 0) while(NOT ${done}) get_filename_component(snamewe "${s}" NAME_WE) get_filename_component(sname "${s}" NAME) get_filename_component(sdir "${s}" PATH) set(s "${sdir}") if(sname MATCHES "\\.app$") set(done 1) set(dotapp_dir "${sdir}/${sname}") endif() endwhile() else() # Otherwise use a directory containing the exe # (typical of a non-bundle executable on Mac, Windows or Linux) # is_file_executable("${s}" is_executable) if(is_executable) get_filename_component(sdir "${s}" PATH) set(dotapp_dir "${sdir}") else() set(dotapp_dir "${s}") endif() endif() set(${dotapp_dir_var} "${dotapp_dir}" PARENT_SCOPE) endfunction() function(get_bundle_and_executable app bundle_var executable_var valid_var) set(valid 0) if(EXISTS "${app}") # Is it a directory ending in .app? if(IS_DIRECTORY "${app}") if(app MATCHES "\\.app$") get_bundle_main_executable("${app}" executable) if(EXISTS "${app}" AND EXISTS "${executable}") set(${bundle_var} "${app}" PARENT_SCOPE) set(${executable_var} "${executable}" PARENT_SCOPE) set(valid 1) #message(STATUS "info: handled .app directory case...") else() message(STATUS "warning: *NOT* handled - .app directory case...") endif() else() message(STATUS "warning: *NOT* handled - directory but not .app case...") endif() else() # Is it an executable file? is_file_executable("${app}" is_executable) if(is_executable) get_dotapp_dir("${app}" dotapp_dir) if(EXISTS "${dotapp_dir}") set(${bundle_var} "${dotapp_dir}" PARENT_SCOPE) set(${executable_var} "${app}" PARENT_SCOPE) set(valid 1) #message(STATUS "info: handled executable file in .app dir case...") else() get_filename_component(app_dir "${app}" PATH) set(${bundle_var} "${app_dir}" PARENT_SCOPE) set(${executable_var} "${app}" PARENT_SCOPE) set(valid 1) #message(STATUS "info: handled executable file in any dir case...") endif() else() message(STATUS "warning: *NOT* handled - not .app dir, not executable file...") endif() endif() else() message(STATUS "warning: *NOT* handled - directory/file does not exist...") endif() if(NOT valid) set(${bundle_var} "error: not a bundle" PARENT_SCOPE) set(${executable_var} "error: not a bundle" PARENT_SCOPE) endif() set(${valid_var} ${valid} PARENT_SCOPE) endfunction() function(get_bundle_all_executables bundle exes_var) set(exes "") file(GLOB_RECURSE file_list "${bundle}/*") foreach(f ${file_list}) is_file_executable("${f}" is_executable) if(is_executable) set(exes ${exes} "${f}") endif() endforeach() set(${exes_var} "${exes}" PARENT_SCOPE) endfunction() function(get_item_key item key_var) get_filename_component(item_name "${item}" NAME) if(WIN32) string(TOLOWER "${item_name}" item_name) endif() string(REGEX REPLACE "\\." "_" ${key_var} "${item_name}") set(${key_var} ${${key_var}} PARENT_SCOPE) endfunction() function(clear_bundle_keys keys_var) foreach(key ${${keys_var}}) set(${key}_ITEM PARENT_SCOPE) set(${key}_RESOLVED_ITEM PARENT_SCOPE) set(${key}_DEFAULT_EMBEDDED_PATH PARENT_SCOPE) set(${key}_EMBEDDED_ITEM PARENT_SCOPE) set(${key}_RESOLVED_EMBEDDED_ITEM PARENT_SCOPE) set(${key}_COPYFLAG PARENT_SCOPE) endforeach() set(${keys_var} PARENT_SCOPE) endfunction() function(set_bundle_key_values keys_var context item exepath dirs copyflag) get_filename_component(item_name "${item}" NAME) get_item_key("${item}" key) list(LENGTH ${keys_var} length_before) gp_append_unique(${keys_var} "${key}") list(LENGTH ${keys_var} length_after) if(NOT length_before EQUAL length_after) gp_resolve_item("${context}" "${item}" "${exepath}" "${dirs}" resolved_item) gp_item_default_embedded_path("${item}" default_embedded_path) if(item MATCHES "[^/]+\\.framework/") # For frameworks, construct the name under the embedded path from the # opening "${item_name}.framework/" to the closing "/${item_name}": # string(REGEX REPLACE "^.*(${item_name}.framework/.*/?${item_name}).*$" "${default_embedded_path}/\\1" embedded_item "${item}") else() # For other items, just use the same name as the original, but in the # embedded path: # set(embedded_item "${default_embedded_path}/${item_name}") endif() # Replace @executable_path and resolve ".." references: # string(REPLACE "@executable_path" "${exepath}" resolved_embedded_item "${embedded_item}") get_filename_component(resolved_embedded_item "${resolved_embedded_item}" ABSOLUTE) # *But* -- if we are not copying, then force resolved_embedded_item to be # the same as resolved_item. In the case of multiple executables in the # original bundle, using the default_embedded_path results in looking for # the resolved executable next to the main bundle executable. This is here # so that exes in the other sibling directories (like "bin") get fixed up # properly... # if(NOT copyflag) set(resolved_embedded_item "${resolved_item}") endif() set(${keys_var} ${${keys_var}} PARENT_SCOPE) set(${key}_ITEM "${item}" PARENT_SCOPE) set(${key}_RESOLVED_ITEM "${resolved_item}" PARENT_SCOPE) set(${key}_DEFAULT_EMBEDDED_PATH "${default_embedded_path}" PARENT_SCOPE) set(${key}_EMBEDDED_ITEM "${embedded_item}" PARENT_SCOPE) set(${key}_RESOLVED_EMBEDDED_ITEM "${resolved_embedded_item}" PARENT_SCOPE) set(${key}_COPYFLAG "${copyflag}" PARENT_SCOPE) else() #message("warning: item key '${key}' already in the list, subsequent references assumed identical to first") endif() endfunction() function(get_bundle_keys app libs dirs keys_var) set(${keys_var} PARENT_SCOPE) get_bundle_and_executable("${app}" bundle executable valid) if(valid) # Always use the exepath of the main bundle executable for @executable_path # replacements: # get_filename_component(exepath "${executable}" PATH) # But do fixups on all executables in the bundle: # get_bundle_all_executables("${bundle}" exes) # For each extra lib, accumulate a key as well and then also accumulate # any of its prerequisites. (Extra libs are typically dynamically loaded # plugins: libraries that are prerequisites for full runtime functionality # but that do not show up in otool -L output...) # foreach(lib ${libs}) set_bundle_key_values(${keys_var} "${lib}" "${lib}" "${exepath}" "${dirs}" 0) set(prereqs "") get_prerequisites("${lib}" prereqs 1 1 "${exepath}" "${dirs}") foreach(pr ${prereqs}) set_bundle_key_values(${keys_var} "${lib}" "${pr}" "${exepath}" "${dirs}" 1) endforeach() endforeach() # For each executable found in the bundle, accumulate keys as we go. # The list of keys should be complete when all prerequisites of all # binaries in the bundle have been analyzed. # foreach(exe ${exes}) # Add the exe itself to the keys: # set_bundle_key_values(${keys_var} "${exe}" "${exe}" "${exepath}" "${dirs}" 0) # Add each prerequisite to the keys: # set(prereqs "") get_prerequisites("${exe}" prereqs 1 1 "${exepath}" "${dirs}") foreach(pr ${prereqs}) set_bundle_key_values(${keys_var} "${exe}" "${pr}" "${exepath}" "${dirs}" 1) endforeach() endforeach() # Propagate values to caller's scope: # set(${keys_var} ${${keys_var}} PARENT_SCOPE) foreach(key ${${keys_var}}) set(${key}_ITEM "${${key}_ITEM}" PARENT_SCOPE) set(${key}_RESOLVED_ITEM "${${key}_RESOLVED_ITEM}" PARENT_SCOPE) set(${key}_DEFAULT_EMBEDDED_PATH "${${key}_DEFAULT_EMBEDDED_PATH}" PARENT_SCOPE) set(${key}_EMBEDDED_ITEM "${${key}_EMBEDDED_ITEM}" PARENT_SCOPE) set(${key}_RESOLVED_EMBEDDED_ITEM "${${key}_RESOLVED_EMBEDDED_ITEM}" PARENT_SCOPE) set(${key}_COPYFLAG "${${key}_COPYFLAG}" PARENT_SCOPE) endforeach() endif() endfunction() function(copy_resolved_item_into_bundle resolved_item resolved_embedded_item) if(WIN32) # ignore case on Windows string(TOLOWER "${resolved_item}" resolved_item_compare) string(TOLOWER "${resolved_embedded_item}" resolved_embedded_item_compare) else() set(resolved_item_compare "${resolved_item}") set(resolved_embedded_item_compare "${resolved_embedded_item}") endif() if("${resolved_item_compare}" STREQUAL "${resolved_embedded_item_compare}") message(STATUS "warning: resolved_item == resolved_embedded_item - not copying...") else() #message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy ${resolved_item} ${resolved_embedded_item}") execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${resolved_item}" "${resolved_embedded_item}") if(UNIX AND NOT APPLE) file(RPATH_REMOVE FILE "${resolved_embedded_item}") endif() endif() endfunction() function(copy_resolved_framework_into_bundle resolved_item resolved_embedded_item) if(WIN32) # ignore case on Windows string(TOLOWER "${resolved_item}" resolved_item_compare) string(TOLOWER "${resolved_embedded_item}" resolved_embedded_item_compare) else() set(resolved_item_compare "${resolved_item}") set(resolved_embedded_item_compare "${resolved_embedded_item}") endif() if("${resolved_item_compare}" STREQUAL "${resolved_embedded_item_compare}") message(STATUS "warning: resolved_item == resolved_embedded_item - not copying...") else() if(BU_COPY_FULL_FRAMEWORK_CONTENTS) # Full Framework (everything): get_filename_component(resolved_dir "${resolved_item}" PATH) get_filename_component(resolved_dir "${resolved_dir}/../.." ABSOLUTE) get_filename_component(resolved_embedded_dir "${resolved_embedded_item}" PATH) get_filename_component(resolved_embedded_dir "${resolved_embedded_dir}/../.." ABSOLUTE) #message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy_directory '${resolved_dir}' '${resolved_embedded_dir}'") execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory "${resolved_dir}" "${resolved_embedded_dir}") else() # Framework lib itself: #message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy ${resolved_item} ${resolved_embedded_item}") execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${resolved_item}" "${resolved_embedded_item}") # Plus Resources, if they exist: string(REGEX REPLACE "^(.*)/[^/]+/[^/]+/[^/]+$" "\\1/Resources" resolved_resources "${resolved_item}") string(REGEX REPLACE "^(.*)/[^/]+/[^/]+/[^/]+$" "\\1/Resources" resolved_embedded_resources "${resolved_embedded_item}") if(EXISTS "${resolved_resources}") #message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy_directory '${resolved_resources}' '${resolved_embedded_resources}'") execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory "${resolved_resources}" "${resolved_embedded_resources}") endif() endif() if(UNIX AND NOT APPLE) file(RPATH_REMOVE FILE "${resolved_embedded_item}") endif() endif() endfunction() function(fixup_bundle_item resolved_embedded_item exepath dirs) # This item's key is "ikey": # get_item_key("${resolved_embedded_item}" ikey) # Ensure the item is "inside the .app bundle" -- it should not be fixed up if # it is not in the .app bundle... Otherwise, we'll modify files in the build # tree, or in other varied locations around the file system, with our call to # install_name_tool. Make sure that doesn't happen here: # get_dotapp_dir("${exepath}" exe_dotapp_dir) string(LENGTH "${exe_dotapp_dir}/" exe_dotapp_dir_length) string(LENGTH "${resolved_embedded_item}" resolved_embedded_item_length) set(path_too_short 0) set(is_embedded 0) if(${resolved_embedded_item_length} LESS ${exe_dotapp_dir_length}) set(path_too_short 1) endif() if(NOT path_too_short) string(SUBSTRING "${resolved_embedded_item}" 0 ${exe_dotapp_dir_length} item_substring) if("${exe_dotapp_dir}/" STREQUAL "${item_substring}") set(is_embedded 1) endif() endif() if(NOT is_embedded) message(" exe_dotapp_dir/='${exe_dotapp_dir}/'") message(" item_substring='${item_substring}'") message(" resolved_embedded_item='${resolved_embedded_item}'") message("") message("Install or copy the item into the bundle before calling fixup_bundle.") message("Or maybe there's a typo or incorrect path in one of the args to fixup_bundle?") message("") message(FATAL_ERROR "cannot fixup an item that is not in the bundle...") endif() set(prereqs "") get_prerequisites("${resolved_embedded_item}" prereqs 1 0 "${exepath}" "${dirs}") set(changes "") foreach(pr ${prereqs}) # Each referenced item's key is "rkey" in the loop: # get_item_key("${pr}" rkey) if(NOT "${${rkey}_EMBEDDED_ITEM}" STREQUAL "") set(changes ${changes} "-change" "${pr}" "${${rkey}_EMBEDDED_ITEM}") else() message("warning: unexpected reference to '${pr}'") endif() endforeach() if(BU_CHMOD_BUNDLE_ITEMS) execute_process(COMMAND chmod u+w "${resolved_embedded_item}") endif() # Change this item's id and all of its references in one call # to install_name_tool: # execute_process(COMMAND install_name_tool ${changes} -id "${${ikey}_EMBEDDED_ITEM}" "${resolved_embedded_item}" ) endfunction() function(fixup_bundle app libs dirs) message(STATUS "fixup_bundle") message(STATUS " app='${app}'") message(STATUS " libs='${libs}'") message(STATUS " dirs='${dirs}'") get_bundle_and_executable("${app}" bundle executable valid) if(valid) get_filename_component(exepath "${executable}" PATH) message(STATUS "fixup_bundle: preparing...") get_bundle_keys("${app}" "${libs}" "${dirs}" keys) message(STATUS "fixup_bundle: copying...") list(LENGTH keys n) math(EXPR n ${n}*2) set(i 0) foreach(key ${keys}) math(EXPR i ${i}+1) if(${${key}_COPYFLAG}) message(STATUS "${i}/${n}: copying '${${key}_RESOLVED_ITEM}'") else() message(STATUS "${i}/${n}: *NOT* copying '${${key}_RESOLVED_ITEM}'") endif() set(show_status 0) if(show_status) message(STATUS "key='${key}'") message(STATUS "item='${${key}_ITEM}'") message(STATUS "resolved_item='${${key}_RESOLVED_ITEM}'") message(STATUS "default_embedded_path='${${key}_DEFAULT_EMBEDDED_PATH}'") message(STATUS "embedded_item='${${key}_EMBEDDED_ITEM}'") message(STATUS "resolved_embedded_item='${${key}_RESOLVED_EMBEDDED_ITEM}'") message(STATUS "copyflag='${${key}_COPYFLAG}'") message(STATUS "") endif() if(${${key}_COPYFLAG}) set(item "${${key}_ITEM}") if(item MATCHES "[^/]+\\.framework/") copy_resolved_framework_into_bundle("${${key}_RESOLVED_ITEM}" "${${key}_RESOLVED_EMBEDDED_ITEM}") else() copy_resolved_item_into_bundle("${${key}_RESOLVED_ITEM}" "${${key}_RESOLVED_EMBEDDED_ITEM}") endif() endif() endforeach() message(STATUS "fixup_bundle: fixing...") foreach(key ${keys}) math(EXPR i ${i}+1) if(APPLE) message(STATUS "${i}/${n}: fixing up '${${key}_RESOLVED_EMBEDDED_ITEM}'") fixup_bundle_item("${${key}_RESOLVED_EMBEDDED_ITEM}" "${exepath}" "${dirs}") else() message(STATUS "${i}/${n}: fix-up not required on this platform '${${key}_RESOLVED_EMBEDDED_ITEM}'") endif() endforeach() message(STATUS "fixup_bundle: cleaning up...") clear_bundle_keys(keys) message(STATUS "fixup_bundle: verifying...") verify_app("${app}") else() message(SEND_ERROR "error: fixup_bundle: not a valid bundle") endif() message(STATUS "fixup_bundle: done") endfunction() function(copy_and_fixup_bundle src dst libs dirs) execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory "${src}" "${dst}") fixup_bundle("${dst}" "${libs}" "${dirs}") endfunction() function(verify_bundle_prerequisites bundle result_var info_var) set(result 1) set(info "") set(count 0) get_bundle_main_executable("${bundle}" main_bundle_exe) file(GLOB_RECURSE file_list "${bundle}/*") foreach(f ${file_list}) is_file_executable("${f}" is_executable) if(is_executable) get_filename_component(exepath "${f}" PATH) math(EXPR count "${count} + 1") message(STATUS "executable file ${count}: ${f}") set(prereqs "") get_prerequisites("${f}" prereqs 1 1 "${exepath}" "") # On the Mac, # "embedded" and "system" prerequisites are fine... anything else means # the bundle's prerequisites are not verified (i.e., the bundle is not # really "standalone") # # On Windows (and others? Linux/Unix/...?) # "local" and "system" prereqs are fine... # set(external_prereqs "") foreach(p ${prereqs}) set(p_type "") gp_file_type("${f}" "${p}" p_type) if(APPLE) if(NOT "${p_type}" STREQUAL "embedded" AND NOT "${p_type}" STREQUAL "system") set(external_prereqs ${external_prereqs} "${p}") endif() else() if(NOT "${p_type}" STREQUAL "local" AND NOT "${p_type}" STREQUAL "system") set(external_prereqs ${external_prereqs} "${p}") endif() endif() endforeach() if(external_prereqs) # Found non-system/somehow-unacceptable prerequisites: set(result 0) set(info ${info} "external prerequisites found:\nf='${f}'\nexternal_prereqs='${external_prereqs}'\n") endif() endif() endforeach() if(result) set(info "Verified ${count} executable files in '${bundle}'") endif() set(${result_var} "${result}" PARENT_SCOPE) set(${info_var} "${info}" PARENT_SCOPE) endfunction() function(verify_bundle_symlinks bundle result_var info_var) set(result 1) set(info "") set(count 0) # TODO: implement this function for real... # Right now, it is just a stub that verifies unconditionally... set(${result_var} "${result}" PARENT_SCOPE) set(${info_var} "${info}" PARENT_SCOPE) endfunction() function(verify_app app) set(verified 0) set(info "") get_bundle_and_executable("${app}" bundle executable valid) message(STATUS "===========================================================================") message(STATUS "Analyzing app='${app}'") message(STATUS "bundle='${bundle}'") message(STATUS "executable='${executable}'") message(STATUS "valid='${valid}'") # Verify that the bundle does not have any "external" prerequisites: # verify_bundle_prerequisites("${bundle}" verified info) message(STATUS "verified='${verified}'") message(STATUS "info='${info}'") message(STATUS "") if(verified) # Verify that the bundle does not have any symlinks to external files: # verify_bundle_symlinks("${bundle}" verified info) message(STATUS "verified='${verified}'") message(STATUS "info='${info}'") message(STATUS "") endif() if(NOT verified) message(FATAL_ERROR "error: verify_app failed") endif() endfunction() cmake-2.8.12.2/Modules/CheckCCompilerFlag.cmake000644 000765 000024 00000005626 12266011634 021666 0ustar00kitwarestaff000000 000000 # - Check whether the C compiler supports a given flag. # CHECK_C_COMPILER_FLAG( ) # - the compiler flag # - variable to store the result # This internally calls the check_c_source_compiles macro and # sets CMAKE_REQUIRED_DEFINITIONS to . # See help for CheckCSourceCompiles for a listing of variables # that can otherwise modify the build. # The result only tells that the compiler does not give an error message when # it encounters the flag. If the flag has any effect or even a specific one is # beyond the scope of this module. #============================================================================= # Copyright 2006-2011 Kitware, Inc. # Copyright 2006 Alexander Neundorf # Copyright 2011 Matthias Kretz # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CheckCSourceCompiles) macro (CHECK_C_COMPILER_FLAG _FLAG _RESULT) set(SAFE_CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}") set(CMAKE_REQUIRED_DEFINITIONS "${_FLAG}") # Normalize locale during test compilation. set(_CheckCCompilerFlag_LOCALE_VARS LC_ALL LC_MESSAGES LANG) foreach(v ${_CheckCCompilerFlag_LOCALE_VARS}) set(_CheckCCompilerFlag_SAVED_${v} "$ENV{${v}}") set(ENV{${v}} C) endforeach() CHECK_C_SOURCE_COMPILES("int main(void) { return 0; }" ${_RESULT} # Some compilers do not fail with a bad flag FAIL_REGEX "command line option .* is valid for .* but not for C" # GNU FAIL_REGEX "unrecognized .*option" # GNU FAIL_REGEX "unknown .*option" # Clang FAIL_REGEX "ignoring unknown option" # MSVC FAIL_REGEX "warning D9002" # MSVC, any lang FAIL_REGEX "option.*not supported" # Intel FAIL_REGEX "invalid argument .*option" # Intel FAIL_REGEX "ignoring option .*argument required" # Intel FAIL_REGEX "[Uu]nknown option" # HP FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro FAIL_REGEX "command option .* is not recognized" # XL FAIL_REGEX "WARNING: unknown flag:" # Open64 ) foreach(v ${_CheckCCompilerFlag_LOCALE_VARS}) set(ENV{${v}} ${_CheckCCompilerFlag_SAVED_${v}}) unset(_CheckCCompilerFlag_SAVED_${v}) endforeach() unset(_CheckCCompilerFlag_LOCALE_VARS) set (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}") endmacro () cmake-2.8.12.2/Modules/CheckCSourceCompiles.cmake000644 000765 000024 00000006716 12266011634 022257 0ustar00kitwarestaff000000 000000 # - Check if given C source compiles and links into an executable # CHECK_C_SOURCE_COMPILES( [FAIL_REGEX ]) # - source code to try to compile, must define 'main' # - variable to store whether the source code compiled # - fail if test output matches this regex # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_C_SOURCE_COMPILES SOURCE VAR) if("${VAR}" MATCHES "^${VAR}$") set(_FAIL_REGEX) set(_key) foreach(arg ${ARGN}) if("${arg}" MATCHES "^(FAIL_REGEX)$") set(_key "${arg}") elseif(_key) list(APPEND _${_key} "${arg}") else() message(FATAL_ERROR "Unknown argument:\n ${arg}\n") endif() endforeach() set(MACRO_CHECK_FUNCTION_DEFINITIONS "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES) endif() if(CMAKE_REQUIRED_INCLUDES) set(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES) endif() file(WRITE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c" "${SOURCE}\n") message(STATUS "Performing Test ${VAR}") try_compile(${VAR} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} "${CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}" OUTPUT_VARIABLE OUTPUT) foreach(_regex ${_FAIL_REGEX}) if("${OUTPUT}" MATCHES "${_regex}") set(${VAR} 0) endif() endforeach() if(${VAR}) set(${VAR} 1 CACHE INTERNAL "Test ${VAR}") message(STATUS "Performing Test ${VAR} - Success") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Performing C SOURCE FILE Test ${VAR} succeded with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") else() message(STATUS "Performing Test ${VAR} - Failed") set(${VAR} "" CACHE INTERNAL "Test ${VAR}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Performing C SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckCSourceRuns.cmake000644 000765 000024 00000006702 12266011634 021426 0ustar00kitwarestaff000000 000000 # - Check if the given C source code compiles and runs. # CHECK_C_SOURCE_RUNS( ) # - source code to try to compile # - variable to store the result # (1 for success, empty for failure) # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_C_SOURCE_RUNS SOURCE VAR) if("${VAR}" MATCHES "^${VAR}$") set(MACRO_CHECK_FUNCTION_DEFINITIONS "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES) endif() if(CMAKE_REQUIRED_INCLUDES) set(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES) endif() file(WRITE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c" "${SOURCE}\n") message(STATUS "Performing Test ${VAR}") try_run(${VAR}_EXITCODE ${VAR}_COMPILED ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} -DCMAKE_SKIP_RPATH:BOOL=${CMAKE_SKIP_RPATH} "${CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}" COMPILE_OUTPUT_VARIABLE OUTPUT) # if it did not compile make the return value fail code of 1 if(NOT ${VAR}_COMPILED) set(${VAR}_EXITCODE 1) endif() # if the return value was 0 then it worked if("${${VAR}_EXITCODE}" EQUAL 0) set(${VAR} 1 CACHE INTERNAL "Test ${VAR}") message(STATUS "Performing Test ${VAR} - Success") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Performing C SOURCE FILE Test ${VAR} succeded with the following output:\n" "${OUTPUT}\n" "Return value: ${${VAR}}\n" "Source file was:\n${SOURCE}\n") else() if(CMAKE_CROSSCOMPILING AND "${${VAR}_EXITCODE}" MATCHES "FAILED_TO_RUN") set(${VAR} "${${VAR}_EXITCODE}") else() set(${VAR} "" CACHE INTERNAL "Test ${VAR}") endif() message(STATUS "Performing Test ${VAR} - Failed") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Performing C SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" "Return value: ${${VAR}_EXITCODE}\n" "Source file was:\n${SOURCE}\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckCXXCompilerFlag.cmake000644 000765 000024 00000006106 12266011634 022140 0ustar00kitwarestaff000000 000000 # - Check whether the CXX compiler supports a given flag. # CHECK_CXX_COMPILER_FLAG( ) # - the compiler flag # - variable to store the result # This internally calls the check_cxx_source_compiles macro and # sets CMAKE_REQUIRED_DEFINITIONS to . # See help for CheckCXXSourceCompiles for a listing of variables # that can otherwise modify the build. # The result only tells that the compiler does not give an error message when # it encounters the flag. If the flag has any effect or even a specific one is # beyond the scope of this module. #============================================================================= # Copyright 2006-2010 Kitware, Inc. # Copyright 2006 Alexander Neundorf # Copyright 2011 Matthias Kretz # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CheckCXXSourceCompiles) macro (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT) set(SAFE_CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}") set(CMAKE_REQUIRED_DEFINITIONS "${_FLAG}") # Normalize locale during test compilation. set(_CheckCXXCompilerFlag_LOCALE_VARS LC_ALL LC_MESSAGES LANG) foreach(v ${_CheckCXXCompilerFlag_LOCALE_VARS}) set(_CheckCXXCompilerFlag_SAVED_${v} "$ENV{${v}}") set(ENV{${v}} C) endforeach() CHECK_CXX_SOURCE_COMPILES("int main() { return 0;}" ${_RESULT} # Some compilers do not fail with a bad flag FAIL_REGEX "command line option .* is valid for .* but not for C\\\\+\\\\+" # GNU FAIL_REGEX "unrecognized .*option" # GNU FAIL_REGEX "unknown .*option" # Clang FAIL_REGEX "ignoring unknown option" # MSVC FAIL_REGEX "warning D9002" # MSVC, any lang FAIL_REGEX "option.*not supported" # Intel FAIL_REGEX "invalid argument .*option" # Intel FAIL_REGEX "ignoring option .*argument required" # Intel FAIL_REGEX "[Uu]nknown option" # HP FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro FAIL_REGEX "command option .* is not recognized" # XL FAIL_REGEX "not supported in this configuration; ignored" # AIX FAIL_REGEX "File with unknown suffix passed to linker" # PGI FAIL_REGEX "WARNING: unknown flag:" # Open64 ) foreach(v ${_CheckCXXCompilerFlag_LOCALE_VARS}) set(ENV{${v}} ${_CheckCXXCompilerFlag_SAVED_${v}}) unset(_CheckCXXCompilerFlag_SAVED_${v}) endforeach() unset(_CheckCXXCompilerFlag_LOCALE_VARS) set (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}") endmacro () cmake-2.8.12.2/Modules/CheckCXXSourceCompiles.cmake000644 000765 000024 00000006751 12266011634 022536 0ustar00kitwarestaff000000 000000 # - Check if given C++ source compiles and links into an executable # CHECK_CXX_SOURCE_COMPILES( [FAIL_REGEX ]) # - source code to try to compile, must define 'main' # - variable to store whether the source code compiled # - fail if test output matches this regex # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_CXX_SOURCE_COMPILES SOURCE VAR) if("${VAR}" MATCHES "^${VAR}$") set(_FAIL_REGEX) set(_key) foreach(arg ${ARGN}) if("${arg}" MATCHES "^(FAIL_REGEX)$") set(_key "${arg}") elseif(_key) list(APPEND _${_key} "${arg}") else() message(FATAL_ERROR "Unknown argument:\n ${arg}\n") endif() endforeach() set(MACRO_CHECK_FUNCTION_DEFINITIONS "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES) endif() if(CMAKE_REQUIRED_INCLUDES) set(CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES) endif() file(WRITE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.cxx" "${SOURCE}\n") message(STATUS "Performing Test ${VAR}") try_compile(${VAR} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.cxx COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} "${CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES}" OUTPUT_VARIABLE OUTPUT) foreach(_regex ${_FAIL_REGEX}) if("${OUTPUT}" MATCHES "${_regex}") set(${VAR} 0) endif() endforeach() if(${VAR}) set(${VAR} 1 CACHE INTERNAL "Test ${VAR}") message(STATUS "Performing Test ${VAR} - Success") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Performing C++ SOURCE FILE Test ${VAR} succeded with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") else() message(STATUS "Performing Test ${VAR} - Failed") set(${VAR} "" CACHE INTERNAL "Test ${VAR}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Performing C++ SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckCXXSourceRuns.cmake000644 000765 000024 00000006734 12266011634 021713 0ustar00kitwarestaff000000 000000 # - Check if the given C++ source code compiles and runs. # CHECK_CXX_SOURCE_RUNS( ) # - source code to try to compile # - variable to store the result # (1 for success, empty for failure) # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_CXX_SOURCE_RUNS SOURCE VAR) if("${VAR}" MATCHES "^${VAR}$") set(MACRO_CHECK_FUNCTION_DEFINITIONS "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES) endif() if(CMAKE_REQUIRED_INCLUDES) set(CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES) endif() file(WRITE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.cxx" "${SOURCE}\n") message(STATUS "Performing Test ${VAR}") try_run(${VAR}_EXITCODE ${VAR}_COMPILED ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.cxx COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} -DCMAKE_SKIP_RPATH:BOOL=${CMAKE_SKIP_RPATH} "${CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES}" COMPILE_OUTPUT_VARIABLE OUTPUT) # if it did not compile make the return value fail code of 1 if(NOT ${VAR}_COMPILED) set(${VAR}_EXITCODE 1) endif() # if the return value was 0 then it worked if("${${VAR}_EXITCODE}" EQUAL 0) set(${VAR} 1 CACHE INTERNAL "Test ${VAR}") message(STATUS "Performing Test ${VAR} - Success") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Performing C++ SOURCE FILE Test ${VAR} succeded with the following output:\n" "${OUTPUT}\n" "Return value: ${${VAR}}\n" "Source file was:\n${SOURCE}\n") else() if(CMAKE_CROSSCOMPILING AND "${${VAR}_EXITCODE}" MATCHES "FAILED_TO_RUN") set(${VAR} "${${VAR}_EXITCODE}") else() set(${VAR} "" CACHE INTERNAL "Test ${VAR}") endif() message(STATUS "Performing Test ${VAR} - Failed") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Performing C++ SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" "Return value: ${${VAR}_EXITCODE}\n" "Source file was:\n${SOURCE}\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckCXXSymbolExists.cmake000644 000765 000024 00000003701 12266011634 022237 0ustar00kitwarestaff000000 000000 # - Check if a symbol exists as a function, variable, or macro in C++ # CHECK_CXX_SYMBOL_EXISTS( ) # # Check that the is available after including given header # and store the result in a . Specify the list # of files in one argument as a semicolon-separated list. # CHECK_CXX_SYMBOL_EXISTS() can be used to check in C++ files, as opposed # to CHECK_SYMBOL_EXISTS(), which works only for C. # # If the header files define the symbol as a macro it is considered # available and assumed to work. If the header files declare the # symbol as a function or variable then the symbol must also be # available for linking. If the symbol is a type or enum value # it will not be recognized (consider using CheckTypeSize or # CheckCSourceCompiles). # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2003-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CheckSymbolExists) macro(CHECK_CXX_SYMBOL_EXISTS SYMBOL FILES VARIABLE) _CHECK_SYMBOL_EXISTS("${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.cxx" "${SYMBOL}" "${FILES}" "${VARIABLE}" ) endmacro() cmake-2.8.12.2/Modules/CheckForPthreads.c000644 000765 000024 00000001275 12266011634 020576 0ustar00kitwarestaff000000 000000 #include #include #include void* runner(void*); int res = 0; #ifdef __CLASSIC_C__ int main(){ int ac; char*av[]; #else int main(int ac, char*av[]){ #endif pthread_t tid[2]; pthread_create(&tid[0], 0, runner, (void*)1); pthread_create(&tid[1], 0, runner, (void*)2); #if defined(__BEOS__) && !defined(__ZETA__) // (no usleep on BeOS 5.) usleep(1); // for strange behavior on single-processor sun #endif pthread_join(tid[0], 0); pthread_join(tid[1], 0); if(ac > 1000){return *av[0];} return res; } void* runner(void* args) { int cc; for ( cc = 0; cc < 10; cc ++ ) { printf("%d CC: %d\n", (int)args, cc); } res ++; return 0; } cmake-2.8.12.2/Modules/CheckFortranFunctionExists.cmake000644 000765 000024 00000004763 12266011634 023541 0ustar00kitwarestaff000000 000000 # - Check if the Fortran function exists. # CHECK_FORTRAN_FUNCTION_EXISTS(FUNCTION VARIABLE) # - macro which checks if the Fortran function exists # FUNCTION - the name of the Fortran function # VARIABLE - variable to store the result # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_FORTRAN_FUNCTION_EXISTS FUNCTION VARIABLE) if(NOT DEFINED ${VARIABLE}) message(STATUS "Looking for Fortran ${FUNCTION}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_FUNCTION_EXISTS_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_FUNCTION_EXISTS_ADD_LIBRARIES) endif() file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler.f " program TESTFortran external ${FUNCTION} call ${FUNCTION}() end program TESTFortran " ) try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler.f ${CHECK_FUNCTION_EXISTS_ADD_LIBRARIES} OUTPUT_VARIABLE OUTPUT ) # message(STATUS "${OUTPUT}") if(${VARIABLE}) set(${VARIABLE} 1 CACHE INTERNAL "Have Fortran function ${FUNCTION}") message(STATUS "Looking for Fortran ${FUNCTION} - found") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the Fortran ${FUNCTION} exists passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for Fortran ${FUNCTION} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have Fortran function ${FUNCTION}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the Fortran ${FUNCTION} exists failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckFunctionExists.c000644 000765 000024 00000000574 12266011634 021343 0ustar00kitwarestaff000000 000000 #ifdef CHECK_FUNCTION_EXISTS char CHECK_FUNCTION_EXISTS(); #ifdef __CLASSIC_C__ int main(){ int ac; char*av[]; #else int main(int ac, char*av[]){ #endif CHECK_FUNCTION_EXISTS(); if(ac > 1000) { return *av[0]; } return 0; } #else /* CHECK_FUNCTION_EXISTS */ # error "CHECK_FUNCTION_EXISTS has to specify the function" #endif /* CHECK_FUNCTION_EXISTS */ cmake-2.8.12.2/Modules/CheckFunctionExists.cmake000644 000765 000024 00000005742 12266011634 022203 0ustar00kitwarestaff000000 000000 # - Check if a C function can be linked # CHECK_FUNCTION_EXISTS( ) # # Check that the is provided by libraries on the system and # store the result in a . This does not verify that any # system header file declares the function, only that it can be found # at link time (consider using CheckSymbolExists). # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2002-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") set(MACRO_CHECK_FUNCTION_DEFINITIONS "-DCHECK_FUNCTION_EXISTS=${FUNCTION} ${CMAKE_REQUIRED_FLAGS}") message(STATUS "Looking for ${FUNCTION}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_FUNCTION_EXISTS_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_FUNCTION_EXISTS_ADD_LIBRARIES) endif() if(CMAKE_REQUIRED_INCLUDES) set(CHECK_FUNCTION_EXISTS_ADD_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_FUNCTION_EXISTS_ADD_INCLUDES) endif() try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckFunctionExists.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_FUNCTION_EXISTS_ADD_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} "${CHECK_FUNCTION_EXISTS_ADD_INCLUDES}" OUTPUT_VARIABLE OUTPUT) if(${VARIABLE}) set(${VARIABLE} 1 CACHE INTERNAL "Have function ${FUNCTION}") message(STATUS "Looking for ${FUNCTION} - found") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the function ${FUNCTION} exists passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for ${FUNCTION} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have function ${FUNCTION}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the function ${FUNCTION} exists failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckIncludeFile.c.in000644 000765 000024 00000000202 12266011634 021132 0ustar00kitwarestaff000000 000000 #include <${CHECK_INCLUDE_FILE_VAR}> #ifdef __CLASSIC_C__ int main() { return 0; } #else int main(void) { return 0; } #endif cmake-2.8.12.2/Modules/CheckIncludeFile.cmake000644 000765 000024 00000006040 12266011634 021371 0ustar00kitwarestaff000000 000000 # - Check if the include file exists. # CHECK_INCLUDE_FILE(INCLUDE VARIABLE) # - macro which checks the include file exists. # INCLUDE - name of include file # VARIABLE - variable to return result # # an optional third argument is the CFlags to add to the compile line # or you can use CMAKE_REQUIRED_FLAGS # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_INCLUDE_FILE INCLUDE VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") if(CMAKE_REQUIRED_INCLUDES) set(CHECK_INCLUDE_FILE_C_INCLUDE_DIRS "-DINCLUDE_DIRECTORIES=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_INCLUDE_FILE_C_INCLUDE_DIRS) endif() set(MACRO_CHECK_INCLUDE_FILE_FLAGS ${CMAKE_REQUIRED_FLAGS}) set(CHECK_INCLUDE_FILE_VAR ${INCLUDE}) configure_file(${CMAKE_ROOT}/Modules/CheckIncludeFile.c.in ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.c IMMEDIATE) message(STATUS "Looking for ${INCLUDE}") if(${ARGC} EQUAL 3) set(CMAKE_C_FLAGS_SAVE ${CMAKE_C_FLAGS}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ARGV2}") endif() try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_INCLUDE_FILE_FLAGS} "${CHECK_INCLUDE_FILE_C_INCLUDE_DIRS}" OUTPUT_VARIABLE OUTPUT) if(${ARGC} EQUAL 3) set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS_SAVE}) endif() if(${VARIABLE}) message(STATUS "Looking for ${INCLUDE} - found") set(${VARIABLE} 1 CACHE INTERNAL "Have include ${INCLUDE}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the include file ${INCLUDE} " "exists passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for ${INCLUDE} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have include ${INCLUDE}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the include file ${INCLUDE} " "exists failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckIncludeFile.cxx.in000644 000765 000024 00000000101 12266011634 021510 0ustar00kitwarestaff000000 000000 #include <${CHECK_INCLUDE_FILE_VAR}> int main() { return 0; } cmake-2.8.12.2/Modules/CheckIncludeFileCXX.cmake000644 000765 000024 00000006070 12266011634 021757 0ustar00kitwarestaff000000 000000 # - Check if the include file exists. # CHECK_INCLUDE_FILE_CXX(INCLUDE VARIABLE) # # INCLUDE - name of include file # VARIABLE - variable to return result # # An optional third argument is the CFlags to add to the compile line # or you can use CMAKE_REQUIRED_FLAGS. # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") if(CMAKE_REQUIRED_INCLUDES) set(CHECK_INCLUDE_FILE_CXX_INCLUDE_DIRS "-DINCLUDE_DIRECTORIES=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_INCLUDE_FILE_CXX_INCLUDE_DIRS) endif() set(MACRO_CHECK_INCLUDE_FILE_FLAGS ${CMAKE_REQUIRED_FLAGS}) set(CHECK_INCLUDE_FILE_VAR ${INCLUDE}) configure_file(${CMAKE_ROOT}/Modules/CheckIncludeFile.cxx.in ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx IMMEDIATE) message(STATUS "Looking for C++ include ${INCLUDE}") if(${ARGC} EQUAL 3) set(CMAKE_CXX_FLAGS_SAVE ${CMAKE_CXX_FLAGS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARGV2}") endif() try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_INCLUDE_FILE_FLAGS} "${CHECK_INCLUDE_FILE_CXX_INCLUDE_DIRS}" OUTPUT_VARIABLE OUTPUT) if(${ARGC} EQUAL 3) set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS_SAVE}) endif() if(${VARIABLE}) message(STATUS "Looking for C++ include ${INCLUDE} - found") set(${VARIABLE} 1 CACHE INTERNAL "Have include ${INCLUDE}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the include file ${INCLUDE} " "exists passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for C++ include ${INCLUDE} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have include ${INCLUDE}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the include file ${INCLUDE} " "exists failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckIncludeFiles.cmake000644 000765 000024 00000006736 12266011634 021570 0ustar00kitwarestaff000000 000000 # - Check if the files can be included # # CHECK_INCLUDE_FILES(INCLUDE VARIABLE) # # INCLUDE - list of files to include # VARIABLE - variable to return result # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories #============================================================================= # Copyright 2003-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_INCLUDE_FILES INCLUDE VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") set(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n") if(CMAKE_REQUIRED_INCLUDES) set(CHECK_INCLUDE_FILES_INCLUDE_DIRS "-DINCLUDE_DIRECTORIES=${CMAKE_REQUIRED_INCLUDES}") else() set(CHECK_INCLUDE_FILES_INCLUDE_DIRS) endif() set(CHECK_INCLUDE_FILES_CONTENT "/* */\n") set(MACRO_CHECK_INCLUDE_FILES_FLAGS ${CMAKE_REQUIRED_FLAGS}) foreach(FILE ${INCLUDE}) set(CMAKE_CONFIGURABLE_FILE_CONTENT "${CMAKE_CONFIGURABLE_FILE_CONTENT}#include <${FILE}>\n") endforeach() set(CMAKE_CONFIGURABLE_FILE_CONTENT "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n\nint main(){return 0;}\n") configure_file("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in" "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFiles.c" @ONLY IMMEDIATE) set(_INCLUDE ${INCLUDE}) # remove empty elements if("${_INCLUDE}" MATCHES "^([^;]+);.+;([^;]+)$") list(LENGTH _INCLUDE _INCLUDE_LEN) set(_description "${_INCLUDE_LEN} include files ${CMAKE_MATCH_1}, ..., ${CMAKE_MATCH_2}") elseif("${_INCLUDE}" MATCHES "^([^;]+);([^;]+)$") set(_description "include files ${CMAKE_MATCH_1}, ${CMAKE_MATCH_2}") else() set(_description "include file ${_INCLUDE}") endif() message(STATUS "Looking for ${_description}") try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFiles.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_INCLUDE_FILES_FLAGS} "${CHECK_INCLUDE_FILES_INCLUDE_DIRS}" OUTPUT_VARIABLE OUTPUT) if(${VARIABLE}) message(STATUS "Looking for ${_description} - found") set(${VARIABLE} 1 CACHE INTERNAL "Have include ${INCLUDE}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if files ${INCLUDE} " "exist passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for ${_description} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have includes ${INCLUDE}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if files ${INCLUDE} " "exist failed with the following output:\n" "${OUTPUT}\nSource:\n${CMAKE_CONFIGURABLE_FILE_CONTENT}\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckLanguage.cmake000644 000765 000024 00000005216 12266011634 020735 0ustar00kitwarestaff000000 000000 # - Check if a language can be enabled # Usage: # check_language() # where is a language that may be passed to enable_language() # such as "Fortran". If CMAKE__COMPILER is already defined the # check does nothing. Otherwise it tries enabling the language in a # test project. The result is cached in CMAKE__COMPILER as the # compiler that was found, or NOTFOUND if the language cannot be enabled. # # Example: # check_language(Fortran) # if(CMAKE_Fortran_COMPILER) # enable_language(Fortran) # else() # message(STATUS "No Fortran support") # endif() #============================================================================= # Copyright 2009-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(check_language lang) if(NOT DEFINED CMAKE_${lang}_COMPILER) set(_desc "Looking for a ${lang} compiler") message(STATUS ${_desc}) file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/Check${lang}) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/Check${lang}/CMakeLists.txt" "cmake_minimum_required(VERSION 2.8) project(Check${lang} ${lang}) file(WRITE \"\${CMAKE_CURRENT_BINARY_DIR}/result.cmake\" \"set(CMAKE_${lang}_COMPILER \\\"\${CMAKE_${lang}_COMPILER}\\\")\\n\" ) ") execute_process( WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/Check${lang} COMMAND ${CMAKE_COMMAND} . -G ${CMAKE_GENERATOR} OUTPUT_VARIABLE output ERROR_VARIABLE output RESULT_VARIABLE result ) include(${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/Check${lang}/result.cmake OPTIONAL) if(CMAKE_${lang}_COMPILER AND "${result}" STREQUAL "0") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "${_desc} passed with the following output:\n" "${output}\n") else() set(CMAKE_${lang}_COMPILER NOTFOUND) file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "${_desc} failed with the following output:\n" "${output}\n") endif() message(STATUS "${_desc} - ${CMAKE_${lang}_COMPILER}") set(CMAKE_${lang}_COMPILER "${CMAKE_${lang}_COMPILER}" CACHE FILEPATH "${lang} compiler") mark_as_advanced(CMAKE_${lang}_COMPILER) endif() endmacro() cmake-2.8.12.2/Modules/CheckLibraryExists.cmake000644 000765 000024 00000005455 12266011634 022023 0ustar00kitwarestaff000000 000000 # - Check if the function exists. # CHECK_LIBRARY_EXISTS (LIBRARY FUNCTION LOCATION VARIABLE) # # LIBRARY - the name of the library you are looking for # FUNCTION - the name of the function # LOCATION - location where the library should be found # VARIABLE - variable to store the result # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") set(MACRO_CHECK_LIBRARY_EXISTS_DEFINITION "-DCHECK_FUNCTION_EXISTS=${FUNCTION} ${CMAKE_REQUIRED_FLAGS}") message(STATUS "Looking for ${FUNCTION} in ${LIBRARY}") set(CHECK_LIBRARY_EXISTS_LIBRARIES ${LIBRARY}) if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_LIBRARY_EXISTS_LIBRARIES ${CHECK_LIBRARY_EXISTS_LIBRARIES} ${CMAKE_REQUIRED_LIBRARIES}) endif() try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckFunctionExists.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} LINK_LIBRARIES ${CHECK_LIBRARY_EXISTS_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_LIBRARY_EXISTS_DEFINITION} -DLINK_DIRECTORIES:STRING=${LOCATION} OUTPUT_VARIABLE OUTPUT) if(${VARIABLE}) message(STATUS "Looking for ${FUNCTION} in ${LIBRARY} - found") set(${VARIABLE} 1 CACHE INTERNAL "Have library ${LIBRARY}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the function ${FUNCTION} exists in the ${LIBRARY} " "passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for ${FUNCTION} in ${LIBRARY} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have library ${LIBRARY}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the function ${FUNCTION} exists in the ${LIBRARY} " "failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckLibraryExists.lists.in000644 000765 000024 00000000452 12266011634 022476 0ustar00kitwarestaff000000 000000 PROJECT(CHECK_LIBRARY_EXISTS) ADD_DEFINITIONS(-DCHECK_FUNCTION_EXISTS=${CHECK_LIBRARY_EXISTS_FUNCTION}) LINK_DIRECTORIES(${CHECK_LIBRARY_EXISTS_LOCATION}) ADD_EXECUTABLE(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_SOURCE}) TARGET_LINK_LIBRARIES(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_LIBRARY}) cmake-2.8.12.2/Modules/CheckPrototypeDefinition.c.in000644 000765 000024 00000001002 12266011634 022764 0ustar00kitwarestaff000000 000000 @CHECK_PROTOTYPE_DEFINITION_HEADER@ static void cmakeRequireSymbol(int dummy, ...) { (void) dummy; } static void checkSymbol(void) { #ifndef @CHECK_PROTOTYPE_DEFINITION_SYMBOL@ cmakeRequireSymbol(0, &@CHECK_PROTOTYPE_DEFINITION_SYMBOL@); #endif } @CHECK_PROTOTYPE_DEFINITION_PROTO@ { return @CHECK_PROTOTYPE_DEFINITION_RETURN@; } #ifdef __CLASSIC_C__ int main() { int ac; char*av[]; #else int main(int ac, char *av[]) { #endif checkSymbol(); if (ac > 1000) { return *av[0]; } return 0; } cmake-2.8.12.2/Modules/CheckPrototypeDefinition.cmake000644 000765 000024 00000010054 12266011634 023224 0ustar00kitwarestaff000000 000000 # - Check if the protoype we expect is correct. # check_prototype_definition(FUNCTION PROTOTYPE RETURN HEADER VARIABLE) # FUNCTION - The name of the function (used to check if prototype exists) # PROTOTYPE- The prototype to check. # RETURN - The return value of the function. # HEADER - The header files required. # VARIABLE - The variable to store the result. # Example: # check_prototype_definition(getpwent_r # "struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)" # "NULL" # "unistd.h;pwd.h" # SOLARIS_GETPWENT_R) # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2005-2009 Kitware, Inc. # Copyright 2010-2011 Andreas Schneider # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # get_filename_component(__check_proto_def_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) function(CHECK_PROTOTYPE_DEFINITION _FUNCTION _PROTOTYPE _RETURN _HEADER _VARIABLE) if ("${_VARIABLE}" MATCHES "^${_VARIABLE}$") set(CHECK_PROTOTYPE_DEFINITION_CONTENT "/* */\n") set(CHECK_PROTOTYPE_DEFINITION_FLAGS ${CMAKE_REQUIRED_FLAGS}) if (CMAKE_REQUIRED_LIBRARIES) set(CHECK_PROTOTYPE_DEFINITION_LIBS LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_PROTOTYPE_DEFINITION_LIBS) endif() if (CMAKE_REQUIRED_INCLUDES) set(CMAKE_SYMBOL_EXISTS_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CMAKE_SYMBOL_EXISTS_INCLUDES) endif() foreach(_FILE ${_HEADER}) set(CHECK_PROTOTYPE_DEFINITION_HEADER "${CHECK_PROTOTYPE_DEFINITION_HEADER}#include <${_FILE}>\n") endforeach() set(CHECK_PROTOTYPE_DEFINITION_SYMBOL ${_FUNCTION}) set(CHECK_PROTOTYPE_DEFINITION_PROTO ${_PROTOTYPE}) set(CHECK_PROTOTYPE_DEFINITION_RETURN ${_RETURN}) configure_file("${__check_proto_def_dir}/CheckPrototypeDefinition.c.in" "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckPrototypeDefinition.c" @ONLY) file(READ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckPrototypeDefinition.c _SOURCE) try_compile(${_VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckPrototypeDefinition.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_PROTOTYPE_DEFINITION_LIBS} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CHECK_PROTOTYPE_DEFINITION_FLAGS} "${CMAKE_SYMBOL_EXISTS_INCLUDES}" OUTPUT_VARIABLE OUTPUT) if (${_VARIABLE}) set(${_VARIABLE} 1 CACHE INTERNAL "Have correct prototype for ${_FUNCTION}") message(STATUS "Checking prototype ${_FUNCTION} for ${_VARIABLE} - True") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the prototype ${_FUNCTION} exists for ${_VARIABLE} passed with the following output:\n" "${OUTPUT}\n\n") else () message(STATUS "Checking prototype ${_FUNCTION} for ${_VARIABLE} - False") set(${_VARIABLE} 0 CACHE INTERNAL "Have correct prototype for ${_FUNCTION}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the prototype ${_FUNCTION} exists for ${_VARIABLE} failed with the following output:\n" "${OUTPUT}\n\n${_SOURCE}\n\n") endif () endif() endfunction() cmake-2.8.12.2/Modules/CheckSizeOf.cmake000644 000765 000024 00000001455 12266011634 020412 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) message(SEND_ERROR "Modules/CheckSizeOf.cmake has been removed. " "Use Modules/CheckTypeSize.cmake instead. This " "compatibility check may be removed before the next release!") cmake-2.8.12.2/Modules/CheckStructHasMember.cmake000644 000765 000024 00000003422 12266011634 022257 0ustar00kitwarestaff000000 000000 # - Check if the given struct or class has the specified member variable # CHECK_STRUCT_HAS_MEMBER (STRUCT MEMBER HEADER VARIABLE) # # STRUCT - the name of the struct or class you are interested in # MEMBER - the member which existence you want to check # HEADER - the header(s) where the prototype should be declared # VARIABLE - variable to store the result # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # # Example: CHECK_STRUCT_HAS_MEMBER("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC) #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CheckCSourceCompiles) macro (CHECK_STRUCT_HAS_MEMBER _STRUCT _MEMBER _HEADER _RESULT) set(_INCLUDE_FILES) foreach (it ${_HEADER}) set(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n") endforeach () set(_CHECK_STRUCT_MEMBER_SOURCE_CODE " ${_INCLUDE_FILES} int main() { ${_STRUCT}* tmp; tmp->${_MEMBER}; return 0; } ") CHECK_C_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT}) endmacro () cmake-2.8.12.2/Modules/CheckSymbolExists.cmake000644 000765 000024 00000010237 12266011634 021656 0ustar00kitwarestaff000000 000000 # - Check if a symbol exists as a function, variable, or macro # CHECK_SYMBOL_EXISTS( ) # # Check that the is available after including given header # and store the result in a . Specify the list # of files in one argument as a semicolon-separated list. # # If the header files define the symbol as a macro it is considered # available and assumed to work. If the header files declare the # symbol as a function or variable then the symbol must also be # available for linking. If the symbol is a type or enum value # it will not be recognized (consider using CheckTypeSize or # CheckCSourceCompiles). # If the check needs to be done in C++, consider using CHECK_CXX_SYMBOL_EXISTS(), # which does the same as CHECK_SYMBOL_EXISTS(), but in C++. # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2003-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE) _CHECK_SYMBOL_EXISTS("${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c" "${SYMBOL}" "${FILES}" "${VARIABLE}" ) endmacro() macro(_CHECK_SYMBOL_EXISTS SOURCEFILE SYMBOL FILES VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") set(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n") set(MACRO_CHECK_SYMBOL_EXISTS_FLAGS ${CMAKE_REQUIRED_FLAGS}) if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_SYMBOL_EXISTS_LIBS LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_SYMBOL_EXISTS_LIBS) endif() if(CMAKE_REQUIRED_INCLUDES) set(CMAKE_SYMBOL_EXISTS_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") else() set(CMAKE_SYMBOL_EXISTS_INCLUDES) endif() foreach(FILE ${FILES}) set(CMAKE_CONFIGURABLE_FILE_CONTENT "${CMAKE_CONFIGURABLE_FILE_CONTENT}#include <${FILE}>\n") endforeach() set(CMAKE_CONFIGURABLE_FILE_CONTENT "${CMAKE_CONFIGURABLE_FILE_CONTENT}\nint main(int argc, char** argv)\n{\n (void)argv;\n#ifndef ${SYMBOL}\n return ((int*)(&${SYMBOL}))[argc];\n#else\n (void)argc;\n return 0;\n#endif\n}\n") configure_file("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in" "${SOURCEFILE}" @ONLY IMMEDIATE) message(STATUS "Looking for ${SYMBOL}") try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} "${SOURCEFILE}" COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_SYMBOL_EXISTS_LIBS} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_SYMBOL_EXISTS_FLAGS} "${CMAKE_SYMBOL_EXISTS_INCLUDES}" OUTPUT_VARIABLE OUTPUT) if(${VARIABLE}) message(STATUS "Looking for ${SYMBOL} - found") set(${VARIABLE} 1 CACHE INTERNAL "Have symbol ${SYMBOL}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the ${SYMBOL} " "exist passed with the following output:\n" "${OUTPUT}\nFile ${SOURCEFILE}:\n" "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n") else() message(STATUS "Looking for ${SYMBOL} - not found") set(${VARIABLE} "" CACHE INTERNAL "Have symbol ${SYMBOL}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the ${SYMBOL} " "exist failed with the following output:\n" "${OUTPUT}\nFile ${SOURCEFILE}:\n" "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CheckTypeSize.c.in000644 000765 000024 00000001441 12266011634 020531 0ustar00kitwarestaff000000 000000 @headers@ #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #endif #define SIZE (sizeof(@type@)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } cmake-2.8.12.2/Modules/CheckTypeSize.cmake000644 000765 000024 00000016744 12266011634 020776 0ustar00kitwarestaff000000 000000 # - Check sizeof a type # CHECK_TYPE_SIZE(TYPE VARIABLE [BUILTIN_TYPES_ONLY]) # Check if the type exists and determine its size. # On return, "HAVE_${VARIABLE}" holds the existence of the type, # and "${VARIABLE}" holds one of the following: # = type has non-zero size # "0" = type has arch-dependent size (see below) # "" = type does not exist # Furthermore, the variable "${VARIABLE}_CODE" holds C preprocessor # code to define the macro "${VARIABLE}" to the size of the type, or # leave the macro undefined if the type does not exist. # # The variable "${VARIABLE}" may be "0" when CMAKE_OSX_ARCHITECTURES # has multiple architectures for building OS X universal binaries. # This indicates that the type size varies across architectures. # In this case "${VARIABLE}_CODE" contains C preprocessor tests # mapping from each architecture macro to the corresponding type size. # The list of architecture macros is stored in "${VARIABLE}_KEYS", and # the value for each key is stored in "${VARIABLE}-${KEY}". # # If the BUILTIN_TYPES_ONLY option is not given, the macro checks for # headers , , and , and saves results # in HAVE_SYS_TYPES_H, HAVE_STDINT_H, and HAVE_STDDEF_H. The type # size check automatically includes the available headers, thus # supporting checks of types defined in the headers. # # Despite the name of the macro you may use it to check the size of # more complex expressions, too. To check e.g. for the size of a struct # member you can do something like this: # check_type_size("((struct something*)0)->member" SIZEOF_MEMBER) # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link # CMAKE_EXTRA_INCLUDE_FILES = list of extra headers to include #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CheckIncludeFile) cmake_policy(PUSH) cmake_minimum_required(VERSION 2.6 FATAL_ERROR) get_filename_component(__check_type_size_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) #----------------------------------------------------------------------------- # Helper function. DO NOT CALL DIRECTLY. function(__check_type_size_impl type var map builtin) message(STATUS "Check size of ${type}") # Include header files. set(headers) if(builtin) if(HAVE_SYS_TYPES_H) set(headers "${headers}#include \n") endif() if(HAVE_STDINT_H) set(headers "${headers}#include \n") endif() if(HAVE_STDDEF_H) set(headers "${headers}#include \n") endif() endif() foreach(h ${CMAKE_EXTRA_INCLUDE_FILES}) set(headers "${headers}#include \"${h}\"\n") endforeach() # Perform the check. set(src ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${var}.c) set(bin ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${var}.bin) configure_file(${__check_type_size_dir}/CheckTypeSize.c.in ${src} @ONLY) try_compile(HAVE_${var} ${CMAKE_BINARY_DIR} ${src} COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CMAKE_FLAGS "-DCOMPILE_DEFINITIONS:STRING=${CMAKE_REQUIRED_FLAGS}" "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}" OUTPUT_VARIABLE output COPY_FILE ${bin} ) if(HAVE_${var}) # The check compiled. Load information from the binary. file(STRINGS ${bin} strings LIMIT_COUNT 10 REGEX "INFO:size") # Parse the information strings. set(regex_size ".*INFO:size\\[0*([^]]*)\\].*") set(regex_key " key\\[([^]]*)\\]") set(keys) set(code) set(mismatch) set(first 1) foreach(info ${strings}) if("${info}" MATCHES "${regex_size}") # Get the type size. string(REGEX REPLACE "${regex_size}" "\\1" size "${info}") if(first) set(${var} ${size}) elseif(NOT "${size}" STREQUAL "${${var}}") set(mismatch 1) endif() set(first 0) # Get the architecture map key. string(REGEX MATCH "${regex_key}" key "${info}") string(REGEX REPLACE "${regex_key}" "\\1" key "${key}") if(key) set(code "${code}\nset(${var}-${key} \"${size}\")") list(APPEND keys ${key}) endif() endif() endforeach() # Update the architecture-to-size map. if(mismatch AND keys) configure_file(${__check_type_size_dir}/CheckTypeSizeMap.cmake.in ${map} @ONLY) set(${var} 0) else() file(REMOVE ${map}) endif() if(mismatch AND NOT keys) message(SEND_ERROR "CHECK_TYPE_SIZE found different results, consider setting CMAKE_OSX_ARCHITECTURES or CMAKE_TRY_COMPILE_OSX_ARCHITECTURES to one or no architecture !") endif() message(STATUS "Check size of ${type} - done") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining size of ${type} passed with the following output:\n${output}\n\n") set(${var} "${${var}}" CACHE INTERNAL "CHECK_TYPE_SIZE: sizeof(${type})") else() # The check failed to compile. message(STATUS "Check size of ${type} - failed") file(READ ${src} content) file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining size of ${type} failed with the following output:\n${output}\n${src}:\n${content}\n\n") set(${var} "" CACHE INTERNAL "CHECK_TYPE_SIZE: ${type} unknown") file(REMOVE ${map}) endif() endfunction() #----------------------------------------------------------------------------- macro(CHECK_TYPE_SIZE TYPE VARIABLE) # Optionally check for standard headers. if("${ARGV2}" STREQUAL "BUILTIN_TYPES_ONLY") set(_builtin 0) else() set(_builtin 1) check_include_file(sys/types.h HAVE_SYS_TYPES_H) check_include_file(stdint.h HAVE_STDINT_H) check_include_file(stddef.h HAVE_STDDEF_H) endif() # Compute or load the size or size map. set(${VARIABLE}_KEYS) set(_map_file ${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${VARIABLE}.cmake) if(NOT DEFINED HAVE_${VARIABLE}) __check_type_size_impl(${TYPE} ${VARIABLE} ${_map_file} ${_builtin}) endif() include(${_map_file} OPTIONAL) set(_map_file) set(_builtin) # Create preprocessor code. if(${VARIABLE}_KEYS) set(${VARIABLE}_CODE) set(_if if) foreach(key ${${VARIABLE}_KEYS}) set(${VARIABLE}_CODE "${${VARIABLE}_CODE}#${_if} defined(${key})\n# define ${VARIABLE} ${${VARIABLE}-${key}}\n") set(_if elif) endforeach() set(${VARIABLE}_CODE "${${VARIABLE}_CODE}#else\n# error ${VARIABLE} unknown\n#endif") set(_if) elseif(${VARIABLE}) set(${VARIABLE}_CODE "#define ${VARIABLE} ${${VARIABLE}}") else() set(${VARIABLE}_CODE "/* #undef ${VARIABLE} */") endif() endmacro() #----------------------------------------------------------------------------- cmake_policy(POP) cmake-2.8.12.2/Modules/CheckTypeSizeMap.cmake.in000644 000765 000024 00000000037 12266011634 022025 0ustar00kitwarestaff000000 000000 set(@var@_KEYS "@keys@")@code@ cmake-2.8.12.2/Modules/CheckVariableExists.c000644 000765 000024 00000000553 12266011634 021300 0ustar00kitwarestaff000000 000000 #ifdef CHECK_VARIABLE_EXISTS extern int CHECK_VARIABLE_EXISTS; #ifdef __CLASSIC_C__ int main(){ int ac; char*av[]; #else int main(int ac, char*av[]){ #endif if(ac > 1000){return *av[0];} return CHECK_VARIABLE_EXISTS; } #else /* CHECK_VARIABLE_EXISTS */ # error "CHECK_VARIABLE_EXISTS has to specify the variable" #endif /* CHECK_VARIABLE_EXISTS */ cmake-2.8.12.2/Modules/CheckVariableExists.cmake000644 000765 000024 00000004742 12266011634 022142 0ustar00kitwarestaff000000 000000 # - Check if the variable exists. # CHECK_VARIABLE_EXISTS(VAR VARIABLE) # # VAR - the name of the variable # VARIABLE - variable to store the result # # This macro is only for C variables. # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_LIBRARIES = list of libraries to link #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_VARIABLE_EXISTS VAR VARIABLE) if("${VARIABLE}" MATCHES "^${VARIABLE}$") set(MACRO_CHECK_VARIABLE_DEFINITIONS "-DCHECK_VARIABLE_EXISTS=${VAR} ${CMAKE_REQUIRED_FLAGS}") message(STATUS "Looking for ${VAR}") if(CMAKE_REQUIRED_LIBRARIES) set(CHECK_VARIABLE_EXISTS_ADD_LIBRARIES LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}) else() set(CHECK_VARIABLE_EXISTS_ADD_LIBRARIES) endif() try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckVariableExists.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${CHECK_VARIABLE_EXISTS_ADD_LIBRARIES} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_VARIABLE_DEFINITIONS} OUTPUT_VARIABLE OUTPUT) if(${VARIABLE}) set(${VARIABLE} 1 CACHE INTERNAL "Have variable ${VAR}") message(STATUS "Looking for ${VAR} - found") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the variable ${VAR} exists passed with the following output:\n" "${OUTPUT}\n\n") else() set(${VARIABLE} "" CACHE INTERNAL "Have variable ${VAR}") message(STATUS "Looking for ${VAR} - not found") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the variable ${VAR} exists failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/CMake.cmake000644 000765 000024 00000001404 12266011633 017226 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by cmake.cxx to compute the CMAKE_ROOT location. # Do not remove this file from cvs without updating cmake.cxx to look # for a different file. cmake-2.8.12.2/Modules/CMakeAddFortranSubdirectory/build_mingw.cmake.in000644 000765 000024 00000000140 12266011633 026473 0ustar00kitwarestaff000000 000000 set(ENV{PATH} "@MINGW_PATH@\;$ENV{PATH}") execute_process(COMMAND "@CMAKE_COMMAND@" --build . ) cmake-2.8.12.2/Modules/CMakeAddFortranSubdirectory/config_mingw.cmake.in000644 000765 000024 00000000450 12266011633 026645 0ustar00kitwarestaff000000 000000 set(ENV{PATH} "@MINGW_PATH@\;$ENV{PATH}") set(CMAKE_COMMAND_LINE "@ARGS_CMAKE_COMMAND_LINE@") execute_process( COMMAND "@CMAKE_COMMAND@" "-GMinGW Makefiles" -DCMAKE_Fortran_COMPILER:PATH=@MINGW_GFORTRAN@ -DBUILD_SHARED_LIBS=ON -DCMAKE_GNUtoMS=ON ${CMAKE_COMMAND_LINE} "@source_dir@") cmake-2.8.12.2/Modules/CMakeAddFortranSubdirectory.cmake000644 000765 000024 00000017353 12266011633 023604 0ustar00kitwarestaff000000 000000 # - Use MinGW gfortran from VS if a fortran compiler is not found. # The 'add_fortran_subdirectory' function adds a subdirectory # to a project that contains a fortran only sub-project. The module # will check the current compiler and see if it can support fortran. # If no fortran compiler is found and the compiler is MSVC, then # this module will find the MinGW gfortran. It will then use # an external project to build with the MinGW tools. It will also # create imported targets for the libraries created. This will only # work if the fortran code is built into a dll, so BUILD_SHARED_LIBS # is turned on in the project. In addition the CMAKE_GNUtoMS option # is set to on, so that the MS .lib files are created. # Usage is as follows: # cmake_add_fortran_subdirectory( # # name of subdirectory # PROJECT # project name in subdir top CMakeLists.txt # ARCHIVE_DIR # dir where project places .lib files # RUNTIME_DIR # dir where project places .dll files # LIBRARIES ... # names of library targets to import # LINK_LIBRARIES # link interface libraries for LIBRARIES # [LINK_LIBS ...]... # CMAKE_COMMAND_LINE ... # extra command line flags to pass to cmake # NO_EXTERNAL_INSTALL # skip installation of external project # ) # Relative paths in ARCHIVE_DIR and RUNTIME_DIR are interpreted with respect # to the build directory corresponding to the source directory in which the # function is invoked. # # Limitations: # # NO_EXTERNAL_INSTALL is required for forward compatibility with a # future version that supports installation of the external project # binaries during "make install". #============================================================================= # Copyright 2011-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(_MS_MINGW_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}) include(CheckLanguage) include(ExternalProject) include(CMakeParseArguments) function(_setup_mingw_config_and_build source_dir build_dir) # Look for a MinGW gfortran. find_program(MINGW_GFORTRAN NAMES gfortran PATHS c:/MinGW/bin "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin" ) if(NOT MINGW_GFORTRAN) message(FATAL_ERROR "gfortran not found, please install MinGW with the gfortran option." "Or set the cache variable MINGW_GFORTRAN to the full path. " " This is required to build") endif() # Validate the MinGW gfortran we found. if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(_mingw_target "Target:.*64.*mingw") else() set(_mingw_target "Target:.*mingw32") endif() execute_process(COMMAND "${MINGW_GFORTRAN}" -v ERROR_VARIABLE out ERROR_STRIP_TRAILING_WHITESPACE) if(NOT "${out}" MATCHES "${_mingw_target}") string(REPLACE "\n" "\n " out " ${out}") message(FATAL_ERROR "MINGW_GFORTRAN is set to\n" " ${MINGW_GFORTRAN}\n" "which is not a MinGW gfortran for this architecture. " "The output from -v does not match \"${_mingw_target}\":\n" "${out}\n" "Set MINGW_GFORTRAN to a proper MinGW gfortran for this architecture." ) endif() # Configure scripts to run MinGW tools with the proper PATH. get_filename_component(MINGW_PATH ${MINGW_GFORTRAN} PATH) file(TO_NATIVE_PATH "${MINGW_PATH}" MINGW_PATH) string(REPLACE "\\" "\\\\" MINGW_PATH "${MINGW_PATH}") configure_file( ${_MS_MINGW_SOURCE_DIR}/CMakeAddFortranSubdirectory/config_mingw.cmake.in ${build_dir}/config_mingw.cmake @ONLY) configure_file( ${_MS_MINGW_SOURCE_DIR}/CMakeAddFortranSubdirectory/build_mingw.cmake.in ${build_dir}/build_mingw.cmake @ONLY) endfunction() function(_add_fortran_library_link_interface library depend_library) set_target_properties(${library} PROPERTIES IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "${depend_library}") endfunction() function(cmake_add_fortran_subdirectory subdir) # Parse arguments to function set(options NO_EXTERNAL_INSTALL) set(oneValueArgs PROJECT ARCHIVE_DIR RUNTIME_DIR) set(multiValueArgs LIBRARIES LINK_LIBRARIES CMAKE_COMMAND_LINE) cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(NOT ARGS_NO_EXTERNAL_INSTALL) message(FATAL_ERROR "Option NO_EXTERNAL_INSTALL is required (for forward compatibility) " "but was not given." ) endif() # if we are not using MSVC without fortran support # then just use the usual add_subdirectory to build # the fortran library check_language(Fortran) if(NOT (MSVC AND (NOT CMAKE_Fortran_COMPILER))) add_subdirectory(${subdir}) return() endif() # if we have MSVC without Intel fortran then setup # external projects to build with mingw fortran set(source_dir "${CMAKE_CURRENT_SOURCE_DIR}/${subdir}") set(project_name "${ARGS_PROJECT}") set(library_dir "${ARGS_ARCHIVE_DIR}") set(binary_dir "${ARGS_RUNTIME_DIR}") set(libraries ${ARGS_LIBRARIES}) # use the same directory that add_subdirectory would have used set(build_dir "${CMAKE_CURRENT_BINARY_DIR}/${subdir}") foreach(dir_var library_dir binary_dir) if(NOT IS_ABSOLUTE "${${dir_var}}") get_filename_component(${dir_var} "${CMAKE_CURRENT_BINARY_DIR}/${${dir_var}}" ABSOLUTE) endif() endforeach() # create build and configure wrapper scripts _setup_mingw_config_and_build("${source_dir}" "${build_dir}") # create the external project externalproject_add(${project_name}_build SOURCE_DIR ${source_dir} BINARY_DIR ${build_dir} CONFIGURE_COMMAND ${CMAKE_COMMAND} -P ${build_dir}/config_mingw.cmake BUILD_COMMAND ${CMAKE_COMMAND} -P ${build_dir}/build_mingw.cmake INSTALL_COMMAND "" ) # make the external project always run make with each build externalproject_add_step(${project_name}_build forcebuild COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BUILD_DIR}/${project_name}-prefix/src/${project_name}-stamp/${project_name}-build DEPENDEES configure DEPENDERS build ALWAYS 1 ) # create imported targets for all libraries foreach(lib ${libraries}) add_library(${lib} SHARED IMPORTED GLOBAL) set_property(TARGET ${lib} APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) set_target_properties(${lib} PROPERTIES IMPORTED_IMPLIB_NOCONFIG "${library_dir}/lib${lib}.lib" IMPORTED_LOCATION_NOCONFIG "${binary_dir}/lib${lib}.dll" ) add_dependencies(${lib} ${project_name}_build) endforeach() # now setup link libraries for targets set(start FALSE) set(target) foreach(lib ${ARGS_LINK_LIBRARIES}) if("${lib}" STREQUAL "LINK_LIBS") set(start TRUE) else() if(start) if(DEFINED target) # process current target and target_libs _add_fortran_library_link_interface(${target} "${target_libs}") # zero out target and target_libs set(target) set(target_libs) endif() # save the current target and set start to FALSE set(target ${lib}) set(start FALSE) else() # append the lib to target_libs list(APPEND target_libs "${lib}") endif() endif() endforeach() # process anything that is left in target and target_libs if(DEFINED target) _add_fortran_library_link_interface(${target} "${target_libs}") endif() endfunction() cmake-2.8.12.2/Modules/CMakeAddNewLanguage.txt000644 000765 000024 00000002772 12266011633 021525 0ustar00kitwarestaff000000 000000 This file provides a few notes to CMake developers about how to add support for a new language to CMake. It is also possible to place these files in CMAKE_MODULE_PATH within an outside project to add languages not supported by upstream CMake. However, this is not a fully supported use case. The implementation behind the scenes of project/enable_language, including the compiler/platform modules, is an *internal* API that does not make any compatibility guarantees. It is not covered in the official reference documentation that is versioned with the source code. Maintainers of external language support are responsible for porting it to each version of CMake as upstream changes are made. Since the API is internal we will not necessarily include notice of any changes in release notes. CMakeDetermine(LANG)Compiler.cmake -> this should find the compiler for LANG and configure CMake(LANG)Compiler.cmake.in CMake(LANG)Compiler.cmake.in -> used by CMakeDetermine(LANG)Compiler.cmake This file is used to store compiler information and is copied down into try compile directories so that try compiles do not need to re-determine and test the LANG CMakeTest(LANG)Compiler.cmake -> test the compiler and set: SET(CMAKE_(LANG)_COMPILER_WORKS 1 CACHE INTERNAL "") CMake(LANG)Information.cmake -> set up rule variables for LANG : CMAKE_(LANG)_CREATE_SHARED_LIBRARY CMAKE_(LANG)_CREATE_SHARED_MODULE CMAKE_(LANG)_CREATE_STATIC_LIBRARY CMAKE_(LANG)_COMPILE_OBJECT CMAKE_(LANG)_LINK_EXECUTABLE cmake-2.8.12.2/Modules/CMakeASM-ATTInformation.cmake000644 000765 000024 00000001774 12266011633 022435 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # support for AT&T syntax assemblers, e.g. GNU as set(ASM_DIALECT "-ATT") # *.S files are supposed to be preprocessed, so they should not be passed to # assembler but should be processed by gcc set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;asm) set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT " -o ") include(CMakeASMInformation) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeASM_MASMInformation.cmake000644 000765 000024 00000001607 12266011633 022617 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # support for the MS assembler, masm and masm64 set(ASM_DIALECT "_MASM") set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS asm) set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT " /c /Fo ") include(CMakeASMInformation) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeASM_NASMInformation.cmake000644 000765 000024 00000002720 12266011633 022615 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # support for the nasm assembler set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS nasm asm) if(NOT CMAKE_ASM_NASM_OBJECT_FORMAT) if(WIN32) if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8) set(CMAKE_ASM_NASM_OBJECT_FORMAT win64) else() set(CMAKE_ASM_NASM_OBJECT_FORMAT win32) endif() elseif(APPLE) if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8) set(CMAKE_ASM_NASM_OBJECT_FORMAT macho64) else() set(CMAKE_ASM_NASM_OBJECT_FORMAT macho) endif() else() if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8) set(CMAKE_ASM_NASM_OBJECT_FORMAT elf64) else() set(CMAKE_ASM_NASM_OBJECT_FORMAT elf) endif() endif() endif() set(CMAKE_ASM_NASM_COMPILE_OBJECT " -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o ") # Load the generic ASMInformation file: set(ASM_DIALECT "_NASM") include(CMakeASMInformation) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeASMCompiler.cmake.in000644 000765 000024 00000001041 12266011633 021664 0ustar00kitwarestaff000000 000000 set(CMAKE_ASM@ASM_DIALECT@_COMPILER "@_CMAKE_ASM_COMPILER@") set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ARG1 "@_CMAKE_ASM_COMPILER_ARG1@") set(CMAKE_AR "@CMAKE_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") set(CMAKE_LINKER "@CMAKE_LINKER@") set(CMAKE_ASM@ASM_DIALECT@_COMPILER_LOADED 1) set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ID "@_CMAKE_ASM_COMPILER_ID@") set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ENV_VAR "@_CMAKE_ASM_COMPILER_ENV_VAR@") set(CMAKE_ASM@ASM_DIALECT@_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) set(CMAKE_ASM@ASM_DIALECT@_LINKER_PREFERENCE 0) cmake-2.8.12.2/Modules/CMakeASMInformation.cmake000644 000765 000024 00000012437 12266011633 022005 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(UNIX) set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .o) else() set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .obj) endif() set(CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} "-I") # -I set(CMAKE_BASE_NAME) get_filename_component(CMAKE_BASE_NAME "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" NAME_WE) if("${CMAKE_BASE_NAME}" STREQUAL "as") set(CMAKE_BASE_NAME gas) endif() # Load compiler-specific information. set(_INCLUDED_FILE "") if(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) include(Compiler/${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}-ASM${ASM_DIALECT} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif() if(NOT _INCLUDED_FILE) if("ASM${ASM_DIALECT}" STREQUAL "ASM") message(STATUS "Warning: Did not find file Compiler/${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}-ASM${ASM_DIALECT}") endif() include(Platform/${CMAKE_BASE_NAME} OPTIONAL) endif() if(CMAKE_SYSTEM_PROCESSOR) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}-ASM${ASM_DIALECT}-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) if(NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL) endif() endif() include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}-ASM${ASM_DIALECT} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) if(NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL) endif() # Set default assembler file extensions: if(NOT CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS) set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;S;asm) endif() # Support for CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT and friends: set(CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT "$ENV{ASM${ASM_DIALECT}FLAGS} ${CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT}") # avoid just having a space as the initial value for the cache if(CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT STREQUAL " ") set(CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT) endif() set (CMAKE_ASM${ASM_DIALECT}_FLAGS "${CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT}" CACHE STRING "Flags used by the assembler during all build types.") if(NOT CMAKE_NOT_USING_CONFIG_FLAGS) # default build type is none if(NOT CMAKE_NO_BUILD_TYPE) set (CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE_INIT} CACHE STRING "Choose the type of build, options are: None, Debug Release RelWithDebInfo MinSizeRel.") endif() set (CMAKE_ASM${ASM_DIALECT}_FLAGS_DEBUG "${CMAKE_ASM${ASM_DIALECT}_FLAGS_DEBUG_INIT}" CACHE STRING "Flags used by the assembler during debug builds.") set (CMAKE_ASM${ASM_DIALECT}_FLAGS_MINSIZEREL "${CMAKE_ASM${ASM_DIALECT}_FLAGS_MINSIZEREL_INIT}" CACHE STRING "Flags used by the assembler during release minsize builds.") set (CMAKE_ASM${ASM_DIALECT}_FLAGS_RELEASE "${CMAKE_ASM${ASM_DIALECT}_FLAGS_RELEASE_INIT}" CACHE STRING "Flags used by the assembler during release builds.") set (CMAKE_ASM${ASM_DIALECT}_FLAGS_RELWITHDEBINFO "${CMAKE_ASM${ASM_DIALECT}_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING "Flags used by the assembler during Release with Debug Info builds.") endif() mark_as_advanced(CMAKE_ASM${ASM_DIALECT}_FLAGS CMAKE_ASM${ASM_DIALECT}_FLAGS_DEBUG CMAKE_ASM${ASM_DIALECT}_FLAGS_MINSIZEREL CMAKE_ASM${ASM_DIALECT}_FLAGS_RELEASE CMAKE_ASM${ASM_DIALECT}_FLAGS_RELWITHDEBINFO ) if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT) set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT " -o -c ") endif() if(NOT CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY) set(CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY " cr " " ") endif() if(NOT CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE) set(CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE " -o ") endif() if(NOT CMAKE_EXECUTABLE_RUNTIME_ASM${ASM_DIALECT}_FLAG) set(CMAKE_EXECUTABLE_RUNTIME_ASM${ASM_DIALECT}_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_ASM${ASM_DIALECT}_FLAG}) endif() if(NOT CMAKE_EXECUTABLE_RUNTIME_ASM${ASM_DIALECT}_FLAG_SEP) set(CMAKE_EXECUTABLE_RUNTIME_ASM${ASM_DIALECT}_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_ASM${ASM_DIALECT}_FLAG_SEP}) endif() if(NOT CMAKE_EXECUTABLE_RPATH_LINK_ASM${ASM_DIALECT}_FLAG) set(CMAKE_EXECUTABLE_RPATH_LINK_ASM${ASM_DIALECT}_FLAG ${CMAKE_SHARED_LIBRARY_RPATH_LINK_ASM${ASM_DIALECT}_FLAG}) endif() # to be done if(NOT CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_LIBRARY) set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_LIBRARY) endif() if(NOT CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_MODULE) set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_MODULE) endif() set(CMAKE_ASM${ASM_DIALECT}_INFOMATION_LOADED 1) cmake-2.8.12.2/Modules/CMakeBackwardCompatibilityC.cmake000644 000765 000024 00000006603 12266011633 023530 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Nothing here yet if(CMAKE_GENERATOR MATCHES "Visual Studio 7") include(CMakeVS7BackwardCompatibility) set(CMAKE_SKIP_COMPATIBILITY_TESTS 1) endif() if(CMAKE_GENERATOR MATCHES "Visual Studio 6") include(CMakeVS6BackwardCompatibility) set(CMAKE_SKIP_COMPATIBILITY_TESTS 1) endif() if(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) # Old CMake versions did not support OS X universal binaries anyway, # so just get through this with at least some size for the types. list(LENGTH CMAKE_OSX_ARCHITECTURES NUM_ARCHS) if(${NUM_ARCHS} GREATER 1) if(NOT DEFINED CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) message(WARNING "This module does not work with OS X universal binaries.") set(__ERASE_CMAKE_TRY_COMPILE_OSX_ARCHITECTURES 1) list(GET CMAKE_OSX_ARCHITECTURES 0 CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) endif() endif() include (CheckTypeSize) CHECK_TYPE_SIZE(int CMAKE_SIZEOF_INT) CHECK_TYPE_SIZE(long CMAKE_SIZEOF_LONG) CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P) CHECK_TYPE_SIZE(char CMAKE_SIZEOF_CHAR) CHECK_TYPE_SIZE(short CMAKE_SIZEOF_SHORT) CHECK_TYPE_SIZE(float CMAKE_SIZEOF_FLOAT) CHECK_TYPE_SIZE(double CMAKE_SIZEOF_DOUBLE) include (CheckIncludeFile) CHECK_INCLUDE_FILE("limits.h" CMAKE_HAVE_LIMITS_H) CHECK_INCLUDE_FILE("unistd.h" CMAKE_HAVE_UNISTD_H) CHECK_INCLUDE_FILE("pthread.h" CMAKE_HAVE_PTHREAD_H) include (CheckIncludeFiles) CHECK_INCLUDE_FILES("sys/types.h;sys/prctl.h" CMAKE_HAVE_SYS_PRCTL_H) include (TestBigEndian) TEST_BIG_ENDIAN(CMAKE_WORDS_BIGENDIAN) include (FindX11) if("${X11_X11_INCLUDE_PATH}" STREQUAL "/usr/include") set (CMAKE_X_CFLAGS "" CACHE STRING "X11 extra flags.") else() set (CMAKE_X_CFLAGS "-I${X11_X11_INCLUDE_PATH}" CACHE STRING "X11 extra flags.") endif() set (CMAKE_X_LIBS "${X11_LIBRARIES}" CACHE STRING "Libraries and options used in X11 programs.") set (CMAKE_HAS_X "${X11_FOUND}" CACHE INTERNAL "Is X11 around.") include (FindThreads) set (CMAKE_THREAD_LIBS "${CMAKE_THREAD_LIBS_INIT}" CACHE STRING "Thread library used.") set (CMAKE_USE_PTHREADS "${CMAKE_USE_PTHREADS_INIT}" CACHE BOOL "Use the pthreads library.") set (CMAKE_USE_WIN32_THREADS "${CMAKE_USE_WIN32_THREADS_INIT}" CACHE BOOL "Use the win32 thread library.") set (CMAKE_HP_PTHREADS ${CMAKE_HP_PTHREADS_INIT} CACHE BOOL "Use HP pthreads.") set (CMAKE_USE_SPROC ${CMAKE_USE_SPROC_INIT} CACHE BOOL "Use sproc libs.") if(__ERASE_CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) set(CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) set(__ERASE_CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) endif() endif() mark_as_advanced( CMAKE_HP_PTHREADS CMAKE_THREAD_LIBS CMAKE_USE_PTHREADS CMAKE_USE_SPROC CMAKE_USE_WIN32_THREADS CMAKE_X_CFLAGS CMAKE_X_LIBS ) cmake-2.8.12.2/Modules/CMakeBackwardCompatibilityCXX.cmake000644 000765 000024 00000004173 12266011633 024010 0ustar00kitwarestaff000000 000000 # - define a bunch of backwards compatibility variables # CMAKE_ANSI_CXXFLAGS - flag for ansi c++ # CMAKE_HAS_ANSI_STRING_STREAM - has # include(TestForANSIStreamHeaders) # include(CheckIncludeFileCXX) # include(TestForSTDNamespace) # include(TestForANSIForScope) #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) # check for some ANSI flags in the CXX compiler if it is not gnu if(NOT CMAKE_COMPILER_IS_GNUCXX) include(TestCXXAcceptsFlag) set(CMAKE_TRY_ANSI_CXX_FLAGS "") if(CMAKE_SYSTEM MATCHES "IRIX.*") set(CMAKE_TRY_ANSI_CXX_FLAGS "-LANG:std") endif() if(CMAKE_SYSTEM MATCHES "OSF.*") set(CMAKE_TRY_ANSI_CXX_FLAGS "-std strict_ansi -nopure_cname") endif() # if CMAKE_TRY_ANSI_CXX_FLAGS has something in it, see # if the compiler accepts it if( CMAKE_TRY_ANSI_CXX_FLAGS MATCHES ".+") CHECK_CXX_ACCEPTS_FLAG(${CMAKE_TRY_ANSI_CXX_FLAGS} CMAKE_CXX_ACCEPTS_FLAGS) # if the compiler liked the flag then set CMAKE_ANSI_CXXFLAGS # to the flag if(CMAKE_CXX_ACCEPTS_FLAGS) set(CMAKE_ANSI_CXXFLAGS ${CMAKE_TRY_ANSI_CXX_FLAGS} CACHE INTERNAL "What flags are required by the c++ compiler to make it ansi." ) endif() endif() endif() set(CMAKE_CXX_FLAGS_SAVE ${CMAKE_CXX_FLAGS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") include(TestForANSIStreamHeaders) include(CheckIncludeFileCXX) include(TestForSTDNamespace) include(TestForANSIForScope) include(TestForSSTREAM) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_SAVE}") endif() cmake-2.8.12.2/Modules/CMakeBorlandFindMake.cmake000644 000765 000024 00000001340 12266011633 022126 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set (CMAKE_MAKE_PROGRAM "make" CACHE STRING "Program used to build from makefiles.") mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakeBuildSettings.cmake.in000644 000765 000024 00000001251 12266011633 022334 0ustar00kitwarestaff000000 000000 # The command CMAKE_EXPORT_BUILD_SETTINGS(...) was used by # @PROJECT_NAME@ to generate this file. As of CMake 2.8 the # functionality of this command has been dropped as it was deemed # harmful (confusing users by changing their compiler). # CMake 2.6 and below do not support loading their equivalent of this # file if it was produced by a newer version of CMake. CMake 2.8 and # above simply do not load this file. Therefore we simply error out. message(FATAL_ERROR "This @PROJECT_NAME@ was built by CMake @CMAKE_VERSION@, but this is CMake " "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}. " "Please upgrade CMake to a more recent version.") cmake-2.8.12.2/Modules/CMakeCCompiler.cmake.in000644 000765 000024 00000003542 12266011633 021436 0ustar00kitwarestaff000000 000000 set(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@") set(CMAKE_C_COMPILER_ARG1 "@CMAKE_C_COMPILER_ARG1@") set(CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@") set(CMAKE_C_COMPILER_VERSION "@CMAKE_C_COMPILER_VERSION@") set(CMAKE_C_PLATFORM_ID "@CMAKE_C_PLATFORM_ID@") @SET_MSVC_C_ARCHITECTURE_ID@ set(CMAKE_AR "@CMAKE_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") set(CMAKE_LINKER "@CMAKE_LINKER@") set(CMAKE_COMPILER_IS_GNUCC @CMAKE_COMPILER_IS_GNUCC@) set(CMAKE_C_COMPILER_LOADED 1) set(CMAKE_C_COMPILER_WORKS @CMAKE_C_COMPILER_WORKS@) set(CMAKE_C_ABI_COMPILED @CMAKE_C_ABI_COMPILED@) set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@) set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@) if(CMAKE_COMPILER_IS_CYGWIN) set(CYGWIN 1) set(UNIX 1) endif() set(CMAKE_C_COMPILER_ENV_VAR "CC") if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif() set(CMAKE_C_COMPILER_ID_RUN 1) set(CMAKE_C_SOURCE_FILE_EXTENSIONS c) set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) set(CMAKE_C_LINKER_PREFERENCE 10) # Save compiler ABI information. set(CMAKE_C_SIZEOF_DATA_PTR "@CMAKE_C_SIZEOF_DATA_PTR@") set(CMAKE_C_COMPILER_ABI "@CMAKE_C_COMPILER_ABI@") set(CMAKE_C_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@") if(CMAKE_C_SIZEOF_DATA_PTR) set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") endif() if(CMAKE_C_COMPILER_ABI) set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") endif() if(CMAKE_C_LIBRARY_ARCHITECTURE) set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_C_LIBRARY_ARCHITECTURE@") endif() @CMAKE_C_SYSROOT_FLAG_CODE@ @CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG_CODE@ set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "@CMAKE_C_IMPLICIT_LINK_LIBRARIES@") set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_DIRECTORIES@") set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@") @SET_CMAKE_CMCLDEPS_EXECUTABLE@ @SET_CMAKE_CL_SHOWINCLUDE_PREFIX@ cmake-2.8.12.2/Modules/CMakeCCompilerABI.c000644 000765 000024 00000001074 12266011633 020505 0ustar00kitwarestaff000000 000000 #ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif #ifdef __CLASSIC_C__ # define const #endif /*--------------------------------------------------------------------------*/ #include "CMakeCompilerABI.h" /*--------------------------------------------------------------------------*/ #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_sizeof_dptr[argc]; #if defined(ABI_ID) require += info_abi[argc]; #endif (void)argv; return require; } cmake-2.8.12.2/Modules/CMakeCCompilerId.c.in000644 000765 000024 00000016637 12266011633 021066 0ustar00kitwarestaff000000 000000 #ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif /* Version number components: V=Version, R=Revision, P=Patch Version date components: YYYY=Year, MM=Month, DD=Day */ #if defined(__18CXX) # define ID_VOID_MAIN #endif #if defined(__INTEL_COMPILER) || defined(__ICC) # define COMPILER_ID "Intel" /* __INTEL_COMPILER = VRP */ # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) # if defined(__INTEL_COMPILER_BUILD_DATE) /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) # endif #elif defined(__PATHCC__) # define COMPILER_ID "PathScale" # define COMPILER_VERSION_MAJOR DEC(__PATHCC__) # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) # if defined(__PATHCC_PATCHLEVEL__) # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) # endif #elif defined(__clang__) # define COMPILER_ID "Clang" # define COMPILER_VERSION_MAJOR DEC(__clang_major__) # define COMPILER_VERSION_MINOR DEC(__clang_minor__) # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) # define COMPILER_ID "Embarcadero" # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) # define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF) #elif defined(__BORLANDC__) # define COMPILER_ID "Borland" /* __BORLANDC__ = 0xVRR */ # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) #elif defined(__WATCOMC__) # define COMPILER_ID "Watcom" /* __WATCOMC__ = VVRR */ # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) # define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100) #elif defined(__SUNPRO_C) # define COMPILER_ID "SunPro" # if __SUNPRO_C >= 0x5100 /* __SUNPRO_C = 0xVRRP */ # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) # else /* __SUNPRO_C = 0xVRP */ # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) # endif #elif defined(__HP_cc) # define COMPILER_ID "HP" /* __HP_cc = VVRRPP */ # define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) # define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) # define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) #elif defined(__DECC) # define COMPILER_ID "Compaq" /* __DECC_VER = VVRRTPPPP */ # define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) # define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) # define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) #elif defined(__IBMC__) # if defined(__COMPILER_VER__) # define COMPILER_ID "zOS" # else # if __IBMC__ >= 800 # define COMPILER_ID "XL" # else # define COMPILER_ID "VisualAge" # endif /* __IBMC__ = VRP */ # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) # endif #elif defined(__PGI) # define COMPILER_ID "PGI" # define COMPILER_VERSION_MAJOR DEC(__PGIC__) # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) # if defined(__PGIC_PATCHLEVEL__) # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) # endif #elif defined(_CRAYC) # define COMPILER_ID "Cray" # define COMPILER_VERSION_MAJOR DEC(_RELEASE) # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) #elif defined(__TI_COMPILER_VERSION__) # define COMPILER_ID "TI" /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) #elif defined(__TINYC__) # define COMPILER_ID "TinyCC" #elif defined(__SCO_VERSION__) # define COMPILER_ID "SCO" #elif defined(__GNUC__) # define COMPILER_ID "GNU" # define COMPILER_VERSION_MAJOR DEC(__GNUC__) # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) # if defined(__GNUC_PATCHLEVEL__) # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) # endif #elif defined(_MSC_VER) # define COMPILER_ID "MSVC" /* _MSC_VER = VVRR */ # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) # if defined(_MSC_FULL_VER) # if _MSC_VER >= 1400 /* _MSC_FULL_VER = VVRRPPPPP */ # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) # else /* _MSC_FULL_VER = VVRRPPPP */ # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) # endif # endif # if defined(_MSC_BUILD) # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) # endif /* Analog VisualDSP++ >= 4.5.6 */ #elif defined(__VISUALDSPVERSION__) # define COMPILER_ID "ADSP" /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) /* Analog VisualDSP++ < 4.5.6 */ #elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) # define COMPILER_ID "ADSP" /* IAR Systems compiler for embedded systems. http://www.iar.com */ #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) # define COMPILER_ID "IAR" /* sdcc, the small devices C compiler for embedded systems, http://sdcc.sourceforge.net */ #elif defined(SDCC) # define COMPILER_ID "SDCC" /* SDCC = VRP */ # define COMPILER_VERSION_MAJOR DEC(SDCC/100) # define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) # define COMPILER_VERSION_PATCH DEC(SDCC % 10) #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) # define COMPILER_ID "MIPSpro" # if defined(_SGI_COMPILER_VERSION) /* _SGI_COMPILER_VERSION = VRP */ # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) # else /* _COMPILER_VERSION = VRP */ # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) # endif /* This compiler is either not known or is too old to define an identification macro. Try to identify the platform and guess that it is the native compiler. */ #elif defined(__sgi) # define COMPILER_ID "MIPSpro" #elif defined(__hpux) || defined(__hpua) # define COMPILER_ID "HP" #else /* unknown compiler */ # define COMPILER_ID "" #endif /* Construct the string literal in pieces to prevent the source from getting matched. Store it in a pointer rather than an array because some compilers will just produce instructions to fill the array rather than assigning a pointer to a static array. */ char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; @CMAKE_C_COMPILER_ID_PLATFORM_CONTENT@ /*--------------------------------------------------------------------------*/ #ifdef ID_VOID_MAIN void main() {} #else int main(int argc, char* argv[]) { int require = 0; require += info_compiler[argc]; require += info_platform[argc]; require += info_arch[argc]; #ifdef COMPILER_VERSION_MAJOR require += info_version[argc]; #endif (void)argv; return require; } #endif cmake-2.8.12.2/Modules/CMakeCInformation.cmake000644 000765 000024 00000017075 12266011633 021552 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file sets the basic flags for the C language in CMake. # It also loads the available platform file for the system-compiler # if it exists. # It also loads a system - compiler - processor (or target hardware) # specific file, which is mainly useful for crosscompiling and embedded systems. # some compilers use different extensions (e.g. sdcc uses .rel) # so set the extension here first so it can be overridden by the compiler specific file if(UNIX) set(CMAKE_C_OUTPUT_EXTENSION .o) else() set(CMAKE_C_OUTPUT_EXTENSION .obj) endif() set(_INCLUDED_FILE 0) # Load compiler-specific information. if(CMAKE_C_COMPILER_ID) include(Compiler/${CMAKE_C_COMPILER_ID}-C OPTIONAL) endif() set(CMAKE_BASE_NAME) get_filename_component(CMAKE_BASE_NAME ${CMAKE_C_COMPILER} NAME_WE) if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_BASE_NAME gcc) endif() # load a hardware specific file, mostly useful for embedded compilers if(CMAKE_SYSTEM_PROCESSOR) if(CMAKE_C_COMPILER_ID) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_C_COMPILER_ID}-C-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif() if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL) endif () endif() # load the system- and compiler specific files if(CMAKE_C_COMPILER_ID) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_C_COMPILER_ID}-C OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif() if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif () # We specify the compiler information in the system file for some # platforms, but this language may not have been enabled when the file # was first included. Include it again to get the language info. # Remove this when all compiler info is removed from system files. if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME} OPTIONAL) endif () if(CMAKE_C_SIZEOF_DATA_PTR) foreach(f ${CMAKE_C_ABI_FILES}) include(${f}) endforeach() unset(CMAKE_C_ABI_FILES) endif() # This should be included before the _INIT variables are # used to initialize the cache. Since the rule variables # have if blocks on them, users can still define them here. # But, it should still be after the platform file so changes can # be made to those values. if(CMAKE_USER_MAKE_RULES_OVERRIDE) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE "${_override}") endif() if(CMAKE_USER_MAKE_RULES_OVERRIDE_C) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE_C} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE_C "${_override}") endif() # for most systems a module is the same as a shared library # so unless the variable CMAKE_MODULE_EXISTS is set just # copy the values from the LIBRARY variables if(NOT CMAKE_MODULE_EXISTS) set(CMAKE_SHARED_MODULE_C_FLAGS ${CMAKE_SHARED_LIBRARY_C_FLAGS}) set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS}) endif() set(CMAKE_C_FLAGS_INIT "$ENV{CFLAGS} ${CMAKE_C_FLAGS_INIT}") # avoid just having a space as the initial value for the cache if(CMAKE_C_FLAGS_INIT STREQUAL " ") set(CMAKE_C_FLAGS_INIT) endif() set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS_INIT}" CACHE STRING "Flags used by the compiler during all build types.") if(NOT CMAKE_NOT_USING_CONFIG_FLAGS) # default build type is none if(NOT CMAKE_NO_BUILD_TYPE) set (CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE_INIT} CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.") endif() set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG_INIT}" CACHE STRING "Flags used by the compiler during debug builds.") set (CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL_INIT}" CACHE STRING "Flags used by the compiler during release minsize builds.") set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE_INIT}" CACHE STRING "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).") set (CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING "Flags used by the compiler during Release with Debug Info builds.") endif() if(CMAKE_C_STANDARD_LIBRARIES_INIT) set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES_INIT}" CACHE STRING "Libraries linked by defalut with all C applications.") mark_as_advanced(CMAKE_C_STANDARD_LIBRARIES) endif() include(CMakeCommonLanguageInclude) # now define the following rule variables # CMAKE_C_CREATE_SHARED_LIBRARY # CMAKE_C_CREATE_SHARED_MODULE # CMAKE_C_COMPILE_OBJECT # CMAKE_C_LINK_EXECUTABLE # variables supplied by the generator at use time # # the target without the suffix # # # # # # C compiler information # # # # # Static library tools # # # create a C shared library if(NOT CMAKE_C_CREATE_SHARED_LIBRARY) set(CMAKE_C_CREATE_SHARED_LIBRARY " -o ") endif() # create a C shared module just copy the shared library rule if(NOT CMAKE_C_CREATE_SHARED_MODULE) set(CMAKE_C_CREATE_SHARED_MODULE ${CMAKE_C_CREATE_SHARED_LIBRARY}) endif() # Create a static archive incrementally for large object file counts. # If CMAKE_C_CREATE_STATIC_LIBRARY is set it will override these. if(NOT DEFINED CMAKE_C_ARCHIVE_CREATE) set(CMAKE_C_ARCHIVE_CREATE " cr ") endif() if(NOT DEFINED CMAKE_C_ARCHIVE_APPEND) set(CMAKE_C_ARCHIVE_APPEND " r ") endif() if(NOT DEFINED CMAKE_C_ARCHIVE_FINISH) set(CMAKE_C_ARCHIVE_FINISH " ") endif() # compile a C file into an object file if(NOT CMAKE_C_COMPILE_OBJECT) set(CMAKE_C_COMPILE_OBJECT " -o -c ") endif() if(NOT CMAKE_C_LINK_EXECUTABLE) set(CMAKE_C_LINK_EXECUTABLE " -o ") endif() if(NOT CMAKE_EXECUTABLE_RUNTIME_C_FLAG) set(CMAKE_EXECUTABLE_RUNTIME_C_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG}) endif() if(NOT CMAKE_EXECUTABLE_RUNTIME_C_FLAG_SEP) set(CMAKE_EXECUTABLE_RUNTIME_C_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP}) endif() if(NOT CMAKE_EXECUTABLE_RPATH_LINK_C_FLAG) set(CMAKE_EXECUTABLE_RPATH_LINK_C_FLAG ${CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG}) endif() mark_as_advanced( CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO ) set(CMAKE_C_INFORMATION_LOADED 1) cmake-2.8.12.2/Modules/CMakeClDeps.cmake000644 000765 000024 00000003213 12266011633 020321 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # When using Ninja cl.exe is wrapped by cmcldeps to extract the included # headers for dependency tracking. # # cmcldeps path is set, and cmcldeps needs to know the localized string # in front of each include path, so it can remove it. # if(MSVC_C_ARCHITECTURE_ID AND CMAKE_GENERATOR MATCHES "Ninja" AND CMAKE_C_COMPILER AND CMAKE_COMMAND) string(REPLACE "cmake.exe" "cmcldeps.exe" CMAKE_CMCLDEPS_EXECUTABLE ${CMAKE_COMMAND}) set(showdir ${CMAKE_BINARY_DIR}/CMakeFiles/ShowIncludes) file(WRITE ${showdir}/foo.h "\n") file(WRITE ${showdir}/main.c "#include \"foo.h\" \nint main(){}\n") execute_process(COMMAND ${CMAKE_C_COMPILER} /nologo /showIncludes ${showdir}/main.c WORKING_DIRECTORY ${showdir} OUTPUT_VARIABLE outLine) string(REGEX MATCH "\n([^:]*:[^:]*:[ \t]*)" tmp "${outLine}") set(localizedPrefix "${CMAKE_MATCH_1}") set(SET_CMAKE_CMCLDEPS_EXECUTABLE "set(CMAKE_CMCLDEPS_EXECUTABLE \"${CMAKE_CMCLDEPS_EXECUTABLE}\")") set(SET_CMAKE_CL_SHOWINCLUDE_PREFIX "set(CMAKE_CL_SHOWINCLUDE_PREFIX \"${localizedPrefix}\")") endif() cmake-2.8.12.2/Modules/CMakeCommonLanguageInclude.cmake000644 000765 000024 00000012163 12266011633 023353 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # this file has flags that are shared across languages and sets # cache values that can be initialized in the platform-compiler.cmake file # it may be included by more than one language. set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS_INIT} $ENV{LDFLAGS}" CACHE STRING "Flags used by the linker.") if(NOT CMAKE_NOT_USING_CONFIG_FLAGS) # default build type is none if(NOT CMAKE_NO_BUILD_TYPE) set (CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE_INIT} CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.") endif() set (CMAKE_EXE_LINKER_FLAGS_DEBUG ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT} CACHE STRING "Flags used by the linker during debug builds.") set (CMAKE_EXE_LINKER_FLAGS_MINSIZEREL ${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT} CACHE STRING "Flags used by the linker during release minsize builds.") set (CMAKE_EXE_LINKER_FLAGS_RELEASE ${CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT} CACHE STRING "Flags used by the linker during release builds.") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT} CACHE STRING "Flags used by the linker during Release with Debug Info builds.") set (CMAKE_SHARED_LINKER_FLAGS_DEBUG ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT} CACHE STRING "Flags used by the linker during debug builds.") set (CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL ${CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL_INIT} CACHE STRING "Flags used by the linker during release minsize builds.") set (CMAKE_SHARED_LINKER_FLAGS_RELEASE ${CMAKE_SHARED_LINKER_FLAGS_RELEASE_INIT} CACHE STRING "Flags used by the linker during release builds.") set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO ${CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT} CACHE STRING "Flags used by the linker during Release with Debug Info builds.") set (CMAKE_MODULE_LINKER_FLAGS_DEBUG ${CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT} CACHE STRING "Flags used by the linker during debug builds.") set (CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL ${CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL_INIT} CACHE STRING "Flags used by the linker during release minsize builds.") set (CMAKE_MODULE_LINKER_FLAGS_RELEASE ${CMAKE_MODULE_LINKER_FLAGS_RELEASE_INIT} CACHE STRING "Flags used by the linker during release builds.") set (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO ${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT} CACHE STRING "Flags used by the linker during Release with Debug Info builds.") set (CMAKE_STATIC_LINKER_FLAGS_DEBUG ${CMAKE_STATIC_LINKER_FLAGS_DEBUG_INIT} CACHE STRING "Flags used by the linker during debug builds.") set (CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL ${CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL_INIT} CACHE STRING "Flags used by the linker during release minsize builds.") set (CMAKE_STATIC_LINKER_FLAGS_RELEASE ${CMAKE_STATIC_LINKER_FLAGS_RELEASE_INIT} CACHE STRING "Flags used by the linker during release builds.") set (CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO ${CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO_INIT} CACHE STRING "Flags used by the linker during Release with Debug Info builds.") endif() # shared linker flags set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS_INIT} $ENV{LDFLAGS}" CACHE STRING "Flags used by the linker during the creation of dll's.") # module linker flags set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS_INIT} $ENV{LDFLAGS}" CACHE STRING "Flags used by the linker during the creation of modules.") # static linker flags set (CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS_INIT}" CACHE STRING "Flags used by the linker during the creation of static libraries.") set(CMAKE_BUILD_TOOL ${CMAKE_MAKE_PROGRAM} CACHE INTERNAL "What is the target build tool cmake is generating for.") mark_as_advanced( CMAKE_BUILD_TOOL CMAKE_VERBOSE_MAKEFILE CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO ) cmake-2.8.12.2/Modules/CMakeCompilerABI.h000644 000765 000024 00000002265 12266011633 020412 0ustar00kitwarestaff000000 000000 /*--------------------------------------------------------------------------*/ /* Size of a pointer-to-data in bytes. */ #define SIZEOF_DPTR (sizeof(void*)) const char info_sizeof_dptr[] = { 'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', 'o', 'f', '_', 'd', 'p', 't', 'r', '[', ('0' + ((SIZEOF_DPTR / 10)%10)), ('0' + (SIZEOF_DPTR % 10)), ']','\0'}; /*--------------------------------------------------------------------------*/ /* Application Binary Interface. */ #if defined(__sgi) && defined(_ABIO32) # define ABI_ID "ELF O32" #elif defined(__sgi) && defined(_ABIN32) # define ABI_ID "ELF N32" #elif defined(__sgi) && defined(_ABI64) # define ABI_ID "ELF 64" /* Check for (some) ARM ABIs. * See e.g. http://wiki.debian.org/ArmEabiPort for some information on this. */ #elif defined(__GNU__) && defined(__ELF__) && defined(__ARM_EABI__) # define ABI_ID "ELF ARMEABI" #elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEB__) # define ABI_ID "ELF ARM" #elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__) # define ABI_ID "ELF ARM" #elif defined(__ELF__) # define ABI_ID "ELF" #endif #if defined(ABI_ID) static char const info_abi[] = "INFO:abi[" ABI_ID "]"; #endif cmake-2.8.12.2/Modules/CMakeConfigurableFile.in000644 000765 000024 00000000043 12266011633 021673 0ustar00kitwarestaff000000 000000 @CMAKE_CONFIGURABLE_FILE_CONTENT@ cmake-2.8.12.2/Modules/CMakeCXXCompiler.cmake.in000644 000765 000024 00000004013 12266011633 021710 0ustar00kitwarestaff000000 000000 set(CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@") set(CMAKE_CXX_COMPILER_ARG1 "@CMAKE_CXX_COMPILER_ARG1@") set(CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@") set(CMAKE_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@") set(CMAKE_CXX_PLATFORM_ID "@CMAKE_CXX_PLATFORM_ID@") @SET_MSVC_CXX_ARCHITECTURE_ID@ set(CMAKE_AR "@CMAKE_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") set(CMAKE_LINKER "@CMAKE_LINKER@") set(CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@) set(CMAKE_CXX_COMPILER_LOADED 1) set(CMAKE_CXX_COMPILER_WORKS @CMAKE_CXX_COMPILER_WORKS@) set(CMAKE_CXX_ABI_COMPILED @CMAKE_CXX_ABI_COMPILED@) set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@) set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@) if(CMAKE_COMPILER_IS_CYGWIN) set(CYGWIN 1) set(UNIX 1) endif() set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif() set(CMAKE_CXX_COMPILER_ID_RUN 1) set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) set(CMAKE_CXX_LINKER_PREFERENCE 30) set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) # Save compiler ABI information. set(CMAKE_CXX_SIZEOF_DATA_PTR "@CMAKE_CXX_SIZEOF_DATA_PTR@") set(CMAKE_CXX_COMPILER_ABI "@CMAKE_CXX_COMPILER_ABI@") set(CMAKE_CXX_LIBRARY_ARCHITECTURE "@CMAKE_CXX_LIBRARY_ARCHITECTURE@") if(CMAKE_CXX_SIZEOF_DATA_PTR) set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") endif() if(CMAKE_CXX_COMPILER_ABI) set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") endif() if(CMAKE_CXX_LIBRARY_ARCHITECTURE) set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_CXX_LIBRARY_ARCHITECTURE@") endif() @CMAKE_CXX_SYSROOT_FLAG_CODE@ @CMAKE_CXX_OSX_DEPLOYMENT_TARGET_FLAG_CODE@ set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "@CMAKE_CXX_IMPLICIT_LINK_LIBRARIES@") set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES@") set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@") @SET_CMAKE_CMCLDEPS_EXECUTABLE@ @SET_CMAKE_CL_SHOWINCLUDE_PREFIX@ cmake-2.8.12.2/Modules/CMakeCXXCompilerABI.cpp000644 000765 000024 00000000702 12266011633 021322 0ustar00kitwarestaff000000 000000 #ifndef __cplusplus # error "A C compiler has been selected for C++." #endif /*--------------------------------------------------------------------------*/ #include "CMakeCompilerABI.h" /*--------------------------------------------------------------------------*/ int main(int argc, char* argv[]) { int require = 0; require += info_sizeof_dptr[argc]; #if defined(ABI_ID) require += info_abi[argc]; #endif (void)argv; return require; } cmake-2.8.12.2/Modules/CMakeCXXCompilerId.cpp.in000644 000765 000024 00000016507 12266011633 021702 0ustar00kitwarestaff000000 000000 /* This source file must have a .cpp extension so that all C++ compilers recognize the extension without flags. Borland does not know .cxx for example. */ #ifndef __cplusplus # error "A C compiler has been selected for C++." #endif /* Version number components: V=Version, R=Revision, P=Patch Version date components: YYYY=Year, MM=Month, DD=Day */ #if defined(__COMO__) # define COMPILER_ID "Comeau" /* __COMO_VERSION__ = VRR */ # define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) # define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) #elif defined(__INTEL_COMPILER) || defined(__ICC) # define COMPILER_ID "Intel" /* __INTEL_COMPILER = VRP */ # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) # if defined(__INTEL_COMPILER_BUILD_DATE) /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) # endif #elif defined(__PATHCC__) # define COMPILER_ID "PathScale" # define COMPILER_VERSION_MAJOR DEC(__PATHCC__) # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) # if defined(__PATHCC_PATCHLEVEL__) # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) # endif #elif defined(__clang__) # define COMPILER_ID "Clang" # define COMPILER_VERSION_MAJOR DEC(__clang_major__) # define COMPILER_VERSION_MINOR DEC(__clang_minor__) # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) # define COMPILER_ID "Embarcadero" # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) # define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF) #elif defined(__BORLANDC__) # define COMPILER_ID "Borland" /* __BORLANDC__ = 0xVRR */ # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) #elif defined(__WATCOMC__) # define COMPILER_ID "Watcom" /* __WATCOMC__ = VVRR */ # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) # define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100) #elif defined(__SUNPRO_CC) # define COMPILER_ID "SunPro" # if __SUNPRO_CC >= 0x5100 /* __SUNPRO_CC = 0xVRRP */ # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) # else /* __SUNPRO_CC = 0xVRP */ # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) # endif #elif defined(__HP_aCC) # define COMPILER_ID "HP" /* __HP_aCC = VVRRPP */ # define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) # define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) # define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) #elif defined(__DECCXX) # define COMPILER_ID "Compaq" /* __DECCXX_VER = VVRRTPPPP */ # define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) # define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) # define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) #elif defined(__IBMCPP__) # if defined(__COMPILER_VER__) # define COMPILER_ID "zOS" # else # if __IBMCPP__ >= 800 # define COMPILER_ID "XL" # else # define COMPILER_ID "VisualAge" # endif /* __IBMCPP__ = VRP */ # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) # endif #elif defined(__PGI) # define COMPILER_ID "PGI" # define COMPILER_VERSION_MAJOR DEC(__PGIC__) # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) # if defined(__PGIC_PATCHLEVEL__) # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) # endif #elif defined(_CRAYC) # define COMPILER_ID "Cray" # define COMPILER_VERSION_MAJOR DEC(_RELEASE) # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) #elif defined(__TI_COMPILER_VERSION__) # define COMPILER_ID "TI" /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) #elif defined(__SCO_VERSION__) # define COMPILER_ID "SCO" #elif defined(__GNUC__) # define COMPILER_ID "GNU" # define COMPILER_VERSION_MAJOR DEC(__GNUC__) # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) # if defined(__GNUC_PATCHLEVEL__) # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) # endif #elif defined(_MSC_VER) # define COMPILER_ID "MSVC" /* _MSC_VER = VVRR */ # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) # if defined(_MSC_FULL_VER) # if _MSC_VER >= 1400 /* _MSC_FULL_VER = VVRRPPPPP */ # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) # else /* _MSC_FULL_VER = VVRRPPPP */ # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) # endif # endif # if defined(_MSC_BUILD) # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) # endif /* Analog VisualDSP++ >= 4.5.6 */ #elif defined(__VISUALDSPVERSION__) # define COMPILER_ID "ADSP" /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) /* Analog VisualDSP++ < 4.5.6 */ #elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) # define COMPILER_ID "ADSP" /* IAR Systems compiler for embedded systems. http://www.iar.com */ #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) # define COMPILER_ID "IAR" #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) # define COMPILER_ID "MIPSpro" # if defined(_SGI_COMPILER_VERSION) /* _SGI_COMPILER_VERSION = VRP */ # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) # else /* _COMPILER_VERSION = VRP */ # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) # endif /* This compiler is either not known or is too old to define an identification macro. Try to identify the platform and guess that it is the native compiler. */ #elif defined(__sgi) # define COMPILER_ID "MIPSpro" #elif defined(__hpux) || defined(__hpua) # define COMPILER_ID "HP" #else /* unknown compiler */ # define COMPILER_ID "" #endif /* Construct the string literal in pieces to prevent the source from getting matched. Store it in a pointer rather than an array because some compilers will just produce instructions to fill the array rather than assigning a pointer to a static array. */ char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; @CMAKE_CXX_COMPILER_ID_PLATFORM_CONTENT@ /*--------------------------------------------------------------------------*/ int main(int argc, char* argv[]) { int require = 0; require += info_compiler[argc]; require += info_platform[argc]; #ifdef COMPILER_VERSION_MAJOR require += info_version[argc]; #endif (void)argv; return require; } cmake-2.8.12.2/Modules/CMakeCXXInformation.cmake000644 000765 000024 00000024643 12266011633 022031 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file sets the basic flags for the C++ language in CMake. # It also loads the available platform file for the system-compiler # if it exists. # It also loads a system - compiler - processor (or target hardware) # specific file, which is mainly useful for crosscompiling and embedded systems. # some compilers use different extensions (e.g. sdcc uses .rel) # so set the extension here first so it can be overridden by the compiler specific file if(UNIX) set(CMAKE_CXX_OUTPUT_EXTENSION .o) else() set(CMAKE_CXX_OUTPUT_EXTENSION .obj) endif() set(_INCLUDED_FILE 0) # Load compiler-specific information. if(CMAKE_CXX_COMPILER_ID) include(Compiler/${CMAKE_CXX_COMPILER_ID}-CXX OPTIONAL) endif() set(CMAKE_BASE_NAME) get_filename_component(CMAKE_BASE_NAME ${CMAKE_CXX_COMPILER} NAME_WE) # since the gnu compiler has several names force g++ if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_BASE_NAME g++) endif() # load a hardware specific file, mostly useful for embedded compilers if(CMAKE_SYSTEM_PROCESSOR) if(CMAKE_CXX_COMPILER_ID) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_CXX_COMPILER_ID}-CXX-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif() if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL) endif () endif() # load the system- and compiler specific files if(CMAKE_CXX_COMPILER_ID) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_CXX_COMPILER_ID}-CXX OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif() if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif () # We specify the compiler information in the system file for some # platforms, but this language may not have been enabled when the file # was first included. Include it again to get the language info. # Remove this when all compiler info is removed from system files. if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME} OPTIONAL) endif () if(CMAKE_CXX_SIZEOF_DATA_PTR) foreach(f ${CMAKE_CXX_ABI_FILES}) include(${f}) endforeach() unset(CMAKE_CXX_ABI_FILES) endif() # This should be included before the _INIT variables are # used to initialize the cache. Since the rule variables # have if blocks on them, users can still define them here. # But, it should still be after the platform file so changes can # be made to those values. if(CMAKE_USER_MAKE_RULES_OVERRIDE) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE "${_override}") endif() if(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE_CXX} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX "${_override}") endif() # Create a set of shared library variable specific to C++ # For 90% of the systems, these are the same flags as the C versions # so if these are not set just copy the flags from the c version if(NOT CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS) set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS}) endif() if(NOT CMAKE_CXX_COMPILE_OPTIONS_PIC) set(CMAKE_CXX_COMPILE_OPTIONS_PIC ${CMAKE_C_COMPILE_OPTIONS_PIC}) endif() if(NOT CMAKE_CXX_COMPILE_OPTIONS_PIE) set(CMAKE_CXX_COMPILE_OPTIONS_PIE ${CMAKE_C_COMPILE_OPTIONS_PIE}) endif() if(NOT CMAKE_CXX_COMPILE_OPTIONS_DLL) set(CMAKE_CXX_COMPILE_OPTIONS_DLL ${CMAKE_C_COMPILE_OPTIONS_DLL}) endif() if(NOT CMAKE_SHARED_LIBRARY_CXX_FLAGS) set(CMAKE_SHARED_LIBRARY_CXX_FLAGS ${CMAKE_SHARED_LIBRARY_C_FLAGS}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS) set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS}) endif() if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG) set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG}) endif() if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP) set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP}) endif() if(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG) set(CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG ${CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG}) endif() if(NOT DEFINED CMAKE_EXE_EXPORTS_CXX_FLAG) set(CMAKE_EXE_EXPORTS_CXX_FLAG ${CMAKE_EXE_EXPORTS_C_FLAG}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG) set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG ${CMAKE_SHARED_LIBRARY_SONAME_C_FLAG}) endif() if(NOT CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG) set(CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG}) endif() if(NOT CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG_SEP) set(CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP}) endif() if(NOT CMAKE_EXECUTABLE_RPATH_LINK_CXX_FLAG) set(CMAKE_EXECUTABLE_RPATH_LINK_CXX_FLAG ${CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_LINK_CXX_WITH_RUNTIME_PATH) set(CMAKE_SHARED_LIBRARY_LINK_CXX_WITH_RUNTIME_PATH ${CMAKE_SHARED_LIBRARY_LINK_C_WITH_RUNTIME_PATH}) endif() if(NOT CMAKE_INCLUDE_FLAG_CXX) set(CMAKE_INCLUDE_FLAG_CXX ${CMAKE_INCLUDE_FLAG_C}) endif() if(NOT CMAKE_INCLUDE_FLAG_SEP_CXX) set(CMAKE_INCLUDE_FLAG_SEP_CXX ${CMAKE_INCLUDE_FLAG_SEP_C}) endif() # for most systems a module is the same as a shared library # so unless the variable CMAKE_MODULE_EXISTS is set just # copy the values from the LIBRARY variables if(NOT CMAKE_MODULE_EXISTS) set(CMAKE_SHARED_MODULE_CXX_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) set(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS}) endif() # repeat for modules if(NOT CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS) set(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS ${CMAKE_SHARED_MODULE_CREATE_C_FLAGS}) endif() if(NOT CMAKE_SHARED_MODULE_CXX_FLAGS) set(CMAKE_SHARED_MODULE_CXX_FLAGS ${CMAKE_SHARED_MODULE_C_FLAGS}) endif() # Initialize CXX link type selection flags from C versions. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) if(NOT CMAKE_${type}_LINK_STATIC_CXX_FLAGS) set(CMAKE_${type}_LINK_STATIC_CXX_FLAGS ${CMAKE_${type}_LINK_STATIC_C_FLAGS}) endif() if(NOT CMAKE_${type}_LINK_DYNAMIC_CXX_FLAGS) set(CMAKE_${type}_LINK_DYNAMIC_CXX_FLAGS ${CMAKE_${type}_LINK_DYNAMIC_C_FLAGS}) endif() endforeach() # add the flags to the cache based # on the initial values computed in the platform/*.cmake files # use _INIT variables so that this only happens the first time # and you can set these flags in the cmake cache set(CMAKE_CXX_FLAGS_INIT "$ENV{CXXFLAGS} ${CMAKE_CXX_FLAGS_INIT}") # avoid just having a space as the initial value for the cache if(CMAKE_CXX_FLAGS_INIT STREQUAL " ") set(CMAKE_CXX_FLAGS_INIT) endif() set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_INIT}" CACHE STRING "Flags used by the compiler during all build types.") if(NOT CMAKE_NOT_USING_CONFIG_FLAGS) set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG_INIT}" CACHE STRING "Flags used by the compiler during debug builds.") set (CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL_INIT}" CACHE STRING "Flags used by the compiler during release minsize builds.") set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE_INIT}" CACHE STRING "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).") set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING "Flags used by the compiler during Release with Debug Info builds.") endif() if(CMAKE_CXX_STANDARD_LIBRARIES_INIT) set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES_INIT}" CACHE STRING "Libraries linked by defalut with all C++ applications.") mark_as_advanced(CMAKE_CXX_STANDARD_LIBRARIES) endif() include(CMakeCommonLanguageInclude) # now define the following rules: # CMAKE_CXX_CREATE_SHARED_LIBRARY # CMAKE_CXX_CREATE_SHARED_MODULE # CMAKE_CXX_COMPILE_OBJECT # CMAKE_CXX_LINK_EXECUTABLE # variables supplied by the generator at use time # # the target without the suffix # # # # # # CXX compiler information # # # # # Static library tools # # # create a shared C++ library if(NOT CMAKE_CXX_CREATE_SHARED_LIBRARY) set(CMAKE_CXX_CREATE_SHARED_LIBRARY " -o ") endif() # create a c++ shared module copy the shared library rule by default if(NOT CMAKE_CXX_CREATE_SHARED_MODULE) set(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) endif() # Create a static archive incrementally for large object file counts. # If CMAKE_CXX_CREATE_STATIC_LIBRARY is set it will override these. if(NOT DEFINED CMAKE_CXX_ARCHIVE_CREATE) set(CMAKE_CXX_ARCHIVE_CREATE " cr ") endif() if(NOT DEFINED CMAKE_CXX_ARCHIVE_APPEND) set(CMAKE_CXX_ARCHIVE_APPEND " r ") endif() if(NOT DEFINED CMAKE_CXX_ARCHIVE_FINISH) set(CMAKE_CXX_ARCHIVE_FINISH " ") endif() # compile a C++ file into an object file if(NOT CMAKE_CXX_COMPILE_OBJECT) set(CMAKE_CXX_COMPILE_OBJECT " -o -c ") endif() if(NOT CMAKE_CXX_LINK_EXECUTABLE) set(CMAKE_CXX_LINK_EXECUTABLE " -o ") endif() mark_as_advanced( CMAKE_BUILD_TOOL CMAKE_VERBOSE_MAKEFILE CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_DEBUG) set(CMAKE_CXX_INFORMATION_LOADED 1) cmake-2.8.12.2/Modules/CMakeDependentOption.cmake000644 000765 000024 00000004040 12266011633 022245 0ustar00kitwarestaff000000 000000 # - Macro to provide an option dependent on other options. # This macro presents an option to the user only if a set of other # conditions are true. When the option is not presented a default # value is used, but any value set by the user is preserved for when # the option is presented again. # Example invocation: # CMAKE_DEPENDENT_OPTION(USE_FOO "Use Foo" ON # "USE_BAR;NOT USE_ZOT" OFF) # If USE_BAR is true and USE_ZOT is false, this provides an option called # USE_FOO that defaults to ON. Otherwise, it sets USE_FOO to OFF. If # the status of USE_BAR or USE_ZOT ever changes, any value for the # USE_FOO option is saved so that when the option is re-enabled it # retains its old value. #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CMAKE_DEPENDENT_OPTION option doc default depends force) if(${option}_ISSET MATCHES "^${option}_ISSET$") set(${option}_AVAILABLE 1) foreach(d ${depends}) string(REGEX REPLACE " +" ";" CMAKE_DEPENDENT_OPTION_DEP "${d}") if(${CMAKE_DEPENDENT_OPTION_DEP}) else() set(${option}_AVAILABLE 0) endif() endforeach() if(${option}_AVAILABLE) option(${option} "${doc}" "${default}") set(${option} "${${option}}" CACHE BOOL "${doc}" FORCE) else() if(${option} MATCHES "^${option}$") else() set(${option} "${${option}}" CACHE INTERNAL "${doc}") endif() set(${option} ${force}) endif() else() set(${option} "${${option}_ISSET}") endif() endmacro() cmake-2.8.12.2/Modules/CMakeDetermineASM-ATTCompiler.cmake000644 000765 000024 00000001533 12266011633 023550 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for ASM using AT&T syntax, e.g. GNU as set(ASM_DIALECT "-ATT") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gas ${_CMAKE_TOOLCHAIN_PREFIX}as) include(CMakeDetermineASMCompiler) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeDetermineASM_MASMCompiler.cmake000644 000765 000024 00000001656 12266011633 023745 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Find the MS assembler (masm or masm64) set(ASM_DIALECT "_MASM") # if we are using the 64bit cl compiler, assume we also want the 64bit assembler if(CMAKE_CL_64) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ml64) else() set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ml) endif() include(CMakeDetermineASMCompiler) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeDetermineASM_NASMCompiler.cmake000644 000765 000024 00000001763 12266011633 023745 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Find the nasm assembler. yasm (http://www.tortall.net/projects/yasm/) is nasm compatible set(CMAKE_ASM_NASM_COMPILER_LIST nasm yasm) if(NOT CMAKE_ASM_NASM_COMPILER) find_program(CMAKE_ASM_NASM_COMPILER nasm "$ENV{ProgramFiles}/NASM") endif() # Load the generic DetermineASM compiler file with the DIALECT set properly: set(ASM_DIALECT "_NASM") include(CMakeDetermineASMCompiler) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeDetermineASMCompiler.cmake000644 000765 000024 00000016367 12266011633 023135 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for ASM programs include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake) if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER) # prefer the environment variable ASM if($ENV{ASM${ASM_DIALECT}} MATCHES ".+") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT "$ENV{ASM${ASM_DIALECT}}") endif() # finally list compilers to try if("ASM${ASM_DIALECT}" STREQUAL "ASM") # the generic assembler support if(NOT CMAKE_ASM_COMPILER_INIT) if(CMAKE_C_COMPILER) set(CMAKE_ASM_COMPILER "${CMAKE_C_COMPILER}" CACHE FILEPATH "The ASM compiler") set(CMAKE_ASM_COMPILER_ID "${CMAKE_C_COMPILER_ID}") elseif(CMAKE_CXX_COMPILER) set(CMAKE_ASM_COMPILER "${CMAKE_CXX_COMPILER}" CACHE FILEPATH "The ASM compiler") set(CMAKE_ASM_COMPILER_ID "${CMAKE_CXX_COMPILER_ID}") else() # List all default C and CXX compilers set(CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}cc ${_CMAKE_TOOLCHAIN_PREFIX}gcc cl bcc xlc CC ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ aCC cl bcc xlC) endif() endif() else() # some specific assembler "dialect" if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT AND NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST) message(FATAL_ERROR "CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT or CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST must be preset !") endif() endif() # Find the compiler. _cmake_find_compiler(ASM${ASM_DIALECT}) else() # we only get here if CMAKE_ASM${ASM_DIALECT}_COMPILER was specified using -D or a pre-made CMakeCache.txt # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE # # if a compiler was specified by the user but without path, # now try to find it with the full path # if it is found, force it into the cache, # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND" get_filename_component(_CMAKE_USER_ASM${ASM_DIALECT}_COMPILER_PATH "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" PATH) if(NOT _CMAKE_USER_ASM${ASM_DIALECT}_COMPILER_PATH) find_program(CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH NAMES ${CMAKE_ASM${ASM_DIALECT}_COMPILER}) mark_as_advanced(CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH) if(CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH) set(CMAKE_ASM${ASM_DIALECT}_COMPILER ${CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH} CACHE FILEPATH "Assembler" FORCE) endif() endif() endif() mark_as_advanced(CMAKE_ASM${ASM_DIALECT}_COMPILER) if (NOT _CMAKE_TOOLCHAIN_LOCATION) get_filename_component(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" PATH) endif () if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) # Table of per-vendor compiler id flags with expected output. list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS GNU ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_GNU "--version") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_GNU "(GNU assembler)|(GCC)|(Free Software Foundation)") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS HP ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_HP "-V") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_HP "HP C") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS Intel ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_Intel "--version") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_Intel "(ICC)") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS SunPro ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_SunPro "-V") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_SunPro "Sun C") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS XL ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_XL "-qversion") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_XL "XL C") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS MSVC ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_MSVC "/?") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_MSVC "Microsoft") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS TI ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_TI "-h") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_TI "Texas Instruments") list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS GNU IAR) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_IAR ) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_IAR "IAR Assembler") include(CMakeDetermineCompilerId) CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT}) endif() if(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) message(STATUS "The ASM${ASM_DIALECT} compiler identification is ${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}") else() message(STATUS "The ASM${ASM_DIALECT} compiler identification is unknown") endif() # If we have a gas/as cross compiler, they have usually some prefix, like # e.g. powerpc-linux-gas, arm-elf-gas or i586-mingw32msvc-gas , optionally # with a 3-component version number at the end # The other tools of the toolchain usually have the same prefix # NAME_WE cannot be used since then this test will fail for names lile # "arm-unknown-nto-qnx6.3.0-gas.exe", where BASENAME would be # "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-" if (NOT _CMAKE_TOOLCHAIN_PREFIX) get_filename_component(COMPILER_BASENAME "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" NAME) if (COMPILER_BASENAME MATCHES "^(.+-)g?as(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () endif () # Now try the C compiler regexp: if (NOT _CMAKE_TOOLCHAIN_PREFIX) if (COMPILER_BASENAME MATCHES "^(.+-)g?cc(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () endif () # Finally try the CXX compiler regexp: if (NOT _CMAKE_TOOLCHAIN_PREFIX) if (COMPILER_BASENAME MATCHES "^(.+-)[gc]\\+\\+(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () endif () include(CMakeFindBinUtils) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ENV_VAR "ASM${ASM_DIALECT}") if(CMAKE_ASM${ASM_DIALECT}_COMPILER) message(STATUS "Found assembler: ${CMAKE_ASM${ASM_DIALECT}_COMPILER}") else() message(STATUS "Didn't find assembler") endif() set(_CMAKE_ASM_COMPILER "${CMAKE_ASM${ASM_DIALECT}_COMPILER}") set(_CMAKE_ASM_COMPILER_ID "${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}") set(_CMAKE_ASM_COMPILER_ARG1 "${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARG1}") set(_CMAKE_ASM_COMPILER_ENV_VAR "${CMAKE_ASM${ASM_DIALECT}_COMPILER_ENV_VAR}") # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeASMCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeASM${ASM_DIALECT}Compiler.cmake IMMEDIATE @ONLY) set(_CMAKE_ASM_COMPILER) set(_CMAKE_ASM_COMPILER_ARG1) set(_CMAKE_ASM_COMPILER_ENV_VAR) cmake-2.8.12.2/Modules/CMakeDetermineCCompiler.cmake000644 000765 000024 00000016354 12266011633 022673 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for C programs # NOTE, a generator may set CMAKE_C_COMPILER before # loading this file to force a compiler. # use environment variable CC first if defined by user, next use # the cmake variable CMAKE_GENERATOR_CC which can be defined by a generator # as a default compiler # If the internal cmake variable _CMAKE_TOOLCHAIN_PREFIX is set, this is used # as prefix for the tools (e.g. arm-elf-gcc, arm-elf-ar etc.). This works # currently with the GNU crosscompilers. # # Sets the following variables: # CMAKE_C_COMPILER # CMAKE_AR # CMAKE_RANLIB # CMAKE_COMPILER_IS_GNUCC # # If not already set before, it also sets # _CMAKE_TOOLCHAIN_PREFIX include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake) # Load system-specific compiler preferences for this language. include(Platform/${CMAKE_SYSTEM_NAME}-C OPTIONAL) if(NOT CMAKE_C_COMPILER_NAMES) set(CMAKE_C_COMPILER_NAMES cc) endif() if(${CMAKE_GENERATOR} MATCHES "Visual Studio") elseif("${CMAKE_GENERATOR}" MATCHES "Xcode") set(CMAKE_C_COMPILER_XCODE_TYPE sourcecode.c.c) else() if(NOT CMAKE_C_COMPILER) set(CMAKE_C_COMPILER_INIT NOTFOUND) # prefer the environment variable CC if($ENV{CC} MATCHES ".+") get_filename_component(CMAKE_C_COMPILER_INIT $ENV{CC} PROGRAM PROGRAM_ARGS CMAKE_C_FLAGS_ENV_INIT) if(CMAKE_C_FLAGS_ENV_INIT) set(CMAKE_C_COMPILER_ARG1 "${CMAKE_C_FLAGS_ENV_INIT}" CACHE STRING "First argument to C compiler") endif() if(NOT EXISTS ${CMAKE_C_COMPILER_INIT}) message(FATAL_ERROR "Could not find compiler set in environment variable CC:\n$ENV{CC}.") endif() endif() # next try prefer the compiler specified by the generator if(CMAKE_GENERATOR_CC) if(NOT CMAKE_C_COMPILER_INIT) set(CMAKE_C_COMPILER_INIT ${CMAKE_GENERATOR_CC}) endif() endif() # finally list compilers to try if(NOT CMAKE_C_COMPILER_INIT) set(CMAKE_C_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}cc ${_CMAKE_TOOLCHAIN_PREFIX}gcc cl bcc xlc clang) endif() _cmake_find_compiler(C) else() # we only get here if CMAKE_C_COMPILER was specified using -D or a pre-made CMakeCache.txt # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE # if CMAKE_C_COMPILER is a list of length 2, use the first item as # CMAKE_C_COMPILER and the 2nd one as CMAKE_C_COMPILER_ARG1 list(LENGTH CMAKE_C_COMPILER _CMAKE_C_COMPILER_LIST_LENGTH) if("${_CMAKE_C_COMPILER_LIST_LENGTH}" EQUAL 2) list(GET CMAKE_C_COMPILER 1 CMAKE_C_COMPILER_ARG1) list(GET CMAKE_C_COMPILER 0 CMAKE_C_COMPILER) endif() # if a compiler was specified by the user but without path, # now try to find it with the full path # if it is found, force it into the cache, # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND" # if the C compiler already had a path, reuse it for searching the CXX compiler get_filename_component(_CMAKE_USER_C_COMPILER_PATH "${CMAKE_C_COMPILER}" PATH) if(NOT _CMAKE_USER_C_COMPILER_PATH) find_program(CMAKE_C_COMPILER_WITH_PATH NAMES ${CMAKE_C_COMPILER}) mark_as_advanced(CMAKE_C_COMPILER_WITH_PATH) if(CMAKE_C_COMPILER_WITH_PATH) set(CMAKE_C_COMPILER ${CMAKE_C_COMPILER_WITH_PATH} CACHE STRING "C compiler" FORCE) endif() endif() endif() mark_as_advanced(CMAKE_C_COMPILER) # Each entry in this list is a set of extra flags to try # adding to the compile line to see if it helps produce # a valid identification file. set(CMAKE_C_COMPILER_ID_TEST_FLAGS # Try compiling to an object file only. "-c" # Try enabling ANSI mode on HP. "-Aa" ) endif() # Build a small source file to identify the compiler. if(NOT CMAKE_C_COMPILER_ID_RUN) set(CMAKE_C_COMPILER_ID_RUN 1) # Try to identify the compiler. set(CMAKE_C_COMPILER_ID) file(READ ${CMAKE_ROOT}/Modules/CMakePlatformId.h.in CMAKE_C_COMPILER_ID_PLATFORM_CONTENT) # The IAR compiler produces weird output. # See http://www.cmake.org/Bug/view.php?id=10176#c19598 list(APPEND CMAKE_C_COMPILER_ID_VENDORS IAR) set(CMAKE_C_COMPILER_ID_VENDOR_FLAGS_IAR ) set(CMAKE_C_COMPILER_ID_VENDOR_REGEX_IAR "IAR .+ Compiler") include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake) CMAKE_DETERMINE_COMPILER_ID(C CFLAGS CMakeCCompilerId.c) # Set old compiler and platform id variables. if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU") set(CMAKE_COMPILER_IS_GNUCC 1) endif() if("${CMAKE_C_PLATFORM_ID}" MATCHES "MinGW") set(CMAKE_COMPILER_IS_MINGW 1) elseif("${CMAKE_C_PLATFORM_ID}" MATCHES "Cygwin") set(CMAKE_COMPILER_IS_CYGWIN 1) endif() endif() if (NOT _CMAKE_TOOLCHAIN_LOCATION) get_filename_component(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_C_COMPILER}" PATH) endif () # If we have a gcc cross compiler, they have usually some prefix, like # e.g. powerpc-linux-gcc, arm-elf-gcc or i586-mingw32msvc-gcc, optionally # with a 3-component version number at the end (e.g. arm-eabi-gcc-4.5.2). # The other tools of the toolchain usually have the same prefix # NAME_WE cannot be used since then this test will fail for names lile # "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be # "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-" if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX) if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU") get_filename_component(COMPILER_BASENAME "${CMAKE_C_COMPILER}" NAME) if (COMPILER_BASENAME MATCHES "^(.+-)g?cc(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () # if "llvm-" is part of the prefix, remove it, since llvm doesn't have its own binutils # but uses the regular ar, objcopy, etc. (instead of llvm-objcopy etc.) if ("${_CMAKE_TOOLCHAIN_PREFIX}" MATCHES "(.+-)?llvm-$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () elseif("${CMAKE_C_COMPILER_ID}" MATCHES "TI") # TI compilers are named e.g. cl6x, cl470 or armcl.exe get_filename_component(COMPILER_BASENAME "${CMAKE_C_COMPILER}" NAME) if (COMPILER_BASENAME MATCHES "^(.+)?cl([^.]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX "${CMAKE_MATCH_1}") set(_CMAKE_TOOLCHAIN_SUFFIX "${CMAKE_MATCH_2}") endif () endif() endif () include(${CMAKE_ROOT}/Modules/CMakeClDeps.cmake) include(CMakeFindBinUtils) if(MSVC_C_ARCHITECTURE_ID) set(SET_MSVC_C_ARCHITECTURE_ID "set(MSVC_C_ARCHITECTURE_ID ${MSVC_C_ARCHITECTURE_ID})") endif() # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) set(CMAKE_C_COMPILER_ENV_VAR "CC") cmake-2.8.12.2/Modules/CMakeDetermineCompiler.cmake000644 000765 000024 00000006566 12266011633 022574 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(_cmake_find_compiler lang) # Use already-enabled languages for reference. get_property(_languages GLOBAL PROPERTY ENABLED_LANGUAGES) list(REMOVE_ITEM _languages "${lang}") if(CMAKE_${lang}_COMPILER_INIT) # Search only for the specified compiler. set(CMAKE_${lang}_COMPILER_LIST "${CMAKE_${lang}_COMPILER_INIT}") else() # Re-order the compiler list with preferred vendors first. set(_${lang}_COMPILER_LIST "${CMAKE_${lang}_COMPILER_LIST}") set(CMAKE_${lang}_COMPILER_LIST "") # Prefer vendors of compilers from reference languages. foreach(l ${_languages}) list(APPEND CMAKE_${lang}_COMPILER_LIST ${_${lang}_COMPILER_NAMES_${CMAKE_${l}_COMPILER_ID}}) endforeach() # Prefer vendors based on the platform. list(APPEND CMAKE_${lang}_COMPILER_LIST ${CMAKE_${lang}_COMPILER_NAMES}) # Append the rest of the list and remove duplicates. list(APPEND CMAKE_${lang}_COMPILER_LIST ${_${lang}_COMPILER_LIST}) unset(_${lang}_COMPILER_LIST) list(REMOVE_DUPLICATES CMAKE_${lang}_COMPILER_LIST) if(CMAKE_${lang}_COMPILER_EXCLUDE) list(REMOVE_ITEM CMAKE_${lang}_COMPILER_LIST ${CMAKE_${lang}_COMPILER_EXCLUDE}) endif() endif() # Look for directories containing compilers of reference languages. set(_${lang}_COMPILER_HINTS) foreach(l ${_languages}) if(CMAKE_${l}_COMPILER AND IS_ABSOLUTE "${CMAKE_${l}_COMPILER}") get_filename_component(_hint "${CMAKE_${l}_COMPILER}" PATH) if(IS_DIRECTORY "${_hint}") list(APPEND _${lang}_COMPILER_HINTS "${_hint}") endif() unset(_hint) endif() endforeach() # Find the compiler. if(_${lang}_COMPILER_HINTS) # Prefer directories containing compilers of reference languages. list(REMOVE_DUPLICATES _${lang}_COMPILER_HINTS) find_program(CMAKE_${lang}_COMPILER NAMES ${CMAKE_${lang}_COMPILER_LIST} PATHS ${_${lang}_COMPILER_HINTS} NO_DEFAULT_PATH DOC "${lang} compiler") endif() find_program(CMAKE_${lang}_COMPILER NAMES ${CMAKE_${lang}_COMPILER_LIST} DOC "${lang} compiler") if(CMAKE_${lang}_COMPILER_INIT AND NOT CMAKE_${lang}_COMPILER) set(CMAKE_${lang}_COMPILER "${CMAKE_${lang}_COMPILER_INIT}" CACHE FILEPATH "${lang} compiler" FORCE) endif() unset(_${lang}_COMPILER_HINTS) unset(_languages) # Look for a make tool provided by Xcode if(CMAKE_${lang}_COMPILER STREQUAL "CMAKE_${lang}_COMPILER-NOTFOUND" AND CMAKE_HOST_APPLE) foreach(comp ${CMAKE_${lang}_COMPILER_LIST}) execute_process(COMMAND xcrun --find ${comp} OUTPUT_VARIABLE _xcrun_out OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE _xcrun_err) if(_xcrun_out) set_property(CACHE CMAKE_${lang}_COMPILER PROPERTY VALUE "${_xcrun_out}") break() endif() endforeach() endif() endmacro() cmake-2.8.12.2/Modules/CMakeDetermineCompilerABI.cmake000644 000765 000024 00000013630 12266011633 023076 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Function to compile a source file to identify the compiler ABI. # This is used internally by CMake and should not be included by user # code. include(${CMAKE_ROOT}/Modules/CMakeParseImplicitLinkInfo.cmake) function(CMAKE_DETERMINE_COMPILER_ABI lang src) if(NOT DEFINED CMAKE_${lang}_ABI_COMPILED) message(STATUS "Detecting ${lang} compiler ABI info") # Compile the ABI identification source. set(BIN "${CMAKE_PLATFORM_INFO_DIR}/CMakeDetermineCompilerABI_${lang}.bin") set(CMAKE_FLAGS ) if(DEFINED CMAKE_${lang}_VERBOSE_FLAG) set(CMAKE_FLAGS "-DCMAKE_EXE_LINKER_FLAGS=${CMAKE_${lang}_VERBOSE_FLAG}") endif() try_compile(CMAKE_${lang}_ABI_COMPILED ${CMAKE_BINARY_DIR} ${src} CMAKE_FLAGS "${CMAKE_FLAGS}" "-DCMAKE_${lang}_STANDARD_LIBRARIES=" # We need ignore these warnings because some platforms need # CMAKE_${lang}_STANDARD_LIBRARIES to link properly and we # don't care when we are just determining the ABI. "--no-warn-unused-cli" OUTPUT_VARIABLE OUTPUT COPY_FILE "${BIN}" COPY_FILE_ERROR _copy_error ) # Move result from cache to normal variable. set(CMAKE_${lang}_ABI_COMPILED ${CMAKE_${lang}_ABI_COMPILED}) unset(CMAKE_${lang}_ABI_COMPILED CACHE) set(CMAKE_${lang}_ABI_COMPILED ${CMAKE_${lang}_ABI_COMPILED} PARENT_SCOPE) # Load the resulting information strings. if(CMAKE_${lang}_ABI_COMPILED AND NOT _copy_error) message(STATUS "Detecting ${lang} compiler ABI info - done") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Detecting ${lang} compiler ABI info compiled with the following output:\n${OUTPUT}\n\n") file(STRINGS "${BIN}" ABI_STRINGS LIMIT_COUNT 2 REGEX "INFO:[^[]*\\[") foreach(info ${ABI_STRINGS}) if("${info}" MATCHES ".*INFO:sizeof_dptr\\[0*([^]]*)\\].*") string(REGEX REPLACE ".*INFO:sizeof_dptr\\[0*([^]]*)\\].*" "\\1" ABI_SIZEOF_DPTR "${info}") endif() if("${info}" MATCHES ".*INFO:abi\\[([^]]*)\\].*") string(REGEX REPLACE ".*INFO:abi\\[([^]]*)\\].*" "\\1" ABI_NAME "${info}") endif() endforeach() if(ABI_SIZEOF_DPTR) set(CMAKE_${lang}_SIZEOF_DATA_PTR "${ABI_SIZEOF_DPTR}" PARENT_SCOPE) elseif(CMAKE_${lang}_SIZEOF_DATA_PTR_DEFAULT) set(CMAKE_${lang}_SIZEOF_DATA_PTR "${CMAKE_${lang}_SIZEOF_DATA_PTR_DEFAULT}" PARENT_SCOPE) endif() if(ABI_NAME) set(CMAKE_${lang}_COMPILER_ABI "${ABI_NAME}" PARENT_SCOPE) endif() # Parse implicit linker information for this language, if available. set(implicit_dirs "") set(implicit_libs "") set(implicit_fwks "") if(CMAKE_${lang}_VERBOSE_FLAG) CMAKE_PARSE_IMPLICIT_LINK_INFO("${OUTPUT}" implicit_libs implicit_dirs implicit_fwks log "${CMAKE_${lang}_IMPLICIT_OBJECT_REGEX}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Parsed ${lang} implicit link information from above output:\n${log}\n\n") endif() # for VS IDE Intel Fortran we have to figure out the # implicit link path for the fortran run time using # a try-compile if("${lang}" MATCHES "Fortran" AND "${CMAKE_GENERATOR}" MATCHES "Visual Studio") set(_desc "Determine Intel Fortran Compiler Implicit Link Path") message(STATUS "${_desc}") # Build a sample project which reports symbols. try_compile(IFORT_LIB_PATH_COMPILED ${CMAKE_BINARY_DIR}/CMakeFiles/IntelVSImplicitPath ${CMAKE_ROOT}/Modules/IntelVSImplicitPath IntelFortranImplicit CMAKE_FLAGS "-DCMAKE_Fortran_FLAGS:STRING=${CMAKE_Fortran_FLAGS}" OUTPUT_VARIABLE _output) file(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/IntelVSImplicitPath/output.txt" "${_output}") include(${CMAKE_BINARY_DIR}/CMakeFiles/IntelVSImplicitPath/output.cmake OPTIONAL) set(_desc "Determine Intel Fortran Compiler Implicit Link Path -- done") message(STATUS "${_desc}") endif() # Implicit link libraries cannot be used explicitly for multiple # OS X architectures, so we skip it. if(DEFINED CMAKE_OSX_ARCHITECTURES) if("${CMAKE_OSX_ARCHITECTURES}" MATCHES ";") set(implicit_libs "") endif() endif() set(CMAKE_${lang}_IMPLICIT_LINK_LIBRARIES "${implicit_libs}" PARENT_SCOPE) set(CMAKE_${lang}_IMPLICIT_LINK_DIRECTORIES "${implicit_dirs}" PARENT_SCOPE) set(CMAKE_${lang}_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "${implicit_fwks}" PARENT_SCOPE) # Detect library architecture directory name. if(CMAKE_LIBRARY_ARCHITECTURE_REGEX) foreach(dir ${implicit_dirs}) if("${dir}" MATCHES "/lib/${CMAKE_LIBRARY_ARCHITECTURE_REGEX}$") get_filename_component(arch "${dir}" NAME) set(CMAKE_${lang}_LIBRARY_ARCHITECTURE "${arch}" PARENT_SCOPE) break() endif() endforeach() endif() else() message(STATUS "Detecting ${lang} compiler ABI info - failed") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Detecting ${lang} compiler ABI info failed to compile with the following output:\n${OUTPUT}\n${_copy_error}\n\n") endif() endif() endfunction() cmake-2.8.12.2/Modules/CMakeDetermineCompilerId.cmake000644 000765 000024 00000046073 12266011633 023046 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Function to compile a source file to identify the compiler. This is # used internally by CMake and should not be included by user code. # If successful, sets CMAKE__COMPILER_ID and CMAKE__PLATFORM_ID function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src) # Make sure the compiler arguments are clean. string(STRIP "${CMAKE_${lang}_COMPILER_ARG1}" CMAKE_${lang}_COMPILER_ID_ARG1) string(REGEX REPLACE " +" ";" CMAKE_${lang}_COMPILER_ID_ARG1 "${CMAKE_${lang}_COMPILER_ID_ARG1}") # Make sure user-specified compiler flags are used. if(CMAKE_${lang}_FLAGS) set(CMAKE_${lang}_COMPILER_ID_FLAGS ${CMAKE_${lang}_FLAGS}) else() set(CMAKE_${lang}_COMPILER_ID_FLAGS $ENV{${flagvar}}) endif() string(REGEX REPLACE " " ";" CMAKE_${lang}_COMPILER_ID_FLAGS_LIST "${CMAKE_${lang}_COMPILER_ID_FLAGS}") # Compute the directory in which to run the test. set(CMAKE_${lang}_COMPILER_ID_DIR ${CMAKE_PLATFORM_INFO_DIR}/CompilerId${lang}) # Try building with no extra flags and then try each set # of helper flags. Stop when the compiler is identified. foreach(flags "" ${CMAKE_${lang}_COMPILER_ID_TEST_FLAGS}) if(NOT CMAKE_${lang}_COMPILER_ID) CMAKE_DETERMINE_COMPILER_ID_BUILD("${lang}" "${flags}" "${src}") foreach(file ${COMPILER_${lang}_PRODUCED_FILES}) CMAKE_DETERMINE_COMPILER_ID_CHECK("${lang}" "${CMAKE_${lang}_COMPILER_ID_DIR}/${file}" "${src}") endforeach() endif() endforeach() # If the compiler is still unknown, try to query its vendor. if(NOT CMAKE_${lang}_COMPILER_ID) CMAKE_DETERMINE_COMPILER_ID_VENDOR(${lang}) endif() # if the format is unknown after all files have been checked, put "Unknown" in the cache if(NOT CMAKE_EXECUTABLE_FORMAT) set(CMAKE_EXECUTABLE_FORMAT "Unknown" CACHE INTERNAL "Executable file format") endif() # Display the final identification result. if(CMAKE_${lang}_COMPILER_ID) if(CMAKE_${lang}_COMPILER_VERSION) set(_version " ${CMAKE_${lang}_COMPILER_VERSION}") else() set(_version "") endif() message(STATUS "The ${lang} compiler identification is " "${CMAKE_${lang}_COMPILER_ID}${_version}") else() message(STATUS "The ${lang} compiler identification is unknown") endif() # Check if compiler id detection gave us the compiler tool. if(NOT CMAKE_${lang}_COMPILER) if(CMAKE_${lang}_COMPILER_ID_TOOL) set(CMAKE_${lang}_COMPILER "${CMAKE_${lang}_COMPILER_ID_TOOL}" PARENT_SCOPE) else() set(CMAKE_${lang}_COMPILER "CMAKE_${lang}_COMPILER-NOTFOUND" PARENT_SCOPE) endif() endif() set(CMAKE_${lang}_COMPILER_ID "${CMAKE_${lang}_COMPILER_ID}" PARENT_SCOPE) set(CMAKE_${lang}_PLATFORM_ID "${CMAKE_${lang}_PLATFORM_ID}" PARENT_SCOPE) set(MSVC_${lang}_ARCHITECTURE_ID "${MSVC_${lang}_ARCHITECTURE_ID}" PARENT_SCOPE) set(CMAKE_${lang}_COMPILER_VERSION "${CMAKE_${lang}_COMPILER_VERSION}" PARENT_SCOPE) endfunction() #----------------------------------------------------------------------------- # Function to write the compiler id source file. function(CMAKE_DETERMINE_COMPILER_ID_WRITE lang src) file(READ ${CMAKE_ROOT}/Modules/${src}.in ID_CONTENT_IN) string(CONFIGURE "${ID_CONTENT_IN}" ID_CONTENT_OUT @ONLY) file(WRITE ${CMAKE_${lang}_COMPILER_ID_DIR}/${src} "${ID_CONTENT_OUT}") endfunction() #----------------------------------------------------------------------------- # Function to build the compiler id source file and look for output # files. function(CMAKE_DETERMINE_COMPILER_ID_BUILD lang testflags src) # Create a clean working directory. file(REMOVE_RECURSE ${CMAKE_${lang}_COMPILER_ID_DIR}) file(MAKE_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}) CMAKE_DETERMINE_COMPILER_ID_WRITE("${lang}" "${src}") # Construct a description of this test case. set(COMPILER_DESCRIPTION "Compiler: ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_ARG1} Build flags: ${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST} Id flags: ${testflags} ") # Compile the compiler identification source. if("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([0-9]+)") set(vs_version ${CMAKE_MATCH_1}) set(id_platform ${CMAKE_VS_PLATFORM_NAME}) set(id_lang "${lang}") set(id_cl cl.exe) if(NOT "${vs_version}" VERSION_LESS 10) set(v 10) set(ext vcxproj) elseif(NOT "${vs_version}" VERSION_LESS 7) set(id_version ${vs_version}.00) set(v 7) set(ext vcproj) else() set(v 6) set(ext dsp) endif() if("${id_platform}" STREQUAL "Itanium") set(id_platform ia64) endif() if(CMAKE_VS_PLATFORM_TOOLSET) set(id_toolset "${CMAKE_VS_PLATFORM_TOOLSET}") else() set(id_toolset "") endif() if(CMAKE_VS_WINCE_VERSION) set(id_entrypoint "mainACRTStartup") if("${vs_version}" VERSION_LESS 9) set(id_subsystem 9) else() set(id_subsystem 8) endif() else() set(id_subsystem 1) endif() if("${CMAKE_MAKE_PROGRAM}" MATCHES "[Mm][Ss][Bb][Uu][Ii][Ll][Dd]") set(build /p:Configuration=Debug /p:Platform=@id_platform@ /p:VisualStudioVersion=${vs_version}.0) elseif("${CMAKE_MAKE_PROGRAM}" MATCHES "[Mm][Ss][Dd][Ee][Vv]") set(build /make) else() set(build /build Debug) endif() set(id_dir ${CMAKE_${lang}_COMPILER_ID_DIR}) get_filename_component(id_src "${src}" NAME) configure_file(${CMAKE_ROOT}/Modules/CompilerId/VS-${v}.${ext}.in ${id_dir}/CompilerId${lang}.${ext} @ONLY IMMEDIATE) execute_process( COMMAND ${CMAKE_MAKE_PROGRAM} CompilerId${lang}.${ext} ${build} WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR} OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT ERROR_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT RESULT_VARIABLE CMAKE_${lang}_COMPILER_ID_RESULT ) # Match the compiler location line printed out. if("${CMAKE_${lang}_COMPILER_ID_OUTPUT}" MATCHES "CMAKE_${lang}_COMPILER=([^%\r\n]+)[\r\n]") set(_comp "${CMAKE_MATCH_1}") if(EXISTS "${_comp}") file(TO_CMAKE_PATH "${_comp}" _comp) set(CMAKE_${lang}_COMPILER_ID_TOOL "${_comp}" PARENT_SCOPE) endif() endif() elseif("${CMAKE_GENERATOR}" MATCHES "Xcode") set(id_lang "${lang}") set(id_type ${CMAKE_${lang}_COMPILER_XCODE_TYPE}) set(id_dir ${CMAKE_${lang}_COMPILER_ID_DIR}) get_filename_component(id_src "${src}" NAME) if(CMAKE_XCODE_PLATFORM_TOOLSET) set(id_toolset "GCC_VERSION = ${CMAKE_XCODE_PLATFORM_TOOLSET};") else() set(id_toolset "") endif() if(NOT ${XCODE_VERSION} VERSION_LESS 3) set(v 3) set(ext xcodeproj) elseif(NOT ${XCODE_VERSION} VERSION_LESS 2) set(v 2) set(ext xcodeproj) else() set(v 1) set(ext xcode) endif() configure_file(${CMAKE_ROOT}/Modules/CompilerId/Xcode-${v}.pbxproj.in ${id_dir}/CompilerId${lang}.${ext}/project.pbxproj @ONLY IMMEDIATE) unset(_ENV_MACOSX_DEPLOYMENT_TARGET) if(DEFINED ENV{MACOSX_DEPLOYMENT_TARGET}) set(_ENV_MACOSX_DEPLOYMENT_TARGET "$ENV{MACOSX_DEPLOYMENT_TARGET}") set(ENV{MACOSX_DEPLOYMENT_TARGET} "") endif() execute_process(COMMAND xcodebuild WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR} OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT ERROR_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT RESULT_VARIABLE CMAKE_${lang}_COMPILER_ID_RESULT ) if(DEFINED _ENV_MACOSX_DEPLOYMENT_TARGET) set(ENV{MACOSX_DEPLOYMENT_TARGET} "${_ENV_MACOSX_DEPLOYMENT_TARGET}") endif() # Match the link line from xcodebuild output of the form # Ld ... # ... # /path/to/cc ...CompilerId${lang}/... # to extract the compiler front-end for the language. if("${CMAKE_${lang}_COMPILER_ID_OUTPUT}" MATCHES "\nLd[^\n]*(\n[ \t]+[^\n]*)*\n[ \t]+([^ \t\r\n]+)[^\r\n]*-o[^\r\n]*CompilerId${lang}/(\\./)?CompilerId${lang}[ \t\n\\\"]") set(_comp "${CMAKE_MATCH_2}") if(EXISTS "${_comp}") set(CMAKE_${lang}_COMPILER_ID_TOOL "${_comp}" PARENT_SCOPE) endif() endif() else() if(COMMAND EXECUTE_PROCESS) execute_process( COMMAND ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_ARG1} ${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST} ${testflags} "${src}" WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR} OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT ERROR_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT RESULT_VARIABLE CMAKE_${lang}_COMPILER_ID_RESULT ) else() exec_program( ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_DIR} ARGS ${CMAKE_${lang}_COMPILER_ID_ARG1} ${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST} ${testflags} \"${src}\" OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT RETURN_VALUE CMAKE_${lang}_COMPILER_ID_RESULT ) endif() endif() # Check the result of compilation. if(CMAKE_${lang}_COMPILER_ID_RESULT) # Compilation failed. set(MSG "Compiling the ${lang} compiler identification source file \"${src}\" failed. ${COMPILER_DESCRIPTION} The output was: ${CMAKE_${lang}_COMPILER_ID_RESULT} ${CMAKE_${lang}_COMPILER_ID_OUTPUT} ") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "${MSG}") #if(NOT CMAKE_${lang}_COMPILER_ID_ALLOW_FAIL) # message(FATAL_ERROR "${MSG}") #endif() # No output files should be inspected. set(COMPILER_${lang}_PRODUCED_FILES) else() # Compilation succeeded. file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Compiling the ${lang} compiler identification source file \"${src}\" succeeded. ${COMPILER_DESCRIPTION} The output was: ${CMAKE_${lang}_COMPILER_ID_RESULT} ${CMAKE_${lang}_COMPILER_ID_OUTPUT} ") # Find the executable produced by the compiler, try all files in the # binary dir. file(GLOB files RELATIVE ${CMAKE_${lang}_COMPILER_ID_DIR} ${CMAKE_${lang}_COMPILER_ID_DIR}/*) list(REMOVE_ITEM files "${src}") set(COMPILER_${lang}_PRODUCED_FILES "") foreach(file ${files}) if(NOT IS_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}/${file}) list(APPEND COMPILER_${lang}_PRODUCED_FILES ${file}) file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Compilation of the ${lang} compiler identification source \"" "${src}\" produced \"${file}\"\n\n") endif() endforeach() if(NOT COMPILER_${lang}_PRODUCED_FILES) # No executable was found. file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Compilation of the ${lang} compiler identification source \"" "${src}\" did not produce an executable in \"" "${CMAKE_${lang}_COMPILER_ID_DIR}\".\n\n") endif() endif() # Return the files produced by the compilation. set(COMPILER_${lang}_PRODUCED_FILES "${COMPILER_${lang}_PRODUCED_FILES}" PARENT_SCOPE) endfunction() #----------------------------------------------------------------------------- # Function to extract the compiler id from an executable. function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file) # Look for a compiler id if not yet known. if(NOT CMAKE_${lang}_COMPILER_ID) # Read the compiler identification string from the executable file. set(COMPILER_ID) set(COMPILER_VERSION) set(PLATFORM_ID) file(STRINGS ${file} CMAKE_${lang}_COMPILER_ID_STRINGS LIMIT_COUNT 4 REGEX "INFO:") set(HAVE_COMPILER_TWICE 0) foreach(info ${CMAKE_${lang}_COMPILER_ID_STRINGS}) if("${info}" MATCHES ".*INFO:compiler\\[([^]\"]*)\\].*") if(COMPILER_ID) set(COMPILER_ID_TWICE 1) endif() string(REGEX REPLACE ".*INFO:compiler\\[([^]]*)\\].*" "\\1" COMPILER_ID "${info}") endif() if("${info}" MATCHES ".*INFO:platform\\[([^]\"]*)\\].*") string(REGEX REPLACE ".*INFO:platform\\[([^]]*)\\].*" "\\1" PLATFORM_ID "${info}") endif() if("${info}" MATCHES ".*INFO:arch\\[([^]\"]*)\\].*") string(REGEX REPLACE ".*INFO:arch\\[([^]]*)\\].*" "\\1" ARCHITECTURE_ID "${info}") endif() if("${info}" MATCHES ".*INFO:compiler_version\\[([^]\"]*)\\].*") string(REGEX REPLACE ".*INFO:compiler_version\\[([^]]*)\\].*" "\\1" COMPILER_VERSION "${info}") string(REGEX REPLACE "^0+([0-9])" "\\1" COMPILER_VERSION "${COMPILER_VERSION}") string(REGEX REPLACE "\\.0+([0-9])" ".\\1" COMPILER_VERSION "${COMPILER_VERSION}") endif() endforeach() # Detect the exact architecture from the PE header. if(WIN32) # The offset to the PE signature is stored at 0x3c. file(READ ${file} peoffsethex LIMIT 1 OFFSET 60 HEX) string(SUBSTRING "${peoffsethex}" 0 1 peoffsethex1) string(SUBSTRING "${peoffsethex}" 1 1 peoffsethex2) set(peoffsetexpression "${peoffsethex1} * 16 + ${peoffsethex2}") string(REPLACE "a" "10" peoffsetexpression "${peoffsetexpression}") string(REPLACE "b" "11" peoffsetexpression "${peoffsetexpression}") string(REPLACE "c" "12" peoffsetexpression "${peoffsetexpression}") string(REPLACE "d" "13" peoffsetexpression "${peoffsetexpression}") string(REPLACE "e" "14" peoffsetexpression "${peoffsetexpression}") string(REPLACE "f" "15" peoffsetexpression "${peoffsetexpression}") math(EXPR peoffset "${peoffsetexpression}") file(READ ${file} peheader LIMIT 6 OFFSET ${peoffset} HEX) if(peheader STREQUAL "50450000a201") set(ARCHITECTURE_ID "SH3") elseif(peheader STREQUAL "50450000a301") set(ARCHITECTURE_ID "SH3DSP") elseif(peheader STREQUAL "50450000a601") set(ARCHITECTURE_ID "SH4") elseif(peheader STREQUAL "50450000a801") set(ARCHITECTURE_ID "SH5") elseif(peheader STREQUAL "50450000c201") set(ARCHITECTURE_ID "THUMB") endif() endif() # Check if a valid compiler and platform were found. if(COMPILER_ID AND NOT COMPILER_ID_TWICE) set(CMAKE_${lang}_COMPILER_ID "${COMPILER_ID}") set(CMAKE_${lang}_PLATFORM_ID "${PLATFORM_ID}") set(MSVC_${lang}_ARCHITECTURE_ID "${ARCHITECTURE_ID}") set(CMAKE_${lang}_COMPILER_VERSION "${COMPILER_VERSION}") endif() # Check the compiler identification string. if(CMAKE_${lang}_COMPILER_ID) # The compiler identification was found. file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "The ${lang} compiler identification is ${CMAKE_${lang}_COMPILER_ID}, found in \"" "${file}\"\n\n") else() # The compiler identification could not be found. file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "The ${lang} compiler identification could not be found in \"" "${file}\"\n\n") endif() endif() # try to figure out the executable format: ELF, COFF, Mach-O if(NOT CMAKE_EXECUTABLE_FORMAT) file(READ ${file} CMAKE_EXECUTABLE_MAGIC LIMIT 4 HEX) # ELF files start with 0x7f"ELF" if("${CMAKE_EXECUTABLE_MAGIC}" STREQUAL "7f454c46") set(CMAKE_EXECUTABLE_FORMAT "ELF" CACHE INTERNAL "Executable file format") endif() # # COFF (.exe) files start with "MZ" # if("${CMAKE_EXECUTABLE_MAGIC}" MATCHES "4d5a....") # set(CMAKE_EXECUTABLE_FORMAT "COFF" CACHE STRING "Executable file format") # endif() # # # Mach-O files start with CAFEBABE or FEEDFACE, according to http://radio.weblogs.com/0100490/2003/01/28.html # if("${CMAKE_EXECUTABLE_MAGIC}" MATCHES "cafebabe") # set(CMAKE_EXECUTABLE_FORMAT "MACHO" CACHE STRING "Executable file format") # endif() # if("${CMAKE_EXECUTABLE_MAGIC}" MATCHES "feedface") # set(CMAKE_EXECUTABLE_FORMAT "MACHO" CACHE STRING "Executable file format") # endif() endif() if(NOT DEFINED CMAKE_EXECUTABLE_FORMAT) set(CMAKE_EXECUTABLE_FORMAT) endif() # Return the information extracted. set(CMAKE_${lang}_COMPILER_ID "${CMAKE_${lang}_COMPILER_ID}" PARENT_SCOPE) set(CMAKE_${lang}_PLATFORM_ID "${CMAKE_${lang}_PLATFORM_ID}" PARENT_SCOPE) set(MSVC_${lang}_ARCHITECTURE_ID "${MSVC_${lang}_ARCHITECTURE_ID}" PARENT_SCOPE) set(CMAKE_${lang}_COMPILER_VERSION "${CMAKE_${lang}_COMPILER_VERSION}" PARENT_SCOPE) set(CMAKE_EXECUTABLE_FORMAT "${CMAKE_EXECUTABLE_FORMAT}" PARENT_SCOPE) endfunction() #----------------------------------------------------------------------------- # Function to query the compiler vendor. # This uses a table with entries of the form # list(APPEND CMAKE_${lang}_COMPILER_ID_VENDORS ${vendor}) # set(CMAKE_${lang}_COMPILER_ID_VENDOR_FLAGS_${vendor} -some-vendor-flag) # set(CMAKE_${lang}_COMPILER_ID_VENDOR_REGEX_${vendor} "Some Vendor Output") # We try running the compiler with the flag for each vendor and # matching its regular expression in the output. function(CMAKE_DETERMINE_COMPILER_ID_VENDOR lang) if(NOT CMAKE_${lang}_COMPILER_ID_DIR) # We get here when this function is called not from within CMAKE_DETERMINE_COMPILER_ID() # This is done e.g. for detecting the compiler ID for assemblers. # Compute the directory in which to run the test and Create a clean working directory. set(CMAKE_${lang}_COMPILER_ID_DIR ${CMAKE_PLATFORM_INFO_DIR}/CompilerId${lang}) file(REMOVE_RECURSE ${CMAKE_${lang}_COMPILER_ID_DIR}) file(MAKE_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}) endif() foreach(vendor ${CMAKE_${lang}_COMPILER_ID_VENDORS}) set(flags ${CMAKE_${lang}_COMPILER_ID_VENDOR_FLAGS_${vendor}}) set(regex ${CMAKE_${lang}_COMPILER_ID_VENDOR_REGEX_${vendor}}) execute_process( COMMAND ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_ARG1} ${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST} ${flags} WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR} OUTPUT_VARIABLE output ERROR_VARIABLE output RESULT_VARIABLE result TIMEOUT 10 ) if("${output}" MATCHES "${regex}") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Checking whether the ${lang} compiler is ${vendor} using \"${flags}\" " "matched \"${regex}\":\n${output}") set(CMAKE_${lang}_COMPILER_ID "${vendor}" PARENT_SCOPE) break() else() if("${result}" MATCHES "timeout") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Checking whether the ${lang} compiler is ${vendor} using \"${flags}\" " "terminated after 10 s due to timeout.") else() file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Checking whether the ${lang} compiler is ${vendor} using \"${flags}\" " "did not match \"${regex}\":\n${output}") endif() endif() endforeach() endfunction() cmake-2.8.12.2/Modules/CMakeDetermineCXXCompiler.cmake000644 000765 000024 00000016473 12266011633 023155 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for C++ programs # NOTE, a generator may set CMAKE_CXX_COMPILER before # loading this file to force a compiler. # use environment variable CXX first if defined by user, next use # the cmake variable CMAKE_GENERATOR_CXX which can be defined by a generator # as a default compiler # If the internal cmake variable _CMAKE_TOOLCHAIN_PREFIX is set, this is used # as prefix for the tools (e.g. arm-elf-g++, arm-elf-ar etc.) # # Sets the following variables: # CMAKE_CXX_COMPILER # CMAKE_COMPILER_IS_GNUCXX # CMAKE_AR # CMAKE_RANLIB # # If not already set before, it also sets # _CMAKE_TOOLCHAIN_PREFIX include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake) # Load system-specific compiler preferences for this language. include(Platform/${CMAKE_SYSTEM_NAME}-CXX OPTIONAL) if(NOT CMAKE_CXX_COMPILER_NAMES) set(CMAKE_CXX_COMPILER_NAMES CC) endif() if(${CMAKE_GENERATOR} MATCHES "Visual Studio") elseif("${CMAKE_GENERATOR}" MATCHES "Xcode") set(CMAKE_CXX_COMPILER_XCODE_TYPE sourcecode.cpp.cpp) else() if(NOT CMAKE_CXX_COMPILER) set(CMAKE_CXX_COMPILER_INIT NOTFOUND) # prefer the environment variable CXX if($ENV{CXX} MATCHES ".+") get_filename_component(CMAKE_CXX_COMPILER_INIT $ENV{CXX} PROGRAM PROGRAM_ARGS CMAKE_CXX_FLAGS_ENV_INIT) if(CMAKE_CXX_FLAGS_ENV_INIT) set(CMAKE_CXX_COMPILER_ARG1 "${CMAKE_CXX_FLAGS_ENV_INIT}" CACHE STRING "First argument to CXX compiler") endif() if(NOT EXISTS ${CMAKE_CXX_COMPILER_INIT}) message(FATAL_ERROR "Could not find compiler set in environment variable CXX:\n$ENV{CXX}.\n${CMAKE_CXX_COMPILER_INIT}") endif() endif() # next prefer the generator specified compiler if(CMAKE_GENERATOR_CXX) if(NOT CMAKE_CXX_COMPILER_INIT) set(CMAKE_CXX_COMPILER_INIT ${CMAKE_GENERATOR_CXX}) endif() endif() # finally list compilers to try if(NOT CMAKE_CXX_COMPILER_INIT) set(CMAKE_CXX_COMPILER_LIST CC ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ aCC cl bcc xlC clang++) endif() _cmake_find_compiler(CXX) else() # we only get here if CMAKE_CXX_COMPILER was specified using -D or a pre-made CMakeCache.txt # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE # # if CMAKE_CXX_COMPILER is a list of length 2, use the first item as # CMAKE_CXX_COMPILER and the 2nd one as CMAKE_CXX_COMPILER_ARG1 list(LENGTH CMAKE_CXX_COMPILER _CMAKE_CXX_COMPILER_LIST_LENGTH) if("${_CMAKE_CXX_COMPILER_LIST_LENGTH}" EQUAL 2) list(GET CMAKE_CXX_COMPILER 1 CMAKE_CXX_COMPILER_ARG1) list(GET CMAKE_CXX_COMPILER 0 CMAKE_CXX_COMPILER) endif() # if a compiler was specified by the user but without path, # now try to find it with the full path # if it is found, force it into the cache, # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND" # if the CXX compiler already had a path, reuse it for searching the C compiler get_filename_component(_CMAKE_USER_CXX_COMPILER_PATH "${CMAKE_CXX_COMPILER}" PATH) if(NOT _CMAKE_USER_CXX_COMPILER_PATH) find_program(CMAKE_CXX_COMPILER_WITH_PATH NAMES ${CMAKE_CXX_COMPILER}) mark_as_advanced(CMAKE_CXX_COMPILER_WITH_PATH) if(CMAKE_CXX_COMPILER_WITH_PATH) set(CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER_WITH_PATH} CACHE STRING "CXX compiler" FORCE) endif() endif() endif() mark_as_advanced(CMAKE_CXX_COMPILER) # Each entry in this list is a set of extra flags to try # adding to the compile line to see if it helps produce # a valid identification file. set(CMAKE_CXX_COMPILER_ID_TEST_FLAGS # Try compiling to an object file only. "-c" ) endif() # Build a small source file to identify the compiler. if(NOT CMAKE_CXX_COMPILER_ID_RUN) set(CMAKE_CXX_COMPILER_ID_RUN 1) # Try to identify the compiler. set(CMAKE_CXX_COMPILER_ID) file(READ ${CMAKE_ROOT}/Modules/CMakePlatformId.h.in CMAKE_CXX_COMPILER_ID_PLATFORM_CONTENT) # The IAR compiler produces weird output. # See http://www.cmake.org/Bug/view.php?id=10176#c19598 list(APPEND CMAKE_CXX_COMPILER_ID_VENDORS IAR) set(CMAKE_CXX_COMPILER_ID_VENDOR_FLAGS_IAR ) set(CMAKE_CXX_COMPILER_ID_VENDOR_REGEX_IAR "IAR .+ Compiler") include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake) CMAKE_DETERMINE_COMPILER_ID(CXX CXXFLAGS CMakeCXXCompilerId.cpp) # Set old compiler and platform id variables. if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") set(CMAKE_COMPILER_IS_GNUCXX 1) endif() if("${CMAKE_CXX_PLATFORM_ID}" MATCHES "MinGW") set(CMAKE_COMPILER_IS_MINGW 1) elseif("${CMAKE_CXX_PLATFORM_ID}" MATCHES "Cygwin") set(CMAKE_COMPILER_IS_CYGWIN 1) endif() endif() if (NOT _CMAKE_TOOLCHAIN_LOCATION) get_filename_component(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_CXX_COMPILER}" PATH) endif () # if we have a g++ cross compiler, they have usually some prefix, like # e.g. powerpc-linux-g++, arm-elf-g++ or i586-mingw32msvc-g++ , optionally # with a 3-component version number at the end (e.g. arm-eabi-gcc-4.5.2). # The other tools of the toolchain usually have the same prefix # NAME_WE cannot be used since then this test will fail for names lile # "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be # "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-" if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX) if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") get_filename_component(COMPILER_BASENAME "${CMAKE_CXX_COMPILER}" NAME) if (COMPILER_BASENAME MATCHES "^(.+-)[gc]\\+\\+(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () # if "llvm-" is part of the prefix, remove it, since llvm doesn't have its own binutils # but uses the regular ar, objcopy, etc. (instead of llvm-objcopy etc.) if ("${_CMAKE_TOOLCHAIN_PREFIX}" MATCHES "(.+-)?llvm-$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "TI") # TI compilers are named e.g. cl6x, cl470 or armcl.exe get_filename_component(COMPILER_BASENAME "${CMAKE_CXX_COMPILER}" NAME) if (COMPILER_BASENAME MATCHES "^(.+)?cl([^.]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX "${CMAKE_MATCH_1}") set(_CMAKE_TOOLCHAIN_SUFFIX "${CMAKE_MATCH_2}") endif () endif() endif () include(${CMAKE_ROOT}/Modules/CMakeClDeps.cmake) include(CMakeFindBinUtils) if(MSVC_CXX_ARCHITECTURE_ID) set(SET_MSVC_CXX_ARCHITECTURE_ID "set(MSVC_CXX_ARCHITECTURE_ID ${MSVC_CXX_ARCHITECTURE_ID})") endif() # configure all variables set in this file configure_file(${CMAKE_ROOT}/Modules/CMakeCXXCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeCXXCompiler.cmake @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") cmake-2.8.12.2/Modules/CMakeDetermineFortranCompiler.cmake000644 000765 000024 00000023701 12266011633 024116 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for Fortran programs # NOTE, a generator may set CMAKE_Fortran_COMPILER before # loading this file to force a compiler. # use environment variable FC first if defined by user, next use # the cmake variable CMAKE_GENERATOR_FC which can be defined by a generator # as a default compiler include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake) include(Platform/${CMAKE_SYSTEM_NAME}-Fortran OPTIONAL) if(NOT CMAKE_Fortran_COMPILER_NAMES) set(CMAKE_Fortran_COMPILER_NAMES f95) endif() if(${CMAKE_GENERATOR} MATCHES "Visual Studio") set(CMAKE_Fortran_COMPILER_ID_RUN 1) set(CMAKE_Fortran_PLATFORM_ID "Windows") set(CMAKE_Fortran_COMPILER_ID "Intel") set(CMAKE_Fortran_COMPILER "${CMAKE_GENERATOR_FC}") elseif("${CMAKE_GENERATOR}" MATCHES "Xcode") set(CMAKE_Fortran_COMPILER_XCODE_TYPE sourcecode.fortran.f90) else() if(NOT CMAKE_Fortran_COMPILER) # prefer the environment variable CC if($ENV{FC} MATCHES ".+") get_filename_component(CMAKE_Fortran_COMPILER_INIT $ENV{FC} PROGRAM PROGRAM_ARGS CMAKE_Fortran_FLAGS_ENV_INIT) if(CMAKE_Fortran_FLAGS_ENV_INIT) set(CMAKE_Fortran_COMPILER_ARG1 "${CMAKE_Fortran_FLAGS_ENV_INIT}" CACHE STRING "First argument to Fortran compiler") endif() if(EXISTS ${CMAKE_Fortran_COMPILER_INIT}) else() message(FATAL_ERROR "Could not find compiler set in environment variable FC:\n$ENV{FC}.") endif() endif() # next try prefer the compiler specified by the generator if(CMAKE_GENERATOR_FC) if(NOT CMAKE_Fortran_COMPILER_INIT) set(CMAKE_Fortran_COMPILER_INIT ${CMAKE_GENERATOR_FC}) endif() endif() # finally list compilers to try if(NOT CMAKE_Fortran_COMPILER_INIT) # Known compilers: # f77/f90/f95: generic compiler names # g77: GNU Fortran 77 compiler # gfortran: putative GNU Fortran 95+ compiler (in progress) # fort77: native F77 compiler under HP-UX (and some older Crays) # frt: Fujitsu F77 compiler # pathf90/pathf95/pathf2003: PathScale Fortran compiler # pgf77/pgf90/pgf95/pgfortran: Portland Group F77/F90/F95 compilers # xlf/xlf90/xlf95: IBM (AIX) F77/F90/F95 compilers # lf95: Lahey-Fujitsu F95 compiler # fl32: Microsoft Fortran 77 "PowerStation" compiler # af77: Apogee F77 compiler for Intergraph hardware running CLIX # epcf90: "Edinburgh Portable Compiler" F90 # fort: Compaq (now HP) Fortran 90/95 compiler for Tru64 and Linux/Alpha # ifc: Intel Fortran 95 compiler for Linux/x86 # efc: Intel Fortran 95 compiler for IA64 # # The order is 95 or newer compilers first, then 90, # then 77 or older compilers, gnu is always last in the group, # so if you paid for a compiler it is picked by default. set(CMAKE_Fortran_COMPILER_LIST ifort ifc af95 af90 efc f95 pathf2003 pathf95 pgf95 pgfortran lf95 xlf95 fort gfortran gfortran-4 g95 f90 pathf90 pgf90 xlf90 epcf90 fort77 frt pgf77 xlf fl32 af77 g77 f77 ) # Vendor-specific compiler names. set(_Fortran_COMPILER_NAMES_GNU gfortran gfortran-4 g95 g77) set(_Fortran_COMPILER_NAMES_Intel ifort ifc efc) set(_Fortran_COMPILER_NAMES_Absoft af95 af90 af77) set(_Fortran_COMPILER_NAMES_PGI pgf95 pgfortran pgf90 pgf77) set(_Fortran_COMPILER_NAMES_PathScale pathf2003 pathf95 pathf90) set(_Fortran_COMPILER_NAMES_XL xlf) set(_Fortran_COMPILER_NAMES_VisualAge xlf95 xlf90 xlf) endif() _cmake_find_compiler(Fortran) else() # we only get here if CMAKE_Fortran_COMPILER was specified using -D or a pre-made CMakeCache.txt # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE # if CMAKE_Fortran_COMPILER is a list of length 2, use the first item as # CMAKE_Fortran_COMPILER and the 2nd one as CMAKE_Fortran_COMPILER_ARG1 list(LENGTH CMAKE_Fortran_COMPILER _CMAKE_Fortran_COMPILER_LIST_LENGTH) if("${_CMAKE_Fortran_COMPILER_LIST_LENGTH}" EQUAL 2) list(GET CMAKE_Fortran_COMPILER 1 CMAKE_Fortran_COMPILER_ARG1) list(GET CMAKE_Fortran_COMPILER 0 CMAKE_Fortran_COMPILER) endif() # if a compiler was specified by the user but without path, # now try to find it with the full path # if it is found, force it into the cache, # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND" # if the C compiler already had a path, reuse it for searching the CXX compiler get_filename_component(_CMAKE_USER_Fortran_COMPILER_PATH "${CMAKE_Fortran_COMPILER}" PATH) if(NOT _CMAKE_USER_Fortran_COMPILER_PATH) find_program(CMAKE_Fortran_COMPILER_WITH_PATH NAMES ${CMAKE_Fortran_COMPILER}) mark_as_advanced(CMAKE_Fortran_COMPILER_WITH_PATH) if(CMAKE_Fortran_COMPILER_WITH_PATH) set(CMAKE_Fortran_COMPILER ${CMAKE_Fortran_COMPILER_WITH_PATH} CACHE STRING "Fortran compiler" FORCE) endif() endif() endif() mark_as_advanced(CMAKE_Fortran_COMPILER) # Each entry in this list is a set of extra flags to try # adding to the compile line to see if it helps produce # a valid identification executable. set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS # Try compiling to an object file only. "-c" # Intel on windows does not preprocess by default. "-fpp" ) endif() # Build a small source file to identify the compiler. if(NOT CMAKE_Fortran_COMPILER_ID_RUN) set(CMAKE_Fortran_COMPILER_ID_RUN 1) # Table of per-vendor compiler id flags with expected output. list(APPEND CMAKE_Fortran_COMPILER_ID_VENDORS Compaq) set(CMAKE_Fortran_COMPILER_ID_VENDOR_FLAGS_Compaq "-what") set(CMAKE_Fortran_COMPILER_ID_VENDOR_REGEX_Compaq "Compaq Visual Fortran") list(APPEND CMAKE_Fortran_COMPILER_ID_VENDORS NAG) # Numerical Algorithms Group set(CMAKE_Fortran_COMPILER_ID_VENDOR_FLAGS_NAG "-V") set(CMAKE_Fortran_COMPILER_ID_VENDOR_REGEX_NAG "NAG Fortran Compiler") # Try to identify the compiler. set(CMAKE_Fortran_COMPILER_ID) include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake) CMAKE_DETERMINE_COMPILER_ID(Fortran FFLAGS CMakeFortranCompilerId.F) # Fall back to old is-GNU test. if(NOT CMAKE_Fortran_COMPILER_ID) exec_program(${CMAKE_Fortran_COMPILER} ARGS ${CMAKE_Fortran_COMPILER_ID_FLAGS_LIST} -E "\"${CMAKE_ROOT}/Modules/CMakeTestGNU.c\"" OUTPUT_VARIABLE CMAKE_COMPILER_OUTPUT RETURN_VALUE CMAKE_COMPILER_RETURN) if(NOT CMAKE_COMPILER_RETURN) if("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_GNU.*" ) set(CMAKE_Fortran_COMPILER_ID "GNU") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the Fortran compiler is GNU succeeded with " "the following output:\n${CMAKE_COMPILER_OUTPUT}\n\n") else() file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the Fortran compiler is GNU failed with " "the following output:\n${CMAKE_COMPILER_OUTPUT}\n\n") endif() if(NOT CMAKE_Fortran_PLATFORM_ID) if("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_MINGW.*" ) set(CMAKE_Fortran_PLATFORM_ID "MinGW") endif() if("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_CYGWIN.*" ) set(CMAKE_Fortran_PLATFORM_ID "Cygwin") endif() endif() endif() endif() # Set old compiler and platform id variables. if("${CMAKE_Fortran_COMPILER_ID}" MATCHES "GNU") set(CMAKE_COMPILER_IS_GNUG77 1) endif() if("${CMAKE_Fortran_PLATFORM_ID}" MATCHES "MinGW") set(CMAKE_COMPILER_IS_MINGW 1) elseif("${CMAKE_Fortran_PLATFORM_ID}" MATCHES "Cygwin") set(CMAKE_COMPILER_IS_CYGWIN 1) endif() endif() if (NOT _CMAKE_TOOLCHAIN_LOCATION) get_filename_component(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_Fortran_COMPILER}" PATH) endif () # if we have a fortran cross compiler, they have usually some prefix, like # e.g. powerpc-linux-gfortran, arm-elf-gfortran or i586-mingw32msvc-gfortran , optionally # with a 3-component version number at the end (e.g. arm-eabi-gcc-4.5.2). # The other tools of the toolchain usually have the same prefix # NAME_WE cannot be used since then this test will fail for names lile # "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be # "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-" if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX) if("${CMAKE_Fortran_COMPILER_ID}" MATCHES "GNU") get_filename_component(COMPILER_BASENAME "${CMAKE_Fortran_COMPILER}" NAME) if (COMPILER_BASENAME MATCHES "^(.+-)g?fortran(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () # if "llvm-" is part of the prefix, remove it, since llvm doesn't have its own binutils # but uses the regular ar, objcopy, etc. (instead of llvm-objcopy etc.) if ("${_CMAKE_TOOLCHAIN_PREFIX}" MATCHES "(.+-)?llvm-$") set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1}) endif () endif() endif () include(CMakeFindBinUtils) if(MSVC_Fortran_ARCHITECTURE_ID) set(SET_MSVC_Fortran_ARCHITECTURE_ID "set(MSVC_Fortran_ARCHITECTURE_ID ${MSVC_Fortran_ARCHITECTURE_ID})") endif() # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeFortranCompiler.cmake @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) set(CMAKE_Fortran_COMPILER_ENV_VAR "FC") cmake-2.8.12.2/Modules/CMakeDetermineJavaCompiler.cmake000644 000765 000024 00000010211 12266011634 023355 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for Java programs # NOTE, a generator may set CMAKE_Java_COMPILER before # loading this file to force a compiler. if(NOT CMAKE_Java_COMPILER) # prefer the environment variable CC if($ENV{JAVA_COMPILER} MATCHES ".+") get_filename_component(CMAKE_Java_COMPILER_INIT $ENV{JAVA_COMPILER} PROGRAM PROGRAM_ARGS CMAKE_Java_FLAGS_ENV_INIT) if(CMAKE_Java_FLAGS_ENV_INIT) set(CMAKE_Java_COMPILER_ARG1 "${CMAKE_Java_FLAGS_ENV_INIT}" CACHE STRING "First argument to Java compiler") endif() if(NOT EXISTS ${CMAKE_Java_COMPILER_INIT}) message(SEND_ERROR "Could not find compiler set in environment variable JAVA_COMPILER:\n$ENV{JAVA_COMPILER}.") endif() endif() if($ENV{JAVA_RUNTIME} MATCHES ".+") get_filename_component(CMAKE_Java_RUNTIME_INIT $ENV{JAVA_RUNTIME} PROGRAM PROGRAM_ARGS CMAKE_Java_FLAGS_ENV_INIT) if(NOT EXISTS ${CMAKE_Java_RUNTIME_INIT}) message(SEND_ERROR "Could not find compiler set in environment variable JAVA_RUNTIME:\n$ENV{JAVA_RUNTIME}.") endif() endif() if($ENV{JAVA_ARCHIVE} MATCHES ".+") get_filename_component(CMAKE_Java_ARCHIVE_INIT $ENV{JAVA_ARCHIVE} PROGRAM PROGRAM_ARGS CMAKE_Java_FLAGS_ENV_INIT) if(NOT EXISTS ${CMAKE_Java_ARCHIVE_INIT}) message(SEND_ERROR "Could not find compiler set in environment variable JAVA_ARCHIVE:\n$ENV{JAVA_ARCHIVE}.") endif() endif() set(Java_BIN_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\2.0;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.9;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.8;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.7;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.6;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.5;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin" $ENV{JAVA_HOME}/bin /usr/bin /usr/lib/java/bin /usr/share/java/bin /usr/local/bin /usr/local/java/bin /usr/local/java/share/bin /usr/java/j2sdk1.4.2_04 /usr/lib/j2sdk1.4-sun/bin /usr/java/j2sdk1.4.2_09/bin /usr/lib/j2sdk1.5-sun/bin /opt/sun-jdk-1.5.0.04/bin /usr/local/jdk-1.7.0/bin /usr/local/jdk-1.6.0/bin ) # if no compiler has been specified yet, then look for one if(CMAKE_Java_COMPILER_INIT) set(CMAKE_Java_COMPILER ${CMAKE_Java_COMPILER_INIT} CACHE PATH "Java Compiler") else() find_program(CMAKE_Java_COMPILER NAMES javac PATHS ${Java_BIN_PATH} ) endif() # if no runtime has been specified yet, then look for one if(CMAKE_Java_RUNTIME_INIT) set(CMAKE_Java_RUNTIME ${CMAKE_Java_RUNTIME_INIT} CACHE PATH "Java Compiler") else() find_program(CMAKE_Java_RUNTIME NAMES java PATHS ${Java_BIN_PATH} ) endif() # if no archive has been specified yet, then look for one if(CMAKE_Java_ARCHIVE_INIT) set(CMAKE_Java_ARCHIVE ${CMAKE_Java_ARCHIVE_INIT} CACHE PATH "Java Compiler") else() find_program(CMAKE_Java_ARCHIVE NAMES jar PATHS ${Java_BIN_PATH} ) endif() endif() mark_as_advanced(CMAKE_Java_COMPILER) # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeJavaCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeJavaCompiler.cmake IMMEDIATE @ONLY) set(CMAKE_Java_COMPILER_ENV_VAR "JAVA_COMPILER") cmake-2.8.12.2/Modules/CMakeDetermineRCCompiler.cmake000644 000765 000024 00000005023 12266011634 023005 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # determine the compiler to use for RC programs # NOTE, a generator may set CMAKE_RC_COMPILER before # loading this file to force a compiler. # use environment variable RC first if defined by user, next use # the cmake variable CMAKE_GENERATOR_RC which can be defined by a generator # as a default compiler if(NOT CMAKE_RC_COMPILER) # prefer the environment variable RC if($ENV{RC} MATCHES ".+") get_filename_component(CMAKE_RC_COMPILER_INIT $ENV{RC} PROGRAM PROGRAM_ARGS CMAKE_RC_FLAGS_ENV_INIT) if(CMAKE_RC_FLAGS_ENV_INIT) set(CMAKE_RC_COMPILER_ARG1 "${CMAKE_RC_FLAGS_ENV_INIT}" CACHE STRING "First argument to RC compiler") endif() if(EXISTS ${CMAKE_RC_COMPILER_INIT}) else() message(FATAL_ERROR "Could not find compiler set in environment variable RC:\n$ENV{RC}.") endif() endif() # next try prefer the compiler specified by the generator if(CMAKE_GENERATOR_RC) if(NOT CMAKE_RC_COMPILER_INIT) set(CMAKE_RC_COMPILER_INIT ${CMAKE_GENERATOR_RC}) endif() endif() # finally list compilers to try if(CMAKE_RC_COMPILER_INIT) set(CMAKE_RC_COMPILER_LIST ${CMAKE_RC_COMPILER_INIT}) else() set(CMAKE_RC_COMPILER_LIST rc) endif() # Find the compiler. find_program(CMAKE_RC_COMPILER NAMES ${CMAKE_RC_COMPILER_LIST} DOC "RC compiler") if(CMAKE_RC_COMPILER_INIT AND NOT CMAKE_RC_COMPILER) set(CMAKE_RC_COMPILER "${CMAKE_RC_COMPILER_INIT}" CACHE FILEPATH "RC compiler" FORCE) endif() endif() mark_as_advanced(CMAKE_RC_COMPILER) get_filename_component(_CMAKE_RC_COMPILER_NAME_WE ${CMAKE_RC_COMPILER} NAME_WE) if(_CMAKE_RC_COMPILER_NAME_WE STREQUAL "windres") set(CMAKE_RC_OUTPUT_EXTENSION .obj) else() set(CMAKE_RC_OUTPUT_EXTENSION .res) endif() # configure variables set in this file for fast reload later on configure_file(${CMAKE_ROOT}/Modules/CMakeRCCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeRCCompiler.cmake IMMEDIATE) set(CMAKE_RC_COMPILER_ENV_VAR "RC") cmake-2.8.12.2/Modules/CMakeDetermineSystem.cmake000644 000765 000024 00000016645 12266011634 022306 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is used by the Makefile generator to determin the following variables: # CMAKE_SYSTEM_NAME - on unix this is uname -s, for windows it is Windows # CMAKE_SYSTEM_VERSION - on unix this is uname -r, for windows it is empty # CMAKE_SYSTEM - ${CMAKE_SYSTEM}-${CMAKE_SYSTEM_VERSION}, for windows: ${CMAKE_SYSTEM} # # Expected uname -s output: # # AIX AIX # BSD/OS BSD/OS # FreeBSD FreeBSD # HP-UX HP-UX # IRIX IRIX # Linux Linux # GNU/kFreeBSD GNU/kFreeBSD # NetBSD NetBSD # OpenBSD OpenBSD # OFS/1 (Digital Unix) OSF1 # SCO OpenServer 5 SCO_SV # SCO UnixWare 7 UnixWare # SCO UnixWare (pre release 7) UNIX_SV # SCO XENIX Xenix # Solaris SunOS # SunOS SunOS # Tru64 Tru64 # Ultrix ULTRIX # cygwin CYGWIN_NT-5.1 # MacOSX Darwin # find out on which system cmake runs if(CMAKE_HOST_UNIX) find_program(CMAKE_UNAME uname /bin /usr/bin /usr/local/bin ) if(CMAKE_UNAME) exec_program(uname ARGS -s OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_NAME) exec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION) if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*") exec_program(uname ARGS -m OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR RETURN_VALUE val) elseif(CMAKE_HOST_SYSTEM_NAME MATCHES "OpenBSD") exec_program(arch ARGS -s OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR RETURN_VALUE val) else() exec_program(uname ARGS -p OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR RETURN_VALUE val) if("${val}" GREATER 0) exec_program(uname ARGS -m OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR RETURN_VALUE val) endif() endif() # check the return of the last uname -m or -p if("${val}" GREATER 0) set(CMAKE_HOST_SYSTEM_PROCESSOR "unknown") endif() set(CMAKE_UNAME ${CMAKE_UNAME} CACHE INTERNAL "uname command") # processor may have double quote in the name, and that needs to be removed string(REGEX REPLACE "\"" "" CMAKE_HOST_SYSTEM_PROCESSOR "${CMAKE_HOST_SYSTEM_PROCESSOR}") string(REGEX REPLACE "/" "_" CMAKE_HOST_SYSTEM_PROCESSOR "${CMAKE_HOST_SYSTEM_PROCESSOR}") endif() else() if(CMAKE_HOST_WIN32) set (CMAKE_HOST_SYSTEM_NAME "Windows") if (DEFINED ENV{PROCESSOR_ARCHITEW6432}) set (CMAKE_HOST_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITEW6432}") else() set (CMAKE_HOST_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITECTURE}") endif() endif() endif() # if a toolchain file is used, the user wants to cross compile. # in this case read the toolchain file and keep the CMAKE_HOST_SYSTEM_* # variables around so they can be used in CMakeLists.txt. # In all other cases, the host and target platform are the same. if(CMAKE_TOOLCHAIN_FILE) # at first try to load it as path relative to the directory from which cmake has been run include("${CMAKE_BINARY_DIR}/${CMAKE_TOOLCHAIN_FILE}" OPTIONAL RESULT_VARIABLE _INCLUDED_TOOLCHAIN_FILE) if(NOT _INCLUDED_TOOLCHAIN_FILE) # if the file isn't found there, check the default locations include("${CMAKE_TOOLCHAIN_FILE}" OPTIONAL RESULT_VARIABLE _INCLUDED_TOOLCHAIN_FILE) endif() if(_INCLUDED_TOOLCHAIN_FILE) set(CMAKE_TOOLCHAIN_FILE "${_INCLUDED_TOOLCHAIN_FILE}" CACHE FILEPATH "The CMake toolchain file" FORCE) else() message(FATAL_ERROR "Could not find toolchain file: ${CMAKE_TOOLCHAIN_FILE}") set(CMAKE_TOOLCHAIN_FILE "NOTFOUND" CACHE FILEPATH "The CMake toolchain file" FORCE) endif() endif() # if CMAKE_SYSTEM_NAME is here already set, either it comes from a toolchain file # or it was set via -DCMAKE_SYSTEM_NAME=... # if that's the case, assume we are crosscompiling if(CMAKE_SYSTEM_NAME) if(NOT DEFINED CMAKE_CROSSCOMPILING) set(CMAKE_CROSSCOMPILING TRUE) endif() set(PRESET_CMAKE_SYSTEM_NAME TRUE) elseif(CMAKE_VS_WINCE_VERSION) set(CMAKE_SYSTEM_NAME "WindowsCE") set(CMAKE_SYSTEM_VERSION "${CMAKE_VS_WINCE_VERSION}") set(CMAKE_SYSTEM_PROCESSOR "${MSVC_C_ARCHITECTURE_ID}") set(CMAKE_CROSSCOMPILING TRUE) set(PRESET_CMAKE_SYSTEM_NAME TRUE) else() set(CMAKE_SYSTEM_NAME "${CMAKE_HOST_SYSTEM_NAME}") set(CMAKE_SYSTEM_VERSION "${CMAKE_HOST_SYSTEM_VERSION}") set(CMAKE_SYSTEM_PROCESSOR "${CMAKE_HOST_SYSTEM_PROCESSOR}") set(CMAKE_CROSSCOMPILING FALSE) set(PRESET_CMAKE_SYSTEM_NAME FALSE) endif() macro(ADJUST_CMAKE_SYSTEM_VARIABLES _PREFIX) if(NOT ${_PREFIX}_NAME) set(${_PREFIX}_NAME "UnknownOS") endif() # fix for BSD/OS , remove the / if(${_PREFIX}_NAME MATCHES BSD.OS) set(${_PREFIX}_NAME BSDOS) endif() # fix for GNU/kFreeBSD, remove the GNU/ if(${_PREFIX}_NAME MATCHES kFreeBSD) set(${_PREFIX}_NAME kFreeBSD) endif() # fix for CYGWIN which has windows version in it if(${_PREFIX}_NAME MATCHES CYGWIN) set(${_PREFIX}_NAME CYGWIN) endif() # set CMAKE_SYSTEM to the CMAKE_SYSTEM_NAME set(${_PREFIX} ${${_PREFIX}_NAME}) # if there is a CMAKE_SYSTEM_VERSION then add a -${CMAKE_SYSTEM_VERSION} if(${_PREFIX}_VERSION) set(${_PREFIX} ${${_PREFIX}}-${${_PREFIX}_VERSION}) endif() endmacro() ADJUST_CMAKE_SYSTEM_VARIABLES(CMAKE_SYSTEM) ADJUST_CMAKE_SYSTEM_VARIABLES(CMAKE_HOST_SYSTEM) # this file is also executed from cpack, then we don't need to generate these files # in this case there is no CMAKE_BINARY_DIR if(CMAKE_BINARY_DIR) # write entry to the log file if(PRESET_CMAKE_SYSTEM_NAME) file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "The target system is: ${CMAKE_SYSTEM_NAME} - ${CMAKE_SYSTEM_VERSION} - ${CMAKE_SYSTEM_PROCESSOR}\n") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "The host system is: ${CMAKE_HOST_SYSTEM_NAME} - ${CMAKE_HOST_SYSTEM_VERSION} - ${CMAKE_HOST_SYSTEM_PROCESSOR}\n") else() file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "The system is: ${CMAKE_SYSTEM_NAME} - ${CMAKE_SYSTEM_VERSION} - ${CMAKE_SYSTEM_PROCESSOR}\n") endif() # if a toolchain file is used, it needs to be included in the configured file, # so settings done there are also available if they don't go in the cache and in try_compile() set(INCLUDE_CMAKE_TOOLCHAIN_FILE_IF_REQUIRED) if(DEFINED CMAKE_TOOLCHAIN_FILE) set(INCLUDE_CMAKE_TOOLCHAIN_FILE_IF_REQUIRED "include(\"${CMAKE_TOOLCHAIN_FILE}\")") endif() # configure variables set in this file for fast reload, the template file is defined at the top of this file configure_file(${CMAKE_ROOT}/Modules/CMakeSystem.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeSystem.cmake IMMEDIATE @ONLY) endif() cmake-2.8.12.2/Modules/CMakeDetermineVSServicePack.cmake000644 000765 000024 00000015146 12266011634 023465 0ustar00kitwarestaff000000 000000 # - Determine the Visual Studio service pack of the 'cl' in use. # The functionality of this module has been superseded by the platform # variable CMAKE__COMPILER_VERSION that contains the compiler version # number. # # Usage: # if(MSVC) # include(CMakeDetermineVSServicePack) # DetermineVSServicePack( my_service_pack ) # if( my_service_pack ) # message(STATUS "Detected: ${my_service_pack}") # endif() # endif() # Function DetermineVSServicePack sets the given variable to one of the # following values or an empty string if unknown: # vc80, vc80sp1 # vc90, vc90sp1 # vc100, vc100sp1 # vc110, vc110sp1, vc110sp2 #============================================================================= # Copyright 2009-2013 Kitware, Inc. # Copyright 2009-2010 Philip Lowman # Copyright 2010-2011 Aaron C. meadows # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # [INTERNAL] # Please do not call this function directly function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version) if (${_cl_version} VERSION_EQUAL "14.00.50727.42") set(_version "vc80") elseif(${_cl_version} VERSION_EQUAL "14.00.50727.762") set(_version "vc80sp1") elseif(${_cl_version} VERSION_EQUAL "15.00.21022.08") set(_version "vc90") elseif(${_cl_version} VERSION_EQUAL "15.00.30729.01") set(_version "vc90sp1") elseif(${_cl_version} VERSION_EQUAL "16.00.30319.01") set(_version "vc100") elseif(${_cl_version} VERSION_EQUAL "16.00.40219.01") set(_version "vc100sp1") elseif(${_cl_version} VERSION_EQUAL "17.00.50727.1") set(_version "vc110") elseif(${_cl_version} VERSION_EQUAL "17.00.51106.1") set(_version "vc110sp1") elseif(${_cl_version} VERSION_EQUAL "17.00.60315.1") set(_version "vc110sp2") elseif(${_cl_version} VERSION_EQUAL "17.00.60610.1") set(_version "vc110sp3") else() set(_version "") endif() set(${_OUT_VAR} ${_version} PARENT_SCOPE) endfunction() ############################################################ # [INTERNAL] # Please do not call this function directly function(_DetermineVSServicePack_FastCheckVersionWithCompiler _SUCCESS_VAR _VERSION_VAR) if(EXISTS ${CMAKE_CXX_COMPILER}) execute_process( COMMAND ${CMAKE_CXX_COMPILER} /? ERROR_VARIABLE _output OUTPUT_QUIET ) string(REGEX MATCH "Compiler Version [0-9]+.[0-9]+.[0-9]+.[0-9]+" _cl_version "${_output}") if(_cl_version) string(REGEX MATCHALL "[0-9]+" _cl_version_list "${_cl_version}") list(GET _cl_version_list 0 _major) list(GET _cl_version_list 1 _minor) list(GET _cl_version_list 2 _patch) list(GET _cl_version_list 3 _tweak) if("${_major}${_minor}" STREQUAL "${MSVC_VERSION}") set(_cl_version ${_major}.${_minor}.${_patch}.${_tweak}) else() unset(_cl_version) endif() endif() if(_cl_version) set(${_SUCCESS_VAR} true PARENT_SCOPE) set(${_VERSION_VAR} ${_cl_version} PARENT_SCOPE) endif() endif() endfunction() ############################################################ # [INTERNAL] # Please do not call this function directly function(_DetermineVSServicePack_CheckVersionWithTryCompile _SUCCESS_VAR _VERSION_VAR) file(WRITE "${CMAKE_BINARY_DIR}/return0.cc" "int main() { return 0; }\n") try_compile( _CompileResult "${CMAKE_BINARY_DIR}" "${CMAKE_BINARY_DIR}/return0.cc" OUTPUT_VARIABLE _output COPY_FILE "${CMAKE_BINARY_DIR}/return0.cc") file(REMOVE "${CMAKE_BINARY_DIR}/return0.cc") string(REGEX MATCH "Compiler Version [0-9]+.[0-9]+.[0-9]+.[0-9]+" _cl_version "${_output}") if(_cl_version) string(REGEX MATCHALL "[0-9]+" _cl_version_list "${_cl_version}") list(GET _cl_version_list 0 _major) list(GET _cl_version_list 1 _minor) list(GET _cl_version_list 2 _patch) list(GET _cl_version_list 3 _tweak) set(${_SUCCESS_VAR} true PARENT_SCOPE) set(${_VERSION_VAR} ${_major}.${_minor}.${_patch}.${_tweak} PARENT_SCOPE) endif() endfunction() ############################################################ # [INTERNAL] # Please do not call this function directly function(_DetermineVSServicePack_CheckVersionWithTryRun _SUCCESS_VAR _VERSION_VAR) file(WRITE "${CMAKE_BINARY_DIR}/return0.cc" "#include \n\nconst unsigned int CompilerVersion=_MSC_FULL_VER;\n\nint main(int argc, char* argv[])\n{\n int M( CompilerVersion/10000000);\n int m((CompilerVersion%10000000)/100000);\n int b(CompilerVersion%100000);\n\n printf(\"%d.%02d.%05d.01\",M,m,b);\n return 0;\n}\n") try_run( _RunResult _CompileResult "${CMAKE_BINARY_DIR}" "${CMAKE_BINARY_DIR}/return0.cc" RUN_OUTPUT_VARIABLE _runoutput ) file(REMOVE "${CMAKE_BINARY_DIR}/return0.cc") string(REGEX MATCH "[0-9]+.[0-9]+.[0-9]+.[0-9]+" _cl_version "${_runoutput}") if(_cl_version) set(${_SUCCESS_VAR} true PARENT_SCOPE) set(${_VERSION_VAR} ${_cl_version} PARENT_SCOPE) endif() endfunction() # # A function to call to determine the Visual Studio service pack # in use. See documentation above. function(DetermineVSServicePack _pack) if(NOT DETERMINED_VS_SERVICE_PACK OR NOT ${_pack}) _DetermineVSServicePack_FastCheckVersionWithCompiler(DETERMINED_VS_SERVICE_PACK _cl_version) if(NOT DETERMINED_VS_SERVICE_PACK) _DetermineVSServicePack_CheckVersionWithTryCompile(DETERMINED_VS_SERVICE_PACK _cl_version) if(NOT DETERMINED_VS_SERVICE_PACK) _DetermineVSServicePack_CheckVersionWithTryRun(DETERMINED_VS_SERVICE_PACK _cl_version) endif() endif() if(DETERMINED_VS_SERVICE_PACK) if(_cl_version) # Call helper function to determine VS version _DetermineVSServicePackFromCompiler(_sp "${_cl_version}") if(_sp) set(${_pack} ${_sp} CACHE INTERNAL "The Visual Studio Release with Service Pack") endif() endif() endif() endif() endfunction() cmake-2.8.12.2/Modules/CMakeExpandImportedTargets.cmake000644 000765 000024 00000013420 12266011634 023426 0ustar00kitwarestaff000000 000000 # CMAKE_EXPAND_IMPORTED_TARGETS( LIBRARIES lib1 lib2...libN # [CONFIGURATION ] ) # # CMAKE_EXPAND_IMPORTED_TARGETS() takes a list of libraries and replaces # all imported targets contained in this list with their actual file paths # of the referenced libraries on disk, including the libraries from their # link interfaces. # If a CONFIGURATION is given, it uses the respective configuration of the # imported targets if it exists. If no CONFIGURATION is given, it uses # the first configuration from ${CMAKE_CONFIGURATION_TYPES} if set, otherwise # ${CMAKE_BUILD_TYPE}. # This macro is used by all Check*.cmake files which use # try_compile() or try_run() and support CMAKE_REQUIRED_LIBRARIES , so that # these checks support imported targets in CMAKE_REQUIRED_LIBRARIES: # cmake_expand_imported_targets(expandedLibs LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} # CONFIGURATION "${CMAKE_TRY_COMPILE_CONFIGURATION}" ) #============================================================================= # Copyright 2012 Kitware, Inc. # Copyright 2009-2012 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake) function(CMAKE_EXPAND_IMPORTED_TARGETS _RESULT ) set(options ) set(oneValueArgs CONFIGURATION ) set(multiValueArgs LIBRARIES ) cmake_parse_arguments(CEIT "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(CEIT_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to CMAKE_EXPAND_IMPORTED_TARGETS(): \"${CEIT_UNPARSED_ARGUMENTS}\"") endif() if(NOT CEIT_CONFIGURATION) if(CMAKE_CONFIGURATION_TYPES) list(GET CMAKE_CONFIGURATION_TYPES 0 CEIT_CONFIGURATION) else() set(CEIT_CONFIGURATION ${CMAKE_BUILD_TYPE}) endif() endif() # handle imported library targets set(_CCSR_REQ_LIBS ${CEIT_LIBRARIES}) set(_CHECK_FOR_IMPORTED_TARGETS TRUE) set(_CCSR_LOOP_COUNTER 0) while(_CHECK_FOR_IMPORTED_TARGETS) math(EXPR _CCSR_LOOP_COUNTER "${_CCSR_LOOP_COUNTER} + 1 ") set(_CCSR_NEW_REQ_LIBS ) set(_CHECK_FOR_IMPORTED_TARGETS FALSE) foreach(_CURRENT_LIB ${_CCSR_REQ_LIBS}) get_target_property(_importedConfigs "${_CURRENT_LIB}" IMPORTED_CONFIGURATIONS) if (_importedConfigs) # message(STATUS "Detected imported target ${_CURRENT_LIB}") # Ok, so this is an imported target. # First we get the imported configurations. # Then we get the location of the actual library on disk of the first configuration. # then we'll get its link interface libraries property, # iterate through it and replace all imported targets we find there # with there actual location. # guard against infinite loop: abort after 100 iterations ( 100 is arbitrary chosen) if ("${_CCSR_LOOP_COUNTER}" LESS 100) set(_CHECK_FOR_IMPORTED_TARGETS TRUE) # else () # message(STATUS "********* aborting loop, counter : ${_CCSR_LOOP_COUNTER}") endif () # if one of the imported configurations equals ${CMAKE_TRY_COMPILE_CONFIGURATION}, # use it, otherwise simply use the first one: list(FIND _importedConfigs "${CEIT_CONFIGURATION}" _configIndexToUse) if("${_configIndexToUse}" EQUAL -1) set(_configIndexToUse 0) endif() list(GET _importedConfigs ${_configIndexToUse} _importedConfigToUse) get_target_property(_importedLocation "${_CURRENT_LIB}" IMPORTED_LOCATION_${_importedConfigToUse}) get_target_property(_linkInterfaceLibs "${_CURRENT_LIB}" IMPORTED_LINK_INTERFACE_LIBRARIES_${_importedConfigToUse} ) list(APPEND _CCSR_NEW_REQ_LIBS "${_importedLocation}") # message(STATUS "Appending lib ${_CURRENT_LIB} as ${_importedLocation}") if(_linkInterfaceLibs) foreach(_currentLinkInterfaceLib ${_linkInterfaceLibs}) # message(STATUS "Appending link interface lib ${_currentLinkInterfaceLib}") if(_currentLinkInterfaceLib) list(APPEND _CCSR_NEW_REQ_LIBS "${_currentLinkInterfaceLib}" ) endif() endforeach() endif() else() # "Normal" libraries are just used as they are. list(APPEND _CCSR_NEW_REQ_LIBS "${_CURRENT_LIB}" ) # message(STATUS "Appending lib directly: ${_CURRENT_LIB}") endif() endforeach() set(_CCSR_REQ_LIBS ${_CCSR_NEW_REQ_LIBS} ) endwhile() # Finally we iterate once more over all libraries. This loop only removes # all remaining imported target names (there shouldn't be any left anyway). set(_CCSR_NEW_REQ_LIBS ) foreach(_CURRENT_LIB ${_CCSR_REQ_LIBS}) get_target_property(_importedConfigs "${_CURRENT_LIB}" IMPORTED_CONFIGURATIONS) if (NOT _importedConfigs) list(APPEND _CCSR_NEW_REQ_LIBS "${_CURRENT_LIB}" ) # message(STATUS "final: appending ${_CURRENT_LIB}") else () # message(STATUS "final: skipping ${_CURRENT_LIB}") endif () endforeach() # message(STATUS "setting -${_RESULT}- to -${_CCSR_NEW_REQ_LIBS}-") set(${_RESULT} "${_CCSR_NEW_REQ_LIBS}" PARENT_SCOPE) endfunction() cmake-2.8.12.2/Modules/CMakeExportBuildSettings.cmake000644 000765 000024 00000003252 12266011634 023135 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is purposely no longer documented. It does nothing useful. if(NOT "${CMAKE_MINIMUM_REQUIRED_VERSION}" VERSION_LESS 2.7) message(FATAL_ERROR "The functionality of this module has been dropped as of CMake 2.8. " "It was deemed harmful (confusing users by changing their compiler). " "Please remove calls to the CMAKE_EXPORT_BUILD_SETTINGS macro and " "stop including this module. " "If this project generates any files for use by external projects, " "remove any use of the CMakeImportBuildSettings module from them.") endif() # This macro used to store build settings of a project in a file to be # loaded by another project using CMAKE_IMPORT_BUILD_SETTINGS. Now it # creates a file that refuses to load (with comment explaining why). macro(CMAKE_EXPORT_BUILD_SETTINGS SETTINGS_FILE) if(${SETTINGS_FILE} MATCHES ".+") configure_file(${CMAKE_ROOT}/Modules/CMakeBuildSettings.cmake.in ${SETTINGS_FILE} @ONLY IMMEDIATE) else() message(SEND_ERROR "CMAKE_EXPORT_BUILD_SETTINGS called with no argument.") endif() endmacro() cmake-2.8.12.2/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake000644 000765 000024 00000011705 12266011634 031355 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is included by CMakeFindEclipseCDT4.cmake and CMakeFindCodeBlocks.cmake # The Eclipse and the CodeBlocks generators need to know the standard include path # so that they can find the headers at runtime and parsing etc. works better # This is done here by actually running gcc with the options so it prints its # system include directories, which are parsed then and stored in the cache. macro(_DETERMINE_GCC_SYSTEM_INCLUDE_DIRS _lang _resultIncludeDirs _resultDefines) set(${_resultIncludeDirs}) set(_gccOutput) file(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/dummy" "\n" ) if (${_lang} STREQUAL "c++") set(_compilerExecutable "${CMAKE_CXX_COMPILER}") set(_arg1 "${CMAKE_CXX_COMPILER_ARG1}") else () set(_compilerExecutable "${CMAKE_C_COMPILER}") set(_arg1 "${CMAKE_C_COMPILER_ARG1}") endif () execute_process(COMMAND ${_compilerExecutable} ${_arg1} -v -E -x ${_lang} -dD dummy WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeFiles ERROR_VARIABLE _gccOutput OUTPUT_VARIABLE _gccStdout ) file(REMOVE "${CMAKE_BINARY_DIR}/CMakeFiles/dummy") # First find the system include dirs: if( "${_gccOutput}" MATCHES "> search starts here[^\n]+\n *(.+ *\n) *End of (search) list" ) # split the output into lines and then remove leading and trailing spaces from each of them: string(REGEX MATCHALL "[^\n]+\n" _includeLines "${CMAKE_MATCH_1}") foreach(nextLine ${_includeLines}) # on OSX, gcc says things like this: "/System/Library/Frameworks (framework directory)", strip the last part string(REGEX REPLACE "\\(framework directory\\)" "" nextLineNoFramework "${nextLine}") # strip spaces at the beginning and the end string(STRIP "${nextLineNoFramework}" _includePath) list(APPEND ${_resultIncludeDirs} "${_includePath}") endforeach() endif() # now find the builtin macros: string(REGEX MATCHALL "#define[^\n]+\n" _defineLines "${_gccStdout}") # A few example lines which the regexp below has to match properly: # #define MAX(a,b) ((a) > (b) ? (a) : (b)) # #define __fastcall __attribute__((__fastcall__)) # #define FOO (23) # #define __UINTMAX_TYPE__ long long unsigned int # #define __UINTMAX_TYPE__ long long unsigned int # #define __i386__ 1 foreach(nextLine ${_defineLines}) string(REGEX MATCH "^#define +([A-Za-z_][A-Za-z0-9_]*)(\\([^\\)]+\\))? +(.+) *$" _dummy "${nextLine}") set(_name "${CMAKE_MATCH_1}${CMAKE_MATCH_2}") string(STRIP "${CMAKE_MATCH_3}" _value) #message(STATUS "m1: -${CMAKE_MATCH_1}- m2: -${CMAKE_MATCH_2}- m3: -${CMAKE_MATCH_3}-") list(APPEND ${_resultDefines} "${_name}") if(_value) list(APPEND ${_resultDefines} "${_value}") else() list(APPEND ${_resultDefines} " ") endif() endforeach() endmacro() # Save the current LC_ALL, LC_MESSAGES, and LANG environment variables and set them # to "C" that way GCC's "search starts here" text is in English and we can grok it. set(_orig_lc_all $ENV{LC_ALL}) set(_orig_lc_messages $ENV{LC_MESSAGES}) set(_orig_lang $ENV{LANG}) set(ENV{LC_ALL} C) set(ENV{LC_MESSAGES} C) set(ENV{LANG} C) # Now check for C, works for gcc and Intel compiler at least if (NOT CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS) if ("${CMAKE_C_COMPILER_ID}" MATCHES GNU OR "${CMAKE_C_COMPILER_ID}" MATCHES Intel OR "${CMAKE_C_COMPILER_ID}" MATCHES Clang) _DETERMINE_GCC_SYSTEM_INCLUDE_DIRS(c _dirs _defines) set(CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS "${_dirs}" CACHE INTERNAL "C compiler system include directories") set(CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS "${_defines}" CACHE INTERNAL "C compiler system defined macros") endif () endif () # And now the same for C++ if (NOT CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_INCLUDE_DIRS) if ("${CMAKE_CXX_COMPILER_ID}" MATCHES GNU OR "${CMAKE_CXX_COMPILER_ID}" MATCHES Intel OR "${CMAKE_CXX_COMPILER_ID}" MATCHES Clang) _DETERMINE_GCC_SYSTEM_INCLUDE_DIRS(c++ _dirs _defines) set(CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_INCLUDE_DIRS "${_dirs}" CACHE INTERNAL "CXX compiler system include directories") set(CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_DEFINED_MACROS "${_defines}" CACHE INTERNAL "CXX compiler system defined macros") endif () endif () # Restore original LC_ALL, LC_MESSAGES, and LANG set(ENV{LC_ALL} ${_orig_lc_all}) set(ENV{LC_MESSAGES} ${_orig_lc_messages}) set(ENV{LANG} ${_orig_lang}) cmake-2.8.12.2/Modules/CMakeFindBinUtils.cmake000644 000765 000024 00000005406 12266011634 021510 0ustar00kitwarestaff000000 000000 # search for additional tools required for C/C++ (and other languages ?) # # If the internal cmake variable _CMAKE_TOOLCHAIN_PREFIX is set, this is used # as prefix for the tools (e.g. arm-elf-gcc etc.) # If the cmake variable _CMAKE_TOOLCHAIN_LOCATION is set, the compiler is # searched only there. The other tools are at first searched there, then # also in the default locations. # # Sets the following variables: # CMAKE_AR # CMAKE_RANLIB # CMAKE_LINKER # CMAKE_STRIP # CMAKE_INSTALL_NAME_TOOL # on UNIX, cygwin and mingw #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # if it's the MS C/CXX compiler, search for link if("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC" OR "${CMAKE_C_COMPILER_ID}" MATCHES "MSVC" OR "${CMAKE_GENERATOR}" MATCHES "Visual Studio") find_program(CMAKE_LINKER NAMES link HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) mark_as_advanced(CMAKE_LINKER) # in all other cases search for ar, ranlib, etc. else() find_program(CMAKE_AR NAMES ${_CMAKE_TOOLCHAIN_PREFIX}ar${_CMAKE_TOOLCHAIN_SUFFIX} HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) find_program(CMAKE_RANLIB NAMES ${_CMAKE_TOOLCHAIN_PREFIX}ranlib HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) if(NOT CMAKE_RANLIB) set(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib") endif() find_program(CMAKE_STRIP NAMES ${_CMAKE_TOOLCHAIN_PREFIX}strip${_CMAKE_TOOLCHAIN_SUFFIX} HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) find_program(CMAKE_LINKER NAMES ${_CMAKE_TOOLCHAIN_PREFIX}ld HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) find_program(CMAKE_NM NAMES ${_CMAKE_TOOLCHAIN_PREFIX}nm HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) find_program(CMAKE_OBJDUMP NAMES ${_CMAKE_TOOLCHAIN_PREFIX}objdump HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) find_program(CMAKE_OBJCOPY NAMES ${_CMAKE_TOOLCHAIN_PREFIX}objcopy HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) mark_as_advanced(CMAKE_AR CMAKE_RANLIB CMAKE_STRIP CMAKE_LINKER CMAKE_NM CMAKE_OBJDUMP CMAKE_OBJCOPY) endif() # on Apple there really should be install_name_tool if(APPLE) find_program(CMAKE_INSTALL_NAME_TOOL NAMES install_name_tool HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) if(NOT CMAKE_INSTALL_NAME_TOOL) message(FATAL_ERROR "Could not find install_name_tool, please check your installation.") endif() mark_as_advanced(CMAKE_INSTALL_NAME_TOOL) endif() cmake-2.8.12.2/Modules/CMakeFindCodeBlocks.cmake000644 000765 000024 00000002074 12266011634 021765 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is included in CMakeSystemSpecificInformation.cmake if # the CodeBlocks extra generator has been selected. find_program(CMAKE_CODEBLOCKS_EXECUTABLE NAMES codeblocks DOC "The CodeBlocks executable") if(CMAKE_CODEBLOCKS_EXECUTABLE) set(CMAKE_OPEN_PROJECT_COMMAND "${CMAKE_CODEBLOCKS_EXECUTABLE} " ) endif() # Determine builtin macros and include dirs: include(${CMAKE_CURRENT_LIST_DIR}/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake) cmake-2.8.12.2/Modules/CMakeFindEclipseCDT4.cmake000644 000765 000024 00000011231 12266011634 021753 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is included in CMakeSystemSpecificInformation.cmake if # the Eclipse CDT4 extra generator has been selected. find_program(CMAKE_ECLIPSE_EXECUTABLE NAMES eclipse DOC "The Eclipse executable") function(_FIND_ECLIPSE_VERSION) # This code is in a function so the variables used here have only local scope if(CMAKE_ECLIPSE_EXECUTABLE) # use REALPATH to resolve symlinks (http://public.kitware.com/Bug/view.php?id=13036) get_filename_component(_REALPATH_CMAKE_ECLIPSE_EXECUTABLE "${CMAKE_ECLIPSE_EXECUTABLE}" REALPATH) get_filename_component(_ECLIPSE_DIR "${_REALPATH_CMAKE_ECLIPSE_EXECUTABLE}" PATH) file(GLOB _ECLIPSE_FEATURE_DIR "${_ECLIPSE_DIR}/features/org.eclipse.platform*") if(APPLE AND NOT _ECLIPSE_FEATURE_DIR) file(GLOB _ECLIPSE_FEATURE_DIR "${_ECLIPSE_DIR}/../../../features/org.eclipse.platform*") endif() if("${_ECLIPSE_FEATURE_DIR}" MATCHES ".+org.eclipse.platform_([0-9]+\\.[0-9]+).+") set(_ECLIPSE_VERSION ${CMAKE_MATCH_1}) endif() endif() # Set up a map with the names of the Eclipse releases: set(_ECLIPSE_VERSION_NAME_ "Unknown" ) set(_ECLIPSE_VERSION_NAME_3.2 "Callisto" ) set(_ECLIPSE_VERSION_NAME_3.3 "Europa" ) set(_ECLIPSE_VERSION_NAME_3.4 "Ganymede" ) set(_ECLIPSE_VERSION_NAME_3.5 "Galileo" ) set(_ECLIPSE_VERSION_NAME_3.6 "Helios" ) set(_ECLIPSE_VERSION_NAME_3.7 "Indigo" ) set(_ECLIPSE_VERSION_NAME_4.2 "Juno" ) if(_ECLIPSE_VERSION) message(STATUS "Found Eclipse version ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})") else() set(_ECLIPSE_VERSION "3.6" ) message(STATUS "Could not determine Eclipse version, assuming at least ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}}). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.") endif() set(CMAKE_ECLIPSE_VERSION "${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})" CACHE STRING "The version of Eclipse. If Eclipse has not been found, 3.6 (Helios) is assumed.") set_property(CACHE CMAKE_ECLIPSE_VERSION PROPERTY STRINGS "3.2 (${_ECLIPSE_VERSION_NAME_3.2})" "3.3 (${_ECLIPSE_VERSION_NAME_3.3})" "3.4 (${_ECLIPSE_VERSION_NAME_3.4})" "3.5 (${_ECLIPSE_VERSION_NAME_3.5})" "3.6 (${_ECLIPSE_VERSION_NAME_3.6})" "3.7 (${_ECLIPSE_VERSION_NAME_3.7})" "4.2 (${_ECLIPSE_VERSION_NAME_4.2})" ) endfunction() _FIND_ECLIPSE_VERSION() # Try to find out how many CPUs we have and set the -j argument for make accordingly set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "") include(ProcessorCount) PROCESSORCOUNT(_CMAKE_ECLIPSE_PROCESSOR_COUNT) # Only set -j if we are under UNIX and if the make-tool used actually has "make" in the name # (we may also get here in the future e.g. for ninja) if("${_CMAKE_ECLIPSE_PROCESSOR_COUNT}" GREATER 1 AND UNIX AND "${CMAKE_MAKE_PROGRAM}" MATCHES make) set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "-j${_CMAKE_ECLIPSE_PROCESSOR_COUNT}") endif() # This variable is used by the Eclipse generator and appended to the make invocation commands. set(CMAKE_ECLIPSE_MAKE_ARGUMENTS "${_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS}" CACHE STRING "Additional command line arguments when Eclipse invokes make. Enter e.g. -j to get parallel builds") set(CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES TRUE CACHE BOOL "If disabled, CMake will not generate linked resource to the subprojects and to the source files within targets") # This variable is used by the Eclipse generator in out-of-source builds only. set(CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT FALSE CACHE BOOL "If enabled, CMake will generate a source project for Eclipse in CMAKE_SOURCE_DIR") mark_as_advanced(CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT) # Determine builtin macros and include dirs: include(${CMAKE_CURRENT_LIST_DIR}/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake) cmake-2.8.12.2/Modules/CMakeFindFrameworks.cmake000644 000765 000024 00000002237 12266011634 022076 0ustar00kitwarestaff000000 000000 # - helper module to find OSX frameworks #============================================================================= # Copyright 2003-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT CMAKE_FIND_FRAMEWORKS_INCLUDED) set(CMAKE_FIND_FRAMEWORKS_INCLUDED 1) macro(CMAKE_FIND_FRAMEWORKS fwk) set(${fwk}_FRAMEWORKS) if(APPLE) foreach(dir ~/Library/Frameworks/${fwk}.framework /Library/Frameworks/${fwk}.framework /System/Library/Frameworks/${fwk}.framework /Network/Library/Frameworks/${fwk}.framework) if(EXISTS ${dir}) set(${fwk}_FRAMEWORKS ${${fwk}_FRAMEWORKS} ${dir}) endif() endforeach() endif() endmacro() endif() cmake-2.8.12.2/Modules/CMakeFindKDevelop3.cmake000644 000765 000024 00000001646 12266011634 021555 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is included in CMakeSystemSpecificInformation.cmake if # the KDevelop3 extra generator has been selected. find_program(CMAKE_KDEVELOP3_EXECUTABLE NAMES kdevelop DOC "The KDevelop3 executable") if(CMAKE_KDEVELOP3_EXECUTABLE) set(CMAKE_OPEN_PROJECT_COMMAND "${CMAKE_KDEVELOP3_EXECUTABLE} " ) endif() cmake-2.8.12.2/Modules/CMakeFindPackageMode.cmake000644 000765 000024 00000014315 12266011634 022116 0ustar00kitwarestaff000000 000000 # This file is executed by cmake when invoked with --find-package. # It expects that the following variables are set using -D: # NAME = name of the package # COMPILER_ID = the CMake compiler ID for which the result is, i.e. GNU/Intel/Clang/MSVC, etc. # LANGUAGE = language for which the result will be used, i.e. C/CXX/Fortan/ASM # MODE = EXIST : only check for existence of the given package # COMPILE : print the flags needed for compiling an object file which uses the given package # LINK : print the flags needed for linking when using the given package # QUIET = if TRUE, don't print anything #============================================================================= # Copyright 2006-2011 Alexander Neundorf, # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT NAME) message(FATAL_ERROR "Name of the package to be searched not specified. Set the CMake variable NAME, e.g. -DNAME=JPEG .") endif() if(NOT COMPILER_ID) message(FATAL_ERROR "COMPILER_ID argument not specified. In doubt, use GNU.") endif() if(NOT LANGUAGE) message(FATAL_ERROR "LANGUAGE argument not specified. Use C, CXX or Fortran.") endif() if(NOT MODE) message(FATAL_ERROR "MODE argument not specified. Use either EXIST, COMPILE or LINK.") endif() # require the current version. If we don't do this, Platforms/CYGWIN.cmake complains because # it doesn't know whether it should set WIN32 or not: cmake_minimum_required(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} ) macro(ENABLE_LANGUAGE) # disable the enable_language() command, otherwise --find-package breaks on Windows. # On Windows, enable_language(RC) is called in the platform files unconditionally. # But in --find-package mode, we don't want (and can't) enable any language. endmacro() set(CMAKE_PLATFORM_INFO_DIR ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}) include(CMakeDetermineSystem) # short-cut some tests on Darwin, see Darwin-GNU.cmake: if("${CMAKE_SYSTEM_NAME}" MATCHES Darwin AND "${COMPILER_ID}" MATCHES GNU) set(CMAKE_${LANGUAGE}_SYSROOT_FLAG "") set(CMAKE_${LANGUAGE}_OSX_DEPLOYMENT_TARGET_FLAG "") endif() # Also load the system specific file, which sets up e.g. the search paths. # This makes the FIND_XXX() calls work much better include(CMakeSystemSpecificInformation) if(UNIX) # try to guess whether we have a 64bit system, if it has not been set # from the outside if(NOT CMAKE_SIZEOF_VOID_P) set(CMAKE_SIZEOF_VOID_P 4) if(EXISTS /usr/lib64) set(CMAKE_SIZEOF_VOID_P 8) else() # use the file utility to check whether itself is 64 bit: find_program(FILE_EXECUTABLE file) if(FILE_EXECUTABLE) get_filename_component(FILE_ABSPATH "${FILE_EXECUTABLE}" ABSOLUTE) execute_process(COMMAND "${FILE_ABSPATH}" "${FILE_ABSPATH}" OUTPUT_VARIABLE fileOutput ERROR_QUIET) if("${fileOutput}" MATCHES "64-bit") set(CMAKE_SIZEOF_VOID_P 8) endif() endif() endif() endif() # guess Debian multiarch if it has not been set: if(EXISTS /etc/debian_version) if(NOT CMAKE_${LANGUAGE}_LANGUAGE_ARCHITECTURE ) file(GLOB filesInLib RELATIVE /lib /lib/*-linux-gnu* ) foreach(file ${filesInLib}) if("${file}" MATCHES "${CMAKE_LIBRARY_ARCHITECTURE_REGEX}") set(CMAKE_${LANGUAGE}_LANGUAGE_ARCHITECTURE ${file}) break() endif() endforeach() endif() endif() endif() set(CMAKE_${LANGUAGE}_COMPILER "dummy") set(CMAKE_${LANGUAGE}_COMPILER_ID "${COMPILER_ID}") include(CMake${LANGUAGE}Information) function(set_compile_flags_var _packageName) string(TOUPPER "${_packageName}" PACKAGE_NAME) # Check the following variables: # FOO_INCLUDE_DIRS # Foo_INCLUDE_DIRS # FOO_INCLUDES # Foo_INCLUDES # FOO_INCLUDE_DIR # Foo_INCLUDE_DIR set(includes) if(DEFINED ${_packageName}_INCLUDE_DIRS) set(includes ${_packageName}_INCLUDE_DIRS) elseif(DEFINED ${PACKAGE_NAME}_INCLUDE_DIRS) set(includes ${PACKAGE_NAME}_INCLUDE_DIRS) elseif(DEFINED ${_packageName}_INCLUDES) set(includes ${_packageName}_INCLUDES) elseif(DEFINED ${PACKAGE_NAME}_INCLUDES) set(includes ${PACKAGE_NAME}_INCLUDES) elseif(DEFINED ${_packageName}_INCLUDE_DIR) set(includes ${_packageName}_INCLUDE_DIR) elseif(DEFINED ${PACKAGE_NAME}_INCLUDE_DIR) set(includes ${PACKAGE_NAME}_INCLUDE_DIR) endif() set(PACKAGE_INCLUDE_DIRS "${${includes}}" PARENT_SCOPE) # Check the following variables: # FOO_DEFINITIONS # Foo_DEFINITIONS set(definitions) if(DEFINED ${_packageName}_DEFINITIONS) set(definitions ${_packageName}_DEFINITIONS) elseif(DEFINED ${PACKAGE_NAME}_DEFINITIONS) set(definitions ${PACKAGE_NAME}_DEFINITIONS) endif() set(PACKAGE_DEFINITIONS "${${definitions}}" ) endfunction() function(set_link_flags_var _packageName) string(TOUPPER "${_packageName}" PACKAGE_NAME) # Check the following variables: # FOO_LIBRARIES # Foo_LIBRARIES # FOO_LIBS # Foo_LIBS set(libs) if(DEFINED ${_packageName}_LIBRARIES) set(libs ${_packageName}_LIBRARIES) elseif(DEFINED ${PACKAGE_NAME}_LIBRARIES) set(libs ${PACKAGE_NAME}_LIBRARIES) elseif(DEFINED ${_packageName}_LIBS) set(libs ${_packageName}_LIBS) elseif(DEFINED ${PACKAGE_NAME}_LIBS) set(libs ${PACKAGE_NAME}_LIBS) endif() set(PACKAGE_LIBRARIES "${${libs}}" PARENT_SCOPE ) endfunction() find_package("${NAME}" QUIET) set(PACKAGE_FOUND FALSE) string(TOUPPER "${NAME}" UPPERCASE_NAME) if(${NAME}_FOUND OR ${UPPERCASE_NAME}_FOUND) set(PACKAGE_FOUND TRUE) if("${MODE}" STREQUAL "EXIST") # do nothing elseif("${MODE}" STREQUAL "COMPILE") set_compile_flags_var(${NAME}) elseif("${MODE}" STREQUAL "LINK") set_link_flags_var(${NAME}) else() message(FATAL_ERROR "Invalid mode argument ${MODE} given.") endif() endif() set(PACKAGE_QUIET ${SILENT} ) cmake-2.8.12.2/Modules/CMakeFindWMake.cmake000644 000765 000024 00000001341 12266011634 020755 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set (CMAKE_MAKE_PROGRAM "wmake" CACHE STRING "Program used to build from makefiles.") mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakeFindXCode.cmake000644 000765 000024 00000001320 12266011634 020750 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM NAMES xcodebuild PATHS /usr/bin ) mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakeForceCompiler.cmake000644 000765 000024 00000005755 12266011634 021716 0ustar00kitwarestaff000000 000000 # This module defines macros intended for use by cross-compiling # toolchain files when CMake is not able to automatically detect the # compiler identification. # # Macro CMAKE_FORCE_C_COMPILER has the following signature: # CMAKE_FORCE_C_COMPILER( ) # It sets CMAKE_C_COMPILER to the given compiler and the cmake # internal variable CMAKE_C_COMPILER_ID to the given compiler-id. # It also bypasses the check for working compiler and basic compiler # information tests. # # Macro CMAKE_FORCE_CXX_COMPILER has the following signature: # CMAKE_FORCE_CXX_COMPILER( ) # It sets CMAKE_CXX_COMPILER to the given compiler and the cmake # internal variable CMAKE_CXX_COMPILER_ID to the given compiler-id. # It also bypasses the check for working compiler and basic compiler # information tests. # # Macro CMAKE_FORCE_Fortran_COMPILER has the following signature: # CMAKE_FORCE_Fortran_COMPILER( ) # It sets CMAKE_Fortran_COMPILER to the given compiler and the cmake # internal variable CMAKE_Fortran_COMPILER_ID to the given compiler-id. # It also bypasses the check for working compiler and basic compiler # information tests. # # So a simple toolchain file could look like this: # include (CMakeForceCompiler) # set(CMAKE_SYSTEM_NAME Generic) # CMAKE_FORCE_C_COMPILER (chc12 MetrowerksHicross) # CMAKE_FORCE_CXX_COMPILER (chc12 MetrowerksHicross) #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CMAKE_FORCE_C_COMPILER compiler id) set(CMAKE_C_COMPILER "${compiler}") set(CMAKE_C_COMPILER_ID_RUN TRUE) set(CMAKE_C_COMPILER_ID ${id}) set(CMAKE_C_COMPILER_FORCED TRUE) # Set old compiler id variables. if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU") set(CMAKE_COMPILER_IS_GNUCC 1) endif() endmacro() macro(CMAKE_FORCE_CXX_COMPILER compiler id) set(CMAKE_CXX_COMPILER "${compiler}") set(CMAKE_CXX_COMPILER_ID_RUN TRUE) set(CMAKE_CXX_COMPILER_ID ${id}) set(CMAKE_CXX_COMPILER_FORCED TRUE) # Set old compiler id variables. if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") set(CMAKE_COMPILER_IS_GNUCXX 1) endif() endmacro() macro(CMAKE_FORCE_Fortran_COMPILER compiler id) set(CMAKE_Fortran_COMPILER "${compiler}") set(CMAKE_Fortran_COMPILER_ID_RUN TRUE) set(CMAKE_Fortran_COMPILER_ID ${id}) set(CMAKE_Fortran_COMPILER_FORCED TRUE) # Set old compiler id variables. if("${CMAKE_Fortran_COMPILER_ID}" MATCHES "GNU") set(CMAKE_COMPILER_IS_GNUG77 1) endif() endmacro() cmake-2.8.12.2/Modules/CMakeFortranCompiler.cmake.in000644 000765 000024 00000004130 12266011634 022662 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@") set(CMAKE_Fortran_COMPILER_ARG1 "@CMAKE_Fortran_COMPILER_ARG1@") set(CMAKE_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@") set(CMAKE_Fortran_PLATFORM_ID "@CMAKE_Fortran_PLATFORM_ID@") @SET_MSVC_Fortran_ARCHITECTURE_ID@ set(CMAKE_AR "@CMAKE_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") set(CMAKE_COMPILER_IS_GNUG77 @CMAKE_COMPILER_IS_GNUG77@) set(CMAKE_Fortran_COMPILER_LOADED 1) set(CMAKE_Fortran_COMPILER_WORKS @CMAKE_Fortran_COMPILER_WORKS@) set(CMAKE_Fortran_ABI_COMPILED @CMAKE_Fortran_ABI_COMPILED@) set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@) set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@) if(CMAKE_COMPILER_IS_CYGWIN) set(CYGWIN 1) set(UNIX 1) endif() set(CMAKE_Fortran_COMPILER_ENV_VAR "FC") set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 @CMAKE_Fortran_COMPILER_SUPPORTS_F90@) if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif() set(CMAKE_Fortran_COMPILER_ID_RUN 1) set(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;F77;f90;F90;for;For;FOR;f95;F95) set(CMAKE_Fortran_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) set(CMAKE_Fortran_LINKER_PREFERENCE 20) if(UNIX) set(CMAKE_Fortran_OUTPUT_EXTENSION .o) else() set(CMAKE_Fortran_OUTPUT_EXTENSION .obj) endif() # Save compiler ABI information. set(CMAKE_Fortran_SIZEOF_DATA_PTR "@CMAKE_Fortran_SIZEOF_DATA_PTR@") set(CMAKE_Fortran_COMPILER_ABI "@CMAKE_Fortran_COMPILER_ABI@") set(CMAKE_Fortran_LIBRARY_ARCHITECTURE "@CMAKE_Fortran_LIBRARY_ARCHITECTURE@") if(CMAKE_Fortran_SIZEOF_DATA_PTR AND NOT CMAKE_SIZEOF_VOID_P) set(CMAKE_SIZEOF_VOID_P "${CMAKE_Fortran_SIZEOF_DATA_PTR}") endif() if(CMAKE_Fortran_COMPILER_ABI) set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_Fortran_COMPILER_ABI}") endif() if(CMAKE_Fortran_LIBRARY_ARCHITECTURE) set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_Fortran_LIBRARY_ARCHITECTURE@") endif() set(CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "@CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES@") set(CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES "@CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES@") set(CMAKE_Fortran_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_Fortran_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@") cmake-2.8.12.2/Modules/CMakeFortranCompilerABI.F000644 000765 000024 00000001777 12266011634 021714 0ustar00kitwarestaff000000 000000 PROGRAM CMakeFortranCompilerABI #if 0 ! Address Size #endif #if defined(_LP64) PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(_M_IA64) PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(_M_X64) PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(_M_AMD64) PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(_ILP32) PRINT *, 'INFO:sizeof_dptr[4]' #elif defined(_M_IX86) PRINT *, 'INFO:sizeof_dptr[4]' #elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 8 PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 4 PRINT *, 'INFO:sizeof_dptr[4]' #endif #if 0 ! Application Binary Interface #endif #if defined(__sgi) && defined(_ABIO32) PRINT *, 'INFO:abi[ELF O32]' #elif defined(__sgi) && defined(_ABIN32) PRINT *, 'INFO:abi[ELF N32]' #elif defined(__sgi) && defined(_ABI64) PRINT *, 'INFO:abi[ELF 64]' #elif defined(__ELF__) PRINT *, 'INFO:abi[ELF]' #endif PRINT *, 'ABI Detection' END cmake-2.8.12.2/Modules/CMakeFortranCompilerId.F.in000644 000765 000024 00000010604 12266011634 022247 0ustar00kitwarestaff000000 000000 PROGRAM CMakeFortranCompilerId #if 0 ! Identify the compiler #endif #if defined(__INTEL_COMPILER) || defined(__ICC) PRINT *, 'INFO:compiler[Intel]' #elif defined(__SUNPRO_F90) || defined(__SUNPRO_F95) PRINT *, 'INFO:compiler[SunPro]' #elif defined(_CRAYFTN) PRINT *, 'INFO:compiler[Cray]' #elif defined(__G95__) PRINT *, 'INFO:compiler[G95]' #elif defined(__PATHSCALE__) PRINT *, 'INFO:compiler[PathScale]' #elif defined(__ABSOFT__) PRINT *, 'INFO:compiler[Absoft]' #elif defined(__GNUC__) PRINT *, 'INFO:compiler[GNU]' #elif defined(__IBMC__) # if defined(__COMPILER_VER__) PRINT *, 'INFO:compiler[zOS]' # elif __IBMC__ >= 800 PRINT *, 'INFO:compiler[XL]' # else PRINT *, 'INFO:compiler[VisualAge]' # endif #elif defined(__PGI) PRINT *, 'INFO:compiler[PGI]' #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) PRINT *, 'INFO:compiler[MIPSpro]' # if 0 ! This compiler is either not known or is too old to define an ! identification macro. Try to identify the platform and guess that ! it is the native compiler. # endif #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) PRINT *, 'INFO:compiler[VisualAge]' #elif defined(__sgi) || defined(__sgi__) || defined(_SGI) PRINT *, 'INFO:compiler[MIPSpro]' #elif defined(__hpux) || defined(__hpux__) PRINT *, 'INFO:compiler[HP]' #elif 1 # if 0 ! The above 'elif 1' instead of 'else' is to work around a bug in the ! SGI preprocessor which produces both the __sgi and else blocks. # endif PRINT *, 'INFO:compiler[]' #endif #if 0 ! Identify the platform #endif #if defined(__linux) || defined(__linux__) || defined(linux) PRINT *, 'INFO:platform[Linux]' #elif defined(__CYGWIN__) PRINT *, 'INFO:platform[Cygwin]' #elif defined(__MINGW32__) PRINT *, 'INFO:platform[MinGW]' #elif defined(__APPLE__) PRINT *, 'INFO:platform[Darwin]' #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) PRINT *, 'INFO:platform[Windows]' #elif defined(__FreeBSD__) || defined(__FreeBSD) PRINT *, 'INFO:platform[FreeBSD]' #elif defined(__NetBSD__) || defined(__NetBSD) PRINT *, 'INFO:platform[NetBSD]' #elif defined(__OpenBSD__) || defined(__OPENBSD) PRINT *, 'INFO:platform[OpenBSD]' #elif defined(__sun) || defined(sun) PRINT *, 'INFO:platform[SunOS]' #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) PRINT *, 'INFO:platform[AIX]' #elif defined(__sgi) || defined(__sgi__) || defined(_SGI) PRINT *, 'INFO:platform[IRIX]' #elif defined(__hpux) || defined(__hpux__) PRINT *, 'INFO:platform[HP-UX]' #elif defined(__HAIKU__) PRINT *, 'INFO:platform[Haiku]' #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) PRINT *, 'INFO:platform[BeOS]' #elif defined(__QNX__) || defined(__QNXNTO__) PRINT *, 'INFO:platform[QNX]' #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) PRINT *, 'INFO:platform[Tru64]' #elif defined(__riscos) || defined(__riscos__) PRINT *, 'INFO:platform[RISCos]' #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) PRINT *, 'INFO:platform[SINIX]' #elif defined(__UNIX_SV__) PRINT *, 'INFO:platform[UNIX_SV]' #elif defined(__bsdos__) PRINT *, 'INFO:platform[BSDOS]' #elif defined(_MPRAS) || defined(MPRAS) PRINT *, 'INFO:platform[MP-RAS]' #elif defined(__osf) || defined(__osf__) PRINT *, 'INFO:platform[OSF1]' #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) PRINT *, 'INFO:platform[SCO_SV]' #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) PRINT *, 'INFO:platform[ULTRIX]' #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) PRINT *, 'INFO:platform[Xenix]' #elif 1 # if 0 ! The above 'elif 1' instead of 'else' is to work around a bug in the ! SGI preprocessor which produces both the __sgi and else blocks. # endif PRINT *, 'INFO:platform[]' #endif #if defined(_WIN32) && (defined(__INTEL_COMPILER) || defined(__ICC)) # if defined(_M_IA64) PRINT *, 'INFO:arch[IA64]' # elif defined(_M_X64) || defined(_M_AMD64) PRINT *, 'INFO:arch[x64]' # elif defined(_M_IX86) PRINT *, 'INFO:arch[X86]' # endif #endif END cmake-2.8.12.2/Modules/CMakeFortranInformation.cmake000644 000765 000024 00000023166 12266011634 023002 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file sets the basic flags for the Fortran language in CMake. # It also loads the available platform file for the system-compiler # if it exists. set(_INCLUDED_FILE 0) # Load compiler-specific information. if(CMAKE_Fortran_COMPILER_ID) include(Compiler/${CMAKE_Fortran_COMPILER_ID}-Fortran OPTIONAL) endif() set(CMAKE_BASE_NAME) get_filename_component(CMAKE_BASE_NAME ${CMAKE_Fortran_COMPILER} NAME_WE) # since the gnu compiler has several names force g++ if(CMAKE_COMPILER_IS_GNUG77) set(CMAKE_BASE_NAME g77) endif() if(CMAKE_Fortran_COMPILER_ID) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_Fortran_COMPILER_ID}-Fortran OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif() if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL RESULT_VARIABLE _INCLUDED_FILE) endif () # We specify the compiler information in the system file for some # platforms, but this language may not have been enabled when the file # was first included. Include it again to get the language info. # Remove this when all compiler info is removed from system files. if (NOT _INCLUDED_FILE) include(Platform/${CMAKE_SYSTEM_NAME} OPTIONAL) endif () if(CMAKE_Fortran_SIZEOF_DATA_PTR) foreach(f ${CMAKE_Fortran_ABI_FILES}) include(${f}) endforeach() unset(CMAKE_Fortran_ABI_FILES) endif() # This should be included before the _INIT variables are # used to initialize the cache. Since the rule variables # have if blocks on them, users can still define them here. # But, it should still be after the platform file so changes can # be made to those values. if(CMAKE_USER_MAKE_RULES_OVERRIDE) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE "${_override}") endif() if(CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran "${_override}") endif() # Fortran needs cmake to do a requires step during its build process to # catch any modules set(CMAKE_NEEDS_REQUIRES_STEP_Fortran_FLAG 1) if(NOT CMAKE_Fortran_COMPILE_OPTIONS_PIC) set(CMAKE_Fortran_COMPILE_OPTIONS_PIC ${CMAKE_C_COMPILE_OPTIONS_PIC}) endif() if(NOT CMAKE_Fortran_COMPILE_OPTIONS_PIE) set(CMAKE_Fortran_COMPILE_OPTIONS_PIE ${CMAKE_C_COMPILE_OPTIONS_PIE}) endif() if(NOT CMAKE_Fortran_COMPILE_OPTIONS_DLL) set(CMAKE_Fortran_COMPILE_OPTIONS_DLL ${CMAKE_C_COMPILE_OPTIONS_DLL}) endif() # Create a set of shared library variable specific to Fortran # For 90% of the systems, these are the same flags as the C versions # so if these are not set just copy the flags from the c version if(NOT DEFINED CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS) set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_Fortran_FLAGS) set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS ${CMAKE_SHARED_LIBRARY_C_FLAGS}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS) set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG) set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP) set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_RPATH_LINK_Fortran_FLAG) set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Fortran_FLAG ${CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG}) endif() if(NOT DEFINED CMAKE_EXE_EXPORTS_Fortran_FLAG) set(CMAKE_EXE_EXPORTS_Fortran_FLAG ${CMAKE_EXE_EXPORTS_C_FLAG}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG) set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG ${CMAKE_SHARED_LIBRARY_SONAME_C_FLAG}) endif() # for most systems a module is the same as a shared library # so unless the variable CMAKE_MODULE_EXISTS is set just # copy the values from the LIBRARY variables if(NOT CMAKE_MODULE_EXISTS) set(CMAKE_SHARED_MODULE_Fortran_FLAGS ${CMAKE_SHARED_LIBRARY_Fortran_FLAGS}) set(CMAKE_SHARED_MODULE_CREATE_Fortran_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS}) endif() # repeat for modules if(NOT DEFINED CMAKE_SHARED_MODULE_CREATE_Fortran_FLAGS) set(CMAKE_SHARED_MODULE_CREATE_Fortran_FLAGS ${CMAKE_SHARED_MODULE_CREATE_C_FLAGS}) endif() if(NOT DEFINED CMAKE_SHARED_MODULE_Fortran_FLAGS) set(CMAKE_SHARED_MODULE_Fortran_FLAGS ${CMAKE_SHARED_MODULE_C_FLAGS}) endif() if(NOT DEFINED CMAKE_EXECUTABLE_RUNTIME_Fortran_FLAG) set(CMAKE_EXECUTABLE_RUNTIME_Fortran_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG}) endif() if(NOT DEFINED CMAKE_EXECUTABLE_RUNTIME_Fortran_FLAG_SEP) set(CMAKE_EXECUTABLE_RUNTIME_Fortran_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP}) endif() if(NOT DEFINED CMAKE_EXECUTABLE_RPATH_LINK_Fortran_FLAG) set(CMAKE_EXECUTABLE_RPATH_LINK_Fortran_FLAG ${CMAKE_SHARED_LIBRARY_RPATH_LINK_Fortran_FLAG}) endif() if(NOT DEFINED CMAKE_SHARED_LIBRARY_LINK_Fortran_WITH_RUNTIME_PATH) set(CMAKE_SHARED_LIBRARY_LINK_Fortran_WITH_RUNTIME_PATH ${CMAKE_SHARED_LIBRARY_LINK_C_WITH_RUNTIME_PATH}) endif() if(NOT CMAKE_INCLUDE_FLAG_Fortran) set(CMAKE_INCLUDE_FLAG_Fortran ${CMAKE_INCLUDE_FLAG_C}) endif() if(NOT CMAKE_INCLUDE_FLAG_SEP_Fortran) set(CMAKE_INCLUDE_FLAG_SEP_Fortran ${CMAKE_INCLUDE_FLAG_SEP_C}) endif() set(CMAKE_VERBOSE_MAKEFILE FALSE CACHE BOOL "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. With Visual Studio IDE projects all commands are done without /nologo.") set(CMAKE_Fortran_FLAGS_INIT "$ENV{FFLAGS} ${CMAKE_Fortran_FLAGS_INIT}") # avoid just having a space as the initial value for the cache if(CMAKE_Fortran_FLAGS_INIT STREQUAL " ") set(CMAKE_Fortran_FLAGS_INIT) endif() set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS_INIT}" CACHE STRING "Flags for Fortran compiler.") include(CMakeCommonLanguageInclude) # now define the following rule variables # CMAKE_Fortran_CREATE_SHARED_LIBRARY # CMAKE_Fortran_CREATE_SHARED_MODULE # CMAKE_Fortran_COMPILE_OBJECT # CMAKE_Fortran_LINK_EXECUTABLE # create a Fortran shared library if(NOT CMAKE_Fortran_CREATE_SHARED_LIBRARY) set(CMAKE_Fortran_CREATE_SHARED_LIBRARY " -o ") endif() # create a Fortran shared module just copy the shared library rule if(NOT CMAKE_Fortran_CREATE_SHARED_MODULE) set(CMAKE_Fortran_CREATE_SHARED_MODULE ${CMAKE_Fortran_CREATE_SHARED_LIBRARY}) endif() # Create a static archive incrementally for large object file counts. # If CMAKE_Fortran_CREATE_STATIC_LIBRARY is set it will override these. if(NOT DEFINED CMAKE_Fortran_ARCHIVE_CREATE) set(CMAKE_Fortran_ARCHIVE_CREATE " cr ") endif() if(NOT DEFINED CMAKE_Fortran_ARCHIVE_APPEND) set(CMAKE_Fortran_ARCHIVE_APPEND " r ") endif() if(NOT DEFINED CMAKE_Fortran_ARCHIVE_FINISH) set(CMAKE_Fortran_ARCHIVE_FINISH " ") endif() # compile a Fortran file into an object file # (put -o after -c to workaround bug in at least one mpif77 wrapper) if(NOT CMAKE_Fortran_COMPILE_OBJECT) set(CMAKE_Fortran_COMPILE_OBJECT " -c -o ") endif() # link a fortran program if(NOT CMAKE_Fortran_LINK_EXECUTABLE) set(CMAKE_Fortran_LINK_EXECUTABLE " -o ") endif() if(CMAKE_Fortran_STANDARD_LIBRARIES_INIT) set(CMAKE_Fortran_STANDARD_LIBRARIES "${CMAKE_Fortran_STANDARD_LIBRARIES_INIT}" CACHE STRING "Libraries linked by defalut with all Fortran applications.") mark_as_advanced(CMAKE_Fortran_STANDARD_LIBRARIES) endif() if(NOT CMAKE_NOT_USING_CONFIG_FLAGS) set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG_INIT}" CACHE STRING "Flags used by the compiler during debug builds.") set (CMAKE_Fortran_FLAGS_MINSIZEREL "${CMAKE_Fortran_FLAGS_MINSIZEREL_INIT}" CACHE STRING "Flags used by the compiler during release minsize builds.") set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE_INIT}" CACHE STRING "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).") set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO "${CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING "Flags used by the compiler during Release with Debug Info builds.") endif() mark_as_advanced( CMAKE_Fortran_FLAGS CMAKE_Fortran_FLAGS_DEBUG CMAKE_Fortran_FLAGS_MINSIZEREL CMAKE_Fortran_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELWITHDEBINFO) # set this variable so we can avoid loading this more than once. set(CMAKE_Fortran_INFORMATION_LOADED 1) cmake-2.8.12.2/Modules/CMakeGenericSystem.cmake000644 000765 000024 00000015241 12266011634 021735 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty set(CMAKE_INCLUDE_FLAG_C "-I") # -I set(CMAKE_INCLUDE_FLAG_C_SEP "") # , or empty set(CMAKE_LIBRARY_PATH_FLAG "-L") set(CMAKE_LIBRARY_PATH_TERMINATOR "") # for the Digital Mars D compiler the link paths have to be terminated with a "/" set(CMAKE_LINK_LIBRARY_FLAG "-l") set(CMAKE_LINK_LIBRARY_SUFFIX "") set(CMAKE_STATIC_LIBRARY_PREFIX "lib") set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") set(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") # .so set(CMAKE_EXECUTABLE_SUFFIX "") # .exe set(CMAKE_DL_LIBS "dl") set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a") # basically all general purpose OSs support shared libs set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE) set (CMAKE_SKIP_RPATH "NO" CACHE BOOL "If set, runtime paths are not added when using shared libraries.") set (CMAKE_SKIP_INSTALL_RPATH "NO" CACHE BOOL "If set, runtime paths are not added when installing shared libraries, but are added when building.") set(CMAKE_VERBOSE_MAKEFILE FALSE CACHE BOOL "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. With Visual Studio IDE projects all commands are done without /nologo.") if(CMAKE_GENERATOR MATCHES "Makefiles") set(CMAKE_COLOR_MAKEFILE ON CACHE BOOL "Enable/Disable color output during build." ) mark_as_advanced(CMAKE_COLOR_MAKEFILE) if(DEFINED CMAKE_RULE_MESSAGES) set_property(GLOBAL PROPERTY RULE_MESSAGES ${CMAKE_RULE_MESSAGES}) endif() if(CMAKE_GENERATOR MATCHES "Unix Makefiles") set(CMAKE_EXPORT_COMPILE_COMMANDS OFF CACHE BOOL "Enable/Disable output of compile commands during generation." ) mark_as_advanced(CMAKE_EXPORT_COMPILE_COMMANDS) endif() endif() if(CMAKE_GENERATOR MATCHES "Ninja") set(CMAKE_EXPORT_COMPILE_COMMANDS OFF CACHE BOOL "Enable/Disable output of compile commands during generation." ) mark_as_advanced(CMAKE_EXPORT_COMPILE_COMMANDS) endif() # GetDefaultWindowsPrefixBase # # Compute the base directory for CMAKE_INSTALL_PREFIX based on: # - is this 32-bit or 64-bit Windows # - is this 32-bit or 64-bit CMake running # - what architecture targets will be built # function(GetDefaultWindowsPrefixBase var) # Try to guess what architecture targets will end up being built as, # even if CMAKE_SIZEOF_VOID_P is not computed yet... We need to know # the architecture of the targets being built to choose the right # default value for CMAKE_INSTALL_PREFIX. # if("${CMAKE_GENERATOR}" MATCHES "(Win64|IA64)") set(arch_hint "x64") elseif("${CMAKE_GENERATOR}" MATCHES "ARM") set(arch_hint "ARM") elseif("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8") set(arch_hint "x64") elseif("$ENV{LIB}" MATCHES "(amd64|ia64)") set(arch_hint "x64") endif() if(NOT arch_hint) set(arch_hint "x86") endif() # default env in a 64-bit app on Win64: # ProgramFiles=C:\Program Files # ProgramFiles(x86)=C:\Program Files (x86) # ProgramW6432=C:\Program Files # # default env in a 32-bit app on Win64: # ProgramFiles=C:\Program Files (x86) # ProgramFiles(x86)=C:\Program Files (x86) # ProgramW6432=C:\Program Files # # default env in a 32-bit app on Win32: # ProgramFiles=C:\Program Files # ProgramFiles(x86) NOT DEFINED # ProgramW6432 NOT DEFINED # By default, use the ProgramFiles env var as the base value of # CMAKE_INSTALL_PREFIX: # set(_PREFIX_ENV_VAR "ProgramFiles") if ("$ENV{ProgramW6432}" STREQUAL "") # running on 32-bit Windows # must be a 32-bit CMake, too... #message("guess: this is a 32-bit CMake running on 32-bit Windows") else() # running on 64-bit Windows if ("$ENV{ProgramW6432}" STREQUAL "$ENV{ProgramFiles}") # 64-bit CMake #message("guess: this is a 64-bit CMake running on 64-bit Windows") if(NOT "${arch_hint}" STREQUAL "x64") # building 32-bit targets set(_PREFIX_ENV_VAR "ProgramFiles(x86)") endif() else() # 32-bit CMake #message("guess: this is a 32-bit CMake running on 64-bit Windows") if("${arch_hint}" STREQUAL "x64") # building 64-bit targets set(_PREFIX_ENV_VAR "ProgramW6432") endif() endif() endif() #if("${arch_hint}" STREQUAL "x64") # message("guess: you are building a 64-bit app") #else() # message("guess: you are building a 32-bit app") #endif() if(NOT "$ENV{${_PREFIX_ENV_VAR}}" STREQUAL "") file(TO_CMAKE_PATH "$ENV{${_PREFIX_ENV_VAR}}" _base) elseif(NOT "$ENV{SystemDrive}" STREQUAL "") set(_base "$ENV{SystemDrive}/Program Files") else() set(_base "C:/Program Files") endif() set(${var} "${_base}" PARENT_SCOPE) endfunction() # Set a variable to indicate whether the value of CMAKE_INSTALL_PREFIX # was initialized by the block below. This is useful for user # projects to change the default prefix while still allowing the # command line to override it. if(NOT DEFINED CMAKE_INSTALL_PREFIX) set(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT 1) endif() # Choose a default install prefix for this platform. if(CMAKE_HOST_UNIX) set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Install path prefix, prepended onto install directories.") else() GetDefaultWindowsPrefixBase(CMAKE_GENERIC_PROGRAM_FILES) set(CMAKE_INSTALL_PREFIX "${CMAKE_GENERIC_PROGRAM_FILES}/${PROJECT_NAME}" CACHE PATH "Install path prefix, prepended onto install directories.") set(CMAKE_GENERIC_PROGRAM_FILES) endif() # Set a variable which will be used as component name in install() commands # where no COMPONENT has been given: set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "Unspecified") mark_as_advanced( CMAKE_SKIP_RPATH CMAKE_SKIP_INSTALL_RPATH CMAKE_VERBOSE_MAKEFILE ) cmake-2.8.12.2/Modules/CMakeGraphVizOptions.cmake000644 000765 000024 00000006002 12266011634 022255 0ustar00kitwarestaff000000 000000 ##section Variables specific to the graphviz support ##end ##module # - The builtin graphviz support of CMake. # CMake can generate graphviz files, showing the dependencies between # the targets in a project and also external libraries which are linked # against. # When CMake is run with the --graphiz=foo option, it will produce # * a foo.dot file showing all dependencies in the project # * a foo.dot. file for each target, file showing on which other targets the respective target depends # * a foo.dot..dependers file, showing which other targets depend on the respective target # # This can result in huge graphs. Using the file CMakeGraphVizOptions.cmake # the look and content of the generated graphs can be influenced. # This file is searched first in ${CMAKE_BINARY_DIR} and then in # ${CMAKE_SOURCE_DIR}. If found, it is read and the variables set in it # are used to adjust options for the generated graphviz files. ##end # ##variable # GRAPHVIZ_GRAPH_TYPE - The graph type # Mandatory : NO # Default : "digraph" ##end ##variable # GRAPHVIZ_GRAPH_NAME - The graph name. # Mandatory : NO # Default : "GG" ##end ##variable # GRAPHVIZ_GRAPH_HEADER - The header written at the top of the graphviz file. # Mandatory : NO # Default : "node [n fontsize = "12"];" ##end ##variable # GRAPHVIZ_NODE_PREFIX - The prefix for each node in the graphviz file. # Mandatory : NO # Default : "node" ##end ##variable # GRAPHVIZ_EXECUTABLES - Set this to FALSE to exclude executables from the generated graphs. # Mandatory : NO # Default : TRUE ##end ##variable # GRAPHVIZ_STATIC_LIBS - Set this to FALSE to exclude static libraries from the generated graphs. # Mandatory : NO # Default : TRUE ##end ##variable # GRAPHVIZ_SHARED_LIBS - Set this to FALSE to exclude shared libraries from the generated graphs. # Mandatory : NO # Default : TRUE ##end ##variable # GRAPHVIZ_MODULE_LIBS - Set this to FALSE to exclude static libraries from the generated graphs. # Mandatory : NO # Default : TRUE ##end ##variable # GRAPHVIZ_EXTERNAL_LIBS - Set this to FALSE to exclude external libraries from the generated graphs. # Mandatory : NO # Default : TRUE ##end ##variable # GRAPHVIZ_IGNORE_TARGETS - A list of regular expressions for ignoring targets. # Mandatory : NO # Default : empty ##end #============================================================================= # Copyright 2007-2009 Kitware, Inc. # Copyright 2013 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) cmake-2.8.12.2/Modules/CMakeImportBuildSettings.cmake000644 000765 000024 00000001760 12266011634 023130 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is purposely no longer documented. It does nothing useful. # This macro used to load build settings from another project that # stored settings using the CMAKE_EXPORT_BUILD_SETTINGS macro. macro(CMAKE_IMPORT_BUILD_SETTINGS SETTINGS_FILE) if(${SETTINGS_FILE} MATCHES ".+") else() message(SEND_ERROR "CMAKE_IMPORT_BUILD_SETTINGS called with no argument.") endif() endmacro() cmake-2.8.12.2/Modules/CMakeJavaCompiler.cmake.in000644 000765 000024 00000001032 12266011634 022126 0ustar00kitwarestaff000000 000000 set(CMAKE_Java_COMPILER "@CMAKE_Java_COMPILER@") set(CMAKE_Java_COMPILER_ARG1 "@CMAKE_Java_COMPILER_ARG1@") set(CMAKE_Java_RUNTIME "@CMAKE_Java_RUNTIME@") set(CMAKE_Java_ARCHIVE "@CMAKE_Java_ARCHIVE@") set(CMAKE_Java_COMPILER_LOADED 1) set(CMAKE_Java_SOURCE_FILE_EXTENSIONS java) set(CMAKE_Java_LINKER_PREFERENCE 40) set(CMAKE_Java_OUTPUT_EXTENSION .class) set(CMAKE_Java_OUTPUT_EXTENSION_REPLACE 1) set(CMAKE_STATIC_LIBRARY_PREFIX_Java "") set(CMAKE_STATIC_LIBRARY_SUFFIX_Java ".jar") set(CMAKE_Java_COMPILER_ENV_VAR "JAVA_COMPILER") cmake-2.8.12.2/Modules/CMakeJavaInformation.cmake000644 000765 000024 00000004307 12266011634 022244 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This should be included before the _INIT variables are # used to initialize the cache. Since the rule variables # have if blocks on them, users can still define them here. # But, it should still be after the platform file so changes can # be made to those values. if(CMAKE_USER_MAKE_RULES_OVERRIDE) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE "${_override}") endif() if(CMAKE_USER_MAKE_RULES_OVERRIDE_Java) # Save the full path of the file so try_compile can use it. include(${CMAKE_USER_MAKE_RULES_OVERRIDE_Java} RESULT_VARIABLE _override) set(CMAKE_USER_MAKE_RULES_OVERRIDE_Java "${_override}") endif() # this is a place holder if java needed flags for javac they would go here. if(NOT CMAKE_Java_CREATE_STATIC_LIBRARY) # if(WIN32) # set(class_files_mask "*.class") # else() set(class_files_mask ".") # endif() set(CMAKE_Java_CREATE_STATIC_LIBRARY " -cf -C ${class_files_mask}") # "${class_files_mask}" should really be "" but compling a *.java # file can create more than one *.class file... endif() # compile a Java file into an object file if(NOT CMAKE_Java_COMPILE_OBJECT) set(CMAKE_Java_COMPILE_OBJECT " -d ") endif() # set java include flag option and the separator for multiple include paths set(CMAKE_INCLUDE_FLAG_Java "-classpath ") if(WIN32 AND NOT CYGWIN) set(CMAKE_INCLUDE_FLAG_SEP_Java ";") else() set(CMAKE_INCLUDE_FLAG_SEP_Java ":") endif() cmake-2.8.12.2/Modules/CMakeJOMFindMake.cmake000644 000765 000024 00000001340 12266011634 021173 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set (CMAKE_MAKE_PROGRAM "jom" CACHE STRING "Program used to build from makefiles.") mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakeMinGWFindMake.cmake000644 000765 000024 00000002361 12266011634 021533 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM mingw32-make.exe PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin" c:/MinGW/bin /MinGW/bin "[HKEY_CURRENT_USER\\Software\\CodeBlocks;Path]/MinGW/bin" ) find_program(CMAKE_SH sh.exe ) if(CMAKE_SH) message(FATAL_ERROR "sh.exe was found in your PATH, here:\n${CMAKE_SH}\nFor MinGW make to work correctly sh.exe must NOT be in your path.\nRun cmake from a shell that does not have sh.exe in your PATH.\nIf you want to use a UNIX shell, then use MSYS Makefiles.\n") set(CMAKE_MAKE_PROGRAM NOTFOUND) endif() mark_as_advanced(CMAKE_MAKE_PROGRAM CMAKE_SH) cmake-2.8.12.2/Modules/CMakeMSYSFindMake.cmake000644 000765 000024 00000001672 12266011634 021351 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM make PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MSYS-1.0_is1;Inno Setup: App Path]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin" c:/msys/1.0/bin /msys/1.0/bin) mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakeNinjaFindMake.cmake000644 000765 000024 00000001336 12266011634 021612 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM ninja DOC "Program used to build from build.ninja files.") mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakeNMakeFindMake.cmake000644 000765 000024 00000001342 12266011634 021543 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set (CMAKE_MAKE_PROGRAM "nmake" CACHE STRING "Program used to build from makefiles.") mark_as_advanced(CMAKE_MAKE_PROGRAM) cmake-2.8.12.2/Modules/CMakePackageConfigHelpers.cmake000644 000765 000024 00000026456 12266011634 023172 0ustar00kitwarestaff000000 000000 # - CONFIGURE_PACKAGE_CONFIG_FILE(), WRITE_BASIC_PACKAGE_VERSION_FILE() # # CONFIGURE_PACKAGE_CONFIG_FILE( INSTALL_DESTINATION # [PATH_VARS ... ] # [NO_SET_AND_CHECK_MACRO] # [NO_CHECK_REQUIRED_COMPONENTS_MACRO]) # # CONFIGURE_PACKAGE_CONFIG_FILE() should be used instead of the plain # configure_file() command when creating the Config.cmake or -config.cmake # file for installing a project or library. It helps making the resulting package # relocatable by avoiding hardcoded paths in the installed Config.cmake file. # # In a FooConfig.cmake file there may be code like this to make the # install destinations know to the using project: # set(FOO_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@" ) # set(FOO_DATA_DIR "@CMAKE_INSTALL_PREFIX@/@RELATIVE_DATA_INSTALL_DIR@" ) # set(FOO_ICONS_DIR "@CMAKE_INSTALL_PREFIX@/share/icons" ) # ...logic to determine installedPrefix from the own location... # set(FOO_CONFIG_DIR "${installedPrefix}/@CONFIG_INSTALL_DIR@" ) # All 4 options shown above are not sufficient, since the first 3 hardcode # the absolute directory locations, and the 4th case works only if the logic # to determine the installedPrefix is correct, and if CONFIG_INSTALL_DIR contains # a relative path, which in general cannot be guaranteed. # This has the effect that the resulting FooConfig.cmake file would work poorly # under Windows and OSX, where users are used to choose the install location # of a binary package at install time, independent from how CMAKE_INSTALL_PREFIX # was set at build/cmake time. # # Using CONFIGURE_PACKAGE_CONFIG_FILE() helps. If used correctly, it makes the # resulting FooConfig.cmake file relocatable. # Usage: # 1. write a FooConfig.cmake.in file as you are used to # 2. insert a line containing only the string "@PACKAGE_INIT@" # 3. instead of set(FOO_DIR "@SOME_INSTALL_DIR@"), use set(FOO_DIR "@PACKAGE_SOME_INSTALL_DIR@") # (this must be after the @PACKAGE_INIT@ line) # 4. instead of using the normal configure_file(), use CONFIGURE_PACKAGE_CONFIG_FILE() # # The and arguments are the input and output file, the same way # as in configure_file(). # # The given to INSTALL_DESTINATION must be the destination where the FooConfig.cmake # file will be installed to. This can either be a relative or absolute path, both work. # # The variables to given as PATH_VARS are the variables which contain # install destinations. For each of them the macro will create a helper variable # PACKAGE_. These helper variables must be used # in the FooConfig.cmake.in file for setting the installed location. They are calculated # by CONFIGURE_PACKAGE_CONFIG_FILE() so that they are always relative to the # installed location of the package. This works both for relative and also for absolute locations. # For absolute locations it works only if the absolute location is a subdirectory # of CMAKE_INSTALL_PREFIX. # # By default configure_package_config_file() also generates two helper macros, # set_and_check() and check_required_components() into the FooConfig.cmake file. # # set_and_check() should be used instead of the normal set() # command for setting directories and file locations. Additionally to setting the # variable it also checks that the referenced file or directory actually exists # and fails with a FATAL_ERROR otherwise. This makes sure that the created # FooConfig.cmake file does not contain wrong references. # When using the NO_SET_AND_CHECK_MACRO, this macro is not generated into the # FooConfig.cmake file. # # check_required_components() should be called at the end of the # FooConfig.cmake file if the package supports components. # This macro checks whether all requested, non-optional components have been found, # and if this is not the case, sets the Foo_FOUND variable to FALSE, so that the package # is considered to be not found. # It does that by testing the Foo__FOUND variables for all requested # required components. # When using the NO_CHECK_REQUIRED_COMPONENTS option, this macro is not generated # into the FooConfig.cmake file. # # For an example see below the documentation for WRITE_BASIC_PACKAGE_VERSION_FILE(). # # # WRITE_BASIC_PACKAGE_VERSION_FILE( filename VERSION major.minor.patch COMPATIBILITY (AnyNewerVersion|SameMajorVersion|ExactVersion) ) # # Writes a file for use as ConfigVersion.cmake file to . # See the documentation of find_package() for details on this. # filename is the output filename, it should be in the build tree. # major.minor.patch is the version number of the project to be installed # The COMPATIBILITY mode AnyNewerVersion means that the installed package version # will be considered compatible if it is newer or exactly the same as the requested version. # This mode should be used for packages which are fully backward compatible, # also across major versions. # If SameMajorVersion is used instead, then the behaviour differs from AnyNewerVersion # in that the major version number must be the same as requested, e.g. version 2.0 will # not be considered compatible if 1.0 is requested. # This mode should be used for packages which guarantee backward compatibility within the # same major version. # If ExactVersion is used, then the package is only considered compatible if the requested # version matches exactly its own version number (not considering the tweak version). # For example, version 1.2.3 of a package is only considered compatible to requested version 1.2.3. # This mode is for packages without compatibility guarantees. # If your project has more elaborated version matching rules, you will need to write your # own custom ConfigVersion.cmake file instead of using this macro. # # Internally, this macro executes configure_file() to create the resulting # version file. Depending on the COMPATIBLITY, either the file # BasicConfigVersion-SameMajorVersion.cmake.in or BasicConfigVersion-AnyNewerVersion.cmake.in # is used. Please note that these two files are internal to CMake and you should # not call configure_file() on them yourself, but they can be used as starting # point to create more sophisticted custom ConfigVersion.cmake files. # # # Example using both configure_package_config_file() and write_basic_package_version_file(): # CMakeLists.txt: # set(INCLUDE_INSTALL_DIR include/ ... CACHE ) # set(LIB_INSTALL_DIR lib/ ... CACHE ) # set(SYSCONFIG_INSTALL_DIR etc/foo/ ... CACHE ) # ... # include(CMakePackageConfigHelpers) # configure_package_config_file(FooConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FooConfig.cmake # INSTALL_DESTINATION ${LIB_INSTALL_DIR}/Foo/cmake # PATH_VARS INCLUDE_INSTALL_DIR SYSCONFIG_INSTALL_DIR) # write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake # VERSION 1.2.3 # COMPATIBILITY SameMajorVersion ) # install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FooConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake # DESTINATION ${LIB_INSTALL_DIR}/Foo/cmake ) # # With a FooConfig.cmake.in: # set(FOO_VERSION x.y.z) # ... # @PACKAGE_INIT@ # ... # set_and_check(FOO_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") # set_and_check(FOO_SYSCONFIG_DIR "@PACKAGE_SYSCONFIG_INSTALL_DIR@") # # check_required_components(Foo) #============================================================================= # Copyright 2012 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CMakeParseArguments) include(WriteBasicConfigVersionFile) macro(WRITE_BASIC_PACKAGE_VERSION_FILE) write_basic_config_version_file(${ARGN}) endmacro() function(CONFIGURE_PACKAGE_CONFIG_FILE _inputFile _outputFile) set(options NO_SET_AND_CHECK_MACRO NO_CHECK_REQUIRED_COMPONENTS_MACRO) set(oneValueArgs INSTALL_DESTINATION ) set(multiValueArgs PATH_VARS ) cmake_parse_arguments(CCF "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(CCF_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to CONFIGURE_PACKAGE_CONFIG_FILE(): \"${CCF_UNPARSED_ARGUMENTS}\"") endif() if(NOT CCF_INSTALL_DESTINATION) message(FATAL_ERROR "No INSTALL_DESTINATION given to CONFIGURE_PACKAGE_CONFIG_FILE()") endif() if(IS_ABSOLUTE "${CCF_INSTALL_DESTINATION}") set(absInstallDir "${CCF_INSTALL_DESTINATION}") else() set(absInstallDir "${CMAKE_INSTALL_PREFIX}/${CCF_INSTALL_DESTINATION}") endif() file(RELATIVE_PATH PACKAGE_RELATIVE_PATH "${absInstallDir}" "${CMAKE_INSTALL_PREFIX}" ) foreach(var ${CCF_PATH_VARS}) if(NOT DEFINED ${var}) message(FATAL_ERROR "Variable ${var} does not exist") else() if(IS_ABSOLUTE "${${var}}") string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${PACKAGE_PREFIX_DIR}" PACKAGE_${var} "${${var}}") else() set(PACKAGE_${var} "\${PACKAGE_PREFIX_DIR}/${${var}}") endif() endif() endforeach() get_filename_component(inputFileName "${_inputFile}" NAME) set(PACKAGE_INIT " ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### ####### Any changes to this file will be overwritten by the next CMake run #### ####### The input file was ${inputFileName} ######## get_filename_component(PACKAGE_PREFIX_DIR \"\${CMAKE_CURRENT_LIST_DIR}/${PACKAGE_RELATIVE_PATH}\" ABSOLUTE) ") if("${absInstallDir}" MATCHES "^(/usr)?/lib(64)?/.+") # Handle "/usr move" symlinks created by some Linux distros. set(PACKAGE_INIT "${PACKAGE_INIT} # Use original install prefix when loaded through a \"/usr move\" # cross-prefix symbolic link such as /lib -> /usr/lib. get_filename_component(_realCurr \"\${CMAKE_CURRENT_LIST_DIR}\" REALPATH) get_filename_component(_realOrig \"${absInstallDir}\" REALPATH) if(_realCurr STREQUAL _realOrig) set(PACKAGE_PREFIX_DIR \"${CMAKE_INSTALL_PREFIX}\") endif() unset(_realOrig) unset(_realCurr) ") endif() if(NOT CCF_NO_SET_AND_CHECK_MACRO) set(PACKAGE_INIT "${PACKAGE_INIT} macro(set_and_check _var _file) set(\${_var} \"\${_file}\") if(NOT EXISTS \"\${_file}\") message(FATAL_ERROR \"File or directory \${_file} referenced by variable \${_var} does not exist !\") endif() endmacro() ") endif() if(NOT CCF_NO_CHECK_REQUIRED_COMPONENTS_MACRO) set(PACKAGE_INIT "${PACKAGE_INIT} macro(check_required_components _NAME) foreach(comp \${\${_NAME}_FIND_COMPONENTS}) if(NOT \${_NAME}_\${comp}_FOUND) if(\${_NAME}_FIND_REQUIRED_\${comp}) set(\${_NAME}_FOUND FALSE) endif() endif() endforeach() endmacro() ") endif() set(PACKAGE_INIT "${PACKAGE_INIT} ####################################################################################") configure_file("${_inputFile}" "${_outputFile}" @ONLY) endfunction() cmake-2.8.12.2/Modules/CMakeParseArguments.cmake000644 000765 000024 00000013227 12266011634 022116 0ustar00kitwarestaff000000 000000 # CMAKE_PARSE_ARGUMENTS( args...) # # CMAKE_PARSE_ARGUMENTS() is intended to be used in macros or functions for # parsing the arguments given to that macro or function. # It processes the arguments and defines a set of variables which hold the # values of the respective options. # # The argument contains all options for the respective macro, # i.e. keywords which can be used when calling the macro without any value # following, like e.g. the OPTIONAL keyword of the install() command. # # The argument contains all keywords for this macro # which are followed by one value, like e.g. DESTINATION keyword of the # install() command. # # The argument contains all keywords for this macro # which can be followed by more than one value, like e.g. the TARGETS or # FILES keywords of the install() command. # # When done, CMAKE_PARSE_ARGUMENTS() will have defined for each of the # keywords listed in , and # a variable composed of the given # followed by "_" and the name of the respective keyword. # These variables will then hold the respective value from the argument list. # For the keywords this will be TRUE or FALSE. # # All remaining arguments are collected in a variable # _UNPARSED_ARGUMENTS, this can be checked afterwards to see whether # your macro was called with unrecognized parameters. # # As an example here a my_install() macro, which takes similar arguments as the # real install() command: # # function(MY_INSTALL) # set(options OPTIONAL FAST) # set(oneValueArgs DESTINATION RENAME) # set(multiValueArgs TARGETS CONFIGURATIONS) # cmake_parse_arguments(MY_INSTALL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} ) # ... # # Assume my_install() has been called like this: # my_install(TARGETS foo bar DESTINATION bin OPTIONAL blub) # # After the cmake_parse_arguments() call the macro will have set the following # variables: # MY_INSTALL_OPTIONAL = TRUE # MY_INSTALL_FAST = FALSE (this option was not used when calling my_install() # MY_INSTALL_DESTINATION = "bin" # MY_INSTALL_RENAME = "" (was not used) # MY_INSTALL_TARGETS = "foo;bar" # MY_INSTALL_CONFIGURATIONS = "" (was not used) # MY_INSTALL_UNPARSED_ARGUMENTS = "blub" (no value expected after "OPTIONAL" # # You can then continue and process these variables. # # Keywords terminate lists of values, e.g. if directly after a one_value_keyword # another recognized keyword follows, this is interpreted as the beginning of # the new option. # E.g. my_install(TARGETS foo DESTINATION OPTIONAL) would result in # MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION would # be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefor. #============================================================================= # Copyright 2010 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(__CMAKE_PARSE_ARGUMENTS_INCLUDED) return() endif() set(__CMAKE_PARSE_ARGUMENTS_INCLUDED TRUE) function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgNames) # first set all result variables to empty/FALSE foreach(arg_name ${_singleArgNames} ${_multiArgNames}) set(${prefix}_${arg_name}) endforeach() foreach(option ${_optionNames}) set(${prefix}_${option} FALSE) endforeach() set(${prefix}_UNPARSED_ARGUMENTS) set(insideValues FALSE) set(currentArgName) # now iterate over all arguments and fill the result variables foreach(currentArg ${ARGN}) list(FIND _optionNames "${currentArg}" optionIndex) # ... then this marks the end of the arguments belonging to this keyword list(FIND _singleArgNames "${currentArg}" singleArgIndex) # ... then this marks the end of the arguments belonging to this keyword list(FIND _multiArgNames "${currentArg}" multiArgIndex) # ... then this marks the end of the arguments belonging to this keyword if(${optionIndex} EQUAL -1 AND ${singleArgIndex} EQUAL -1 AND ${multiArgIndex} EQUAL -1) if(insideValues) if("${insideValues}" STREQUAL "SINGLE") set(${prefix}_${currentArgName} ${currentArg}) set(insideValues FALSE) elseif("${insideValues}" STREQUAL "MULTI") list(APPEND ${prefix}_${currentArgName} ${currentArg}) endif() else() list(APPEND ${prefix}_UNPARSED_ARGUMENTS ${currentArg}) endif() else() if(NOT ${optionIndex} EQUAL -1) set(${prefix}_${currentArg} TRUE) set(insideValues FALSE) elseif(NOT ${singleArgIndex} EQUAL -1) set(currentArgName ${currentArg}) set(${prefix}_${currentArgName}) set(insideValues "SINGLE") elseif(NOT ${multiArgIndex} EQUAL -1) set(currentArgName ${currentArg}) set(${prefix}_${currentArgName}) set(insideValues "MULTI") endif() endif() endforeach() # propagate the result variables to the caller: foreach(arg_name ${_singleArgNames} ${_multiArgNames} ${_optionNames}) set(${prefix}_${arg_name} ${${prefix}_${arg_name}} PARENT_SCOPE) endforeach() set(${prefix}_UNPARSED_ARGUMENTS ${${prefix}_UNPARSED_ARGUMENTS} PARENT_SCOPE) endfunction() cmake-2.8.12.2/Modules/CMakeParseImplicitLinkInfo.cmake000644 000765 000024 00000015603 12266011634 023355 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Function parse implicit linker options. # This is used internally by CMake and should not be included by user # code. function(CMAKE_PARSE_IMPLICIT_LINK_INFO text lib_var dir_var fwk_var log_var obj_regex) set(implicit_libs_tmp "") set(implicit_dirs_tmp) set(implicit_fwks_tmp) set(log "") # Parse implicit linker arguments. set(linker "CMAKE_LINKER-NOTFOUND") if(CMAKE_LINKER) get_filename_component(linker ${CMAKE_LINKER} NAME) string(REGEX REPLACE "([][+.*?()^$])" "\\\\\\1" linker "${linker}") endif() # Construct a regex to match linker lines. It must match both the # whole line and just the command (argv[0]). set(linker_regex "^( *|.*[/\\])(${linker}|([^/\\]+-)?ld|collect2)[^/\\]*( |$)") set(linker_exclude_regex "collect2 version ") set(log "${log} link line regex: [${linker_regex}]\n") string(REGEX REPLACE "\r?\n" ";" output_lines "${text}") foreach(line IN LISTS output_lines) set(cmd) if("${line}" MATCHES "${linker_regex}" AND NOT "${line}" MATCHES "${linker_exclude_regex}") if(XCODE) # Xcode unconditionally adds a path under the project build tree and # on older versions it is not reported with proper quotes. Remove it. string(REGEX REPLACE "([][+.*()^])" "\\\\\\1" _dir_regex "${CMAKE_BINARY_DIR}") string(REGEX REPLACE " -[FL]${_dir_regex}/([^ ]| [^-])+( |$)" " " xline "${line}") if(NOT "x${xline}" STREQUAL "x${line}") set(log "${log} reduced line: [${line}]\n to: [${xline}]\n") set(line "${xline}") endif() endif() if(UNIX) separate_arguments(args UNIX_COMMAND "${line}") else() separate_arguments(args WINDOWS_COMMAND "${line}") endif() list(GET args 0 cmd) endif() if("${cmd}" MATCHES "${linker_regex}") set(log "${log} link line: [${line}]\n") string(REGEX REPLACE ";-([LYz]);" ";-\\1" args "${args}") foreach(arg IN LISTS args) if("${arg}" MATCHES "^-L(.:)?[/\\]") # Unix search path. string(REGEX REPLACE "^-L" "" dir "${arg}") list(APPEND implicit_dirs_tmp ${dir}) set(log "${log} arg [${arg}] ==> dir [${dir}]\n") elseif("${arg}" MATCHES "^-l[^:]") # Unix library. string(REGEX REPLACE "^-l" "" lib "${arg}") list(APPEND implicit_libs_tmp ${lib}) set(log "${log} arg [${arg}] ==> lib [${lib}]\n") elseif("${arg}" MATCHES "^(.:)?[/\\].*\\.a$") # Unix library full path. list(APPEND implicit_libs_tmp ${arg}) set(log "${log} arg [${arg}] ==> lib [${arg}]\n") elseif("${arg}" MATCHES "^(.:)?[/\\].*\\.o$" AND obj_regex AND "${arg}" MATCHES "${obj_regex}") # Object file full path. list(APPEND implicit_libs_tmp ${arg}) set(log "${log} arg [${arg}] ==> obj [${arg}]\n") elseif("${arg}" MATCHES "^-Y(P,)?[^0-9]") # Sun search path ([^0-9] avoids conflict with Mac -Y). string(REGEX REPLACE "^-Y(P,)?" "" dirs "${arg}") string(REPLACE ":" ";" dirs "${dirs}") list(APPEND implicit_dirs_tmp ${dirs}) set(log "${log} arg [${arg}] ==> dirs [${dirs}]\n") elseif("${arg}" MATCHES "^-l:") # HP named library. list(APPEND implicit_libs_tmp ${arg}) set(log "${log} arg [${arg}] ==> lib [${arg}]\n") elseif("${arg}" MATCHES "^-z(all|default|weak)extract") # Link editor option. list(APPEND implicit_libs_tmp ${arg}) set(log "${log} arg [${arg}] ==> opt [${arg}]\n") else() set(log "${log} arg [${arg}] ==> ignore\n") endif() endforeach() break() elseif("${line}" MATCHES "LPATH(=| is:? )") set(log "${log} LPATH line: [${line}]\n") # HP search path. string(REGEX REPLACE ".*LPATH(=| is:? *)" "" paths "${line}") string(REPLACE ":" ";" paths "${paths}") list(APPEND implicit_dirs_tmp ${paths}) set(log "${log} dirs [${paths}]\n") else() set(log "${log} ignore line: [${line}]\n") endif() endforeach() # Look for library search paths reported by linker. if("${output_lines}" MATCHES ";Library search paths:((;\t[^;]+)+)") string(REPLACE ";\t" ";" implicit_dirs_match "${CMAKE_MATCH_1}") set(log "${log} Library search paths: [${implicit_dirs_match}]\n") list(APPEND implicit_dirs_tmp ${implicit_dirs_match}) endif() if("${output_lines}" MATCHES ";Framework search paths:((;\t[^;]+)+)") string(REPLACE ";\t" ";" implicit_fwks_match "${CMAKE_MATCH_1}") set(log "${log} Framework search paths: [${implicit_fwks_match}]\n") list(APPEND implicit_fwks_tmp ${implicit_fwks_match}) endif() # Cleanup list of libraries and flags. # We remove items that are not language-specific. set(implicit_libs "") foreach(lib IN LISTS implicit_libs_tmp) if("${lib}" MATCHES "^(crt.*\\.o|gcc.*|System.*)$") set(log "${log} remove lib [${lib}]\n") elseif(IS_ABSOLUTE "${lib}") get_filename_component(abs "${lib}" ABSOLUTE) if(NOT "x${lib}" STREQUAL "x${abs}") set(log "${log} collapse lib [${lib}] ==> [${abs}]\n") endif() list(APPEND implicit_libs "${abs}") else() list(APPEND implicit_libs "${lib}") endif() endforeach() # Cleanup list of library and framework directories. set(desc_dirs "library") set(desc_fwks "framework") foreach(t dirs fwks) set(implicit_${t} "") foreach(d IN LISTS implicit_${t}_tmp) get_filename_component(dir "${d}" ABSOLUTE) string(FIND "${dir}" "${CMAKE_FILES_DIRECTORY}/" pos) if(NOT pos LESS 0) set(msg ", skipping non-system directory") else() set(msg "") list(APPEND implicit_${t} "${dir}") endif() set(log "${log} collapse ${desc_${t}} dir [${d}] ==> [${dir}]${msg}\n") endforeach() list(REMOVE_DUPLICATES implicit_${t}) endforeach() # Log results. set(log "${log} implicit libs: [${implicit_libs}]\n") set(log "${log} implicit dirs: [${implicit_dirs}]\n") set(log "${log} implicit fwks: [${implicit_fwks}]\n") # Return results. set(${lib_var} "${implicit_libs}" PARENT_SCOPE) set(${dir_var} "${implicit_dirs}" PARENT_SCOPE) set(${fwk_var} "${implicit_fwks}" PARENT_SCOPE) set(${log_var} "${log}" PARENT_SCOPE) endfunction() cmake-2.8.12.2/Modules/CMakePlatformId.h.in000644 000765 000024 00000010446 12266011634 020773 0ustar00kitwarestaff000000 000000 /* Identify known platforms by name. */ #if defined(__linux) || defined(__linux__) || defined(linux) # define PLATFORM_ID "Linux" #elif defined(__CYGWIN__) # define PLATFORM_ID "Cygwin" #elif defined(__MINGW32__) # define PLATFORM_ID "MinGW" #elif defined(__APPLE__) # define PLATFORM_ID "Darwin" #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) # define PLATFORM_ID "Windows" #elif defined(__FreeBSD__) || defined(__FreeBSD) # define PLATFORM_ID "FreeBSD" #elif defined(__NetBSD__) || defined(__NetBSD) # define PLATFORM_ID "NetBSD" #elif defined(__OpenBSD__) || defined(__OPENBSD) # define PLATFORM_ID "OpenBSD" #elif defined(__sun) || defined(sun) # define PLATFORM_ID "SunOS" #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) # define PLATFORM_ID "AIX" #elif defined(__sgi) || defined(__sgi__) || defined(_SGI) # define PLATFORM_ID "IRIX" #elif defined(__hpux) || defined(__hpux__) # define PLATFORM_ID "HP-UX" #elif defined(__HAIKU__) # define PLATFORM_ID "Haiku" #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) # define PLATFORM_ID "BeOS" #elif defined(__QNX__) || defined(__QNXNTO__) # define PLATFORM_ID "QNX" #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) # define PLATFORM_ID "Tru64" #elif defined(__riscos) || defined(__riscos__) # define PLATFORM_ID "RISCos" #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) # define PLATFORM_ID "SINIX" #elif defined(__UNIX_SV__) # define PLATFORM_ID "UNIX_SV" #elif defined(__bsdos__) # define PLATFORM_ID "BSDOS" #elif defined(_MPRAS) || defined(MPRAS) # define PLATFORM_ID "MP-RAS" #elif defined(__osf) || defined(__osf__) # define PLATFORM_ID "OSF1" #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) # define PLATFORM_ID "SCO_SV" #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) # define PLATFORM_ID "ULTRIX" #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) # define PLATFORM_ID "Xenix" #else /* unknown platform */ # define PLATFORM_ID "" #endif /* For windows compilers MSVC and Intel we can determine the architecture of the compiler being used. This is because the compilers do not have flags that can change the architecture, but rather depend on which compiler is being used */ #if defined(_WIN32) && defined(_MSC_VER) # if defined(_M_IA64) # define ARCHITECTURE_ID "IA64" # elif defined(_M_X64) || defined(_M_AMD64) # define ARCHITECTURE_ID "x64" # elif defined(_M_IX86) # define ARCHITECTURE_ID "X86" # elif defined(_M_ARM) # define ARCHITECTURE_ID "ARM" # elif defined(_M_MIPS) # define ARCHITECTURE_ID "MIPS" # elif defined(_M_SH) # define ARCHITECTURE_ID "SHx" # else /* unknown architecture */ # define ARCHITECTURE_ID "" # endif #else # define ARCHITECTURE_ID "" #endif /* Convert integer to decimal digit literals. */ #define DEC(n) \ ('0' + (((n) / 10000000)%10)), \ ('0' + (((n) / 1000000)%10)), \ ('0' + (((n) / 100000)%10)), \ ('0' + (((n) / 10000)%10)), \ ('0' + (((n) / 1000)%10)), \ ('0' + (((n) / 100)%10)), \ ('0' + (((n) / 10)%10)), \ ('0' + ((n) % 10)) /* Convert integer to hex digit literals. */ #define HEX(n) \ ('0' + ((n)>>28 & 0xF)), \ ('0' + ((n)>>24 & 0xF)), \ ('0' + ((n)>>20 & 0xF)), \ ('0' + ((n)>>16 & 0xF)), \ ('0' + ((n)>>12 & 0xF)), \ ('0' + ((n)>>8 & 0xF)), \ ('0' + ((n)>>4 & 0xF)), \ ('0' + ((n) & 0xF)) /* Construct a string literal encoding the version number components. */ #ifdef COMPILER_VERSION_MAJOR char const info_version[] = { 'I', 'N', 'F', 'O', ':', 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', COMPILER_VERSION_MAJOR, # ifdef COMPILER_VERSION_MINOR '.', COMPILER_VERSION_MINOR, # ifdef COMPILER_VERSION_PATCH '.', COMPILER_VERSION_PATCH, # ifdef COMPILER_VERSION_TWEAK '.', COMPILER_VERSION_TWEAK, # endif # endif # endif ']','\0'}; #endif /* Construct the string literal in pieces to prevent the source from getting matched. Store it in a pointer rather than an array because some compilers will just produce instructions to fill the array rather than assigning a pointer to a static array. */ char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; cmake-2.8.12.2/Modules/CMakePrintHelpers.cmake000644 000765 000024 00000010507 12266011634 021573 0ustar00kitwarestaff000000 000000 # - Convenience macros for printing properties and variables, useful e.g. for debugging. # # # CMAKE_PRINT_PROPERTIES([TARGETS target1 .. targetN] # [SOURCES source1 .. sourceN] # [DIRECTORIES dir1 .. dirN] # [TESTS test1 .. testN] # [CACHE_ENTRIES entry1 .. entryN] # PROPERTIES prop1 .. propN ) # # This macro prints the values of the properties of the given targets, # source files, directories, tests or cache entries. Exactly one of the # scope keywords must be used. # Example: # cmake_print_properties(TARGETS foo bar PROPERTIES LOCATION INTERFACE_INCLUDE_DIRS) # This will print the LOCATION and INTERFACE_INCLUDE_DIRS properties for both # targets foo and bar. # # # CMAKE_PRINT_VARIABLES(var1 var2 .. varN) # # This macro will print the name of each variable followed by its value. # Example: # cmake_print_variables(CMAKE_C_COMPILER CMAKE_MAJOR_VERSION THIS_ONE_DOES_NOT_EXIST) # Gives: # -- CMAKE_C_COMPILER="/usr/bin/gcc" ; CMAKE_MAJOR_VERSION="2" ; THIS_ONE_DOES_NOT_EXIST="" #============================================================================= # Copyright 2013 Alexander Neundorf, # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CMakeParseArguments) function(CMAKE_PRINT_VARIABLES) set(msg "") foreach(var ${ARGN}) if(msg) set(msg "${msg} ; ") endif() set(msg "${msg}${var}=\"${${var}}\"") endforeach() message(STATUS "${msg}") endfunction() function(CMAKE_PRINT_PROPERTIES ) set(options ) set(oneValueArgs ) set(multiValueArgs TARGETS SOURCES TESTS DIRECTORIES CACHE_ENTRIES PROPERTIES ) cmake_parse_arguments(CPP "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(CPP_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to cmake_print_properties(): \"${CPP_UNPARSED_ARGUMENTS}\"") return() endif() if(NOT CPP_PROPERTIES) message(FATAL_ERROR "Required argument PROPERTIES missing in cmake_print_properties() call") return() endif() set(mode) set(items) set(keyword) if(CPP_TARGETS) set(items ${CPP_TARGETS}) set(mode ${mode} TARGETS) set(keyword TARGET) endif() if(CPP_SOURCES) set(items ${CPP_SOURCES}) set(mode ${mode} SOURCES) set(keyword SOURCE) endif() if(CPP_TESTS) set(items ${CPP_TESTS}) set(mode ${mode} TESTS) set(keyword TEST) endif() if(CPP_DIRECTORIES) set(items ${CPP_DIRECTORIES}) set(mode ${mode} DIRECTORIES) set(keyword DIRECTORY) endif() if(CPP_CACHE_ENTRIES) set(items ${CPP_CACHE_ENTRIES}) set(mode ${mode} CACHE_ENTRIES) set(keyword CACHE) endif() if(NOT mode) message(FATAL_ERROR "Mode keyword missing in cmake_print_properties() call, must be one of TARGETS SOURCES TESTS DIRECTORIES CACHE_ENTRIES PROPERTIES") return() endif() list(LENGTH mode modeLength) if("${modeLength}" GREATER 1) message(FATAL_ERROR "Multiple mode keyword used in cmake_print_properties() call, it must be exactly one of TARGETS SOURCES TESTS DIRECTORIES CACHE_ENTRIES PROPERTIES") return() endif() set(msg "\n") foreach(item ${items}) set(itemExists TRUE) if(keyword STREQUAL "TARGET") if(NOT TARGET ${item}) set(itemExists FALSE) set(msg "${msg}\n No such TARGET \"${item}\" !\n\n") endif() endif() if (itemExists) set(msg "${msg} Properties for ${keyword} ${item}:\n") foreach(prop ${CPP_PROPERTIES}) get_property(propertySet ${keyword} ${item} PROPERTY "${prop}" SET) if(propertySet) get_property(property ${keyword} ${item} PROPERTY "${prop}") set(msg "${msg} ${item}.${prop} = \"${property}\"\n") else() set(msg "${msg} ${item}.${prop} = \n") endif() endforeach() endif() endforeach() message(STATUS "${msg}") endfunction() cmake-2.8.12.2/Modules/CMakePrintSystemInformation.cmake000644 000765 000024 00000004600 12266011634 023660 0ustar00kitwarestaff000000 000000 # - print system information # This file can be used for diagnostic purposes # just include it in a project to see various internal CMake # variables. #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) message("CMAKE_SYSTEM is ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}") message("CMAKE_SYSTEM file is ${CMAKE_SYSTEM_INFO_FILE}") message("CMAKE_C_COMPILER is ${CMAKE_C_COMPILER}") message("CMAKE_CXX_COMPILER is ${CMAKE_CXX_COMPILER}") message("CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS is ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS}") message("CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS is ${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS}") message("CMAKE_DL_LIBS is ${CMAKE_DL_LIBS}") message("CMAKE_SHARED_LIBRARY_PREFIX is ${CMAKE_SHARED_LIBRARY_PREFIX}") message("CMAKE_SHARED_LIBRARY_SUFFIX is ${CMAKE_SHARED_LIBRARY_SUFFIX}") message("CMAKE_COMPILER_IS_GNUCC = ${CMAKE_COMPILER_IS_GNUCC}") message("CMAKE_COMPILER_IS_GNUCXX = ${CMAKE_COMPILER_IS_GNUCXX}") message("CMAKE_CXX_CREATE_SHARED_LIBRARY is ${CMAKE_CXX_CREATE_SHARED_LIBRARY}") message("CMAKE_CXX_CREATE_SHARED_MODULE is ${CMAKE_CXX_CREATE_SHARED_MODULE}") message("CMAKE_CXX_CREATE_STATIC_LIBRARY is ${CMAKE_CXX_CREATE_STATIC_LIBRARY}") message("CMAKE_CXX_COMPILE_OBJECT is ${CMAKE_CXX_COMPILE_OBJECT}") message("CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_CXX_LINK_EXECUTABLE}") message("CMAKE_C_CREATE_SHARED_LIBRARY is ${CMAKE_C_CREATE_SHARED_LIBRARY}") message("CMAKE_C_CREATE_SHARED_MODULE is ${CMAKE_C_CREATE_SHARED_MODULE}") message("CMAKE_C_CREATE_STATIC_LIBRARY is ${CMAKE_C_CREATE_STATIC_LIBRARY}") message("CMAKE_C_COMPILE_OBJECT is ${CMAKE_C_COMPILE_OBJECT}") message("CMAKE_C_LINK_EXECUTABLE ${CMAKE_C_LINK_EXECUTABLE}") message("CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE ${CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE}") message("CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE ${CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE}") cmake-2.8.12.2/Modules/CMakePushCheckState.cmake000644 000765 000024 00000006521 12266011634 022033 0ustar00kitwarestaff000000 000000 # This module defines three macros: # CMAKE_PUSH_CHECK_STATE() # CMAKE_POP_CHECK_STATE() # and # CMAKE_RESET_CHECK_STATE() # These macros can be used to save, restore and reset (i.e., clear contents) # the state of the variables # CMAKE_REQUIRED_FLAGS, CMAKE_REQUIRED_DEFINITIONS, CMAKE_REQUIRED_LIBRARIES # and CMAKE_REQUIRED_INCLUDES used by the various Check-files coming with CMake, # like e.g. check_function_exists() etc. # The variable contents are pushed on a stack, pushing multiple times is supported. # This is useful e.g. when executing such tests in a Find-module, where they have to be set, # but after the Find-module has been executed they should have the same value # as they had before. # # CMAKE_PUSH_CHECK_STATE() macro receives optional argument RESET. Whether it's specified, # CMAKE_PUSH_CHECK_STATE() will set all CMAKE_REQUIRED_* variables to empty values, same # as CMAKE_RESET_CHECK_STATE() call will do. # # Usage: # cmake_push_check_state(RESET) # set(CMAKE_REQUIRED_DEFINITIONS -DSOME_MORE_DEF) # check_function_exists(...) # cmake_reset_check_state() # set(CMAKE_REQUIRED_DEFINITIONS -DANOTHER_DEF) # check_function_exists(...) # cmake_pop_check_state() #============================================================================= # Copyright 2006-2011 Alexander Neundorf, # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CMAKE_RESET_CHECK_STATE) set(CMAKE_REQUIRED_INCLUDES) set(CMAKE_REQUIRED_DEFINITIONS) set(CMAKE_REQUIRED_LIBRARIES) set(CMAKE_REQUIRED_FLAGS) endmacro() macro(CMAKE_PUSH_CHECK_STATE) if(NOT DEFINED _CMAKE_PUSH_CHECK_STATE_COUNTER) set(_CMAKE_PUSH_CHECK_STATE_COUNTER 0) endif() math(EXPR _CMAKE_PUSH_CHECK_STATE_COUNTER "${_CMAKE_PUSH_CHECK_STATE_COUNTER}+1") set(_CMAKE_REQUIRED_INCLUDES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_INCLUDES}) set(_CMAKE_REQUIRED_DEFINITIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_DEFINITIONS}) set(_CMAKE_REQUIRED_LIBRARIES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_LIBRARIES}) set(_CMAKE_REQUIRED_FLAGS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_FLAGS}) if (ARGC GREATER 0 AND ARGV0 STREQUAL "RESET") cmake_reset_check_state() endif() endmacro() macro(CMAKE_POP_CHECK_STATE) # don't pop more than we pushed if("${_CMAKE_PUSH_CHECK_STATE_COUNTER}" GREATER "0") set(CMAKE_REQUIRED_INCLUDES ${_CMAKE_REQUIRED_INCLUDES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) set(CMAKE_REQUIRED_DEFINITIONS ${_CMAKE_REQUIRED_DEFINITIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) set(CMAKE_REQUIRED_FLAGS ${_CMAKE_REQUIRED_FLAGS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) math(EXPR _CMAKE_PUSH_CHECK_STATE_COUNTER "${_CMAKE_PUSH_CHECK_STATE_COUNTER}-1") endif() endmacro() cmake-2.8.12.2/Modules/CMakeRCCompiler.cmake.in000644 000765 000024 00000000413 12266011634 021553 0ustar00kitwarestaff000000 000000 set(CMAKE_RC_COMPILER "@CMAKE_RC_COMPILER@") set(CMAKE_RC_COMPILER_ARG1 "@CMAKE_RC_COMPILER_ARG1@") set(CMAKE_RC_COMPILER_LOADED 1) set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc) set(CMAKE_RC_OUTPUT_EXTENSION @CMAKE_RC_OUTPUT_EXTENSION@) set(CMAKE_RC_COMPILER_ENV_VAR "RC") cmake-2.8.12.2/Modules/CMakeRCInformation.cmake000644 000765 000024 00000003603 12266011634 021665 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file sets the basic flags for the Fortran language in CMake. # It also loads the available platform file for the system-compiler # if it exists. # make sure we don't use CMAKE_BASE_NAME from somewhere else set(CMAKE_BASE_NAME) get_filename_component(CMAKE_BASE_NAME ${CMAKE_RC_COMPILER} NAME_WE) if("${CMAKE_BASE_NAME}" MATCHES "windres") set(CMAKE_BASE_NAME "windres") endif() set(CMAKE_SYSTEM_AND_RC_COMPILER_INFO_FILE ${CMAKE_ROOT}/Modules/Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}.cmake) include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL) set (CMAKE_RC_FLAGS "$ENV{RCFLAGS} ${CMAKE_RC_FLAGS_INIT}" CACHE STRING "Flags for Fortran compiler.") # These are the only types of flags that should be passed to the rc # command, if COMPILE_FLAGS is used on a target this will be used # to filter out any other flags set(CMAKE_RC_FLAG_REGEX "^[-/](D|I)") # now define the following rule variables # CMAKE_RC_COMPILE_OBJECT set(CMAKE_INCLUDE_FLAG_RC "-I") # compile a Resource file into an object file if(NOT CMAKE_RC_COMPILE_OBJECT) set(CMAKE_RC_COMPILE_OBJECT " /fo ") endif() mark_as_advanced( CMAKE_RC_FLAGS ) # set this variable so we can avoid loading this more than once. set(CMAKE_RC_INFORMATION_LOADED 1) cmake-2.8.12.2/Modules/CMakeSystem.cmake.in000644 000765 000024 00000001031 12266011634 021035 0ustar00kitwarestaff000000 000000 set(CMAKE_HOST_SYSTEM "@CMAKE_HOST_SYSTEM@") set(CMAKE_HOST_SYSTEM_NAME "@CMAKE_HOST_SYSTEM_NAME@") set(CMAKE_HOST_SYSTEM_VERSION "@CMAKE_HOST_SYSTEM_VERSION@") set(CMAKE_HOST_SYSTEM_PROCESSOR "@CMAKE_HOST_SYSTEM_PROCESSOR@") @INCLUDE_CMAKE_TOOLCHAIN_FILE_IF_REQUIRED@ set(CMAKE_SYSTEM "@CMAKE_SYSTEM@") set(CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@") set(CMAKE_SYSTEM_VERSION "@CMAKE_SYSTEM_VERSION@") set(CMAKE_SYSTEM_PROCESSOR "@CMAKE_SYSTEM_PROCESSOR@") set(CMAKE_CROSSCOMPILING "@CMAKE_CROSSCOMPILING@") set(CMAKE_SYSTEM_LOADED 1) cmake-2.8.12.2/Modules/CMakeSystemSpecificInformation.cmake000644 000765 000024 00000005447 12266011634 024323 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is included by cmGlobalGenerator::EnableLanguage. # It is included after the compiler has been determined, so # we know things like the compiler name and if the compiler is gnu. # before cmake 2.6 these variables were set in cmMakefile.cxx. This is still # done to keep scripts and custom language and compiler modules working. # But they are reset here and set again in the platform files for the target # platform, so they can be used for testing the target platform instead # of testing the host platform. set(APPLE ) set(UNIX ) set(CYGWIN ) set(WIN32 ) # include Generic system information include(CMakeGenericSystem) # 2. now include SystemName.cmake file to set the system specific information set(CMAKE_SYSTEM_INFO_FILE Platform/${CMAKE_SYSTEM_NAME}) include(${CMAKE_SYSTEM_INFO_FILE} OPTIONAL RESULT_VARIABLE _INCLUDED_SYSTEM_INFO_FILE) if(NOT _INCLUDED_SYSTEM_INFO_FILE) message("System is unknown to cmake, create:\n${CMAKE_SYSTEM_INFO_FILE}" " to use this system, please send your config file to " "cmake@www.cmake.org so it can be added to cmake") if(EXISTS ${CMAKE_BINARY_DIR}/CMakeCache.txt) configure_file(${CMAKE_BINARY_DIR}/CMakeCache.txt ${CMAKE_BINARY_DIR}/CopyOfCMakeCache.txt COPYONLY) message("Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. " "Please send that file to cmake@www.cmake.org.") endif() endif() # optionally include a file which can do extra-generator specific things, e.g. # CMakeFindEclipseCDT4.cmake asks gcc for the system include dirs for the Eclipse CDT4 generator if(CMAKE_EXTRA_GENERATOR) string(REPLACE " " "" _CMAKE_EXTRA_GENERATOR_NO_SPACES ${CMAKE_EXTRA_GENERATOR} ) include("CMakeFind${_CMAKE_EXTRA_GENERATOR_NO_SPACES}" OPTIONAL) endif() # for most systems a module is the same as a shared library # so unless the variable CMAKE_MODULE_EXISTS is set just # copy the values from the LIBRARY variables # this has to be done after the system information has been loaded if(NOT CMAKE_MODULE_EXISTS) set(CMAKE_SHARED_MODULE_PREFIX "${CMAKE_SHARED_LIBRARY_PREFIX}") set(CMAKE_SHARED_MODULE_SUFFIX "${CMAKE_SHARED_LIBRARY_SUFFIX}") endif() set(CMAKE_SYSTEM_SPECIFIC_INFORMATION_LOADED 1) cmake-2.8.12.2/Modules/CMakeTestASM-ATTCompiler.cmake000644 000765 000024 00000001740 12266011634 022554 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that the selected ASM-ATT "compiler" works. # For assembler this can only check whether the compiler has been found, # because otherwise there would have to be a separate assembler source file # for each assembler on every architecture. set(ASM_DIALECT "-ATT") include(CMakeTestASMCompiler) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeTestASM_MASMCompiler.cmake000644 000765 000024 00000001775 12266011634 022753 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that the selected ASM_MASM "compiler" (should be masm or masm64) # works. For assembler this can only check whether the compiler has been found, # because otherwise there would have to be a separate assembler source file # for each assembler on every architecture. set(ASM_DIALECT "_MASM") include(CMakeTestASMCompiler) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeTestASM_NASMCompiler.cmake000644 000765 000024 00000001735 12266011634 022750 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that the selected ASM_NASM "compiler" works. # For assembler this can only check whether the compiler has been found, # because otherwise there would have to be a separate assembler source file # for each assembler on every architecture. set(ASM_DIALECT "_NASM") include(CMakeTestASMCompiler) set(ASM_DIALECT) cmake-2.8.12.2/Modules/CMakeTestASMCompiler.cmake000644 000765 000024 00000002462 12266011634 022130 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that the selected ASM compiler works. # For assembler this can only check whether the compiler has been found, # because otherwise there would have to be a separate assembler source file # for each assembler on every architecture. set(_ASM_COMPILER_WORKS 0) if(CMAKE_ASM${ASM_DIALECT}_COMPILER) set(_ASM_COMPILER_WORKS 1) endif() # when using generic "ASM" support, we must have detected the compiler ID, fail otherwise: if("ASM${ASM_DIALECT}" STREQUAL "ASM") if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) set(_ASM_COMPILER_WORKS 0) endif() endif() set(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS ${_ASM_COMPILER_WORKS} CACHE INTERNAL "") cmake-2.8.12.2/Modules/CMakeTestCCompiler.cmake000644 000765 000024 00000007020 12266011634 021665 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2003-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(CMAKE_C_COMPILER_FORCED) # The compiler configuration was forced by the user. # Assume the user has configured all compiler information. set(CMAKE_C_COMPILER_WORKS TRUE) return() endif() include(CMakeTestCompilerCommon) # Remove any cached result from an older CMake version. # We now store this in CMakeCCompiler.cmake. unset(CMAKE_C_COMPILER_WORKS CACHE) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that that selected C compiler can actually compile # and link the most basic of programs. If not, a fatal error # is set and cmake stops processing commands and will not generate # any makefiles or projects. if(NOT CMAKE_C_COMPILER_WORKS) PrintTestCompilerStatus("C" "") file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCCompiler.c "#ifdef __cplusplus\n" "# error \"The CMAKE_C_COMPILER is set to a C++ compiler\"\n" "#endif\n" "#if defined(__CLASSIC_C__)\n" "int main(argc, argv)\n" " int argc;\n" " char* argv[];\n" "#else\n" "int main(int argc, char* argv[])\n" "#endif\n" "{ (void)argv; return argc-1;}\n") try_compile(CMAKE_C_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCCompiler.c OUTPUT_VARIABLE __CMAKE_C_COMPILER_OUTPUT) # Move result from cache to normal variable. set(CMAKE_C_COMPILER_WORKS ${CMAKE_C_COMPILER_WORKS}) unset(CMAKE_C_COMPILER_WORKS CACHE) set(C_TEST_WAS_RUN 1) endif() if(NOT CMAKE_C_COMPILER_WORKS) PrintTestCompilerStatus("C" " -- broken") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the C compiler works failed with " "the following output:\n${__CMAKE_C_COMPILER_OUTPUT}\n\n") message(FATAL_ERROR "The C compiler \"${CMAKE_C_COMPILER}\" " "is not able to compile a simple test program.\nIt fails " "with the following output:\n ${__CMAKE_C_COMPILER_OUTPUT}\n\n" "CMake will not be able to correctly generate this project.") else() if(C_TEST_WAS_RUN) PrintTestCompilerStatus("C" " -- works") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the C compiler works passed with " "the following output:\n${__CMAKE_C_COMPILER_OUTPUT}\n\n") endif() # Try to identify the ABI and configure it into CMakeCCompiler.cmake include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerABI.cmake) CMAKE_DETERMINE_COMPILER_ABI(C ${CMAKE_ROOT}/Modules/CMakeCCompilerABI.c) # Re-configure to save learned information. configure_file( ${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) include(${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake) if(CMAKE_C_SIZEOF_DATA_PTR) foreach(f ${CMAKE_C_ABI_FILES}) include(${f}) endforeach() unset(CMAKE_C_ABI_FILES) endif() endif() unset(__CMAKE_C_COMPILER_OUTPUT) cmake-2.8.12.2/Modules/CMakeTestCompilerCommon.cmake000644 000765 000024 00000001576 12266011634 022745 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) function(PrintTestCompilerStatus LANG MSG) if(CMAKE_GENERATOR MATCHES Make) message(STATUS "Check for working ${LANG} compiler: ${CMAKE_${LANG}_COMPILER}${MSG}") else() message(STATUS "Check for working ${LANG} compiler using: ${CMAKE_GENERATOR}${MSG}") endif() endfunction() cmake-2.8.12.2/Modules/CMakeTestCXXCompiler.cmake000644 000765 000024 00000006645 12266011634 022161 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2003-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(CMAKE_CXX_COMPILER_FORCED) # The compiler configuration was forced by the user. # Assume the user has configured all compiler information. set(CMAKE_CXX_COMPILER_WORKS TRUE) return() endif() include(CMakeTestCompilerCommon) # Remove any cached result from an older CMake version. # We now store this in CMakeCXXCompiler.cmake. unset(CMAKE_CXX_COMPILER_WORKS CACHE) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that that selected C++ compiler can actually compile # and link the most basic of programs. If not, a fatal error # is set and cmake stops processing commands and will not generate # any makefiles or projects. if(NOT CMAKE_CXX_COMPILER_WORKS) PrintTestCompilerStatus("CXX" "") file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCXXCompiler.cxx "#ifndef __cplusplus\n" "# error \"The CMAKE_CXX_COMPILER is set to a C compiler\"\n" "#endif\n" "int main(){return 0;}\n") try_compile(CMAKE_CXX_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCXXCompiler.cxx OUTPUT_VARIABLE __CMAKE_CXX_COMPILER_OUTPUT) # Move result from cache to normal variable. set(CMAKE_CXX_COMPILER_WORKS ${CMAKE_CXX_COMPILER_WORKS}) unset(CMAKE_CXX_COMPILER_WORKS CACHE) set(CXX_TEST_WAS_RUN 1) endif() if(NOT CMAKE_CXX_COMPILER_WORKS) PrintTestCompilerStatus("CXX" " -- broken") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the CXX compiler works failed with " "the following output:\n${__CMAKE_CXX_COMPILER_OUTPUT}\n\n") message(FATAL_ERROR "The C++ compiler \"${CMAKE_CXX_COMPILER}\" " "is not able to compile a simple test program.\nIt fails " "with the following output:\n ${__CMAKE_CXX_COMPILER_OUTPUT}\n\n" "CMake will not be able to correctly generate this project.") else() if(CXX_TEST_WAS_RUN) PrintTestCompilerStatus("CXX" " -- works") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the CXX compiler works passed with " "the following output:\n${__CMAKE_CXX_COMPILER_OUTPUT}\n\n") endif() # Try to identify the ABI and configure it into CMakeCXXCompiler.cmake include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerABI.cmake) CMAKE_DETERMINE_COMPILER_ABI(CXX ${CMAKE_ROOT}/Modules/CMakeCXXCompilerABI.cpp) # Re-configure to save learned information. configure_file( ${CMAKE_ROOT}/Modules/CMakeCXXCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeCXXCompiler.cmake @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) include(${CMAKE_PLATFORM_INFO_DIR}/CMakeCXXCompiler.cmake) if(CMAKE_CXX_SIZEOF_DATA_PTR) foreach(f ${CMAKE_CXX_ABI_FILES}) include(${f}) endforeach() unset(CMAKE_CXX_ABI_FILES) endif() endif() unset(__CMAKE_CXX_COMPILER_OUTPUT) cmake-2.8.12.2/Modules/CMakeTestFortranCompiler.cmake000644 000765 000024 00000011407 12266011634 023122 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(CMAKE_Fortran_COMPILER_FORCED) # The compiler configuration was forced by the user. # Assume the user has configured all compiler information. set(CMAKE_Fortran_COMPILER_WORKS TRUE) return() endif() include(CMakeTestCompilerCommon) # Remove any cached result from an older CMake version. # We now store this in CMakeFortranCompiler.cmake. unset(CMAKE_Fortran_COMPILER_WORKS CACHE) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that that selected Fortran compiler can actually compile # and link the most basic of programs. If not, a fatal error # is set and cmake stops processing commands and will not generate # any makefiles or projects. if(NOT CMAKE_Fortran_COMPILER_WORKS) PrintTestCompilerStatus("Fortran" "") file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler.f " PROGRAM TESTFortran PRINT *, 'Hello' END ") try_compile(CMAKE_Fortran_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler.f OUTPUT_VARIABLE OUTPUT) # Move result from cache to normal variable. set(CMAKE_Fortran_COMPILER_WORKS ${CMAKE_Fortran_COMPILER_WORKS}) unset(CMAKE_Fortran_COMPILER_WORKS CACHE) set(FORTRAN_TEST_WAS_RUN 1) endif() if(NOT CMAKE_Fortran_COMPILER_WORKS) PrintTestCompilerStatus("Fortran" " -- broken") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the Fortran compiler works failed with " "the following output:\n${OUTPUT}\n\n") message(FATAL_ERROR "The Fortran compiler \"${CMAKE_Fortran_COMPILER}\" " "is not able to compile a simple test program.\nIt fails " "with the following output:\n ${OUTPUT}\n\n" "CMake will not be able to correctly generate this project.") else() if(FORTRAN_TEST_WAS_RUN) PrintTestCompilerStatus("Fortran" " -- works") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the Fortran compiler works passed with " "the following output:\n${OUTPUT}\n\n") endif() # Try to identify the ABI and configure it into CMakeFortranCompiler.cmake include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerABI.cmake) CMAKE_DETERMINE_COMPILER_ABI(Fortran ${CMAKE_ROOT}/Modules/CMakeFortranCompilerABI.F) # Test for Fortran 90 support by using an f90-specific construct. if(NOT DEFINED CMAKE_Fortran_COMPILER_SUPPORTS_F90) message(STATUS "Checking whether ${CMAKE_Fortran_COMPILER} supports Fortran 90") file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompilerF90.f90 " PROGRAM TESTFortran90 integer stop ; stop = 1 ; do while ( stop .eq. 0 ) ; end do END PROGRAM TESTFortran90 ") try_compile(CMAKE_Fortran_COMPILER_SUPPORTS_F90 ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompilerF90.f90 OUTPUT_VARIABLE OUTPUT) if(CMAKE_Fortran_COMPILER_SUPPORTS_F90) message(STATUS "Checking whether ${CMAKE_Fortran_COMPILER} supports Fortran 90 -- yes") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the Fortran compiler supports Fortran 90 passed with " "the following output:\n${OUTPUT}\n\n") set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 1) else() message(STATUS "Checking whether ${CMAKE_Fortran_COMPILER} supports Fortran 90 -- no") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the Fortran compiler supports Fortran 90 failed with " "the following output:\n${OUTPUT}\n\n") set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 0) endif() unset(CMAKE_Fortran_COMPILER_SUPPORTS_F90 CACHE) endif() # Re-configure to save learned information. configure_file( ${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in ${CMAKE_PLATFORM_INFO_DIR}/CMakeFortranCompiler.cmake @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) include(${CMAKE_PLATFORM_INFO_DIR}/CMakeFortranCompiler.cmake) if(CMAKE_Fortran_SIZEOF_DATA_PTR) foreach(f ${CMAKE_Fortran_ABI_FILES}) include(${f}) endforeach() unset(CMAKE_Fortran_ABI_FILES) endif() endif() cmake-2.8.12.2/Modules/CMakeTestGNU.c000644 000765 000024 00000000257 12266011634 017610 0ustar00kitwarestaff000000 000000 #if defined(__GNUC__) && !defined(__INTEL_COMPILER) void THIS_IS_GNU(); #endif #ifdef __MINGW32__ void THIS_IS_MINGW(); #endif #ifdef __CYGWIN__ void THIS_IS_CYGWIN(); #endif cmake-2.8.12.2/Modules/CMakeTestJavaCompiler.cmake000644 000765 000024 00000001666 12266011634 022376 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that that selected Fortran compiler can actually compile # and link the most basic of programs. If not, a fatal error # is set and cmake stops processing commands and will not generate # any makefiles or projects. set(CMAKE_Java_COMPILER_WORKS 1 CACHE INTERNAL "") cmake-2.8.12.2/Modules/CMakeTestRCCompiler.cmake000644 000765 000024 00000002017 12266011634 022010 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This file is used by EnableLanguage in cmGlobalGenerator to # determine that that selected RC compiler can actually compile # and link the most basic of programs. If not, a fatal error # is set and cmake stops processing commands and will not generate # any makefiles or projects. # For now there is no way to do a try compile on just a .rc file # so just do nothing in here. set(CMAKE_RC_COMPILER_WORKS 1 CACHE INTERNAL "") cmake-2.8.12.2/Modules/CMakeTestWatcomVersion.c000644 000765 000024 00000000024 12266011634 021747 0ustar00kitwarestaff000000 000000 VERSION=__WATCOMC__ cmake-2.8.12.2/Modules/CMakeUnixFindMake.cmake000644 000765 000024 00000002020 12266011634 021465 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM NAMES gmake make smake) mark_as_advanced(CMAKE_MAKE_PROGRAM) # Look for a make tool provided by Xcode if(NOT CMAKE_MAKE_PROGRAM AND CMAKE_HOST_APPLE) execute_process(COMMAND xcrun --find make OUTPUT_VARIABLE _xcrun_out OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE _xcrun_err) if(_xcrun_out) set_property(CACHE CMAKE_MAKE_PROGRAM PROPERTY VALUE "${_xcrun_out}") endif() endif() cmake-2.8.12.2/Modules/CMakeVerifyManifest.cmake000644 000765 000024 00000010244 12266011634 022105 0ustar00kitwarestaff000000 000000 # CMakeVerifyManifest.cmake # # This script is used to verify that embeded manifests and # side by side manifests for a project match. To run this # script, cd to a directory and run the script with cmake -P. # On the command line you can pass in versions that are OK even # if not found in the .manifest files. For example, # cmake -Dallow_versions=8.0.50608.0 -PCmakeVerifyManifest.cmake # could be used to allow an embeded manifest of 8.0.50608.0 # to be used in a project even if that version was not found # in the .manifest file. # This script first recursively globs *.manifest files from # the current directory. Then globs *.exe and *.dll. Each # .exe and .dll is scanned for embeded manifests and the versions # of CRT are compared to those found in the .manifest files # from the first glob. #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # crt_version: # function to extract the CRT version from a file # this can be passed a .exe, .dll, or a .manifest file # it will put the list of versions found into the variable # specified by list_var function(crt_version file list_var) file(STRINGS "${file}" strings REGEX "Microsoft.VC...CRT" NEWLINE_CONSUME) foreach(s ${strings}) set(has_match 1) string(REGEX REPLACE ".*.*$" "\\1" version "${s}") if(NOT "${version}" STREQUAL "") list(APPEND version_list ${version}) else() message(FATAL_ERROR "Parse error could not find version in [${s}]") endif() endforeach() if(NOT DEFINED has_match) message("Information: no embeded manifest in: ${file}") return() endif() list(APPEND version_list ${${list_var}}) list(REMOVE_DUPLICATES version_list) if(version_list) set(${list_var} ${version_list} PARENT_SCOPE) endif() endfunction() set(fatal_error FALSE) # check_version: # # test a file against the shipped manifest versions # for a directory function(check_version file manifest_versions) set(manifest_versions ${manifest_versions} ${allow_versions}) # collect versions for a given file crt_version(${file} file_versions) # see if the versions foreach(ver ${file_versions}) list(FIND manifest_versions "${ver}" found_version) if("${found_version}" EQUAL -1) message("ERROR: ${file} uses ${ver} not found in shipped manifests:[${manifest_versions}].") set(fatal_error TRUE PARENT_SCOPE) endif() endforeach() list(LENGTH file_versions len) if(${len} GREATER 1) message("WARNING: found more than one version of MICROSOFT.VC80.CRT referenced in ${file}: [${file_versions}]") endif() endfunction() # collect up the versions of CRT that are shipped # in .manifest files set(manifest_version_list ) file(GLOB_RECURSE manifest_files "*.manifest") foreach(f ${manifest_files}) crt_version("${f}" manifest_version_list) endforeach() list(LENGTH manifest_version_list LEN) if(LEN EQUAL 0) message(FATAL_ERROR "No .manifest files found, no version check can be done.") endif() message("Versions found in ${manifest_files}: ${manifest_version_list}") if(DEFINED allow_versions) message("Extra versions allowed: ${allow_versions}") endif() # now find all .exe and .dll files # and call check_version on each of them file(GLOB_RECURSE exe_files "*.exe") file(GLOB_RECURSE dll_files "*.dll") set(exe_files ${exe_files} ${dll_files}) foreach(f ${exe_files}) check_version(${f} "${manifest_version_list}") endforeach() # report a fatal error if there were any so that cmake will return # a non zero value if(fatal_error) message(FATAL_ERROR "This distribution embeds dll " " versions that it does not ship, and may not work on other machines.") endif() cmake-2.8.12.2/Modules/CMakeVS10FindMake.cmake000644 000765 000024 00000005230 12266011634 021241 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Look for devenv as a build program. We need to use this to support # Intel Fortran integration into VS. MSBuild can not be used for that case # since Intel Fortran uses the older devenv file format. find_program(CMAKE_MAKE_PROGRAM NAMES devenv HINTS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;EnvironmentDirectory] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup;Dbghelp_path] "$ENV{ProgramFiles}/Microsoft Visual Studio 10.0/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio10.0/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio 10/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio10/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10.0/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10.0/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10/Common7/IDE" "/Program Files/Microsoft Visual Studio 10.0/Common7/IDE/" "/Program Files/Microsoft Visual Studio 10/Common7/IDE/" ) # if devenv is not found, then use MSBuild. # it is expected that if devenv is not found, then we are # dealing with Visual Studio Express. VCExpress has random # failures when being run as a command line build tool which # causes the compiler checks and try-compile stuff to fail. MSbuild # is a better choice for this. However, VCExpress does not support # cross compiling needed for Win CE. if(NOT CMAKE_CROSSCOMPILING) find_program(CMAKE_MAKE_PROGRAM NAMES MSBuild HINTS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;ProductDir] "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/" "c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/" "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\10.0;CLR Version]/") endif() mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC10 1) set(MSVC_VERSION 1600) cmake-2.8.12.2/Modules/CMakeVS11FindMake.cmake000644 000765 000024 00000005156 12266011634 021251 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Look for devenv as a build program. We need to use this to support # Intel Fortran integration into VS. MSBuild can not be used for that case # since Intel Fortran uses the older devenv file format. find_program(CMAKE_MAKE_PROGRAM NAMES devenv HINTS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;EnvironmentDirectory] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup;Dbghelp_path] "$ENV{ProgramFiles}/Microsoft Visual Studio 11.0/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio11.0/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio 11/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio11/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 11.0/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio11.0/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 11/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio11/Common7/IDE" "/Program Files/Microsoft Visual Studio 11.0/Common7/IDE/" "/Program Files/Microsoft Visual Studio 11/Common7/IDE/" ) # if devenv is not found, then use MSBuild. # it is expected that if devenv is not found, then we are # dealing with Visual Studio Express. if(NOT CMAKE_CROSSCOMPILING) set(_FDIR "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7;FrameworkDir32]") set(_FVER "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7;FrameworkVer32]") find_program(CMAKE_MAKE_PROGRAM NAMES MSBuild HINTS ${_FDIR}/${_FVER} [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir] "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR Version]/" "c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR Version]/" "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0;CLR Version]/") endif() mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC11 1) set(MSVC_VERSION 1700) cmake-2.8.12.2/Modules/CMakeVS12FindMake.cmake000644 000765 000024 00000002137 12266011634 021246 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2013 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Always use MSBuild because: # - devenv treats command-line builds as recently-loaded projects in the IDE # - devenv does not appear to support non-standard platform toolsets # If we need devenv for Intel Fortran in the future we should add # a special case when Fortran is enabled. find_program(CMAKE_MAKE_PROGRAM NAMES MSBuild HINTS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\12.0;MSBuildToolsPath]" ) mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC12 1) set(MSVC_VERSION 1800) cmake-2.8.12.2/Modules/CMakeVS6BackwardCompatibility.cmake000644 000765 000024 00000002626 12266011634 023766 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # hard code these for fast backwards compatibility tests set (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type") set (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type") set (CMAKE_SIZEOF_VOID_P 4 CACHE INTERNAL "Size of void* data type") set (CMAKE_SIZEOF_CHAR 1 CACHE INTERNAL "Size of char data type") set (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type") set (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type") set (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") set (CMAKE_NO_ANSI_FOR_SCOPE 1 CACHE INTERNAL "Does the compiler support ansi for scope.") set (CMAKE_USE_WIN32_THREADS TRUE CACHE BOOL "Use the win32 thread library.") set (CMAKE_WORDS_BIGENDIAN 0 CACHE INTERNAL "endianness of bytes") cmake-2.8.12.2/Modules/CMakeVS6FindMake.cmake000644 000765 000024 00000002001 12266011634 021157 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM NAMES msdev PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\6.0\\Setup;VsCommonDir]/MSDev98/Bin "c:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin" "c:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin" "/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin" ) mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC60 1) set(MSVC_VERSION 1200) cmake-2.8.12.2/Modules/CMakeVS71FindMake.cmake000644 000765 000024 00000002075 12266011634 021254 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2003-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM NAMES devenv PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Setup\\VS;EnvironmentDirectory] "$ENV{ProgramFiles}/Microsoft Visual Studio .NET/Common7/IDE" "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE" "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE" "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/" ) mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC71 1) set(MSVC_VERSION 1310) cmake-2.8.12.2/Modules/CMakeVS7BackwardCompatibility.cmake000644 000765 000024 00000002626 12266011634 023767 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # hard code these for fast backwards compatibility tests set (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type") set (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type") set (CMAKE_SIZEOF_VOID_P 4 CACHE INTERNAL "Size of void* data type") set (CMAKE_SIZEOF_CHAR 1 CACHE INTERNAL "Size of char data type") set (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type") set (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type") set (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") set (CMAKE_NO_ANSI_FOR_SCOPE 0 CACHE INTERNAL "Does the compiler support ansi for scope.") set (CMAKE_USE_WIN32_THREADS TRUE CACHE BOOL "Use the win32 thread library.") set (CMAKE_WORDS_BIGENDIAN 0 CACHE INTERNAL "endianness of bytes") cmake-2.8.12.2/Modules/CMakeVS7FindMake.cmake000644 000765 000024 00000001775 12266011634 021201 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(CMAKE_MAKE_PROGRAM NAMES devenv PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.0\\Setup\\VS;EnvironmentDirectory] "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE" "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE" "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/" ) mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC70 1) set(MSVC_VERSION 1300) cmake-2.8.12.2/Modules/CMakeVS8FindMake.cmake000644 000765 000024 00000002710 12266011634 021170 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # VCExpress does not support cross compiling, which is necessary for Win CE set( _CMAKE_MAKE_PROGRAM_NAMES devenv) if(NOT CMAKE_CROSSCOMPILING) set( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress) endif() find_program(CMAKE_MAKE_PROGRAM NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} HINTS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VS;EnvironmentDirectory] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path] "$ENV{ProgramFiles}/Microsoft Visual Studio 8/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio8/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 8/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio8/Common7/IDE" "/Program Files/Microsoft Visual Studio 8/Common7/IDE/" ) mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC80 1) set(MSVC_VERSION 1400) cmake-2.8.12.2/Modules/CMakeVS9FindMake.cmake000644 000765 000024 00000003412 12266011634 021171 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # VCExpress does not support cross compiling, which is necessary for Win CE set( _CMAKE_MAKE_PROGRAM_NAMES devenv) if(NOT CMAKE_CROSSCOMPILING) set( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress) endif() find_program(CMAKE_MAKE_PROGRAM NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} HINTS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup\\VS;EnvironmentDirectory] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup;Dbghelp_path] "$ENV{ProgramFiles}/Microsoft Visual Studio 9.0/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio9.0/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio 9/Common7/IDE" "$ENV{ProgramFiles}/Microsoft Visual Studio9/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 9.0/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio9.0/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 9/Common7/IDE" "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio9/Common7/IDE" "/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/" "/Program Files/Microsoft Visual Studio 9/Common7/IDE/" ) mark_as_advanced(CMAKE_MAKE_PROGRAM) set(MSVC90 1) set(MSVC_VERSION 1500) cmake-2.8.12.2/Modules/Compiler/Absoft-Fortran.cmake000644 000765 000024 00000000656 12266011634 022660 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_FLAGS_INIT "") set(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g") set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "") set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3") set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") set(CMAKE_Fortran_MODDIR_FLAG "-YMOD_OUT_DIR=") set(CMAKE_Fortran_MODPATH_FLAG "-p") set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree") cmake-2.8.12.2/Modules/Compiler/Clang-ASM.cmake000644 000765 000024 00000000136 12266011634 021464 0ustar00kitwarestaff000000 000000 include(Compiler/Clang) set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S;asm) __compiler_clang(ASM) cmake-2.8.12.2/Modules/Compiler/Clang-C.cmake000644 000765 000024 00000000054 12266011634 021225 0ustar00kitwarestaff000000 000000 include(Compiler/Clang) __compiler_clang(C) cmake-2.8.12.2/Modules/Compiler/Clang-CXX.cmake000644 000765 000024 00000000206 12266011634 021504 0ustar00kitwarestaff000000 000000 include(Compiler/Clang) __compiler_clang(CXX) set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden") cmake-2.8.12.2/Modules/Compiler/Clang.cmake000644 000765 000024 00000001745 12266011634 021055 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__COMPILER_CLANG) return() endif() set(__COMPILER_CLANG 1) include(Compiler/GNU) macro(__compiler_clang lang) __compiler_gnu(${lang}) set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ") set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=") endmacro() cmake-2.8.12.2/Modules/Compiler/Cray-C.cmake000644 000765 000024 00000000037 12266011634 021100 0ustar00kitwarestaff000000 000000 set(CMAKE_C_VERBOSE_FLAG "-v") cmake-2.8.12.2/Modules/Compiler/Cray-CXX.cmake000644 000765 000024 00000000041 12266011634 021353 0ustar00kitwarestaff000000 000000 set(CMAKE_CXX_VERBOSE_FLAG "-v") cmake-2.8.12.2/Modules/Compiler/Cray-Fortran.cmake000644 000765 000024 00000000354 12266011634 022333 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_MODOUT_FLAG -em) set(CMAKE_Fortran_MODDIR_FLAG -J) set(CMAKE_Fortran_MODDIR_DEFAULT .) set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-f fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-f free") cmake-2.8.12.2/Modules/Compiler/G95-Fortran.cmake000644 000765 000024 00000000616 12266011634 022002 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_FLAGS_INIT "") set(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g") set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os") set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3") set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") set(CMAKE_Fortran_MODDIR_FLAG "-fmod=") set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form") cmake-2.8.12.2/Modules/Compiler/GNU-ASM.cmake000644 000765 000024 00000000264 12266011634 021073 0ustar00kitwarestaff000000 000000 # This file is loaded when gcc/g++ is used for assembler files (the "ASM" cmake language) include(Compiler/GNU) set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S;asm) __compiler_gnu(ASM) cmake-2.8.12.2/Modules/Compiler/GNU-C.cmake000644 000765 000024 00000000050 12266011634 020626 0ustar00kitwarestaff000000 000000 include(Compiler/GNU) __compiler_gnu(C) cmake-2.8.12.2/Modules/Compiler/GNU-CXX.cmake000644 000765 000024 00000000572 12266011634 021117 0ustar00kitwarestaff000000 000000 include(Compiler/GNU) __compiler_gnu(CXX) if (WIN32) if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6) set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fno-keep-inline-dllexport") endif() else() if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.2) set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden") endif() endif() cmake-2.8.12.2/Modules/Compiler/GNU-Fortran.cmake000644 000765 000024 00000000777 12266011634 022077 0ustar00kitwarestaff000000 000000 include(Compiler/GNU) __compiler_gnu(Fortran) set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form") # No -DNDEBUG for Fortran. set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os") set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3") # We require updates to CMake C++ code to support preprocessing rules # for Fortran. set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE) set(CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE) # Fortran-specific feature flags. set(CMAKE_Fortran_MODDIR_FLAG -J) cmake-2.8.12.2/Modules/Compiler/GNU.cmake000644 000765 000024 00000004712 12266011634 020457 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__COMPILER_GNU) return() endif() set(__COMPILER_GNU 1) macro(__compiler_gnu lang) # Feature flags. set(CMAKE_${lang}_VERBOSE_FLAG "-v") set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC") if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.4) set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") endif() if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 4.2) set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=") endif() set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared") # Older versions of gcc (< 4.5) contain a bug causing them to report a missing # header file as a warning if depfiles are enabled, causing check_header_file # tests to always succeed. Work around this by disabling dependency tracking # in try_compile mode. get_property(_IN_TC GLOBAL PROPERTY IN_TRY_COMPILE) if(NOT _IN_TC OR CMAKE_FORCE_DEPFILES) # distcc does not transform -o to -MT when invoking the preprocessor # internally, as it ought to. Work around this bug by setting -MT here # even though it isn't strictly necessary. set(CMAKE_DEPFILE_FLAGS_${lang} "-MMD -MT -MF ") endif() # Initial configuration flags. set(CMAKE_${lang}_FLAGS_INIT "") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG") set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE " -S -o ") if(NOT APPLE) set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ") endif() endmacro() cmake-2.8.12.2/Modules/Compiler/HP-ASM.cmake000644 000765 000024 00000000113 12266011634 020742 0ustar00kitwarestaff000000 000000 set(CMAKE_ASM_VERBOSE_FLAG "-v") set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s ) cmake-2.8.12.2/Modules/Compiler/HP-C.cmake000644 000765 000024 00000000377 12266011634 020520 0ustar00kitwarestaff000000 000000 set(CMAKE_C_VERBOSE_FLAG "-v") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S -o ") set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") cmake-2.8.12.2/Modules/Compiler/HP-CXX.cmake000644 000765 000024 00000000411 12266011634 020765 0ustar00kitwarestaff000000 000000 set(CMAKE_CXX_VERBOSE_FLAG "-v") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S -o ") set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") cmake-2.8.12.2/Modules/Compiler/HP-Fortran.cmake000644 000765 000024 00000000215 12266011634 021740 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "+source=fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "+source=free") cmake-2.8.12.2/Modules/Compiler/IAR-ASM.cmake000644 000765 000024 00000000633 12266011634 021055 0ustar00kitwarestaff000000 000000 # This file is processed when the IAR compiler is used for an assembler file include(Compiler/IAR) set(CMAKE_ASM_COMPILE_OBJECT " -o ") if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "ARM") set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa) endif() if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "AVR") set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s90;asm;msa) endif() cmake-2.8.12.2/Modules/Compiler/IAR-C.cmake000644 000765 000024 00000002523 12266011634 020617 0ustar00kitwarestaff000000 000000 # This file is processed when the IAR compiler is used for a C file include(Compiler/IAR) set(CMAKE_C_COMPILE_OBJECT " -o ") set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " --preprocess=cnl ") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " -lAH -o .dummy") # The toolchains for ARM and AVR are quite different: if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "ARM") set(CMAKE_C_LINK_EXECUTABLE " -o ") set(CMAKE_C_CREATE_STATIC_LIBRARY " --create ") endif() if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "AVR") set(CMAKE_C_OUTPUT_EXTENSION ".r90") if(NOT CMAKE_C_LINK_FLAGS) set(CMAKE_C_LINK_FLAGS "-Fmotorola") endif() set(CMAKE_C_LINK_EXECUTABLE " -o ") set(CMAKE_C_CREATE_STATIC_LIBRARY " -o ") endif() # add the target specific include directory: get_filename_component(_compilerDir "${CMAKE_C_COMPILER}" PATH) get_filename_component(_compilerDir "${_compilerDir}" PATH) include_directories("${_compilerDir}/inc" ) cmake-2.8.12.2/Modules/Compiler/IAR-CXX.cmake000644 000765 000024 00000002462 12266011634 021101 0ustar00kitwarestaff000000 000000 # This file is processed when the IAR compiler is used for a C++ file include(Compiler/IAR) set(CMAKE_CXX_COMPILE_OBJECT " -o ") set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " --preprocess=cnl ") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -lAH -o .dummy") if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "ARM") set(CMAKE_CXX_LINK_EXECUTABLE " -o ") set(CMAKE_CXX_CREATE_STATIC_LIBRARY " --create ") endif() if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "AVR") set(CMAKE_CXX_OUTPUT_EXTENSION ".r90") if(NOT CMAKE_CXX_LINK_FLAGS) set(CMAKE_CXX_LINK_FLAGS "-Fmotorola") endif() set(CMAKE_CXX_LINK_EXECUTABLE " -o ") set(CMAKE_CXX_CREATE_STATIC_LIBRARY " -o ") endif() # add the target specific include directory: get_filename_component(_compilerDir "${CMAKE_C_COMPILER}" PATH) get_filename_component(_compilerDir "${_compilerDir}" PATH) include_directories("${_compilerDir}/inc") cmake-2.8.12.2/Modules/Compiler/IAR.cmake000644 000765 000024 00000004346 12266011634 020444 0ustar00kitwarestaff000000 000000 # This file is processed when the IAR compiler is used for a C or C++ file # Documentation can be downloaded here: http://www.iar.com/website1/1.0.1.0/675/1/ # The initial feature request is here: http://www.cmake.org/Bug/view.php?id=10176 # It also contains additional links and information. if(_IAR_CMAKE_LOADED) return() endif() set(_IAR_CMAKE_LOADED TRUE) get_filename_component(_CMAKE_C_TOOLCHAIN_LOCATION "${CMAKE_C_COMPILER}" PATH) get_filename_component(_CMAKE_CXX_TOOLCHAIN_LOCATION "${CMAKE_CXX_COMPILER}" PATH) get_filename_component(_CMAKE_ASM_TOOLCHAIN_LOCATION "${CMAKE_ASM_COMPILER}" PATH) if("${CMAKE_C_COMPILER}" MATCHES "arm" OR "${CMAKE_CXX_COMPILER}" MATCHES "arm" OR "${CMAKE_ASM_COMPILER}" MATCHES "arm") set(CMAKE_EXECUTABLE_SUFFIX ".elf") # For arm, IAR uses the "ilinkarm" linker and "iarchive" archiver: find_program(CMAKE_IAR_LINKER ilinkarm HINTS "${_CMAKE_C_TOOLCHAIN_LOCATION}" "${_CMAKE_CXX_TOOLCHAIN_LOCATION}" "${_CMAKE_ASM_TOOLCHAIN_LOCATION}") find_program(CMAKE_IAR_AR iarchive HINTS "${_CMAKE_C_TOOLCHAIN_LOCATION}" "${_CMAKE_CXX_TOOLCHAIN_LOCATION}" "${_CMAKE_ASM_TOOLCHAIN_LOCATION}" ) set(IAR_TARGET_ARCHITECTURE "ARM" CACHE STRING "IAR compiler target architecture") endif() if("${CMAKE_C_COMPILER}" MATCHES "avr" OR "${CMAKE_CXX_COMPILER}" MATCHES "avr" OR "${CMAKE_ASM_COMPILER}" MATCHES "avr") set(CMAKE_EXECUTABLE_SUFFIX ".bin") # For AVR and AVR32, IAR uses the "xlink" linker and the "xar" archiver: find_program(CMAKE_IAR_LINKER xlink HINTS "${_CMAKE_C_TOOLCHAIN_LOCATION}" "${_CMAKE_CXX_TOOLCHAIN_LOCATION}" "${_CMAKE_ASM_TOOLCHAIN_LOCATION}" ) find_program(CMAKE_IAR_AR xar HINTS "${_CMAKE_C_TOOLCHAIN_LOCATION}" "${_CMAKE_CXX_TOOLCHAIN_LOCATION}" "${_CMAKE_ASM_TOOLCHAIN_LOCATION}" ) set(IAR_TARGET_ARCHITECTURE "AVR" CACHE STRING "IAR compiler target architecture") set(CMAKE_LIBRARY_PATH_FLAG "-I") endif() if(NOT IAR_TARGET_ARCHITECTURE) message(FATAL_ERROR "The IAR compiler for this architecture is not yet supported " " by CMake. Please go to http://www.cmake.org/Bug and enter a feature request there.") endif() set(CMAKE_LINKER "${CMAKE_IAR_LINKER}" CACHE FILEPATH "The IAR linker" FORCE) set(CMAKE_AR "${CMAKE_IAR_AR}" CACHE FILEPATH "The IAR archiver" FORCE) cmake-2.8.12.2/Modules/Compiler/Intel-ASM.cmake000644 000765 000024 00000000565 12266011634 021521 0ustar00kitwarestaff000000 000000 set(CMAKE_ASM_VERBOSE_FLAG "-v") set(CMAKE_ASM_FLAGS_INIT "") set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g") set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") set(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG") if(UNIX) set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S) else() set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm) endif() cmake-2.8.12.2/Modules/Compiler/Intel-C.cmake000644 000765 000024 00000001116 12266011634 021254 0ustar00kitwarestaff000000 000000 set(CMAKE_C_VERBOSE_FLAG "-v") set(CMAKE_C_FLAGS_INIT "") set(CMAKE_C_FLAGS_DEBUG_INIT "-g") set(CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") set(CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG") if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 12.0) set(CMAKE_C_COMPILE_OPTIONS_VISIBILITY "-fvisibility=") endif() set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S -o ") cmake-2.8.12.2/Modules/Compiler/Intel-CXX.cmake000644 000765 000024 00000001146 12266011634 021537 0ustar00kitwarestaff000000 000000 set(CMAKE_CXX_VERBOSE_FLAG "-v") set(CMAKE_CXX_FLAGS_INIT "") set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG") if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0) set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=") endif() set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S -o ") cmake-2.8.12.2/Modules/Compiler/Intel-Fortran.cmake000644 000765 000024 00000000604 12266011634 022506 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_FLAGS_INIT "") set(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g") set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os") set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3") set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") set(CMAKE_Fortran_MODDIR_FLAG "-module ") set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free") cmake-2.8.12.2/Modules/Compiler/MIPSpro-C.cmake000644 000765 000024 00000000037 12266011634 021473 0ustar00kitwarestaff000000 000000 set(CMAKE_C_VERBOSE_FLAG "-v") cmake-2.8.12.2/Modules/Compiler/MIPSpro-CXX.cmake000644 000765 000024 00000000041 12266011634 021746 0ustar00kitwarestaff000000 000000 set(CMAKE_CXX_VERBOSE_FLAG "-v") cmake-2.8.12.2/Modules/Compiler/MIPSpro-Fortran.cmake000644 000765 000024 00000000207 12266011634 022723 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixedform") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-freeform") cmake-2.8.12.2/Modules/Compiler/NAG-Fortran.cmake000644 000765 000024 00000003053 12266011634 022041 0ustar00kitwarestaff000000 000000 # Help CMAKE_PARSE_IMPLICIT_LINK_INFO detect NAG Fortran object files. if(NOT CMAKE_Fortran_COMPILER_WORKS AND NOT CMAKE_Fortran_COMPILER_FORCED) message(STATUS "Detecting NAG Fortran directory") # Run with -dryrun to see sample "link" line. execute_process( COMMAND ${CMAKE_Fortran_COMPILER} dummy.o -dryrun OUTPUT_VARIABLE _dryrun ERROR_VARIABLE _dryrun ) # Match an object file. string(REGEX MATCH "/[^ ]*/[^ /][^ /]*\\.o" _nag_obj "${_dryrun}") if(_nag_obj) # Parse object directory and convert to a regex. string(REGEX REPLACE "/[^/]*$" "" _nag_dir "${_nag_obj}") string(REGEX REPLACE "([][+.*()^])" "\\\\\\1" _nag_regex "${_nag_dir}") set(CMAKE_Fortran_IMPLICIT_OBJECT_REGEX "^${_nag_regex}/") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Detecting NAG Fortran directory with -dryrun found\n" " object: ${_nag_obj}\n" " directory: ${_nag_dir}\n" " regex: ${CMAKE_Fortran_IMPLICIT_OBJECT_REGEX}\n" "from output:\n${_dryrun}\n\n") message(STATUS "Detecting NAG Fortran directory - ${_nag_dir}") else() file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Detecting NAG Fortran directory with -dryrun failed:\n${_dryrun}\n\n") message(STATUS "Detecting NAG Fortran directory - failed") endif() endif() set(CMAKE_Fortran_MODDIR_FLAG "-mdir ") set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-PIC") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free") set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-PIC") cmake-2.8.12.2/Modules/Compiler/PathScale-C.cmake000644 000765 000024 00000000314 12266011634 022044 0ustar00kitwarestaff000000 000000 include(Compiler/PathScale) __compiler_pathscale(C) set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG") set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG") cmake-2.8.12.2/Modules/Compiler/PathScale-CXX.cmake000644 000765 000024 00000000326 12266011634 022327 0ustar00kitwarestaff000000 000000 include(Compiler/PathScale) __compiler_pathscale(CXX) set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "${CMAKE_CXX_FLAGS_MINSIZEREL_INIT} -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE_INIT "${CMAKE_CXX_FLAGS_RELEASE_INIT} -DNDEBUG") cmake-2.8.12.2/Modules/Compiler/PathScale-Fortran.cmake000644 000765 000024 00000000307 12266011634 023277 0ustar00kitwarestaff000000 000000 include(Compiler/PathScale) __compiler_pathscale(Fortran) set(CMAKE_Fortran_MODDIR_FLAG "-module ") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixedform") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-freeform") cmake-2.8.12.2/Modules/Compiler/PathScale.cmake000644 000765 000024 00000002137 12266011634 021671 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__COMPILER_PATHSCALE) return() endif() set(__COMPILER_PATHSCALE 1) macro(__compiler_pathscale lang) # Feature flags. set(CMAKE_${lang}_VERBOSE_FLAG "-v") # Initial configuration flags. set(CMAKE_${lang}_FLAGS_INIT "") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g -O0") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-Os") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O3") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-g -O2") endmacro() cmake-2.8.12.2/Modules/Compiler/PGI-C.cmake000644 000765 000024 00000000300 12266011634 020612 0ustar00kitwarestaff000000 000000 include(Compiler/PGI) __compiler_pgi(C) set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG") set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG") cmake-2.8.12.2/Modules/Compiler/PGI-CXX.cmake000644 000765 000024 00000000312 12266011634 021075 0ustar00kitwarestaff000000 000000 include(Compiler/PGI) __compiler_pgi(CXX) set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "${CMAKE_CXX_FLAGS_MINSIZEREL_INIT} -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE_INIT "${CMAKE_CXX_FLAGS_RELEASE_INIT} -DNDEBUG") cmake-2.8.12.2/Modules/Compiler/PGI-Fortran.cmake000644 000765 000024 00000001017 12266011634 022051 0ustar00kitwarestaff000000 000000 include(Compiler/PGI) __compiler_pgi(Fortran) set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Mnofreeform") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Mfreeform") set(CMAKE_Fortran_FLAGS_INIT "${CMAKE_Fortran_FLAGS_INIT} -Mpreprocess -Kieee") set(CMAKE_Fortran_FLAGS_DEBUG_INIT "${CMAKE_Fortran_FLAGS_DEBUG_INIT} -Mbounds") # We require updates to CMake C++ code to support preprocessing rules # for Fortran. set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE) set(CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE) set(CMAKE_Fortran_MODDIR_FLAG "-module ") cmake-2.8.12.2/Modules/Compiler/PGI.cmake000644 000765 000024 00000002606 12266011634 020445 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__COMPILER_PGI) return() endif() set(__COMPILER_PGI 1) macro(__compiler_pgi lang) # Feature flags. set(CMAKE_${lang}_VERBOSE_FLAG "-v") # Initial configuration flags. set(CMAKE_${lang}_FLAGS_INIT "") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g -O0") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-O2 -s") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-fast -O3 -Mipa=fast") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-O2 -gopt") # Preprocessing and assembly rules. set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE " -S -o ") endmacro() cmake-2.8.12.2/Modules/Compiler/SCO-C.cmake000644 000765 000024 00000000050 12266011634 020621 0ustar00kitwarestaff000000 000000 include(Compiler/SCO) __compiler_sco(C) cmake-2.8.12.2/Modules/Compiler/SCO-CXX.cmake000644 000765 000024 00000000052 12266011634 021103 0ustar00kitwarestaff000000 000000 include(Compiler/SCO) __compiler_sco(CXX) cmake-2.8.12.2/Modules/Compiler/SCO.cmake000644 000765 000024 00000002046 12266011634 020450 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__COMPILER_SCO) return() endif() set(__COMPILER_SCO 1) macro(__compiler_sco lang) # Feature flags. set(CMAKE_${lang}_COMPILE_OPTIONS_PIC -Kpic) set(CMAKE_${lang}_COMPILE_OPTIONS_PIE -Kpie) set(CMAKE_${lang}_COMPILE_OPTIONS_DLL -belf) set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-Kpic -belf") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-belf -Wl,-Bexport") endmacro() cmake-2.8.12.2/Modules/Compiler/SunPro-ASM.cmake000644 000765 000024 00000001677 12266011634 021701 0ustar00kitwarestaff000000 000000 set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s ) set(CMAKE_ASM_VERBOSE_FLAG "-#") set(CMAKE_SHARED_LIBRARY_ASM_FLAGS "-KPIC") set(CMAKE_SHARED_LIBRARY_CREATE_ASM_FLAGS "-G") set(CMAKE_SHARED_LIBRARY_RUNTIME_ASM_FLAG "-R") set(CMAKE_SHARED_LIBRARY_RUNTIME_ASM_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_ASM_FLAG "-h") set(CMAKE_ASM_FLAGS_INIT "") set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g") set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-xO2 -xspace -DNDEBUG") set(CMAKE_ASM_FLAGS_RELEASE_INIT "-xO3 -DNDEBUG") set(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-g -xO2 -DNDEBUG") # Initialize ASM link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_ASM_FLAGS "-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_ASM_FLAGS "-Bdynamic") endforeach() cmake-2.8.12.2/Modules/Compiler/SunPro-C.cmake000644 000765 000024 00000002247 12266011634 021435 0ustar00kitwarestaff000000 000000 set(CMAKE_C_VERBOSE_FLAG "-#") set(CMAKE_C_COMPILE_OPTIONS_PIC -KPIC) set(CMAKE_C_COMPILE_OPTIONS_PIE -KPIE) set(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-G") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-R") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-h") set(CMAKE_C_FLAGS_INIT "") set(CMAKE_C_FLAGS_DEBUG_INIT "-g") set(CMAKE_C_FLAGS_MINSIZEREL_INIT "-xO2 -xspace -DNDEBUG") set(CMAKE_C_FLAGS_RELEASE_INIT "-xO3 -DNDEBUG") set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g -xO2 -DNDEBUG") # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Bdynamic") endforeach() set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S -o ") cmake-2.8.12.2/Modules/Compiler/SunPro-CXX.cmake000644 000765 000024 00000002706 12266011634 021715 0ustar00kitwarestaff000000 000000 set(CMAKE_CXX_VERBOSE_FLAG "-v") set(CMAKE_CXX_COMPILE_OPTIONS_PIC -KPIC) set(CMAKE_CXX_COMPILE_OPTIONS_PIE -KPIE) set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-KPIC") set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-G") set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-R") set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-h") set(CMAKE_CXX_FLAGS_INIT "") set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-xO2 -xspace -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE_INIT "-xO3 -DNDEBUG") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-g -xO2 -DNDEBUG") # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_CXX_FLAGS "-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_CXX_FLAGS "-Bdynamic") endforeach() set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S -o ") # Create archives with "CC -xar" in case user adds "-instances=extern" # so that template instantiations are available to archive members. set(CMAKE_CXX_CREATE_STATIC_LIBRARY " -xar -o " " ") cmake-2.8.12.2/Modules/Compiler/SunPro-Fortran.cmake000644 000765 000024 00000001403 12266011634 022657 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free") set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC") set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-G") set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-R") set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-h") set(CMAKE_EXECUTABLE_RUNTIME_Fortran_FLAG "-R") set(CMAKE_Fortran_FLAGS_INIT "") set(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g") set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-xO2 -xspace -DNDEBUG") set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-xO3 -DNDEBUG") set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-g -xO2 -DNDEBUG") set(CMAKE_Fortran_MODDIR_FLAG "-moddir=") set(CMAKE_Fortran_MODPATH_FLAG "-M") cmake-2.8.12.2/Modules/Compiler/TI-ASM.cmake000644 000765 000024 00000000723 12266011634 020756 0ustar00kitwarestaff000000 000000 set(CMAKE_LIBRARY_PATH_FLAG "--search_path=") set(CMAKE_LINK_LIBRARY_FLAG "--library=") set(CMAKE_INCLUDE_FLAG_ASM "--include_path=") set(CMAKE_ASM_COMPILE_OBJECT " --compile_only --asm_file= --output_file=") set(CMAKE_ASM_LINK_EXECUTABLE " --run_linker --output_file= ") set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;s;abs) cmake-2.8.12.2/Modules/Compiler/TI-C.cmake000644 000765 000024 00000001435 12266011634 020521 0ustar00kitwarestaff000000 000000 set(CMAKE_LIBRARY_PATH_FLAG "--search_path=") set(CMAKE_LINK_LIBRARY_FLAG "--library=") set(CMAKE_INCLUDE_FLAG_C "--include_path=") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " --compile_only --skip_assembler --c_file= --output_file=") set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " --preproc_only --c_file= --output_file=") set(CMAKE_C_COMPILE_OBJECT " --compile_only --c_file= --output_file=") set(CMAKE_C_ARCHIVE_CREATE " -r ") set(CMAKE_C_LINK_EXECUTABLE " --run_linker --output_file= --map_file=.map ") cmake-2.8.12.2/Modules/Compiler/TI-CXX.cmake000644 000765 000024 00000001471 12266011634 021001 0ustar00kitwarestaff000000 000000 set(CMAKE_LIBRARY_PATH_FLAG "--search_path=") set(CMAKE_LINK_LIBRARY_FLAG "--library=") set(CMAKE_INCLUDE_FLAG_CXX "--include_path=") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " --compile_only --skip_assembler --cpp_file= --output_file=") set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " --preproc_only --cpp_file= --output_file=") set(CMAKE_CXX_COMPILE_OBJECT " --compile_only --cpp_file= --output_file=") set(CMAKE_CXX_ARCHIVE_CREATE " -r ") set(CMAKE_CXX_LINK_EXECUTABLE " --run_linker --output_file= --map_file=.map ") cmake-2.8.12.2/Modules/Compiler/TinyCC-C.cmake000644 000765 000024 00000000437 12266011634 021337 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # no optimization in tcc: set (CMAKE_C_FLAGS_INIT "") set (CMAKE_C_FLAGS_DEBUG_INIT "-g") set (CMAKE_C_FLAGS_MINSIZEREL_INIT "-DNDEBUG") set (CMAKE_C_FLAGS_RELEASE_INIT "-DNDEBUG") set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g -DNDEBUG") cmake-2.8.12.2/Modules/Compiler/VisualAge-C.cmake000644 000765 000024 00000000027 12266011634 022061 0ustar00kitwarestaff000000 000000 include(Compiler/XL-C) cmake-2.8.12.2/Modules/Compiler/VisualAge-CXX.cmake000644 000765 000024 00000000031 12266011634 022334 0ustar00kitwarestaff000000 000000 include(Compiler/XL-CXX) cmake-2.8.12.2/Modules/Compiler/VisualAge-Fortran.cmake000644 000765 000024 00000000035 12266011634 023311 0ustar00kitwarestaff000000 000000 include(Compiler/XL-Fortran) cmake-2.8.12.2/Modules/Compiler/XL-ASM.cmake000644 000765 000024 00000001101 12266011634 020754 0ustar00kitwarestaff000000 000000 set(CMAKE_ASM_VERBOSE_FLAG "-V") # -qthreaded = Ensures that all optimizations will be thread-safe # -qalias=noansi = Turns off type-based aliasing completely (safer optimizer) # -qhalt=e = Halt on error messages (rather than just severe errors) set(CMAKE_ASM_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e -qsourcetype=assembler") set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g") set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O -DNDEBUG") set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG") set(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-g -DNDEBUG") set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s ) cmake-2.8.12.2/Modules/Compiler/XL-C.cmake000644 000765 000024 00000000733 12266011634 020530 0ustar00kitwarestaff000000 000000 include(Compiler/XL) __compiler_xl(C) set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG") set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG") # -qthreaded = Ensures that all optimizations will be thread-safe # -qalias=noansi = Turns off type-based aliasing completely (safer optimizer) # -qhalt=e = Halt on error messages (rather than just severe errors) set(CMAKE_C_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e") cmake-2.8.12.2/Modules/Compiler/XL-CXX.cmake000644 000765 000024 00000000757 12266011634 021016 0ustar00kitwarestaff000000 000000 include(Compiler/XL) __compiler_xl(CXX) set(CMAKE_CXX_FLAGS_RELEASE_INIT "${CMAKE_CXX_FLAGS_RELEASE_INIT} -DNDEBUG") set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "${CMAKE_CXX_FLAGS_MINSIZEREL_INIT} -DNDEBUG") # -qthreaded = Ensures that all optimizations will be thread-safe # -qhalt=e = Halt on error messages (rather than just severe errors) set(CMAKE_CXX_FLAGS_INIT "-qthreaded -qhalt=e") set(CMAKE_CXX_COMPILE_OBJECT " -+ -o -c ") cmake-2.8.12.2/Modules/Compiler/XL-Fortran.cmake000644 000765 000024 00000001161 12266011634 021755 0ustar00kitwarestaff000000 000000 include(Compiler/XL) __compiler_xl(Fortran) set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-qfixed") # [=] set(CMAKE_Fortran_FORMAT_FREE_FLAG "-qfree") # [=f90|ibm] set(CMAKE_Fortran_MODDIR_FLAG "-qmoddir=") set(CMAKE_Fortran_DEFINE_FLAG "-WF,-D") # -qthreaded = Ensures that all optimizations will be thread-safe # -qhalt=e = Halt on error messages (rather than just severe errors) set(CMAKE_Fortran_FLAGS_INIT "-qthreaded -qhalt=e") # We require updates to CMake C++ code to support preprocessing rules for Fortran. set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE) set(CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE) cmake-2.8.12.2/Modules/Compiler/XL.cmake000644 000765 000024 00000005066 12266011634 020354 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__COMPILER_XL) return() endif() set(__COMPILER_XL 1) # Find the CreateExportList program that comes with this toolchain. find_program(CMAKE_XL_CreateExportList NAMES CreateExportList DOC "IBM XL CreateExportList tool" ) macro(__compiler_xl lang) # Feature flags. set(CMAKE_${lang}_VERBOSE_FLAG "-V") set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-qpic") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-O") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-g") set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE " -S -o ") # CMAKE_XL_CreateExportList is part of the AIX XL compilers but not the linux ones. # If we found the tool, we'll use it to create exports, otherwise stick with the regular # create shared library compile line. if (CMAKE_XL_CreateExportList) # The compiler front-end passes all object files, archive files, and shared # library files named on the command line to CreateExportList to create a # list of all symbols to be exported from the shared library. This causes # all archive members to be copied into the shared library whether they are # needed or not. Instead we run the tool ourselves to pass only the object # files so that we export only the symbols actually provided by the sources. set(CMAKE_${lang}_CREATE_SHARED_LIBRARY "${CMAKE_XL_CreateExportList} /objects.exp " " -Wl,-bE:/objects.exp -o " ) endif() endmacro() cmake-2.8.12.2/Modules/CompilerId/VS-10.vcxproj.in000644 000765 000024 00000004511 12266011634 022066 0ustar00kitwarestaff000000 000000 Debug @id_platform@ {CAE07175-D007-4FC3-BFE8-47B392814159} CompilerId@id_lang@ Win32Proj Application @id_toolset@ MultiByte <_ProjectFileVersion>10.0.30319.1 .\ $(Configuration)\ false Disabled %(PreprocessorDefinitions) false EnableFastChecks MultiThreadedDebugDLL TurnOffAllWarnings false Console for %%i in (@id_cl@) do %40echo CMAKE_@id_lang@_COMPILER=%%~$PATH:i cmake-2.8.12.2/Modules/CompilerId/VS-6.dsp.in000644 000765 000024 00000002721 12266011634 021107 0ustar00kitwarestaff000000 000000 # Microsoft Developer Studio Project File - Name="CompilerId@id_lang@" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # TARGTYPE "Win32 (x86) Application" 0x0101 CFG=CompilerId@id_lang@ - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "CompilerId@id_lang@.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "CompilerId@id_lang@.mak" CFG="CompilerId@id_lang@ - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "CompilerId@id_lang@ - Win32 Debug" (based on "Win32 (x86) Application") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 CPP=cl.exe # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "." # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" # ADD CPP /nologo /MDd /c LINK32=link.exe # ADD LINK32 /nologo /version:0.0 /subsystem:console /machine:x86 /out:"CompilerId@id_lang@.exe" /IGNORE:4089 # Begin Special Build Tool SOURCE="$(InputPath)" PostBuild_Cmds=for %%i in (@id_cl@) do @echo CMAKE_@id_lang@_COMPILER=%%~$PATH:i # End Special Build Tool # Begin Target # Name "CompilerId@id_lang@ - Win32 Debug" # Begin Group "Source Files" # Begin Source File SOURCE="@id_src@" # End Source File # End Group # End Target # End Project cmake-2.8.12.2/Modules/CompilerId/VS-7.vcproj.in000644 000765 000024 00000002532 12266011634 021625 0ustar00kitwarestaff000000 000000 cmake-2.8.12.2/Modules/CompilerId/Xcode-1.pbxproj.in000644 000765 000024 00000004744 12266011634 022521 0ustar00kitwarestaff000000 000000 // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { 014CEA460018CE2711CA2923 = { buildSettings = { }; isa = PBXBuildStyle; name = Development; }; 08FB7793FE84155DC02AAC07 = { buildSettings = { }; buildStyles = ( 014CEA460018CE2711CA2923, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 08FB7794FE84155DC02AAC07; projectDirPath = ""; targets = ( 8DD76FA90486AB0100D96B5E, ); }; 08FB7794FE84155DC02AAC07 = { children = ( 08FB7795FE84155DC02AAC07, 1AB674ADFE9D54B511CA2CBB, ); isa = PBXGroup; name = CompilerId@id_lang@; refType = 4; sourceTree = ""; }; 08FB7795FE84155DC02AAC07 = { children = ( 2C18F0B415DC1DC700593670, ); isa = PBXGroup; name = Source; refType = 4; sourceTree = ""; }; 1AB674ADFE9D54B511CA2CBB = { children = ( 8DD76F6C0486A84900D96B5E, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = ""; }; 2C18F0B415DC1DC700593670 = { fileEncoding = 30; isa = PBXFileReference; explicitFileType = @id_type@; path = @id_src@; refType = 4; sourceTree = ""; }; 2C18F0B615DC1E0300593670 = { fileRef = 2C18F0B415DC1DC700593670; isa = PBXBuildFile; settings = { }; }; 2C8FEB8E15DC1A1A00E56A5D = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "echo \"GCC_VERSION=$GCC_VERSION\""; }; 8DD76FA90486AB0100D96B5E = { buildPhases = ( 2C18F0B515DC1DCE00593670, 2C8FEB8E15DC1A1A00E56A5D, ); buildRules = ( ); buildSettings = { PRODUCT_NAME = CompilerId@id_lang@; SYMROOT = .; }; dependencies = ( ); isa = PBXNativeTarget; name = CompilerId@id_lang@; productName = CompilerId@id_lang@; productReference = 8DD76F6C0486A84900D96B5E; productType = "com.apple.product-type.tool"; }; 2C18F0B515DC1DCE00593670 = { buildActionMask = 2147483647; files = ( 2C18F0B615DC1E0300593670, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; 8DD76F6C0486A84900D96B5E = { explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; isa = PBXFileReference; path = CompilerId@id_lang@; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; }; rootObject = 08FB7793FE84155DC02AAC07; } cmake-2.8.12.2/Modules/CompilerId/Xcode-2.pbxproj.in000644 000765 000024 00000005610 12266011634 022513 0ustar00kitwarestaff000000 000000 // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 42; objects = { 2C18F0B615DC1E0300593670 = {isa = PBXBuildFile; fileRef = 2C18F0B415DC1DC700593670; }; 2C18F0B415DC1DC700593670 = {isa = PBXFileReference; fileEncoding = 4; explicitFileType = @id_type@; path = @id_src@; sourceTree = ""; }; 8DD76F6C0486A84900D96B5E = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = CompilerId@id_lang@; sourceTree = BUILT_PRODUCTS_DIR; }; 08FB7794FE84155DC02AAC07 = { isa = PBXGroup; children = ( 08FB7795FE84155DC02AAC07, 1AB674ADFE9D54B511CA2CBB, ); name = CompilerId@id_lang@; sourceTree = ""; }; 08FB7795FE84155DC02AAC07 = { isa = PBXGroup; children = ( 2C18F0B415DC1DC700593670, ); name = Source; sourceTree = ""; }; 1AB674ADFE9D54B511CA2CBB = { isa = PBXGroup; children = ( 8DD76F6C0486A84900D96B5E, ); name = Products; sourceTree = ""; }; 8DD76FA90486AB0100D96B5E = { isa = PBXNativeTarget; buildConfigurationList = 1DEB928508733DD80010E9CD; buildPhases = ( 2C18F0B515DC1DCE00593670, 2C8FEB8E15DC1A1A00E56A5D, ); buildRules = ( ); dependencies = ( ); name = CompilerId@id_lang@; productName = CompilerId@id_lang@; productReference = 8DD76F6C0486A84900D96B5E; productType = "com.apple.product-type.tool"; }; 08FB7793FE84155DC02AAC07 = { isa = PBXProject; buildConfigurationList = 1DEB928908733DD80010E9CD; hasScannedForEncodings = 1; mainGroup = 08FB7794FE84155DC02AAC07; projectDirPath = ""; targets = ( 8DD76FA90486AB0100D96B5E, ); }; 2C8FEB8E15DC1A1A00E56A5D = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "echo \"GCC_VERSION=$GCC_VERSION\""; }; 2C18F0B515DC1DCE00593670 = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 2C18F0B615DC1E0300593670, ); runOnlyForDeploymentPostprocessing = 0; }; 1DEB928608733DD80010E9CD = { isa = XCBuildConfiguration; buildSettings = { PRODUCT_NAME = CompilerId@id_lang@; }; name = Debug; }; 1DEB928A08733DD80010E9CD = { isa = XCBuildConfiguration; buildSettings = { CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; SYMROOT = .; }; name = Debug; }; 1DEB928508733DD80010E9CD = { isa = XCConfigurationList; buildConfigurations = ( 1DEB928608733DD80010E9CD, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; 1DEB928908733DD80010E9CD = { isa = XCConfigurationList; buildConfigurations = ( 1DEB928A08733DD80010E9CD, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; }; rootObject = 08FB7793FE84155DC02AAC07; } cmake-2.8.12.2/Modules/CompilerId/Xcode-3.pbxproj.in000644 000765 000024 00000005067 12266011634 022522 0ustar00kitwarestaff000000 000000 // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 45; objects = { 2C18F0B615DC1E0300593670 = {isa = PBXBuildFile; fileRef = 2C18F0B415DC1DC700593670; }; 2C18F0B415DC1DC700593670 = {isa = PBXFileReference; fileEncoding = 4; explicitFileType = @id_type@; path = @id_src@; sourceTree = ""; }; 08FB7794FE84155DC02AAC07 = { isa = PBXGroup; children = ( 2C18F0B415DC1DC700593670, ); name = CompilerId@id_lang@; sourceTree = ""; }; 8DD76FA90486AB0100D96B5E = { isa = PBXNativeTarget; buildConfigurationList = 1DEB928508733DD80010E9CD; buildPhases = ( 2C18F0B515DC1DCE00593670, 2C8FEB8E15DC1A1A00E56A5D, ); buildRules = ( ); dependencies = ( ); name = CompilerId@id_lang@; productName = CompilerId@id_lang@; productType = "com.apple.product-type.tool"; }; 08FB7793FE84155DC02AAC07 = { isa = PBXProject; buildConfigurationList = 1DEB928908733DD80010E9CD; compatibilityVersion = "Xcode 3.1"; developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( en, ); mainGroup = 08FB7794FE84155DC02AAC07; projectDirPath = ""; projectRoot = ""; targets = ( 8DD76FA90486AB0100D96B5E, ); }; 2C8FEB8E15DC1A1A00E56A5D = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "echo \"GCC_VERSION=$GCC_VERSION\""; showEnvVarsInLog = 0; }; 2C18F0B515DC1DCE00593670 = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 2C18F0B615DC1E0300593670, ); runOnlyForDeploymentPostprocessing = 0; }; 1DEB928608733DD80010E9CD = { isa = XCBuildConfiguration; buildSettings = { PRODUCT_NAME = CompilerId@id_lang@; }; name = Debug; }; 1DEB928A08733DD80010E9CD = { isa = XCBuildConfiguration; buildSettings = { ARCHS = "$(ARCHS_STANDARD_32_BIT)"; ONLY_ACTIVE_ARCH = YES; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; SYMROOT = .; @id_toolset@ }; name = Debug; }; 1DEB928508733DD80010E9CD = { isa = XCConfigurationList; buildConfigurations = ( 1DEB928608733DD80010E9CD, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; 1DEB928908733DD80010E9CD = { isa = XCConfigurationList; buildConfigurations = ( 1DEB928A08733DD80010E9CD, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; }; rootObject = 08FB7793FE84155DC02AAC07; } cmake-2.8.12.2/Modules/CPack.background.png.in000644 000765 000024 00000133744 12266011634 021474 0ustar00kitwarestaff000000 000000 ‰PNG  IHDRź;Ť ; pHYs  šś IDATxśě}w”$Őuţ˝ŻŞăt¸;łËćݙ͙°ŔŹśX`#$@ŘĚ‘},ɲt$[²|$‹h HY€„@F$´f6łavňNÚÉÓ9Vxż?^wuMŞzÝ3;Ý3Űźt†Ţę×ŐŐÝU_Ýř]¤”BEQÄü"’|CEQÄ)A‘ÝŠ(˘ů‰"»QDóEv+˘"ć'ŠěVDEĚOŮ­"Šź(˛[E1?Qd·"Š(b~˘ČnEQÄüD‘ÝŠ(˘ů‰"»QDóEv+˘"ć'ŠěVDEĚOŮ­"Šź(˛[E1?!ćűf šP"ć÷HŠ(˘BŔ<±Ý˘Ńč“O>©( Ą´¨ÇYDEŔĽa·˝{÷ţŰżý[2™”eąČnEQĚv«ŻŻ·ŇćććD"ˇŞjľ§"ŠČ?ć »56¶^şî˘?˙ůϱXL–ĺ|NE‘ĚvŁ”ŽŽČKěî=őőápX’¤˘sZDEĚvëííu8Z­öľC‡@2™,˛[E1Ř­ľľ~MíŽ8Ą˝}xx8ŹCoEQÄ|`·={ö¬Zµ-ŞJKŽ9‹ĹEÉ÷AQDyĆśg7JéŔŔ(şâTZé,9|řp4-&Š(˘9Ďn˛,˲%ÂńČR·§˝©©X(˘"`°ŰŃŁGW®\ ĹcRÂSęő·µ‡ĂábŐ[E1çŮ­ľľ~ăĆ3áh,‘p––âĐŕŔŔ@1±PDEĚyvűřăĂ+W®‡c IvxK«(=věX1±PDEĚmvŁ”†Ă U±D#‰¤BmĄŢj€¦¦¦h4Z ˝QÄiŽąÍn@ŔbqE˘4‘â’bqą*»[[Ăáp±¦·"NsĚmvŰ»wď†ő;‚AEVTIEÁáp[,ţöŽP(”L&‹ˇ·"Š8ť1·Ů­ľľaĂĆť~ż¬Ş )-·Ýn‹F:::b±X‘ÝŠ(âtĆf7Ji{Ç‰ŞŞ%~ż PdJ=NG%…ĆĆƢXHEśćĂ쉍Çh(¨ –¤Ş”8ś Zš›#‘H1±PD§3ć0»ť8qbÁÂĄá0ŤDU‚‚ qIq8ś ý­­,ôVd·"Š8m1‡Ů­ľľ~ÓĆť€’S !˘¤Ş6‡Ýíéőů|ĹŽ…"Š8ť1‡ŮmďŢ˝uk·űЬQŚÉ˛Őnsxą©©©XÓ[ÄiŽÓÜw™«ěF) X­î€_VU@" Š’B«ÍPEářńăL,ä4˙‹8=ˇŞŞßď—eůtv_ć*»%“IŞX˘Q5T(˘@—bµ:+v´4łšŢ|iEĚ*TU=pŕŔő×_˙ÔSOťć•s•Ý>ţřăU«7„Br4¦DBTTb±Ř\€C­íŚÝNç{W§(Ąmmm·ß~űYgťőűß˙ŢjµAI’ň}\yĂ\e·†††ŤÎôűTI˘»‰I…˘Ĺbp…Ń‘ŢŢޢX?Ř k5ŤâÜë9Ji˙—ľôĄM›6=űěłĚ^#„Ó98#ćűrÄ‘#GĎ9çł~Wd €QK EŃMi@ccă®]»E±X,ů>ŢÂc4EQ4ŐO‹Ĺâp8!Haň}°EŚĄ4 >üđĂ>ř ßď×?…‘Hätľ»ĎIvŁ”†#’$ Á€ŞR@‚D”TŠ˘H] hF,ÄfłŻĚ‰ ”öööľđ ożýöÁYŇfł•——Ż^˝zçÎť—\rÉůçźołŮA1]ľĽâńřÓO?ýÝď~·ŻŻoⳢ(žć%źs’ÝFGGťŽŇHD …¤”"A–UŃP pX'RĽ&ő ”;vě;ßů΋/ľ81.“H$úúúúúúţô§?=řŕŐŐŐźűÜçîşë® X­VQ ™™€łő—"2ť‘ý3çzÜ[BAçĂoűŰţçnmmťj»©źÎ7¤9Én{öěYżaG0 Ćă” ‚@%©PE$Äŕđź8 YMďL]0ó‘HäŢ{ďýď˙ţo΄r˙÷ż˙ý'ź|ňë_˙úwÜát:ÇMó0^|ńĹýčGzżéŞ«®ú›żů»ÝnµZ§ąs†gź}öůçź×żĹŤ7ŢřéOÚápĚ`Ĺż˙űżP›Ĺb±Űí3x«‹“ěV__ţy·vv)’¬2zD!!«(XŃŕęŚÇŰÚÚÖŻ_:‡ơ±±ńSźúÔ‘#G˛zĄÔçó}ík_{íµ×~řĂ.^ĽŘn·‹˘8ŁŕŤ7Ţxíµ×ô[\.׍7ŢX^^n±XfÄÜřőŻ=î-VŻ^}Í5ע8Í/ŚŚŚ<ërą•*¬RˇaNňzggOiYŤĎ'Q€¦*BÄ„¬  !ŔPp¬ńX±¦WĂ[o˝uŢyçeKm(ĄďĽóε×^{ěŘ |«ŤŤŤă¶ ŤŽŽĆăńů±(Ą{öě·1 ŽŽŽ&‰éď?ż ”š˛"Î`a.bî}rUU ‹Ń`PUÓ—ĄH(©B  ŠŇÖ¦”XH~ŹąđĘ+Ż\ýő>źošűikk»é¦›XĆf:wüřńq[ü~żßďO$3Ânťťťă6FŁŃ`08bíńx<‰,p»Ý„y`˘NsŹÝZ[[-Z )‘™N:D"Ć$śŔÁööH$2Îćiâ­·ŢúÔ§>‹ĹfdoÝÝÝ·ß~űÉ“'sîä·1 F"‘™b·={öLÜO"‘ÝÇ###ĆßRII óL‹¶Ű\BCCĂF& ’“k#(J* ! °¸â'O ťć5˝‡ľé¦›âńř îł±±ńßřF ČMĄ±±qâĹÉ¬ě™ #444LÜ(˲$Ióŕd5^P´Ý`.˛ŰŢ˝űęj·ů|™D?ű!bB¦(( ¸€–©ęńăÇOçn»‘‘‘O~ň“ăęMt¶óy@p¦ěćv»Oób7sěÖĐаiÓY>żśLR}ü„e5ϬnÁďďîîŽÇăó SĆJéÝwßm\40}lܸQQ”lSŇ~żŇľH`D9ýűФA77w¸˘íĆ9ĆnÇŽŻ©^éóÉş”°fB,qYB0Ý$$şXH4=­Říg?űŮ»ďľ{ŞßeË–-m'cccăT,3Sě6•íFÓćţóŽ˘íĆąÄn”Ňx\M$ŃP´2^H›pHIAÖ‡ LŻÇ° éxÓi50śjźqóćÍV«ŐfłeUT5•[ 3Än‘HäčŃŁ“>uúŘnn·›5*m·ą—«2VÂ!Ug¸ĄŽ TXUoĘvC&r˛-#’żĂź=|ď{ß›Ęő›A,[¶¬ĽĽÜáp8ťÎ¬lv›Î/uđŕÁ©N“ŠAJJJжŰ\b·={ölÚt–߯$â*d˛űŔQP(Ş”˘éÁ¶#”„şşr®;ťsčééyä‘Gf፶lŮb±X\.—Óé,(Űm*·ć‘gjĚn¬Qá4o2…ąĹn {Ö­ßáóÉ’śęľbŰÁ!E‰RbÉźXÝî¤ÔŇŇ2?ZpLńź˙ůź§:™Ŕ°eË«Őęrą˛ť´ŘŤôN“ݦJ)€Î3ťëÇ)Rd·9a§˝Ěç“ŐTJ39S  !–¸$1%Ý…€±  ±±ńt`·®®®ýčGłđFn·{őęŐv»ÝĺreĄő‰Dşşş¦z–%¦Yb`»ÍŹyÉd2 ,p»ÝECě¦(J,¦Fcj ¨PĐ,… Á!Š„IEAťí– Ahkn9Boß˙ţ÷gGŢgăĆŤ‹Ą¤¤$Ű [SS“Á=&ŤNÓvîččęŮůš5ţ Ěv;Í`±[SSÓňekA5a!gJ©šN)°±Xh‰Ë Ë*hż«Ń0ÔŢ6ď üřÇ?žť÷Úşu+sKív{¶ĺ ϲ¸Űtl·={öüÄ쩹~‡ă)v+z¦0‡Ř­ľľ~Ýúí>źśHfM;M)D‰ŔÄÇő/´uHó[,ä±Ç‹FŁłđF„M›6Ůl6—Ë•­Ž®AĐ fÂv3pKaľŘnśĹnEŰmΰۡC‡W­ÚěóÉĘ Ł˘P˘»ŢQtVťßˇ·h4úÄOäürý7fşxĺĘ•^Ż×ét–””d;`ÁŘvcě6É”čânsÚ|+ „pbnĚU ”1Eý>%Őśš„ÚĽ+6Ž>.ËÄ’É*páx±ů÷«?÷ÜsCCCŮľŠ˛yóć˙÷˙ţ_]]]yy9Ą4tww>|ř>đů|“˛«)))acOłzGSĎT›ťÝ'J©±í¦ÝŰćô P´Ý817Ř-‰ q„#J0”.ˇÁ!ű Š’"Ł(2ÚcŻEb%ĄGÓKJJňřYN(ĄŹ?ţx¶ŻZ˛dÉťwŢąvíZ›ÍfµZ- !¤¦¦¦®®î’K.ůüç?˙‡?üáŮgźť(¶ÁjAÜnw¶µ Éd˛­­Í`łÝrŽ»ť8qÂâçáŮÄÝfçx sÝöíŰ·ní¶€_‰Ĺ(Ąą˛Ó)ĄiŰm|Vm.DźN,džýđ Čę%»víşűî»Ýn·Óét:ťv»ťŤdf_¦˘(’$Ýzë­çźţ7żůM˝B\iiéŠ+G¶µ ĐŇŇb,EĹÄrf7cĂ ćK˝ʏ›(ŠEĎtn°[}CýĆ ×uwË’DEŠ)˙”=OY_)˘ © ]üŘŠŕ¦h ‡;;;×­[§(ĘÍ‹Ý`Nx¦===ĄeŐˇ+şt'¦"né "H*QD‚Tzp"–RhjkÓΛŰÚĎţsΕ„»ďľ»´´ÔívWTTTVV˛ĚŔ¤É5vm°Ô› wÜqÇ/ůË’’ŹÇĂjArp|L=SF#ý±cÇ&U×c~x¦Ć¶›Óéd?Y‘Ýć»544lܰÓçS vj‚ĆZ”¤3 (Ć’ ě¶Éµ‹Ö†čBééńů|¬¦w~üö˝˝˝ďĽóçâË/ż|Ýşu.—«˘˘˘˘˘ÂăńŘívc˙Esp*++ďşë®ÖÖV–OȡD–ĺ––Óe¬($2uKaľĚU0¶Ý´6¬bÜm\á{÷î­­Ű6ę“% Ću(¤ţAŞ€i ‚€dĚDŻ,755Í'ň^xół”––ţĺ_ţĄÝng5Ż×k·ŰyŇjČŇ7ß|ó'>ń ·ŰťC-tttđŚ‹ÎąË4ĄóÂv“$),pą\X´Ý`N°ŰđpŔ"ş|ŁŠ ¦ ) ±„M™tDKr*g:¶bSt#.€LMo~>ĚŚ‚RĘźO¸ńĆYŇ€%µqľ– N,\¸pëÖ­,N—m-đÝ`ž)§ísśÝ€ńŮ[lˇ×Pčž©$IÉ$‰DŐ`PÖzKQĄ” ¦ŽED@DKRˇD ¨3IR.jJ,ŰÓçsÚŰŰűŃGń¬¬®®ľđ GYYYyyyĹ„›ÍćőzEQdâŮ-OĐ Ň"Hٲ[8ćŮżć™Î]‚ăIĄ+ ťÝŽ=ş|ůÚ@@‰Dt§;Ą0†ŕXU"$@"hc±ôç ŕnk‡Ă‰Dbîžß~÷»ßq˛Ŕő×_o·Ű=Oyy9«ÂÍáĆÎô¬EQĚV„ßvcí YíüŔ<#kçíĆߨP´Ý ťÝëëë7n8Óç““ÉÔ,––OČśĄ,IjIČ ™ˇzXÜęČp˙üP!ůĺ—y–UVVž{îą‡Ł´´ÔëőZ­ÖÜîę,çp8r#GNvË­‹Ç-…yQRśBĎŹBg·#GŽ.YZ72*+ +lHÜ8 $@@$BRAB"ŚĎ*€Á“®éťˇ·`0řŢ{ďń¬ĽüňËív»Űí.++ËÁ'ŐC‹Ĺ’ĂTU=~ü8ĎJM)+văI)Ŕic»'™24»QJĂ!)™$~źLU éšÎ–fRâăb\’µÍăŠB  q!BSS“&’·Ď6mĽýöŰ<2Ľv»ý /d©RŹÇ“­ŰDäöňžžc±l 9äLMĄAô+!ÝKĎąóBŹíVlĂb(č¸[ ­®pX …TĘšI3%Ľé Š€@P”)!(Žżq±––#jmŐ:ćîýíµ×^ăYvöŮgłNŇŇŇŇŠÔf ś)ČIŔrhhčĉ<+§9±Ác¦F~¤ď¬3~‚ÍŰmâ=fĆż®‚f·˝{÷®_·Ăď—c1…ÓŁ¬ÁTJ‰“(DaŚÄ›~ Ń˘3 Îéš^Jé›oľiş /ĽđB›ÍĆjA¦o¸ĺ Πč˛ ü4´gĎÎĹ3Kměúdť˙ÝÝÝCCC˛, ‚PYYąhŃ"§Ó©ŐťÍ`ËçŐÚ"KiµńÁéá)ťARTD†ţMü‚¬nG,ÚŃѱ~ýúącniiá±VjjjjkkťNgiii¶SGgüěŤF)ĄYĹ 8n0s3±HÔ‡~řŇK/˝óÎ;ÇŹ%°Ůl6l¸ě˛Ënşé¦şş:‹Ĺ2S’D3Înś˛8ýó‡RzčС§ź~ú•W^éééŃ.@BČ’%K®ĽňĘŰn»mëÖ­‹…© Nóë*hv;ŃŮsÉ%Ő#ľ€Ş˛’6J·Q¦”"<@“ jq·q@D¨IŞŤŤŤ_|±,ËV«u¶?ŐLŕí·ßćYvîąç2=Źün »% I’˛˛Ý8n Ë*L‡ŕdYţĹ/~ńüŕČ‘#S­I$ű÷ďßż˙ý÷ßőŐWß{ď˝uuušDhÎo fěFa?śÔ°oßľááaÓo{۶mÓ9xJiww÷Wľň•—^zibąŹŞŞťťťO>ůäÓO?}őŐW˙ÇüÇĘ•+m6Ű4OÚÂe7EQb%Ą”ÚxĘLcŞ 4í©R&dI€"$eJőcôÎ)AâZŤŘŇÜŤFçn荧·wíÚĹJpskzź)PJůŮŤ9zü˝”Ň˝{÷ňď¦áźRJ?účŁ{îąçСCś/QĺŐW_ýă˙říoűŽ;îp:ťLG/·3vc2ËśmXĂĂĂ]t‘©ô@EEECCC<ϡA…5ŐÜ}÷ÝĆ=d Şęď˙űÝ»w?üđĂ×]wűşr¦ÔÂŤ:utt,¬^ĘáÂzIY¶”eLSŮRHµ*°ÇQRUMâm|nŔ ŕE2ĐÖ>wÇ›ŞŞú§?ýÉtŮňĺË«««ťN§Çăɡ-t188hęOé‘•Ä[{{;˙@‰éXmŠ˘Üwß}^x!?µiFŁ_ýęWżůÍoÁD"1ť6gÓzţ9ÍO>ů¤)µŔM7Ý‹Ĺrž'G)ý·ű·[nąĹ”Ú4;ďĽóé§źÖÄ´sx_(dŰ­ˇˇaĂúť>źʩ޷Ńô {c4ĎT (ęÇŃ3č™ÎŽč";Ů;22Âľ¸9—Xhiiéďď7]vć™gŠ˘čv»s\5łŕO2dŐjĘtcČíR‰D"·ÝvŰoűŰ^Ë@)}â‰'l6Ű׾ö5Ż×kłŮr8ńEńů| ř۰âńřřCÓw´Űí—]vY8.--ÍîX€RúĄ/}éá‡Îö…˛,ýë_w:ť7ß|3"ćv{.Ü {ďŢ}«×lQ-ľśú«źgŞý@"bMČ©qô“šo"˘±LU›ššb±Ř\¬éÝ˝{7ϲíŰ·Űl6·ŰťÇB†lŮ-+Ëúúzţ=łg¶\$ąćšk¦CmÚ»?ňČ#żűÝďBˇPnŞˇP(™L,ŕźÓüüóĎ÷ööšľăE]d±XŘ(’lů…Rzď˝÷ć@m ŞŞ~ő«_­ŻŻŹD"ą}]Ęn”ŇQ_Ń1â“Ô ‘eäAŘc¶ÓĽ‡H…„’هöĂnÄHXČ©+€:uřđĂM×,\¸đŚ3Îp:ťn·;ď™ţ CVq·l·lńžžž÷ß?«—ĽűżüËżtvv˛ĎíËyŠÝgjĚD”҇zČôíA¸ňĘ+)Ą,ś—í=ňŮgźýÎwľ“ŐKĆ!‹}ůË_ÎyÎz˛[<WeK$˘ U(ĹŚ§ óKu›¦š´ Ĺ„¬Ń2yÜ ] v´´ĚŃĐ»mŢĽ™‰yä7źŔ-»…ĂaÎf,I’<ŐÎsЙّĂĂĂ=ôP ČáÜăl25µłŢzë­Ź?ţŘôíÎ<óĚ… :&tš•ívŕŔ{îągúWKKËŁŹ>šŰ×U ěvčСUk6ůýr$˘€Ö}•&8ŞýOóV%$BBQ™gŞA˙« €ŃŤ8ÚŃ1ĹB@SS“é˛M›6±‘ŁL}w̧Îv;räH$áßłć™fu<3>÷…^hnnfáŬ^Č٨`j»=řŕ<nW_}µŐjeㄲىDn˝őÖh4ĘąŢ?ţńŹ›ššrřş ”ÝXJatT‘’é©^¶2En¬í4Ą] 4ĺ™Ć%…XÄô¸1=1ě± ŔŤ>_ďÉ“sN,d˙ţý¦ż±(ŠëÖ­cł],‹ńâSŤŃŃQžZ«©éJţZ 9Ä"X×A¶od€d2ůÓźţÔď÷g{sĺ/ĺ58ŕ#GŽĽţúë¦ďµnÝşŐ«W—”””––fë|ăßČö–f€X,öřăŹçđu(»=Ö¸¨főČ$+4Ăiş|BÚrKŮré?QT@Ńbp6 ÄJÄăsP,dßľ}¦kV¬XÁ捲"łpT8~üx¶lÂ/’UJ!‡›™(Š3»üż˙űżˇˇ!öIů_5#ân=ôĎ›~âź°Z­lücV†Ű|đŘcŹq.ćÄ«ŻľÚÚÚš­ůVěF)ŤDäx}LőF›Vç¦\ĆAE$L|ś"Ś5Üô  ›jBŽĎA±ýű÷›®Y»v- ş9ŽĽ×*çpçŻÉ6Ą95c ‚ŕt:ł}#cřýţ÷Ţ{/gusĺ™ęwďďďîąçLßhÉ’%[¶la=|YUɲü…/|aĆç–$“Éçź>Űč[!˛Űŕŕ`‰ł"RA%ĺ{bĆXŁc2 é¬@PL(*N;č˙IKĘ ö¶µÍąÄO˝¶¶–ÍyÉo÷C¶ĺ Ŕ-`É©6>ą"fśÝŕ˝÷Ţ Yy[Óo2ýáČ3»çšk®aq[VšÇ=őÔSŮćy8ńꫯgeí"»544¬[żĂ7*Ĺbš >PÖ@źjşJeQS/ é–S l`3Š"ŕ¸öŘčFęěbµăs%ôŤFM‡ćBÖ¬Yc·ŰťNgŢn«íĆ#>ľ˙ţ˘ ą5ŇĎxböďß c±˙éÇă™Ěú‹FŁO<ń„é»TTTěÚµ‹‰9łr^0üö·żÍą8[ŚŚŚĽ˙ţűˇP˙G/Tv[»cdD–$š|E)Ĺt"ŞińJ–UH·iAă˛JŇc±&ú§B<%Éxk[[V§W~qěŘ1Óź¶şşÚăń°aňyϖ©´ÝrpK!ב¦§‚Ý,]V±Ődh IDAT$cvCDcĎôg?űO×Ú•W^ép8Ünw¶š€÷ß˙ŔŔçâđúëŻ3s„óĚ˙Ů?”Ňžžţ’’Ę‘Q™fZž)R­¬ 2[)ĄłŞDŠ˘¨ ý›Hm Pę%¸ÉńĆĆ9”X8zô¨éš•+W˛8Q~{KBˇPwww¶Żâd·R «gz*Ř Ž;‰DřO?㸛ŐjµŮlSµa©ŞĘÓ6PRRrŃEŮívŻ×›ŐhÇ‘‘‘śŰ8ŃĐĐ•sZp즪j"‘ę÷É*e¶2Ď©ĘüSĘÝXŞTe*˝”"A1&É(d<Ó‰@D‚čBR#-ÍÍ9÷yĚ>xŘmĹŠ˘(:ŽBş555ĺŔ&ł`»‚g ---šV ĎzcŰ͸ ë÷ż˙=Ďh‹‹/ľŘív31笊%~řaţ>ů܉D°6Ďú‚c·¦¦¦Ĺ‹WJ8śŞă¦ČKAeGu#±2]¨(J At´‚~‹Ŕ8Üž ™Î)O kůňĺV«•M®š…C2FnEO‰DB–eă´éŔŔ@ggg;Ď-ťwŠŘ­»»;‹qćµ(Ą<ě6©íF)}đÁMßÂb±\qĹl GV=|ˇPhĆ«@&Ň~ 9ż±‚c·úúúőëwŚŽJńř¸3;eÁĄhŽ™u©Dj:… H—Ć´q†Ś ŃŤ$Ńß?<<śłşË,ĂôŢKYşt©ÍfË{çzzzúúú85ňďĽčA)őű"ŠjŤPU/č¦ý…ôC–Le:˝i!r&>.S2ĹŔf=R/Á…D8~ü8‹ě¸NoGG‡i¸áŚ3ÎÁn·BĐ rµÝ€CŔ2· ĚtÎÔĺrŐÔÔx<BH0ěěě46ŻĆ!™Lú|ľ™b7Í3÷Ówww˙ú׿6Ý˙Ö­[—.]ZRRÂćŢňßß|óÍććfÎĹ€555ŐŐŐĐßßß××Ç˙‹PJ>ĽqăFY–M ž ‹Ý"‘ #V™ŮdN†ę.Ą@®!”˛™1ýJ"Ć%Č$q·‰]HňqK‹–X(F ­­­¦k/^ĚR …t‹Ç㹽ָ]R:vËáUăŘ­şşú˘‹.:óĚ3—.]ŞU` b2™Ü»wďóĎ?Ď˙ÁGFF’É$Ź%’ł@ČŁŹ>j¬ Ç µ^eŰ3˙ôÓOs®$„śţůźüä'—,Y˘ŐĺťŰn·kß"–••ŐÖÖžyć™˙ő_˙ĹSÓÖÖ¦Ąbć»544¬[wYw·”LŤř›„ŕ@oʦ•ČY+Š1IĹtÎTä߂ Ń‹‚ öôô¬[·NQ”ĽKˇ€Ç¨©©±X,ą©ZĎ8xꦂĆn“žÁ9§ WŰÍĺrŔ¶mŰîşë®ŞŞ*v}˛§ŐjŐfPQJEI$ßüć7ŁŃ(Źće0d bÓ•ą „üřÇ?6+g`­Wʧ´´4«JÉ_ýęW<†ˇĹbůň—żĽeË–’’VqÂ< öĄI’tăŤ7&“ÉűďżßtW'Nś`sLĎÂb·¦¦–sÎůüEÉt)@&=:ĆK…tq˛HU„"“ç5öLEDÁ„466žwŢyžX0e7D¬®®¶Z­Ó#4Č9Ąéf¬©(ç”LĂvűĚg>óŮĎ~6‘HčŻOâÔŇ”L?N’$—Ëőíoű†nđűýĆ{fŤô,ČhĚ)9´Đ˲ĚSa[]]˝sçNf¸eŐz<=ůřŮĎ~vÓ¦M%%%ĺĺĺě]Xá1"˛ÚĆx<~űí·đÁ¦â¬~żtt4Ź›š#Än”ŇHD‰Ĺč訜ęOĐe)ÂÜ‚CJ)!BTV§iĘ S|7!5‚ŘÜÔÄBoŮ Î&L¦%%%ě¤É»Ô8ĂtľŚ%ŢruÓ›Öü•W^yůĺ—···ł"~6D‘ ÜÔ¦ÍCšÝTUe¬÷×ý׏<ňńžYFkFl7ć™ę/ř—_~ą˝˝ÝtĎW]uÁÁzćM×k8qâĎ0Ům۶]zéĄN§ł¬¬¬˛˛Ňëő˛js˝ÁˬŕŻ}ík7ÜpéÔŐŐµqăFÓ/-˙wx 'Ožôz‚r((ë†Â¤“÷Zł©Ţ-§#MQLH*‚c‡ţMŚÁ– –<ŮŢ^ŕ ”RÓ–¦ ‚ ÝgçŔ 0ŰM“çťř‹$“ÉäĽgm‡YýÖ .d“a«ŞŞŞŞŞĘËË˝^Żfľ1šłX,¬Šé†–––Ţ~űí¦vłAfŞ"D_ěF)}ŕLwëőz/¸ŕÖ3ĎZŻřOž—^zÉôČ-Ëm·ÝfłŮJKK+++ËËËÝn7ëdˇ7«ŐĘD<ĎŮgź˝k×.Ó÷íëëc%ßĆË ÝęëëׯŰé•c15Ăi:‚KŕT}†AË—¦ľcD!©˘ć™Bjăř_Kë?u ş Fş»@!×ô†ĂaÓčIeeĄ , 4;GeI’LĺL ` räČ‘éHZ3Ű-Űü8"Úl¶˛˛˛ŠŠ w× ·ń·LDBĹbq8+W®Üąs§ńžY9ŹE™­gúá‡ňŚŕ¸ě˛ËŘtˇl[Żŕĺ—_6]sÉ%—ÔÔÔ¸\®ňňň˛˛2ć^ŚűŢX˛Ýnw»ÝźůĚgL÷900ŔŘÍřK+ vŰłgoÝÚmĂĂš 59Á€ľĘ—5i RŞ ŠqIa¶L‘0Őo´â!‚G’[ZZŘ]tv>l¶číí5=ű«ŞŞ»BĐ­˝˝=‘HäüryŢśkAr»!"›0 ÷ŞŚ_ÂJs.şč"ăe,a:}ŰMË•köĐC™ž3l\©Ö3ź•dÖČČČ|`ĽFĹO|âĚpcVŰT_»+Říöë®»Îôö<<<śL&M3ňůż (Ą}}C6[ŮȰ˘¨‘MNp)IË4RMZ€("Z$UĹ 7Đ‘ťöOŔKČBAĐÎâ‡Î'Ož4]SQQÁŘ­2żÓ”Ő7h¤7ôZdZV!Ű(3Dzrü-‹©í&Ë2g±i“)+aÜŃŢŢţ›ßüĆtź\p‹ń3±Ł¬ěŮ7ŢxĂÔ7<묳XkWYYk\5ľ+‚P]]˝eËăÝú|>I’ćŚí¦(J"AÂaĹç—2łŻ2GŽz‚K?Ŕ1MZŔú1.Ë$=°yŞL#87bŤ ´673í ˝ń°[yy9›PA7Sv«¬¬4xÖŔ35¶ÝĘËËŤß7çŕkČęÎëׯ7^Ăś‡ŕLŮMßdúČ#ŹRŹ ,źŔ¦^eŰßňĆo®ąř⋵BN·×b±śsÎ9Ćkü~ż,˦Wkˇ°ŰŃŁG—-­óű•pHˇ©|¤U)ő#bŇvÚ‚c*AÁ’$36ö¸Ä›ŔI‡‘ŽŽH$R°:˝ß3ĎşşşÂá°Á‚E‹y˝^”ŇIeBŚëx—-[ćp8ŚŹm–m7VJb°€Óä—?zńĹ»şşLwó¸R†Ý»w/(++[ąr%›Ďm‘|yyą±ä”ŞŞ‰DÂ´Ś¦ Ř- ‚+’ý~( `ę/¦ u3Ô–É0°{ž–BÖGĎÄÇÓ÷ŠIżÖq4ç&d tµ¶ě@ÓZ'&Â3•¦ţ,Ă4Ą°xńbcŰ ¦A2îÁŞ­­5µAfßv3ţE8/{Nv#„đ´^-]ştóćÍ9Ś+Ő`ZI·qăF6T7ŰÖ. „,\¸Đ`Ą”…Čç€gşoßľşşíŁŁJ4˘E6 †ńÍ(SN"c9a#E$B’ĹÝČŠ©ŠBŔÄMH łł`ĹBLOnĆnĚv›ťC2€)»-Z´¨˘˘ÂxÍDËţţ~ăXOmm­i#Ń)Ť«Ň ă˛,Îß‹ł 룏>âiäĐ÷ĚçĐ}822bŞÇµaĂ65‡‘áhzzH’47l·úúúµk·KÉ$ˤ-˛TĘ”Ň±Ł°ô@6L´ĐA’JDKJómjźT{ÖŠŕ!ĉtuufMoÎĘ…yŹíV^^n|aOAÚłgŹÁŮŚµµµ¦=¶ąuŃRʂܒ$Ĺăq¦`‘H$’ɤ,ËĆÓ‘5m8ă·ŕlĂzę©§L?Zeeĺ9çśĂ*x'Żź˝{÷ß$qÝşu6›ÍĺrĺV˘d¬d¤9Ŕn­­K‡‡“Š’.a-¤ă‹xÓ˝¦şśŞŞň6(c21.+Ä"NzŇLJs"˘W Ba&’ɤq '†Ě>ŚËAA¨©©q8ơ7˝Űb\Ç»páBćgŰ Ún¬N­««ë™gžąűî»Ď?˙ü+VTTT¸\®eË–ÝrË-Żżţz$1N_Š˘Ia&éR—ËŐÝÝÍ3<Í…ÉŞmöíŰgĽ ˛˛˛˛˛’‰DĺćL0É)đ ć?ż¦Şj4˘F˘ę訢Şzí¶”f›N)ÓѸTĄ™ő˛ŢD!©P°HU”‰>)~#AôR# …)â÷űMoČ,íU)J©±˛[UU•ÍfłŮl"”“Ún»­­­EŃn·ŢLŮn’$˝üňËO<ńÄűďż?Ń÷úÍo~óŰßţö /4®Să¬O4Uët»Ý<=í%%%_|1»µd5®TŹ/XµjŞ›óô"ÓĎŹ˙ű|WWWyĹâ`@ %­+>SÂ;E–>…šůśX{U\’‰8ĺHÓI :€$Dčoď(ŔÄ‚©F0!üBđLűúúŚxѢE¬eÚ¸]Ak5e˙TU•‡ÝLďůÓ·Ý(ĄŻżţúŽ;nşé¦·ß~Ű ¬F)}÷ÝwŤĎ%Ćn¦żšiZ ţřÇ?š®ąä’K\.WăJő8tčń‚U«VY,§Ó™sçŚiÇ+Ďnóo»544¬[·cdDŽE)¤çŔ jiS˝ i-5)†Ůn¦:DD –¤¬Ď”NáŠN¬qp;Ů«Mń(Ź“Ý Ävkll4ľžŮđ»Ý^UUe°lśÄ[[[›±ýÂR śžiÎwŻ`0řĹ/~ń'?ůÉLÝ˙.S:3XfwEq÷îݦkôăJYëUŤFM5ăV¬XaµZKJJr{ ŕ(”áqxóďŮłgÍšmCò$Ą“¤úţ*]”¦Bq“¤P҇QI úÇŢÂŕŘ b© ”ŞjKKKˇ…ŢxF|3 ™'a*Š˘Ífăa7-¶btóx<555L&ĚřݧSŇÖÖvŢyçÍ µłn¦™U°X,ďĽóŽé{ŐŐŐ•——;ťN¦t’[D¬©©É¸•˛lŮ2¦Ú–ó izňřÔy¶Ý(Ą~QtŤ¤<Ö‚éĹJőČ#c6í•6ę´]1‹Ź ”ČTĆš~#{ xˇFYMo´Ł€iW ¤Ů­l7ÓÓĹ‹3•Ç ,Óš±Ř?ŤŮmÍš5Ěâd·čéŕÁW_}5OK\V`^S0f7–¨5}Żţţ~B«°ÍYŔŮt\ŞË”Ž8e‡'¸Śy.Ď<ł[2™L&I(¬ř|3ĹpŚŞx&ĂŚšR[RŮĐ%RBo@„„L‘(0¬ćó€u,âŃÖV–X…ŹĎ Ó„)°I1…o»!â˘E‹ŘđcvÓF+0&â ş1ĹWăĂË-îvěر+ŻĽŇ´c$0Çř‡K$Ćw8N˛ …B,Ą“ó©bÜcŃhô?ř‹äÜhś¸@DžxežŮíđá#Ë—Ż÷ű¤pHŃb©Ő7ɧ҇*¤‚–1žňLÉD“MĎkă¶;‘x íč`5˝ŞŞBe,dĂny7ÜŔŚÝ***4ŐicĎTo»% ăÓťUşńł3ß8ż®kŻ˝öTP¤Ťnă ŐçóÍH¨„RÚŃѱuëÖéś*¦™Ăáđt¤áyŔÔ"L?Ežoő őëÖď–ăquL&TGs¬1 ]ԛނ —Ó‰T¨>î6úoDOpvB<‚@GG™®qá…D"Ó5L0ď7<÷Üsţóź9çVźazŘ<Ť ü`’L§.LŠžžž<’śáőzy:sňÉn ëן94”’ŞÖhĄ2[ @LŁTĄ0ćs¤ }őm[éş^%2ö6nĚk VDŻ@ńř‰'b±X°Oy Ď­l`l»±ńK»!˘éěEQöîÝk`h,^ĽÉěhÉGc/O›gjlľ%‰o}ë[ fZ‡É¬y¦ŔęŐssMz{{gđHrFYY™~ŘTČ»QJ»şN–”,’deLşT×LšúËZ˛hÚšÓţâؤ*3čŨ¤‚ăF+ŔÔRHÚ?EÄRA¨ĹĆcÇb±XčôTńť‚Á ńŮŻuj­ă<ěfę–˛†m-čfLńś?čO~ň“Yźë‡!,›YŰ­µµ5‹ĺ¦cČ3›mŔ“®íF)ŤÇ VFGd:Nź2㞦X/Cv€ ĽUAźBeŰ…¤Ś€âřś)ÁD7ΰÍÍÍ…SÓËăD‚™yüřqăĂXĽx± l$(ŰÂÓŚe¬·ŁÝX¶”Ó35ľ°eYţÁ~`Ľź‹™Ú 3k»µ··3şΙoŐČ UUU<’ňĆnííí•K|~9”uŐjú—.Ď ń—Ş·ĄD.5ťK"Š YBP#>>iŚ·ěŔEH™ uXO¸ęWx:LŮČt-öĎc»—†jÍóBşČ8±Ŕ“Uxĺ•WLµggšíf|•Î,»E"‘®®®Üš©fđHrĆ‚ Ř‘e·úúú ÎJFc ĄšJµÜd—ţ›>-§Ë9 *˛šú>i:mŠBńÄoľů¦ÁŘĐcźÚď÷çV›f€'NDŁQvÎđ÷·PJy„TO54v3ŤEä‡Ý:´rĺĆŃQ)V4ˇ]ŠcDw5Ĺ]P)2‚Cv^"U @Š™_‹”=ĹXRr¦uA§rEµŽa:'!Ą‚ŕďě ‡Ă…0GF&ďěÖŇŇb|2vcýóÚFcv ‡Ă2°N§séŇĄv»]/ÄhZҬ1'ý®Z[[Ź9bđr .—ëž{îaăÖív»ÝngŤ•w¨ŞęőzëęęŚŮÍăń**ź s)‘Httt¬^˝Z–e~‘"–iťńÉZ«˛)/ç‡Ýęëë×ÖťßŇ*%ĘX:ËčµiSzŁ^îŤ=VµÁĄźĎtYSSÓyçť—•U ó~§]»‹)»ĺ'«püxKĺ‚űnui„ŚśŃ„ ¨cŞC #2v1€€ Ć$E ĹÚ&˝Ő‹HJaˇEÔBo3ôąsŹ8}(2Í}JÁ“R—0€ĘĘJ ۸ţ`*ĹJĎt*ĽţúëĎ2X­Ö/}éKË—/wą\ĺĺĺUUUUUU•••ĺĺ奥ĄŢ4JKKMĺŘRă{gVě†wÜqĎíŤu,d•XüGrŠ@Ń7ó/ÎíF) ‡ĄX”K©V}S§űgć±J)Ń©ń¦S ™fTšG—2¶WaŇĐۤ DŻ ś!Z™X+¶ČcčÍT‘BˇĐ¸ůxłŚÜŘÍívŰl¶Üüť5kÖ0ĹĘqQySĎt*Ű-ŹďŢ˝Űô}?ő©OŐÖÖş\®ŠŠŠŠŠ ŹÇĂ‚‰ăšáUU5Íđ°[ViĘM›6íŘ±Ł˘˘ÂôU,±Ŕ/śç¶©Š*3ZyŹ5'TVVş\.&uUě688čpTřýr ëR˝Ô8¤“ c2 şeĚ|ĂĚHů¨@Ť˘"ú†ˇ·‰‡.A¨˛‡ŰÚµšŢ<˛›éŚNđűýl‚Taz¦‡Ł˘˘‚ůnúĂ#„TVVćĐ›-ÂęŐ«™bĺ8ĎÝ´š¦ş544Jé-[¶ěŠ+®p8eee•••ĄĄĄě&zâK IDAT—„c™g:S!xÝu×Y­Öşş:Svëîî…B¬c3±`Ş˘ZUUuď˝÷˛J´St ‚PRRÂô` ‘ÝÖ®Ý1<,E" P¤ çŻÔ,]†aÁ1KŠh±6Đď"‰%"ŠúOoś[€±6ť“Ź FzşÁ`ŢšNB€ŃŃQEQňUÓ›L&Ť%[Yž‹Ů8ăžĘŤÝ–-[Ɔ;ެ.$ď‡GäĆodÜ+**ĘĘĘXşvŞsĂŘ·1ĄĽµµµëׯ/))ŮĽyłég‘$©µµµ¶¶VQÎÄ‚©Łíp8PS—ä<ěla±X8çLç‡ÝÎ>ëŽ?˙Y’$HĂT˙hĘj=ŹŤM¤˛y1T›PĎ杦R¨Ţ(&•ÚE$„ŞŞqnaŇVBJÁ#Iííí6lČoÇ‚éŚNÉ#»µµµ% Z‡éÄ[®qba*°:ŢI+ŤĎ{M#dâSĆ Ŕ°hѢíŰ·;ŽňňrFmĆ„11iĹn3ŐB˙ńV«ŐăńśsÎ9<íÍÍÍ_|±$I<ˇŕPâbs°ĎžóĽS‚P ěF)íí´Řʇ…¦Í.ĐůěčllŤ¦”AôăcŇŮU`j"Q%ôXald Ćhă襂Pm±olĽôŇKeY汄OLç«€ĎçK&“’$ĺ…ůgNtsc·şş:M±2«|?ĆíúpÁX,ŹÇSVVćrąŚO EQŚ=SNNŰmĺĘ•›7ofÖÓąçžËcb!üă°"c·śç4›‚ÂiÎ6»©ŞŹc((ŹŚČ©Î*JIJ®2PźR`ŻM™néú¸1†tďĄ EEQB@g»1Le˛é˙‰^A8Ăj9ŢÜÂÄBŘ ŠĽŔăń®‘eyppp:zůÓg˙ü¤ěf\ň6)‘ŐńN ş™í¦ź‰Ąß>88h,ß„gź}¶Ýn÷z˝ŹÇ4ŞÍŠ% ¸Ýnś9믿Ţjµ˛\mEEĹňĺËMśXb…ŢxjžL \X%łĂáČyĐ=xľ4†Ůf·¦¦¦E5«}>)’R…¸€”ŞŚÉ´0\Ć^Mĺ-cÜéS¨N—B†ťŔ’T6ô/S3‘VÓ\‰ ” Âp牼'Ľ^/ϲŢŢ^&Ő}ŞŹg"8%y'Nží¶`Á‚˛˛˛‰•n ąĺL>llě,Y˛dÁ‚l;OÓľ©GÉӆųvl;věp:ť,ěe±X¶oßnĘn'Ožôűýüěfzj±k„ÝĆN)»q^‰ł)˙čĂŹÖ®Ű14$Ĺb)¦˘šÝĄMQČľˇÖ*?E›=Oµ×ł:9D"Ä%Ó§ľAČTÁ8!Ą˘(ç¬C?#(//çYÖŐŐ•L&óz3¶Ý¬VëÂ… §ŞQĘÁvÓ*Ý´ćy=r«w35?ׯ_ĎÜ.&/lz¦r<ĄĽ0::jú^×^{­Ífs»ÝĄĄĄ¬scçÎť¦ŻR…U˝qžŰ¦ËEa9•ŕ72f›Ý}|xéŇő’,«iq6Ôć]ÁXAĘ4Ł1?‚‘Ő”Ž ­6NSϧ^BBˇHęćŕNZ2Ó!˘…`© TÂäbňXŕd·'N°an§úxĆAQăůäŐŐŐ,č6i *Ű͸yž§WaâvÓë«WݶZ­Lĺśç3•BÓäŹ öF)5őL«««wíÚĹŠT´p;»€6ţŤg±)f˙Ü3Ƭ˛ĄÔ7‘$qhXRUH N¦Ô±J”ZdD*RťY—^žŇ¬Ô·: ‚KĘ ‡ţńř¤ě±X* ‹,V6e#Ź#˛8Ż˙ŽŽŽiŽŞĚ ťťťĆeb,aj·Ű'ŤĺĆnSÝ€Ă3…ÉęBLĺ*W¬XÁ:ö9őHúúúŚđČÓV˝á¦ąę۶mă‰LeĄBn꽲A‚ŤnłŚYe·p8 č äŃŃÔ˝"Cp4%w”ŢÂL¶ŚJ5KpZ“Vć;Ą(°qô łc'ZjÚöqŘc‚čÄEK§N,äT~=S‚©Č›.ëëëóů|ą)JOž3Ő4č¦%L'%Łl=SŹÇłhŃ"ÖĺWÍAŹYe·}űö­^˝ydDŠ„3üXĘBźi©R}Ű)Ś#8íFw,©K*HŃŤŁ×Ă .DżŘIW]]ů 1lĚ ŞęĚ6Ćö÷÷‡B!Ó@g9ČT‘řlm·Ő«WłZIS ¦4« ŞŞ11©k&Â÷1Ö‚4»’LS ۶młŮl.—Ëëőęé·oßnz,¬ĚĂn¦‰ć✦ěÖĐĐPW·}pPJ$Ç|ţTĽ,]ě‘á0:1Ď0Žŕ2n)Ą ¦:đ)˘U$ S&Ô N)Ťéě„” ‚5îéé™Y›([,Z´gŮÇśmk´ţçţçăŹ?ŽÇăĆt™$ŻĺĺĺYI°*VrV„č7ŽŽŽ;ו••„ÎöFSWwFZč=Ź(Šʇ=ж#âŽ;L’RÚÜÜĚyG4íTUŐçó‚>ì˛[KK{yŮ’„"§Ćô! űz|ËžfFĐĂxQ€ŚŐ6&… 鲬BR¦(m˝Ţ(3(·FD,łXj,–ĆĆĆÜtčg gśqϲFŁQţć;Ćb±ÇüŔĚ|3XiĚn˘(ÖÔÔŘl¶©x™6a¨­­eÍóąŐLz‹2Ť‘•••MUŤ<)(Ą¦i éJSvs»ÝV«µ¤¤d˘iĚ™X` ű<ž’ĎÁÁAY– a Ě&»©Ş+á:<,©©g:ä¦ ¬QťY"óڶel2!“_ H4)"‹5UŮÇT7íab!V[sS«éÍ×MiéŇĄ<Ë:;;{zzŘ÷iľă3Ď<300pđŕÁ@ `` RJŤŮmÁ‚‹… ŽOşůťS«ŐʢűlÎń¤kŚů"sŞč>‘i~“ÉLZ­VNvëéé1Ö BD–ßś¦¸›Ëĺb–ěÄŻwëÖ­<íJ¬(„'đÂÓ3sňäII’ň.Ć0{ěÖÓÓăőVűüRŔź™o˘M&Ő§ýNĚř iţëŽů§î/{¨ÄĄ$‚şs‘§ dÜF‚čH•EěëčČobaٲe<Ë(ĄúÓź"‘Č4sóŃhô{ßű=z4˝˝˝Ć:?“ ŽŹbaĹŠLdŇJ7cĎqŇ>SžĘ[AX%Ďq8pŔřTa%ŻÓoT`™„IĄ=Omm­éˇ¶µµiRH¦ďeş·ÎÎÎ|]NÄě±ŰG}´¶nÇđŤ© g%‚KŻHÓ˙—a“PUY’‚‘xHĘ3ĺńI§:l'Ľ˘;y’]äů2ąW­ZĹąňÝwßŐ”mr~»Ç{ŚEŮŰÚÚŚ3*Ž€X*‹­VÓ›Ż€ÂŞU«ř ‡—^z) ĺv˙¤”ţÓ?ý“6úRĘŠ„§b7NI^ăę NŰ ׬YctśúLM5µ1Ý]ÄĂn‘HÄTL‰5'»-^Ľ5BMUÇË`řꔦM5µµJžăüă˙Č#ô8ýz–‰6ŢmÝş•'łĚٱ€ŐŐŐ¦{űđĂYä7·+e÷îÝ’$ÍČ…6KěväČ‘eËÖŤŽ&AEë*Í< ™ăSéĚötzŰJ7ćË2Ă->ţ™Ď\NĘŞ:n´ÂÄ“Fĺư@‰ ”‰˘ďD' É—É˝aĂΕÉdňÉ'ź Ů:mmmwÝu׸łŞ««‹5xM<Ű(ĄÇŹ7ŘaeeĄ6,Ęŕ2ćôLőŠ•{3ć‹IŻS22] Ço~óÓ5Ě55yô/ Ü[§ÓąnÝ:ÓioogÓüLĎžşË?üŐćĆI&“wß}÷ŔŔŔŚDf‰Ýęëëëę¶&â1t¶Ičj@t‡i ŹjMZú•R T•ĄP8Ü$ ľĎţőőh\–QĚô*đÇÚ`,÷Ů )Eut„żŞ{Ć›7oć_˙ÚkŻíŢ˝; ńßý~˙ 7Ü0Q‘˘»»{*v4Ř'O¸m·ÚÚZM±Ň`o9Tóš¦ĺë1ŠD"/˝ô’ń`mě™RJŤBBś»q†Ţ‚Á`oo/ˇđÔ]F"‘7Ţx#«sOĂý÷ßßŘŘxčĐ!6)«×NÄ,±ŰÇ^Ľ¸®ż?)Ëę¸Ti6‡TGpZ 5eĐ©R,Ţ7ŢrËe6›ŐfłĹe™Ś=Ń'·ÎĚŠ{­HĘD±ZXMoľ ۶mă_¬Şę·ľő-ÖßΓž÷űý×]wÝáÇ'>Ĺl·IÍ@ž 7fvCÄşş:ćyNhq7ýwb$ęďďç9öěłĎšŽÂćŞŰn‘HÄXě›Ůn\ĎźX`b!¦çöŠ+xööüóĎŹŚŚDŁŃ¬Lýű÷ßwß}přđá`08}ĺ’Ů`7Ji H$ČĐPRMŇŘŤĹč¸-ăţ«ű‹é׌KˇRYEÂM˘ŕżí¶ë‰„ĹbIČ2«ćCĂMĂT"b©(.¶ŮššŽs’Ĺ©ŔöíŰ9ă> 'Ožüűż˙ű“'O˛¨ŮTÇL)íěěĽôŇK§Jó…BˇáááÜŘŤ%LMµy<ÓŇŇRÎ>vÓjŢ~ľ'N(ŠbjŚ$“Éx€g‡,XfĚn¦-ô<ÚĺYu,Ë8s÷}}}żřĹ/‚Á ômhhčć›oflŢÔÔÄÓŕlŠŮ`7źĎ'Šż_öůäLńZşő €)Žků„1 ôm{úṳ̈PUf¸EŽßrëeV«…Rj±X$•˘Ĺ2•ש<éšĚSAXdµv鞪/kjśqĆ‹/Îę%űöíűĚg>sôčŃh4Ęd{éXH’ôóź˙|çÎťű÷ď7ŘOGGǤݦąÍ0ťŠŠ Sâ6V¬ÔĂ4î6‘ŕL Ož<™H$Ś5Ź?ţxKK‹ń®X>ašĺ <ęľ›6mâ Łoj°Ś§<áG?úŃŢ˝{CˇĎő2::zíµ×jťą]]]ěŚĺ|Ż©0ě¶gĎžÚÚ­ĂĂÉHDČjzŹÓ ”“,Đ+#îuťK*KÁpä¸hńßvŰőLĚŢb±$U' lÖ?*Ö¦ą¶ĄDĽ˘îîÎ#»BÎ9çśl_uřđá+®¸âľűîc®G<—$)™Löőő=óĚ3çśsÎç>÷9Ó«¨łł3vCÄE‹ńŚ g3ôŚŹaÍš5,čfş7Óz·‰á3S­]Jé;ďĽĂ.ą©~ýćććo}ë[ĆűŃ Ś­3ź<ĺ ¦Uxv»ť'ŐŃŃÁNc_˛®®Žł[#Ź˙ă?ţă±cÇ4áI—QJ[ZZ.ľřↆmcooďŚ(λ544ÔÖnH$ʸT©ţźéÔč„úişI‹jl§ŞÉx˘'işíÖËE‘°;ł(ŠIUĹ±Ş ăLőÔÄDŞ•2QtÄâ]]]ů ˝!âů矟à Ăáđ<°}űöm۶]qĹ—^zé¦M›–/_~çťwîßżź‡©»şşâńřÄ ŰÝŘŕ(ţy hęśjuĽ¦A7SvsŻľţđW_}µ··wŞĐÄŕŕŕŤ7ŢhZ7§ÇôŮŤő‡ŰnČăśĆb1Vúc|n{˝^ţʤľľľ›oľůřkwaÝőěÖÂÄb±Gy䬳ÎúřăŹő/ěďďO&“Ó7#fÝ::ş=žšdjÄß„‚Ö.oaĐ/Ňë\RY F"MKŕÖ[Żeßc7IUQ`ŠšDęÄ$eq‘Ízěر<&.ľřâś_«(J[[ŰîÝ»wďŢÝŇŇ’Uȶ»»{âŮć÷űŤ‡H-Z´ÂR ¦Ž§1»ŮíöĄK—rŠGšľ×DĎ”§2 Ý{ď˝ýýýŚŕ´ě„ŞŞ‡şč˘‹Ž=jş“¬Ž–“ÝŚm·¬ < Ye·o»í¶OúÓżţőŻOś8Âáp˙{ď˝÷Ż˙úŻuuu_üâµŇq ˇPĹě¦i»ťň™X)i°2<śd„„©/éÚ4Ňô0ć©@ÚtC@6‹€*Ĺă=‘HÓßÜq…(’D"őŰ‚ ©jĘ3Őía˘]Ć“^xq‰ÍÖŇÜĚÄBLŁ?§ëÖ­[´hŃÉ“'gů}{zz´´©f?~ÜřÖĘ:L§ă´éŞU«¬V«i/iVabQHii©éŔľ}űţęŻţę+_ůĘUW]U^^.IҡC‡žţůźýěg¦“ŚÇÝ §i»1ĺSşçd7&’L&ťN§AöĚ3Ď|ńĹyvČ Şę›oľůć›oBŘžM“ł”ŇŢŢŢM›6MÓŚ8ĺěÖŢŢ^UąÄç“™uLŤŁ3­“ &. HRvśömł8úT’‘hłŐ¸ĺÖOÄă™ń‘‚ (”2vKĺ ¦®Ń6NŚt‹b•hůŕD> ‚půĺ—˙ô§?ťĺ÷ŤĹb}}}«V­REŁŞéLhžcv«««3V¬Ě ănümü­­­÷w‡6›m:˝âĚD2~9§r‰i;׆ śN§±<'ŚM,ěđÜsĎ5ŢĎTPUŐ´'DC__źiǧÜ3mhh¨[»cp0‹¦hXŻ[9®ÉtâšršŮ’vY@U“‰xo$rü¶Ű®@̤Ă(Ą„ ĹńžéT9„I“ ú:ńZÄD_źßďĎW“0"^sÍ5ł˙ľpâĉq‰ţSv3öLłR¬45'ţv555¦»ŐR:M‰P-!h°Î&SScÖjµnÚ´Éô:;;Ăá°ibaÇŽ%%%¦{›&4v›Î—|ĘŮmďŢ}+Wnîď˙˙ě}wśEŢ~U÷ÄťÝŮLf‰ ,’$‰Š q‰ =ăNĚžçÝůľfďÔ;=•ó5áO|Ĺ€ńÎc‰Â›ÍyvgĂĚtŞúýQ355Ý==˝łC¸ß»Ď‡ĎŇÓS]]]Óýô7— J(ÂQmCo?Ç„¬m ŚdĹŰí+v8:.»l™ĘĚóĽŚ1Y°ô0|čśťă2,–LČ••–žBÇ¢E‹N½ĄEeeĄę]jr…f“Ň–ôÄóüčŃŁc&Ď›‰Śa÷,ź—@r4ć‘Ţ”?baŇô&Š"IÉ2ľ·G|Ţ­ˇľľ^Ĺ^ôžXvĂ77{Hjj˘ö$ç*hC|# %aŚ‘j}ľŇ«®ĚW nD´V€Ľ…ĘnZĹF~EzŽFpÓ¬Ö!v[Qń©ŚéMIIÉĎĎ?ůç%yŃ,/Ën¤Ňż‡)ě–“““””dŇčLČnô&ˇ{FŚÇ4˝AWWWĚĽ.cÍ”ČĹ1ë_‚ž;Ś9BxîŔ††’Kß%éÄţ˘‚ "ßŃ!{<6ä/őíÇHK˛××]ě°w^réRb,Płç`ô<“”S-–ˇvDZĐ€ ť*łŕyţ’K.9É'µZ­óçĎ'^|˛ÇçóUVVB2LcćĎSČn4yŢ b%‹§ÓĘ&)))&W®H:::BZ)’…±ěćrąH°›yÖdĆBYY™qLB¸bĹŠmt&ěÖË Ën9rBK‹ŘŮĽźTąVáŹ7Pm`$ B­ĎWş~}>łśi»!BŢą`"˝1‹iĄ9uRx>Ýji«Ş:…ĹB „K–,1S&7o^vv6ŘQ\\l¬żŻĐ¬…»Ńäů1·1źv­Đ!śÍb鮩%˲ś*ÓĎócÇŽ]ż~ý =ËęŐ«sss].WFFFZZĺA*** 8p`ʦýúőÓî$+].—ůŠ•1ua-µ „‰˛%­\ą’¶3nvđŕÁöövżßŻ{™LT0iwäć榦¦ĆlF 1MoÇMś8qĺĘ•fN†J^6§©Ď´ `Wî)Ť QiÎ?)›UŞŰ†H`tĆ’¨ńůK7¬_"Ë’‘ŕ†1PwÁf ÷zŹ)¸PLoşŐš,I$v˙T±„Đn·ß}÷ÝşŚLś8ń /LJJJOOĎČČ`ŤúĺĺĺƵ·¨KˇGEtµ¶ŞäääÁ“äyób‚IŻ‚ö¨Ĺ‹÷´‚žyyyS¦Lq»Ý#b•± _|ńI[Ö~kě0=·»Y,–)S¦ÄlÖĐĐĐÖÖóކÚl¶űďżßLń¸žÂfłÝxăŤ.—ËĽÝV'ÝŞŞę’’˛šD1„Y´’ćZiëVŇ6´ĆH–˝>I˛Ë·zÍBmŚ›BCÍÔ`C×*gĺ¸t‹eÝN §pÍmžç ô裏šŽĚcŔ€·ÜrKRRRjjjff¦Űífµ`“+4›!Đ…Ś=šÝŚ T!ćó «™śNçĆŤMžEV«uýúőv»Ýív›±sUVVvÓĆĚJ¦=’Ý€9ĺ!dryS‹Ĺ’——×ËÓB¸aÆQŁFą\®”””‰˙*ś(vSĹçCťťrkł¤-Ć Ę~ ěNŤÖ†ř’¸J—J’Ú0V d˝ Ćš©n­UŽ0ÍjÍqŘKKJâ[R/Qŕ8Îáp¬ZµjíÚµ‰í9--mÓ¦M„ÔNŞ"óëĎ÷Č.Ł•ÝĆŽk˛beŹM*áyţżřEob /şč˘áÇ'''§§§Ďź??fű™3gFă‘D%™R$Ö±@:t8wŢy§™e·Ěă‚ .7o1Ý{HÜ]ť(v+++ëßxk«Ôî f)hÝ :.Ôhm0Ć)Š×ď/MNöŻZ=?¶ŕ†1‚@™%Mµt˘‹lş”!H±X˛lvOUUÜ+"' <Ď'''?účŁf4“HKK»ďľű†š’’’™™™™™™śś¬2!™qÚíöž˛›VvËÍ͵ŮllśťÄÍK‘žžţĐC™?‹3f¬X±")))---==}.‡7¨ IDATéŇĄĆZŰ€rssuĄHĐ“ânćGh>cÁŚc`±X222ţřÇ?&ĘÝĽlٲK.ą„Ěaff&ađ¸{;QěVPP0ně´¦&ÁďW4’™ˇ‡!JŚDA¨öűË6lX&‰bÔ(BęĘn=r&¨89.Íb‘šŰÚÚNˇc„Ä·~ýú˝řâ‹&—ó0ĆŔ~řáQŁFąÝnBmD'UÉMƲ›ĂáČĘĘ2ź?Oˇ’Ýl6ۨQŁěv»™Š•,bR*ÖÔć%€Z­ÖuëÖĹQ%//ďć›ofËěěěE‹˛páB«ŐjłŮtŻÎŚěf±XĚŰÝ#FŚČĚ̌٬˘˘‚d,ÄĽ·É8iҤ?üáş=ćÁóüe—]vŐUWą\.2‡ééé=ýéŐĂëÍ€ °oßţaĂ'44’„€nBĆ@ăaÖc$+~iJ˛˙ÂUóLV ÄŔÓ->®ÝS'Ąí—aµöă-$ĺřTĹôđ<ďrąFŽůĘ+Ż_ÎY ˘¶üö·ż6lXJJJFFFVVVjj޶~‘,ËĄĄĄ] 0€¨Ą=µ¨d·aÆjë‘Ń `·hv7šĎ'žxÂüdB'Mš´iÓ&·ŰMĚ”D—çy~Æ ŃŽJKK;˙üóU ,Śíndś=ŇLÉQfBUZZZš››MŢŰ‹%99yţüůĎ=÷ś™d/]dddlÚ´iŐŞU„Ú˛˛˛233{ä(×Ĺ a7ŚqKK‡˘ŘEQçQČântżnŇU° ±¸Ę6\łLbꤼĹ*#Dý3ckÓBë?đ—nµu8Nąc„\W)))ŁGŹ~ĺ•W.¸ŕ‚ž† AÝn÷ 7Üp÷Ýwggg§¦¦feeegg§ĄĄéVެ¬TĹjµZ˘ ''‡”Żč‘: 4ěF#ÝĚÇńX­Vá/µGćsŕŔŻľúę´iÓbž—㸥K—ŢsĎ=ééédę222ČcÉq\~~ľnţ„đ˛Ë.KIIIIIa3@Xttt\Ejj*ąĚýÜÂ3fO‘ËËËMę%D|KKK[¸pákŻ˝6fĚó?™í%K–<őÔS3fĚ ŻU’ť’śśÜ{cë ©Íëóůb÷z%ŹG ¦OÁ`U°T%­ľKó« ă9… ˛1’Żß_âN ¬\y~GGěĄp ěv‡OyKđůÔő˛ ¬rä@ŞŐ:Äa˙¶˘"š;˙d‚Ü^n·{Đ AżţőŻçÎťűŇK/UTTáÜ”””E‹-_ľś.—+55•<¨$D{{ >Ľ¦¦ćرc$‘HŰ'±ĆQ‹MËnqÝO>ůä-·ÜRQQŃÝÝ­ŰŔét<9D,6lŘK/˝ôÚkŻ˝óÎ;şý@srr®ĽňĘI“&9ťÎ”””ôôt˘ËS:¶ŰíO=őÔ\ŔjÇ]xá…sćĚ!r Q0µý˙ôÓO•••$đH÷ědńĂžNňý÷ßżvíZ˛ A3—Ë…c•źŁŕ8Ždłśy景˝öÚűďż˙Ţ{ď577•žž>{öěüüüҤ)))iii©©©)))=ŘuqBŘm˙ţý#GMjn;:djNck‹‡7´ű5mDˇ:(żá†eżßĽ dłY…@ŔĹ<˘ş´eŇ*~ Hćůt‹µŁşšĆô&¤ŞbÜŕyž$ýA,X0uęÔť;w~őŐWűöíÓ.ÉHKKËËË›9sćôéÓ‰GŇétş\.˘[%'';ťÎhz%yřÓŇŇ rIo=ť“¬¬,»ÝNäna^^I/í©zâp8ŇÓÓűőëç÷űupg0Ó^:Âtr\şÍfëŻ7nÜ)g7!QâȆÍf›?ţ¬Ył|>_mmmmm­×ë•eŮfłąÝîdff„Xµ ‰‹Ü[ĆQT„ಳłŁ˝ŰIvAOoЬ¬¬ĘĘJň< „l6áŮ8tm§Ó™™™Ť „Ń$&R»‰,%cµZ/żüňŐ«WÓ6‰!źĚąRRŞ“Hěť@Äęąsçććć¶´´—ĎóD&ÍĚĚ$ f4ŮĺreeeE‹:˛X,$ ·G“C~»¬¬,ăxlă€îh Á‘ÔW‡Ă±hѢٳg“úş$ ŹHç$RŹX0Č»ĐĺriÔd?38!ěVTT˛fÍ ő˛‚1C}‚cy Dî µAHĹš@ |ăŤËü~_Ź,\«ET 6łĐý¨«´Ş>Z9.Ăjdł9rdÖ¬YÄe~`'„×›Ćçóůý~·Ű=zôhEQHą@r{‘‡“XîIń[roĹĽ§yžOII±ŮlŃ~r÷ÔhBžçôôtâńćyžBqôC$Łh˘%‘#ŚEBžç‰TE'“˛™Fâ9aźLÝŔz«Őššš*Š"Ďó¤Ú8™gŔÝDÝF{…ńQFFFĚ* fîŐxJN’đ’’’ü~?I¤%·=_„‰WÝÁ€ś1ૉg7Śqg§ÜÝŤš›EŚ0`č,ÜP Ivş{‚‚[ijš´lŮyíím=‰…·Š˘ÍUˇxFQZŮöéVËp§ł4´`O-ß'ä‘#·ą˝Č˝%I›ŤL^ˇäö˘G¶-ć NŃĆ@s!#‰cB¬VkZZĎódiAÝx”`ĄhmbFŠŃ·yV].™I2Ťd ńĺ”ČÂÚ~¨MĘb±´húđ“Ep˘]áh &<»Y­VbV3nI^=íśH^dfČű€L}Ó1÷Ql6őfôčt1‘xv«ŻŻwą˛Úۤ¶6‘0UxŐ+¨ă4î@»ˇÜnĽq™Ď×ÝS×$Ďó‚¬Đ Ž~Ś&Ó©pş-ÖţvŰżŹ=… ęŽÜ=Dýq:ťôޢ!¬TvSąÉz¤†n´Mă·X,„Ńô4—‹"ćcofx”Ł ‘7]‡”<Ăä5:ŁTk±X†H^'$gŹIÁ1ŻB óśG˙äzÉÝE'Ť­YOĽŐ|$˘ą°{‰ÄłŰ®]»ĆŤ›ÖŘ$tw)ÁŘ"`ް˝…ô Ĺ0{0q•¦§KK—Îöxb7jÁóĽŚg±°R±\Ćn붤.žO·ÚuőŞeŚO9čfµZIykşp:=™,´ú¸Éł$|ä„ѨšoR–ÔE˘†Gž=2“tÉŚ™|,©DCµ3óĎó zežč71ÇqD"c' 0Ďą|Nł^]bqBŘmú´őß|+˘Ď…žS!ŮÜ Am‘{0E±: TÜróň®®Î8bĘxžÚÝ8–c…h¨Z’ ;ÇĄ[mé=zôŚ3Î8… Ń@ clµZitľ>~:€,Ăě“j-boÂ ŚĽoŘ'ü˙¨Aőđž´H°¸1®«k¶ÚŇ ÂL˛Aô•úX–۲Śteqţ9ÓĽ,8Ž< ~‰7öcL[›jŹ…VË&¦7±3™(Đ'“hŁ˝”×N`$Nőp"ĐËť†WtrpŞ~Ół›,Ë~?ôzĺćfë•Ţć!Q«Šk®YÖŮٵv“‚ `<ÂK4™NuŤ0hzăҬÖaNgyȱ‡tه>ôáÄ!ÁěV\\$ ¶»䎞\U-řý€¨ţFč#q8 X”„š@ âÖŰVvtxă6iACěĆA—~Ąm­VW%ť<źnµ˘úú–––@  (ĘéăXčCúŕ§ńŕÁCCsňęYÖ)řQ™2\Lj# YnĄYĘ‚gĹgq#€Jž&\˘ Áđ ťă2l¶6kqqń)/҇>ôA…DĘnă––NAŕHÁÚRęU}E]¨cŚQŞ*n»my{{[o|‘ccRžK’VÁÔÝcĽźýČCaµs&Ób!˙7ÍĆ}čĂiD˛[gg'Ç%·µ‰ž6‰ÍOŔ4ŃJ7 ’BXQĽ@YVž7oFcccoĆ1–†<!˘Kd:)0ŚŚă LµX†8…Gé€}ěÖ‡>ś&H$»íÝ»wäČ ÍÍBg§ŘäŞČµŻ˘&Ďc € Š5‚pô¶Ű–µµőJp#P €<y÷D'Ą;u©Šmśl±¤[mݵ5]]]§¶ yúĐiw+(Ř5ně´††@ €XÎĘ 2%Ô—Šeą]JłłńůçOóűýq[Ü(DZ?¦`ÓÖ¦ÚI żżşşú.؇>ôA‹„±Ćřر*·{@C (0ëő‘ě"~ěr ÁĽ+ 0‰ŕ¶aĂ2ŹÇcjĺ„X1yNWpcĂ {dzŁ;­—iłq:cá´ŤéíCţ"ˇv·©ł 55ÂK&h ŃŞWb€dĄMʲłÁyçťY__ź-@lÖ:(ŚŤqŃBČśnł w&—“Ţ8*öôˇ}8H»UWW§¦ ôx„¶6‰p–&Y€ČĘ”¬#A n+Z[[ĄâÉ!g1éLŮŚÝ €ş-–vŰ÷Ç+Oścˇ/ܤ}PÁLý„±[AAÁŘ1SźOŃňš>ÁQRĄ= ”őďĎ=wR]]]˘FE˘yVŔŁ nÚŹĆÄG?şx>ÍjkŞ˝^/1˝%<¦wţüů‰íł}řŹĆ'ź|˛rĺJă6 c·={öž}ö ‡·‹bp‰?µ“T×…Š1„Ár ‚xlĂ5+ZZZh›W–ÍDj—@Źą ÂDTßÚy>ĂfÍ‚°¬¬l„ Š˘ÄW’ĚÄC’Ř>űЇ˙ď‘çcÜÔÔ°Łˇ‘ř ˇvu« č6FHQÚbŮ€ţpÖ¬‰55Ő „„ 6ĵ=ÉNŰF „™6ŰP§“Äôö©}čĂi‚İ›$IB¶{Ą–`@tŐ4RG`,b•(»úęMMŤ‰ Ş@j—4eŰÇűRÉß4«mXRŇĄĄÝÝݢ(F[ĺ¨}čĂÉDbŘíСCCsƵ´R°Đ®Ş>ĄŢcEVÚB©#»Ł:ĺpr#t»Ý Śňá%MÍ0Bpşŕ L±đY6«·¦† 9ĺKdőˇ}‰Šw+((ČÍťRßř•Xe)Ă„IŞ’¤ĘŮ·Žţçęź>iű(Q‘nç%„fj˘µµi›E#G'ϧ[í°˝ť,ÝXńł}čC|H »:T4 ˙č†ú€,c]:Ăş+1Br» ”Ąöóźwő «ĂöĂš}Ôőq,ô>Qcl±XYV-Ł+ ±0p)=±ÎĆq™vë`»˝¨¨¨/zŁ}8MÍcěő|~ÜŘ@!ÓúIĂApˇŻ0$©Z”*/ľý,ĹŽ€ŕP°jŻ°Íż¦éҬ¬¬Ţ[ŻxžH’UłúśöŁq\Ô[Őg0Ăj–ä,))9ĹB^~ůĺÎÎÎDőÖ‡>ü€3Î8#f›°[[[ϧxÚDO«hP®’­O !Ä@Q”6A,Mď'žsŐ™űä}m¨ Ú8”Ś~^yDřâ͵ő—öď? —±cd9úTKŘ« «]ę‹°ýŘăHw©VŰ`‡sOE1˝‘eá{3rS¦LITW}čĂ˙$@3Ý˝{wnîäćĆ@W· Ř*•‘´>%c„(‰U˘XąüΙ¶ŽňÁ&Ô !ŕ'ă˘üňwŇߨ­­‘eą7v7žçý’Ż»M5ţV÷c˛…ϰŮ|uu}UČűЇÓ `·]»vŤ=Ą®>  ÝMµˇb: °˘x±<}töSĘäňrą\ÄČŮ8ěÂGçWż=ř*kŽE/>p')Zř$e`’‹ćL`÷Řy>ĂfK‘¤ĘĘĘ>Ó[úp: ěVYY—äĚjh(Š‘{”Š3c„’T%ŠÇWŢ~V‡Í{H*lA-¤)‚ ÁUźŰđNîUĺ’$Ĺ'»q<P$h±C"3˙0ÖIé_ä2l¶ˇNç‘#GúŘ­}8Đ[vCuuÉťRsł@4 Y<„>ąMË3+g]1©L./“ËD,†űÄBČ[yě Ó[·L~«´˛$¨÷<Ç ˛\vđĆnŃÄ=]pdŘl#’’ĘĘúěCN ô–ÝŽ=š™9´ĄElkŁU©$¤ÇÖq“¤jQ¬\y×Y^KçA©°µ fq0Ŕ[9ě­“Ľ[ÎzçPeˇ =•Ý „˘‚ łpŚ™]ŃZŐ5Őjíçp4Żě3˝őˇ§zËnˇŇ ~ż/¨—j«T^ 9Eńbićĺ¬Ë&•+eĺr™Ů`€0Ľ•.Đ‘×ýÁś÷T˙ÜÓµM!Ç ˛DlÖŠiƶ6íW*¨v&ń|†Í&77···"îĺÜöˇ}č zËn{öěÍ6ľ®^$D4SÖŤ ăOŔ‚(UIRŐ…wÍj罥­¨5Ľ3ĺhÍvŔY9śşFű>^řáŢšÝ=ŞHÎAĚUĐ,ŘÓÖf;ͱiłő·XJJJúLo}čĂ)GŻŘ cÜŇŇ©(¶Ćż‚‚üе»… Š˘´‹RyÖ4ăŇIerq•FíŚĆ€·r0 ú‡‰˙XúiAýO>źĎ¬ěˇ (€çÇEÓI hΠŤöŻ ›5'ÉÉ.׼öˇW(,,ě›ůÓăC‡ťśsőŠÝü~ż$YÚۤ–ćđrP:!‚CX¤JYŞşŕWłÚř¶ra #¸Q`’°a„ć,tBa°řůŠí˙lüľ«« ™Č֤ϳ¬eR'í‘…Ž4O·Ú‡'ąŽ•—“:˝=™ËřŃÜÜ\\\ÜÖÖvrNw:ŁĽĽüŠ+®XştiC© đůçźçççź{?ţx_2IL`ŚüńÇąsç>ňČ#'猽b·?1âŚć–@G§ {GµQ ŚŇ&JĺŮCŃŚK'–Ëĺĺr™Ä¸JAÎĐĂFs8ˇÔ}˝ę›ď<;:;;c„PTČs‹ZŔ2bć,qú¶9S¬– ›­)׼šĹľ}ű,X0pŕŔĽĽĽ~ýúÍ™3ç‡~8ˇg<ťń?˙ó?&LزeKzzúI8Ý믿ľbĹŠ/żüň§ź~ş˙ţű-ZtNzâ°}űö—_~ą©©I÷Űť;wľüňË˝9Ĺ/ůËąsçţř㏙™™˝éÇé Ĺ>xÓM79rD÷Ű'žx⦛nÚ˝{woNńăŹ?’gü?ÝŽ)Éî7˘¶> Ë Ié…Ľ‘¬RI,Ëާ_2±D.-S"bÜÂŔ0Ü Ľš Ć<ÇA'Äéx×꽟 ź¶··Hp !ŔAČqĆŃmÚ ‚î±B+ÇgŮíťÎ˘#E'´NoAAÁe—]ć÷űUű%IşţúëOš]ă´BKK ŮČĘĘ:ŃçzŕT“?gÎś}ŇEQJKKíííÚo1Ć„×zą ĺÉüâg7Śqg§ÔŐĄ45úŽę-%d©J’«.řŐ¬6®í|Đ<Ş5jiđ?f?Ä+qąŃ ·OZ[[‘˘Dc7AQ`ô›Ť),ZKm{âX‘”TRZrâ ÝÝÝW]u•–ÚŔáÇ~ŇÓ­­­dŁ÷˘A{{űÖ­[Ł}[VVöÉ'ź¨vţGł[UUUww7Ânµµµd!§^ę" üL"~vkhhp8Ň=Ńă1fUL­c)ŠG”*úŹÓ/žX*—–ËĺŽ0ş‡ZŞ8˛ß’`„„gçP2.ZQúçÇŤÍÍŃTT`Čń¬ěfl\3Ătô[ W‚T‹m°ÓY{ô艋é}ňÉ'ËĘʢ}kµZ.\đ“žţHÔĂsäČ‘łĎ>{ßľ}ŃĽţúë*©<##c„ ˝9é©EQQąQuŮm×®]äŰŢč"]]]ÄnN"»Ĺ_i÷î=cÇśŮŘčďę’łŽ¦«ůa p@–«%ąę»Ďőpm…Ba+ň¨,n0h\ ît+ě©€ěy`ŕ˛üăÂw­lĽ ?ťŠI’‚ĎAžgiĆ€ŕ€žf2ä lµ¤ŰlţęęÎÎNӛ؛ššž{î9gťuÖI»{N+$„ݶnÝşaï׭ŚńÇL¶9Ž»ţúë˝^ŻßďOřBh'EEEdC—ÝöěŮC6zŁ™¶¶¶Ň7ýIÓLă˙Iví*4ńŇŻľö‰"błÂ-‚ëĚ#y$©bŔH8uírAąR.=‹ *«ať˛­`…gŁęąµ˙űă•Ç/ÔŠMdŚäč’¦Z+‹Eč6vp\¦Í–ŽĐńcÇňňňîXxńĹŮŕv d~–.]šŘ3ţG!äńmqłĆř’K.EŃ “ŁGŹ`ăĆŤţóźÍÍÍńťń41»Ńµt{#»ŃwřŹĐLkŞ­¶´úú1y©<¤á¬R,HRµ$UŻÚtŽzJ<ČŁRcU‚[h 2{Â1c†Ă#9ÎĆă$ÜpvăÇąVŐUŞŢ0"BăŮĄT®şÍnÄ'¸A-—e·MJ:RTä÷űkzá/ů ýČqÜ]wÝU__ßŃѱuëÖ‘#GB—-[–¨Óýˇ»»;í¸EŻ×K¨Í ęřłX,<đŮ™ťťßO°BhďŢ˝t;îSP—8ýŮM–ĺînÔŃ!77 Á¬)F¢ §(ŠŇ*IĺGÁ©kÎ(•K+”Łú®R¨• †Ťlá/0+ŠÁ ¬@8‡“pëô¶żOúű±şŁlA!ČAďîPĎ-`běd`ÁAnłŤp%•—•uww÷ŇͤÂ?ţń6"顇zúé§ű÷ďźśś|Á|ůĺ—ăĆŤ›4iRĎřźŹÇCďŔ¸3O ŤŠ8ďĽó߉N+`Ś Ř­¤¤Äëő’í„ČnV«5555î~z„8Ů­¸¸xŕ QÍͶ61ě- ý ­DI®–ĺš ď9·zJ[5®Ňč 9§A5ü—0`p?FA9+Źť }˘w댿—Ö“`Z„Ś1€P[É 3!ŻézÔ]ŕ¶ZűŮ­••Ä’š@ŮŤŤe›>}úĂ?Ě~;jÔ¨wŢy'±fľ˙°Ä·ěĆjOŃ:9xđ Ů8˙üó{dÇ8mŃĐĐ@]´ě¶k×.şÝK»ŮHMM=i6Ę8ź„]»vŤÉťŇĐđűe­],”z…䑥ŠAąÜ™kĆ—Č%G• I#¸…ÔRVp#{‚}B¦gőî'F€äŰ;qçŘîOĎÝv¤îŃ2$Ś ÇĂüÝŹ1}¦ş‡“b!¨µŐăń$°XHGGÇW_}EĎňŘcŹiď’3Ď<3!çúŹCBĚ:1;Á—””íÉ“'Çw–Ó l/Ó(ŘŢ„Čn'ÍĄâf·}űöšW_ď—¤`5Ź Â®NŚP@&‚ۦŮĐZ(jcÜ‚:&ËYa"Ó?5±Ó‘C .´@XóV$ß(˙çç˙oaĂAAD¤ v/e}Ć a÷°&¸iŰŰ9.Ón`ł%¶XČ×_McÜ&Ož_ę Ś»ŞqBÚéĸVń1Xđ۸*Úíöäädm®®.Úfřđá†CîŮLš?$Z8NG@ŐRKv3¸“Í˙@ń˝{⻺xŘ cěńt‹"_ßŕÇ(\–22 !ĄM–*Źá§¬Ę+‘Ë*” kË#¬ÉľÂTÔ6ďÁ”%1Ć·đĐ „ń‹…_ěmÜă ¤šjŃëU"Ź7Ň.M;T ;yŽË´Ů†'%%¶XČ—_~I·Ż˝öZ3jŃľ}űvîÜąsçNŤůő×_/[¶lúôé·Ýv«Ę´¶¶>řŕgź}ö9çśóđĂëşĎ㪪Ş[o˝uÚ´ióçĎ˙ă˙HÍů,Ž;vÓM7M›6mÁ‚/ĽđŤu2ĆĆF2l"8|óÍ7‹/ž9sć­·ŢzôčQÝCč夥Ą©DZŚń?˙ůĎkŻ˝vúôéłfÍşšî= IDATőÖ[µŃ‚‚ ěÜąs˙ţýäŁËĺÚµkIüđz˝;wîÜľ};ý)Ź?Nhźy„Đűďżż|ůň©S§^~ůĺÔç¨=±Ąn۶-??ĆŚwÝu‘ˇdY& Čdž††oĽqęÔ©«V­Ú±cIGGÇĂ?Ą4¦7Äs!â°?„UZz<Ä`€9 8žG$ ż]ôí·s»Źáö.źŤ‡n ´@ČE’TQ Ƣ`şÍ6Ě•ôYE©Bnľ|˙ý÷dçůµk×ĆlŹ1ž?>y0^~ůe·Ű˝~ýzb:Ů·oźßďíµ×hă’’’üüüĘĘJň±  ŕď˙ű·ß~«őîßż???ź†/}˙ý÷[¶lůěłĎXŤc×®]Ë–-ŁŻëďľűîÝwßݶm[FF†™+}çťw~ő«_ ôú믯\ą’öěŮóÎ;ď|ţůçłfÍRM4eů—żüĺ_ţňjصk×›oľů駟Ν;—6+//?űěłéGŹÇC?Îź?ÇŽß|óÍš5kŘžW­ZŕyŢď÷ó|ŘgĄ(Ęu×]÷Ćoůůůçź?üđĂ·ß~{ÝşuŞť{îąäçزeKggçÍ7ßLÝ}űöAźy晆†2ŚwŢygѢEsćĚ!ĽüóĎ?öŮgoľůće—]V__żxńbš{·cÇŽüă=Š bŮ­««K–eúz8xđ űZŇÚÝţö·żmܸ‘†(8pŕĂ?|ä‘G´U@t AćÍ›G^˝6›­ĽĽ\uÔ×_}ŃEuttŹ_}őŐ?üđꫯš|fă‘ÝöîÝ;jÔĦ&ˇł#´ZUäzWWiĹŕqÖI«Ć•Č%Jy4W)Öů€aHdĂšvaBdB+á6@%8žN(÷SJÖ—>!h„Iěc °3Á௙9Ň*ŮbÍ´Ů;kjiLŻÉąŤ†ććff5cĆŚĆúÝwߩ΢+»mٲ…PŕŇK/:t({ȡC‡Ö¬YCďaŇůćÍ›˙ú׿šĽ´xŘ­   7wJ}˝? łT%ŹČrµ"×®Ţ4»´J…ZÁ P=Tmła÷hD›†Y0†HMťÉ€0ć8: ’ţrmÍ‹™U͢Ô, ^Y–ŘÓţă pSí¤pZř »ÍáﮯŻOH±˝{÷ŇN,X`ć6H⥗^bB¸dÉúńŢ{ďŐ-nóńÇ«’žx≪Ş*mËAŃí˙ţď˙®­­Ő¶1ĂČ”JŽ?®íŞŞŞŠ•:U‡¨d·¤¤$ÝSÔÖÖľőÖ[Úõ Fk :]AAÁÓO?­UÍ:;;źxâ ÝžţyV»çy~ńâĹl›żýío4A‚˘­­mőęŐ˙ú׿Tű+**ľýöŰh—ŁBkk«Şę«śŞŠ‚¨ncˇîôbŚź|ňIí‰Č}ý „ţđ‡?mŽă´N!Ëň† t«ć=ňČ#& ń°[iiEzúĐş:- AXÁČ#ËĺCň¬/["—UŽJ‹›6±T›}E˝Ą„ÚBqżÄź@:ˇÇ·!Ƥ#Äq`;Tý:3gÎ$zQeeeş/Čýë_Ú)›·ľŃ S Ömj,»č/Ź;v¨IËn_}ő5ęĺçç«â47oŢLŁU¨­­ýôÓOużRˇÇě†1îč;;ĺ¦&!Vq n#ĄjE®]}ďy- ĄPŇ)4ôDwÓł€G*;úTy!hC˛ 8wuë3#Ź7ŠBł(ze™$¸÷H3†‚k†ă!—a·ŤpąŠ‹‹ILo/ ´ě„U* `đIJv™§žzĘ€|·mŰFGţí·ß˛ŚÉ^ďąçžK¶wěŘÁ>a[$ÇťsÎ9f† %)‚466ębžÝöěŮC/-!˛Űż˙ýojŐÂëő˛µE ÎHłMbÎC4”P5şPŮ­­­Mĺ~ŃŢ'ѦWĹĐŹ~żßçó‘m2căgź}–6¸űî»ŮĂAřŻ˙ú/ak%Y]ôÝjjjÜ)ý=ˇÍ#°«^…¶Bm’\>tĽ}Š1%RI…l ¸EěDňT¨™¦-ËŚ<ȶ'.„Bä ťĂI¸ŕ’¶˙Î;V'šE±]’iUT]ŃF#ľ Íjät6?žb!4ĚjČ!&}ę4ď’bҤIä IŮ­­­íý÷ß§ ĆŚsë­·Ž;–¬¬©©!ŰěĂyţůçoŢĽů®»îr:ťŁGŹ0`€¶Í‚ 6oŢ|Çw8ťÎqăĆ™tbźjŽă&OžĚjľ„+ŽiŃe7»Ý~ŢyçĺççłQňmmmtŠT<Âţ˛,»iqötŻĽň ý•dž VŻ^ÍWłZ¤–ą¦Nť:~üxÖh j“‘‘1ţ|•™Ź\ăâĹ‹SRRčžcÇŽs0`·˝{÷Ş„5­ě–śś !ś8qâňĺËGŚÁ~ĹÚ:<•=ÉŚ~ýő×dĎôéÓçÍ›ÇűńÇł±cÇ.^Ľ•żűî;3TŹŮ­  `ĚŘ© ®îĐĄ†őRăV)+5«ď;Ż´” ŰpÔz˙ttëg_E4ލ܋#TZ¦ö,€ŕDEłs8 XĺýÍÔŠJ!Đ$ Y ®vcZLÓîŹöŃeµdŘlBccGGGď3¨ň2nÜ8“‡¨d·‹/ľxßľ}ű÷ď˙ŐŻ~EE­ż˙ýďôĄ:uęÔ={öĽđ »víĘÍÍ%;1Ćô%L7ŇÓÓ?ůä“k®ąć駟޶më|¤şFffćÖ­[Żąćšgź}vëÖ­ló#çyţ>Řżuuő«ŻľĘ†zÓmڱÝmÍš5ÇŽűᇶoß^TT4jÔ(zź|ňIY–ů¸yóf%„+®¸đ /ťţů¤ÁĘ•+‹ŠŠŠŠŠ¨5Íçó}ôŃGdŰb±|úé§ýë_?účŁ|†5/¨ëÚkŻÝłgĎÁożýv’Íţ‚ýúő+((رc‡JńONN&—¶cÇęş5źŐŻ-ĆKŮMĄ–˝<ÓÉ“'˙ôÓOضm[II ™+‚††ş­Mq{öŮgio›6mR=e¬©äŽ;î8räČ_|±gĎZSľľľ^×¶«BŹŮm÷î=#FL¬«ó‹‚¬I˝BµJrĹđ3ś–çËĹÇô·0t"łŻŚ?Éľ } EŰ}8´ 0ŔaŚ0âäl;qY~×#łJŹü͢Ř&IÔćoĆŤ`&Ďü%1˝=z4ô&¦·łł“Jôጠö–JIIyńĹyžç8îÉ'ź´Űíd?µ=A˙üç?“÷żŰíľăŽ;č±ÔOO%‚yóć‘YáüůóY÷?młpáB !\Ľx1M8Ź „M Ú¸qăęŐ«!„Ç]wÝu7ÜpmĆľŰ)ľ4>S—ËőŢ{ďQ‡ĆŔŮ‘P%šă8źĎGmŐŮŮŮ\ä×ĚÉÉ7nőŢ6lܸqăĆŤŁBë·ß~K-MW_}őÂ… ‰“ýî»ď¦BńŔţ:ŮŮŮĎ>ű,„çůgžy†’Ë€/ĽđÂčŃŁW^ye˙ţýéţ_˙ú×S§N%ö úҢo¬0Ý´uƵšéźţô§Yłf‘)˛Z­O?ý4}±ľNUH]]Ý{ď˝G>Ž5jőęŐlźMMMÔĺ:eĘ”§žzŠČżyyy¬Űť† gě†1®«kâů”úz«Ő…č- ËŐH©_}ßyM¸ĺUp‹ş:LHđ˘ţz^¦qÄx )ł”ňÂÜi4Ć@Á łrŘ+çř>ż´ÔßŐ$Š­’@驨ŞvżÁG+ä˛ěöa.WQQ‰éŐť 3`_S1Cä)Ř[ęšk®éׯ٦ş’(Šô6š={öYgťEŰçççÓmęł§ŠaŮ%¨ΠŤ1Ř2‡Ë–-cçöşë®ŁŰ¬xÂÖSÉnÇ©‚{çĎźO·YOĄ™dŃBRk !Ľë®»č~·ŰMCçčL‚Č_găĆŤTef5YÚfňäÉ4‘çy/HNNľé¦›čy©ĐgŇGßŮŮIÍ6›ŤlĆguú.ÔľˇUjň€ňňňȶjnéŕÓŇŇţô§?ŃoďĽóNU'Ű·o§Ë˝÷ŢËţ|$Ć€ŽÜ=c7I’ü~čőJÍÍ‚&Ź@Q”VE®>Ń1~Yn‰\\!•°Î#­Ęľb™N›}Ĺ nÚě«Č–$Ň Bâ5e~¦Ó|{\7Ó÷ĐâŇCŽfAlEź‚Ś Ä4ícßÇqÁb!Ąe$¦7nĺ´ˇˇ«˛@€}~X•âŔô{饗˛_ >śJ´*Ä'S*n67 ŞI“&ŃQ±.93Ůď¤Âű‹ÉT5H–¤ÇÉ“'Ź?žýęŚ3Πc¦Só× ™Îź?źe=zö‰'˛c4ôšň‘1Š‹‹)N›6ŤlŮ­¶¶–ľS)išŃ?hÝ–aéŦ¤¤H’D«xegg_sÍ5ŞvěŘA6Ün÷…^Č~•——G©PkVÖ˘gěvřđáˇCĆ47űŰŰ":cé (Jµ˘Ô­ľwv3n.” Űq»^ň”v_Dh6ű*,Ě€éţF;O(ÚŠ‡ FŢÂhť,üzyé^ŃŰ,­˘čS%’€L†ď꜀Űbɶ;ÚkŞ{éX`ĺ*‚Ĺ˝Ą˛łłuݬ¬a…XQđuE`ĆHĆC•MůŰĹěDQ:HUźĎGťÚŞ™Ě cL'“^ć#˘ŮRŁ‘)}s¨†A'źő0€ŞĄ.—‹˛1 Đ{cĐ AT 7 éoME-–ŽŮXë7Ţx^×Í7߬Ť)ůé§źČĆĽyóśN'ű•ÍfŁSaFűî»íÚU0:wJ}}ŔçSh•JŔ BY®19)oin±T\ˇătłŻ‚ţ„°8Ů€Ţŕžě+аÓ6ô7dqĂĂ ÔĆ(ŞÄ‘.(âŢqŇŁ+K~’ۡE»dEŃPĄÉ(íÇ$‹5Ănmm­­­˝1˝±+1›OB¦·ÔŚ3tË"Q/A˙ţýµć<ú„PqÚt÷îÝűî»ďęž”¶)((řđĂuŰÜsĎ=Ł5زe ůÖeŇŇŇČű¤Ń+ĺ8N»)qڬ_ż~Č!6›mÎś9”X‡v-ż˝˝ť¨˘›Ă‡ÓYb3şčL’$Őe˛Ő°ŁąJčý ÚOăéLfĽQv3f 5MÍ”ŞĄçž{.%M]yĽµµőᇞ0a‚Ăá1bÍŐĄŞ.`䬴´4Á›””Ħ¸ĐKŁ4ÝI*«šŃľ{–gúóÂüEKľ˙ľF–Q »!ě—ĺ*Ő­şoIn*” ˝zÉ ¬E h‘qę {qÖ0`łŻ`¨ ÉŤ¤§aHKż…z‡ˇSGC y §8P÷(ĺż.,˝ëÓŃó„,R Ůb±†ŢđƤ¦ýŠÝ°ó\–Ý>Čn/..ž2eJÜ l™A č-ĄR”(¨ŰqҤIÚ+bs' FŽIŤ7ŢxcnnîŚ3´m¨#ňúëŻ=z´¶(“n}PŤ«}P>b‡ÇÖÓLüůĎľë®»¨C`çÎťô+V4 ťhóđµĂVŃ ëŔŐVF2TE‘jß*2ŤĆzŃDËh ě–——GOA:ˇěvÎ9çPWŻöőĽwďŢU«VŐÖÖ’Gířńăô+V(ŁoŽĂ‡S ž={¶6‹ůČ‘#ô18p *} 0 «ýˇµčě†1nóřühhđaÄşJ‚ŰČÉ®ĽüQĹRń1ů®Ĺ €° ,ř1Ôw8T GŘÔ0fKŐ®P´m”ÎűAm‡t'# 0ĎsŔ9ĘS«Ë·ĆfQh„NE‘őTÔh:i4唇0ÓŚéőů|q›ŢŘ$*đTč-•““ŁýcL]xl€˝ÉčKĺ˛ÎÎÎeË–±!Ú6^ŻwÉ’%………ŃĆ‚>]ôŃMOO×2,}ŔX±Ë şÎŰoż}Űm·±™Ş,X ÎŔc :‹¶ Ťír:ťÚŮfEÂtcúî6lîéÚÚÚT1bÚˇŞX/ć%¨@ĂAňňň(Ń´··+ŠBWŠ9÷Üs);«ŘíčŃŁK–,©©©Ń˝«uç–ÍÖĐşkA¤'ôŞ«®®%P3BŘ­˝˝BW›GliCÜB,ů~E©F¨nÍ}sšpÓˇ ĹMÚě«pЍšďtKµŮW´“ !Äłˇ!Áđ·` ô?F$ßء4PyqÍѸşfQl„Y=ŚQm@Ól¶WRU¨XH|ěĆšX߲,Ó7ąnŐQ©Ąű€Ń‘ľ„W¬XÁ6hiiY±bÖXľ|9ű±©©iĹŠŞLF]ŮŤ*SĆ…Ŕ¨ąMW4PR[[{ë­·Ě9ÜłĽ"m!Tť†§ 2DËČtĚB"-vttPÂŤfHŤF¦kŹ*Dúý~ľŁ’ÝJKK‰şśś,)©8AĹBhH1b>?,Ĺh…|Ż×KCjYŐiőęŐ6l`[*ŠňÁ°{Ö®]« ŕ’e™¶aëšQ8ťNjŕŹfTH’DŮŤĺݧúăŹ?¦}ZZÚćÍ›Zčř{*ř4 “©«.Ń'–ÎdŹbë\.M3>¶GěFÍ^ŁFŤ˛ŮliiiÄN/Ë2ĘHá­ěVWWGŰ@ď¸ăŽŠŠŠÖÖVęřfÇ IR´xµěƆŔĺr™‰7ë3ĹwtHŢąˇŃ‡Â©~E©RPÝšűW4âĆňÁv¤/¸1Ńk‹ĺBÁkaoi„zÉv¨ŞZw`ę2 ą;px?¤ÇP‰ĂđW!úS0â8Ů0vˇŻV6voWîőä" 0t¤hçůŹĆ 5–93löÉÉKJéÍápÔ.)X÷™ F`h$"`=Ú5¨ hT€—^z©ˇˇáóĎ?§{ţůϲ „ŻľújCCM“&mîąç€Űíf=Ś|hĹ2`hŻŻŻ§[-N÷©¦#ä8nëÖ­sćĚ!§ ÚhOŤV čdę®Ć@Ít&iW6›-š<Ú颽·@4«.(»—:Ďó„Ii‹ĹBj SK"ťü/ľř‚noÚ´éńÇ'sËľrčŘÚÚÚXˇďňË/˙ŕh±e ˇ' –‡ˇC‡Fóő†®µoja–ÝŽ?ž‘1¸µUh÷!ÉGAČ#+GÇLOÍť?â{ńűăňqD•M4ŮW0•ÚČ6§ „¬c‘‡€Íľ Ö%YÜ‚žŇ0ťA‚ąXä¦Hơî!Ŕq‡ěüÓ’–Gw ‡Ć’ŽÓˇÝÁq\ń-š˙jµ t8ľ®¬ěęę"Ž…ž˛kĺ1i Ď†ÓéÔ-ÂĹÖ˙Ó†¶łÇT>»Ýţî»ďΚ5‹’­_Báp8>řŕ™3gŇ:´±ŐjŐuŃjG®e7¶ô[ÇUWÜŁś»jŐ*6‡_—5 LőĆPżn’6ťIÖ/m…Ć®Up_OWtĄżµĄfggv#ýL0Aµđ(%):·ééé=ô˝źŮŚ+:6VŘ´X,żţőŻŹ9BÂâššš*++ŮäB*nŻ^˝šU~ăYÍ´  `Lî™ő ţnźL]ĄH©BJýšűç4ŕĆBéŕ-ű*lGc ç-Ĺ*ó\čřpI8űбӇ‡7’­–1†l‚Ŕ)<ŕ8+ÄNĽwˇçÁaGŞüţ¦€Ř&Ф`íYô'wY,v»ÔÔäőză3˝±ŻwíŠ'ş`ŤDşdĘÚď´ č‹ťă¸‘•m©©©›7o¦GéÚJŇŇŇŘú÷*·i4°ˇZacč¨DQ¤/|úT×ÖÖRĂâ%—\ÂvÂÎ Ýé÷ű©Ę‡fJo`íLz<:?$ jß1OGŹMNN6©±j!Iµ–RvS †Ój#BhřňĺËu#?Ün7U8XasÝşucĆŚˇy@ŁśR«EO%]e·={öŽ9±ľÎ/Š€‚”6E96ö¬ÔŃó†KĹÇ•c=ÜBwC¸d93Ëú©|aÁŤŢQţ%˘fNA.1= 2VŐĚŽŤ6'NśŚ} ‘Ýčmi>4ĦŘMAŕŰŰŦ&`€ŚP«˘wvÚ¨ąĂŽČEÇPTWi(±T/ű*ü”Fő'Đ\t˛Ż@Đő Ă ”JUfµt5„Ž…¬řHł Ś Đ±ÔžéŰ4ăŕAź·Q´b·˘ PĂ Ât›}„+ą˘,Îb!¬a˘¶¶öß˙ţ·Ş˘(żůÍoŘJ„1e7Ö¤˘ZćŔ”fÎśmT” ’èÉĎd^·»Q[€=„>ŐT-MMMe‰őرc4úLfA·uGEQ˘ewf2µKę|öŮg<ôć[IDATd#''‡&č‘ěfŇűÁÖᙥDo¶ Ën9994éBĹněKTEŁTä× vËĚĚ$sK’RÉNU`zźĆ]u‚»ŹÇCă$B›7o¦ŤYW2ëcˇµŚ$I˘2,«Ľk)‰:C=Ď7ß|C÷?öŘcô·f+#ĹüudY¦/“v·%™ę˛{"¶>‡*"„5­°Yö˝XvnuM9Ą3‰1~üńÇŮ19räÚkŻí‘@gŠÝ:ŇŔ¨ú:ż,#ă†Pýšű‰ŕvȋ٠na3Wž¨»4´‡6‹đź†EXŢQe_B•Ž 5ŔVF#~B„Áě«`Šf©SwîV ÄĽ…Ř5BüÍ‚C;MM’­%ÉĹ|UÚ8.ËnâpÇW ‰­«Ú°aĂÚµkďąçžyóć]}őŐäᤏ%0ńü$%%QŐŁ´´ô±Ç“eŮăń°Ë/]ş”ÚAľţúë×_ýĹ_DaŚŮĺÚč{Týĺ•WČ]ľ}űv:¤ &ąL–Ş®şęŞâââĆĆĆW_}uٲeTtš9s&kdy‡¦¬Qš“eůí·ß&é(O>ů$ű ±â0»ýâ‹/––––••­[·Ž0ŽŽf9bÓ¦M Š˘üéOúŰßţFvÚl6şŇ•™č“ööö)ôqłBH˘Ën„×X3ë[o˝Ą( ĆxçÎťĎ<ó ÝĎ&č Ş¬mu,°ăyď˝÷îż˙ţ–––ŽŽŽwß}wÁ‚‡2ą’)Aěx7Śq{{ŔďĂ ~„Ś<Šr,ďÜĚáç ůNřö¸|Ü89AAűWTç>áhR¬ “@JľÔÜÇx]qDvŹFÖ¸6ÂĽ…C†(ż_|Ä÷µ˛$íR¬ĐÂq0şéŤ‡0Ăfą`Ź|Ţ .¤MŠ˘Đ5J(>Lş56/ÂéÓ§Ó¤ĺGyäĺ—_îęębĂĘŮ”;v`Śo»í¶×_}Đ Aä#ůŠ> _ý5BhăĆŤŻĽňĘ€h‘U©K€e·ýű÷ëVşüňËŮŹl&iss3 łbÁnżýöO?ý´ąą9Zđ4 –––RCűoű[ŐŔtŁŁYIäŔŁGŹNKKcíâůůů”;ş»»©k5f‰sĐsŻBLv«ŞŞ˘I6b–&55•ľ±#»Âe}Ę۶m;묳˛˛˛ľűî;–wXYXw`,»±ż ëN%âŰ“O>Ini˛ł˛˛Ň8^’Elvkii±ZÜ­ˇĄYŔ8  *Ś.şuŇpĐPpaáKeÔŐ QáZ•!M“¸:! ¦*ŕG"}Â1"‡ż´eĐĽ6«c€APĺż-„ŇbřJŔsś…S ’˘§—w!ŻĹC@·ŐbŤ–  Irí:z”:zÄn‹/vą\ĆnrżßśN'[‚ÂŔ˛3oŢ<¶Ŕ¤Ş`Ă#耒$ŃöíŰÇ.—érąČrm‚ ĐęŰŞuvÝn·É5± jN¤¦¦^yĺ•ěöˇ*,,$9ül˛$IŰ·o×Ţf,-FKÉÖfżÚl6­‡äśsÎq:ť42¦»»[őKÝxăŤtŰLŘm´đI’č°ă.B] B¶,0ĺßYłf±®•ÝmđŕÁ‹…ľt×TfçV—ÝĆŹź””DbwţůgI’řµ Än«łŻž 鏅@•0J±ˇĽćlô«đIĂß˙FUěExÚ’Ť˙ĽĽü@es Đ(Ľ„±˘ I±»ÍW_OěÓ=őąÝîuëÖ·ůĺ/I˛5Ů›ĂŕM~á…sÜsĎ=ôŰÝ»wG+¶qńĹ“§}çÎť¬mžĹ%—\mŃr˘Ą[SÜzë­Ş\N6Ö˙Í7ß$d™(şźÎ6ţĘŰa]‡lĎÚ€ű´´4mtKrr˛¶ŕ8Ĺ´iÓčĄŔĐ/LMvcKżDłÇĹd7jt8p ëZÉĚĚ$“©´U>S‡ĂAWŠPN/kŹÓe7«ŐJŤ|>%\«ŐzŃE ž]W,&błŰ®]»rsϬ©éşĄ ă†5Ě­Cu…ҡCÁ-ť%ĺ1Ô>Úo©::.äÍ ×nĐeý3Ť‰ph„UT•ŮRĄ°ę^ @cŽç   tôćňcâ+šFAhEkĽ !8x>ÓfO‘¤ŞŞ*żß‡éíŢ{ď5(î6věXşt¦™€Áł‹ ±2eĘ/~ń úQ•IJáp8îż˙~˛Ív±p:ť*w„ŚŮmäȑڮXEéË/ż$šuNN .c±qăFĘbTX­Vmťk6}=¦—S[D›€çůçž{Nw‘Ţč<$%%é˝°»±.ö@ré†Ý´•ÇW®\©ívěرTŘ?xđ *k$Q],«Îł¦·ŰożÝŕĄËš\c"6»?^ătdVUu)J BÇ'ĚÉĘ9gp‘TT© n@“ź ÍľbóôĽĄÁżaż' Ü/ëG÷3NâO`ŰÓŻě+ŔćŇëĐ®! އvÜčŁĺŐOŰKšBc Đ.Š˘˘čöaĺ¸,»-')©¨¨(>v;v,›ÓÇ";;űŁŹ>˘ń¬‘ČřMţŘcŹiżÓŇŇŢzë-ÖĐ~ĺ•WjK2@}ôQZÍmýúőlÜ,móŘcŹĹ·« ÉÉÉ[¶lŃj…l9ąµk×ŇŞÂs€śśś‡zZvZ™Ĺ·ÚĹ™˛˛˛´”ѸcáÂ…şĎü\xÔćP^^îüÍ?wîܱcÇ.^Ľ822˛}űöúúú´ÍßtîÜąsűöíS§Né¦@Ä›7oŢ»wݦ¦ćäÉ“ÎCkŰöŮłg7lŘpüřń´G%™L644tvvVTTÔÖÖÖÖÖŞČ©ĆXžOͶí7n477WTTäú©ˇ ÷§“ërą>Yýu}Kì¨`*óĚóçĎŻ\ąRí ť˙˘×®]cŚ?~\‰ţőëן>}zúôiçONţSw’ů[EĦ¦¦[·nÍĎĎoٲĺŕÁ…ď§Ć\@Ý.\¸0:úÎW_U^ľ|ŮNÝůěď'|{ŕ’u©mľ-O/Ş&‘Z›\†`8öN™˛•î噉Y¤ˇE@`śŕ€Ŕq‘eś‰ś*p”‘Ël)—®R./'Gfrł·ň®đß 0ś#&,Ř~§â·;ľŻ †*2ŮÎ!–L~14ôyOĎoΝۻwďÚµkó¬/Ľ±,6Ű[8‰D";Ă•+WŽ=Z¬Ë-ß=ż9W$Ň`Ś-;<|Ř\SóAű“ÁďÝůńÚš}ëŰťTiniSčÍ‚t÷•ęZ®ť)WÇ2<©ę(¸űÂŤsűVH÷ ďAúr›ţď˘ĺĽĆŇ<ŮŇÜ?#¦3±Ă2lűáÔ/7·ôÎÎD­řx"1g{üöAźŻ*\ë7{zz–¶ôö&°|íÄÄDf kQ.÷ú…†¤íM źş!âÄÄÜÔ<ďë9zf˙Pj¨-Ůă±<ďď*ľű­ľsšű*MUś<í]n®Snë‡RA•ŽŞlŰŽÜ;”~šŞQW_´¸‰·q E0„˝{cżřNK×l,jYc kÎńŰ€ź±Ş`ŕ›+ĘTł%,˝•0‹ęPF ’OÝâńřě,om›ť}˛łn]őŢuívGjŔ-Ë›Ű}ĺÍ0¤»ŻÔ ŔuS)q”‰T§ţ6ŁË×ĘĎ<ó\ŹűJŚ€K–6qŽ)Ěgú° vĎü|WKëě˨eŤ%3IŰIŁ2«Ěŕ¦ď<“ÍB^ĺ’ĄG…,Q ůÔ­ĄĄĺý÷?|đ qŕč™ýĂ©á'ɶi\ psĐŚĄâůşWE´¸)Ó}ĺ÷řUőqPN9ť\…ČB¸çłěTŃŢ«Fn )``ř„ úÁÜ'{[ÎMFâń±DbÖN¦Ř»¦ż* Ĺb±ůůů%ďN_’,ŞCA,H>u»˙ţŞU[»»ZwŐ­Yżg]{˛Ł?ŐźZČUš> Şˇ5á𸯜ţ4=q–ÚF^Ü8K¦;Ő›†hţş?ÁëľrłĄYŤĄK#g>żŹ…ŘÄ·źüŕŃÝřxÔ˛F‰Űće>U čŹMŹŚŚ,yŔREďPVŕ¦Ô‘‡|ęÖŮŮ;8X6gµ˙äÓŹ†SmöăižĄő•NšŇ0Wb\23đÄZšű*łµdšűJ_›Ëáľ™±p_ŇÝW*áP$GĂo`f6'ýŁÇ_Z#Q+>bYÓI›1¶:ÜXV¶äšŢFݶ§UyâŐÉ©nŤĆď7őě®[±ţ»ď=±ŰűSý)(ěiĚ4ds_yü úr{&şß"¸.+-Ő©-™Édk#Očçi×(:)ôů „řFűwum_$†Ł–5bĹgídEŔÜ´rEWW—j˛|wňv±¨í8 bArŞ[$™({öôńŹĎěJ ’*…L‚g˝,Ý}%_‘eqš´ˇ*µ•sKďfW eyšň'¸{_iwâ¶B’bšéľZTo;Şß`!H¬O}~°ó˛ýb$‘KX~ĂŘPzţ|fff~~žÔMAęF—śęÖÔÔôňĺşmű“kwW=±ŰR6Ř(jÉŇ˙‰HJl'*b(giú®Ü™1ô8ĄL /UĚăsĐ@ąP&IAŐčjŮ×ôń—×odöšÔŮCÝá}#ÖüśmżkšńĄ6 )aHÝâ’łVţÁ˙LM•˙ôWßzf?»ż;5;ąWŔ…ĽH•ßéÓLµĚŻ “î@â¦< ˛w®¨Îĺ QÚrDi´’ĽR1ąÓąGP' [™”xĺ_anĐŮxÁ@đ3^Ž>ôtć¦ýłäć€aĽ›Jő÷÷o۶-•J¸_TÉł¨Ţٱ ŮŐ =z±i_ŘŘa4L5ô÷őĂl–µ4÷|ůźpąË—Ľµ˛ZzÔő¨F(3®‡@|­–Ň82ÎdهR1ć*GUKK%yL´;)ÖlYŔ`ŕG4üp±®?öĄ}k6†ĂÝÝÝ ´©Â0 Ç®Z˘Ä«]Ý8盇O4T˙uş±»Ą‡‘ĺH'héQá„—Ľ®MgĘ*¦® f—jÚ(¦Ą(ÖÉô.»ŇĚ€"ěŇ,YbaŽËu=îë2ąŚGLZĄřĘĄ=Y9\đöňK Ěd4ńoßšřgâăđšÖާ¶m“ş)T‡8š­E!»şuuu…ľ÷â_›Ç›ď7c+°¸§˘B‡÷€š‡ŞĹ0í°[.âNQ‘ɵ/”Ű# 'Ë)Ú·É©«Čľ2jˇq¨öđCí˝Z$)ô×˝Ď×ó‰»3üAŕ!ü÷‡cÓ¬xarÎIÝ2ˇr˘(dW·ąąąŃ˝ŃŹl˙ @R†Q-ŇÝťJiÄ!-§i¨sŽ*vs4É­|Łeëß++~µbž“´ű{ýás\ŚA‡1˝iŐŚÓő…úIÄr]ÝvíÚőűO˙‰FĆÇÇc±}÷ ˘‚™Á_Yş†‰×/(îOaúÍť»vš¦IşFËDöţnhYÖčččđđđää$ťĆišŐŐŐ«WŻÎÓ—‘ ĄÁË»9­2Ăápeee(Ň»‰EÁçó9‚P9A,9ëÝ|>_(*//WíR‰"b†išˇPhiÍÇ ‚XśęfF `ŚQŕ¶8ѱiš¤n±LäÜW%Żů†ţŻ`’˙őŤD©±đ®1Ao# ďCń–BęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiBęFDiň_™0–“aJIEND®B`‚cmake-2.8.12.2/Modules/CPack.cmake000644 000765 000024 00000055554 12266011634 017247 0ustar00kitwarestaff000000 000000 ##section Variables common to all CPack generators ##end ##module # - Build binary and source package installers. # The CPack module generates binary and source installers in a variety # of formats using the cpack program. Inclusion of the CPack module # adds two new targets to the resulting makefiles, package and # package_source, which build the binary and source installers, # respectively. The generated binary installers contain everything # installed via CMake's INSTALL command (and the deprecated # INSTALL_FILES, INSTALL_PROGRAMS, and INSTALL_TARGETS commands). # # For certain kinds of binary installers (including the graphical # installers on Mac OS X and Windows), CPack generates installers that # allow users to select individual application components to # install. See CPackComponent module for that. # # The CPACK_GENERATOR variable has different meanings in different # contexts. In your CMakeLists.txt file, CPACK_GENERATOR is a # *list of generators*: when run with no other arguments, CPack # will iterate over that list and produce one package for each # generator. In a CPACK_PROJECT_CONFIG_FILE, though, CPACK_GENERATOR # is a *string naming a single generator*. If you need per-cpack- # generator logic to control *other* cpack settings, then you need # a CPACK_PROJECT_CONFIG_FILE. # # The CMake source tree itself contains a CPACK_PROJECT_CONFIG_FILE. # See the top level file CMakeCPackOptions.cmake.in for an example. # # If set, the CPACK_PROJECT_CONFIG_FILE is included automatically # on a per-generator basis. It only need contain overrides. # # Here's how it works: # - cpack runs # - it includes CPackConfig.cmake # - it iterates over the generators listed in that file's # CPACK_GENERATOR list variable (unless told to use just a # specific one via -G on the command line...) # # - foreach generator, it then # - sets CPACK_GENERATOR to the one currently being iterated # - includes the CPACK_PROJECT_CONFIG_FILE # - produces the package for that generator # # This is the key: For each generator listed in CPACK_GENERATOR # in CPackConfig.cmake, cpack will *reset* CPACK_GENERATOR # internally to *the one currently being used* and then include # the CPACK_PROJECT_CONFIG_FILE. # # Before including this CPack module in your CMakeLists.txt file, # there are a variety of variables that can be set to customize # the resulting installers. The most commonly-used variables are: ##end # ##variable # CPACK_PACKAGE_NAME - The name of the package (or application). If # not specified, defaults to the project name. ##end # ##variable # CPACK_PACKAGE_VENDOR - The name of the package vendor. (e.g., # "Kitware"). ##end # ##variable # CPACK_PACKAGE_DIRECTORY - The directory in which CPack is doing its # packaging. If it is not set then this will default (internally) to the # build dir. This variable may be defined in CPack config file or from # the cpack command line option "-B". If set the command line option # override the value found in the config file. ##end # ##variable # CPACK_PACKAGE_VERSION_MAJOR - Package major Version ##end # ##variable # CPACK_PACKAGE_VERSION_MINOR - Package minor Version ##end # ##variable # CPACK_PACKAGE_VERSION_PATCH - Package patch Version ##end # ##variable # CPACK_PACKAGE_DESCRIPTION_FILE - A text file used to describe the # project. Used, for example, the introduction screen of a # CPack-generated Windows installer to describe the project. ##end # ##variable # CPACK_PACKAGE_DESCRIPTION_SUMMARY - Short description of the # project (only a few words). ##end # ##variable # CPACK_PACKAGE_FILE_NAME - The name of the package file to generate, # not including the extension. For example, cmake-2.6.1-Linux-i686. # The default value is # # ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}. ##end # ##variable # CPACK_PACKAGE_INSTALL_DIRECTORY - Installation directory on the # target system. This may be used by some CPack generators # like NSIS to create an installation directory e.g., "CMake 2.5" # below the installation prefix. All installed element will be # put inside this directory. ##end # ##variable # CPACK_PACKAGE_ICON - A branding image that will be displayed inside # the installer (used by GUI installers). ##end # ##variable # CPACK_PROJECT_CONFIG_FILE - CPack-time project CPack configuration # file. This file included at cpack time, once per # generator after CPack has set CPACK_GENERATOR to the actual generator # being used. It allows per-generator setting of CPACK_* variables at # cpack time. ##end # ##variable # CPACK_RESOURCE_FILE_LICENSE - License to be embedded in the installer. It # will typically be displayed to the user by the produced installer # (often with an explicit "Accept" button, for graphical installers) # prior to installation. This license file is NOT added to installed # file but is used by some CPack generators like NSIS. If you want # to install a license file (may be the same as this one) # along with your project you must add an appropriate CMake INSTALL # command in your CMakeLists.txt. ##end # ##variable # CPACK_RESOURCE_FILE_README - ReadMe file to be embedded in the installer. It # typically describes in some detail the purpose of the project # during the installation. Not all CPack generators uses # this file. ##end # ##variable # CPACK_RESOURCE_FILE_WELCOME - Welcome file to be embedded in the # installer. It welcomes users to this installer. # Typically used in the graphical installers on Windows and Mac OS X. ##end # ##variable # CPACK_MONOLITHIC_INSTALL - Disables the component-based # installation mechanism. When set the component specification is ignored # and all installed items are put in a single "MONOLITHIC" package. # Some CPack generators do monolithic packaging by default and # may be asked to do component packaging by setting # CPACK__COMPONENT_INSTALL to 1/TRUE. ##end # ##variable # CPACK_GENERATOR - List of CPack generators to use. If not # specified, CPack will create a set of options CPACK_BINARY_ (e.g., # CPACK_BINARY_NSIS) allowing the user to enable/disable individual # generators. This variable may be used on the command line # as well as in: # # cpack -D CPACK_GENERATOR="ZIP;TGZ" /path/to/build/tree ##end # ##variable # CPACK_OUTPUT_CONFIG_FILE - The name of the CPack binary configuration # file. This file is the CPack configuration generated by the CPack module # for binary installers. Defaults to CPackConfig.cmake. ##end # ##variable # CPACK_PACKAGE_EXECUTABLES - Lists each of the executables and associated # text label to be used to create Start Menu shortcuts. For example, # setting this to the list ccmake;CMake will # create a shortcut named "CMake" that will execute the installed # executable ccmake. Not all CPack generators use it (at least NSIS and # OSXX11 do). ##end # ##variable # CPACK_STRIP_FILES - List of files to be stripped. Starting with # CMake 2.6.0 CPACK_STRIP_FILES will be a boolean variable which # enables stripping of all files (a list of files evaluates to TRUE # in CMake, so this change is compatible). ##end # # The following CPack variables are specific to source packages, and # will not affect binary packages: # ##variable # CPACK_SOURCE_PACKAGE_FILE_NAME - The name of the source package. For # example cmake-2.6.1. ##end # ##variable # CPACK_SOURCE_STRIP_FILES - List of files in the source tree that # will be stripped. Starting with CMake 2.6.0 # CPACK_SOURCE_STRIP_FILES will be a boolean variable which enables # stripping of all files (a list of files evaluates to TRUE in CMake, # so this change is compatible). ##end # ##variable # CPACK_SOURCE_GENERATOR - List of generators used for the source # packages. As with CPACK_GENERATOR, if this is not specified then # CPack will create a set of options (e.g., CPACK_SOURCE_ZIP) # allowing users to select which packages will be generated. ##end # ##variable # CPACK_SOURCE_OUTPUT_CONFIG_FILE - The name of the CPack source # configuration file. This file is the CPack configuration generated by the # CPack module for source installers. Defaults to CPackSourceConfig.cmake. ##end # ##variable # CPACK_SOURCE_IGNORE_FILES - Pattern of files in the source tree # that won't be packaged when building a source package. This is a # list of regular expression patterns (that must be properly escaped), # e.g., /CVS/;/\\.svn/;\\.swp$;\\.#;/#;.*~;cscope.* ##end # # The following variables are for advanced uses of CPack: # ##variable # CPACK_CMAKE_GENERATOR - What CMake generator should be used if the # project is CMake project. Defaults to the value of CMAKE_GENERATOR # few users will want to change this setting. ##end # ##variable # CPACK_INSTALL_CMAKE_PROJECTS - List of four values that specify # what project to install. The four values are: Build directory, # Project Name, Project Component, Directory. If omitted, CPack will # build an installer that installers everything. ##end # ##variable # CPACK_SYSTEM_NAME - System name, defaults to the value of # ${CMAKE_SYSTEM_NAME}. ##end # ##variable # CPACK_PACKAGE_VERSION - Package full version, used internally. By # default, this is built from CPACK_PACKAGE_VERSION_MAJOR, # CPACK_PACKAGE_VERSION_MINOR, and CPACK_PACKAGE_VERSION_PATCH. ##end # ##variable # CPACK_TOPLEVEL_TAG - Directory for the installed files. ##end # ##variable # CPACK_INSTALL_COMMANDS - Extra commands to install components. ##end # ##variable # CPACK_INSTALLED_DIRECTORIES - Extra directories to install. ##end # ##variable # CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Registry key used when # installing this project. This is only used by installer for Windows. # The default value is based on the installation directory. ##end ##variable # CPACK_CREATE_DESKTOP_LINKS - List of desktop links to create. ##end # #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Define this var in order to avoid (or warn) concerning multiple inclusion if(CPack_CMake_INCLUDED) message(WARNING "CPack.cmake has already been included!!") else() set(CPack_CMake_INCLUDED 1) endif() # Pick a configuration file set(cpack_input_file "${CMAKE_ROOT}/Templates/CPackConfig.cmake.in") if(EXISTS "${CMAKE_SOURCE_DIR}/CPackConfig.cmake.in") set(cpack_input_file "${CMAKE_SOURCE_DIR}/CPackConfig.cmake.in") endif() set(cpack_source_input_file "${CMAKE_ROOT}/Templates/CPackConfig.cmake.in") if(EXISTS "${CMAKE_SOURCE_DIR}/CPackSourceConfig.cmake.in") set(cpack_source_input_file "${CMAKE_SOURCE_DIR}/CPackSourceConfig.cmake.in") endif() # Backward compatibility # Include CPackComponent macros if it has not already been included before. include(CPackComponent) # Macro for setting values if a user did not overwrite them macro(cpack_set_if_not_set name value) if(NOT DEFINED "${name}") set(${name} "${value}") endif() endmacro() # cpack_encode_variables - Macro to encode variables for the configuration file # find any variable that starts with CPACK and create a variable # _CPACK_OTHER_VARIABLES_ that contains SET commands for # each cpack variable. _CPACK_OTHER_VARIABLES_ is then # used as an @ replacment in configure_file for the CPackConfig. macro(cpack_encode_variables) set(_CPACK_OTHER_VARIABLES_) get_cmake_property(res VARIABLES) foreach(var ${res}) if("xxx${var}" MATCHES "xxxCPACK") set(_CPACK_OTHER_VARIABLES_ "${_CPACK_OTHER_VARIABLES_}\nSET(${var} \"${${var}}\")") endif() endforeach() endmacro() # Set the package name cpack_set_if_not_set(CPACK_PACKAGE_NAME "${CMAKE_PROJECT_NAME}") cpack_set_if_not_set(CPACK_PACKAGE_VERSION_MAJOR "0") cpack_set_if_not_set(CPACK_PACKAGE_VERSION_MINOR "1") cpack_set_if_not_set(CPACK_PACKAGE_VERSION_PATCH "1") cpack_set_if_not_set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") cpack_set_if_not_set(CPACK_PACKAGE_VENDOR "Humanity") cpack_set_if_not_set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${CMAKE_PROJECT_NAME} built using CMake") cpack_set_if_not_set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_ROOT}/Templates/CPack.GenericDescription.txt") cpack_set_if_not_set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_ROOT}/Templates/CPack.GenericLicense.txt") cpack_set_if_not_set(CPACK_RESOURCE_FILE_README "${CMAKE_ROOT}/Templates/CPack.GenericDescription.txt") cpack_set_if_not_set(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_ROOT}/Templates/CPack.GenericWelcome.txt") cpack_set_if_not_set(CPACK_MODULE_PATH "${CMAKE_MODULE_PATH}") if(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL) set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON) endif() if(CPACK_NSIS_MODIFY_PATH) set(CPACK_NSIS_MODIFY_PATH ON) endif() set(__cpack_system_name ${CMAKE_SYSTEM_NAME}) if(${__cpack_system_name} MATCHES Windows) if(CMAKE_CL_64) set(__cpack_system_name win64) else() set(__cpack_system_name win32) endif() endif() cpack_set_if_not_set(CPACK_SYSTEM_NAME "${__cpack_system_name}") # Root dir: default value should be the string literal "$PROGRAMFILES" # for backwards compatibility. Projects may set this value to anything. set(__cpack_root_default "$PROGRAMFILES") cpack_set_if_not_set(CPACK_NSIS_INSTALL_ROOT "${__cpack_root_default}") # -..--. cpack_set_if_not_set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}") cpack_set_if_not_set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}") cpack_set_if_not_set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_INSTALL_DIRECTORY}") cpack_set_if_not_set(CPACK_PACKAGE_DEFAULT_LOCATION "/") cpack_set_if_not_set(CPACK_PACKAGE_RELOCATABLE "true") # always force to exactly "true" or "false" for CPack.Info.plist.in: if(CPACK_PACKAGE_RELOCATABLE) set(CPACK_PACKAGE_RELOCATABLE "true") else() set(CPACK_PACKAGE_RELOCATABLE "false") endif() macro(cpack_check_file_exists file description) if(NOT EXISTS "${file}") message(SEND_ERROR "CPack ${description} file: \"${file}\" could not be found.") endif() endmacro() cpack_check_file_exists("${CPACK_PACKAGE_DESCRIPTION_FILE}" "package description") cpack_check_file_exists("${CPACK_RESOURCE_FILE_LICENSE}" "license resource") cpack_check_file_exists("${CPACK_RESOURCE_FILE_README}" "readme resource") cpack_check_file_exists("${CPACK_RESOURCE_FILE_WELCOME}" "welcome resource") macro(cpack_optional_append _list _cond _item) if(${_cond}) set(${_list} ${${_list}} ${_item}) endif() endmacro() ##variable # CPACK_BINARY_ - CPack generated options for binary generators. The # CPack.cmake module generates (when CPACK_GENERATOR is not set) # a set of CMake options (see CMake option command) which may then be used to # select the CPack generator(s) to be used when launching the package target. ##end # Provide options to choose generators # we might check here if the required tools for the generates exist # and set the defaults according to the results if(NOT CPACK_GENERATOR) if(UNIX) if(CYGWIN) option(CPACK_BINARY_CYGWIN "Enable to build Cygwin binary packages" ON) else() if(APPLE) option(CPACK_BINARY_BUNDLE "Enable to build OSX bundles" OFF) option(CPACK_BINARY_DRAGNDROP "Enable to build OSX Drag And Drop package" OFF) option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages" ON) option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages" OFF) else() option(CPACK_BINARY_TZ "Enable to build TZ packages" ON) endif() option(CPACK_BINARY_STGZ "Enable to build STGZ packages" ON) option(CPACK_BINARY_TGZ "Enable to build TGZ packages" ON) option(CPACK_BINARY_TBZ2 "Enable to build TBZ2 packages" OFF) option(CPACK_BINARY_DEB "Enable to build Debian packages" OFF) option(CPACK_BINARY_RPM "Enable to build RPM packages" OFF) option(CPACK_BINARY_NSIS "Enable to build NSIS packages" OFF) endif() else() option(CPACK_BINARY_NSIS "Enable to build NSIS packages" ON) option(CPACK_BINARY_WIX "Enable to build WiX packages" OFF) option(CPACK_BINARY_ZIP "Enable to build ZIP packages" OFF) endif() cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_BUNDLE Bundle) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_DRAGNDROP DragNDrop) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_PACKAGEMAKER PackageMaker) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_OSXX11 OSXX11) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_CYGWIN CygwinBinary) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_DEB DEB) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_RPM RPM) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_NSIS NSIS) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_STGZ STGZ) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_TGZ TGZ) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_TBZ2 TBZ2) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_TZ TZ) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_WIX WIX) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_ZIP ZIP) endif() # Provide options to choose source generators if(NOT CPACK_SOURCE_GENERATOR) if(UNIX) if(CYGWIN) option(CPACK_SOURCE_CYGWIN "Enable to build Cygwin source packages" ON) else() option(CPACK_SOURCE_TBZ2 "Enable to build TBZ2 source packages" ON) option(CPACK_SOURCE_TGZ "Enable to build TGZ source packages" ON) option(CPACK_SOURCE_TZ "Enable to build TZ source packages" ON) option(CPACK_SOURCE_ZIP "Enable to build ZIP source packages" OFF) endif() else() option(CPACK_SOURCE_ZIP "Enable to build ZIP source packages" ON) endif() cpack_optional_append(CPACK_SOURCE_GENERATOR CPACK_SOURCE_CYGWIN CygwinSource) cpack_optional_append(CPACK_SOURCE_GENERATOR CPACK_SOURCE_TGZ TGZ) cpack_optional_append(CPACK_SOURCE_GENERATOR CPACK_SOURCE_TBZ2 TBZ2) cpack_optional_append(CPACK_SOURCE_GENERATOR CPACK_SOURCE_TZ TZ) cpack_optional_append(CPACK_SOURCE_GENERATOR CPACK_SOURCE_ZIP ZIP) endif() # mark the above options as advanced mark_as_advanced(CPACK_BINARY_CYGWIN CPACK_BINARY_PACKAGEMAKER CPACK_BINARY_OSXX11 CPACK_BINARY_STGZ CPACK_BINARY_TGZ CPACK_BINARY_TBZ2 CPACK_BINARY_DEB CPACK_BINARY_RPM CPACK_BINARY_TZ CPACK_BINARY_NSIS CPACK_BINARY_WIX CPACK_BINARY_ZIP CPACK_BINARY_BUNDLE CPACK_SOURCE_CYGWIN CPACK_SOURCE_TBZ2 CPACK_SOURCE_TGZ CPACK_SOURCE_TZ CPACK_SOURCE_ZIP CPACK_BINARY_DRAGNDROP) # Set some other variables cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/") cpack_set_if_not_set(CPACK_CMAKE_GENERATOR "${CMAKE_GENERATOR}") cpack_set_if_not_set(CPACK_TOPLEVEL_TAG "${CPACK_SYSTEM_NAME}") # if the user has set CPACK_NSIS_DISPLAY_NAME remember it if(DEFINED CPACK_NSIS_DISPLAY_NAME) set(CPACK_NSIS_DISPLAY_NAME_SET TRUE) endif() # if the user has set CPACK_NSIS_DISPLAY # explicitly, then use that as the default # value of CPACK_NSIS_PACKAGE_NAME instead # of CPACK_PACKAGE_INSTALL_DIRECTORY cpack_set_if_not_set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") if(CPACK_NSIS_DISPLAY_NAME_SET) string(REPLACE "\\" "\\\\" _NSIS_DISPLAY_NAME_TMP "${CPACK_NSIS_DISPLAY_NAME}") cpack_set_if_not_set(CPACK_NSIS_PACKAGE_NAME "${_NSIS_DISPLAY_NAME_TMP}") else() cpack_set_if_not_set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") endif() cpack_set_if_not_set(CPACK_OUTPUT_CONFIG_FILE "${CMAKE_BINARY_DIR}/CPackConfig.cmake") cpack_set_if_not_set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake") cpack_set_if_not_set(CPACK_SET_DESTDIR OFF) cpack_set_if_not_set(CPACK_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") cpack_set_if_not_set(CPACK_NSIS_INSTALLER_ICON_CODE "") cpack_set_if_not_set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") # WiX specific variables cpack_set_if_not_set(CPACK_WIX_SIZEOF_VOID_P "${CMAKE_SIZEOF_VOID_P}") if(DEFINED CPACK_COMPONENTS_ALL) if(CPACK_MONOLITHIC_INSTALL) message("CPack warning: both CPACK_COMPONENTS_ALL and CPACK_MONOLITHIC_INSTALL have been set.\nDefaulting to a monolithic installation.") set(CPACK_COMPONENTS_ALL) else() # The user has provided the set of components to be installed as # part of a component-based installation; trust her. set(CPACK_COMPONENTS_ALL_SET_BY_USER TRUE) endif() else() # If the user has not specifically requested a monolithic installer # but has specified components in various "install" commands, tell # CPack about those components. if(NOT CPACK_MONOLITHIC_INSTALL) get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS) list(LENGTH CPACK_COMPONENTS_ALL CPACK_COMPONENTS_LEN) if(CPACK_COMPONENTS_LEN EQUAL 1) # Only one component: this is not a component-based installation # (at least, it isn't a component-based installation, but may # become one later if the user uses the cpack_add_* commands). set(CPACK_COMPONENTS_ALL) endif() set(CPACK_COMPONENTS_LEN) endif() endif() # CMake always generates a component named "Unspecified", which is # used to install everything that doesn't have an explicitly-provided # component. Since these files should always be installed, we'll make # them hidden and required. set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN TRUE) set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED TRUE) cpack_encode_variables() configure_file("${cpack_input_file}" "${CPACK_OUTPUT_CONFIG_FILE}" @ONLY IMMEDIATE) # Generate source file cpack_set_if_not_set(CPACK_SOURCE_INSTALLED_DIRECTORIES "${CMAKE_SOURCE_DIR};/") cpack_set_if_not_set(CPACK_SOURCE_TOPLEVEL_TAG "${CPACK_SYSTEM_NAME}-Source") cpack_set_if_not_set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-Source") cpack_set_if_not_set(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\\\\\\\.svn/;/\\\\\\\\.bzr/;/\\\\\\\\.hg/;/\\\\\\\\.git/;\\\\\\\\.swp$;\\\\\\\\.#;/#") set(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_SOURCE_INSTALL_CMAKE_PROJECTS}") set(CPACK_INSTALLED_DIRECTORIES "${CPACK_SOURCE_INSTALLED_DIRECTORIES}") set(CPACK_GENERATOR "${CPACK_SOURCE_GENERATOR}") set(CPACK_TOPLEVEL_TAG "${CPACK_SOURCE_TOPLEVEL_TAG}") set(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}") set(CPACK_IGNORE_FILES "${CPACK_SOURCE_IGNORE_FILES}") set(CPACK_STRIP_FILES "${CPACK_SOURCE_STRIP_FILES}") cpack_encode_variables() configure_file("${cpack_source_input_file}" "${CPACK_SOURCE_OUTPUT_CONFIG_FILE}" @ONLY IMMEDIATE) cmake-2.8.12.2/Modules/CPack.Description.plist.in000644 000765 000024 00000000666 12266011634 022203 0ustar00kitwarestaff000000 000000 IFPkgDescriptionTitle @CPACK_PACKAGE_NAME@ IFPkgDescriptionVersion @CPACK_PACKAGE_VERSION@ IFPkgDescriptionDescription @CPACK_PACKAGE_DESCRIPTION@ cmake-2.8.12.2/Modules/CPack.distribution.dist.in000644 000765 000024 00000000700 12266011634 022234 0ustar00kitwarestaff000000 000000 @CPACK_PACKAGE_NAME@ @CPACK_PACKAGEMAKER_CHOICES@ cmake-2.8.12.2/Modules/CPack.DS_Store.in000644 000765 000024 00000030004 12266011634 020235 0ustar00kitwarestaff000000 000000 Bud1  ob PctB  @€ @€ @€ @ .BKGDblob PctBFďp.ICVObool.fwi0blob]…eicnv.fwswlong±.fwvhshor.icgoblob.icvoblobicv4`nonebotm.icvtshor .pictblobFFGoogle Notifier 1.9.38ŔíĽŔH+ÉWbackground.pngÉjŔî›`˙˙˙˙  .backgroundŔî0ŔîýĐÉW1Google Notifier 1.9.38:.background:background.pngbackground.png.Google Notifier 1.9.38/.background/background.png/Volumes/Google Notifier 1.9.38ŞŞGargleŔ# »H+çiGoogle Notifier Work.dmg±¶Ŕî›^˙˙˙˙ ReleaseŔ#‘;ŔîýÎçi Ů Ů ݎ^ű?Gargle:Users:david:Work:Builds:Release:Google Notifier Work.dmg2Google Notifier Work.dmgGargle8Users/david/Work/Builds/Release/Google Notifier Work.dmg/ ˙˙˙˙ ApplicationsIlocbloby‡˙˙˙˙˙˙Google Notifier.appIlocblobp‡˙˙˙˙˙˙Google Notifier.appicgoblob@ E DSDB `€ @€ @€ @cmake-2.8.12.2/Modules/CPack.Info.plist.in000644 000765 000024 00000002153 12266011634 020604 0ustar00kitwarestaff000000 000000 IFMajorVersion @CPACK_PACKAGE_VERSION_MAJOR@ IFMinorVersion @CPACK_PACKAGE_VERSION_MINOR@ IFPkgFlagAllowBackRev IFPkgFlagAuthorizationAction AdminAuthorization IFPkgFlagDefaultLocation @CPACK_PACKAGE_DEFAULT_LOCATION@ IFPkgFlagInstallFat IFPkgFlagIsRequired IFPkgFlagOverwritePermissions IFPkgFlagRelocatable <@CPACK_PACKAGE_RELOCATABLE@/> IFPkgFlagRestartAction NoRestart IFPkgFlagRootVolumeOnly IFPkgFlagUpdateInstalledLanguages IFPkgFlagUseUserMask IFPkgFormatVersion 0.10000000149011612 CFBundleIdentifier com.@CPACK_PACKAGE_VENDOR@.@CPACK_PACKAGE_NAME@@CPACK_MODULE_VERSION_SUFFIX@ cmake-2.8.12.2/Modules/CPack.OSXScriptLauncher.in000755 000765 000024 00000071630 12266011634 022110 0ustar00kitwarestaff000000 000000 Ęţşľ%( @3 ţíúÎ Ě…8__PAGEZERO__TEXT__text__TEXT00€__symbol_stub1__TEXT8Đ8€__cstring__TEXTŢŚ__DATA __data__DATA __nl_symbol_ptr__DATA  __dyld__DATA $$__la_symbol_ptr__DATA ,4,__common__DATA `48__LINKEDIT0( ( #" P!¤ /usr/lib/dyld°(0 d/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 4j/usr/lib/libSystem.B.dylib|: x8!˙üT!48”!˙Ŕ€z8š;cW{:|¤ÚH ŕ|¦<@ż!˙ä= |ś#x|yx|»+x”!˙€b ‰ <@˘ $/‰}"Kx@ž8= 9)H<|i¦|lxN€!HX/€/Až 8BH 9"}"Kx|t/€@ž˙Ü<@fŰx‘" H8Ć€/€@ž˙ô<@;F€B €B/‚Až|I¦|LxN€!<@€B €B/‚Až|I¦|LxN€!H <@€B €/€Až|I¦|LxN€!<`8<8c Hů€<| ¦| xN€!<`8@8c x~xž|8`8€(H-|`x8€^8€x€^8€|€^88(8`-Hą|`x€^88`-€ž8H±€!€|¦»Á˙řN€ |¦żÁ˙ř”!˙ |> x~xž|888`-Ha|`x@8@ xBźč¦H=<_€BŘ€8€8/€Až€^8 T>+€Ať<_8bţ@Há<_8bţČHĺ€!€|¦»Á˙řN€ `|¦8@”!˙ 8a<8a8°:A9A8Ha8!`€|¦N€ `|¦<`ap<€sc`clt`„pt”!˙°H=8/Až K˙˙•88!P|x€|¦N€ =`…‹ ,}‰¦N€ =`…‹ 0}‰¦N€ =`…‹ 4}‰¦N€ =`…‹ 8}‰¦N€ =`…‹ <}‰¦N€ =`…‹ @}‰¦N€ =`…‹ D}‰¦N€ =`…‹ H}‰¦N€ =`…‹ L}‰¦N€ =`…‹ P}‰¦N€ =`…‹ T}‰¦N€ =`…‹ X}‰¦N€ =`…‹ \}‰¦N€ __dyld_make_delayed_module_initializer_calls__dyld_image_count__dyld_get_image_name__dyld_get_image_header__dyld_NSLookupSymbolInImage__dyld_NSAddressOfSymbollibobjc__objcInit__dyld_mod_term_funcs0ŹŕŹŕ`````````````   4 K Śh Ž „ˇ €» |Ö xó t  p. lP ht d• ž `ŻĆÜ˙'Jp~¤ĚÓŰăęđö !" !_NXArgc_NXArgv___progname__mh_execute_header_catch_exception_raise_catch_exception_raise_state_catch_exception_raise_state_identity_clock_alarm_reply_do_mach_notify_dead_name_do_mach_notify_no_senders_do_mach_notify_port_deleted_do_mach_notify_send_once_do_seqnos_mach_notify_dead_name_do_seqnos_mach_notify_no_senders_do_seqnos_mach_notify_port_deleted_do_seqnos_mach_notify_send_once_environ_receive_samples_CallComponentDispatch_OpenDefaultComponent___keymgr_dwarf2_register_sections___keymgr_global__cthread_init_routine__dyld_register_func_for_add_image__dyld_register_func_for_remove_image__init_keymgr__keymgr_get_and_lock_processwide_ptr__keymgr_set_and_unlock_processwide_ptr_abort_atexit_calloc_errno_exit_free_mach_init_routineÎúíţ `…8__PAGEZEROŔ__TEXT__text__TEXT  €__cstring__TEXT¤J¤__DATA __data__DATA __dyld__DATA __common__DATA 4Ŕ__IMPORT0 __pointers__IMPORT0 __jump_table__IMPORT@0@ 8__LINKEDIT@00X1@ P81 /usr/lib/dyldP  d/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 4j/usr/lib/libSystem.B.dylibj‰ĺäđě‹]‰\$ŤM‰L$ĂÁăˉ\$čôU‰ĺWVSě,‹u ‹]‹E‰5 ‰ Ł ‹…ɉĘuą¤ë CFBundleDevelopmentRegion English CFBundleDocumentTypes CFBundleTypeExtensions @CPACK_FILE_ASSOCIATION_EXTENSION@ CFBundleTypeName @CPACK_FILE_ASSOCIATION_TYPE@ CFBundleTypeRole Editor CFBundleExecutable @CPACK_PACKAGE_FILE_NAME@ CFBundleGetInfoString @CPACK_APPLE_GUI_INFO_STRING@ CFBundleIconFile @CPACK_APPLE_GUI_ICON@ CFBundleIdentifier @CPACK_APPLE_GUI_IDENTIFIER@ CFBundleInfoDictionaryVersion 6.0 CFBundleLongVersionString @CPACK_APPLE_GUI_LONG_VERSION_STRING@ CFBundleName @CPACK_APPLE_GUI_BUNDLE_NAME@ CFBundlePackageType APPL CFBundleShortVersionString @CPACK_APPLE_GUI_SHORT_VERSION_STRING@ CFBundleSignature ???? CFBundleVersion @CPACK_APPLE_GUI_BUNDLE_VERSION@ CSResourcesFileMapped LSRequiresCarbon NSHumanReadableCopyright @CPACK_APPLE_GUI_COPYRIGHT@ cmake-2.8.12.2/Modules/CPack.OSXX11.main.scpt.in000644 000765 000024 00000003516 12266011634 021421 0ustar00kitwarestaff000000 000000 FasdUAS 1.101.10˙˙˙ţ˙˙˙ţ ˙ý ˙ü˙ű˙ý˙ú˙ů˙ř˙÷˙ö˙ő˙ô˙ó ˙ú.aevtoappnull€**** ˙ů.aevtodocnull€alis ˙ř.miscidlenmbr˙˙null ˙÷.aevtquitnull˙˙€˙˙null ˙ö0 rawcommand rawCommand ˙ő0 shellcommand shellCommand˙ô˙ó˙ň˙ń˙đ˙ď ˙î ˙ň.aevtoappnull€****˙ń˙đ˙ď   ˙í˙ě˙ë˙ę˙é ˙č ±RuntimeScript ˙í.sysorpthalisTEXT ˙ě0 rawcommand rawCommand ˙ë psxp ˙ę strq ˙é0 shellcommand shellCommand ± & ˙č.sysoexecTEXT˙˙€TEXT˙îŕj EŇOÂă,ä,EŐOĹć%j ˙ç˙ć˙ĺ˙ä˙ă ˙ç.aevtodocnull€alis˙ć ˙ĺ0rawfilerawFile˙ä˙â˙á˙ŕ˙ß ˙â0rawfilerawFile ˙á0datafiledataFile ˙ŕ0 rawcommand rawCommand ˙ß0 shellcommand shellCommand˙Ţ˙Ý˙Ü˙Ű ˙Ţ psxp ˙Ý strq±RuntimeScript ˙Ü.sysorpthalisTEXT± ± & ˙Ű.sysoexecTEXT˙˙€TEXT˙ă$ ŕ,á,E±Oâj E˛O˘ŕ,á,EłOŁä%ˇ%ĺ%j ˙Ú˙Ů˙Ř˙×˙Ö ˙Ú.miscidlenmbr˙˙null˙Ů˙Ř˙×˙Öh˙Ő˙Ô˙Ó˙Ň˙Ń ˙Ő.aevtquitnull˙˙€˙˙null˙Ô˙Ó˙Ň˙ŃhĐ alisĚ Macintosh HDĂë\ŮH+6~ RuntimeScript7Ä L}˙˙˙˙ ResourcesĂëŁ)Ä „˝6~6z6y ZMacintosh HD:Applications:VolViewOSA-1.3-beta-#1E3679.app:Contents:Resources:RuntimeScript RuntimeScript Macintosh HDQApplications/VolViewOSA-1.3-beta-Darwin-i386.app/Contents/Resources/RuntimeScript/˙˙ ±¨'/Applications/VolViewOSA-1.3-beta-Darwin-i386.app/Contents/Resources/RuntimeScript'˙ü˙űascr úŢŢ­cmake-2.8.12.2/Modules/CPack.RuntimeScript.in000755 000765 000024 00000003550 12266011634 021374 0ustar00kitwarestaff000000 000000 #!/bin/sh # # Modified from: Aaron Voisine CWD="`dirname \"$0\"`" TMP=/tmp/$(id -ru)/TemporaryItems version=`sw_vers -productVersion` if [ "$?" = "0" ]; then major=${version%%\.*} rest=${version#*\.} minor=${rest%%\.*} build=${rest#*\.} else major=10 minor=4 build=0 fi echo $version echo "Major = $major" echo "Minor = $minor" echo "Build = $build" # if 10.5 or greater, then all the open-x11 stuff need not occur if [ "$major" -lt 10 ] || ([ "$major" -eq 10 ] && [ "$minor" -lt 5 ]); then version=`sw_vers -productVersion` if [ "$?" = "0" ]; then major=${version%%\.*} rest=${version#*\.} minor=${rest%%\.*} build=${rest#*\.} else major=10 minor=4 build=0 fi echo $version echo "Major = $major" echo "Minor = $minor" echo "Build = $build" # if 10.5 or greater, then all the open-x11 stuff need not occur if [ "$major" -lt 10 ] || ([ "$major" -eq 10 ] && [ "$minor" -lt 5 ]); then ps -wx -ocommand | grep -e '[X]11.app' > /dev/null if [ "$?" != "0" -a ! -f ~/.xinitrc ]; then echo "rm -f ~/.xinitrc" > ~/.xinitrc sed 's/xterm/# xterm/' /usr/X11R6/lib/X11/xinit/xinitrc >> ~/.xinitrc fi mkdir -p $TMP cat << __END_OF_GETDISPLAY_SCRIPT__ > "$TMP/getdisplay.sh" #!/bin/sh mkdir -p "$TMP" if [ "\$DISPLAY"x = "x" ]; then echo :0 > "$TMP/display" else echo \$DISPLAY > "$TMP/display" fi __END_OF_GETDISPLAY_SCRIPT__ fi chmod +x "$TMP/getdisplay.sh" rm -f $TMP/display open-x11 $TMP/getdisplay.sh || \ open -a XDarwin $TMP/getdisplay.sh || \ echo ":0" > $TMP/display while [ "$?" = "0" -a ! -f $TMP/display ]; do #echo "Waiting for display $TMP/display" sleep 1; done export "DISPLAY=`cat $TMP/display`" ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11 cd ~/ echo "$@" > /tmp/arguments.log if echo $1 | grep -- "^-psn_"; then shift fi fi exec "$CWD/bin/@CPACK_EXECUTABLE_NAME@" "$@" > /tmp/slicer.output 2>&1 cmake-2.8.12.2/Modules/CPack.STGZ_Header.sh.in000755 000765 000024 00000007417 12266011634 021242 0ustar00kitwarestaff000000 000000 #!/bin/sh # Display usage cpack_usage() { cat < /dev/null 2> /dev/null; then cpack_usage fi if echo $a | grep "^--version" > /dev/null 2> /dev/null; then cpack_version exit 2 fi if echo $a | grep "^--include-subdir" > /dev/null 2> /dev/null; then cpack_include_subdir=TRUE fi if echo $a | grep "^--exclude-subdir" > /dev/null 2> /dev/null; then cpack_include_subdir=FALSE fi if echo $a | grep "^--skip-license" > /dev/null 2> /dev/null; then cpack_skip_license=TRUE fi done if [ "x${cpack_include_subdir}x" != "xx" -o "x${cpack_skip_license}x" = "xTRUEx" ] then interactive=FALSE fi cpack_version echo "This is a self-extracting archive." toplevel="`pwd`" if [ "x${cpack_prefix_dir}x" != "xx" ] then toplevel="${cpack_prefix_dir}" fi echo "The archive will be extracted to: ${toplevel}" if [ "x${interactive}x" = "xTRUEx" ] then echo "" echo "If you want to stop extracting, please press ." if [ "x${cpack_skip_license}x" != "xTRUEx" ] then more << '____cpack__here_doc____' @CPACK_RESOURCE_FILE_LICENSE_CONTENT@ ____cpack__here_doc____ echo echo "Do you accept the license? [yN]: " read line leftover case ${line} in y* | Y*) cpack_license_accepted=TRUE;; *) echo "License not accepted. Exiting ..." exit 1;; esac fi if [ "x${cpack_include_subdir}x" = "xx" ] then echo "By default the @CPACK_PACKAGE_NAME@ will be installed in:" echo " \"${toplevel}/@CPACK_PACKAGE_FILE_NAME@\"" echo "Do you want to include the subdirectory @CPACK_PACKAGE_FILE_NAME@?" echo "Saying no will install in: \"${toplevel}\" [Yn]: " read line leftover cpack_include_subdir=TRUE case ${line} in n* | N*) cpack_include_subdir=FALSE esac fi fi if [ "x${cpack_include_subdir}x" = "xTRUEx" ] then toplevel="${toplevel}/@CPACK_PACKAGE_FILE_NAME@" mkdir -p "${toplevel}" fi echo echo "Using target directory: ${toplevel}" echo "Extracting, please wait..." echo "" # take the archive portion of this file and pipe it to tar # the NUMERIC parameter in this command should be one more # than the number of lines in this header file # there are tails which don't understand the "-n" argument, e.g. on SunOS # OTOH there are tails which complain when not using the "-n" argument (e.g. GNU) # so at first try to tail some file to see if tail fails if used with "-n" # if so, don't use "-n" use_new_tail_syntax="-n" tail $use_new_tail_syntax +1 "$0" > /dev/null 2> /dev/null || use_new_tail_syntax="" tail $use_new_tail_syntax +###CPACK_HEADER_LENGTH### "$0" | gunzip | (cd "${toplevel}" && tar xf -) || cpack_echo_exit "Problem unpacking the @CPACK_PACKAGE_FILE_NAME@" echo "Unpacking finished successfully" exit 0 #----------------------------------------------------------- # Start of TAR.GZ file #-----------------------------------------------------------; cmake-2.8.12.2/Modules/CPack.VolumeIcon.icns.in000644 000765 000024 00000131253 12266011634 021576 0ustar00kitwarestaff000000 000000 icns˛«it32r›˙˙˙˙š˙‹’’˙HXUX€ZX‹Vc€a_VJC=81+'%"##(/>A%%€(*+,-07>GKXccllcbUL‘˙?Vt‹™ťśśť„ž€ź€ž€ ˘˘ˇ˘˘Ł€¤٦¦€Ą€§,¨‚hYI;2,+''-7:DX`gjhLFD?;64311469ś•ŽŽ˙XŤ¤¶ÄÍÝě‚îďîęĺÚÖîööćŐŢéďńňňóóôôÇP€ h{zxvy‘§Ăć˘|~~~•Ż€Ş«¬‘y~~}|zwpkjor€Ź§¶ČÉ»·şVŤŤ˙U‡Ą¸ĹÎŕíîďîěçÝŃäňňôďÔÖăěđňóôôčv € #m}tro†ąéöřůë‹ptvwxx†Ş¦§¨ ‡€vtsqnkŔě÷öőđéĺÝÔĘ“ŚŤ˙*S‰§»ÇĐâ€î€ďíéâÔÚęěđóóäÎŮçîńóď¶ € %lols—ĺôóôőď«daeikmmo‡ˇžžź žž‘rilkkigefefv ×äççáŮϲG ŚŤ˙ *TŽŞĽČŃăîî€ď,îěćÚÍŢéëđđďîßŇÝçěÖP YerĄÝíîďđńŕPSX]`€cuť™™š€™š–›„oh€dca]ZVQKIRo©ÁÎ×ŃÁzŚŤ˙3W’¬ľÉÓćî‚ď/ęŕŇĎăĺęîíěęęßÔ٢()*./ ;]Óčęęëíîä@ENSX[\[o‘€”“••—€e‡Ť‚n]\\[W][QIFFPetquޱÁ•5ŚŤ˙)^•ŻżĘÔçďTđíčŰČŇßâéěęččçćްrx–«şşżÂƱ§¤ŕĺĺçéęëč™DUXIOSTQ^ŹŽŽŤ“‘{ZJs{GOTVSON[t}k\K=Li~~c@9a…6ŚŤ˙a8fš±ÁË×éďďđđďíäŐÄÔŰáčëëçăĺęíîěëîîěěďđđńňňĺáâäĺçčéÎRZkoSBAZ^q‹‰ŚxcYPLKPpjFEDN`r}‚„yqgXi†ŽtK' '‹Ť˙MJew€vu€tsrY`’ŻŁv9ŽŤ˙E€ĄąÇĐŢîńďćÖľ˘ś¦ĚŕäçâŢŕĺâŢŢáćáŢŢß…Ţ ŕÁ{T\dknoonoo„pu|{yspop€o€m kjlo‡¤˛Ş: ‹Ś˙#K„§»ČŃŕďńńňňîäŇąšČÝâăßŢŢáŕŢŢßăßÝŢނ߅Ţł’y[\adffeffghhiijkkjjk‚j€i€hgg€e h„©˝¶‡9 ‹Ś˙*QŠŞ˝ĘÓâđńňňńěâж™ĹŘÜÝŰŰÝŢ߀ŢŕßކßŢÝł’›śqfegiikhbbdaabc€ed€c€ba``__axźÂȡJ!(‹Ś˙*RŹ­żËÔĺńňňńđęÝË»ÄĎÔŘÖ×Ú݆ކ߂Ţݲ’ ®ĽČżÄĆÇÍŔž†tYW[]€_^]\\[ZZYX[o—şÄ«i-# $‹Ś˙3[“ŻÁĚŐćň îć×ÇËËĐÖÔŐ×݇ކ߂ŢÜ´“ˇ®ÂĎÖÜááŕçďÍf'ITWWXX‚Y€W€VUUTTRRSfŽµÂ¬t9##‹Ś˙4^—˛ÂÍÖč€ňđëŕ€ĐŇÖÔÔ×Ý߅މßŢÝ»Ž™©ČÝ×ŘÜŢŕáăý¤"CNRT…U€TSSRTVURVYc°Â±|>"$‹Ś˙5eśłÄÎŘęňňńíĺÖÍÔÔŰŘŇŐŰŢ߀Ţß ŢßßÄ„‹ŁËăÚÚÜ߀ářîLEKPS€T‚ST€RQS? 0K2,W…¬ÁµC##‹Ś˙=mź¶ĹĐÚěóňďéÜÍŘŐŰÝÖŃŮ€ßŕŢ“ßŕË}¤ÓáŢŢÝŢâčńńŻJDKOR‚SRQN, t«ÁşŤG#"‹Ś˙?s˘¸ÇŃÜîóńěâŇÓŰŘÜÚŐÔßŢŕáßŢ”ßŃź¤Ěí÷řřňńňí¸qB=EKOQ‚R QIGJOQPPO5 € L™Ŕľ”M% ‹Ś˙CyĄşČŇÝďóîçŮÎßÜÖ×Ů×ŮÝßâáŢŢ’ßŕáÜŇÚéřţýýřőżf=38@FKNP€QPT9 2KOPL$ 9złŔ™S(‹Ś˙H§ĽĘÓßđńęáĐŐŕŮÔŮÚŰŰÜâăßŢ’ßááăâßâăáćíďŘf6.27=CHKMO QO# &/1K'€ 7u©żž[,ŠŚ˙L…ŞľËÔáńîç×ËÜŰÓÔŰÝŰÜßáßŢŢß(ŕáâäĺćĺßŰŰâÚ1-/49?CGILMNONNOP+ $ 2oĄ»Łc0Š‹˙PŚ­ŔÍŐâđëŕĎĎŐŇĎŘŕŕÜÝŢßŕâăäćčęęçăߥI+-27;@CFHJL‚MLPC‚ ,l©µžk6 Š‹˙3U‘ŻÂÎÖäďčŘËŘÓĐĎÝáÜŢ߀Ţßŕâäĺćčęěíěě«9).49>AEGHJK„LOD   'a–¨—q; Š‹˙*Z–˛ÄĎ×äěáĎĎŮÓÓŇáŢŢŕŢŹßáăäćçéęěîďđńŃF/5;?BEGHI†KME„  "Y‘±­}@Š‹˙4aš´ĹĐŘĺéŰËÖŐŐŇŃŢÝŕŕŢŽßáăĺćçéęěíďńóôöS39?BDFGHIK:‚‚ RŚ®łFŠ‹˙5hž¶ÇŃŮĺćÔĐÖĎÔĐŇŮŕáßŢŢ‹ßŕáăĺçčéëíîďńóôöúk4;@CE€FGHJ;„ K¨¦ŚN"Š‹˙>nˇąČÓÚĺâÎ×ÇÍÍÉĎÜááßŕ€ßމßŕáâäćčëěíîđňóóôöřů†9=ADFG FFIC)  D‚©©…O&Š‹˙?u¤»ĘÓŮäŢŃÁĘĚÇĹÍŢâáŢŢááßŢßŕáăäĺäăäŢĎĐÔâÚÜăîöů†8<@BDŠECFE:9) =}¨©…KŠ‹˙F{§˝ËÔŰĺŰŐ«ÓÍõĐâăŕŢŢáăßŢކßŕâŕÚШ’…†Z5#@~±á~8;>@BŠCBBCG2  7wĄŞŤPŠ‹˙HŞżÍŐÜĺŮÉ·Őʲ¦ÔäâŢăßŢކßáÚéʇŤ’••ŹA!"#%'XM9;>@A€BAB‡CB= 0qˇŞ’Y Q‰‹˙M‡­ÁÎÖÝĺŘÁÁŐ—´Őăâ€ŢÝâáކßáҬ‘Ś’•”–›śk#&(**,/27;=??@A€@A1 … ,iś«b&wUŠ˙PŽŻĂĐ×ßĺÖŔËŮŻ‡Ŕ×ĺŕŢßŕŕ†ßΠ‹“••—šśźˇG#'+-//0248:<==>?@…?@€>@5 'b—«žl,‰Š˙U”˛ĹŃŘŕćŐÁŮŐ“ŚĹŘăŕއßáÓ˘‰•–™śźˇŁ¦¨ĄZ&+02344579:;<<=>??>>=>=‚ "Z’«Łt3‰Š˙*\µÇÓŮăĺÓÁŰÇ—ÇÚăßßŕŕßŢ´Ť–šťź˘Ą§©¬®µ„(-24667€89;<;<=€<;‚<2%0‚ RŤ«§{: ‰Š˙3cť·ČÔŮâäŃŔ߸w¤ĘÚŕßßâáŕ†ßŕϡ’ž ŁĄ¨Ş¬Ż±´ÂÉN,1466€7889:;…:9;?‚ KŞ©B‰Š˙7j ąĘŐŰăâÎÄݦxŻĘŘŕŢŕâá‡ßŕÁťź¤¦©«­±˛µ·şÇĺ·L/356678€98:989::9889<" C‚¨©L‰Š˙?o¤»ËÖŰĺŕËÎΛ|´ĘÔßŢßââ†ßŕßşť©Ş­Ż˛µ¸ąĽżÁĚăäżh;134‚67669CHOWLF?6676;=:9:‚  =~§ŞŽT‰Š˙?v§ľÍ×ŰäßÉĐĽ“~¶ĚÓ€Ţáăŕ…ßáŢ·ŁŻ°łµ¸»ľżÂĹÇĐŢáĺŘ–X902€34544343HYź®ĽĘş®•kS93)&07 €€ 6xĄŞ”\!‰Š˙D|ŞżÎŘÜçßČŃ˘Ś˛ÎŐÝŢŢŕâŕŢ„ß&áŢ˝¬´¶ą»żÁÄĹČËÍŇÜŕâĺčŘZ@0122112@Sm«Úęě€íď Ńs+   0qˇŞše(‰Š˙G„­ÂĐŮÝčßÉĎ•Ś±ÎŐÚÝßŢ„ß2ŕßČ¶ąĽżÁĹÇĘËÎŃÓ×Ýßßáăçčć¦m^YWY\nžÜéčççććççéëďńôôł7€„ +jť«źn0 Š˙NŠŻÄŃÚßéáĚČ•’ލÎÓŮÝ€ßŕŕáŕ‚ßŕŕŇżľÂĹÉËÍĐŇŐŘÚŢß ŕáâäĺćçćáâ€çĺäâááŕŕßßŕăčîňôöÓ%„€ %b«¤v6‰˙S˛ĹÓÚáíäŃšť”ˇÍŃ×ÜŢŢßáăăáßáÝĘĹÉĚĎŃÔÖŘŰŢŕâáßŕŕ€áâáŕ…ß áŕáćîô÷ď` ![“ާ~D‰˙X–µÇÔÜăđčÖľŁĄťĚŃŐÚŢßŕâääâŕ‚ß ŕŕ×ĚĎŇŐ×ÚÜßá€ăâŢáâ…ßŢ‡ß ŕáŢŰŰÜÝŮáéŘJ T’®©ŠV"‰˙8_›·ÉÖÜćóîÝĆ­ˇžČÓĎŐÝßßâĺĺáŕßŕßÖŐŘŰÝŕŕâăăââĺŐŇŮßŕ‡ß€ŕ ßŢŮĚľą­lh|: Nް˛_&‰˙3eźąË×Ýč÷óä϶ˇť›˝ÔĘÓŢŢßáäĺâŕ…ßŢŰŢŕâ€ăâ ä㯭ÇŃŮÜŢŢŕ ßŢŢÝŰ×ÓĘş·©|/Ť EµÁśe-‰˙7kŁĽÍŘŢëůöęÖż¤ź‘·Ů˝Î€Ţŕäĺăá†ßŕáâăăâăîŰŞ”ˇ˛ľĆĚÔŐŐÖŐÖŐĐÎÉĂĽł˛ŞŹL Ť KÚĚžj2‰˙=r¦ľÎŮßíűřďŢÇ©ź‰µÚ˛Ę߀Ţâĺĺăá‡ßŕŕáâáâăçđĐŞŽŚ•śĄ¨©¬­Ż°®¬««°±źR  Ť P´ńĚťq6‰˙Ew©ŔĐÚŕđýúóäα ‹©Ő¤ĂŢŕăćäáßŢ߀â€áăçëďŔĄ›•””—šśź˘¤¦Ş­°®¦x# Ž ‰ëďÁ™w=‰˙G~¬ÂŃÚŕňýýöéÖ» ’•Đ µŰŕÝŘÝâääăá†ß€Ţŕ‚áâăćë캥™•–™śžˇ˘¤Łˇš”cŹ dăđé°”„@ ‰˙J…ŻÄÓÜâôţýřîÝħ™ŠËťĄ×âŢ×Ůŕăäăá†ßŢßáŕŕäçěçż”‚€„†‚zsa@Ž NĎëîמ˘Q ‡‰˙O‹˛ĆÔÜăőţýűňäϲ›ŚşˇźĚáâÚŃÝăăäăŕ€Ţ‚߂ހ߀ŕ âäçěćŞL €‰ 1Äăé쿌ľşk ‡˙ R‘µČÖÝĺ÷ţţüöëŘ˝ź•¦ŁžąŢćŰĎ×ŕăäăá߀Ţ߂ބßáăĺčéĎ !"#!‡ FĂßŕĺç×ĎŇż| ‡˙*X·Ę×Ţćů€ţúńŕČ«––ś­ÍââĎÍŢâääâŕ€Ţ‚߂ހßŢŕâäçééĐe…    ‡pŐßßŕŕććŢŐŔ„ ‡˙#/`śąĚŮßčúţ˙˙üőčÓ¸ť™”™¤˝ÜçŘČÓáăäăâŕŢŢßŢ€ßŢ ŕäćčéćĽS‚ € ĄÖ€ß ŕŕĺĺßÔŔ‹ ‡˙,gˇĽÎŮßëü€˙ţůîÝĨ€–ˇ­ĘăâÍĆŮäăääâáŕŢ€ßŢ ŕáäćéçŕĽv2!f˝Ţ‚ŕ ßâăŢÔÁ’' ‡˙5lĄľĐÚŕëü€˙ţüôĺŃ¶š“™Ş¸Öé×ĹËÝĺăĺĺâŕ‰Ţßß…Ţ áâäćéčŕĆźk€€€7}·ŇŕâáăâÝÓ–4 ‡˙?r©ÁŃÜŕîý˙ýříÜĨ’‰‰ś±ÁŰćŃĽČŕäăĺĺâŕ‰Ţßß…ŢßŕáăĺçčćŮÁ­z9E«ÂŮ…ĺ äăâáÝÔĂš? ‡˙D{¬ÂÓÜâďţ˙ţűóćѸś†}‹¨¸ĹÜŢȸÇăĺäććäâßŢ߇Ţßŕáâäĺ€ćŰÄŻŁ—‡zfmšˇ«ÁÚăä ááâŢÔĂźJ‡˙GŻĹÔÝâńţ‚˙ýřîŢǬŹ}µżÉŮŘÁ´ČâčĺççĺâßŢ߇ŢßŢßŕŕ€á ââăăääŰÎÓÝăââŠá ŕßáâŢÔĹĄX ‡˙J‡˛ÇÖŢăóţ‚˙ţüőčÖ˝˘†{©żÄĚŐÍ·˛Éáé€çĺâ€ß“ކ߂ŕŹß ŢŕáŢŐÇŞf‡˙QŤµÉ×ßäőţ˙ţůńâÍł—~€—·ĹÇËÍIJ±ĆÝččççćâÚÝâáßŢߋމßŢ†ß€Ţ„ß ÝŢŕÝÔǬu†‡˙ V“·ËŮŕć÷ţ˙%ţü÷ěŰÄŞ‹{ŁľÉÉËĚľ°ŻŔŮćééčćÚĚËÓÚßŕŢŢßßŕ‰Ţ‚߀ŕßŕßŕŕ߀ŕáâáß ÝÜÝŕÝŐČ´†(†‡˙Z™ąÍÚŕć÷…˙$ţűóçÔĽˇ{ڍÂĘĚÎĘąŻ®ĽÓăęëéçÉ´¶ĂŃŰßáŕßŕ€ß€Ţß‚Ţß߀ŕ ááâáâáâăââ€ăäâŕß ŢŢÜÝŕÝ×ÍĽŹ2†‡˙3`žĽÎŰáčů…˙-ţýůđâ͵™|yŚŞĂËĎĐõ±ŻµÉÝéěëëÓ·ŻąÇŐŢŕâáŕáŕßŢÜÝßŕ€Ţß߀ŕááâäă€ĺ ććçččçććăáÝŢß ŢŢÝŰÜŕŕŰÓż•: †‡˙9h˘żĐÜâéú†˙ţü÷ěÜÇ®’txŤŞÄÍŇĎ˝±€˛şŇčęëěŰĽ¶µşĆÖßáââáâß×ÔÚÝŢßŕßŕŕ€áââăâää€ăââáŕßŢŢß€Ţ ÜÜŕĺĺßÔšA †‡˙0n¦ÁŇÝâëű‡˙ţűőéŘ©ŚuލĂÎÔϸ˛łŔŢčëëŮľ˝ą¶·Ă×ŕáââăăÖĆÇŇÜßކßŕŕŚßŢ ßĺççĺßÔÄžJ †‡˙=uŞĂÔŢăíý‡˙ţýůňćÔľĄŠ~¦ÂĐÓʵ˛‚łĘßçîăĹ»ą¸··ÁŃŢŕăăććŘÇÁÇŃÚÝŢ“ß€Ţ ŕăçčćçćßÖƤQ †‡˙@{®ĹÖßăîý˙ţýřńăŃ»ŁŠ‰ŹˇľŇÔ°˛ł ˛¸ČÚçčČ´·¸€ą˝ÉÔÜăçéćÝŇČĂĹÍÖÚÜŢáŕŕŠßŢÝÜŢŕâäĺćá×Č©[ ††˙ E€±Ç×ŕäńţ‰˙ţü÷îáĎąˇŠ„Ž›·ÓÔĽŻł#˛ł´şĆŃÚŇą¸ąşş»˝żĹĚÔÝĺěěćŰŃÉĂĹÍŇÖŮÜßá€âáßßÝÜŰÚŮÚÚŰÝßáăäĺäććâŮĘŻj††˙ J‰´ĘŮŕĺňţŠ˙ţü÷îŕÎą˘ŚŠŤ•¬ÍĎ·°‚ł@˛˛¶şÁÁż·ąąşşąąş»ľÁÄËŇÚâčçá×ÍĂÁĆĘÎŃŇÓŇÔÓÔÔÓÔÔŐ×ŘÚÜÝŕâääâĺćâÚδu…†˙ PŹ·ËÚáćôţ‹˙ţűöíŕÎąŁŤ‰Ś˘żËµ°„ł´µ¶»…ą¸-ąĽÁĹĘĎŐÚŰÜŰŃÉÄĆÇČÉËĚÍÎĎŃŇÔŐ×ŘÚŰŢŕáââäćäÜѸ}…†˙ U–ąÍÜâçőţŚ˙ţűöíŕĎ»¦‘„‡‹‹śµ¸±Ż˛´€ł´µ·¸¸Śą*·¶ąľÄĘĎŃĎÍĚČĹÇČÉĘĚÍÎĐŇÔÔÖ×ŮŰÜßáâáĺčćßÓ»…+' …†˙ ZśĽĎÝăč÷ţŤ˙ţűöîáŃľ©•†‡ŚŠ“¦¨§®˛€ł´µ·¸Šą-şş»»ĽĽşą¸¸şżĆĘÇĹÇÇÉĘĚĚÎĐĐÓÔÖ×ŮŮÜŢßŕâĺéçßŐ˝‘^O……˙ _ żŃŢăéřţŽ˙ţü÷ďăÔÂ®š‰…‰Ź—›¤«°±ł´µ¶¸‹ąşş»Ľ»Ľ˝ľľżÁÄĹĆČÉĘËÍÎĎŃŇÔŐ×ŘÚÜÜÝáĺéčâÖÂz["……˙ 'g¤ÁÓßäęů˙ţü÷ńĺŘÇ´ˇŽŤ‘’”™ ¦¬®˛´··¸‹ąşş»%˝ľľżŔÁÂĂÄĆÇČÉËĚÍĎĐŃÓÔÖŘŮŰÜÝŕĺéčâ׹“a'……˙ 7o¨ĂÔßäëúţ‹˙ţüřňéÜÍ»©—‡‘‘’–š ¦Ş°ł¶Śąşş€»&ĽĽ˝ľżŔÁÂĂÄĹĆÇÉĘËĚÎĎŃŇÔŐ×ŘÚŰÝăĺéçÜÄŹ„‰k0……˙ 8r¬ÄÔÝßăńôôőôňďęăŘĚĽ«šŠ€†•”—› ¦¬°´·‹ąşş€»%Ľ˝˝ľżŔÁÂĂÄĹÇČÉĘĚÍÎĐŃÓÔÖ×ŮŰßŕâäÔ „Š‘‘u;……˙ @y­ÂĹą­¨Ş¬Ž­®­­«©¤ť•‹€ujcdp••–›ˇĄ«±µ·Šą€ş&»»Ľ˝ľżŔÁÂĂÄĹĆĆÇĘËĚÍĎĎŃÓÖ×ÚßßÓ¸gp|Źś›}@…„˙ B€«©ťš °Â€ÄĹƂǂČÇČÇĹŔ»˛©ž’‡{qnr…”–™›ź¤ŞŻł¶¸ą€ş%»ĽĽ˝ľľżŔÁÂĂÄĹÇÉÉËĚĚÎŇŐŮÝŢż¨‰|z|€…ź‡J…„˙ EŠ˘›°ĹĐáńó‚ôőöö÷‚řů€úůůöňíĺŰ϶§šŤ†‚†š™šťˇ¦«±µ¸†ą€ş »»ĽĽ˝ľżŔÁÂĂÄ€ĹĆĘÍŃÓŮÜĘ«˘“Ź“ž¬şĆÎżťśQ…„˙X“ˇ°ÄĎÖćôőőöö‚÷řůůúűüüýüüúřôíĺŰĐÄą«ź“‰…†‰Ť“™ťˇ¦­´¸ą¸…ąşş€»!Ľ˝ľľżÁÂÂĹČËĎŃŐÍ˝«ˇ—ŠŽ¤°˝ÉŐßčâÇŻžd…„˙ ]ʤ¸ČŃŮčőőöö÷‚řůůúűüüýű÷ňěĺÜÓČ˝±Ąš……Š•ž¬·ĽĽ€»‚ş»»€Ľ"ľżŔÁÄĹĆÇĆÄżą˛¬žŽ—ˇ«·ÂĚÖŕčđôěÓĽĄm „„˙ V‹©ĽËÔŰëőö‚÷ř€ůúűüüý€ţýüúřôîčßÖÍĂą®Ąś“ڇ„„“ž¦¬°°±´µµ·%ąş¸·¸»¸¸±¬«¤ž”‹†Š‘šŁ¬¶ŔČŇÚăęđőůűóŘès „„˙ T­żÍÖÝěö‚÷‚řůůú‚űüüý‚ţ#ýýüůőđęăÜÔËĂ»˛«¤ť–‘Ś‹‰‰ŠŠŤ–››śśťžź ť€•’“ދЋ•›˘©°ąÁÉŃŮáçíňöůüţýőŰĆ­x!„˙ [–°ÂĐ×ßďö÷‚řůů‚ú‚űüü‚ýţýýüů÷óîčâÜÖĎÉÂĽ¶°©¤ź›—”’ŽŚŚ‹$ŚŤŽ‘“•ś Ą©Ż´»ÁÇÎÔÚáçěńőřűüţţ˙ţöÝȲ.„˙ f›µĆŇŮáđ‚÷‚řůů‚úűüüýţýýüúřőńîęĺáÜ×ŇÍČĂż»·´˛Ż®««Ş«¬®°˛µ¸»ŔÄČÍŃÖÚßäéíńőřúü€ţ€˙ţ÷ßʵ‰/„˙ %n ¸ÉÔÜäňöö÷ř€ůú„űüý1üüűů÷őňďěéćáŢÚ×ÔŇĎÍËÉÉÇÇĆÇÇČÉĘËÍĎŇÔŘÚŢáĺčěďńő÷ůúüüýţţ÷ŕ̸‘9„˙ ,x¤ĽÎŰăëô€ö‰÷‰ř„ů†úůůř÷öôňđîěéçĺăâáŕßŢÝŢßŕáâäĺçęěîđňôö÷řůů‡úřňâλ—D„˙ 6€«ĹŮĺěôűü¨ý€ü űúů÷÷őőóóňńńđ ńńňóóőő÷řůúű€üŠý÷ňíäÔżťO„‚˙€@ڏŇâéîňř–ú‘ů„ř‚÷öö€ő†ôőőö÷‰ö€őóîëĺÚǤX„‚˙€KžÇŰâäăâăäśăâáââăáŰË­c ‚˙€^®ÎŮÚ×ÔÓŃšŇśÓ—Ň„Ń ŇÓÖŮ×Íłm†˙€h´ÎÔŃĐ‚ĎŘĐ‚ĎĐĐŃͶw†˙€h˛ËĐŤĎĆĐŤĎÎ˶q†˙€^®ÇΓϰГĎÎÇŞ\†˙€U§Ä͆ÎÄ©”„€€Ĺ€€„”©Ä…ÎÍ P€†˙€CˇÂË…ÎÄgWĎLWgÄ„ÎÍŔśH…˙€>›Ŕ˅ΨhÓLh¨„ÎĚżC…˙€/“˝ĘÍÍÎ’XÓLX’‚ÎÍÍË˝“:€†˙€,ŚşÉ…Í€MÓLM€„ÍĘ»Ž3…˙€‚¸Č…ÍŤ\W[_bdĘec`]X]Ť„ÍĘą'„˙{łÇ…ͦoglquwĘxvsnip§„ÍČ·$…˙€oŻĹĚ„ÍÄšyz}€Ă‚„‚~{y›ÄÍĚȵz…˙Y©Ă˂̀ÍĹ«’{}~É~}{’¬ĹÍÍĚĹ®f…˙0“ĽĘ‹ĚÁ͉ΆĚĘĽ‘8‚…˙`©Â€Ë”̰̈́Ě΂̀Ëèc‚…˙‚f§ľČ†ËĆĚÎĚΆËÉÁ¦l…˙ PŞşżÂŹÄŹĹ§ÄĂ‚ÂŔĽ­ŚU†˙…Acw‚‡‰–‹‡Ś††…‚„†‚‚‚}jE……˙  ’ €…˙ő†˙ô†˙ô‡˙ň‰˙ń‰˙đŚ˙ě˙˙˙˙˙˙š˙©ˇ’˙HXUX€ZX‹Vc€a'_QJ?987167=>AKUdiUWRNMHB;7577CGXccllcbUL‘˙?Vt‹™ťśśť„ž€ź€ž€ ˘˘ˇ˘˘Ł€¤٦¦€Ą€§¨dUNOOSZ^bfmpv†‹‘“‘|wvtr€nld`ZRKU^k‰ ­ ‘{]3ŹŹ˙U˘´ĽÁ€ÂĂÀĀĹĆÇ€ČɀʀËĚĚÍÍ€Î4ĎĎĐĐÍš?2:O[^ekqw„”š™™šŽ‡††…€}}zyrpoleNJ?Hlµ©Śc5ŽŽ˙GyˇłĽÄĚ€ÎĎ€ĐŃŃĐŃŇŇÓÓŐÖ€×ŘŘ‚ŮÚÚŁT!-EYVWes{€€~~}‰”“€”•‹|~€~€‘¤¸Î¶ČŘÎĘĘĂ­x=8†VŤŽ˙8\“ŻľÄÎÔ€Ń€Ň ÓÓŇŃĐĎÍĹËĐŇÔŐ‚Ö‚×ŘŘŐÄt(M€WYo~~}‚|†€‘’”’‹||{ywuqmkorumڧĎŕÔŞ<4#ŤŽ˙=sĄĽÄĘ×çč‚éęéčĺâŢÁ»×âćéěííîďč´m1Q†rt‚”ž‘‡††„…“ś™–”“••‡|{xwtpkfa_]YK7?X¨;ŤŽ˙ G‡Ş·ĂĚÜëííî ííéäܶ޷ÎŢćëđňóó€ô´WAd‚Ť{—±żż·±­«'®Ż±±°°ĽŃÍĘĆĹÄÂŔŔş±§˘ˇźś“vmf`[ZVE,'=|wŤŽ˙XŤ¤¶ÄÍÝě‚î4ďîęĺÚ®”ˇ°˝ŃŢéďńňňóóôôÄD?p€„‚|Ż˝»ą¶µ±­­·ÄËżąĽ˝ľľĚŕŢÝŢßŢ˸»Ľş¸µ°¦ś“‹…}€‡’™’–šDŚŤ˙U‡Ą¸ĹÎŕíî3ďîěçÝÇ’Ť’ˇ©ąÖăěđňóôôçmb‚€€}‰´»´°¬ˇ§¬¸˝ĆÍ¶Ż´·şş»ĹŢŰÜÝ×Ć€ą¸¶ł¬¤ś—™§şĎÍŔ¸¬Ą € ŚŤ˙*S‰§»ÇĐâ€î€ď2íéâÔžz{‰śľŮçîńóď±Jprsw|zŠ´ł¬Ąś›­­°±ł¦žŁŞ°µ¸¸ąĘÝÚŰÚÚŃ»µ··¶˛¬¦ť“Š—ŞŃäŕ×Á”7ŚŤ˙ *TŽŞĽČŃăîî€ď3îěćÚ¶shs†‹‚ŽżÝçěÔF^ccfiml|¤©›•“ť ˇ¦©¦“‹”ťĄ¬°˛±ľÚÖÖ×ŘŐŘÖÉşµłł˛±«˘šŹ…ypox…”±ÉĐÁ}ŚŤ˙3W’¬ľÉÓćî‚ď/ęŕ҆W[q{sn{ş×ž6^__bhlih…›‹‡“•™ť ź†z†’›Ł©¬®şŃ€ÓÔÔŐÖıÉĐÄÇ»Ż®­«ŁĄťŹwpqy€xmv•Ż”EŚŤ˙)^•ŻżĘÔçď0đíčŰČ_I[kjhimrt‰Yo‚‹”ťˇ¦žźˇ†}†ŚŹ“—™„v’“›˘Ą¦ŻË€Ď ĐÔŇËÁ¨ś»Ĺ ¦©Ş¨§Ł¨¸ş¨–krІlH:Lh5ŚŤ˙#8fš±ÁË×éďďđđďíäŐŞK@Xx…}rq”˘§ ź¦§ˇ˘Ş€°´´Ťw†Ť‹t…š¤śšŞ®»€Ë ĚĎż­¨ ť›ź¸ą€ ¦±şżÂÁĽµ«ś‚„–T0‹Ť˙@#,5EbJBA>>@\Ś¸ÎąvF53/Š‹˙PŚ­ŔÍŐâđëŕĹ…d_Yn}ptutsstwz„Ś‘’xohQKS\enu|‚‡ŠŚŽ€ŹŽŽ“…XBHGFEEB9>@><;>UŠľĆ±~I520Š‹˙3U‘ŻÂÎÖäďčŘŞn_a`zsvytssŽtsuy}…ŠŽ’—š™’sHKVajry~†‰Š‹ŚŤ‹ŹV>ECCBA@?><;:8:Q~¨·§N410Š‹˙*Z–˛ÄĎ×äěáĎ•ico`Śyv{w€sŽtv{~‚‡‹”™ťˇŁĄVTaksz~‚„†„‰‹X9AA@?>=<;:8757Ku¤ŔżŹS400Š‹˙4aš´ĹĐŘĺéŰą†^rn[|w|{t€sŚtuy}„Ť‘•™žˇĄŞ®¶a\isy~€‚„‡†‡uH6=>=;;:986534Doź˝ĂśX4/1Š‹˙5hž¶ÇŃŮĺćÔˇ|VzXXk|€yuwwusŠtvz}‚‡ŠŹ“ś Ą¨¬±´Âgamu|~€€‚€„‚…uO:66476542121=hšµ˛ž`60.Š‹˙>nˇąČÓÚĺâΙtWSNVwuvz}vr‰tw|„Ž’—šźŁ©¬®˛·şÁcmv{|}}~€€ ‚}_F=N64321€/ 8`”µ´”_9(Š‹˙?u¤»ĘÓŮäŢ»ˇjSHCS{…}rw}ws‡tvy~…‡‰ŠŠ…nry” «µŔÉbmuxzz{{||†} ||{}om\520/.€, 1YŹ´´’W)Š‹˙F{§˝ËÔŰĺ۲¨bS@1Z„xrs~†yqs…tuy{xpcO,)5JtšÂ‡bjquwwxxyy†zyyxxy{d;/..,+))(+Q°´™[! Š‹˙HŞżÍŐÜĺŮ˝aQ-`‰vsqx‡}rs†tunS0 )48:=@Ejhbhnrsttuvw‚v€un;),++)(''%'J‚¬łžd) 8‰‹˙M‡­ÁÎÖÝĺŘÁŽcH-eŚrssr~s†tvc4 #6=BFHJNRXaglopqqr‚s€t€s rsrrt`1()('&%€$ %Dy§ł˘m. SUŠ˙PŽŻĂĐ×ßĺÖĽ†h6 ;kŚ}rssrw|vs„tv_$  #1=ELPRTVY^bfjmmnno‚p€q‚ponob4$!#$#"! #=qˇł¦u3 ‰Š˙U”˛ĹŃŘŕćŐ¶€a@mŠ{t€utss„tve&!#%1DAJQVXYZ]`cfiijjkk€lmllmllklk?61"! 7iś˛Ş}9 ‰Š˙*\µÇÓŮăĺÓŻNFo‡wxzzu‡tr= #%'* ?|¨­—_# ‰Š˙D|ŞżÎŘÜçßČš:+O_ptqvzs„twr@#./13679;=?@Mmx~‹—”s]TMOQQ€RW^g€—ĄŞ±ąŔĂÉĎÓłc3$ €  7u¤¬śf*‰Š˙G„­ÂĐŮÝčßÉśV)O\lstswxtvtHvsL.1469;<>@ADELewv|„Ť“—|d]\[\]dz–šššśźŁ¬»ĘŮéę+    1mꬠo3Š˙NŠŻÄŃÚßéá̢nJWhqsuux{zw‚tHuu\84:<>@ABDGIKKavttuz„‰Ź‘’Ź‘‘ŹŚ‡|zwvu|®Ëßđúž   (d™¬Ąw7‰˙S˛ĹÓÚáíäŃ­ŚJSeossw„zu‚t wpF8>ABDEGIL€O]rutstuvx{}~~~||ywusrn{ Ěë˙Ó= $]“ާH%‰˙X–µÇÔÜăđčÖľ“LS_krsw‚‰…|v‚tvu_ABDFHILMPRTTVhxx€t ssuttuttsts‚tuvtoolnľŰź+€‚ U–°ŞŽ\(‰˙8_›·ÉÖÜćóîÝơ7BVSartw‰wtwsUEILMNPRSUWWYVbouv€u‡t€utsl]IIKK86> † N‘µ¶źe.‰˙3eźąË×Ýč÷óä϶W 5ZG[rsv}‡ŠzutvqSNOQRTUVWXZbg37Xdlprsu tsrqokeYFBG:€€‰ HŻş˘j1‰˙7kŁĽÍŘŢëůöęÖżo 0b.RtssyЇ~w„t*vq\STUWXYZ[^h€q.$:IT[eggihifa]XPG=;AC4&€Š R‚ÁĽ˘o7‰˙=r¦ľÎŮßíűřďŢÇ(2dOussv~‡Šy…t(vrb[XY[[\]`j|‘h/ *./457755349?>,$$!€‰ )[ŁÍş u;‰˙Ew©ŔĐÚŕđýúóäα= ]Artsty‰…}v†t&upeZ\]__ahv–R'#'*-169;;3! %'Ť  wĂʲ›x@‰˙G~¬ÂŃÚŕňýýöéÖ»lS'jwser‡‰‚yu…t&ssqf_``bbfn~—G& #'*+/122& $+$ Ś M©ÄĆĄ•C‰˙J…ŻÄÓÜâôţýřîÝħ!M d|taez…‰†~w…ts!mfddegku…•’S,!#"  !&()Ś 3€§ż¸‘—ŹL ‡‰˙!O‹˛ĆÔÜăőţýűňäϲR3JyhMr„‡‰‚ytss‚ts$tsojggjoy——d, ( ‰ k„ ş¤„©ť^ ‡˙#R‘µČÖÝĺ÷ţţüöëŘ˝$r†kIa{І}vtsst‚s€t#qonor{”ś‹V $*,.*! † &fv™˛ł˛·˘j ‡˙*X·Ę×Ţćů€ţúńŕČĄLMICs€‡‰ytss‚t‚s€t ssrrt}‡’šś‰F€''))''(& „€'$$##$$%  Vpttv|Ť©Ľ˝·¨w ‡˙,gˇĽÎŮßëü€˙ţůîÝÄŁH F‚@+f†‰†yxurt…s€ts x}…ś—~U.€ !€  8dv x}‹Ą¸»¸Ş} ‡˙5lĄľĐÚŕëü€˙ţüôĺѶ~  ]“`(:q†Š‡‚|xsr†stt„s uy†—š‡pQ €(Lgv~~~„ʦ¶ą¸Ş~&‡˙?r©ÁŃÜŕîý˙ýříÜĨO %kŠK:{‡ŽŚ„~xsr†stt„stwy}Š–‘‚w[5 0Rjv‚‰‰ŠŠ€‰ ŠŠ”Ą´»ą¨-‡˙D{¬ÂÓÜâďţ˙ţűóćѸ•,+ms2;‹ŠŹŤ‡€xst‡stvz~‚‡ŠŚŽŠ€vog]SEJUbbfs€†‡††€‡††‡†Ź˘´ş¶¨‚5‡˙GŻĹÔÝâńţ‚˙ýřîŢǬo3e`?}ŚŽ‡€w‡stt†srrtvwxy{}„†‡{‚|{{|{|{||{ |~‰ť˛¸´§†=˙J‡˛ÇÖŢăóţ‚˙ţüőčÖ˝˘J"":V><}•ʑЀ€vs€t‰sttsrttuuvwwxxyywwuuttutut uz„–¬µ˛¨E˙QŤµÉ×ßäőţ˙&ţůńâÍłŹ*(*7<$3t“•“‹hq~{wtsstvvurst€ut„sttst‚srppqst uzx‹Ą°®¤[†‡˙ V“·ËŮŕć÷ţ˙'ţü÷ěŰÄ©n /068%hŹ™–“ŹmA>Tjuxttvxxvt‡stvxxyxwuut‚svwwz|~|v€t uvpm ®«¦ś%†‡˙Z™ąÍÚŕć÷…˙+ţűóçÔĽź[  &36<1Uśťš’= 0Qlw{xxy{wussuv‚stvxz|~ ~~€€‚…††‡†€xstutmbh}›¬ł¸ą0†‡˙3`žĽÎŰáčů…˙[ţýůđâ͵”F)6,1CR\dkpvy|{yutrqqsvz~‡Ž•› Ą­·ĆŇÔΨe‡†˙ J‰´ĘŮŕĺňţŠ˙ţü÷îŕÎą˘4;>‚ &,$€1)4AWo…”€fE.+7CLTW]^aadegjpuz~†ŠŹ”š ¨łÂĐÓÎĹ­i ‡†˙ PŹ·ËÚáćôţ‹˙ţűöíŕÎąŁF -7 „/(7BPcqssq\H;>CGLPTY]bekqw{€„‹—ťĄ®żĎÓĐČ©f ‡†˙ U–ąÍÜâçőţŚ˙ţűöíŕĎ»¦ŹM #‚ €+%6GSXSQOD>BFKQTZ_bglrx|†Ś’—źŞĽÎÔĐ¢h $ …†˙ ZśĽĎÝăč÷ţŤ˙ţűöîáŃľ©•^& ‚ €,+BEJOSY]afkpvy~…‹Ź–¤¸ÇĘ·ťmf["……˙ 'g¤ÁÓßäęů˙ ţü÷ńĺŘÇ´ˇŤc‚ Š,!$'*.147;?CGKPTX^bglrwz€†Ś”žŻĽż˝ł—x{a'……˙ 7o¨ĂÔßäëúţ‹˙ţüřňéÜÍ»©—@€ Š+ "%(+.259<@DHLQTY^chnsx}ŤŽ™°»·¨…„‰k0……˙ 8r¬ÄÔÝßăńôôő ôňďęăŘĚĽ«šŠp6€ ‰€)!#&(+/279=AEJNRV[adjntz~y}’ŞŻ‘„Š‘‘u;……˙ @y­ÂĹą­¨Ş¬Ž­®­­«©¤ť•‹€ui[G, Š)!$'*-047;?CGKPTY^agkpsrruw}oco|Źś›}@…„˙ B€«©ťš °Â€ÄĹƂǂČÇČÇĹŔ»˛©ž’‡{iU< ‡) #&),/26:=AEILOSX_cgkoqlkjpx|€…ź‡J…„˙ EŠ˘›°ĹĐáńó‚ôőöö÷‚řů€úůůöňíĺŰ϶§šŠpV> †)!#&),/36:=@CENSZ_glnpt{„’ž¬şĆÎżťśQ…„˙X“ˇ°ÄĎÖćôőőöö‚÷řůůúű üüýüüúřôíĺŰĐÄą«ź“„cJ8# ‚("%(+/24930//,€*(+-./14;?CHOU\egks{„Š‘šŁ¬¶ŔČŇÚăęđőůűóŘès „„˙ T­żÍÖÝěö‚÷‚řůůú‚űüüý‚ţFýýüůőđęăÜÔËĂ»˛«¤ť–‘…|upjgbXSSTTUUVW[cfhnqw}„‹•›˘©°ąÁÉŃŮáçíňöůüţýőŰĆ­x!„˙ [–°ÂĐ×ßďö÷‚řůů‚ú‚űüü‚ýţýýüů÷óîčâÜÖĎÉÂĽ¶°©¤ź›—”’ŽŚŚ‹$ŚŤŽ‘“•ś Ą©Ż´»ÁÇÎÔÚáçěńőřűüţţ˙ţöÝȲ.„˙ f›µĆŇŮáđ‚÷‚řůů‚úűüüýţýýüúřőńîęĺáÜ×ŇÍČĂż»·´˛Ż®««Ş«¬®°˛µ¸»ŔÄČÍŃÖÚßäéíńőřúü€ţ€˙ţ÷ßʵ‰/„˙ %n ¸ÉÔÜäňöö÷ř€ůú„űüý1üüűů÷őňďěéćáŢÚ×ÔŇĎÍËÉÉÇÇĆÇÇČÉĘËÍĎŇÔŘÚŢáĺčěďńő÷ůúüüýţţ÷ŕ̸‘9„˙ ,x¤ĽÎŰăëô€ö‰÷‰ř„ů†úůůř÷öôňđîěéçĺăâáŕßŢÝŢßŕáâäĺçęěîđňôö÷řůů‡úřňâλ—D„˙ 6€«ĹŮĺěôűü¨ý€ü űúů÷÷őőóóňńńđ ńńňóóőő÷řůúű€üŠý÷ňíäÔżťO„‚˙€@ڏŇâéîňř–ú‘ů„ř‚÷öö€ő†ôőőö÷‰ö€őóîëĺÚǤX„‚˙€KžÇŰâäăâăäśăâáââăáŰË­c ‚˙€^®ÎŮÚ×ÔÓŃšŇśÓ—Ň„Ń ŇÓÖŮ×Íłm†˙€h´ÎÔŃĐ‚ĎŘĐ‚ĎĐĐŃͶw†˙€f˛ËĐŤĎĆĐŤĎÎ˶p†˙€]®ÇΓϰГĎÎÇŞ\†˙€U§Ä͆ÎÄ©”„€€Ĺ€€„”©Ä…ÎÍ P€†˙€CˇÂË…ÎÄgWĎLWgÄ„ÎÍŔśH…˙€>›Ŕ˅ΨhÓLh¨„ÎĚżC…˙€/’˝ĘÍÍÎ’XÓLX’‚ÎÍÍË˝“:€†˙€'‹şÉ…Í€MÓLM€„ÍĘ»Ž3…˙€‚¸Č…ÍŤ\W[_bdĘec`]X]Ť„ÍĘą'„˙złÇ…ͦoglquwĘxvsnip§„ÍČ·‚$…˙€oŻĹĚ„ÍÄšyz}€Ă‚„‚~{y›ÄÍĚȵy…˙X©Ă˂̀ÍĹ«’{}~É~}{’¬ĹÍÍĚĹ®e…˙0“ĽĘ‹ĚÁ͉ΆĚĘĽ8‚…˙`©Â€Ë”̰̈́Ě΂̀Ëèc‚…˙‚e¦ľČ†ËĆĚÎĚΆËÉÁ¦l…˙ M‡ŞşżÂŹÄŹĹ§ÄĂ‚ÂŔĽ­‹T†˙…Acv‚„‡€•‡‹†Ś…†„‚‚…‚€|hE……˙ „ ’ €…˙ő†˙ô†˙ô‡˙ň‰˙ń‰˙đŚ˙ě˙˙˙˙˙˙š˙—poidabbcdf€hghghjjilnq€r€qpponoo‡pnllnŹp’˙HXUX€ZX‹Vc€a_[WW€Y ]`aefisz‡Ś‚~}xsojhfa_dbccllcbUL‘˙?Vt‹™ťśśť„ž€ź€ž€ ˘˘ˇ˘˘Ł€¤٦¦€Ą€§¨~xtuwy~€‚„ŠŤ™žˇŁˇŽŽŤŚ€‰€|ws{~Ą­ ‘{]3ŹŹ˙U˘´ĽÁ€ÂĂÀĀĹĆÇ€ČɀʀËĚĚÍÍ€ÎĎĎĐĐάqimy€‡‰Ť“€–—˘§¦Ą¦§ť—”‘Ťpe_ZXS[a\[g€µ©Śc5ŽŽ˙GyˇłĽÄĚ€ÎĎ€ĐŃŃĐŃŇŇÓÓŐÖ€×ŘŘ‚ŮÚÚµ]cq|}„‹’““€’‘›€ˇ€˘ś‘€’‘‘Ś‚{yPZ`LHIIGE;NІVŤŽ˙8\“ŻľÄÎÔ€Ń€Ň ÓÓŇŃĐĎͰĂĐŇÔŐ‚Ö‚×ŘŘÖϧpfw}}|~‘’’‘‘‚—źź€ ˇˇ˘ˇš“ŹŽŚŠ‡|qcV@GT]d]N50E3ŤŽ˙=sĄĽÄĘ×çč‚éęéčĺâŢ›hĹâćéěííîďëĎŞŚˇŔş§¦¬˛±Ąť››™š"٦¬©Ą˘ˇ˘ˇˇŁŁŹŽ‹Š†}xsomi[G89IXN'$ŤŽ˙ G‡Ş·ĂĚÜëííî ííéäÜ”JW¬Ţćëđňóó€ôĎž–Ş˝Ä»şČŐŰŮÔÍÉĆĹĹÇČĘË€Ě!ÖĺáŢÚŘ×ŐÔÔĐČŔĽ»¸µŞ™‹ysmjfZD6;J@ŤŽ˙XŤ¤¶ÄÍÝě‚î3ďîęĺÚ79M}ËŢéďńňňóóôôÚ”˛ĽľľşŔŐÚÚÖÓŃÍĹ­«¤‘Ľ×ÚÜÝÝęöôô€őôőőćŘŰÚŘŐŇĚÁ¶¦•…lUA@AOT]\-ŚŤ˙U‡Ą¸ĹÎŕíî5ďîěçÝŔE(1CSšÖăěđňóôôí©¨Ľ»ĽĽąŔŐŘŇÎÉĄzTW]l‰ŔÍÓ×ŮÚŰăőóôô€őôôńăÚŮŘŘŐŃËĂE4S][_]Z]S*#ŚŤ˙*S‰§»ÇĐâ€î€ď3íéâÔk 0;;Q±ŮçîńóńĎ}•«®Żł¶·żÔŇƵAJKNPWµŔÉĐŐŘŮÚçőóó‚ôóóíÝ×ŮŘ×ÔÍƵ¦•wN'5r™ž’xP&ŚŤ˙ *TŽŞĽČŃăîî€ď2îěćÚ¨/!-/,(K±Ýçěá“{žź˘¦ŞŞłÉɦm;8=?CGR‚¤°ĽĹÍŇÖÖŕóđ€ń€ňđóńçÝŮ××ÖÔÍĆ˝±¤Ť‡~RNk‚tC%ŚŤ˙3W’¬ľÉÓćî‚ďRęŕŇa&# 4§ÖĽq{‰ŠŚ‘•™ť°»€4+.159=Dp•ٱ˝ÇÍŇÔŢďđđďďđňňäŐčíćçÝÔŐÔŇĘɲĄ™‘‹Ś‹aRZ]?5ŚŤ˙)^•ŻżĘÔçďTđíčŰČ/  "Gohonlpvz€…‡Ž–j!$'+/37ZŽ˘°µŔČĚĎŐëîíîďňđëâĎĆŢćËĎŇŇŃĐĚĎÚŰĘąĄ‘‘—wV=4. ŚŤ˙`8fš±ÁË×éďďđđďíäŐˇ#/* #8L^dWVbeZ[hqqryy6 $(,:„ś˛ÁŔÁĹÓÖŕëěëěďáÔĐĘČÇÉŢŢËĚĚĐŮßâäâÜÖĚ˝¤ź§ĄŤdB#ŚŤ˙;N__VU\a.#)U‘§˝Î×Üßäĺč€é!ëŐÂÁÁĂĂŔÄÝíăßĺçčççäâŕŢÜҬ¨¶¸¦yM(#ŚŤ˙`?p µÄÎÚěđđńńďčÜÉJ6VM(.NC DVF47=C0 &›łÇŐŢáăĺĺćççčéŰÁÂÜĚĽ¸żŢëččçććĺĺäââáâҤ®ŔƸŹW,!#ŚŤ˙Dx˘·ĹĎÝîńîčŘĂ>5J4'B- 5B$#$‚ ~ŁşÍŮŢââăăäĺĺ€ć ăčŐşżČŮććĺĺ€äăăáá€ŕ ÝżŻĹĎÄ `+#$ŚŤ˙E€ĄąÇĐŢîńďćÖ˝40=# / $7  'žşĚ×ŰÝßßŕŕ€áăăääćěëéĺâăăáâáŕ€ßÝÝÜŰÜÜŕßÔĚ«e,&2‹Ś˙$K„§»ČŃŕďńńňňîäŇł,&-  ' ;ŁÂÍÓÖŐ×ŘŮÚÚÜÝŢŕŕá‚ŕßßŢ€ÝŰŰÚŮŘÚâęćÚµc-7R8‹Ś˙#*QŠŞ˝ĘÓâđńňňńěâШ&    ‚ |¦±µµ·¶»ĹÇĚĎ×ÜÝŢ€ÝÜÜŰŰÚÚŘŘ×ÖŐÖÚĺďńŐ{nˇąČÓÚĺâÎU:   ‡"&*/46:?CGKORVYbs“¤°¸ąş»»Ľ˝Ľ »Ŕą{s†jfedc€a f…­ĆĹŞtTC3Š‹˙ ?u¤»ĘÓŮäŢŁ€,€ $‡$(*,032),1BGOUZer~•¤Ż·¸¸ąą€şą‚ş‚ą»ş¬Ş–hcba`^^]a©ĹŦk?*!Š‹˙F{§˝ËÔŰĺŰĄ  $$ %…‚ ;NT]m€†•˘®´€¶€·¸·‚¸‚·¶·Ľ ob`_^]\ZY]xŁÂÄ­p3!Š‹˙HŞżÍŐÜĺŮ®*  ' ‡ „5T[^afm{‰—Ł«˛ł€´‹µ´µ­r[^]\[ZXXWXrťľÄ±z<"‰‹˙M‡­ÁÎÖÝĺŘŔe .€  "!†…Ydmrux}Ž›¤Ş°±˛˛‡ł„˛ťgZ[ZYXWVTSTm–şĂµ‚@"‰Š˙PŽŻĂĐ×ßĺÖ¸P . !…†>ft„‡‰‹—źĄŞ­€Ż€°„±„°ˇgTRTUUTRQPRfŹµÂ¸‹E!‰Š˙U”˛ĹŃŘŕćŐ­9+€…‡ Eq‹’”–—šť˘¦©«¬¬­­‹®­®¬vJmdTQPONMMa°Â»‘J ‰Š˙ *\µÇÓŮăĺÓ˘8€(‡ ><@c•¸Ľ©r3#=‰Š˙D|ŞżÎŘÜçßČh+#‚‰9,9D_v…’“••–•”ŚpVJQZ`ktvx~‚uaSHHRXD;>>=<;;9=]Ź´»­z=2>*Š˙G„­ÂĐŮÝčßÉoR  ‚ Š8 %/6?@ACDGLUeu†›P36528>=<:98769W°»±G;=4Š˙NŠŻÄŃÚßéáĚl  ‚ ‰ !&,14€7*442.)%  4Sr‡śŞU38::998765435O€«»µŠM>;6‰˙S˛ĹÓÚáíäŃ›Ś   ‚‰ €Co’§~*356654321102Kz¦¸µ’eD;7‰˙X–µÇÔÜăđčÖľ“  !' ‰€„ 0gK&/1€2110 2EuŻĂ»§J:9‰˙8_›·ÉÖÜćóîÝơ7  &* ‰Ź  (,.†0 2?l«ĚĚľ†M98‰˙3eźąË×Ýč÷óä϶V &*$‡‡ %#'+-/†0 ?i’°˝Á‹S86‰˙7kŁĽÍŘŢëůöęÖżn € #*) „   €€ :N4!#&),./„0 /0T‚•ś©żŹZ86‰˙=r¦ľÎŮßíűřďŢÇ(  '*$„  !  -ERP5!$&()+-./„0 -1hš–“Ą¸“`84‰˙Ew©ŔĐÚŕđýúóäα< € )'†   '„€ @MX^@!&)*+,../…0 /1^~Ť•ٵ–d72‰˙G~¬ÂŃÚŕňýýöéÖ»l   !… € -1  9JSZg_7),--..//…0 /)O]d‡”ź­Śe71‡‰˙J…ŻÄÓÜâôţýřîÝħ  …  !0/€ (/28W`hlN++.€/‡0/,)?8Z„‘—ť|_:1$‡‰˙"O‹˛ĆÔÜăőţýűňäϲR  €*  &68("%&"$'-/1359=C[l`?DF42321†0//%/"+Q}‰‡vU;0)‡˙"R‘µČÖÝĺ÷ţţüöëŘ˝Ź , *9@=1-0257:<>ADGIOmw|€}mfgbU@CDHOSUTV^fnsrrpqrrppn\<& !!€ "*DoŤ‘€U"#'‡˙?r©ÁŃÜŕîý˙ýříÜĨO€. %$  „  ‚ $+28;?ACHNRRS[hkjihgcVD91+(€)(()+0EmŤ•‚Y$"&‡˙D{¬ÂÓÜâďţ˙ţűóćѸ•+€!# %*)% „   $(,/15;>?@EMRPJC;4.€'%%'&&%%'(.@j‰’…`'#‡˙GŻĹÔÝâńţ‚˙ýřîŢǬo $+/.*! „ „ !#%'(),//)%! $8aŹ‘f,#†˙J‡˛ÇÖŢăóţ‚˙ţüőčÖ˝˘I +043.$„  …  € † 2SzŽ’‹k3#†˙QŤµÉ×ßäőţ˙ţůńâÍłŹ)‚ .6961%  …  €‚€ #GwŤ‘Śr:"†‡˙ V“·ËŮŕć÷ţ˙ţü÷ěŰÄ©m‡0<>;7#  … € $%#@rŚ’ŽuB! †‡˙Z™ąÍÚŕć÷…˙ţűóçÔĽź[ ‡0ADB< ‚ . !!#$#%%$&()+023531+:mŠ‘ŽyG!!†‡˙3`žĽÎŰáčů…˙ ţýůđâ͵”F/CKID&   € ,  #'*0159;>@@;92+5i‰‘Ź|N "†‡˙9h˘żĐÜâéú†˙ ţü÷ěÜÇ®‰61#CLMK1!"!"%(+,++)%"‚1e‡’€T #†‡˙0n¦ÁŇÝâëű‡˙ţűőéŘ©)Š5HMP4€ !"$& €€ €  ,^„Y##†‡˙=uŞĂÔŢăíý‡˙ ţýůňćÔľĄ}'‹:IVF‚"%(,. “  'Z‚‘†_&#†‡˙@{®ĹÖßăîý˙ ţýřńăŃ»Łx&‰2LN‚ !*052'  ‡€‚  $UŹ‘b("††˙ E€±Ç×ŕäńţ‰˙ ţü÷îáĎąˇz+Š%2&3#0:<6)   !Q~’‰f-"…†˙ J‰´ĘŮŕĺňţŠ˙ ţü÷îŕÎą˘4Ś,  !,7>=4%  € M|Ž‘Šk0"…†˙ PŹ·ËÚáćôţ‹˙ ţűöíŕÎąŁE Ť €‚  (0131"€€€ KzŹ’Šk3'…†˙ U–ąÍÜâçőţŚ˙ ţűöíŕĎ»¦ŹL‹ ‰  "# €€€ IzŹ’‹l5*9…†˙ ZśĽĎÝăč÷ţŤ˙ ţűöîáŃľ©•^&‰ Ť € ‚€ GxŽ‘‹n=GQ……˙ _ żŃŢăéřţŽ˙ ţü÷ďăÔ®™z<‰ Ť € €€ FvŽ“ŽuKW["……˙ 'g¤ÁÓßäęů˙ ţü÷ńĺŘÇ´ˇŤb‡Ž „‚€€ Au—’{bua'……˙ 7o¨ĂÔßäëúţ‹˙ţüřňéÜÍ»©—@…Ž …‚€‚ Cz”Ž|‰k0……˙ 8r¬ÄÔÝßăńôôő ôňďęăŘĚĽ«šŠp6… Ž ‚‚€&LwބБ‘u;……˙ @y­ÂĹą­¨Ş¬Ž­®­­«©¤ť•‹€ui[G+„ Ť „‚(H^`m|Źś›}@…„˙ B€«©ťš °Â€ÄĹƂǂČÇČÇĹŔ»˛©ž’‡{iT<‚ Ś ‚ &5Ofv|€…ź‡J…„˙ EŠ˘›°ĹĐáńó‚ôőöö÷‚řů€úůůöňíĺŰ϶§šŠpU;Ť „ $>Lgz‘ž¬şĆÎżťśQ…„˙X“ˇ°ÄĎÖćôőőöö‚÷řůůúűüüýüüúřôíĺŰĐÄą«ź“„bG3‹ ‚ *=M_|ޤ°˝ÉŐßčâÇŻžd…„˙ ]ʤ¸ČŃŮčőőöö÷‚řůůúűüüýű÷ňěĺÜÓČ˝±ĄšgP>. ‡ ‚  !+7=Qi‚Ž—ˇ«·ÂĚÖŕčđôěÓĽĄm „„˙ V‹©ĽËÔŰëőö‚÷ř€ůúűüüý€ţýüúřôîčßÖÍĂą®Ąś“Śm]O;+$€ (29BK]pŠ‘šŁ¬¶ŔČŇÚăęđőůűóŘès „„˙ T­żÍÖÝěö‚÷‚řůůú‚űüüý‚ţýýüůőđęăÜÔËĂ»˛«¤ť–‘„zqjb^VG€?(>>=<N\it€ŚŤŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŤŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŽŤŚ‹€vk_RB1" %3AMYahlnpppqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppomic[QD7(  &2=GOVY\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ZVRI@5*  &/7>CGIJLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKJGD@91(  #)/368:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::8640+%  !%&()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))(&%"     cmake-2.8.12.2/Modules/CPackBundle.cmake000644 000765 000024 00000003427 12266011634 020371 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack Bundle generator ##end ##module # - CPack Bundle generator (Mac OS X) specific options # # Installers built on Mac OS X using the Bundle generator use the # aforementioned DragNDrop (CPACK_DMG_xxx) variables, plus # the following Bundle-specific parameters (CPACK_BUNDLE_xxx). ##end # ##variable # CPACK_BUNDLE_NAME - The name of the generated bundle. This # appears in the OSX finder as the bundle name. Required. ##end # ##variable # CPACK_BUNDLE_PLIST - Path to an OSX plist file that will be used # for the generated bundle. This assumes that the caller has generated # or specified their own Info.plist file. Required. ##end # ##variable # CPACK_BUNDLE_ICON - Path to an OSX icon file that will be used as # the icon for the generated bundle. This is the icon that appears in the # OSX finder for the bundle, and in the OSX dock when the bundle is opened. # Required. ##end # ##variable # CPACK_BUNDLE_STARTUP_COMMAND - Path to a startup script. This is a path to # an executable or script that will be run whenever an end-user double-clicks # the generated bundle in the OSX Finder. Optional. ##end #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) #Bundle Generator specific code should be put here cmake-2.8.12.2/Modules/CPackComponent.cmake000644 000765 000024 00000050366 12266011634 021126 0ustar00kitwarestaff000000 000000 ##section Variables concerning CPack Components ##end ##module # - Build binary and source package installers # # The CPackComponent module is the module which handles # the component part of CPack. See CPack module for # general information about CPack. # # For certain kinds of binary installers (including the graphical # installers on Mac OS X and Windows), CPack generates installers that # allow users to select individual application components to # install. The contents of each of the components are identified by # the COMPONENT argument of CMake's INSTALL command. These components # can be annotated with user-friendly names and descriptions, # inter-component dependencies, etc., and grouped in various ways to # customize the resulting installer. See the cpack_add_* commands, # described below, for more information about component-specific # installations. # # Component-specific installation allows users to select specific sets # of components to install during the install process. Installation # components are identified by the COMPONENT argument of CMake's # INSTALL commands, and should be further described by the following # CPack commands: ##end # ##variable # CPACK_COMPONENTS_ALL - The list of component to install. # #The default value of this variable is computed by CPack #and contains all components defined by the project. The #user may set it to only include the specified components. ##end # ##variable # CPACK__COMPONENT_INSTALL - Enable/Disable component install for # CPack generator . # #Each CPack Generator (RPM, DEB, ARCHIVE, NSIS, DMG, etc...) has a legacy #default behavior. e.g. RPM builds monolithic whereas NSIS builds component. #One can change the default behavior by setting this variable to 0/1 or OFF/ON. ##end ##variable # CPACK_COMPONENTS_GROUPING - Specify how components are grouped for multi-package # component-aware CPack generators. # #Some generators like RPM or ARCHIVE family (TGZ, ZIP, ...) generates several #packages files when asked for component packaging. They group the component #differently depending on the value of this variable: # - ONE_PER_GROUP (default): creates one package file per component group # - ALL_COMPONENTS_IN_ONE : creates a single package with all (requested) component # - IGNORE : creates one package per component, i.e. IGNORE component group #One can specify different grouping for different CPack generator by using #a CPACK_PROJECT_CONFIG_FILE. ##end ##variable # CPACK_COMPONENT__DISPLAY_NAME - The name to be displayed for a component. ##end ##variable # CPACK_COMPONENT__DESCRIPTION - The description of a component. ##end ##variable # CPACK_COMPONENT__GROUP - The group of a component. ##end ##variable # CPACK_COMPONENT__DEPENDS - The dependencies (list of components) # on which this component depends. ##end ##variable # CPACK_COMPONENT__REQUIRED - True is this component is required. ##end ##macro #cpack_add_component - Describes a CPack installation component #named by the COMPONENT argument to a CMake INSTALL command. # # cpack_add_component(compname # [DISPLAY_NAME name] # [DESCRIPTION description] # [HIDDEN | REQUIRED | DISABLED ] # [GROUP group] # [DEPENDS comp1 comp2 ... ] # [INSTALL_TYPES type1 type2 ... ] # [DOWNLOADED] # [ARCHIVE_FILE filename]) # #The cmake_add_component command describes an installation #component, which the user can opt to install or remove as part of #the graphical installation process. compname is the name of the #component, as provided to the COMPONENT argument of one or more #CMake INSTALL commands. # #DISPLAY_NAME is the displayed name of the component, used in #graphical installers to display the component name. This value can #be any string. # #DESCRIPTION is an extended description of the component, used in #graphical installers to give the user additional information about #the component. Descriptions can span multiple lines using "\n" as #the line separator. Typically, these descriptions should be no #more than a few lines long. # #HIDDEN indicates that this component will be hidden in the #graphical installer, so that the user cannot directly change #whether it is installed or not. # #REQUIRED indicates that this component is required, and therefore #will always be installed. It will be visible in the graphical #installer, but it cannot be unselected. (Typically, required #components are shown greyed out). # #DISABLED indicates that this component should be disabled #(unselected) by default. The user is free to select this component #for installation, unless it is also HIDDEN. # #DEPENDS lists the components on which this component depends. If #this component is selected, then each of the components listed #must also be selected. The dependency information is encoded #within the installer itself, so that users cannot install #inconsistent sets of components. # #GROUP names the component group of which this component is a #part. If not provided, the component will be a standalone #component, not part of any component group. Component groups are #described with the cpack_add_component_group command, detailed #below. # #INSTALL_TYPES lists the installation types of which this component #is a part. When one of these installations types is selected, this #component will automatically be selected. Installation types are #described with the cpack_add_install_type command, detailed below. # #DOWNLOADED indicates that this component should be downloaded #on-the-fly by the installer, rather than packaged in with the #installer itself. For more information, see the cpack_configure_downloads # command. # #ARCHIVE_FILE provides a name for the archive file created by CPack #to be used for downloaded components. If not supplied, CPack will #create a file with some name based on CPACK_PACKAGE_FILE_NAME and #the name of the component. See cpack_configure_downloads for more #information. ##end # ##macro #cpack_add_component_group - Describes a group of related CPack #installation components. # # cpack_add_component_group(groupname # [DISPLAY_NAME name] # [DESCRIPTION description] # [PARENT_GROUP parent] # [EXPANDED] # [BOLD_TITLE]) # #The cpack_add_component_group describes a group of installation #components, which will be placed together within the listing of #options. Typically, component groups allow the user to #select/deselect all of the components within a single group via a #single group-level option. Use component groups to reduce the #complexity of installers with many options. groupname is an #arbitrary name used to identify the group in the GROUP argument of #the cpack_add_component command, which is used to place a #component in a group. The name of the group must not conflict with #the name of any component. # #DISPLAY_NAME is the displayed name of the component group, used in #graphical installers to display the component group name. This #value can be any string. # #DESCRIPTION is an extended description of the component group, #used in graphical installers to give the user additional #information about the components within that group. Descriptions #can span multiple lines using "\n" as the line #separator. Typically, these descriptions should be no more than a #few lines long. # #PARENT_GROUP, if supplied, names the parent group of this group. #Parent groups are used to establish a hierarchy of groups, #providing an arbitrary hierarchy of groups. # #EXPANDED indicates that, by default, the group should show up as #"expanded", so that the user immediately sees all of the #components within the group. Otherwise, the group will initially #show up as a single entry. # #BOLD_TITLE indicates that the group title should appear in bold, #to call the user's attention to the group. ##end # ##macro #cpack_add_install_type - Add a new installation type containing a #set of predefined component selections to the graphical installer. # # cpack_add_install_type(typename # [DISPLAY_NAME name]) # #The cpack_add_install_type command identifies a set of preselected #components that represents a common use case for an #application. For example, a "Developer" install type might include #an application along with its header and library files, while an #"End user" install type might just include the application's #executable. Each component identifies itself with one or more #install types via the INSTALL_TYPES argument to #cpack_add_component. # #DISPLAY_NAME is the displayed name of the install type, which will #typically show up in a drop-down box within a graphical #installer. This value can be any string. ##end # ##macro #cpack_configure_downloads - Configure CPack to download selected #components on-the-fly as part of the installation process. # # cpack_configure_downloads(site # [UPLOAD_DIRECTORY dirname] # [ALL] # [ADD_REMOVE|NO_ADD_REMOVE]) # #The cpack_configure_downloads command configures installation-time #downloads of selected components. For each downloadable component, #CPack will create an archive containing the contents of that #component, which should be uploaded to the given site. When the #user selects that component for installation, the installer will #download and extract the component in place. This feature is #useful for creating small installers that only download the #requested components, saving bandwidth. Additionally, the #installers are small enough that they will be installed as part of #the normal installation process, and the "Change" button in #Windows Add/Remove Programs control panel will allow one to add or #remove parts of the application after the original #installation. On Windows, the downloaded-components functionality #requires the ZipDLL plug-in for NSIS, available at: # # http://nsis.sourceforge.net/ZipDLL_plug-in # #On Mac OS X, installers that download components on-the-fly can #only be built and installed on system using Mac OS X 10.5 or #later. # #The site argument is a URL where the archives for downloadable #components will reside, e.g., http://www.cmake.org/files/2.6.1/installer/ #All of the archives produced by CPack should be uploaded to that location. # #UPLOAD_DIRECTORY is the local directory where CPack will create the #various archives for each of the components. The contents of this #directory should be uploaded to a location accessible by the URL given #in the site argument. If omitted, CPack will use the directory #CPackUploads inside the CMake binary directory to store the generated #archives. # #The ALL flag indicates that all components be downloaded. Otherwise, only #those components explicitly marked as DOWNLOADED or that have a specified #ARCHIVE_FILE will be downloaded. Additionally, the ALL option implies #ADD_REMOVE (unless NO_ADD_REMOVE is specified). # #ADD_REMOVE indicates that CPack should install a copy of the installer #that can be called from Windows' Add/Remove Programs dialog (via the #"Modify" button) to change the set of installed components. NO_ADD_REMOVE #turns off this behavior. This option is ignored on Mac OS X. ##endmacro #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Define var in order to avoid multiple inclusion if(NOT CPackComponent_CMake_INCLUDED) set(CPackComponent_CMake_INCLUDED 1) # Argument-parsing macro from http://www.cmake.org/Wiki/CMakeMacroParseArguments macro(cpack_parse_arguments prefix arg_names option_names) set(${prefix}_DEFAULT_ARGS) foreach(arg_name ${arg_names}) set(${prefix}_${arg_name}) endforeach() foreach(option ${option_names}) set(${prefix}_${option} FALSE) endforeach() set(current_arg_name DEFAULT_ARGS) set(current_arg_list) foreach(arg ${ARGN}) set(larg_names ${arg_names}) list(FIND larg_names "${arg}" is_arg_name) if (is_arg_name GREATER -1) set(${prefix}_${current_arg_name} ${current_arg_list}) set(current_arg_name ${arg}) set(current_arg_list) else () set(loption_names ${option_names}) list(FIND loption_names "${arg}" is_option) if (is_option GREATER -1) set(${prefix}_${arg} TRUE) else () set(current_arg_list ${current_arg_list} ${arg}) endif () endif () endforeach() set(${prefix}_${current_arg_name} ${current_arg_list}) endmacro() # Macro that appends a SET command for the given variable name (var) # to the macro named strvar, but only if the variable named "var" # has been defined. The string will eventually be appended to a CPack # configuration file. macro(cpack_append_variable_set_command var strvar) if (DEFINED ${var}) set(${strvar} "${${strvar}}set(${var}") foreach(APPENDVAL ${${var}}) set(${strvar} "${${strvar}} ${APPENDVAL}") endforeach() set(${strvar} "${${strvar}})\n") endif () endmacro() # Macro that appends a SET command for the given variable name (var) # to the macro named strvar, but only if the variable named "var" # has been defined and is a string. The string will eventually be # appended to a CPack configuration file. macro(cpack_append_string_variable_set_command var strvar) if (DEFINED ${var}) list(LENGTH ${var} CPACK_APP_VALUE_LEN) if(${CPACK_APP_VALUE_LEN} EQUAL 1) set(${strvar} "${${strvar}}set(${var} \"${${var}}\")\n") endif() endif () endmacro() # Macro that appends a SET command for the given variable name (var) # to the macro named strvar, but only if the variable named "var" # has been set to true. The string will eventually be # appended to a CPack configuration file. macro(cpack_append_option_set_command var strvar) if (${var}) list(LENGTH ${var} CPACK_APP_VALUE_LEN) if(${CPACK_APP_VALUE_LEN} EQUAL 1) set(${strvar} "${${strvar}}set(${var} TRUE)\n") endif() endif () endmacro() # Macro that adds a component to the CPack installer macro(cpack_add_component compname) string(TOUPPER ${compname} CPACK_ADDCOMP_UNAME) cpack_parse_arguments(CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME} "DISPLAY_NAME;DESCRIPTION;GROUP;DEPENDS;INSTALL_TYPES;ARCHIVE_FILE" "HIDDEN;REQUIRED;DISABLED;DOWNLOADED" ${ARGN} ) if (CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DOWNLOADED) set(CPACK_ADDCOMP_STR "\n# Configuration for downloaded component \"${compname}\"\n") else () set(CPACK_ADDCOMP_STR "\n# Configuration for component \"${compname}\"\n") endif () if(NOT CPACK_MONOLITHIC_INSTALL) # If the user didn't set CPACK_COMPONENTS_ALL explicitly, update the # value of CPACK_COMPONENTS_ALL in the configuration file. This will # take care of any components that have been added after the CPack # moduled was included. if(NOT CPACK_COMPONENTS_ALL_SET_BY_USER) get_cmake_property(CPACK_ADDCOMP_COMPONENTS COMPONENTS) set(CPACK_ADDCOMP_STR "${CPACK_ADDCOMP_STR}\nSET(CPACK_COMPONENTS_ALL") foreach(COMP ${CPACK_ADDCOMP_COMPONENTS}) set(CPACK_ADDCOMP_STR "${CPACK_ADDCOMP_STR} ${COMP}") endforeach() set(CPACK_ADDCOMP_STR "${CPACK_ADDCOMP_STR})\n") endif() endif() cpack_append_string_variable_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DISPLAY_NAME CPACK_ADDCOMP_STR) cpack_append_string_variable_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DESCRIPTION CPACK_ADDCOMP_STR) cpack_append_variable_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_GROUP CPACK_ADDCOMP_STR) cpack_append_variable_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DEPENDS CPACK_ADDCOMP_STR) cpack_append_variable_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_INSTALL_TYPES CPACK_ADDCOMP_STR) cpack_append_string_variable_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_ARCHIVE_FILE CPACK_ADDCOMP_STR) cpack_append_option_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_HIDDEN CPACK_ADDCOMP_STR) cpack_append_option_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_REQUIRED CPACK_ADDCOMP_STR) cpack_append_option_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DISABLED CPACK_ADDCOMP_STR) cpack_append_option_set_command( CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DOWNLOADED CPACK_ADDCOMP_STR) # Backward compatibility issue. # Write to config iff the macros is used after CPack.cmake has been # included, other it's not necessary because the variables # will be encoded by cpack_encode_variables. if(CPack_CMake_INCLUDED) file(APPEND "${CPACK_OUTPUT_CONFIG_FILE}" "${CPACK_ADDCOMP_STR}") endif() endmacro() # Macro that adds a component group to the CPack installer macro(cpack_add_component_group grpname) string(TOUPPER ${grpname} CPACK_ADDGRP_UNAME) cpack_parse_arguments(CPACK_COMPONENT_GROUP_${CPACK_ADDGRP_UNAME} "DISPLAY_NAME;DESCRIPTION" "EXPANDED;BOLD_TITLE" ${ARGN} ) set(CPACK_ADDGRP_STR "\n# Configuration for component group \"${grpname}\"\n") cpack_append_string_variable_set_command( CPACK_COMPONENT_GROUP_${CPACK_ADDGRP_UNAME}_DISPLAY_NAME CPACK_ADDGRP_STR) cpack_append_string_variable_set_command( CPACK_COMPONENT_GROUP_${CPACK_ADDGRP_UNAME}_DESCRIPTION CPACK_ADDGRP_STR) cpack_append_option_set_command( CPACK_COMPONENT_GROUP_${CPACK_ADDGRP_UNAME}_EXPANDED CPACK_ADDGRP_STR) cpack_append_option_set_command( CPACK_COMPONENT_GROUP_${CPACK_ADDGRP_UNAME}_BOLD_TITLE CPACK_ADDGRP_STR) # Backward compatibility issue. # Write to config iff the macros is used after CPack.cmake has been # included, other it's not necessary because the variables # will be encoded by cpack_encode_variables. if(CPack_CMake_INCLUDED) file(APPEND "${CPACK_OUTPUT_CONFIG_FILE}" "${CPACK_ADDGRP_STR}") endif() endmacro() # Macro that adds an installation type to the CPack installer macro(cpack_add_install_type insttype) string(TOUPPER ${insttype} CPACK_INSTTYPE_UNAME) cpack_parse_arguments(CPACK_INSTALL_TYPE_${CPACK_INSTTYPE_UNAME} "DISPLAY_NAME" "" ${ARGN} ) set(CPACK_INSTTYPE_STR "\n# Configuration for installation type \"${insttype}\"\n") set(CPACK_INSTTYPE_STR "${CPACK_INSTTYPE_STR}list(APPEND CPACK_ALL_INSTALL_TYPES ${insttype})\n") cpack_append_string_variable_set_command( CPACK_INSTALL_TYPE_${CPACK_INSTTYPE_UNAME}_DISPLAY_NAME CPACK_INSTTYPE_STR) # Backward compatibility issue. # Write to config iff the macros is used after CPack.cmake has been # included, other it's not necessary because the variables # will be encoded by cpack_encode_variables. if(CPack_CMake_INCLUDED) file(APPEND "${CPACK_OUTPUT_CONFIG_FILE}" "${CPACK_INSTTYPE_STR}") endif() endmacro() macro(cpack_configure_downloads site) cpack_parse_arguments(CPACK_DOWNLOAD "UPLOAD_DIRECTORY" "ALL;ADD_REMOVE;NO_ADD_REMOVE" ${ARGN} ) set(CPACK_CONFIG_DL_STR "\n# Downloaded components configuration\n") set(CPACK_UPLOAD_DIRECTORY ${CPACK_DOWNLOAD_UPLOAD_DIRECTORY}) set(CPACK_DOWNLOAD_SITE ${site}) cpack_append_string_variable_set_command( CPACK_DOWNLOAD_SITE CPACK_CONFIG_DL_STR) cpack_append_string_variable_set_command( CPACK_UPLOAD_DIRECTORY CPACK_CONFIG_DL_STR) cpack_append_option_set_command( CPACK_DOWNLOAD_ALL CPACK_CONFIG_DL_STR) if (${CPACK_DOWNLOAD_ALL} AND NOT ${CPACK_DOWNLOAD_NO_ADD_REMOVE}) set(CPACK_DOWNLOAD_ADD_REMOVE ON) endif () set(CPACK_ADD_REMOVE ${CPACK_DOWNLOAD_ADD_REMOVE}) cpack_append_option_set_command( CPACK_ADD_REMOVE CPACK_CONFIG_DL_STR) # Backward compatibility issue. # Write to config iff the macros is used after CPack.cmake has been # included, other it's not necessary because the variables # will be encoded by cpack_encode_variables. if(CPack_CMake_INCLUDED) file(APPEND "${CPACK_OUTPUT_CONFIG_FILE}" "${CPACK_CONFIG_DL_STR}") endif() endmacro() endif() cmake-2.8.12.2/Modules/CPackCygwin.cmake000644 000765 000024 00000002205 12266011634 020411 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack Cygwin generator ##end ##module # - Cygwin CPack generator (Cygwin). # The following variable is specific to installers build on # and/or for Cygwin: ##end # ##variable # CPACK_CYGWIN_PATCH_NUMBER - The Cygwin patch number. # FIXME: This documentation is incomplete. ##end ##variable # CPACK_CYGWIN_PATCH_FILE - The Cygwin patch file. # FIXME: This documentation is incomplete. ##end ##variable # CPACK_CYGWIN_BUILD_SCRIPT - The Cygwin build script. # FIXME: This documentation is incomplete. ##end #============================================================================= # Copyright 2006-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) cmake-2.8.12.2/Modules/CPackDeb.cmake000644 000765 000024 00000036534 12266011634 017657 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack Debian (DEB) generator ##end ##module # - The builtin (binary) CPack Deb generator (Unix only) # CPackDeb may be used to create Deb package using CPack. # CPackDeb is a CPack generator thus it uses the CPACK_XXX variables # used by CPack : http://www.cmake.org/Wiki/CMake:CPackConfiguration. # CPackDeb generator should work on any linux host but it will # produce better deb package when Debian specific tools 'dpkg-xxx' # are usable on the build system. # # CPackDeb has specific features which are controlled by # the specifics CPACK_DEBIAN_XXX variables.You'll find a detailed usage on # the wiki: # http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29 # However as a handy reminder here comes the list of specific variables: ##end # ##variable # CPACK_DEBIAN_PACKAGE_NAME # Mandatory : YES # Default : CPACK_PACKAGE_NAME (lower case) # The debian package summary ##end ##variable # CPACK_DEBIAN_PACKAGE_VERSION # Mandatory : YES # Default : CPACK_PACKAGE_VERSION # The debian package version ##end ##variable # CPACK_DEBIAN_PACKAGE_ARCHITECTURE # Mandatory : YES # Default : Output of dpkg --print-architecture (or i386 if dpkg is not found) # The debian package architecture ##end ##variable # CPACK_DEBIAN_PACKAGE_DEPENDS # Mandatory : NO # Default : - # May be used to set deb dependencies. ##end ##variable # CPACK_DEBIAN_PACKAGE_MAINTAINER # Mandatory : YES # Default : CPACK_PACKAGE_CONTACT # The debian package maintainer ##end ##variable # CPACK_DEBIAN_PACKAGE_DESCRIPTION # Mandatory : YES # Default : CPACK_PACKAGE_DESCRIPTION_SUMMARY # The debian package description ##end ##variable # CPACK_DEBIAN_PACKAGE_SECTION # Mandatory : YES # Default : 'devel' # The debian package section ##end ##variable # CPACK_DEBIAN_PACKAGE_PRIORITY # Mandatory : YES # Default : 'optional' # The debian package priority ##end ##variable # CPACK_DEBIAN_PACKAGE_HOMEPAGE # Mandatory : NO # Default : - # The URL of the web site for this package, preferably (when applicable) the # site from which the original source can be obtained and any additional # upstream documentation or information may be found. # The content of this field is a simple URL without any surrounding # characters such as <>. ##end ##variable # CPACK_DEBIAN_PACKAGE_SHLIBDEPS # Mandatory : NO # Default : OFF # May be set to ON in order to use dpkg-shlibdeps to generate # better package dependency list. # You may need set CMAKE_INSTALL_RPATH toi appropriate value # if you use this feature, because if you don't dpkg-shlibdeps # may fail to find your own shared libs. # See http://www.cmake.org/Wiki/CMake_RPATH_handling. ##end ##variable # CPACK_DEBIAN_PACKAGE_DEBUG # Mandatory : NO # Default : - # May be set when invoking cpack in order to trace debug information # during CPackDeb run. ##end ##variable # CPACK_DEBIAN_PACKAGE_PREDEPENDS # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # This field is like Depends, except that it also forces dpkg to complete installation of # the packages named before even starting the installation of the package which declares # the pre-dependency. ##end ##variable # CPACK_DEBIAN_PACKAGE_ENHANCES # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # This field is similar to Suggests but works in the opposite direction. # It is used to declare that a package can enhance the functionality of another package. ##end ##variable # CPACK_DEBIAN_PACKAGE_BREAKS # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # When one binary package declares that it breaks another, dpkg will refuse to allow the # package which declares Breaks be installed unless the broken package is deconfigured first, # and it will refuse to allow the broken package to be reconfigured. ##end ##variable # CPACK_DEBIAN_PACKAGE_CONFLICTS # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # When one binary package declares a conflict with another using a Conflicts field, # dpkg will refuse to allow them to be installed on the system at the same time. ##end ##variable # CPACK_DEBIAN_PACKAGE_PROVIDES # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # A virtual package is one which appears in the Provides control field of another package. ##end ##variable # CPACK_DEBIAN_PACKAGE_REPLACES # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # Packages can declare in their control file that they should overwrite # files in certain other packages, or completely replace other packages. ##end ##variable # CPACK_DEBIAN_PACKAGE_RECOMMENDS # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # Allows packages to declare a strong, but not absolute, dependency on other packages. ##end ##variable # CPACK_DEBIAN_PACKAGE_SUGGESTS # Mandatory : NO # Default : - # see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps # Allows packages to declare a suggested package install grouping. ##end ##variable # CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA # Mandatory : NO # Default : - # This variable allow advanced user to add custom script to the control.tar.gz # Typical usage is for conffiles, postinst, postrm, prerm. # Usage: set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA # "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm") ##end #============================================================================= # Copyright 2007-2009 Kitware, Inc. # Copyright 2007-2009 Mathieu Malaterre # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # CPack script for creating Debian package # Author: Mathieu Malaterre # # http://wiki.debian.org/HowToPackageForDebian if(CMAKE_BINARY_DIR) message(FATAL_ERROR "CPackDeb.cmake may only be used by CPack internally.") endif() if(NOT UNIX) message(FATAL_ERROR "CPackDeb.cmake may only be used under UNIX.") endif() # CPACK_DEBIAN_PACKAGE_SHLIBDEPS # If specify OFF, only user depends are used if(NOT DEFINED CPACK_DEBIAN_PACKAGE_SHLIBDEPS) set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS OFF) endif() find_program(FAKEROOT_EXECUTABLE fakeroot) if(FAKEROOT_EXECUTABLE) set(CPACK_DEBIAN_FAKEROOT_EXECUTABLE ${FAKEROOT_EXECUTABLE}) endif() if(CPACK_DEBIAN_PACKAGE_SHLIBDEPS) # dpkg-shlibdeps is a Debian utility for generating dependency list find_program(SHLIBDEPS_EXECUTABLE dpkg-shlibdeps) # Check version of the dpkg-shlibdeps tool using CPackRPM method if(SHLIBDEPS_EXECUTABLE) execute_process(COMMAND ${SHLIBDEPS_EXECUTABLE} --version OUTPUT_VARIABLE _TMP_VERSION ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) string(REGEX MATCH "dpkg-shlibdeps version ([0-9]+\\.[0-9]+\\.[0-9]+)" SHLIBDEPS_EXECUTABLE_VERSION ${_TMP_VERSION}) set(SHLIBDEPS_EXECUTABLE_VERSION "${CMAKE_MATCH_1}") if(CPACK_DEBIAN_PACKAGE_DEBUG) message( "CPackDeb Debug: dpkg-shlibdeps version is <${SHLIBDEPS_EXECUTABLE_VERSION}>") endif() # Generating binary list - Get type of all install files execute_process(COMMAND find -type f COMMAND xargs file WORKING_DIRECTORY "${CPACK_TEMPORARY_DIRECTORY}" OUTPUT_VARIABLE CPACK_DEB_INSTALL_FILES) # Convert to CMake list string(REGEX REPLACE "\n" ";" CPACK_DEB_INSTALL_FILES ${CPACK_DEB_INSTALL_FILES}) # Only dynamically linked ELF files are included # Extract only file name infront of ":" foreach ( _FILE ${CPACK_DEB_INSTALL_FILES}) if ( ${_FILE} MATCHES "ELF.*dynamically linked") string(REGEX MATCH "(^.*):" _FILE_NAME ${_FILE}) list(APPEND CPACK_DEB_BINARY_FILES ${CMAKE_MATCH_1}) endif() endforeach() message( "CPackDeb: - Generating dependency list") # Create blank control file for running dpkg-shlibdeps # There might be some other way to invoke dpkg-shlibdeps without creating this file # but standard debian package should not have anything that can collide with this file or directory file(MAKE_DIRECTORY ${CPACK_TEMPORARY_DIRECTORY}/debian) file(WRITE ${CPACK_TEMPORARY_DIRECTORY}/debian/control "") # Execute dpkg-shlibdeps # --ignore-missing-info : allow dpkg-shlibdeps to run even if some libs do not belong to a package # -O : print to STDOUT execute_process(COMMAND ${SHLIBDEPS_EXECUTABLE} --ignore-missing-info -O ${CPACK_DEB_BINARY_FILES} WORKING_DIRECTORY "${CPACK_TEMPORARY_DIRECTORY}" OUTPUT_VARIABLE SHLIBDEPS_OUTPUT RESULT_VARIABLE SHLIBDEPS_RESULT ERROR_VARIABLE SHLIBDEPS_ERROR OUTPUT_STRIP_TRAILING_WHITESPACE ) if(CPACK_DEBIAN_PACKAGE_DEBUG) # dpkg-shlibdeps will throw some warnings if some input files are not binary message( "CPackDeb Debug: dpkg-shlibdeps warnings \n${SHLIBDEPS_ERROR}") endif() if (NOT SHLIBDEPS_RESULT EQUAL 0) message (FATAL_ERROR "CPackDeb: dpkg-shlibdeps: ${SHLIBDEPS_ERROR}") endif () #Get rid of prefix generated by dpkg-shlibdeps string (REGEX REPLACE "^.*Depends=" "" CPACK_DEBIAN_PACKAGE_AUTO_DEPENDS ${SHLIBDEPS_OUTPUT}) if(CPACK_DEBIAN_PACKAGE_DEBUG) message( "CPackDeb Debug: Found dependency: ${CPACK_DEBIAN_PACKAGE_AUTO_DEPENDS}") endif() # Remove blank control file # Might not be safe if package actual contain file or directory named debian file(REMOVE_RECURSE "${CPACK_TEMPORARY_DIRECTORY}/debian") # Append user depend if set if (CPACK_DEBIAN_PACKAGE_DEPENDS) set (CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_AUTO_DEPENDS}, ${CPACK_DEBIAN_PACKAGE_DEPENDS}") else () set (CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_AUTO_DEPENDS}") endif () else () if(CPACK_DEBIAN_PACKAGE_DEBUG) message( "CPackDeb Debug: Using only user-provided depends because dpkg-shlibdeps is not found.") endif() endif() else () if(CPACK_DEBIAN_PACKAGE_DEBUG) message( "CPackDeb Debug: Using only user-provided depends") endif() endif() # Let's define the control file found in debian package: # Binary package: # http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-binarycontrolfiles # DEBIAN/control # debian policy enforce lower case for package name # Package: (mandatory) if(NOT CPACK_DEBIAN_PACKAGE_NAME) string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_DEBIAN_PACKAGE_NAME) endif() # Version: (mandatory) if(NOT CPACK_DEBIAN_PACKAGE_VERSION) if(NOT CPACK_PACKAGE_VERSION) message(FATAL_ERROR "CPackDeb: Debian package requires a package version") endif() set(CPACK_DEBIAN_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION}) endif() # Architecture: (mandatory) if(NOT CPACK_DEBIAN_PACKAGE_ARCHITECTURE) # There is no such thing as i686 architecture on debian, you should use i386 instead # $ dpkg --print-architecture find_program(DPKG_CMD dpkg) if(NOT DPKG_CMD) message(STATUS "CPackDeb: Can not find dpkg in your path, default to i386.") set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE i386) endif() execute_process(COMMAND "${DPKG_CMD}" --print-architecture OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE ) endif() # have a look at get_property(result GLOBAL PROPERTY ENABLED_FEATURES), # this returns the successful find_package() calls, maybe this can help # Depends: # You should set: DEBIAN_PACKAGE_DEPENDS # TODO: automate 'objdump -p | grep NEEDED' if(NOT CPACK_DEBIAN_PACKAGE_DEPENDS) message(STATUS "CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies.") endif() # Maintainer: (mandatory) if(NOT CPACK_DEBIAN_PACKAGE_MAINTAINER) if(NOT CPACK_PACKAGE_CONTACT) message(FATAL_ERROR "CPackDeb: Debian package requires a maintainer for a package, set CPACK_PACKAGE_CONTACT or CPACK_DEBIAN_PACKAGE_MAINTAINER") endif() set(CPACK_DEBIAN_PACKAGE_MAINTAINER ${CPACK_PACKAGE_CONTACT}) endif() # Description: (mandatory) if(NOT CPACK_DEBIAN_PACKAGE_DESCRIPTION) if(NOT CPACK_PACKAGE_DESCRIPTION_SUMMARY) message(FATAL_ERROR "CPackDeb: Debian package requires a summary for a package, set CPACK_PACKAGE_DESCRIPTION_SUMMARY or CPACK_DEBIAN_PACKAGE_DESCRIPTION") endif() set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION_SUMMARY}) endif() # Section: (recommended) if(NOT CPACK_DEBIAN_PACKAGE_SECTION) set(CPACK_DEBIAN_PACKAGE_SECTION "devel") endif() # Priority: (recommended) if(NOT CPACK_DEBIAN_PACKAGE_PRIORITY) set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional") endif() # Recommends: # You should set: CPACK_DEBIAN_PACKAGE_RECOMMENDS # Suggests: # You should set: CPACK_DEBIAN_PACKAGE_SUGGESTS # CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA # This variable allow advanced user to add custom script to the control.tar.gz (inside the .deb archive) # Typical examples are: # - conffiles # - postinst # - postrm # - prerm" # Usage: # set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA # "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm") # Are we packaging components ? if(CPACK_DEB_PACKAGE_COMPONENT) set(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "-${CPACK_DEB_PACKAGE_COMPONENT}") string(TOLOWER "${CPACK_PACKAGE_NAME}${CPACK_DEB_PACKAGE_COMPONENT_PART_NAME}" CPACK_DEBIAN_PACKAGE_NAME) else() set(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "") endif() set(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}${CPACK_DEB_PACKAGE_COMPONENT_PART_PATH}") # Print out some debug information if we were asked for that if(CPACK_DEBIAN_PACKAGE_DEBUG) message("CPackDeb:Debug: CPACK_TOPLEVEL_DIRECTORY = ${CPACK_TOPLEVEL_DIRECTORY}") message("CPackDeb:Debug: CPACK_TOPLEVEL_TAG = ${CPACK_TOPLEVEL_TAG}") message("CPackDeb:Debug: CPACK_TEMPORARY_DIRECTORY = ${CPACK_TEMPORARY_DIRECTORY}") message("CPackDeb:Debug: CPACK_OUTPUT_FILE_NAME = ${CPACK_OUTPUT_FILE_NAME}") message("CPackDeb:Debug: CPACK_OUTPUT_FILE_PATH = ${CPACK_OUTPUT_FILE_PATH}") message("CPackDeb:Debug: CPACK_PACKAGE_FILE_NAME = ${CPACK_PACKAGE_FILE_NAME}") message("CPackDeb:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY = ${CPACK_PACKAGE_INSTALL_DIRECTORY}") message("CPackDeb:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME = ${CPACK_TEMPORARY_PACKAGE_FILE_NAME}") endif() # For debian source packages: # debian/control # http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-sourcecontrolfiles # .dsc # http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-debiansourcecontrolfiles # Builds-Depends: #if(NOT CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS) # set(CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS # "debhelper (>> 5.0.0), libncurses5-dev, tcl8.4" # ) #endif() cmake-2.8.12.2/Modules/CPackDMG.cmake000644 000765 000024 00000005241 12266011634 017563 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack DragNDrop generator ##end ##module # - DragNDrop CPack generator (Mac OS X). # The following variables are specific to the DragNDrop installers # built on Mac OS X: ##end # ##variable # CPACK_DMG_VOLUME_NAME - The volume name of the generated disk # image. Defaults to CPACK_PACKAGE_FILE_NAME. ##end # ##variable # CPACK_DMG_FORMAT - The disk image format. Common values are UDRO # (UDIF read-only), UDZO (UDIF zlib-compressed) or UDBZ (UDIF # bzip2-compressed). Refer to hdiutil(1) for more information on # other available formats. ##end # ##variable # CPACK_DMG_DS_STORE - Path to a custom DS_Store file. This .DS_Store # file e.g. can be used to specify the Finder window # position/geometry and layout (such as hidden toolbars, placement of the # icons etc.). This file has to be generated by the Finder (either manually or # through OSA-script) using a normal folder from which the .DS_Store # file can then be extracted. ##end # ##variable # CPACK_DMG_BACKGROUND_IMAGE - Path to a background image file. This # file will be used as the background for the Finder Window when the disk # image is opened. By default no background image is set. The background # image is applied after applying the custom .DS_Store file. ##end # ##variable # CPACK_COMMAND_HDIUTIL - Path to the hdiutil(1) command used to # operate on disk image files on Mac OS X. This variable can be used # to override the automatically detected command (or specify its # location if the auto-detection fails to find it.) ##end # ##variable # CPACK_COMMAND_SETFILE - Path to the SetFile(1) command used to set # extended attributes on files and directories on Mac OS X. This # variable can be used to override the automatically detected # command (or specify its location if the auto-detection fails to # find it.) ##end # ##variable # CPACK_COMMAND_REZ - Path to the Rez(1) command used to compile # resources on Mac OS X. This variable can be used to override the # automatically detected command (or specify its location if the # auto-detection fails to find it.) ##end #============================================================================= # Copyright 2006-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) cmake-2.8.12.2/Modules/CPackNSIS.cmake000644 000765 000024 00000011113 12266011634 017723 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack NSIS generator ##end ##module # - CPack NSIS generator specific options # # The following variables are specific to the graphical installers built # on Windows using the Nullsoft Installation System. ##end # ##variable # CPACK_NSIS_INSTALL_ROOT - The default installation directory presented # to the end user by the NSIS installer is under this root dir. The full # directory presented to the end user is: # ${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY} ##end # ##variable # CPACK_NSIS_MUI_ICON - An icon filename. # The name of a *.ico file used as the main icon for the generated # install program. ##end # ##variable # CPACK_NSIS_MUI_UNIICON - An icon filename. # The name of a *.ico file used as the main icon for the generated # uninstall program. ##end # ##variable # CPACK_NSIS_INSTALLER_MUI_ICON_CODE - undocumented. ##end # ##variable # CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS - Extra NSIS commands that # will be added to the beginning of the install Section, before your # install tree is available on the target system. ##end # ##variable # CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra NSIS commands that # will be added to the end of the install Section, after your # install tree is available on the target system. ##end # ##variable # CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra NSIS commands that will # be added to the uninstall Section, before your install tree is # removed from the target system. ##end # ##variable # CPACK_NSIS_COMPRESSOR - The arguments that will be passed to the # NSIS SetCompressor command. ##end # ##variable # CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL - Ask about uninstalling # previous versions first. # If this is set to "ON", then an installer will look for previous # installed versions and if one is found, ask the user whether to # uninstall it before proceeding with the install. ##end # ##variable # CPACK_NSIS_MODIFY_PATH - Modify PATH toggle. # If this is set to "ON", then an extra page # will appear in the installer that will allow the user to choose # whether the program directory should be added to the system PATH # variable. ##end # ##variable # CPACK_NSIS_DISPLAY_NAME - The display name string that appears in # the Windows Add/Remove Program control panel ##end # ##variable # CPACK_NSIS_PACKAGE_NAME - The title displayed at the top of the # installer. ##end # ##variable # CPACK_NSIS_INSTALLED_ICON_NAME - A path to the executable that # contains the installer icon. ##end # ##variable # CPACK_NSIS_HELP_LINK - URL to a web site providing assistance in # installing your application. ##end # ##variable # CPACK_NSIS_URL_INFO_ABOUT - URL to a web site providing more # information about your application. ##end # ##variable # CPACK_NSIS_CONTACT - Contact information for questions and comments # about the installation process. ##end # ##variable # CPACK_NSIS_CREATE_ICONS_EXTRA - Additional NSIS commands for # creating start menu shortcuts. ##end # ##variable # CPACK_NSIS_DELETE_ICONS_EXTRA -Additional NSIS commands to # uninstall start menu shortcuts. ##end # ##variable # CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links # assumes that they are in 'bin' unless this variable is set. # For example, you would set this to 'exec' if your executables are # in an exec directory. ##end # ##variable # CPACK_NSIS_MUI_FINISHPAGE_RUN - Specify an executable to add an option # to run on the finish page of the NSIS installer. ##end ##variable # CPACK_NSIS_MENU_LINKS - Specify links in [application] menu. # This should contain a list of pair "link" "link name". The link # may be an URL or a path relative to installation prefix. # Like: # set(CPACK_NSIS_MENU_LINKS # "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help" # "http://www.cmake.org" "CMake Web Site") ##end #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) #FIXME we should put NSIS specific code here #FIXME but I'm not doing it because I'm not able to test it... cmake-2.8.12.2/Modules/CPackPackageMaker.cmake000644 000765 000024 00000003072 12266011634 021467 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack PackageMaker generator ##end ##module # - PackageMaker CPack generator (Mac OS X). # The following variable is specific to installers built on Mac OS X # using PackageMaker: ##end # ##variable # CPACK_OSX_PACKAGE_VERSION - The version of Mac OS X that the # resulting PackageMaker archive should be compatible with. Different # versions of Mac OS X support different # features. For example, CPack can only build component-based # installers for Mac OS X 10.4 or newer, and can only build # installers that download component son-the-fly for Mac OS X 10.5 # or newer. If left blank, this value will be set to the minimum # version of Mac OS X that supports the requested features. Set this # variable to some value (e.g., 10.4) only if you want to guarantee # that your installer will work on that version of Mac OS X, and # don't mind missing extra features available in the installer # shipping with later versions of Mac OS X. ##end #============================================================================= # Copyright 2006-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) cmake-2.8.12.2/Modules/CPackRPM.cmake000644 000765 000024 00000124010 12266011634 017606 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack RPM generator ##end ##module # - The builtin (binary) CPack RPM generator (Unix only) # CPackRPM may be used to create RPM package using CPack. # CPackRPM is a CPack generator thus it uses the CPACK_XXX variables # used by CPack : http://www.cmake.org/Wiki/CMake:CPackConfiguration # # However CPackRPM has specific features which are controlled by # the specifics CPACK_RPM_XXX variables. CPackRPM is a component aware # generator so when CPACK_RPM_COMPONENT_INSTALL is ON some more # CPACK_RPM__XXXX variables may be used in order # to have component specific values. Note however that # refers to the **grouping name**. This may be either a component name # or a component GROUP name. # Usually those vars correspond to RPM spec file entities, one may find # information about spec files here http://www.rpm.org/wiki/Docs. # You'll find a detailed usage of CPackRPM on the wiki: # http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 # However as a handy reminder here comes the list of specific variables: ##end # ##variable # CPACK_RPM_PACKAGE_SUMMARY - The RPM package summary. # Mandatory : YES # Default : CPACK_PACKAGE_DESCRIPTION_SUMMARY ##end ##variable # CPACK_RPM_PACKAGE_NAME - The RPM package name. # Mandatory : YES # Default : CPACK_PACKAGE_NAME ##end ##variable # CPACK_RPM_PACKAGE_VERSION - The RPM package version. # Mandatory : YES # Default : CPACK_PACKAGE_VERSION ##end ##variable # CPACK_RPM_PACKAGE_ARCHITECTURE - The RPM package architecture. # Mandatory : NO # Default : - # This may be set to "noarch" if you # know you are building a noarch package. ##end ##variable # CPACK_RPM_PACKAGE_RELEASE - The RPM package release. # Mandatory : YES # Default : 1 # This is the numbering of the RPM package # itself, i.e. the version of the packaging and not the version of the # content (see CPACK_RPM_PACKAGE_VERSION). One may change the default # value if the previous packaging was buggy and/or you want to put here # a fancy Linux distro specific numbering. ##end ##variable # CPACK_RPM_PACKAGE_LICENSE - The RPM package license policy. # Mandatory : YES # Default : "unknown" ##end ##variable # CPACK_RPM_PACKAGE_GROUP - The RPM package group. # Mandatory : YES # Default : "unknown" ##end ##variable # CPACK_RPM_PACKAGE_VENDOR - The RPM package vendor. # Mandatory : YES # Default : CPACK_PACKAGE_VENDOR if set or "unknown" ##end ##variable # CPACK_RPM_PACKAGE_URL - The projects URL. # Mandatory : NO # Default : - ##end ##variable # CPACK_RPM_PACKAGE_DESCRIPTION - RPM package description. # Mandatory : YES # Default : CPACK_PACKAGE_DESCRIPTION_FILE if set or "no package description available" ##end ##variable # CPACK_RPM_COMPRESSION_TYPE - RPM compression type. # Mandatory : NO # Default : - # May be used to override RPM compression type to be used # to build the RPM. For example some Linux distribution now default # to lzma or xz compression whereas older cannot use such RPM. # Using this one can enforce compression type to be used. # Possible value are: lzma, xz, bzip2 and gzip. ##end ##variable # CPACK_RPM_PACKAGE_REQUIRES - RPM spec requires field. # Mandatory : NO # Default : - # May be used to set RPM dependencies (requires). # Note that you must enclose the complete requires string between quotes, # for example: # set(CPACK_RPM_PACKAGE_REQUIRES "python >= 2.5.0, cmake >= 2.8") # The required package list of an RPM file could be printed with # rpm -qp --requires file.rpm ##end ##variable # CPACK_RPM_PACKAGE_SUGGESTS - RPM spec suggest field. # Mandatory : NO # Default : - # May be used to set weak RPM dependencies (suggests). # Note that you must enclose the complete requires string between quotes. ##end ##variable # CPACK_RPM_PACKAGE_PROVIDES - RPM spec provides field. # Mandatory : NO # Default : - # May be used to set RPM dependencies (provides). # The provided package list of an RPM file could be printed with # rpm -qp --provides file.rpm ##end ##variable # CPACK_RPM_PACKAGE_OBSOLETES - RPM spec obsoletes field. # Mandatory : NO # Default : - # May be used to set RPM packages that are obsoleted by this one. ##end ##variable # CPACK_RPM_PACKAGE_RELOCATABLE - build a relocatable RPM. # Mandatory : NO # Default : CPACK_PACKAGE_RELOCATABLE # If this variable is set to TRUE or ON CPackRPM will try # to build a relocatable RPM package. A relocatable RPM may # be installed using rpm --prefix or --relocate in order to # install it at an alternate place see rpm(8). # Note that currently this may fail if CPACK_SET_DESTDIR is set to ON. # If CPACK_SET_DESTDIR is set then you will get a warning message # but if there is file installed with absolute path you'll get # unexpected behavior. ##end ##variable # CPACK_RPM_SPEC_INSTALL_POST - [deprecated]. # Mandatory : NO # Default : - # This way of specifying post-install script is deprecated use # CPACK_RPM_POST_INSTALL_SCRIPT_FILE # May be used to set an RPM post-install command inside the spec file. # For example setting it to "/bin/true" may be used to prevent # rpmbuild to strip binaries. ##end ##variable # CPACK_RPM_SPEC_MORE_DEFINE - RPM extended spec definitions lines. # Mandatory : NO # Default : - # May be used to add any %define lines to the generated spec file. ##end ##variable # CPACK_RPM_PACKAGE_DEBUG - Toggle CPackRPM debug output. # Mandatory : NO # Default : - # May be set when invoking cpack in order to trace debug information # during CPack RPM run. For example you may launch CPack like this # cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM ##end ##variable # CPACK_RPM_USER_BINARY_SPECFILE - A user provided spec file. # Mandatory : NO # Default : - # May be set by the user in order to specify a USER binary spec file # to be used by CPackRPM instead of generating the file. # The specified file will be processed by configure_file( @ONLY). # One can provide a component specific file by setting # CPACK_RPM__USER_BINARY_SPECFILE. ##end ##variable # CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE - Spec file template. # Mandatory : NO # Default : - # If set CPack will generate a template for USER specified binary # spec file and stop with an error. For example launch CPack like this # cpack -D CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 -G RPM # The user may then use this file in order to hand-craft is own # binary spec file which may be used with CPACK_RPM_USER_BINARY_SPECFILE. ##end ##variable # CPACK_RPM_PRE_INSTALL_SCRIPT_FILE # CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE # Mandatory : NO # Default : - # May be used to embed a pre (un)installation script in the spec file. # The refered script file(s) will be read and directly # put after the %pre or %preun section # If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for # each component can be overridden with # CPACK_RPM__PRE_INSTALL_SCRIPT_FILE and # CPACK_RPM__PRE_UNINSTALL_SCRIPT_FILE # One may verify which scriptlet has been included with # rpm -qp --scripts package.rpm ##end ##variable # CPACK_RPM_POST_INSTALL_SCRIPT_FILE # CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE # Mandatory : NO # Default : - # May be used to embed a post (un)installation script in the spec file. # The refered script file(s) will be read and directly # put after the %post or %postun section # If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for # each component can be overridden with # CPACK_RPM__POST_INSTALL_SCRIPT_FILE and # CPACK_RPM__POST_UNINSTALL_SCRIPT_FILE # One may verify which scriptlet has been included with # rpm -qp --scripts package.rpm ##end ##variable # CPACK_RPM_USER_FILELIST # CPACK_RPM__USER_FILELIST # Mandatory : NO # Default : - # May be used to explicitly specify %() file line # in the spec file. Like %config(noreplace) or any other directive # that be found in the %files section. Since CPackRPM is generating # the list of files (and directories) the user specified files of # the CPACK_RPM__USER_FILELIST list will be removed from the generated list. ##end ##variable # CPACK_RPM_CHANGELOG_FILE - RPM changelog file. # Mandatory : NO # Default : - # May be used to embed a changelog in the spec file. # The refered file will be read and directly put after the %changelog # section. ##end ##variable # CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST - list of path to be excluded. # Mandatory : NO # Default : /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/include # May be used to exclude path (directories or files) from the auto-generated # list of paths discovered by CPack RPM. The defaut value contains a reasonable # set of values if the variable is not defined by the user. If the variable # is defined by the user then CPackRPM will NOT any of the default path. # If you want to add some path to the default list then you can use # CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION variable. ##end ##variable # CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION - additional list of path to be excluded. # Mandatory : NO # Default : - # May be used to add more exclude path (directories or files) from the initial # default list of excluded paths. See CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST. ##end #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Author: Eric Noulard with the help of Alexander Neundorf. if(CMAKE_BINARY_DIR) message(FATAL_ERROR "CPackRPM.cmake may only be used by CPack internally.") endif() if(NOT UNIX) message(FATAL_ERROR "CPackRPM.cmake may only be used under UNIX.") endif() # rpmbuild is the basic command for building RPM package # it may be a simple (symbolic) link to rpm command. find_program(RPMBUILD_EXECUTABLE rpmbuild) # Check version of the rpmbuild tool this would be easier to # track bugs with users and CPackRPM debug mode. # We may use RPM version in order to check for available version dependent features if(RPMBUILD_EXECUTABLE) execute_process(COMMAND ${RPMBUILD_EXECUTABLE} --version OUTPUT_VARIABLE _TMP_VERSION ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) string(REGEX REPLACE "^.* " "" RPMBUILD_EXECUTABLE_VERSION ${_TMP_VERSION}) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: rpmbuild version is <${RPMBUILD_EXECUTABLE_VERSION}>") endif() endif() if(NOT RPMBUILD_EXECUTABLE) message(FATAL_ERROR "RPM package requires rpmbuild executable") endif() # Display lsb_release output if DEBUG mode enable # This will help to diagnose problem with CPackRPM # because we will know on which kind of Linux we are if(CPACK_RPM_PACKAGE_DEBUG) find_program(LSB_RELEASE_EXECUTABLE lsb_release) if(LSB_RELEASE_EXECUTABLE) execute_process(COMMAND ${LSB_RELEASE_EXECUTABLE} -a OUTPUT_VARIABLE _TMP_LSB_RELEASE_OUTPUT ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) string(REGEX REPLACE "\n" ", " LSB_RELEASE_OUTPUT ${_TMP_LSB_RELEASE_OUTPUT}) else () set(LSB_RELEASE_OUTPUT "lsb_release not installed/found!") endif() message("CPackRPM:Debug: LSB_RELEASE = ${LSB_RELEASE_OUTPUT}") endif() # We may use RPM version in the future in order # to shut down warning about space in buildtree # some recent RPM version should support space in different places. # not checked [yet]. if(CPACK_TOPLEVEL_DIRECTORY MATCHES ".* .*") message(FATAL_ERROR "${RPMBUILD_EXECUTABLE} can't handle paths with spaces, use a build directory without spaces for building RPMs.") endif() # If rpmbuild is found # we try to discover alien since we may be on non RPM distro like Debian. # In this case we may try to to use more advanced features # like generating RPM directly from DEB using alien. # FIXME feature not finished (yet) find_program(ALIEN_EXECUTABLE alien) if(ALIEN_EXECUTABLE) message(STATUS "alien found, we may be on a Debian based distro.") endif() # Are we packaging components ? if(CPACK_RPM_PACKAGE_COMPONENT) set(CPACK_RPM_PACKAGE_COMPONENT_PART_NAME "-${CPACK_RPM_PACKAGE_COMPONENT}") else() set(CPACK_RPM_PACKAGE_COMPONENT_PART_NAME "") endif() set(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}${CPACK_RPM_PACKAGE_COMPONENT_PART_PATH}") # # Use user-defined RPM specific variables value # or generate reasonable default value from # CPACK_xxx generic values. # The variables comes from the needed (mandatory or not) # values found in the RPM specification file aka ".spec" file. # The variables which may/should be defined are: # # CPACK_RPM_PACKAGE_SUMMARY (mandatory) if(NOT CPACK_RPM_PACKAGE_SUMMARY) # if neither var is defined lets use the name as summary if(NOT CPACK_PACKAGE_DESCRIPTION_SUMMARY) string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_RPM_PACKAGE_SUMMARY) else() set(CPACK_RPM_PACKAGE_SUMMARY ${CPACK_PACKAGE_DESCRIPTION_SUMMARY}) endif() endif() # CPACK_RPM_PACKAGE_NAME (mandatory) if(NOT CPACK_RPM_PACKAGE_NAME) string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_RPM_PACKAGE_NAME) endif() # CPACK_RPM_PACKAGE_VERSION (mandatory) if(NOT CPACK_RPM_PACKAGE_VERSION) if(NOT CPACK_PACKAGE_VERSION) message(FATAL_ERROR "RPM package requires a package version") endif() set(CPACK_RPM_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION}) endif() # Replace '-' in version with '_' # '-' character is an Illegal RPM version character # it is illegal because it is used to separate # RPM "Version" from RPM "Release" string(REPLACE "-" "_" CPACK_RPM_PACKAGE_VERSION ${CPACK_RPM_PACKAGE_VERSION}) # CPACK_RPM_PACKAGE_ARCHITECTURE (optional) if(CPACK_RPM_PACKAGE_ARCHITECTURE) set(TMP_RPM_BUILDARCH "Buildarch: ${CPACK_RPM_PACKAGE_ARCHITECTURE}") if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: using user-specified build arch = ${CPACK_RPM_PACKAGE_ARCHITECTURE}") endif() else() set(TMP_RPM_BUILDARCH "") endif() # CPACK_RPM_PACKAGE_RELEASE # The RPM release is the numbering of the RPM package ITSELF # this is the version of the PACKAGING and NOT the version # of the CONTENT of the package. # You may well need to generate a new RPM package release # without changing the version of the packaged software. # This is the case when the packaging is buggy (not) the software :=) # If not set, 1 is a good candidate if(NOT CPACK_RPM_PACKAGE_RELEASE) set(CPACK_RPM_PACKAGE_RELEASE 1) endif() # CPACK_RPM_PACKAGE_LICENSE if(NOT CPACK_RPM_PACKAGE_LICENSE) set(CPACK_RPM_PACKAGE_LICENSE "unknown") endif() # CPACK_RPM_PACKAGE_GROUP if(NOT CPACK_RPM_PACKAGE_GROUP) set(CPACK_RPM_PACKAGE_GROUP "unknown") endif() # CPACK_RPM_PACKAGE_VENDOR if(NOT CPACK_RPM_PACKAGE_VENDOR) if(CPACK_PACKAGE_VENDOR) set(CPACK_RPM_PACKAGE_VENDOR "${CPACK_PACKAGE_VENDOR}") else() set(CPACK_RPM_PACKAGE_VENDOR "unknown") endif() endif() # CPACK_RPM_PACKAGE_SOURCE # The name of the source tarball in case we generate a source RPM # CPACK_RPM_PACKAGE_DESCRIPTION # The variable content may be either # - explicitly given by the user or # - filled with the content of CPACK_PACKAGE_DESCRIPTION_FILE # if it is defined # - set to a default value # if (NOT CPACK_RPM_PACKAGE_DESCRIPTION) if (CPACK_PACKAGE_DESCRIPTION_FILE) file(READ ${CPACK_PACKAGE_DESCRIPTION_FILE} CPACK_RPM_PACKAGE_DESCRIPTION) else () set(CPACK_RPM_PACKAGE_DESCRIPTION "no package description available") endif () endif () # CPACK_RPM_COMPRESSION_TYPE # if (CPACK_RPM_COMPRESSION_TYPE) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: User Specified RPM compression type: ${CPACK_RPM_COMPRESSION_TYPE}") endif() if(CPACK_RPM_COMPRESSION_TYPE STREQUAL "lzma") set(CPACK_RPM_COMPRESSION_TYPE_TMP "%define _binary_payload w9.lzdio") endif() if(CPACK_RPM_COMPRESSION_TYPE STREQUAL "xz") set(CPACK_RPM_COMPRESSION_TYPE_TMP "%define _binary_payload w7.xzdio") endif() if(CPACK_RPM_COMPRESSION_TYPE STREQUAL "bzip2") set(CPACK_RPM_COMPRESSION_TYPE_TMP "%define _binary_payload w9.bzdio") endif() if(CPACK_RPM_COMPRESSION_TYPE STREQUAL "gzip") set(CPACK_RPM_COMPRESSION_TYPE_TMP "%define _binary_payload w9.gzdio") endif() else() set(CPACK_RPM_COMPRESSION_TYPE_TMP "") endif() if(CPACK_PACKAGE_RELOCATABLE) set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE) endif() if(CPACK_RPM_PACKAGE_RELOCATABLE) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Trying to build a relocatable package") endif() if(CPACK_SET_DESTDIR AND (NOT CPACK_SET_DESTDIR STREQUAL "I_ON")) message("CPackRPM:Warning: CPACK_SET_DESTDIR is set (=${CPACK_SET_DESTDIR}) while requesting a relocatable package (CPACK_RPM_PACKAGE_RELOCATABLE is set): this is not supported, the package won't be relocatable.") else() set(CPACK_RPM_PACKAGE_PREFIX ${CPACK_PACKAGING_INSTALL_PREFIX}) endif() endif() # Check if additional fields for RPM spec header are given # There may be some COMPONENT specific variables as well # If component specific var is not provided we use the global one # for each component foreach(_RPM_SPEC_HEADER URL REQUIRES SUGGESTS PROVIDES OBSOLETES PREFIX CONFLICTS AUTOPROV AUTOREQ AUTOREQPROV) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: processing ${_RPM_SPEC_HEADER}") endif() if(CPACK_RPM_PACKAGE_COMPONENT) if(DEFINED CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${_RPM_SPEC_HEADER}) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: using CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${_RPM_SPEC_HEADER}") endif() set(CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${_RPM_SPEC_HEADER}}) else() if(DEFINED CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PACKAGE_${_RPM_SPEC_HEADER} not defined") message("CPackRPM:Debug: using CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}") endif() set(CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP ${CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}}) endif() endif() else() if(DEFINED CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: using CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}") endif() set(CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP ${CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}}) endif() endif() # Treat the RPM Spec keyword iff it has been properly defined if(DEFINED CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP) # Transform NAME --> Name e.g. PROVIDES --> Provides # The Upper-case first letter and lowercase tail is the # appropriate value required in the final RPM spec file. string(LENGTH ${_RPM_SPEC_HEADER} _PACKAGE_HEADER_STRLENGTH) math(EXPR _PACKAGE_HEADER_STRLENGTH "${_PACKAGE_HEADER_STRLENGTH} - 1") string(SUBSTRING ${_RPM_SPEC_HEADER} 1 ${_PACKAGE_HEADER_STRLENGTH} _PACKAGE_HEADER_TAIL) string(TOLOWER "${_PACKAGE_HEADER_TAIL}" _PACKAGE_HEADER_TAIL) string(SUBSTRING ${_RPM_SPEC_HEADER} 0 1 _PACKAGE_HEADER_NAME) set(_PACKAGE_HEADER_NAME "${_PACKAGE_HEADER_NAME}${_PACKAGE_HEADER_TAIL}") if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: User defined ${_PACKAGE_HEADER_NAME}:\n ${CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP}") endif() set(TMP_RPM_${_RPM_SPEC_HEADER} "${_PACKAGE_HEADER_NAME}: ${CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER}_TMP}") else() # Do not forget to unset previously set header (from previous component) unset(TMP_RPM_${_RPM_SPEC_HEADER}) endif() endforeach() # CPACK_RPM_SPEC_INSTALL_POST # May be used to define a RPM post intallation script # for example setting it to "/bin/true" may prevent # rpmbuild from stripping binaries. if(CPACK_RPM_SPEC_INSTALL_POST) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: User defined CPACK_RPM_SPEC_INSTALL_POST = ${CPACK_RPM_SPEC_INSTALL_POST}") endif() set(TMP_RPM_SPEC_INSTALL_POST "%define __spec_install_post ${CPACK_RPM_SPEC_INSTALL_POST}") endif() # CPACK_RPM_POST_INSTALL_SCRIPT_FILE (or CPACK_RPM__POST_INSTALL_SCRIPT_FILE) # CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE (or CPACK_RPM__POST_UNINSTALL_SCRIPT_FILE) # May be used to embed a post (un)installation script in the spec file. # The refered script file(s) will be read and directly # put after the %post or %postun section if(CPACK_RPM_PACKAGE_COMPONENT) if(CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_POST_INSTALL_SCRIPT_FILE) set(CPACK_RPM_POST_INSTALL_READ_FILE ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_POST_INSTALL_SCRIPT_FILE}) else() set(CPACK_RPM_POST_INSTALL_READ_FILE ${CPACK_RPM_POST_INSTALL_SCRIPT_FILE}) endif() if(CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_POST_UNINSTALL_SCRIPT_FILE) set(CPACK_RPM_POST_UNINSTALL_READ_FILE ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_POST_UNINSTALL_SCRIPT_FILE}) else() set(CPACK_RPM_POST_UNINSTALL_READ_FILE ${CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE}) endif() else() set(CPACK_RPM_POST_INSTALL_READ_FILE ${CPACK_RPM_POST_INSTALL_SCRIPT_FILE}) set(CPACK_RPM_POST_UNINSTALL_READ_FILE ${CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE}) endif() # Handle post-install file if it has been specified if(CPACK_RPM_POST_INSTALL_READ_FILE) if(EXISTS ${CPACK_RPM_POST_INSTALL_READ_FILE}) file(READ ${CPACK_RPM_POST_INSTALL_READ_FILE} CPACK_RPM_SPEC_POSTINSTALL) else() message("CPackRPM:Warning: CPACK_RPM_POST_INSTALL_SCRIPT_FILE <${CPACK_RPM_POST_INSTALL_READ_FILE}> does not exists - ignoring") endif() else() # reset SPEC var value if no post install file has been specified # (either globally or component-wise) set(CPACK_RPM_SPEC_POSTINSTALL "") endif() # Handle post-uninstall file if it has been specified if(CPACK_RPM_POST_UNINSTALL_READ_FILE) if(EXISTS ${CPACK_RPM_POST_UNINSTALL_READ_FILE}) file(READ ${CPACK_RPM_POST_UNINSTALL_READ_FILE} CPACK_RPM_SPEC_POSTUNINSTALL) else() message("CPackRPM:Warning: CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE <${CPACK_RPM_POST_UNINSTALL_READ_FILE}> does not exists - ignoring") endif() else() # reset SPEC var value if no post uninstall file has been specified # (either globally or component-wise) set(CPACK_RPM_SPEC_POSTUNINSTALL "") endif() # CPACK_RPM_PRE_INSTALL_SCRIPT_FILE (or CPACK_RPM__PRE_INSTALL_SCRIPT_FILE) # CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE (or CPACK_RPM__PRE_UNINSTALL_SCRIPT_FILE) # May be used to embed a pre (un)installation script in the spec file. # The refered script file(s) will be read and directly # put after the %pre or %preun section if(CPACK_RPM_PACKAGE_COMPONENT) if(CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PRE_INSTALL_SCRIPT_FILE) set(CPACK_RPM_PRE_INSTALL_READ_FILE ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PRE_INSTALL_SCRIPT_FILE}) else() set(CPACK_RPM_PRE_INSTALL_READ_FILE ${CPACK_RPM_PRE_INSTALL_SCRIPT_FILE}) endif() if(CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PRE_UNINSTALL_SCRIPT_FILE) set(CPACK_RPM_PRE_UNINSTALL_READ_FILE ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_PRE_UNINSTALL_SCRIPT_FILE}) else() set(CPACK_RPM_PRE_UNINSTALL_READ_FILE ${CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE}) endif() else() set(CPACK_RPM_PRE_INSTALL_READ_FILE ${CPACK_RPM_PRE_INSTALL_SCRIPT_FILE}) set(CPACK_RPM_PRE_UNINSTALL_READ_FILE ${CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE}) endif() # Handle pre-install file if it has been specified if(CPACK_RPM_PRE_INSTALL_READ_FILE) if(EXISTS ${CPACK_RPM_PRE_INSTALL_READ_FILE}) file(READ ${CPACK_RPM_PRE_INSTALL_READ_FILE} CPACK_RPM_SPEC_PREINSTALL) else() message("CPackRPM:Warning: CPACK_RPM_PRE_INSTALL_SCRIPT_FILE <${CPACK_RPM_PRE_INSTALL_READ_FILE}> does not exists - ignoring") endif() else() # reset SPEC var value if no pre-install file has been specified # (either globally or component-wise) set(CPACK_RPM_SPEC_PREINSTALL "") endif() # Handle pre-uninstall file if it has been specified if(CPACK_RPM_PRE_UNINSTALL_READ_FILE) if(EXISTS ${CPACK_RPM_PRE_UNINSTALL_READ_FILE}) file(READ ${CPACK_RPM_PRE_UNINSTALL_READ_FILE} CPACK_RPM_SPEC_PREUNINSTALL) else() message("CPackRPM:Warning: CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE <${CPACK_RPM_PRE_UNINSTALL_READ_FILE}> does not exists - ignoring") endif() else() # reset SPEC var value if no pre-uninstall file has been specified # (either globally or component-wise) set(CPACK_RPM_SPEC_PREUNINSTALL "") endif() # CPACK_RPM_CHANGELOG_FILE # May be used to embed a changelog in the spec file. # The refered file will be read and directly put after the %changelog section if(CPACK_RPM_CHANGELOG_FILE) if(EXISTS ${CPACK_RPM_CHANGELOG_FILE}) file(READ ${CPACK_RPM_CHANGELOG_FILE} CPACK_RPM_SPEC_CHANGELOG) else() message(SEND_ERROR "CPackRPM:Warning: CPACK_RPM_CHANGELOG_FILE <${CPACK_RPM_CHANGELOG_FILE}> does not exists - ignoring") endif() else() set(CPACK_RPM_SPEC_CHANGELOG "* Sun Jul 4 2010 Eric Noulard - ${CPACK_RPM_PACKAGE_VERSION}-${CPACK_RPM_PACKAGE_RELEASE}\n Generated by CPack RPM (no Changelog file were provided)") endif() # CPACK_RPM_SPEC_MORE_DEFINE # This is a generated spec rpm file spaceholder if(CPACK_RPM_SPEC_MORE_DEFINE) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: User defined more define spec line specified:\n ${CPACK_RPM_SPEC_MORE_DEFINE}") endif() endif() # Now we may create the RPM build tree structure set(CPACK_RPM_ROOTDIR "${CPACK_TOPLEVEL_DIRECTORY}") message(STATUS "CPackRPM:Debug: Using CPACK_RPM_ROOTDIR=${CPACK_RPM_ROOTDIR}") # Prepare RPM build tree file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/tmp) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/BUILD) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/RPMS) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/SOURCES) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/SPECS) file(MAKE_DIRECTORY ${CPACK_RPM_ROOTDIR}/SRPMS) #set(CPACK_RPM_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${CPACK_RPM_PACKAGE_VERSION}-${CPACK_RPM_PACKAGE_RELEASE}-${CPACK_RPM_PACKAGE_ARCHITECTURE}.rpm") set(CPACK_RPM_FILE_NAME "${CPACK_OUTPUT_FILE_NAME}") # it seems rpmbuild can't handle spaces in the path # neither escaping (as below) nor putting quotes around the path seem to help #string(REGEX REPLACE " " "\\\\ " CPACK_RPM_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}") set(CPACK_RPM_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}") # if we are creating a relocatable package, omit parent directories of # CPACK_RPM_PACKAGE_PREFIX. This is achieved by building a "filter list" # which is passed to the find command that generates the content-list if(CPACK_RPM_PACKAGE_RELOCATABLE) # get a list of the elements in CPACK_RPM_PACKAGE_PREFIX and remove # the final element (so the install-prefix dir itself is not omitted # from the RPM's content-list) string(REPLACE "/" ";" _CPACK_RPM_PACKAGE_PREFIX_ELEMS ".${CPACK_RPM_PACKAGE_PREFIX}") list(REMOVE_AT _CPACK_RPM_PACKAGE_PREFIX_ELEMS -1) # Now generate all of the parent dirs of CPACK_RPM_PACKAGE_PREFIX foreach(_ELEM ${_CPACK_RPM_PACKAGE_PREFIX_ELEMS}) list(APPEND _TMP_LIST "${_ELEM}") string(REPLACE ";" "/" _OMIT_DIR "${_TMP_LIST}") set(_OMIT_DIR "-o -path ${_OMIT_DIR}") separate_arguments(_OMIT_DIR) list(APPEND _RPM_DIRS_TO_OMIT ${_OMIT_DIR}) endforeach() endif() if (CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Initial list of path to OMIT in RPM: ${_RPM_DIRS_TO_OMIT}") endif() if (NOT DEFINED CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST) set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/include) if (CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION) message("CPackRPM:Debug: Adding ${CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION} to builtin omit list.") list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST "${CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION}") endif() endif() if(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST) if (CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST= ${CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST}") endif() foreach(_DIR ${CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST}) list(APPEND _RPM_DIRS_TO_OMIT "-o;-path;.${_DIR}") endforeach() endif() if (CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Final list of path to OMIT in RPM: ${_RPM_DIRS_TO_OMIT}") endif() # Use files tree to construct files command (spec file) # We should not forget to include symlinks (thus -o -type l) # We should include directory as well (thus -type d) # but not the main local dir "." (thus -a -not -name ".") # We must remove the './' due to the local search and escape the # file name by enclosing it between double quotes (thus the sed) # Then we must authorize any man pages extension (adding * at the end) # because rpmbuild may automatically compress those files execute_process(COMMAND find . -type f -o -type l -o (-type d -a -not ( -name "." ${_RPM_DIRS_TO_OMIT} ) ) COMMAND sed s:.*/man.*/.*:&*: COMMAND sed s/\\.\\\(.*\\\)/\"\\1\"/ WORKING_DIRECTORY "${WDIR}" OUTPUT_VARIABLE CPACK_RPM_INSTALL_FILES) # In component case, put CPACK_ABSOLUTE_DESTINATION_FILES_ # into CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL # otherwise, put CPACK_ABSOLUTE_DESTINATION_FILES # This must be done BEFORE the CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL handling if(CPACK_RPM_PACKAGE_COMPONENT) if(CPACK_ABSOLUTE_DESTINATION_FILES) set(COMPONENT_FILES_TAG "CPACK_ABSOLUTE_DESTINATION_FILES_${CPACK_RPM_PACKAGE_COMPONENT}") set(CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL "${${COMPONENT_FILES_TAG}}") if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Handling Absolute Destination Files: <${CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL}>") message("CPackRPM:Debug: in component = ${CPACK_RPM_PACKAGE_COMPONENT}") endif() endif() else() if(CPACK_ABSOLUTE_DESTINATION_FILES) set(CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL "${CPACK_ABSOLUTE_DESTINATION_FILES}") endif() endif() # In component case, set CPACK_RPM_USER_FILELIST_INTERNAL with CPACK_RPM__USER_FILELIST. if(CPACK_RPM_PACKAGE_COMPONENT) if(CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_USER_FILELIST) set(CPACK_RPM_USER_FILELIST_INTERNAL ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_USER_FILELIST}) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Handling User Filelist: <${CPACK_RPM_USER_FILELIST_INTERNAL}>") message("CPackRPM:Debug: in component = ${CPACK_RPM_PACKAGE_COMPONENT}") endif() else() set(CPACK_RPM_USER_FILELIST_INTERNAL "") endif() else() if(CPACK_RPM_USER_FILELIST) set(CPACK_RPM_USER_FILELIST_INTERNAL "${CPACK_RPM_USER_FILELIST}") else() set(CPACK_RPM_USER_FILELIST_INTERNAL "") endif() endif() # Handle user specified file line list in CPACK_RPM_USER_FILELIST_INTERNAL # Remove those files from CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL # or CPACK_RPM_INSTALL_FILES, # hence it must be done before these auto-generated lists are processed. if(CPACK_RPM_USER_FILELIST_INTERNAL) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Handling User Filelist: <${CPACK_RPM_USER_FILELIST_INTERNAL}>") endif() # Create CMake list from CPACK_RPM_INSTALL_FILES string(STRIP "${CPACK_RPM_INSTALL_FILES}" CPACK_RPM_INSTALL_FILES_LIST) string(REPLACE "\n" ";" CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES_LIST}") string(REPLACE "\"" "" CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES_LIST}") set(CPACK_RPM_USER_INSTALL_FILES "") foreach(F IN LISTS CPACK_RPM_USER_FILELIST_INTERNAL) string(REGEX REPLACE "%[A-Za-z0-9\(\),-]* " "" F_PATH ${F}) string(REGEX MATCH "%[A-Za-z0-9\(\),-]*" F_PREFIX ${F}) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: F_PREFIX=<${F_PREFIX}>, F_PATH=<${F_PATH}>") endif() if(F_PREFIX) set(F_PREFIX "${F_PREFIX} ") endif() # Rebuild the user list file set(CPACK_RPM_USER_INSTALL_FILES "${CPACK_RPM_USER_INSTALL_FILES}${F_PREFIX}\"${F_PATH}\"\n") # Remove from CPACK_RPM_INSTALL_FILES and CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL list(REMOVE_ITEM CPACK_RPM_INSTALL_FILES_LIST ${F_PATH}) # ABSOLUTE destination files list may not exists at all if (CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL) list(REMOVE_ITEM CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL ${F_PATH}) endif() endforeach() # Rebuild CPACK_RPM_INSTALL_FILES set(CPACK_RPM_INSTALL_FILES "") foreach(F IN LISTS CPACK_RPM_INSTALL_FILES_LIST) set(CPACK_RPM_INSTALL_FILES "${CPACK_RPM_INSTALL_FILES}\"${F}\"\n") endforeach() else() set(CPACK_RPM_USER_INSTALL_FILES "") endif() if (CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL) if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: Handling Absolute Destination Files: ${CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL}") endif() # Remove trailing space string(STRIP "${CPACK_RPM_INSTALL_FILES}" CPACK_RPM_INSTALL_FILES_LIST) # Transform endline separated - string into CMake List string(REPLACE "\n" ";" CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES_LIST}") # Remove unecessary quotes string(REPLACE "\"" "" CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES_LIST}") # Remove ABSOLUTE install file from INSTALL FILE LIST list(REMOVE_ITEM CPACK_RPM_INSTALL_FILES_LIST ${CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL}) # Rebuild INSTALL_FILES set(CPACK_RPM_INSTALL_FILES "") foreach(F IN LISTS CPACK_RPM_INSTALL_FILES_LIST) set(CPACK_RPM_INSTALL_FILES "${CPACK_RPM_INSTALL_FILES}\"${F}\"\n") endforeach() # Build ABSOLUTE_INSTALL_FILES set(CPACK_RPM_ABSOLUTE_INSTALL_FILES "") foreach(F IN LISTS CPACK_ABSOLUTE_DESTINATION_FILES_INTERNAL) set(CPACK_RPM_ABSOLUTE_INSTALL_FILES "${CPACK_RPM_ABSOLUTE_INSTALL_FILES}%config \"${F}\"\n") endforeach() if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: CPACK_RPM_ABSOLUTE_INSTALL_FILES=${CPACK_RPM_ABSOLUTE_INSTALL_FILES}") message("CPackRPM:Debug: CPACK_RPM_INSTALL_FILES=${CPACK_RPM_INSTALL_FILES}") endif() else() # reset vars in order to avoid leakage of value(s) from one component to another set(CPACK_RPM_ABSOLUTE_INSTALL_FILES "") endif() # Prepend directories in ${CPACK_RPM_INSTALL_FILES} with %dir # This is necessary to avoid duplicate files since rpmbuild do # recursion on its own when encountering a pathname which is a directory # which is not flagged as %dir string(STRIP "${CPACK_RPM_INSTALL_FILES}" CPACK_RPM_INSTALL_FILES_LIST) string(REPLACE "\n" ";" CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES_LIST}") string(REPLACE "\"" "" CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES_LIST}") set(CPACK_RPM_INSTALL_FILES "") foreach(F IN LISTS CPACK_RPM_INSTALL_FILES_LIST) if(IS_DIRECTORY "${WDIR}/${F}") set(CPACK_RPM_INSTALL_FILES "${CPACK_RPM_INSTALL_FILES}%dir \"${F}\"\n") else() set(CPACK_RPM_INSTALL_FILES "${CPACK_RPM_INSTALL_FILES}\"${F}\"\n") endif() endforeach() set(CPACK_RPM_INSTALL_FILES_LIST "") # The name of the final spec file to be used by rpmbuild set(CPACK_RPM_BINARY_SPECFILE "${CPACK_RPM_ROOTDIR}/SPECS/${CPACK_RPM_PACKAGE_NAME}${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.spec") # Print out some debug information if we were asked for that if(CPACK_RPM_PACKAGE_DEBUG) message("CPackRPM:Debug: CPACK_TOPLEVEL_DIRECTORY = ${CPACK_TOPLEVEL_DIRECTORY}") message("CPackRPM:Debug: CPACK_TOPLEVEL_TAG = ${CPACK_TOPLEVEL_TAG}") message("CPackRPM:Debug: CPACK_TEMPORARY_DIRECTORY = ${CPACK_TEMPORARY_DIRECTORY}") message("CPackRPM:Debug: CPACK_OUTPUT_FILE_NAME = ${CPACK_OUTPUT_FILE_NAME}") message("CPackRPM:Debug: CPACK_OUTPUT_FILE_PATH = ${CPACK_OUTPUT_FILE_PATH}") message("CPackRPM:Debug: CPACK_PACKAGE_FILE_NAME = ${CPACK_PACKAGE_FILE_NAME}") message("CPackRPM:Debug: CPACK_RPM_BINARY_SPECFILE = ${CPACK_RPM_BINARY_SPECFILE}") message("CPackRPM:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY = ${CPACK_PACKAGE_INSTALL_DIRECTORY}") message("CPackRPM:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME = ${CPACK_TEMPORARY_PACKAGE_FILE_NAME}") endif() # protect @ in pathname in order to avoid their # interpretation during the configure_file step set(CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES}") set(PROTECTED_AT "@") string(REPLACE "@" "\@PROTECTED_AT\@" CPACK_RPM_INSTALL_FILES "${CPACK_RPM_INSTALL_FILES_LIST}") set(CPACK_RPM_INSTALL_FILES_LIST "") # # USER generated/provided spec file handling. # # We can have a component specific spec file. if(CPACK_RPM_PACKAGE_COMPONENT AND CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_USER_BINARY_SPECFILE) set(CPACK_RPM_USER_BINARY_SPECFILE ${CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_USER_BINARY_SPECFILE}) endif() # We should generate a USER spec file template: # - either because the user asked for it : CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE # - or the user did not provide one : NOT CPACK_RPM_USER_BINARY_SPECFILE if(CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE OR NOT CPACK_RPM_USER_BINARY_SPECFILE) file(WRITE ${CPACK_RPM_BINARY_SPECFILE}.in "# -*- rpm-spec -*- BuildRoot: \@CPACK_RPM_DIRECTORY\@/\@CPACK_PACKAGE_FILE_NAME\@\@CPACK_RPM_PACKAGE_COMPONENT_PART_PATH\@ Summary: \@CPACK_RPM_PACKAGE_SUMMARY\@ Name: \@CPACK_RPM_PACKAGE_NAME\@\@CPACK_RPM_PACKAGE_COMPONENT_PART_NAME\@ Version: \@CPACK_RPM_PACKAGE_VERSION\@ Release: \@CPACK_RPM_PACKAGE_RELEASE\@ License: \@CPACK_RPM_PACKAGE_LICENSE\@ Group: \@CPACK_RPM_PACKAGE_GROUP\@ Vendor: \@CPACK_RPM_PACKAGE_VENDOR\@ \@TMP_RPM_URL\@ \@TMP_RPM_REQUIRES\@ \@TMP_RPM_PROVIDES\@ \@TMP_RPM_OBSOLETES\@ \@TMP_RPM_CONFLICTS\@ \@TMP_RPM_AUTOPROV\@ \@TMP_RPM_AUTOREQ\@ \@TMP_RPM_AUTOREQPROV\@ \@TMP_RPM_BUILDARCH\@ \@TMP_RPM_PREFIX\@ %define _rpmdir \@CPACK_RPM_DIRECTORY\@ %define _rpmfilename \@CPACK_RPM_FILE_NAME\@ %define _unpackaged_files_terminate_build 0 %define _topdir \@CPACK_RPM_DIRECTORY\@ \@TMP_RPM_SPEC_INSTALL_POST\@ \@CPACK_RPM_SPEC_MORE_DEFINE\@ \@CPACK_RPM_COMPRESSION_TYPE_TMP\@ %description \@CPACK_RPM_PACKAGE_DESCRIPTION\@ # This is a shortcutted spec file generated by CMake RPM generator # we skip _install step because CPack does that for us. # We do only save CPack installed tree in _prepr # and then restore it in build. %prep mv $RPM_BUILD_ROOT \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\" #p build %install if [ -e $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT fi mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\" $RPM_BUILD_ROOT %clean %post \@CPACK_RPM_SPEC_POSTINSTALL\@ %postun \@CPACK_RPM_SPEC_POSTUNINSTALL\@ %pre \@CPACK_RPM_SPEC_PREINSTALL\@ %preun \@CPACK_RPM_SPEC_PREUNINSTALL\@ %files %defattr(-,root,root,-) \@CPACK_RPM_INSTALL_FILES\@ \@CPACK_RPM_ABSOLUTE_INSTALL_FILES\@ \@CPACK_RPM_USER_INSTALL_FILES\@ %changelog \@CPACK_RPM_SPEC_CHANGELOG\@ ") # Stop here if we were asked to only generate a template USER spec file # The generated file may then be used as a template by user who wants # to customize their own spec file. if(CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE) message(FATAL_ERROR "CPackRPM: STOP here Generated USER binary spec file templare is: ${CPACK_RPM_BINARY_SPECFILE}.in") endif() endif() # After that we may either use a user provided spec file # or generate one using appropriate variables value. if(CPACK_RPM_USER_BINARY_SPECFILE) # User may have specified SPECFILE just use it message("CPackRPM: Will use USER specified spec file: ${CPACK_RPM_USER_BINARY_SPECFILE}") # The user provided file is processed for @var replacement configure_file(${CPACK_RPM_USER_BINARY_SPECFILE} ${CPACK_RPM_BINARY_SPECFILE} @ONLY) else() # No User specified spec file, will use the generated spec file message("CPackRPM: Will use GENERATED spec file: ${CPACK_RPM_BINARY_SPECFILE}") # Note the just created file is processed for @var replacement configure_file(${CPACK_RPM_BINARY_SPECFILE}.in ${CPACK_RPM_BINARY_SPECFILE} @ONLY) endif() # remove AT protection unset(PROTECTED_AT) if(RPMBUILD_EXECUTABLE) # Now call rpmbuild using the SPECFILE execute_process( COMMAND "${RPMBUILD_EXECUTABLE}" -bb --define "_topdir ${CPACK_RPM_DIRECTORY}" --buildroot "${CPACK_RPM_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}${CPACK_RPM_PACKAGE_COMPONENT_PART_PATH}" "${CPACK_RPM_BINARY_SPECFILE}" WORKING_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}${CPACK_RPM_PACKAGE_COMPONENT_PART_PATH}" RESULT_VARIABLE CPACK_RPMBUILD_EXEC_RESULT ERROR_FILE "${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.err" OUTPUT_FILE "${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.out") if(CPACK_RPM_PACKAGE_DEBUG OR CPACK_RPMBUILD_EXEC_RESULT) file(READ ${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.err RPMBUILDERR) file(READ ${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.out RPMBUILDOUT) message("CPackRPM:Debug: You may consult rpmbuild logs in: ") message("CPackRPM:Debug: - ${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.err") message("CPackRPM:Debug: *** ${RPMBUILDERR} ***") message("CPackRPM:Debug: - ${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.out") message("CPackRPM:Debug: *** ${RPMBUILDERR} ***") endif() else() if(ALIEN_EXECUTABLE) message(FATAL_ERROR "RPM packaging through alien not done (yet)") endif() endif() cmake-2.8.12.2/Modules/CPackWIX.cmake000644 000765 000024 00000010513 12266011634 017621 0ustar00kitwarestaff000000 000000 ##section Variables specific to CPack WiX generator ##end ##module # - CPack WiX generator specific options # # The following variables are specific to the installers built # on Windows using WiX. ##end ##variable # CPACK_WIX_UPGRADE_GUID - Upgrade GUID (Product/@UpgradeCode) # # Will be automatically generated unless explicitly provided. # # It should be explicitly set to a constant generated # gloabally unique identifier (GUID) to allow your installers # to replace existing installations that use the same GUID. # # You may for example explicitly set this variable in # your CMakeLists.txt to the value that has been generated per default. # You should not use GUIDs that you did not generate yourself or which may # belong to other projects. # # A GUID shall have the following fixed length syntax: # XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX # (each X represents an uppercase hexadecimal digit) ##end ##variable # CPACK_WIX_PRODUCT_GUID - Product GUID (Product/@Id) # # Will be automatically generated unless explicitly provided. # # If explicitly provided this will set the Product Id of your installer. # # The installer will abort if it detects a pre-existing installation that uses # the same GUID. # # The GUID shall use the syntax described for CPACK_WIX_UPGRADE_GUID. ##end ##variable # CPACK_WIX_LICENSE_RTF - RTF License File # # If CPACK_RESOURCE_FILE_LICENSE has an .rtf extension # it is used as-is. # # If CPACK_RESOURCE_FILE_LICENSE has an .txt extension # it is implicitly converted to RTF by the WiX Generator. # # With CPACK_WIX_LICENSE_RTF you can override the license file used # by the WiX Generator in case CPACK_RESOURCE_FILE_LICENSE # is in an unsupported format or the .txt -> .rtf # conversion does not work as expected. # ##end # ##variable # CPACK_WIX_PRODUCT_ICON - The Icon shown next to the program name in Add/Remove programs. # # If set, this icon is used in place of the default icon. # ##end # ##variable # CPACK_WIX_UI_BANNER - The bitmap will appear at the top of all installer pages other than the welcome and completion dialogs. # # If set, this image will replace the default banner image. # # This image must be 493 by 58 pixels. # ##end # ##variable # CPACK_WIX_UI_DIALOG - Background bitmap used on the welcome and completion dialogs. # # If this variable is set, the installer will replace the default dialog image. # # This image must be 493 by 312 pixels. # ##end # ##variable # CPACK_WIX_PROGRAM_MENU_FOLDER - Start menu folder name for launcher. # # If this variable is not set, it will be initialized with CPACK_PACKAGE_NAME # ##end ##variable # CPACK_WIX_CULTURES - Language(s) of the installer # # Languages are compiled into the WixUI extension library. To use them, # simply provide the name of the culture. If you specify more than one # culture identifier in a comma or semicolon delimited list, the first one # that is found will be used. You can find a list of supported languages at: # http://wix.sourceforge.net/manual-wix3/WixUI_localization.htm # ##end ##variable # CPACK_WIX_TEMPLATE - Template file for WiX generation # # If this variable is set, the specified template will be used to generate the WiX wxs file. # This should be used if further customization of the output is required. # # If this variable is not set, the default MSI template included with CMake will be used. # ##end #============================================================================= # Copyright 2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT CPACK_WIX_ROOT) file(TO_CMAKE_PATH "$ENV{WIX}" CPACK_WIX_ROOT) endif() find_program(CPACK_WIX_CANDLE_EXECUTABLE candle PATHS "${CPACK_WIX_ROOT}/bin") if(NOT CPACK_WIX_CANDLE_EXECUTABLE) message(FATAL_ERROR "Could not find the WiX candle executable.") endif() find_program(CPACK_WIX_LIGHT_EXECUTABLE light PATHS "${CPACK_WIX_ROOT}/bin") if(NOT CPACK_WIX_LIGHT_EXECUTABLE) message(FATAL_ERROR "Could not find the WiX light executable.") endif() cmake-2.8.12.2/Modules/CPackZIP.cmake000644 000765 000024 00000002654 12266011634 017623 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(CMAKE_BINARY_DIR) message(FATAL_ERROR "CPackZIP.cmake may only be used by CPack internally.") endif() find_program(ZIP_EXECUTABLE wzzip PATHS "$ENV{ProgramFiles}/WinZip") if(ZIP_EXECUTABLE) set(CPACK_ZIP_COMMAND "\"${ZIP_EXECUTABLE}\" -P \"\" @") set(CPACK_ZIP_NEED_QUOTES TRUE) endif() if(NOT ZIP_EXECUTABLE) find_program(ZIP_EXECUTABLE 7z PATHS "$ENV{ProgramFiles}/7-Zip") if(ZIP_EXECUTABLE) set(CPACK_ZIP_COMMAND "\"${ZIP_EXECUTABLE}\" a -tzip \"\" @") set(CPACK_ZIP_NEED_QUOTES TRUE) endif() endif() if(NOT ZIP_EXECUTABLE) find_package(Cygwin) find_program(ZIP_EXECUTABLE zip PATHS "${CYGWIN_INSTALL_PATH}/bin") if(ZIP_EXECUTABLE) set(CPACK_ZIP_COMMAND "\"${ZIP_EXECUTABLE}\" -r \"\" . -i@") set(CPACK_ZIP_NEED_QUOTES FALSE) endif() endif() cmake-2.8.12.2/Modules/CTest.cmake000644 000765 000024 00000023314 12266011634 017275 0ustar00kitwarestaff000000 000000 # - Configure a project for testing with CTest/CDash # Include this module in the top CMakeLists.txt file of a project to # enable testing with CTest and dashboard submissions to CDash: # project(MyProject) # ... # include(CTest) # The module automatically creates a BUILD_TESTING option that selects # whether to enable testing support (ON by default). After including # the module, use code like # if(BUILD_TESTING) # # ... CMake code to create tests ... # endif() # to creating tests when testing is enabled. # # To enable submissions to a CDash server, create a CTestConfig.cmake # file at the top of the project with content such as # set(CTEST_PROJECT_NAME "MyProject") # set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") # set(CTEST_DROP_METHOD "http") # set(CTEST_DROP_SITE "my.cdash.org") # set(CTEST_DROP_LOCATION "/submit.php?project=MyProject") # set(CTEST_DROP_SITE_CDASH TRUE) # (the CDash server can provide the file to a project administrator # who configures 'MyProject'). # Settings in the config file are shared by both this CTest module and # the CTest command-line tool's dashboard script mode (ctest -S). # # While building a project for submission to CDash, CTest scans the # build output for errors and warnings and reports them with # surrounding context from the build log. This generic approach works # for all build tools, but does not give details about the command # invocation that produced a given problem. One may get more detailed # reports by adding # set(CTEST_USE_LAUNCHERS 1) # to the CTestConfig.cmake file. When this option is enabled, the # CTest module tells CMake's Makefile generators to invoke every # command in the generated build system through a CTest launcher # program. (Currently the CTEST_USE_LAUNCHERS option is ignored on # non-Makefile generators.) During a manual build each launcher # transparently runs the command it wraps. During a CTest-driven # build for submission to CDash each launcher reports detailed # information when its command fails or warns. # (Setting CTEST_USE_LAUNCHERS in CTestConfig.cmake is convenient, but # also adds the launcher overhead even for manual builds. One may # instead set it in a CTest dashboard script and add it to the CMake # cache for the build tree.) #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) option(BUILD_TESTING "Build the testing tree." ON) # function to turn generator name into a version string # like vs7 vs71 vs8 vs9 function(GET_VS_VERSION_STRING generator var) string(REGEX REPLACE "Visual Studio ([0-9][0-9]?)($|.*)" "\\1" NUMBER "${generator}") if("${generator}" MATCHES "Visual Studio 7 .NET 2003") set(ver_string "vs71") else() set(ver_string "vs${NUMBER}") endif() set(${var} ${ver_string} PARENT_SCOPE) endfunction() include(CTestUseLaunchers) if(BUILD_TESTING) # Setup some auxilary macros macro(SET_IF_NOT_SET var val) if(NOT DEFINED "${var}") set("${var}" "${val}") endif() endmacro() macro(SET_IF_SET var val) if(NOT "${val}" STREQUAL "") set("${var}" "${val}") endif() endmacro() macro(SET_IF_SET_AND_NOT_SET var val) if(NOT "${val}" STREQUAL "") SET_IF_NOT_SET("${var}" "${val}") endif() endmacro() # Make sure testing is enabled enable_testing() if(EXISTS "${PROJECT_SOURCE_DIR}/CTestConfig.cmake") include("${PROJECT_SOURCE_DIR}/CTestConfig.cmake") SET_IF_SET_AND_NOT_SET(NIGHTLY_START_TIME "${CTEST_NIGHTLY_START_TIME}") SET_IF_SET_AND_NOT_SET(DROP_METHOD "${CTEST_DROP_METHOD}") SET_IF_SET_AND_NOT_SET(DROP_SITE "${CTEST_DROP_SITE}") SET_IF_SET_AND_NOT_SET(DROP_SITE_USER "${CTEST_DROP_SITE_USER}") SET_IF_SET_AND_NOT_SET(DROP_SITE_PASSWORD "${CTEST_DROP_SITE_PASWORD}") SET_IF_SET_AND_NOT_SET(DROP_SITE_MODE "${CTEST_DROP_SITE_MODE}") SET_IF_SET_AND_NOT_SET(DROP_LOCATION "${CTEST_DROP_LOCATION}") SET_IF_SET_AND_NOT_SET(TRIGGER_SITE "${CTEST_TRIGGER_SITE}") SET_IF_SET_AND_NOT_SET(UPDATE_TYPE "${CTEST_UPDATE_TYPE}") endif() # the project can have a DartConfig.cmake file if(EXISTS "${PROJECT_SOURCE_DIR}/DartConfig.cmake") include("${PROJECT_SOURCE_DIR}/DartConfig.cmake") else() # Dashboard is opened for submissions for a 24 hour period starting at # the specified NIGHTLY_START_TIME. Time is specified in 24 hour format. SET_IF_NOT_SET (NIGHTLY_START_TIME "00:00:00 EDT") SET_IF_NOT_SET(DROP_METHOD "http") SET_IF_NOT_SET (COMPRESS_SUBMISSION ON) endif() SET_IF_NOT_SET (NIGHTLY_START_TIME "00:00:00 EDT") find_program(CVSCOMMAND cvs ) set(CVS_UPDATE_OPTIONS "-d -A -P" CACHE STRING "Options passed to the cvs update command.") find_program(SVNCOMMAND svn) find_program(BZRCOMMAND bzr) find_program(HGCOMMAND hg) find_program(GITCOMMAND git) if(NOT UPDATE_TYPE) if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CVS") set(UPDATE_TYPE cvs) elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.svn") set(UPDATE_TYPE svn) elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.bzr") set(UPDATE_TYPE bzr) elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.hg") set(UPDATE_TYPE hg) elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git") set(UPDATE_TYPE git) endif() endif() string(TOLOWER "${UPDATE_TYPE}" _update_type) if("${_update_type}" STREQUAL "cvs") set(UPDATE_COMMAND "${CVSCOMMAND}") set(UPDATE_OPTIONS "${CVS_UPDATE_OPTIONS}") elseif("${_update_type}" STREQUAL "svn") set(UPDATE_COMMAND "${SVNCOMMAND}") set(UPDATE_OPTIONS "${SVN_UPDATE_OPTIONS}") elseif("${_update_type}" STREQUAL "bzr") set(UPDATE_COMMAND "${BZRCOMMAND}") set(UPDATE_OPTIONS "${BZR_UPDATE_OPTIONS}") elseif("${_update_type}" STREQUAL "hg") set(UPDATE_COMMAND "${HGCOMMAND}") set(UPDATE_OPTIONS "${HG_UPDATE_OPTIONS}") elseif("${_update_type}" STREQUAL "git") set(UPDATE_COMMAND "${GITCOMMAND}") set(UPDATE_OPTIONS "${GIT_UPDATE_OPTIONS}") endif() set(DART_TESTING_TIMEOUT 1500 CACHE STRING "Maximum time allowed before CTest will kill the test.") set(CTEST_SUBMIT_RETRY_DELAY 5 CACHE STRING "How long to wait between timed-out CTest submissions.") set(CTEST_SUBMIT_RETRY_COUNT 3 CACHE STRING "How many times to retry timed-out CTest submissions.") find_program(MEMORYCHECK_COMMAND NAMES purify valgrind boundscheck PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Rational Software\\Purify\\Setup;InstallFolder]" DOC "Path to the memory checking command, used for memory error detection." ) find_program(SLURM_SBATCH_COMMAND sbatch DOC "Path to the SLURM sbatch executable" ) find_program(SLURM_SRUN_COMMAND srun DOC "Path to the SLURM srun executable" ) set(MEMORYCHECK_SUPPRESSIONS_FILE "" CACHE FILEPATH "File that contains suppressions for the memory checker") find_program(SCPCOMMAND scp DOC "Path to scp command, used by CTest for submitting results to a Dart server" ) find_program(COVERAGE_COMMAND gcov DOC "Path to the coverage program that CTest uses for performing coverage inspection" ) set(COVERAGE_EXTRA_FLAGS "-l" CACHE STRING "Extra command line flags to pass to the coverage tool") # set the site name site_name(SITE) # set the build name if(NOT BUILDNAME) set(DART_COMPILER "${CMAKE_CXX_COMPILER}") if(NOT DART_COMPILER) set(DART_COMPILER "${CMAKE_C_COMPILER}") endif() if(NOT DART_COMPILER) set(DART_COMPILER "unknown") endif() if(WIN32) set(DART_NAME_COMPONENT "NAME_WE") else() set(DART_NAME_COMPONENT "NAME") endif() if(NOT BUILD_NAME_SYSTEM_NAME) set(BUILD_NAME_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}") endif() if(WIN32) set(BUILD_NAME_SYSTEM_NAME "Win32") endif() if(UNIX OR BORLAND) get_filename_component(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" ${DART_NAME_COMPONENT}) else() get_filename_component(DART_CXX_NAME "${CMAKE_BUILD_TOOL}" ${DART_NAME_COMPONENT}) endif() if(DART_CXX_NAME MATCHES "msdev") set(DART_CXX_NAME "vs60") endif() if(DART_CXX_NAME MATCHES "devenv") GET_VS_VERSION_STRING("${CMAKE_GENERATOR}" DART_CXX_NAME) endif() set(BUILDNAME "${BUILD_NAME_SYSTEM_NAME}-${DART_CXX_NAME}") endif() # the build command build_command(MAKECOMMAND_DEFAULT_VALUE CONFIGURATION "\${CTEST_CONFIGURATION_TYPE}") set(MAKECOMMAND ${MAKECOMMAND_DEFAULT_VALUE} CACHE STRING "Command to build the project") # the default build configuration the ctest build handler will use # if there is no -C arg given to ctest: set(DEFAULT_CTEST_CONFIGURATION_TYPE "$ENV{CMAKE_CONFIG_TYPE}") if(DEFAULT_CTEST_CONFIGURATION_TYPE STREQUAL "") set(DEFAULT_CTEST_CONFIGURATION_TYPE "Release") endif() mark_as_advanced( BZRCOMMAND BZR_UPDATE_OPTIONS COVERAGE_COMMAND COVERAGE_EXTRA_FLAGS CTEST_SUBMIT_RETRY_DELAY CTEST_SUBMIT_RETRY_COUNT CVSCOMMAND CVS_UPDATE_OPTIONS DART_TESTING_TIMEOUT GITCOMMAND HGCOMMAND MAKECOMMAND MEMORYCHECK_COMMAND MEMORYCHECK_SUPPRESSIONS_FILE PURIFYCOMMAND SCPCOMMAND SLURM_SBATCH_COMMAND SLURM_SRUN_COMMAND SITE SVNCOMMAND SVN_UPDATE_OPTIONS ) if(NOT RUN_FROM_DART) set(RUN_FROM_CTEST_OR_DART 1) include(CTestTargets) set(RUN_FROM_CTEST_OR_DART) endif() endif() cmake-2.8.12.2/Modules/CTestScriptMode.cmake000644 000765 000024 00000001735 12266011634 021272 0ustar00kitwarestaff000000 000000 # This file is read by ctest in script mode (-S) #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Determine the current system, so this information can be used # in ctest scripts include(CMakeDetermineSystem) # Also load the system specific file, which sets up e.g. the search paths. # This makes the FIND_XXX() calls work much better include(CMakeSystemSpecificInformation) cmake-2.8.12.2/Modules/CTestTargets.cmake000644 000765 000024 00000006662 12266011634 020636 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT RUN_FROM_CTEST_OR_DART) message(FATAL_ERROR "Do not incldue CTestTargets.cmake directly") endif() if(NOT PROJECT_BINARY_DIR) message(FATAL_ERROR "Do not include(CTest) before calling project().") endif() # make directories in the binary tree file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/Testing/Temporary) get_filename_component(CMAKE_HOST_PATH ${CMAKE_COMMAND} PATH) set(CMAKE_TARGET_PATH ${EXECUTABLE_OUTPUT_PATH}) find_program(CMAKE_CTEST_COMMAND ctest ${CMAKE_HOST_PATH} ${CMAKE_TARGET_PATH}) mark_as_advanced(CMAKE_CTEST_COMMAND) # Use CTest # configure files if(CTEST_NEW_FORMAT) configure_file( ${CMAKE_ROOT}/Modules/DartConfiguration.tcl.in ${PROJECT_BINARY_DIR}/CTestConfiguration.ini ) else() configure_file( ${CMAKE_ROOT}/Modules/DartConfiguration.tcl.in ${PROJECT_BINARY_DIR}/DartConfiguration.tcl ) endif() # # Section 3: # # Custom targets to perform dashboard builds and submissions. # These should NOT need to be modified from project to project. # set(__conf_types "") if(CMAKE_CONFIGURATION_TYPES) # We need to pass the configuration type on the test command line. set(__conf_types -C "${CMAKE_CFG_INTDIR}") endif() # Add convenience targets. Do this at most once in case of nested # projects. define_property(GLOBAL PROPERTY CTEST_TARGETS_ADDED BRIEF_DOCS "Internal property used by CTestTargets module." FULL_DOCS "Set by the CTestTargets module to track addition of testing targets." ) get_property(_CTEST_TARGETS_ADDED GLOBAL PROPERTY CTEST_TARGETS_ADDED) if(NOT _CTEST_TARGETS_ADDED) set_property(GLOBAL PROPERTY CTEST_TARGETS_ADDED 1) # For all generators add basic testing targets. foreach(mode Experimental Nightly Continuous NightlyMemoryCheck) add_custom_target(${mode} ${CMAKE_CTEST_COMMAND} ${__conf_types} -D ${mode} ) set_property(TARGET ${mode} PROPERTY RULE_LAUNCH_CUSTOM "") set_property(TARGET ${mode} PROPERTY FOLDER "CTestDashboardTargets") endforeach() # For Makefile generators add more granular targets. if("${CMAKE_GENERATOR}" MATCHES "(Ninja|Make)") # Make targets for Experimental builds foreach(mode Nightly Experimental Continuous) foreach(testtype Start Update Configure Build Test Coverage MemCheck Submit # missing purify ) add_custom_target(${mode}${testtype} ${CMAKE_CTEST_COMMAND} ${__conf_types} -D ${mode}${testtype} ) set_property(TARGET ${mode}${testtype} PROPERTY RULE_LAUNCH_CUSTOM "") set_property(TARGET ${mode}${testtype} PROPERTY FOLDER "CTestDashboardTargets") endforeach() endforeach() endif() # If requested, add an alias that is the equivalent of the built-in "test" # or "RUN_TESTS" target: if(CTEST_TEST_TARGET_ALIAS) add_custom_target(${CTEST_TEST_TARGET_ALIAS} ${CMAKE_CTEST_COMMAND} ${__conf_types} ) endif() endif() cmake-2.8.12.2/Modules/CTestUseLaunchers.cmake000644 000765 000024 00000005310 12266011634 021613 0ustar00kitwarestaff000000 000000 # - Set the RULE_LAUNCH_* global properties when CTEST_USE_LAUNCHERS is on. # CTestUseLaunchers is automatically included when you include(CTest). # However, it is split out into its own module file so projects # can use the CTEST_USE_LAUNCHERS functionality independently. # # To use launchers, set CTEST_USE_LAUNCHERS to ON in a ctest -S # dashboard script, and then also set it in the cache of the configured # project. Both cmake and ctest need to know the value of it for the launchers # to work properly. CMake needs to know in order to generate proper build # rules, and ctest, in order to produce the proper error and warning # analysis. # # For convenience, you may set the ENV variable CTEST_USE_LAUNCHERS_DEFAULT # in your ctest -S script, too. Then, as long as your CMakeLists uses # include(CTest) or include(CTestUseLaunchers), it will use the value of the # ENV variable to initialize a CTEST_USE_LAUNCHERS cache variable. This cache # variable initialization only occurs if CTEST_USE_LAUNCHERS is not already # defined. #============================================================================= # Copyright 2008-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT DEFINED CTEST_USE_LAUNCHERS AND DEFINED ENV{CTEST_USE_LAUNCHERS_DEFAULT}) set(CTEST_USE_LAUNCHERS "$ENV{CTEST_USE_LAUNCHERS_DEFAULT}" CACHE INTERNAL "CTEST_USE_LAUNCHERS initial value from ENV") endif() if(NOT "${CMAKE_GENERATOR}" MATCHES "Make|Ninja") set(CTEST_USE_LAUNCHERS 0) endif() if(CTEST_USE_LAUNCHERS) set(CTEST_LAUNCH_COMPILE "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name --build-dir --output --source --language --") set(CTEST_LAUNCH_LINK "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name --build-dir --output --target-type --language --") set(CTEST_LAUNCH_CUSTOM "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name --build-dir --output --") set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CTEST_LAUNCH_COMPILE}") set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CTEST_LAUNCH_LINK}") set_property(GLOBAL PROPERTY RULE_LAUNCH_CUSTOM "${CTEST_LAUNCH_CUSTOM}") endif() cmake-2.8.12.2/Modules/Dart.cmake000644 000765 000024 00000010100 12266011634 017132 0ustar00kitwarestaff000000 000000 # - Configure a project for testing with CTest or old Dart Tcl Client # This file is the backwards-compatibility version of the CTest module. # It supports using the old Dart 1 Tcl client for driving dashboard # submissions as well as testing with CTest. This module should be included # in the CMakeLists.txt file at the top of a project. Typical usage: # include(Dart) # if(BUILD_TESTING) # # ... testing related CMake code ... # endif() # The BUILD_TESTING option is created by the Dart module to determine # whether testing support should be enabled. The default is ON. # This file configures a project to use the Dart testing/dashboard process. # It is broken into 3 sections. # # Section #1: Locate programs on the client and determine site and build name # Section #2: Configure or copy Tcl scripts from the source tree to build tree # Section #3: Custom targets for performing dashboard builds. # # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) option(BUILD_TESTING "Build the testing tree." ON) if(BUILD_TESTING) find_package(Dart QUIET) # # Section #1: # # CMake commands that will not vary from project to project. Locates programs # on the client and configure site name and build name. # set(RUN_FROM_DART 1) include(CTest) set(RUN_FROM_DART) find_program(COMPRESSIONCOMMAND NAMES gzip compress zip DOC "Path to program used to compress files for transfer to the dart server") find_program(GUNZIPCOMMAND gunzip DOC "Path to gunzip executable") find_program(JAVACOMMAND java DOC "Path to java command, used by the Dart server to create html.") option(DART_VERBOSE_BUILD "Show the actual output of the build, or if off show a . for each 1024 bytes." OFF) option(DART_BUILD_ERROR_REPORT_LIMIT "Limit of reported errors, -1 reports all." -1 ) option(DART_BUILD_WARNING_REPORT_LIMIT "Limit of reported warnings, -1 reports all." -1 ) set(VERBOSE_BUILD ${DART_VERBOSE_BUILD}) set(BUILD_ERROR_REPORT_LIMIT ${DART_BUILD_ERROR_REPORT_LIMIT}) set(BUILD_WARNING_REPORT_LIMIT ${DART_BUILD_WARNING_REPORT_LIMIT}) set (DELIVER_CONTINUOUS_EMAIL "Off" CACHE BOOL "Should Dart server send email when build errors are found in Continuous builds?") mark_as_advanced( COMPRESSIONCOMMAND DART_BUILD_ERROR_REPORT_LIMIT DART_BUILD_WARNING_REPORT_LIMIT DART_TESTING_TIMEOUT DART_VERBOSE_BUILD DELIVER_CONTINUOUS_EMAIL GUNZIPCOMMAND JAVACOMMAND ) set(HAVE_DART) if(EXISTS "${DART_ROOT}/Source/Client/Dart.conf.in") set(HAVE_DART 1) endif() # # Section #2: # # Make necessary directories and configure testing scripts # # find a tcl shell command if(HAVE_DART) find_package(Tclsh) endif() if (HAVE_DART) # make directories in the binary tree file(MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/Testing/HTML/TestingResults/Dashboard" "${PROJECT_BINARY_DIR}/Testing/HTML/TestingResults/Sites/${SITE}/${BUILDNAME}") # configure files configure_file( "${DART_ROOT}/Source/Client/Dart.conf.in" "${PROJECT_BINARY_DIR}/DartConfiguration.tcl" ) # # Section 3: # # Custom targets to perform dashboard builds and submissions. # These should NOT need to be modified from project to project. # # add testing targets set(DART_EXPERIMENTAL_NAME Experimental) if(DART_EXPERIMENTAL_USE_PROJECT_NAME) set(DART_EXPERIMENTAL_NAME "${DART_EXPERIMENTAL_NAME}${PROJECT_NAME}") endif() endif () set(RUN_FROM_CTEST_OR_DART 1) include(CTestTargets) set(RUN_FROM_CTEST_OR_DART) endif() # # End of Dart.cmake # cmake-2.8.12.2/Modules/DartConfiguration.tcl.in000644 000765 000024 00000005366 12266011634 022013 0ustar00kitwarestaff000000 000000 # This file is configured by CMake automatically as DartConfiguration.tcl # If you choose not to use CMake, this file may be hand configured, by # filling in the required variables. # Configuration directories and files SourceDirectory: @PROJECT_SOURCE_DIR@ BuildDirectory: @PROJECT_BINARY_DIR@ # Where to place the cost data store CostDataFile: @CTEST_COST_DATA_FILE@ # Site is something like machine.domain, i.e. pragmatic.crd Site: @SITE@ # Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++ BuildName: @BUILDNAME@ # Submission information IsCDash: @CTEST_DROP_SITE_CDASH@ CDashVersion: @CTEST_CDASH_VERSION@ QueryCDashVersion: @CTEST_CDASH_QUERY_VERSION@ DropSite: @DROP_SITE@ DropLocation: @DROP_LOCATION@ DropSiteUser: @DROP_SITE_USER@ DropSitePassword: @DROP_SITE_PASSWORD@ DropSiteMode: @DROP_SITE_MODE@ DropMethod: @DROP_METHOD@ TriggerSite: @TRIGGER_SITE@ ScpCommand: @SCPCOMMAND@ # Dashboard start time NightlyStartTime: @NIGHTLY_START_TIME@ # Commands for the build/test/submit cycle ConfigureCommand: "@CMAKE_COMMAND@" "@PROJECT_SOURCE_DIR@" MakeCommand: @MAKECOMMAND@ DefaultCTestConfigurationType: @DEFAULT_CTEST_CONFIGURATION_TYPE@ # CVS options # Default is "-d -P -A" CVSCommand: @CVSCOMMAND@ CVSUpdateOptions: @CVS_UPDATE_OPTIONS@ # Subversion options SVNCommand: @SVNCOMMAND@ SVNOptions: @CTEST_SVN_OPTIONS@ SVNUpdateOptions: @SVN_UPDATE_OPTIONS@ # Git options GITCommand: @GITCOMMAND@ GITUpdateOptions: @GIT_UPDATE_OPTIONS@ GITUpdateCustom: @CTEST_GIT_UPDATE_CUSTOM@ # Generic update command UpdateCommand: @UPDATE_COMMAND@ UpdateOptions: @UPDATE_OPTIONS@ UpdateType: @UPDATE_TYPE@ # Compiler info Compiler: @CMAKE_CXX_COMPILER@ # Dynamic analysis (MemCheck) PurifyCommand: @PURIFYCOMMAND@ ValgrindCommand: @VALGRIND_COMMAND@ ValgrindCommandOptions: @VALGRIND_COMMAND_OPTIONS@ MemoryCheckCommand: @MEMORYCHECK_COMMAND@ MemoryCheckCommandOptions: @MEMORYCHECK_COMMAND_OPTIONS@ MemoryCheckSuppressionFile: @MEMORYCHECK_SUPPRESSIONS_FILE@ # Coverage CoverageCommand: @COVERAGE_COMMAND@ CoverageExtraFlags: @COVERAGE_EXTRA_FLAGS@ # Cluster commands SlurmBatchCommand: @SLURM_SBATCH_COMMAND@ SlurmRunCommand: @SLURM_SRUN_COMMAND@ # Testing options # TimeOut is the amount of time in seconds to wait for processes # to complete during testing. After TimeOut seconds, the # process will be summarily terminated. # Currently set to 25 minutes TimeOut: @DART_TESTING_TIMEOUT@ UseLaunchers: @CTEST_USE_LAUNCHERS@ CurlOptions: @CTEST_CURL_OPTIONS@ # warning, if you add new options here that have to do with submit, # you have to update cmCTestSubmitCommand.cxx # For CTest submissions that timeout, these options # specify behavior for retrying the submission CTestSubmitRetryDelay: @CTEST_SUBMIT_RETRY_DELAY@ CTestSubmitRetryCount: @CTEST_SUBMIT_RETRY_COUNT@ cmake-2.8.12.2/Modules/DeployQt4.cmake000644 000765 000024 00000032300 12266011634 020073 0ustar00kitwarestaff000000 000000 # - Functions to help assemble a standalone Qt4 executable. # A collection of CMake utility functions useful for deploying # Qt4 executables. # # The following functions are provided by this module: # write_qt4_conf # resolve_qt4_paths # fixup_qt4_executable # install_qt4_plugin_path # install_qt4_plugin # install_qt4_executable # Requires CMake 2.6 or greater because it uses function and # PARENT_SCOPE. Also depends on BundleUtilities.cmake. # # WRITE_QT4_CONF( ) # Writes a qt.conf file with the into . # # RESOLVE_QT4_PATHS( []) # Loop through list and if any don't exist resolve them # relative to the (if supplied) or the CMAKE_INSTALL_PREFIX. # # FIXUP_QT4_EXECUTABLE( [ ]) # Copies Qt plugins, writes a Qt configuration file (if needed) and fixes up a # Qt4 executable using BundleUtilities so it is standalone and can be # drag-and-drop copied to another machine as long as all of the system # libraries are compatible. # # should point to the executable to be fixed-up. # # should contain a list of the names or paths of any Qt plugins # to be installed. # # will be passed to BundleUtilities and should be a list of any already # installed plugins, libraries or executables to also be fixed-up. # # will be passed to BundleUtilities and should contain and directories # to be searched to find library dependencies. # # allows an custom plugins directory to be used. # # will force a qt.conf file to be written even if not needed. # # INSTALL_QT4_PLUGIN_PATH(plugin executable copy installed_plugin_path_var ) # Install (or copy) a resolved to the default plugins directory # (or ) relative to and store the result in # . # # If is set to TRUE then the plugins will be copied rather than # installed. This is to allow this module to be used at CMake time rather than # install time. # # If is set then anything installed will use this COMPONENT. # # INSTALL_QT4_PLUGIN(plugin executable copy installed_plugin_path_var ) # Install (or copy) an unresolved to the default plugins directory # (or ) relative to and store the result in # . See documentation of INSTALL_QT4_PLUGIN_PATH. # # INSTALL_QT4_EXECUTABLE( [ ]) # Installs Qt plugins, writes a Qt configuration file (if needed) and fixes up # a Qt4 executable using BundleUtilities so it is standalone and can be # drag-and-drop copied to another machine as long as all of the system # libraries are compatible. The executable will be fixed-up at install time. # is the COMPONENT used for bundle fixup and plugin installation. # See documentation of FIXUP_QT4_BUNDLE. #============================================================================= # Copyright 2011 Mike McQuaid # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # The functions defined in this file depend on the fixup_bundle function # (and others) found in BundleUtilities.cmake include("${CMAKE_CURRENT_LIST_DIR}/BundleUtilities.cmake") set(DeployQt4_cmake_dir "${CMAKE_CURRENT_LIST_DIR}") set(DeployQt4_apple_plugins_dir "PlugIns") function(write_qt4_conf qt_conf_dir qt_conf_contents) set(qt_conf_path "${qt_conf_dir}/qt.conf") message(STATUS "Writing ${qt_conf_path}") file(WRITE "${qt_conf_path}" "${qt_conf_contents}") endfunction() function(resolve_qt4_paths paths_var) set(executable_path ${ARGV1}) set(paths_resolved) foreach(path ${${paths_var}}) if(EXISTS "${path}") list(APPEND paths_resolved "${path}") else() if(${executable_path}) list(APPEND paths_resolved "${executable_path}/${path}") else() list(APPEND paths_resolved "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${path}") endif() endif() endforeach() set(${paths_var} ${paths_resolved} PARENT_SCOPE) endfunction() function(fixup_qt4_executable executable) set(qtplugins ${ARGV1}) set(libs ${ARGV2}) set(dirs ${ARGV3}) set(plugins_dir ${ARGV4}) set(request_qt_conf ${ARGV5}) message(STATUS "fixup_qt4_executable") message(STATUS " executable='${executable}'") message(STATUS " qtplugins='${qtplugins}'") message(STATUS " libs='${libs}'") message(STATUS " dirs='${dirs}'") message(STATUS " plugins_dir='${plugins_dir}'") message(STATUS " request_qt_conf='${request_qt_conf}'") if(QT_LIBRARY_DIR) list(APPEND dirs "${QT_LIBRARY_DIR}") endif() if(QT_BINARY_DIR) list(APPEND dirs "${QT_BINARY_DIR}") endif() if(APPLE) set(qt_conf_dir "${executable}/Contents/Resources") set(executable_path "${executable}") set(write_qt_conf TRUE) if(NOT plugins_dir) set(plugins_dir "${DeployQt4_apple_plugins_dir}") endif() else() get_filename_component(executable_path "${executable}" PATH) if(NOT executable_path) set(executable_path ".") endif() set(qt_conf_dir "${executable_path}") set(write_qt_conf ${request_qt_conf}) endif() foreach(plugin ${qtplugins}) set(installed_plugin_path "") install_qt4_plugin("${plugin}" "${executable}" 1 installed_plugin_path) list(APPEND libs ${installed_plugin_path}) endforeach() foreach(lib ${libs}) if(NOT EXISTS "${lib}") message(FATAL_ERROR "Library does not exist: ${lib}") endif() endforeach() resolve_qt4_paths(libs "${executable_path}") if(write_qt_conf) set(qt_conf_contents "[Paths]\nPlugins = ${plugins_dir}") write_qt4_conf("${qt_conf_dir}" "${qt_conf_contents}") endif() fixup_bundle("${executable}" "${libs}" "${dirs}") endfunction() function(install_qt4_plugin_path plugin executable copy installed_plugin_path_var) set(plugins_dir ${ARGV4}) set(component ${ARGV5}) set(configurations ${ARGV6}) if(EXISTS "${plugin}") if(APPLE) if(NOT plugins_dir) set(plugins_dir "${DeployQt4_apple_plugins_dir}") endif() set(plugins_path "${executable}/Contents/${plugins_dir}") else() get_filename_component(plugins_path "${executable}" PATH) if(NOT plugins_path) set(plugins_path ".") endif() if(plugins_dir) set(plugins_path "${plugins_path}/${plugins_dir}") endif() endif() set(plugin_group "") get_filename_component(plugin_path "${plugin}" PATH) get_filename_component(plugin_parent_path "${plugin_path}" PATH) get_filename_component(plugin_parent_dir_name "${plugin_parent_path}" NAME) get_filename_component(plugin_name "${plugin}" NAME) string(TOLOWER "${plugin_parent_dir_name}" plugin_parent_dir_name) if("${plugin_parent_dir_name}" STREQUAL "plugins") get_filename_component(plugin_group "${plugin_path}" NAME) set(${plugin_group_var} "${plugin_group}") endif() set(plugins_path "${plugins_path}/${plugin_group}") if(${copy}) file(MAKE_DIRECTORY "${plugins_path}") file(COPY "${plugin}" DESTINATION "${plugins_path}") else() if(configurations AND (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE)) set(configurations CONFIGURATIONS ${configurations}) else() unset(configurations) endif() install(FILES "${plugin}" DESTINATION "${plugins_path}" ${configurations} ${component}) endif() set(${installed_plugin_path_var} "${plugins_path}/${plugin_name}" PARENT_SCOPE) endif() endfunction() function(install_qt4_plugin plugin executable copy installed_plugin_path_var) set(plugins_dir ${ARGV4}) set(component ${ARGV5}) if(EXISTS "${plugin}") install_qt4_plugin_path("${plugin}" "${executable}" "${copy}" "${installed_plugin_path_var}" "${plugins_dir}" "${component}") else() string(TOUPPER "QT_${plugin}_PLUGIN" plugin_var) set(plugin_release_var "${plugin_var}_RELEASE") set(plugin_debug_var "${plugin_var}_DEBUG") set(plugin_release "${${plugin_release_var}}") set(plugin_debug "${${plugin_debug_var}}") if(DEFINED "${plugin_release_var}" AND DEFINED "${plugin_debug_var}" AND NOT EXISTS "${plugin_release}" AND NOT EXISTS "${plugin_debug}") message(WARNING "Qt plugin \"${plugin}\" not recognized or found.") endif() if(NOT EXISTS "${${plugin_debug_var}}") set(plugin_debug "${plugin_release}") endif() if(CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE) install_qt4_plugin_path("${plugin_release}" "${executable}" "${copy}" "${installed_plugin_path_var}_release" "${plugins_dir}" "${component}" "Release|RelWithDebInfo|MinSizeRel") install_qt4_plugin_path("${plugin_debug}" "${executable}" "${copy}" "${installed_plugin_path_var}_debug" "${plugins_dir}" "${component}" "Debug") if(CMAKE_BUILD_TYPE MATCHES "^Debug$") set(${installed_plugin_path_var} ${${installed_plugin_path_var}_debug}) else() set(${installed_plugin_path_var} ${${installed_plugin_path_var}_release}) endif() else() install_qt4_plugin_path("${plugin_release}" "${executable}" "${copy}" "${installed_plugin_path_var}" "${plugins_dir}" "${component}") endif() endif() set(${installed_plugin_path_var} ${${installed_plugin_path_var}} PARENT_SCOPE) endfunction() function(install_qt4_executable executable) set(qtplugins ${ARGV1}) set(libs ${ARGV2}) set(dirs ${ARGV3}) set(plugins_dir ${ARGV4}) set(request_qt_conf ${ARGV5}) set(component ${ARGV6}) if(QT_LIBRARY_DIR) list(APPEND dirs "${QT_LIBRARY_DIR}") endif() if(QT_BINARY_DIR) list(APPEND dirs "${QT_BINARY_DIR}") endif() if(component) set(component COMPONENT ${component}) else() unset(component) endif() get_filename_component(executable_absolute "${executable}" ABSOLUTE) if(EXISTS "${QT_QTCORE_LIBRARY_RELEASE}") gp_file_type("${executable_absolute}" "${QT_QTCORE_LIBRARY_RELEASE}" qtcore_type) elseif(EXISTS "${QT_QTCORE_LIBRARY_DEBUG}") gp_file_type("${executable_absolute}" "${QT_QTCORE_LIBRARY_DEBUG}" qtcore_type) endif() if(qtcore_type STREQUAL "system") set(qt_plugins_dir "") endif() if(QT_IS_STATIC) message(WARNING "Qt built statically: not installing plugins.") else() foreach(plugin ${qtplugins}) set(installed_plugin_paths "") install_qt4_plugin("${plugin}" "${executable}" 0 installed_plugin_paths "${plugins_dir}" "${component}") list(APPEND libs ${installed_plugin_paths}) endforeach() endif() resolve_qt4_paths(libs "") install(CODE "include(\"${DeployQt4_cmake_dir}/DeployQt4.cmake\") set(BU_CHMOD_BUNDLE_ITEMS TRUE) FIXUP_QT4_EXECUTABLE(\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${executable}\" \"\" \"${libs}\" \"${dirs}\" \"${plugins_dir}\" \"${request_qt_conf}\")" ${component} ) endfunction() cmake-2.8.12.2/Modules/Documentation.cmake000644 000765 000024 00000002716 12266011634 021067 0ustar00kitwarestaff000000 000000 # - DocumentationVTK.cmake # This file provides support for the VTK documentation framework. # It relies on several tools (Doxygen, Perl, etc). #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # Build the documentation ? # option(BUILD_DOCUMENTATION "Build the documentation (Doxygen)." OFF) mark_as_advanced(BUILD_DOCUMENTATION) if (BUILD_DOCUMENTATION) # # Check for the tools # find_package(UnixCommands) find_package(Doxygen) find_package(Gnuplot) find_package(HTMLHelp) find_package(Perl) find_package(Wget) option(DOCUMENTATION_HTML_HELP "Build the HTML Help file (CHM)." OFF) option(DOCUMENTATION_HTML_TARZ "Build a compressed tar archive of the HTML doc." OFF) mark_as_advanced( DOCUMENTATION_HTML_HELP DOCUMENTATION_HTML_TARZ ) # # The documentation process is controled by a batch file. # We will probably need bash to create the custom target # endif () cmake-2.8.12.2/Modules/DummyCXXFile.cxx000644 000765 000024 00000000033 12266011634 020244 0ustar00kitwarestaff000000 000000 int main() { return 0; } cmake-2.8.12.2/Modules/ecos_clean.cmake000644 000765 000024 00000001710 12266011634 020342 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) file(GLOB _files ${ECOS_DIR}/*) # remove all directories, which consist of lower-case letters only # this skips e.g. CVS/ and .subversion/ foreach(_entry ${_files}) if(IS_DIRECTORY ${_entry}) get_filename_component(dir ${_entry} NAME) if(${dir} MATCHES "^[a-z]+$") file(REMOVE_RECURSE ${_entry}) endif() endif() endforeach() cmake-2.8.12.2/Modules/exportheader.cmake.in000644 000765 000024 00000001617 12266011634 021354 0ustar00kitwarestaff000000 000000 #ifndef @INCLUDE_GUARD_NAME@ #define @INCLUDE_GUARD_NAME@ #ifdef @STATIC_DEFINE@ # define @EXPORT_MACRO_NAME@ # define @NO_EXPORT_MACRO_NAME@ #else # ifndef @EXPORT_MACRO_NAME@ # ifdef @EXPORT_IMPORT_CONDITION@ /* We are building this library */ # define @EXPORT_MACRO_NAME@ @DEFINE_EXPORT@ # else /* We are using this library */ # define @EXPORT_MACRO_NAME@ @DEFINE_IMPORT@ # endif # endif # ifndef @NO_EXPORT_MACRO_NAME@ # define @NO_EXPORT_MACRO_NAME@ @DEFINE_NO_EXPORT@ # endif #endif #ifndef @DEPRECATED_MACRO_NAME@ # define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@ # define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@ # define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@ #endif #cmakedefine01 DEFINE_NO_DEPRECATED #if DEFINE_NO_DEPRECATED # define @NO_DEPRECATED_MACRO_NAME@ #endif #endif cmake-2.8.12.2/Modules/ExternalData.cmake000644 000765 000024 00000073743 12266011634 020642 0ustar00kitwarestaff000000 000000 # - Manage data files stored outside source tree # Use this module to unambiguously reference data files stored outside the # source tree and fetch them at build time from arbitrary local and remote # content-addressed locations. Functions provided by this module recognize # arguments with the syntax "DATA{}" as references to external data, # replace them with full paths to local copies of those data, and create build # rules to fetch and update the local copies. # # The DATA{} syntax is literal and the is a full or relative path # within the source tree. The source tree must contain either a real data # file at or a "content link" at containing a hash of the # real file using a hash algorithm corresponding to . For example, the # argument "DATA{img.png}" may be satisfied by either a real "img.png" file in # the current source directory or a "img.png.md5" file containing its MD5 sum. # # The 'ExternalData_Expand_Arguments' function evaluates DATA{} references # in its arguments and constructs a new list of arguments: # ExternalData_Expand_Arguments( # # Name of data management target # # Output variable # [args...] # Input arguments, DATA{} allowed # ) # It replaces each DATA{} reference in an argument with the full path of a # real data file on disk that will exist after the builds. # # The 'ExternalData_Add_Test' function wraps around the CMake add_test() # command but supports DATA{} references in its arguments: # ExternalData_Add_Test( # # Name of data management target # ... # Arguments of add_test(), DATA{} allowed # ) # It passes its arguments through ExternalData_Expand_Arguments and then # invokes add_test() using the results. # # The 'ExternalData_Add_Target' function creates a custom target to manage # local instances of data files stored externally: # ExternalData_Add_Target( # # Name of data management target # ) # It creates custom commands in the target as necessary to make data files # available for each DATA{} reference previously evaluated by other functions # provided by this module. A list of URL templates must be provided in the # variable ExternalData_URL_TEMPLATES using the placeholders "%(algo)" and # "%(hash)" in each template. Data fetch rules try each URL template in order # by substituting the hash algorithm name for "%(algo)" and the hash value for # "%(hash)". # # The following hash algorithms are supported: # %(algo) Description # ------- ----- ----------- # MD5 .md5 Message-Digest Algorithm 5, RFC 1321 # SHA1 .sha1 US Secure Hash Algorithm 1, RFC 3174 # SHA224 .sha224 US Secure Hash Algorithms, RFC 4634 # SHA256 .sha256 US Secure Hash Algorithms, RFC 4634 # SHA384 .sha384 US Secure Hash Algorithms, RFC 4634 # SHA512 .sha512 US Secure Hash Algorithms, RFC 4634 # Note that the hashes are used only for unique data identification and # download verification. This is not security software. # # Example usage: # include(ExternalData) # set(ExternalData_URL_TEMPLATES "file:///local/%(algo)/%(hash)" # "http://data.org/%(algo)/%(hash)") # ExternalData_Add_Test(MyData # NAME MyTest # COMMAND MyExe DATA{MyInput.png} # ) # ExternalData_Add_Target(MyData) # When test "MyTest" runs the "DATA{MyInput.png}" argument will be replaced by # the full path to a real instance of the data file "MyInput.png" on disk. If # the source tree contains a content link such as "MyInput.png.md5" then the # "MyData" target creates a real "MyInput.png" in the build tree. # # The DATA{} syntax can be told to fetch a file series using the form # "DATA{,:}", where the ":" is literal. If the source tree contains a # group of files or content links named like a series then a reference to one # member adds rules to fetch all of them. Although all members of a series # are fetched, only the file originally named by the DATA{} argument is # substituted for it. The default configuration recognizes file series names # ending with "#.ext", "_#.ext", ".#.ext", or "-#.ext" where "#" is a sequence # of decimal digits and ".ext" is any single extension. Configure it with a # regex that parses and parts from the end of : # ExternalData_SERIES_PARSE = regex of the form ()()$ # For more complicated cases set: # ExternalData_SERIES_PARSE = regex with at least two () groups # ExternalData_SERIES_PARSE_PREFIX = regex group number, if any # ExternalData_SERIES_PARSE_NUMBER = regex group number # ExternalData_SERIES_PARSE_SUFFIX = regex group number # Configure series number matching with a regex that matches the # part of series members named : # ExternalData_SERIES_MATCH = regex matching in all series members # Note that the of a series does not include a hash-algorithm # extension. # # The DATA{} syntax can alternatively match files associated with the named # file and contained in the same directory. Associated files may be specified # by options using the syntax DATA{,,,...}. Each option may # specify one file by name or specify a regular expression to match file names # using the syntax REGEX:. For example, the arguments # DATA{MyData/MyInput.mhd,MyInput.img} # File pair # DATA{MyData/MyFrames00.png,REGEX:MyFrames[0-9]+\\.png} # Series # will pass MyInput.mha and MyFrames00.png on the command line but ensure # that the associated files are present next to them. # # The DATA{} syntax may reference a directory using a trailing slash and a # list of associated files. The form DATA{/,,,...} adds # rules to fetch any files in the directory that match one of the associated # file options. For example, the argument DATA{MyDataDir/,REGEX:.*} will pass # the full path to a MyDataDir directory on the command line and ensure that # the directory contains files corresponding to every file or content link in # the MyDataDir source directory. # # The variable ExternalData_LINK_CONTENT may be set to the name of a supported # hash algorithm to enable automatic conversion of real data files referenced # by the DATA{} syntax into content links. For each such a content # link named "" is created. The original file is renamed to the # form ".ExternalData__" to stage it for future transmission to # one of the locations in the list of URL templates (by means outside the # scope of this module). The data fetch rule created for the content link # will use the staged object if it cannot be found using any URL template. # # The variable ExternalData_OBJECT_STORES may be set to a list of local # directories that store objects using the layout /%(algo)/%(hash). # These directories will be searched first for a needed object. If the object # is not available in any store then it will be fetched remotely using the URL # templates and added to the first local store listed. If no stores are # specified the default is a location inside the build tree. # # The variable ExternalData_SOURCE_ROOT may be set to the highest source # directory containing any path named by a DATA{} reference. The default is # CMAKE_SOURCE_DIR. ExternalData_SOURCE_ROOT and CMAKE_SOURCE_DIR must refer # to directories within a single source distribution (e.g. they come together # in one tarball). # # The variable ExternalData_BINARY_ROOT may be set to the directory to hold # the real data files named by expanded DATA{} references. The default is # CMAKE_BINARY_DIR. The directory layout will mirror that of content links # under ExternalData_SOURCE_ROOT. # # Variables ExternalData_TIMEOUT_INACTIVITY and ExternalData_TIMEOUT_ABSOLUTE # set the download inactivity and absolute timeouts, in seconds. The defaults # are 60 seconds and 300 seconds, respectively. Set either timeout to 0 # seconds to disable enforcement. #============================================================================= # Copyright 2010-2013 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) function(ExternalData_add_test target) # Expand all arguments as a single string to preserve escaped semicolons. ExternalData_expand_arguments("${target}" testArgs "${ARGN}") add_test(${testArgs}) endfunction() function(ExternalData_add_target target) if(NOT ExternalData_URL_TEMPLATES) message(FATAL_ERROR "ExternalData_URL_TEMPLATES is not set!") endif() if(NOT ExternalData_OBJECT_STORES) set(ExternalData_OBJECT_STORES ${CMAKE_BINARY_DIR}/ExternalData/Objects) endif() set(config ${CMAKE_CURRENT_BINARY_DIR}/${target}_config.cmake) configure_file(${_ExternalData_SELF_DIR}/ExternalData_config.cmake.in ${config} @ONLY) set(files "") # Set "_ExternalData_FILE_${file}" for each output file to avoid duplicate # rules. Use local data first to prefer real files over content links. # Custom commands to copy or link local data. get_property(data_local GLOBAL PROPERTY _ExternalData_${target}_LOCAL) foreach(entry IN LISTS data_local) string(REPLACE "|" ";" tuple "${entry}") list(GET tuple 0 file) list(GET tuple 1 name) if(NOT DEFINED "_ExternalData_FILE_${file}") set("_ExternalData_FILE_${file}" 1) add_custom_command( COMMENT "Generating ${file}" OUTPUT "${file}" COMMAND ${CMAKE_COMMAND} -Drelative_top=${CMAKE_BINARY_DIR} -Dfile=${file} -Dname=${name} -DExternalData_ACTION=local -DExternalData_CONFIG=${config} -P ${_ExternalData_SELF} MAIN_DEPENDENCY "${name}" ) list(APPEND files "${file}") endif() endforeach() # Custom commands to fetch remote data. get_property(data_fetch GLOBAL PROPERTY _ExternalData_${target}_FETCH) foreach(entry IN LISTS data_fetch) string(REPLACE "|" ";" tuple "${entry}") list(GET tuple 0 file) list(GET tuple 1 name) list(GET tuple 2 ext) set(stamp "${ext}-stamp") if(NOT DEFINED "_ExternalData_FILE_${file}") set("_ExternalData_FILE_${file}" 1) add_custom_command( # Users care about the data file, so hide the hash/timestamp file. COMMENT "Generating ${file}" # The hash/timestamp file is the output from the build perspective. # List the real file as a second output in case it is a broken link. # The files must be listed in this order so CMake can hide from the # make tool that a symlink target may not be newer than the input. OUTPUT "${file}${stamp}" "${file}" # Run the data fetch/update script. COMMAND ${CMAKE_COMMAND} -Drelative_top=${CMAKE_BINARY_DIR} -Dfile=${file} -Dname=${name} -Dext=${ext} -DExternalData_ACTION=fetch -DExternalData_CONFIG=${config} -P ${_ExternalData_SELF} # Update whenever the object hash changes. MAIN_DEPENDENCY "${name}${ext}" ) list(APPEND files "${file}${stamp}") endif() endforeach() # Custom target to drive all update commands. add_custom_target(${target} ALL DEPENDS ${files}) endfunction() function(ExternalData_expand_arguments target outArgsVar) # Replace DATA{} references with real arguments. set(data_regex "DATA{([^;{}\r\n]*)}") set(other_regex "([^D]|D[^A]|DA[^T]|DAT[^A]|DATA[^{])+|.") set(outArgs "") # This list expansion un-escapes semicolons in list element values so we # must re-escape them below anywhere a new list expansion will occur. foreach(arg IN LISTS ARGN) if("x${arg}" MATCHES "${data_regex}") # Re-escape in-value semicolons before expansion in foreach below. string(REPLACE ";" "\\;" tmp "${arg}") # Split argument into DATA{}-pieces and other pieces. string(REGEX MATCHALL "${data_regex}|${other_regex}" pieces "${tmp}") # Compose output argument with DATA{}-pieces replaced. set(outArg "") foreach(piece IN LISTS pieces) if("x${piece}" MATCHES "^x${data_regex}$") # Replace this DATA{}-piece with a file path. string(REGEX REPLACE "${data_regex}" "\\1" data "${piece}") _ExternalData_arg("${target}" "${piece}" "${data}" file) set(outArg "${outArg}${file}") else() # No replacement needed for this piece. set(outArg "${outArg}${piece}") endif() endforeach() else() # No replacements needed in this argument. set(outArg "${arg}") endif() # Re-escape in-value semicolons in resulting list. string(REPLACE ";" "\\;" outArg "${outArg}") list(APPEND outArgs "${outArg}") endforeach() set("${outArgsVar}" "${outArgs}" PARENT_SCOPE) endfunction() #----------------------------------------------------------------------------- # Private helper interface set(_ExternalData_REGEX_ALGO "MD5|SHA1|SHA224|SHA256|SHA384|SHA512") set(_ExternalData_REGEX_EXT "md5|sha1|sha224|sha256|sha384|sha512") set(_ExternalData_SELF "${CMAKE_CURRENT_LIST_FILE}") get_filename_component(_ExternalData_SELF_DIR "${_ExternalData_SELF}" PATH) function(_ExternalData_compute_hash var_hash algo file) if("${algo}" MATCHES "^${_ExternalData_REGEX_ALGO}$") file("${algo}" "${file}" hash) set("${var_hash}" "${hash}" PARENT_SCOPE) else() message(FATAL_ERROR "Hash algorithm ${algo} unimplemented.") endif() endfunction() function(_ExternalData_random var) string(RANDOM LENGTH 6 random) set("${var}" "${random}" PARENT_SCOPE) endfunction() function(_ExternalData_exact_regex regex_var string) string(REGEX REPLACE "([][+.*()^])" "\\\\\\1" regex "${string}") set("${regex_var}" "${regex}" PARENT_SCOPE) endfunction() function(_ExternalData_atomic_write file content) _ExternalData_random(random) set(tmp "${file}.tmp${random}") file(WRITE "${tmp}" "${content}") file(RENAME "${tmp}" "${file}") endfunction() function(_ExternalData_link_content name var_ext) if("${ExternalData_LINK_CONTENT}" MATCHES "^(${_ExternalData_REGEX_ALGO})$") set(algo "${ExternalData_LINK_CONTENT}") else() message(FATAL_ERROR "Unknown hash algorithm specified by ExternalData_LINK_CONTENT:\n" " ${ExternalData_LINK_CONTENT}") endif() _ExternalData_compute_hash(hash "${algo}" "${name}") get_filename_component(dir "${name}" PATH) set(staged "${dir}/.ExternalData_${algo}_${hash}") string(TOLOWER ".${algo}" ext) _ExternalData_atomic_write("${name}${ext}" "${hash}\n") file(RENAME "${name}" "${staged}") set("${var_ext}" "${ext}" PARENT_SCOPE) file(RELATIVE_PATH relname "${ExternalData_SOURCE_ROOT}" "${name}${ext}") message(STATUS "Linked ${relname} to ExternalData ${algo}/${hash}") endfunction() function(_ExternalData_arg target arg options var_file) # Separate data path from the options. string(REPLACE "," ";" options "${options}") list(GET options 0 data) list(REMOVE_AT options 0) # Interpret trailing slashes as directories. set(data_is_directory 0) if("x${data}" MATCHES "^x(.*)([/\\])$") set(data_is_directory 1) set(data "${CMAKE_MATCH_1}") endif() # Convert to full path. if(IS_ABSOLUTE "${data}") set(absdata "${data}") else() set(absdata "${CMAKE_CURRENT_SOURCE_DIR}/${data}") endif() get_filename_component(absdata "${absdata}" ABSOLUTE) # Convert to relative path under the source tree. if(NOT ExternalData_SOURCE_ROOT) set(ExternalData_SOURCE_ROOT "${CMAKE_SOURCE_DIR}") endif() set(top_src "${ExternalData_SOURCE_ROOT}") file(RELATIVE_PATH reldata "${top_src}" "${absdata}") if(IS_ABSOLUTE "${reldata}" OR "${reldata}" MATCHES "^\\.\\./") message(FATAL_ERROR "Data file referenced by argument\n" " ${arg}\n" "does not lie under the top-level source directory\n" " ${top_src}\n") endif() if(data_is_directory AND NOT IS_DIRECTORY "${top_src}/${reldata}") message(FATAL_ERROR "Data directory referenced by argument\n" " ${arg}\n" "corresponds to source tree path\n" " ${reldata}\n" "that does not exist as a directory!") endif() if(NOT ExternalData_BINARY_ROOT) set(ExternalData_BINARY_ROOT "${CMAKE_BINARY_DIR}") endif() set(top_bin "${ExternalData_BINARY_ROOT}") # Handle in-source builds gracefully. if("${top_src}" STREQUAL "${top_bin}") if(ExternalData_LINK_CONTENT) message(WARNING "ExternalData_LINK_CONTENT cannot be used in-source") set(ExternalData_LINK_CONTENT 0) endif() set(top_same 1) endif() set(external "") # Entries external to the source tree. set(internal "") # Entries internal to the source tree. set(have_original ${data_is_directory}) # Process options. set(series_option "") set(associated_files "") set(associated_regex "") foreach(opt ${options}) if("x${opt}" MATCHES "^xREGEX:[^:/]+$") # Regular expression to match associated files. string(REGEX REPLACE "^REGEX:" "" regex "${opt}") list(APPEND associated_regex "${regex}") elseif(opt STREQUAL ":") # Activate series matching. set(series_option "${opt}") elseif("x${opt}" MATCHES "^[^][:/*?]+$") # Specific associated file. list(APPEND associated_files "${opt}") else() message(FATAL_ERROR "Unknown option \"${opt}\" in argument\n" " ${arg}\n") endif() endforeach() if(series_option) if(data_is_directory) message(FATAL_ERROR "Series option \"${series_option}\" not allowed with directories.") endif() if(associated_files OR associated_regex) message(FATAL_ERROR "Series option \"${series_option}\" not allowed with associated files.") endif() # Load a whole file series. _ExternalData_arg_series() elseif(data_is_directory) if(associated_files OR associated_regex) # Load listed/matching associated files in the directory. _ExternalData_arg_associated() else() message(FATAL_ERROR "Data directory referenced by argument\n" " ${arg}\n" "must list associated files.") endif() else() # Load the named data file. _ExternalData_arg_single() if(associated_files OR associated_regex) # Load listed/matching associated files. _ExternalData_arg_associated() endif() endif() if(NOT have_original) message(FATAL_ERROR "Data file referenced by argument\n" " ${arg}\n" "corresponds to source tree path\n" " ${reldata}\n" "that does not exist as a file (with or without an extension)!") endif() if(external) # Make the series available in the build tree. set_property(GLOBAL APPEND PROPERTY _ExternalData_${target}_FETCH "${external}") set_property(GLOBAL APPEND PROPERTY _ExternalData_${target}_LOCAL "${internal}") set("${var_file}" "${top_bin}/${reldata}" PARENT_SCOPE) else() # The whole series is in the source tree. set("${var_file}" "${top_src}/${reldata}" PARENT_SCOPE) endif() endfunction() macro(_ExternalData_arg_associated) # Associated files lie in the same directory. if(data_is_directory) set(reldir "${reldata}") else() get_filename_component(reldir "${reldata}" PATH) endif() if(reldir) set(reldir "${reldir}/") endif() _ExternalData_exact_regex(reldir_regex "${reldir}") # Find files named explicitly. foreach(file ${associated_files}) _ExternalData_exact_regex(file_regex "${file}") _ExternalData_arg_find_files("${reldir}${file}" "${reldir_regex}${file_regex}") endforeach() # Find files matching the given regular expressions. set(all "") set(sep "") foreach(regex ${associated_regex}) set(all "${all}${sep}${reldir_regex}${regex}") set(sep "|") endforeach() _ExternalData_arg_find_files("${reldir}" "${all}") endmacro() macro(_ExternalData_arg_single) # Match only the named data by itself. _ExternalData_exact_regex(data_regex "${reldata}") _ExternalData_arg_find_files("${reldata}" "${data_regex}") endmacro() macro(_ExternalData_arg_series) # Configure series parsing and matching. set(series_parse_prefix "") set(series_parse_number "\\1") set(series_parse_suffix "\\2") if(ExternalData_SERIES_PARSE) if(ExternalData_SERIES_PARSE_NUMBER AND ExternalData_SERIES_PARSE_SUFFIX) if(ExternalData_SERIES_PARSE_PREFIX) set(series_parse_prefix "\\${ExternalData_SERIES_PARSE_PREFIX}") endif() set(series_parse_number "\\${ExternalData_SERIES_PARSE_NUMBER}") set(series_parse_suffix "\\${ExternalData_SERIES_PARSE_SUFFIX}") elseif(NOT "x${ExternalData_SERIES_PARSE}" MATCHES "^x\\([^()]*\\)\\([^()]*\\)\\$$") message(FATAL_ERROR "ExternalData_SERIES_PARSE is set to\n" " ${ExternalData_SERIES_PARSE}\n" "which is not of the form\n" " ()()$\n" "Fix the regular expression or set variables\n" " ExternalData_SERIES_PARSE_PREFIX = regex group number, if any\n" " ExternalData_SERIES_PARSE_NUMBER = regex group number\n" " ExternalData_SERIES_PARSE_SUFFIX = regex group number\n" ) endif() set(series_parse "${ExternalData_SERIES_PARSE}") else() set(series_parse "([0-9]*)(\\.[^./]*)$") endif() if(ExternalData_SERIES_MATCH) set(series_match "${ExternalData_SERIES_MATCH}") else() set(series_match "[_.-]?[0-9]*") endif() # Parse the base, number, and extension components of the series. string(REGEX REPLACE "${series_parse}" "${series_parse_prefix};${series_parse_number};${series_parse_suffix}" tuple "${reldata}") list(LENGTH tuple len) if(NOT "${len}" EQUAL 3) message(FATAL_ERROR "Data file referenced by argument\n" " ${arg}\n" "corresponds to path\n" " ${reldata}\n" "that does not match regular expression\n" " ${series_parse}") endif() list(GET tuple 0 relbase) list(GET tuple 2 ext) # Glob files that might match the series. # Then match base, number, and extension. _ExternalData_exact_regex(series_base "${relbase}") _ExternalData_exact_regex(series_ext "${ext}") _ExternalData_arg_find_files("${relbase}*${ext}" "${series_base}${series_match}${series_ext}") endmacro() function(_ExternalData_arg_find_files pattern regex) file(GLOB globbed RELATIVE "${top_src}" "${top_src}/${pattern}*") foreach(entry IN LISTS globbed) if("x${entry}" MATCHES "^x(.*)(\\.(${_ExternalData_REGEX_EXT}))$") set(relname "${CMAKE_MATCH_1}") set(alg "${CMAKE_MATCH_2}") else() set(relname "${entry}") set(alg "") endif() if("x${relname}" MATCHES "^x${regex}$" # matches AND NOT IS_DIRECTORY "${top_src}/${entry}" # not a directory AND NOT "x${relname}" MATCHES "(^x|/)\\.ExternalData_" # not staged obj ) set(name "${top_src}/${relname}") set(file "${top_bin}/${relname}") if(alg) list(APPEND external "${file}|${name}|${alg}") elseif(ExternalData_LINK_CONTENT) _ExternalData_link_content("${name}" alg) list(APPEND external "${file}|${name}|${alg}") elseif(NOT top_same) list(APPEND internal "${file}|${name}") endif() if("${relname}" STREQUAL "${reldata}") set(have_original 1) endif() endif() endforeach() set(external "${external}" PARENT_SCOPE) set(internal "${internal}" PARENT_SCOPE) set(have_original "${have_original}" PARENT_SCOPE) endfunction() #----------------------------------------------------------------------------- # Private script mode interface if(CMAKE_GENERATOR OR NOT ExternalData_ACTION) return() endif() if(ExternalData_CONFIG) include(${ExternalData_CONFIG}) endif() if(NOT ExternalData_URL_TEMPLATES) message(FATAL_ERROR "No ExternalData_URL_TEMPLATES set!") endif() function(_ExternalData_link_or_copy src dst) # Create a temporary file first. get_filename_component(dst_dir "${dst}" PATH) file(MAKE_DIRECTORY "${dst_dir}") _ExternalData_random(random) set(tmp "${dst}.tmp${random}") if(UNIX) # Create a symbolic link. set(tgt "${src}") if(relative_top) # Use relative path if files are close enough. file(RELATIVE_PATH relsrc "${relative_top}" "${src}") file(RELATIVE_PATH relfile "${relative_top}" "${dst}") if(NOT IS_ABSOLUTE "${relsrc}" AND NOT "${relsrc}" MATCHES "^\\.\\./" AND NOT IS_ABSOLUTE "${reldst}" AND NOT "${reldst}" MATCHES "^\\.\\./") file(RELATIVE_PATH tgt "${dst_dir}" "${src}") endif() endif() execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${tgt}" "${tmp}" RESULT_VARIABLE result) else() # Create a copy. execute_process(COMMAND "${CMAKE_COMMAND}" -E copy "${src}" "${tmp}" RESULT_VARIABLE result) endif() if(result) file(REMOVE "${tmp}") message(FATAL_ERROR "Failed to create\n ${tmp}\nfrom\n ${obj}") endif() # Atomically create/replace the real destination. file(RENAME "${tmp}" "${dst}") endfunction() function(_ExternalData_download_file url file err_var msg_var) set(retry 3) while(retry) math(EXPR retry "${retry} - 1") if(ExternalData_TIMEOUT_INACTIVITY) set(inactivity_timeout INACTIVITY_TIMEOUT ${ExternalData_TIMEOUT_INACTIVITY}) elseif(NOT "${ExternalData_TIMEOUT_INACTIVITY}" EQUAL 0) set(inactivity_timeout INACTIVITY_TIMEOUT 60) else() set(inactivity_timeout "") endif() if(ExternalData_TIMEOUT_ABSOLUTE) set(absolute_timeout TIMEOUT ${ExternalData_TIMEOUT_ABSOLUTE}) elseif(NOT "${ExternalData_TIMEOUT_ABSOLUTE}" EQUAL 0) set(absolute_timeout TIMEOUT 300) else() set(absolute_timeout "") endif() file(DOWNLOAD "${url}" "${file}" STATUS status LOG log ${inactivity_timeout} ${absolute_timeout} SHOW_PROGRESS) list(GET status 0 err) list(GET status 1 msg) if(err) if("${msg}" MATCHES "HTTP response code said error" AND "${log}" MATCHES "error: 503") set(msg "temporarily unavailable") endif() elseif("${log}" MATCHES "\nHTTP[^\n]* 503") set(err TRUE) set(msg "temporarily unavailable") endif() if(NOT err OR NOT "${msg}" MATCHES "partial|timeout|temporarily") break() elseif(retry) message(STATUS "[download terminated: ${msg}, retries left: ${retry}]") endif() endwhile() set("${err_var}" "${err}" PARENT_SCOPE) set("${msg_var}" "${msg}" PARENT_SCOPE) endfunction() function(_ExternalData_download_object name hash algo var_obj) # Search all object stores for an existing object. foreach(dir ${ExternalData_OBJECT_STORES}) set(obj "${dir}/${algo}/${hash}") if(EXISTS "${obj}") message(STATUS "Found object: \"${obj}\"") set("${var_obj}" "${obj}" PARENT_SCOPE) return() endif() endforeach() # Download object to the first store. list(GET ExternalData_OBJECT_STORES 0 store) set(obj "${store}/${algo}/${hash}") _ExternalData_random(random) set(tmp "${obj}.tmp${random}") set(found 0) set(tried "") foreach(url_template IN LISTS ExternalData_URL_TEMPLATES) string(REPLACE "%(hash)" "${hash}" url_tmp "${url_template}") string(REPLACE "%(algo)" "${algo}" url "${url_tmp}") message(STATUS "Fetching \"${url}\"") _ExternalData_download_file("${url}" "${tmp}" err errMsg) set(tried "${tried}\n ${url}") if(err) set(tried "${tried} (${errMsg})") else() # Verify downloaded object. _ExternalData_compute_hash(dl_hash "${algo}" "${tmp}") if("${dl_hash}" STREQUAL "${hash}") set(found 1) break() else() set(tried "${tried} (wrong hash ${algo}=${dl_hash})") if("$ENV{ExternalData_DEBUG_DOWNLOAD}" MATCHES ".") file(RENAME "${tmp}" "${store}/${algo}/${dl_hash}") endif() endif() endif() file(REMOVE "${tmp}") endforeach() get_filename_component(dir "${name}" PATH) set(staged "${dir}/.ExternalData_${algo}_${hash}") if(found) file(RENAME "${tmp}" "${obj}") message(STATUS "Downloaded object: \"${obj}\"") elseif(EXISTS "${staged}") set(obj "${staged}") message(STATUS "Staged object: \"${obj}\"") else() message(FATAL_ERROR "Object ${algo}=${hash} not found at:${tried}") endif() set("${var_obj}" "${obj}" PARENT_SCOPE) endfunction() if("${ExternalData_ACTION}" STREQUAL "fetch") foreach(v ExternalData_OBJECT_STORES file name ext) if(NOT DEFINED "${v}") message(FATAL_ERROR "No \"-D${v}=\" value provided!") endif() endforeach() file(READ "${name}${ext}" hash) string(STRIP "${hash}" hash) if("${ext}" MATCHES "^\\.(${_ExternalData_REGEX_EXT})$") string(TOUPPER "${CMAKE_MATCH_1}" algo) else() message(FATAL_ERROR "Unknown hash algorithm extension \"${ext}\"") endif() _ExternalData_download_object("${name}" "${hash}" "${algo}" obj) # Check if file already corresponds to the object. set(stamp "${ext}-stamp") set(file_up_to_date 0) if(EXISTS "${file}" AND EXISTS "${file}${stamp}") file(READ "${file}${stamp}" f_hash) string(STRIP "${f_hash}" f_hash) if("${f_hash}" STREQUAL "${hash}") #message(STATUS "File already corresponds to object") set(file_up_to_date 1) endif() endif() if(file_up_to_date) # Touch the file to convince the build system it is up to date. execute_process(COMMAND "${CMAKE_COMMAND}" -E touch "${file}") else() _ExternalData_link_or_copy("${obj}" "${file}") endif() # Atomically update the hash/timestamp file to record the object referenced. _ExternalData_atomic_write("${file}${stamp}" "${hash}\n") elseif("${ExternalData_ACTION}" STREQUAL "local") foreach(v file name) if(NOT DEFINED "${v}") message(FATAL_ERROR "No \"-D${v}=\" value provided!") endif() endforeach() _ExternalData_link_or_copy("${name}" "${file}") else() message(FATAL_ERROR "Unknown ExternalData_ACTION=[${ExternalData_ACTION}]") endif() cmake-2.8.12.2/Modules/ExternalData_config.cmake.in000644 000765 000024 00000000414 12266011634 022555 0ustar00kitwarestaff000000 000000 set(ExternalData_OBJECT_STORES "@ExternalData_OBJECT_STORES@") set(ExternalData_URL_TEMPLATES "@ExternalData_URL_TEMPLATES@") set(ExternalData_TIMEOUT_INACTIVITY "@ExternalData_TIMEOUT_INACTIVITY@") set(ExternalData_TIMEOUT_ABSOLUTE "@ExternalData_TIMEOUT_ABSOLUTE@") cmake-2.8.12.2/Modules/ExternalProject.cmake000644 000765 000024 00000172760 12266011634 021376 0ustar00kitwarestaff000000 000000 # - Create custom targets to build projects in external trees # The 'ExternalProject_Add' function creates a custom target to drive # download, update/patch, configure, build, install and test steps of an # external project: # ExternalProject_Add( # Name for custom target # [DEPENDS projects...] # Targets on which the project depends # [PREFIX dir] # Root dir for entire project # [LIST_SEPARATOR sep] # Sep to be replaced by ; in cmd lines # [TMP_DIR dir] # Directory to store temporary files # [STAMP_DIR dir] # Directory to store step timestamps # #--Download step-------------- # [DOWNLOAD_NAME fname] # File name to store (if not end of URL) # [DOWNLOAD_DIR dir] # Directory to store downloaded files # [DOWNLOAD_COMMAND cmd...] # Command to download source tree # [CVS_REPOSITORY cvsroot] # CVSROOT of CVS repository # [CVS_MODULE mod] # Module to checkout from CVS repo # [CVS_TAG tag] # Tag to checkout from CVS repo # [SVN_REPOSITORY url] # URL of Subversion repo # [SVN_REVISION rev] # Revision to checkout from Subversion repo # [SVN_USERNAME john ] # Username for Subversion checkout and update # [SVN_PASSWORD doe ] # Password for Subversion checkout and update # [SVN_TRUST_CERT 1 ] # Trust the Subversion server site certificate # [GIT_REPOSITORY url] # URL of git repo # [GIT_TAG tag] # Git branch name, commit id or tag # [HG_REPOSITORY url] # URL of mercurial repo # [HG_TAG tag] # Mercurial branch name, commit id or tag # [URL /.../src.tgz] # Full path or URL of source # [URL_HASH ALGO=value] # Hash of file at URL # [URL_MD5 md5] # Equivalent to URL_HASH MD5=md5 # [TLS_VERIFY bool] # Should certificate for https be checked # [TLS_CAINFO file] # Path to a certificate authority file # [TIMEOUT seconds] # Time allowed for file download operations # #--Update/Patch step---------- # [UPDATE_COMMAND cmd...] # Source work-tree update command # [PATCH_COMMAND cmd...] # Command to patch downloaded source # #--Configure step------------- # [SOURCE_DIR dir] # Source dir to be used for build # [CONFIGURE_COMMAND cmd...] # Build tree configuration command # [CMAKE_COMMAND /.../cmake] # Specify alternative cmake executable # [CMAKE_GENERATOR gen] # Specify generator for native build # [CMAKE_GENERATOR_TOOLSET t] # Generator-specific toolset name # [CMAKE_ARGS args...] # Arguments to CMake command line # [CMAKE_CACHE_ARGS args...] # Initial cache arguments, of the form -Dvar:string=on # #--Build step----------------- # [BINARY_DIR dir] # Specify build dir location # [BUILD_COMMAND cmd...] # Command to drive the native build # [BUILD_IN_SOURCE 1] # Use source dir for build dir # #--Install step--------------- # [INSTALL_DIR dir] # Installation prefix # [INSTALL_COMMAND cmd...] # Command to drive install after build # #--Test step------------------ # [TEST_BEFORE_INSTALL 1] # Add test step executed before install step # [TEST_AFTER_INSTALL 1] # Add test step executed after install step # [TEST_COMMAND cmd...] # Command to drive test # #--Output logging------------- # [LOG_DOWNLOAD 1] # Wrap download in script to log output # [LOG_UPDATE 1] # Wrap update in script to log output # [LOG_CONFIGURE 1] # Wrap configure in script to log output # [LOG_BUILD 1] # Wrap build in script to log output # [LOG_TEST 1] # Wrap test in script to log output # [LOG_INSTALL 1] # Wrap install in script to log output # #--Custom targets------------- # [STEP_TARGETS st1 st2 ...] # Generate custom targets for these steps # ) # The *_DIR options specify directories for the project, with default # directories computed as follows. # If the PREFIX option is given to ExternalProject_Add() or the EP_PREFIX # directory property is set, then an external project is built and installed # under the specified prefix: # TMP_DIR = /tmp # STAMP_DIR = /src/-stamp # DOWNLOAD_DIR = /src # SOURCE_DIR = /src/ # BINARY_DIR = /src/-build # INSTALL_DIR = # Otherwise, if the EP_BASE directory property is set then components # of an external project are stored under the specified base: # TMP_DIR = /tmp/ # STAMP_DIR = /Stamp/ # DOWNLOAD_DIR = /Download/ # SOURCE_DIR = /Source/ # BINARY_DIR = /Build/ # INSTALL_DIR = /Install/ # If no PREFIX, EP_PREFIX, or EP_BASE is specified then the default # is to set PREFIX to "-prefix". # Relative paths are interpreted with respect to the build directory # corresponding to the source directory in which ExternalProject_Add is # invoked. # # If SOURCE_DIR is explicitly set to an existing directory the project # will be built from it. # Otherwise a download step must be specified using one of the # DOWNLOAD_COMMAND, CVS_*, SVN_*, or URL options. # The URL option may refer locally to a directory or source tarball, # or refer to a remote tarball (e.g. http://.../src.tgz). # # The 'ExternalProject_Add_Step' function adds a custom step to an external # project: # ExternalProject_Add_Step( # Names of project and custom step # [COMMAND cmd...] # Command line invoked by this step # [COMMENT "text..."] # Text printed when step executes # [DEPENDEES steps...] # Steps on which this step depends # [DEPENDERS steps...] # Steps that depend on this step # [DEPENDS files...] # Files on which this step depends # [ALWAYS 1] # No stamp file, step always runs # [WORKING_DIRECTORY dir] # Working directory for command # [LOG 1] # Wrap step in script to log output # ) # The command line, comment, and working directory of every standard # and custom step is processed to replace tokens # , # , # , # and # with corresponding property values. # # Any builtin step that specifies a "_COMMAND cmd..." or custom # step that specifies a "COMMAND cmd..." may specify additional command # lines using the form "COMMAND cmd...". At build time the commands will # be executed in order and aborted if any one fails. For example: # ... BUILD_COMMAND make COMMAND echo done ... # specifies to run "make" and then "echo done" during the build step. # Whether the current working directory is preserved between commands # is not defined. Behavior of shell operators like "&&" is not defined. # # The 'ExternalProject_Get_Property' function retrieves external project # target properties: # ExternalProject_Get_Property( [prop1 [prop2 [...]]]) # It stores property values in variables of the same name. # Property names correspond to the keyword argument names of # 'ExternalProject_Add'. # # The 'ExternalProject_Add_StepTargets' function generates custom targets for # the steps listed: # ExternalProject_Add_StepTargets( [step1 [step2 [...]]]) # # If STEP_TARGETS is set then ExternalProject_Add_StepTargets is automatically # called at the end of matching calls to ExternalProject_Add_Step. Pass # STEP_TARGETS explicitly to individual ExternalProject_Add calls, or # implicitly to all ExternalProject_Add calls by setting the directory property # EP_STEP_TARGETS. # # If STEP_TARGETS is not set, clients may still manually call # ExternalProject_Add_StepTargets after calling ExternalProject_Add or # ExternalProject_Add_Step. # # This functionality is provided to make it easy to drive the steps # independently of each other by specifying targets on build command lines. # For example, you may be submitting to a sub-project based dashboard, where # you want to drive the configure portion of the build, then submit to the # dashboard, followed by the build portion, followed by tests. If you invoke # a custom target that depends on a step halfway through the step dependency # chain, then all the previous steps will also run to ensure everything is # up to date. # # For example, to drive configure, build and test steps independently for each # ExternalProject_Add call in your project, write the following line prior to # any ExternalProject_Add calls in your CMakeLists file: # # set_property(DIRECTORY PROPERTY EP_STEP_TARGETS configure build test) #============================================================================= # Copyright 2008-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Pre-compute a regex to match documented keywords for each command. math(EXPR _ep_documentation_line_count "${CMAKE_CURRENT_LIST_LINE} - 16") file(STRINGS "${CMAKE_CURRENT_LIST_FILE}" lines LIMIT_COUNT ${_ep_documentation_line_count} REGEX "^# ( \\[[A-Z0-9_]+ [^]]*\\] +#.*$|[A-Za-z0-9_]+\\()") foreach(line IN LISTS lines) if("${line}" MATCHES "^# [A-Za-z0-9_]+\\(") if(_ep_func) set(_ep_keywords_${_ep_func} "${_ep_keywords_${_ep_func}})$") endif() string(REGEX REPLACE "^# ([A-Za-z0-9_]+)\\(.*" "\\1" _ep_func "${line}") #message("function [${_ep_func}]") set(_ep_keywords_${_ep_func} "^(") set(_ep_keyword_sep) else() string(REGEX REPLACE "^# \\[([A-Z0-9_]+) .*" "\\1" _ep_key "${line}") #message(" keyword [${_ep_key}]") set(_ep_keywords_${_ep_func} "${_ep_keywords_${_ep_func}}${_ep_keyword_sep}${_ep_key}") set(_ep_keyword_sep "|") endif() endforeach() if(_ep_func) set(_ep_keywords_${_ep_func} "${_ep_keywords_${_ep_func}})$") endif() # Save regex matching supported hash algorithm names. set(_ep_hash_algos "MD5|SHA1|SHA224|SHA256|SHA384|SHA512") set(_ep_hash_regex "^(${_ep_hash_algos})=([0-9A-Fa-f]+)$") function(_ep_parse_arguments f name ns args) # Transfer the arguments to this function into target properties for the # new custom target we just added so that we can set up all the build steps # correctly based on target properties. # # We loop through ARGN and consider the namespace starting with an # upper-case letter followed by at least two more upper-case letters, # numbers or underscores to be keywords. set(key) foreach(arg IN LISTS args) set(is_value 1) if(arg MATCHES "^[A-Z][A-Z0-9_][A-Z0-9_]+$" AND NOT ((arg STREQUAL "${key}") AND (key STREQUAL "COMMAND")) AND NOT arg MATCHES "^(TRUE|FALSE)$") if(_ep_keywords_${f} AND arg MATCHES "${_ep_keywords_${f}}") set(is_value 0) endif() endif() if(is_value) if(key) # Value if(NOT arg STREQUAL "") set_property(TARGET ${name} APPEND PROPERTY ${ns}${key} "${arg}") else() get_property(have_key TARGET ${name} PROPERTY ${ns}${key} SET) if(have_key) get_property(value TARGET ${name} PROPERTY ${ns}${key}) set_property(TARGET ${name} PROPERTY ${ns}${key} "${value};${arg}") else() set_property(TARGET ${name} PROPERTY ${ns}${key} "${arg}") endif() endif() else() # Missing Keyword message(AUTHOR_WARNING "value '${arg}' with no previous keyword in ${f}") endif() else() set(key "${arg}") endif() endforeach() endfunction() define_property(DIRECTORY PROPERTY "EP_BASE" INHERITED BRIEF_DOCS "Base directory for External Project storage." FULL_DOCS "See documentation of the ExternalProject_Add() function in the " "ExternalProject module." ) define_property(DIRECTORY PROPERTY "EP_PREFIX" INHERITED BRIEF_DOCS "Top prefix for External Project storage." FULL_DOCS "See documentation of the ExternalProject_Add() function in the " "ExternalProject module." ) define_property(DIRECTORY PROPERTY "EP_STEP_TARGETS" INHERITED BRIEF_DOCS "List of ExternalProject steps that automatically get corresponding targets" FULL_DOCS "See documentation of the ExternalProject_Add_StepTargets() function in the " "ExternalProject module." ) function(_ep_write_gitclone_script script_filename source_dir git_EXECUTABLE git_repository git_tag src_name work_dir gitclone_infofile gitclone_stampfile) file(WRITE ${script_filename} "if(\"${git_tag}\" STREQUAL \"\") message(FATAL_ERROR \"Tag for git checkout should not be empty.\") endif() set(run 0) if(\"${gitclone_infofile}\" IS_NEWER_THAN \"${gitclone_stampfile}\") set(run 1) endif() if(NOT run) message(STATUS \"Avoiding repeated git clone, stamp file is up to date: '${gitclone_stampfile}'\") return() endif() execute_process( COMMAND \${CMAKE_COMMAND} -E remove_directory \"${source_dir}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to remove directory: '${source_dir}'\") endif() # try the clone 3 times incase there is an odd git clone issue set(error_code 1) set(number_of_tries 0) while(error_code AND number_of_tries LESS 3) execute_process( COMMAND \"${git_EXECUTABLE}\" clone \"${git_repository}\" \"${src_name}\" WORKING_DIRECTORY \"${work_dir}\" RESULT_VARIABLE error_code ) math(EXPR number_of_tries \"\${number_of_tries} + 1\") endwhile() if(number_of_tries GREATER 1) message(STATUS \"Had to git clone more than once: \${number_of_tries} times.\") endif() if(error_code) message(FATAL_ERROR \"Failed to clone repository: '${git_repository}'\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" checkout ${git_tag} WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to checkout tag: '${git_tag}'\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" submodule init WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to init submodules in: '${work_dir}/${src_name}'\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" submodule update --recursive WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to update submodules in: '${work_dir}/${src_name}'\") endif() # Complete success, update the script-last-run stamp file: # execute_process( COMMAND \${CMAKE_COMMAND} -E copy \"${gitclone_infofile}\" \"${gitclone_stampfile}\" WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to copy script-last-run stamp file: '${gitclone_stampfile}'\") endif() " ) endfunction() function(_ep_write_hgclone_script script_filename source_dir hg_EXECUTABLE hg_repository hg_tag src_name work_dir hgclone_infofile hgclone_stampfile) file(WRITE ${script_filename} "if(\"${hg_tag}\" STREQUAL \"\") message(FATAL_ERROR \"Tag for hg checkout should not be empty.\") endif() set(run 0) if(\"${hgclone_infofile}\" IS_NEWER_THAN \"${hgclone_stampfile}\") set(run 1) endif() if(NOT run) message(STATUS \"Avoiding repeated hg clone, stamp file is up to date: '${hgclone_stampfile}'\") return() endif() execute_process( COMMAND \${CMAKE_COMMAND} -E remove_directory \"${source_dir}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to remove directory: '${source_dir}'\") endif() execute_process( COMMAND \"${hg_EXECUTABLE}\" clone \"${hg_repository}\" \"${src_name}\" WORKING_DIRECTORY \"${work_dir}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to clone repository: '${hg_repository}'\") endif() execute_process( COMMAND \"${hg_EXECUTABLE}\" update ${hg_tag} WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to checkout tag: '${hg_tag}'\") endif() # Complete success, update the script-last-run stamp file: # execute_process( COMMAND \${CMAKE_COMMAND} -E copy \"${hgclone_infofile}\" \"${hgclone_stampfile}\" WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to copy script-last-run stamp file: '${hgclone_stampfile}'\") endif() " ) endfunction() function(_ep_write_gitupdate_script script_filename git_EXECUTABLE git_tag git_repository work_dir) file(WRITE ${script_filename} "if(\"${git_tag}\" STREQUAL \"\") message(FATAL_ERROR \"Tag for git checkout should not be empty.\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" rev-list --max-count=1 HEAD WORKING_DIRECTORY \"${work_dir}\" RESULT_VARIABLE error_code OUTPUT_VARIABLE head_sha ) if(error_code) message(FATAL_ERROR \"Failed to get the hash for HEAD\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" show-ref ${git_tag} WORKING_DIRECTORY \"${work_dir}\" OUTPUT_VARIABLE show_ref_output ) # If a remote ref is asked for, which can possibly move around, # we must always do a fetch and checkout. if(\"\${show_ref_output}\" MATCHES \"remotes\") set(is_remote_ref 1) else() set(is_remote_ref 0) endif() # This will fail if the tag does not exist (it probably has not been fetched # yet). execute_process( COMMAND \"${git_EXECUTABLE}\" rev-list --max-count=1 ${git_tag} WORKING_DIRECTORY \"${work_dir}\" RESULT_VARIABLE error_code OUTPUT_VARIABLE tag_sha ) # Is the hash checkout out that we want? if(error_code OR is_remote_ref OR NOT (\"\${tag_sha}\" STREQUAL \"\${head_sha}\")) execute_process( COMMAND \"${git_EXECUTABLE}\" fetch WORKING_DIRECTORY \"${work_dir}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to fetch repository '${git_repository}'\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" checkout ${git_tag} WORKING_DIRECTORY \"${work_dir}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to checkout tag: '${git_tag}'\") endif() execute_process( COMMAND \"${git_EXECUTABLE}\" submodule update --recursive WORKING_DIRECTORY \"${work_dir}/${src_name}\" RESULT_VARIABLE error_code ) if(error_code) message(FATAL_ERROR \"Failed to update submodules in: '${work_dir}/${src_name}'\") endif() endif() " ) endfunction(_ep_write_gitupdate_script) function(_ep_write_downloadfile_script script_filename remote local timeout hash tls_verify tls_cainfo) if(timeout) set(timeout_args TIMEOUT ${timeout}) set(timeout_msg "${timeout} seconds") else() set(timeout_args "# no TIMEOUT") set(timeout_msg "none") endif() if("${hash}" MATCHES "${_ep_hash_regex}") set(hash_args EXPECTED_HASH ${CMAKE_MATCH_1}=${CMAKE_MATCH_2}) else() set(hash_args "# no EXPECTED_HASH") endif() # check for curl globals in the project if(DEFINED CMAKE_TLS_VERIFY) set(tls_verify "set(CMAKE_TLS_VERIFY ${CMAKE_TLS_VERIFY})") endif() if(DEFINED CMAKE_TLS_CAINFO) set(tls_cainfo "set(CMAKE_TLS_CAINFO \"${CMAKE_TLS_CAINFO}\")") endif() # now check for curl locals so that the local values # will override the globals # check for tls_verify argument string(LENGTH "${tls_verify}" tls_verify_len) if(tls_verify_len GREATER 0) set(tls_verify "set(CMAKE_TLS_VERIFY ${tls_verify})") endif() # check for tls_cainfo argument string(LENGTH "${tls_cainfo}" tls_cainfo_len) if(tls_cainfo_len GREATER 0) set(tls_cainfo "set(CMAKE_TLS_CAINFO \"${tls_cainfo}\")") endif() file(WRITE ${script_filename} "message(STATUS \"downloading... src='${remote}' dst='${local}' timeout='${timeout_msg}'\") ${tls_verify} ${tls_cainfo} file(DOWNLOAD \"${remote}\" \"${local}\" SHOW_PROGRESS ${hash_args} ${timeout_args} STATUS status LOG log) list(GET status 0 status_code) list(GET status 1 status_string) if(NOT status_code EQUAL 0) message(FATAL_ERROR \"error: downloading '${remote}' failed status_code: \${status_code} status_string: \${status_string} log: \${log} \") endif() message(STATUS \"downloading... done\") " ) endfunction() function(_ep_write_verifyfile_script script_filename local hash) if("${hash}" MATCHES "${_ep_hash_regex}") set(algo "${CMAKE_MATCH_1}") string(TOLOWER "${CMAKE_MATCH_2}" expect_value) set(script_content "set(expect_value \"${expect_value}\") file(${algo} \"\${file}\" actual_value) if(\"\${actual_value}\" STREQUAL \"\${expect_value}\") message(STATUS \"verifying file... done\") else() message(FATAL_ERROR \"error: ${algo} hash of \${file} does not match expected value expected: \${expect_value} actual: \${actual_value} \") endif()") else() set(script_content "message(STATUS \"verifying file... warning: did not verify file - no URL_HASH specified?\")") endif() file(WRITE ${script_filename} "set(file \"${local}\") message(STATUS \"verifying file... file='\${file}'\") ${script_content} ") endfunction() function(_ep_write_extractfile_script script_filename name filename directory) set(args "") if(filename MATCHES "(\\.|=)(bz2|tar\\.gz|tgz|zip)$") set(args xfz) endif() if(filename MATCHES "(\\.|=)tar$") set(args xf) endif() if(args STREQUAL "") message(SEND_ERROR "error: do not know how to extract '${filename}' -- known types are .bz2, .tar, .tar.gz, .tgz and .zip") return() endif() file(WRITE ${script_filename} "# Make file names absolute: # get_filename_component(filename \"${filename}\" ABSOLUTE) get_filename_component(directory \"${directory}\" ABSOLUTE) message(STATUS \"extracting... src='\${filename}' dst='\${directory}'\") if(NOT EXISTS \"\${filename}\") message(FATAL_ERROR \"error: file to extract does not exist: '\${filename}'\") endif() # Prepare a space for extracting: # set(i 1234) while(EXISTS \"\${directory}/../ex-${name}\${i}\") math(EXPR i \"\${i} + 1\") endwhile() set(ut_dir \"\${directory}/../ex-${name}\${i}\") file(MAKE_DIRECTORY \"\${ut_dir}\") # Extract it: # message(STATUS \"extracting... [tar ${args}]\") execute_process(COMMAND \${CMAKE_COMMAND} -E tar ${args} \${filename} WORKING_DIRECTORY \${ut_dir} RESULT_VARIABLE rv) if(NOT rv EQUAL 0) message(STATUS \"extracting... [error clean up]\") file(REMOVE_RECURSE \"\${ut_dir}\") message(FATAL_ERROR \"error: extract of '\${filename}' failed\") endif() # Analyze what came out of the tar file: # message(STATUS \"extracting... [analysis]\") file(GLOB contents \"\${ut_dir}/*\") list(LENGTH contents n) if(NOT n EQUAL 1 OR NOT IS_DIRECTORY \"\${contents}\") set(contents \"\${ut_dir}\") endif() # Move \"the one\" directory to the final directory: # message(STATUS \"extracting... [rename]\") file(REMOVE_RECURSE \${directory}) get_filename_component(contents \${contents} ABSOLUTE) file(RENAME \${contents} \${directory}) # Clean up: # message(STATUS \"extracting... [clean up]\") file(REMOVE_RECURSE \"\${ut_dir}\") message(STATUS \"extracting... done\") " ) endfunction() function(_ep_set_directories name) get_property(prefix TARGET ${name} PROPERTY _EP_PREFIX) if(NOT prefix) get_property(prefix DIRECTORY PROPERTY EP_PREFIX) if(NOT prefix) get_property(base DIRECTORY PROPERTY EP_BASE) if(NOT base) set(prefix "${name}-prefix") endif() endif() endif() if(prefix) set(tmp_default "${prefix}/tmp") set(download_default "${prefix}/src") set(source_default "${prefix}/src/${name}") set(binary_default "${prefix}/src/${name}-build") set(stamp_default "${prefix}/src/${name}-stamp") set(install_default "${prefix}") else() set(tmp_default "${base}/tmp/${name}") set(download_default "${base}/Download/${name}") set(source_default "${base}/Source/${name}") set(binary_default "${base}/Build/${name}") set(stamp_default "${base}/Stamp/${name}") set(install_default "${base}/Install/${name}") endif() get_property(build_in_source TARGET ${name} PROPERTY _EP_BUILD_IN_SOURCE) if(build_in_source) get_property(have_binary_dir TARGET ${name} PROPERTY _EP_BINARY_DIR SET) if(have_binary_dir) message(FATAL_ERROR "External project ${name} has both BINARY_DIR and BUILD_IN_SOURCE!") endif() endif() set(top "${CMAKE_CURRENT_BINARY_DIR}") set(places stamp download source binary install tmp) foreach(var ${places}) string(TOUPPER "${var}" VAR) get_property(${var}_dir TARGET ${name} PROPERTY _EP_${VAR}_DIR) if(NOT ${var}_dir) set(${var}_dir "${${var}_default}") endif() if(NOT IS_ABSOLUTE "${${var}_dir}") get_filename_component(${var}_dir "${top}/${${var}_dir}" ABSOLUTE) endif() set_property(TARGET ${name} PROPERTY _EP_${VAR}_DIR "${${var}_dir}") endforeach() if(build_in_source) get_property(source_dir TARGET ${name} PROPERTY _EP_SOURCE_DIR) set_property(TARGET ${name} PROPERTY _EP_BINARY_DIR "${source_dir}") endif() # Make the directories at CMake configure time *and* add a custom command # to make them at build time. They need to exist at makefile generation # time for Borland make and wmake so that CMake may generate makefiles # with "cd C:\short\paths\with\no\spaces" commands in them. # # Additionally, the add_custom_command is still used in case somebody # removes one of the necessary directories and tries to rebuild without # re-running cmake. foreach(var ${places}) string(TOUPPER "${var}" VAR) get_property(dir TARGET ${name} PROPERTY _EP_${VAR}_DIR) file(MAKE_DIRECTORY "${dir}") if(NOT EXISTS "${dir}") message(FATAL_ERROR "dir '${dir}' does not exist after file(MAKE_DIRECTORY)") endif() endforeach() endfunction() # IMPORTANT: this MUST be a macro and not a function because of the # in-place replacements that occur in each ${var} # macro(_ep_replace_location_tags target_name) set(vars ${ARGN}) foreach(var ${vars}) if(${var}) foreach(dir SOURCE_DIR BINARY_DIR INSTALL_DIR TMP_DIR) get_property(val TARGET ${target_name} PROPERTY _EP_${dir}) string(REPLACE "<${dir}>" "${val}" ${var} "${${var}}") endforeach() endif() endforeach() endmacro() function(_ep_write_initial_cache target_name script_filename args) # Write out values into an initial cache, that will be passed to CMake with -C set(script_initial_cache "") set(regex "^([^:]+):([^=]+)=(.*)$") set(setArg "") foreach(line ${args}) if("${line}" MATCHES "^-D") if(setArg) # This is required to build up lists in variables, or complete an entry set(setArg "${setArg}${accumulator}\" CACHE ${type} \"Initial cache\" FORCE)") set(script_initial_cache "${script_initial_cache}\n${setArg}") set(accumulator "") set(setArg "") endif() string(REGEX REPLACE "^-D" "" line ${line}) if("${line}" MATCHES "${regex}") string(REGEX MATCH "${regex}" match "${line}") set(name "${CMAKE_MATCH_1}") set(type "${CMAKE_MATCH_2}") set(value "${CMAKE_MATCH_3}") set(setArg "set(${name} \"${value}") else() message(WARNING "Line '${line}' does not match regex. Ignoring.") endif() else() # Assume this is a list to append to the last var set(accumulator "${accumulator};${line}") endif() endforeach() # Catch the final line of the args if(setArg) set(setArg "${setArg}${accumulator}\" CACHE ${type} \"Initial cache\" FORCE)") set(script_initial_cache "${script_initial_cache}\n${setArg}") endif() # Replace location tags. _ep_replace_location_tags(${target_name} script_initial_cache) # Write out the initial cache file to the location specified. if(NOT EXISTS "${script_filename}.in") file(WRITE "${script_filename}.in" "\@script_initial_cache\@\n") endif() configure_file("${script_filename}.in" "${script_filename}") endfunction() function(ExternalProject_Get_Property name) foreach(var ${ARGN}) string(TOUPPER "${var}" VAR) get_property(${var} TARGET ${name} PROPERTY _EP_${VAR}) if(NOT ${var}) message(FATAL_ERROR "External project \"${name}\" has no ${var}") endif() set(${var} "${${var}}" PARENT_SCOPE) endforeach() endfunction() function(_ep_get_configure_command_id name cfg_cmd_id_var) get_target_property(cmd ${name} _EP_CONFIGURE_COMMAND) if(cmd STREQUAL "") # Explicit empty string means no configure step for this project set(${cfg_cmd_id_var} "none" PARENT_SCOPE) else() if(NOT cmd) # Default is "use cmake": set(${cfg_cmd_id_var} "cmake" PARENT_SCOPE) else() # Otherwise we have to analyze the value: if(cmd MATCHES "^[^;]*/configure") set(${cfg_cmd_id_var} "configure" PARENT_SCOPE) elseif(cmd MATCHES "^[^;]*/cmake" AND NOT cmd MATCHES ";-[PE];") set(${cfg_cmd_id_var} "cmake" PARENT_SCOPE) elseif(cmd MATCHES "config") set(${cfg_cmd_id_var} "configure" PARENT_SCOPE) else() set(${cfg_cmd_id_var} "unknown:${cmd}" PARENT_SCOPE) endif() endif() endif() endfunction() function(_ep_get_build_command name step cmd_var) set(cmd "${${cmd_var}}") if(NOT cmd) set(args) _ep_get_configure_command_id(${name} cfg_cmd_id) if(cfg_cmd_id STREQUAL "cmake") # CMake project. Select build command based on generator. get_target_property(cmake_generator ${name} _EP_CMAKE_GENERATOR) if("${CMAKE_GENERATOR}" MATCHES "Make" AND ("${cmake_generator}" MATCHES "Make" OR NOT cmake_generator)) # The project uses the same Makefile generator. Use recursive make. set(cmd "$(MAKE)") if(step STREQUAL "INSTALL") set(args install) endif() if(step STREQUAL "TEST") set(args test) endif() else() # Drive the project with "cmake --build". get_target_property(cmake_command ${name} _EP_CMAKE_COMMAND) if(cmake_command) set(cmd "${cmake_command}") else() set(cmd "${CMAKE_COMMAND}") endif() set(args --build ${binary_dir} --config ${CMAKE_CFG_INTDIR}) if(step STREQUAL "INSTALL") list(APPEND args --target install) endif() # But for "TEST" drive the project with corresponding "ctest". if(step STREQUAL "TEST") string(REGEX REPLACE "^(.*/)cmake([^/]*)$" "\\1ctest\\2" cmd "${cmd}") set(args "") endif() endif() else() # Non-CMake project. Guess "make" and "make install" and "make test". if("${CMAKE_GENERATOR}" MATCHES "Makefiles") # Try to get the parallel arguments set(cmd "$(MAKE)") else() set(cmd "make") endif() if(step STREQUAL "INSTALL") set(args install) endif() if(step STREQUAL "TEST") set(args test) endif() endif() # Use user-specified arguments instead of default arguments, if any. get_property(have_args TARGET ${name} PROPERTY _EP_${step}_ARGS SET) if(have_args) get_target_property(args ${name} _EP_${step}_ARGS) endif() list(APPEND cmd ${args}) endif() set(${cmd_var} "${cmd}" PARENT_SCOPE) endfunction() function(_ep_write_log_script name step cmd_var) ExternalProject_Get_Property(${name} stamp_dir) set(command "${${cmd_var}}") set(make "") set(code_cygpath_make "") if("${command}" MATCHES "^\\$\\(MAKE\\)") # GNU make recognizes the string "$(MAKE)" as recursive make, so # ensure that it appears directly in the makefile. string(REGEX REPLACE "^\\$\\(MAKE\\)" "\${make}" command "${command}") set(make "-Dmake=$(MAKE)") if(WIN32 AND NOT CYGWIN) set(code_cygpath_make " if(\${make} MATCHES \"^/\") execute_process( COMMAND cygpath -w \${make} OUTPUT_VARIABLE cygpath_make ERROR_VARIABLE cygpath_make RESULT_VARIABLE cygpath_error OUTPUT_STRIP_TRAILING_WHITESPACE ) if(NOT cygpath_error) set(make \${cygpath_make}) endif() endif() ") endif() endif() set(config "") if("${CMAKE_CFG_INTDIR}" MATCHES "^\\$") string(REPLACE "${CMAKE_CFG_INTDIR}" "\${config}" command "${command}") set(config "-Dconfig=${CMAKE_CFG_INTDIR}") endif() # Wrap multiple 'COMMAND' lines up into a second-level wrapper # script so all output can be sent to one log file. if("${command}" MATCHES ";COMMAND;") set(code_execute_process " ${code_cygpath_make} execute_process(COMMAND \${command} RESULT_VARIABLE result) if(result) set(msg \"Command failed (\${result}):\\n\") foreach(arg IN LISTS command) set(msg \"\${msg} '\${arg}'\") endforeach() message(FATAL_ERROR \"\${msg}\") endif() ") set(code "") set(cmd "") set(sep "") foreach(arg IN LISTS command) if("x${arg}" STREQUAL "xCOMMAND") set(code "${code}set(command \"${cmd}\")${code_execute_process}") set(cmd "") set(sep "") else() set(cmd "${cmd}${sep}${arg}") set(sep ";") endif() endforeach() set(code "${code}set(command \"${cmd}\")${code_execute_process}") file(WRITE ${stamp_dir}/${name}-${step}-impl.cmake "${code}") set(command ${CMAKE_COMMAND} "-Dmake=\${make}" "-Dconfig=\${config}" -P ${stamp_dir}/${name}-${step}-impl.cmake) endif() # Wrap the command in a script to log output to files. set(script ${stamp_dir}/${name}-${step}.cmake) set(logbase ${stamp_dir}/${name}-${step}) file(WRITE ${script} " ${code_cygpath_make} set(command \"${command}\") execute_process( COMMAND \${command} RESULT_VARIABLE result OUTPUT_FILE \"${logbase}-out.log\" ERROR_FILE \"${logbase}-err.log\" ) if(result) set(msg \"Command failed: \${result}\\n\") foreach(arg IN LISTS command) set(msg \"\${msg} '\${arg}'\") endforeach() set(msg \"\${msg}\\nSee also\\n ${logbase}-*.log\\n\") message(FATAL_ERROR \"\${msg}\") else() set(msg \"${name} ${step} command succeeded. See also ${logbase}-*.log\\n\") message(STATUS \"\${msg}\") endif() ") set(command ${CMAKE_COMMAND} ${make} ${config} -P ${script}) set(${cmd_var} "${command}" PARENT_SCOPE) endfunction() # This module used to use "/${CMAKE_CFG_INTDIR}" directly and produced # makefiles with "/./" in paths for custom command dependencies. Which # resulted in problems with parallel make -j invocations. # # This function was added so that the suffix (search below for ${cfgdir}) is # only set to "/${CMAKE_CFG_INTDIR}" when ${CMAKE_CFG_INTDIR} is not going to # be "." (multi-configuration build systems like Visual Studio and Xcode...) # function(_ep_get_configuration_subdir_suffix suffix_var) set(suffix "") if(CMAKE_CONFIGURATION_TYPES) set(suffix "/${CMAKE_CFG_INTDIR}") endif() set(${suffix_var} "${suffix}" PARENT_SCOPE) endfunction() function(_ep_get_step_stampfile name step stampfile_var) ExternalProject_Get_Property(${name} stamp_dir) _ep_get_configuration_subdir_suffix(cfgdir) set(stampfile "${stamp_dir}${cfgdir}/${name}-${step}") set(${stampfile_var} "${stampfile}" PARENT_SCOPE) endfunction() function(ExternalProject_Add_StepTargets name) set(steps ${ARGN}) foreach(step ${steps}) _ep_get_step_stampfile(${name} ${step} stamp_file) add_custom_target(${name}-${step} DEPENDS ${stamp_file}) # Depend on other external projects (target-level). get_property(deps TARGET ${name} PROPERTY _EP_DEPENDS) foreach(arg IN LISTS deps) add_dependencies(${name}-${step} ${arg}) endforeach() endforeach() endfunction() function(ExternalProject_Add_Step name step) set(cmf_dir ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles) _ep_get_configuration_subdir_suffix(cfgdir) set(complete_stamp_file "${cmf_dir}${cfgdir}/${name}-complete") _ep_get_step_stampfile(${name} ${step} stamp_file) add_custom_command(APPEND OUTPUT ${complete_stamp_file} DEPENDS ${stamp_file} ) _ep_parse_arguments(ExternalProject_Add_Step ${name} _EP_${step}_ "${ARGN}") # Steps depending on this step. get_property(dependers TARGET ${name} PROPERTY _EP_${step}_DEPENDERS) foreach(depender IN LISTS dependers) _ep_get_step_stampfile(${name} ${depender} depender_stamp_file) add_custom_command(APPEND OUTPUT ${depender_stamp_file} DEPENDS ${stamp_file} ) endforeach() # Dependencies on files. get_property(depends TARGET ${name} PROPERTY _EP_${step}_DEPENDS) # Dependencies on steps. get_property(dependees TARGET ${name} PROPERTY _EP_${step}_DEPENDEES) foreach(dependee IN LISTS dependees) _ep_get_step_stampfile(${name} ${dependee} dependee_stamp_file) list(APPEND depends ${dependee_stamp_file}) endforeach() # The command to run. get_property(command TARGET ${name} PROPERTY _EP_${step}_COMMAND) if(command) set(comment "Performing ${step} step for '${name}'") else() set(comment "No ${step} step for '${name}'") endif() get_property(work_dir TARGET ${name} PROPERTY _EP_${step}_WORKING_DIRECTORY) # Replace list separators. get_property(sep TARGET ${name} PROPERTY _EP_LIST_SEPARATOR) if(sep AND command) string(REPLACE "${sep}" "\\;" command "${command}") endif() # Replace location tags. _ep_replace_location_tags(${name} comment command work_dir) # Custom comment? get_property(comment_set TARGET ${name} PROPERTY _EP_${step}_COMMENT SET) if(comment_set) get_property(comment TARGET ${name} PROPERTY _EP_${step}_COMMENT) endif() # Run every time? get_property(always TARGET ${name} PROPERTY _EP_${step}_ALWAYS) if(always) set_property(SOURCE ${stamp_file} PROPERTY SYMBOLIC 1) set(touch) else() set(touch ${CMAKE_COMMAND} -E touch ${stamp_file}) endif() # Wrap with log script? get_property(log TARGET ${name} PROPERTY _EP_${step}_LOG) if(command AND log) _ep_write_log_script(${name} ${step} command) endif() add_custom_command( OUTPUT ${stamp_file} COMMENT ${comment} COMMAND ${command} COMMAND ${touch} DEPENDS ${depends} WORKING_DIRECTORY ${work_dir} VERBATIM ) # Add custom "step target"? get_property(step_targets TARGET ${name} PROPERTY _EP_STEP_TARGETS) if(NOT step_targets) get_property(step_targets DIRECTORY PROPERTY EP_STEP_TARGETS) endif() foreach(st ${step_targets}) if("${st}" STREQUAL "${step}") ExternalProject_Add_StepTargets(${name} ${step}) break() endif() endforeach() endfunction() function(_ep_add_mkdir_command name) ExternalProject_Get_Property(${name} source_dir binary_dir install_dir stamp_dir download_dir tmp_dir) _ep_get_configuration_subdir_suffix(cfgdir) ExternalProject_Add_Step(${name} mkdir COMMENT "Creating directories for '${name}'" COMMAND ${CMAKE_COMMAND} -E make_directory ${source_dir} COMMAND ${CMAKE_COMMAND} -E make_directory ${binary_dir} COMMAND ${CMAKE_COMMAND} -E make_directory ${install_dir} COMMAND ${CMAKE_COMMAND} -E make_directory ${tmp_dir} COMMAND ${CMAKE_COMMAND} -E make_directory ${stamp_dir}${cfgdir} COMMAND ${CMAKE_COMMAND} -E make_directory ${download_dir} ) endfunction() function(_ep_get_git_version git_EXECUTABLE git_version_var) if(git_EXECUTABLE) execute_process( COMMAND "${git_EXECUTABLE}" --version OUTPUT_VARIABLE ov ERROR_VARIABLE ev OUTPUT_STRIP_TRAILING_WHITESPACE ) string(REGEX REPLACE "^git version (.+)$" "\\1" version "${ov}") set(${git_version_var} "${version}" PARENT_SCOPE) endif() endfunction() function(_ep_is_dir_empty dir empty_var) file(GLOB gr "${dir}/*") if("${gr}" STREQUAL "") set(${empty_var} 1 PARENT_SCOPE) else() set(${empty_var} 0 PARENT_SCOPE) endif() endfunction() function(_ep_add_download_command name) ExternalProject_Get_Property(${name} source_dir stamp_dir download_dir tmp_dir) get_property(cmd_set TARGET ${name} PROPERTY _EP_DOWNLOAD_COMMAND SET) get_property(cmd TARGET ${name} PROPERTY _EP_DOWNLOAD_COMMAND) get_property(cvs_repository TARGET ${name} PROPERTY _EP_CVS_REPOSITORY) get_property(svn_repository TARGET ${name} PROPERTY _EP_SVN_REPOSITORY) get_property(git_repository TARGET ${name} PROPERTY _EP_GIT_REPOSITORY) get_property(hg_repository TARGET ${name} PROPERTY _EP_HG_REPOSITORY ) get_property(url TARGET ${name} PROPERTY _EP_URL) get_property(fname TARGET ${name} PROPERTY _EP_DOWNLOAD_NAME) # TODO: Perhaps file:// should be copied to download dir before extraction. string(REGEX REPLACE "^file://" "" url "${url}") set(depends) set(comment) set(work_dir) if(cmd_set) set(work_dir ${download_dir}) elseif(cvs_repository) find_package(CVS) if(NOT CVS_EXECUTABLE) message(FATAL_ERROR "error: could not find cvs for checkout of ${name}") endif() get_target_property(cvs_module ${name} _EP_CVS_MODULE) if(NOT cvs_module) message(FATAL_ERROR "error: no CVS_MODULE") endif() get_property(cvs_tag TARGET ${name} PROPERTY _EP_CVS_TAG) set(repository ${cvs_repository}) set(module ${cvs_module}) set(tag ${cvs_tag}) configure_file( "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in" "${stamp_dir}/${name}-cvsinfo.txt" @ONLY ) get_filename_component(src_name "${source_dir}" NAME) get_filename_component(work_dir "${source_dir}" PATH) set(comment "Performing download step (CVS checkout) for '${name}'") set(cmd ${CVS_EXECUTABLE} -d ${cvs_repository} -q co ${cvs_tag} -d ${src_name} ${cvs_module}) list(APPEND depends ${stamp_dir}/${name}-cvsinfo.txt) elseif(svn_repository) find_package(Subversion) if(NOT Subversion_SVN_EXECUTABLE) message(FATAL_ERROR "error: could not find svn for checkout of ${name}") endif() get_property(svn_revision TARGET ${name} PROPERTY _EP_SVN_REVISION) get_property(svn_username TARGET ${name} PROPERTY _EP_SVN_USERNAME) get_property(svn_password TARGET ${name} PROPERTY _EP_SVN_PASSWORD) get_property(svn_trust_cert TARGET ${name} PROPERTY _EP_SVN_TRUST_CERT) set(repository "${svn_repository} user=${svn_username} password=${svn_password}") set(module) set(tag ${svn_revision}) configure_file( "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in" "${stamp_dir}/${name}-svninfo.txt" @ONLY ) get_filename_component(src_name "${source_dir}" NAME) get_filename_component(work_dir "${source_dir}" PATH) set(comment "Performing download step (SVN checkout) for '${name}'") set(svn_user_pw_args "") if(DEFINED svn_username) set(svn_user_pw_args ${svn_user_pw_args} "--username=${svn_username}") endif() if(DEFINED svn_password) set(svn_user_pw_args ${svn_user_pw_args} "--password=${svn_password}") endif() if(svn_trust_cert) set(svn_trust_cert_args --trust-server-cert) endif() set(cmd ${Subversion_SVN_EXECUTABLE} co ${svn_repository} ${svn_revision} --non-interactive ${svn_trust_cert_args} ${svn_user_pw_args} ${src_name}) list(APPEND depends ${stamp_dir}/${name}-svninfo.txt) elseif(git_repository) find_package(Git) if(NOT GIT_EXECUTABLE) message(FATAL_ERROR "error: could not find git for clone of ${name}") endif() # The git submodule update '--recursive' flag requires git >= v1.6.5 # _ep_get_git_version("${GIT_EXECUTABLE}" git_version) if(git_version VERSION_LESS 1.6.5) message(FATAL_ERROR "error: git version 1.6.5 or later required for 'git submodule update --recursive': git_version='${git_version}'") endif() get_property(git_tag TARGET ${name} PROPERTY _EP_GIT_TAG) if(NOT git_tag) set(git_tag "master") endif() # For the download step, and the git clone operation, only the repository # should be recorded in a configured RepositoryInfo file. If the repo # changes, the clone script should be run again. But if only the tag # changes, avoid running the clone script again. Let the 'always' running # update step checkout the new tag. # set(repository ${git_repository}) set(module) set(tag) configure_file( "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in" "${stamp_dir}/${name}-gitinfo.txt" @ONLY ) get_filename_component(src_name "${source_dir}" NAME) get_filename_component(work_dir "${source_dir}" PATH) # Since git clone doesn't succeed if the non-empty source_dir exists, # create a cmake script to invoke as download command. # The script will delete the source directory and then call git clone. # _ep_write_gitclone_script(${tmp_dir}/${name}-gitclone.cmake ${source_dir} ${GIT_EXECUTABLE} ${git_repository} ${git_tag} ${src_name} ${work_dir} ${stamp_dir}/${name}-gitinfo.txt ${stamp_dir}/${name}-gitclone-lastrun.txt ) set(comment "Performing download step (git clone) for '${name}'") set(cmd ${CMAKE_COMMAND} -P ${tmp_dir}/${name}-gitclone.cmake) list(APPEND depends ${stamp_dir}/${name}-gitinfo.txt) elseif(hg_repository) find_package(Hg) if(NOT HG_EXECUTABLE) message(FATAL_ERROR "error: could not find hg for clone of ${name}") endif() get_property(hg_tag TARGET ${name} PROPERTY _EP_HG_TAG) if(NOT hg_tag) set(hg_tag "tip") endif() # For the download step, and the hg clone operation, only the repository # should be recorded in a configured RepositoryInfo file. If the repo # changes, the clone script should be run again. But if only the tag # changes, avoid running the clone script again. Let the 'always' running # update step checkout the new tag. # set(repository ${hg_repository}) set(module) set(tag) configure_file( "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in" "${stamp_dir}/${name}-hginfo.txt" @ONLY ) get_filename_component(src_name "${source_dir}" NAME) get_filename_component(work_dir "${source_dir}" PATH) # Since hg clone doesn't succeed if the non-empty source_dir exists, # create a cmake script to invoke as download command. # The script will delete the source directory and then call hg clone. # _ep_write_hgclone_script(${tmp_dir}/${name}-hgclone.cmake ${source_dir} ${HG_EXECUTABLE} ${hg_repository} ${hg_tag} ${src_name} ${work_dir} ${stamp_dir}/${name}-hginfo.txt ${stamp_dir}/${name}-hgclone-lastrun.txt ) set(comment "Performing download step (hg clone) for '${name}'") set(cmd ${CMAKE_COMMAND} -P ${tmp_dir}/${name}-hgclone.cmake) list(APPEND depends ${stamp_dir}/${name}-hginfo.txt) elseif(url) get_filename_component(work_dir "${source_dir}" PATH) get_property(hash TARGET ${name} PROPERTY _EP_URL_HASH) if(hash AND NOT "${hash}" MATCHES "${_ep_hash_regex}") message(FATAL_ERROR "URL_HASH is set to\n ${hash}\n" "but must be ALGO=value where ALGO is\n ${_ep_hash_algos}\n" "and value is a hex string.") endif() get_property(md5 TARGET ${name} PROPERTY _EP_URL_MD5) if(md5 AND NOT "MD5=${md5}" MATCHES "${_ep_hash_regex}") message(FATAL_ERROR "URL_MD5 is set to\n ${md5}\nbut must be a hex string.") endif() if(md5 AND NOT hash) set(hash "MD5=${md5}") endif() set(repository "external project URL") set(module "${url}") set(tag "${hash}") configure_file( "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in" "${stamp_dir}/${name}-urlinfo.txt" @ONLY ) list(APPEND depends ${stamp_dir}/${name}-urlinfo.txt) if(IS_DIRECTORY "${url}") get_filename_component(abs_dir "${url}" ABSOLUTE) set(comment "Performing download step (DIR copy) for '${name}'") set(cmd ${CMAKE_COMMAND} -E remove_directory ${source_dir} COMMAND ${CMAKE_COMMAND} -E copy_directory ${abs_dir} ${source_dir}) else() if("${url}" MATCHES "^[a-z]+://") # TODO: Should download and extraction be different steps? if("x${fname}" STREQUAL "x") string(REGEX MATCH "[^/\\?]*$" fname "${url}") endif() if(NOT "${fname}" MATCHES "(\\.|=)(bz2|tar|tgz|tar\\.gz|zip)$") string(REGEX MATCH "([^/\\?]+(\\.|=)(bz2|tar|tgz|tar\\.gz|zip))/.*$" match_result "${url}") set(fname "${CMAKE_MATCH_1}") endif() if(NOT "${fname}" MATCHES "(\\.|=)(bz2|tar|tgz|tar\\.gz|zip)$") message(FATAL_ERROR "Could not extract tarball filename from url:\n ${url}") endif() string(REPLACE ";" "-" fname "${fname}") set(file ${download_dir}/${fname}) get_property(timeout TARGET ${name} PROPERTY _EP_TIMEOUT) get_property(tls_verify TARGET ${name} PROPERTY _EP_TLS_VERIFY) get_property(tls_cainfo TARGET ${name} PROPERTY _EP_TLS_CAINFO) _ep_write_downloadfile_script("${stamp_dir}/download-${name}.cmake" "${url}" "${file}" "${timeout}" "${hash}" "${tls_verify}" "${tls_cainfo}") set(cmd ${CMAKE_COMMAND} -P ${stamp_dir}/download-${name}.cmake COMMAND) set(comment "Performing download step (download, verify and extract) for '${name}'") else() set(file "${url}") set(comment "Performing download step (verify and extract) for '${name}'") endif() _ep_write_verifyfile_script("${stamp_dir}/verify-${name}.cmake" "${file}" "${hash}") list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/verify-${name}.cmake COMMAND) _ep_write_extractfile_script("${stamp_dir}/extract-${name}.cmake" "${name}" "${file}" "${source_dir}") list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/extract-${name}.cmake) endif() else() _ep_is_dir_empty("${source_dir}" empty) if(${empty}) message(SEND_ERROR "error: no download info for '${name}' -- please specify existing/non-empty SOURCE_DIR or one of URL, CVS_REPOSITORY and CVS_MODULE, SVN_REPOSITORY, GIT_REPOSITORY, HG_REPOSITORY or DOWNLOAD_COMMAND") endif() endif() get_property(log TARGET ${name} PROPERTY _EP_LOG_DOWNLOAD) if(log) set(log LOG 1) else() set(log "") endif() ExternalProject_Add_Step(${name} download COMMENT ${comment} COMMAND ${cmd} WORKING_DIRECTORY ${work_dir} DEPENDS ${depends} DEPENDEES mkdir ${log} ) endfunction() function(_ep_add_update_command name) ExternalProject_Get_Property(${name} source_dir tmp_dir) get_property(cmd_set TARGET ${name} PROPERTY _EP_UPDATE_COMMAND SET) get_property(cmd TARGET ${name} PROPERTY _EP_UPDATE_COMMAND) get_property(cvs_repository TARGET ${name} PROPERTY _EP_CVS_REPOSITORY) get_property(svn_repository TARGET ${name} PROPERTY _EP_SVN_REPOSITORY) get_property(git_repository TARGET ${name} PROPERTY _EP_GIT_REPOSITORY) get_property(hg_repository TARGET ${name} PROPERTY _EP_HG_REPOSITORY ) set(work_dir) set(comment) set(always) if(cmd_set) set(work_dir ${source_dir}) elseif(cvs_repository) if(NOT CVS_EXECUTABLE) message(FATAL_ERROR "error: could not find cvs for update of ${name}") endif() set(work_dir ${source_dir}) set(comment "Performing update step (CVS update) for '${name}'") get_property(cvs_tag TARGET ${name} PROPERTY _EP_CVS_TAG) set(cmd ${CVS_EXECUTABLE} -d ${cvs_repository} -q up -dP ${cvs_tag}) set(always 1) elseif(svn_repository) if(NOT Subversion_SVN_EXECUTABLE) message(FATAL_ERROR "error: could not find svn for update of ${name}") endif() set(work_dir ${source_dir}) set(comment "Performing update step (SVN update) for '${name}'") get_property(svn_revision TARGET ${name} PROPERTY _EP_SVN_REVISION) get_property(svn_username TARGET ${name} PROPERTY _EP_SVN_USERNAME) get_property(svn_password TARGET ${name} PROPERTY _EP_SVN_PASSWORD) get_property(svn_trust_cert TARGET ${name} PROPERTY _EP_SVN_TRUST_CERT) set(svn_user_pw_args "") if(DEFINED svn_username) set(svn_user_pw_args ${svn_user_pw_args} "--username=${svn_username}") endif() if(DEFINED svn_password) set(svn_user_pw_args ${svn_user_pw_args} "--password=${svn_password}") endif() if(svn_trust_cert) set(svn_trust_cert_args --trust-server-cert) endif() set(cmd ${Subversion_SVN_EXECUTABLE} up ${svn_revision} --non-interactive ${svn_trust_cert_args} ${svn_user_pw_args}) set(always 1) elseif(git_repository) if(NOT GIT_EXECUTABLE) message(FATAL_ERROR "error: could not find git for fetch of ${name}") endif() set(work_dir ${source_dir}) set(comment "Performing update step for '${name}'") get_property(git_tag TARGET ${name} PROPERTY _EP_GIT_TAG) if(NOT git_tag) set(git_tag "master") endif() _ep_write_gitupdate_script(${tmp_dir}/${name}-gitupdate.cmake ${GIT_EXECUTABLE} ${git_tag} ${git_repository} ${work_dir} ) set(cmd ${CMAKE_COMMAND} -P ${tmp_dir}/${name}-gitupdate.cmake) set(always 1) elseif(hg_repository) if(NOT HG_EXECUTABLE) message(FATAL_ERROR "error: could not find hg for pull of ${name}") endif() set(work_dir ${source_dir}) set(comment "Performing update step (hg pull) for '${name}'") get_property(hg_tag TARGET ${name} PROPERTY _EP_HG_TAG) if(NOT hg_tag) set(hg_tag "tip") endif() if("${HG_VERSION_STRING}" STREQUAL "2.1") message(WARNING "Mercurial 2.1 does not distinguish an empty pull from a failed pull: http://mercurial.selenic.com/wiki/UpgradeNotes#A2.1.1:_revert_pull_return_code_change.2C_compile_issue_on_OS_X http://thread.gmane.org/gmane.comp.version-control.mercurial.devel/47656 Update to Mercurial >= 2.1.1. ") endif() set(cmd ${HG_EXECUTABLE} pull COMMAND ${HG_EXECUTABLE} update ${hg_tag} ) set(always 1) endif() get_property(log TARGET ${name} PROPERTY _EP_LOG_UPDATE) if(log) set(log LOG 1) else() set(log "") endif() ExternalProject_Add_Step(${name} update COMMENT ${comment} COMMAND ${cmd} ALWAYS ${always} WORKING_DIRECTORY ${work_dir} DEPENDEES download ${log} ) endfunction() function(_ep_add_patch_command name) ExternalProject_Get_Property(${name} source_dir) get_property(cmd_set TARGET ${name} PROPERTY _EP_PATCH_COMMAND SET) get_property(cmd TARGET ${name} PROPERTY _EP_PATCH_COMMAND) set(work_dir) if(cmd_set) set(work_dir ${source_dir}) endif() ExternalProject_Add_Step(${name} patch COMMAND ${cmd} WORKING_DIRECTORY ${work_dir} DEPENDEES download ) endfunction() # TODO: Make sure external projects use the proper compiler function(_ep_add_configure_command name) ExternalProject_Get_Property(${name} source_dir binary_dir tmp_dir) # Depend on other external projects (file-level). set(file_deps) get_property(deps TARGET ${name} PROPERTY _EP_DEPENDS) foreach(dep IN LISTS deps) get_property(is_ep TARGET ${dep} PROPERTY _EP_IS_EXTERNAL_PROJECT) if(is_ep) _ep_get_step_stampfile(${dep} "done" done_stamp_file) list(APPEND file_deps ${done_stamp_file}) endif() endforeach() get_property(cmd_set TARGET ${name} PROPERTY _EP_CONFIGURE_COMMAND SET) if(cmd_set) get_property(cmd TARGET ${name} PROPERTY _EP_CONFIGURE_COMMAND) else() get_target_property(cmake_command ${name} _EP_CMAKE_COMMAND) if(cmake_command) set(cmd "${cmake_command}") else() set(cmd "${CMAKE_COMMAND}") endif() get_property(cmake_args TARGET ${name} PROPERTY _EP_CMAKE_ARGS) list(APPEND cmd ${cmake_args}) # If there are any CMAKE_CACHE_ARGS, write an initial cache and use it get_property(cmake_cache_args TARGET ${name} PROPERTY _EP_CMAKE_CACHE_ARGS) if(cmake_cache_args) set(_ep_cache_args_script "${tmp_dir}/${name}-cache.cmake") _ep_write_initial_cache(${name} "${_ep_cache_args_script}" "${cmake_cache_args}") list(APPEND cmd "-C${_ep_cache_args_script}") endif() get_target_property(cmake_generator ${name} _EP_CMAKE_GENERATOR) get_target_property(cmake_generator_toolset ${name} _EP_CMAKE_GENERATOR_TOOLSET) if(cmake_generator) list(APPEND cmd "-G${cmake_generator}") if(cmake_generator_toolset) list(APPEND cmd "-T${cmake_generator_toolset}") endif() else() if(CMAKE_EXTRA_GENERATOR) list(APPEND cmd "-G${CMAKE_EXTRA_GENERATOR} - ${CMAKE_GENERATOR}") else() list(APPEND cmd "-G${CMAKE_GENERATOR}") endif() if(cmake_generator_toolset) message(FATAL_ERROR "Option CMAKE_GENERATOR_TOOLSET not allowed without CMAKE_GENERATOR.") endif() if(CMAKE_GENERATOR_TOOLSET) list(APPEND cmd "-T${CMAKE_GENERATOR_TOOLSET}") endif() endif() list(APPEND cmd "${source_dir}") endif() # If anything about the configure command changes, (command itself, cmake # used, cmake args or cmake generator) then re-run the configure step. # Fixes issue http://public.kitware.com/Bug/view.php?id=10258 # if(NOT EXISTS ${tmp_dir}/${name}-cfgcmd.txt.in) file(WRITE ${tmp_dir}/${name}-cfgcmd.txt.in "cmd='\@cmd\@'\n") endif() configure_file(${tmp_dir}/${name}-cfgcmd.txt.in ${tmp_dir}/${name}-cfgcmd.txt) list(APPEND file_deps ${tmp_dir}/${name}-cfgcmd.txt) list(APPEND file_deps ${_ep_cache_args_script}) get_property(log TARGET ${name} PROPERTY _EP_LOG_CONFIGURE) if(log) set(log LOG 1) else() set(log "") endif() ExternalProject_Add_Step(${name} configure COMMAND ${cmd} WORKING_DIRECTORY ${binary_dir} DEPENDEES update patch DEPENDS ${file_deps} ${log} ) endfunction() function(_ep_add_build_command name) ExternalProject_Get_Property(${name} binary_dir) get_property(cmd_set TARGET ${name} PROPERTY _EP_BUILD_COMMAND SET) if(cmd_set) get_property(cmd TARGET ${name} PROPERTY _EP_BUILD_COMMAND) else() _ep_get_build_command(${name} BUILD cmd) endif() get_property(log TARGET ${name} PROPERTY _EP_LOG_BUILD) if(log) set(log LOG 1) else() set(log "") endif() ExternalProject_Add_Step(${name} build COMMAND ${cmd} WORKING_DIRECTORY ${binary_dir} DEPENDEES configure ${log} ) endfunction() function(_ep_add_install_command name) ExternalProject_Get_Property(${name} binary_dir) get_property(cmd_set TARGET ${name} PROPERTY _EP_INSTALL_COMMAND SET) if(cmd_set) get_property(cmd TARGET ${name} PROPERTY _EP_INSTALL_COMMAND) else() _ep_get_build_command(${name} INSTALL cmd) endif() get_property(log TARGET ${name} PROPERTY _EP_LOG_INSTALL) if(log) set(log LOG 1) else() set(log "") endif() ExternalProject_Add_Step(${name} install COMMAND ${cmd} WORKING_DIRECTORY ${binary_dir} DEPENDEES build ${log} ) endfunction() function(_ep_add_test_command name) ExternalProject_Get_Property(${name} binary_dir) get_property(before TARGET ${name} PROPERTY _EP_TEST_BEFORE_INSTALL) get_property(after TARGET ${name} PROPERTY _EP_TEST_AFTER_INSTALL) get_property(cmd_set TARGET ${name} PROPERTY _EP_TEST_COMMAND SET) # Only actually add the test step if one of the test related properties is # explicitly set. (i.e. the test step is omitted unless requested...) # if(cmd_set OR before OR after) if(cmd_set) get_property(cmd TARGET ${name} PROPERTY _EP_TEST_COMMAND) else() _ep_get_build_command(${name} TEST cmd) endif() if(before) set(dep_args DEPENDEES build DEPENDERS install) else() set(dep_args DEPENDEES install) endif() get_property(log TARGET ${name} PROPERTY _EP_LOG_TEST) if(log) set(log LOG 1) else() set(log "") endif() ExternalProject_Add_Step(${name} test COMMAND ${cmd} WORKING_DIRECTORY ${binary_dir} ${dep_args} ${log} ) endif() endfunction() function(ExternalProject_Add name) _ep_get_configuration_subdir_suffix(cfgdir) # Add a custom target for the external project. set(cmf_dir ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles) set(complete_stamp_file "${cmf_dir}${cfgdir}/${name}-complete") add_custom_target(${name} ALL DEPENDS ${complete_stamp_file}) set_property(TARGET ${name} PROPERTY _EP_IS_EXTERNAL_PROJECT 1) _ep_parse_arguments(ExternalProject_Add ${name} _EP_ "${ARGN}") _ep_set_directories(${name}) _ep_get_step_stampfile(${name} "done" done_stamp_file) _ep_get_step_stampfile(${name} "install" install_stamp_file) # The 'complete' step depends on all other steps and creates a # 'done' mark. A dependent external project's 'configure' step # depends on the 'done' mark so that it rebuilds when this project # rebuilds. It is important that 'done' is not the output of any # custom command so that CMake does not propagate build rules to # other external project targets, which may cause problems during # parallel builds. However, the Ninja generator needs to see the entire # dependency graph, and can cope with custom commands belonging to # multiple targets, so we add the 'done' mark as an output for Ninja only. set(complete_outputs ${complete_stamp_file}) if(${CMAKE_GENERATOR} MATCHES "Ninja") set(complete_outputs ${complete_outputs} ${done_stamp_file}) endif() add_custom_command( OUTPUT ${complete_outputs} COMMENT "Completed '${name}'" COMMAND ${CMAKE_COMMAND} -E make_directory ${cmf_dir}${cfgdir} COMMAND ${CMAKE_COMMAND} -E touch ${complete_stamp_file} COMMAND ${CMAKE_COMMAND} -E touch ${done_stamp_file} DEPENDS ${install_stamp_file} VERBATIM ) # Depend on other external projects (target-level). get_property(deps TARGET ${name} PROPERTY _EP_DEPENDS) foreach(arg IN LISTS deps) add_dependencies(${name} ${arg}) endforeach() # Set up custom build steps based on the target properties. # Each step depends on the previous one. # # The target depends on the output of the final step. # (Already set up above in the DEPENDS of the add_custom_target command.) # _ep_add_mkdir_command(${name}) _ep_add_download_command(${name}) _ep_add_update_command(${name}) _ep_add_patch_command(${name}) _ep_add_configure_command(${name}) _ep_add_build_command(${name}) _ep_add_install_command(${name}) # Test is special in that it might depend on build, or it might depend # on install. # _ep_add_test_command(${name}) endfunction() cmake-2.8.12.2/Modules/FeatureSummary.cmake000644 000765 000024 00000046603 12266011634 021232 0ustar00kitwarestaff000000 000000 # - Macros for generating a summary of enabled/disabled features # # This module provides the macros feature_summary(), set_package_properties() and # add_feature_info(). # For compatibility it also still provides set_package_info(), set_feature_info(), # print_enabled_features() and print_disabled_features(). # # These macros can be used to generate a summary of enabled and disabled # packages and/or feature for a build tree: # # -- The following OPTIONAL packages have been found: # LibXml2 (required version >= 2.4) , XML processing library. , # * Enables HTML-import in MyWordProcessor # * Enables odt-export in MyWordProcessor # PNG , A PNG image library. , # * Enables saving screenshots # -- The following OPTIONAL packages have not been found: # Lua51 , The Lua scripting language. , # * Enables macros in MyWordProcessor # Foo , Foo provides cool stuff. # # # FEATURE_SUMMARY( [FILENAME ] # [APPEND] # [VAR ] # [INCLUDE_QUIET_PACKAGES] # [FATAL_ON_MISSING_REQUIRED_PACKAGES] # [DESCRIPTION "Found packages:"] # WHAT (ALL | PACKAGES_FOUND | PACKAGES_NOT_FOUND # | ENABLED_FEATURES | DISABLED_FEATURES] # ) # # The FEATURE_SUMMARY() macro can be used to print information about enabled # or disabled packages or features of a project. # By default, only the names of the features/packages will be printed and their # required version when one was specified. Use SET_PACKAGE_PROPERTIES() to add more # useful information, like e.g. a download URL for the respective package or their # purpose in the project. # # The WHAT option is the only mandatory option. Here you specify what information # will be printed: # ALL: print everything # ENABLED_FEATURES: the list of all features which are enabled # DISABLED_FEATURES: the list of all features which are disabled # PACKAGES_FOUND: the list of all packages which have been found # PACKAGES_NOT_FOUND: the list of all packages which have not been found # OPTIONAL_PACKAGES_FOUND: only those packages which have been found which have the type OPTIONAL # OPTIONAL_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type OPTIONAL # RECOMMENDED_PACKAGES_FOUND: only those packages which have been found which have the type RECOMMENDED # RECOMMENDED_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type RECOMMENDED # REQUIRED_PACKAGES_FOUND: only those packages which have been found which have the type REQUIRED # REQUIRED_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type REQUIRED # RUNTIME_PACKAGES_FOUND: only those packages which have been found which have the type RUNTIME # RUNTIME_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type RUNTIME # # If a FILENAME is given, the information is printed into this file. If APPEND # is used, it is appended to this file, otherwise the file is overwritten if # it already existed. # If the VAR option is used, the information is "printed" into the specified # variable. # If FILENAME is not used, the information is printed to the terminal. # Using the DESCRIPTION option a description or headline can be set which will # be printed above the actual content. # If INCLUDE_QUIET_PACKAGES is given, packages which have been searched with find_package(... QUIET) will # also be listed. By default they are skipped. # If FATAL_ON_MISSING_REQUIRED_PACKAGES is given, CMake will abort if a package which is marked as REQUIRED # has not been found. # # Example 1, append everything to a file: # feature_summary(WHAT ALL # FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND) # # Example 2, print the enabled features into the variable enabledFeaturesText, including QUIET packages: # feature_summary(WHAT ENABLED_FEATURES # INCLUDE_QUIET_PACKAGES # DESCRIPTION "Enabled Features:" # VAR enabledFeaturesText) # message(STATUS "${enabledFeaturesText}") # # # SET_PACKAGE_PROPERTIES( PROPERTIES [ URL ] # [ DESCRIPTION ] # [ TYPE (RUNTIME|OPTIONAL|RECOMMENDED|REQUIRED) ] # [ PURPOSE ] # ) # # Use this macro to set up information about the named package, which can # then be displayed via FEATURE_SUMMARY(). # This can be done either directly in the Find-module or in the project # which uses the module after the find_package() call. # The features for which information can be set are added automatically by the # find_package() command. # # URL: this should be the homepage of the package, or something similar. Ideally this is set # already directly in the Find-module. # # DESCRIPTION: A short description what that package is, at most one sentence. # Ideally this is set already directly in the Find-module. # # TYPE: What type of dependency has the using project on that package. Default is OPTIONAL. # In this case it is a package which can be used by the project when available at buildtime, # but it also work without. RECOMMENDED is similar to OPTIONAL, i.e. the project will build # if the package is not present, but the functionality of the resulting binaries will be severly # limited. If a REQUIRED package is not available at buildtime, the project may not even build. This # can be combined with the FATAL_ON_MISSING_REQUIRED_PACKAGES argument for feature_summary(). # Last, a RUNTIME package is a package which is actually not used at all during the build, but # which is required for actually running the resulting binaries. So if such a package is missing, # the project can still be built, but it may not work later on. If set_package_properties() is called # multiple times for the same package with different TYPEs, the TYPE is only changed to higher # TYPEs ( RUNTIME < OPTIONAL < RECOMMENDED < REQUIRED ), lower TYPEs are ignored. # The TYPE property is project-specific, so it cannot be set by the Find-module, but must be set in the project. # # PURPOSE: This describes which features this package enables in the project, i.e. it tells the user # what functionality he gets in the resulting binaries. # If set_package_properties() is called multiple times for a package, all PURPOSE properties are appended # to a list of purposes of the package in the project. # As the TYPE property, also the PURPOSE property # is project-specific, so it cannot be set by the Find-module, but must be set in the project. # # # Example for setting the info for a package: # find_package(LibXml2) # set_package_properties(LibXml2 PROPERTIES DESCRIPTION "A XML processing library." # URL "http://xmlsoft.org/") # # set_package_properties(LibXml2 PROPERTIES TYPE RECOMMENDED # PURPOSE "Enables HTML-import in MyWordProcessor") # ... # set_package_properties(LibXml2 PROPERTIES TYPE OPTIONAL # PURPOSE "Enables odt-export in MyWordProcessor") # # find_package(DBUS) # set_package_properties(DBUS PROPERTIES TYPE RUNTIME # PURPOSE "Necessary to disable the screensaver during a presentation" ) # # ADD_FEATURE_INFO( ) # Use this macro to add information about a feature with the given . # contains whether this feature is enabled or not, # is a text describing the feature. # The information can be displayed using feature_summary() for ENABLED_FEATURES # and DISABLED_FEATURES respectively. # # Example for setting the info for a feature: # option(WITH_FOO "Help for foo" ON) # add_feature_info(Foo WITH_FOO "The Foo feature provides very cool stuff.") # # # The following macros are provided for compatibility with previous CMake versions: # # SET_PACKAGE_INFO( [ [] ] ) # Use this macro to set up information about the named package, which can # then be displayed via FEATURE_SUMMARY(). # This can be done either directly in the Find-module or in the project # which uses the module after the find_package() call. # The features for which information can be set are added automatically by the # find_package() command. # # PRINT_ENABLED_FEATURES() # Does the same as FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:") # # PRINT_DISABLED_FEATURES() # Does the same as FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:") # # SET_FEATURE_INFO( [] ) # Does the same as SET_PACKAGE_INFO( ) #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include("${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake") function(ADD_FEATURE_INFO _name _enabled _desc) if (${_enabled}) set_property(GLOBAL APPEND PROPERTY ENABLED_FEATURES "${_name}") else () set_property(GLOBAL APPEND PROPERTY DISABLED_FEATURES "${_name}") endif () set_property(GLOBAL PROPERTY _CMAKE_${_name}_DESCRIPTION "${_desc}" ) endfunction() function(SET_PACKAGE_PROPERTIES _name _props) if(NOT "${_props}" STREQUAL "PROPERTIES") message(FATAL_ERROR "PROPERTIES keyword is missing in SET_PACKAGE_PROPERTIES() call.") endif() set(options ) # none set(oneValueArgs DESCRIPTION URL TYPE PURPOSE ) set(multiValueArgs ) # none CMAKE_PARSE_ARGUMENTS(_SPP "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(_SPP_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to SET_PACKAGE_PROPERTIES(): \"${_SPP_UNPARSED_ARGUMENTS}\"") endif() if(_SPP_DESCRIPTION) get_property(_info GLOBAL PROPERTY _CMAKE_${_name}_DESCRIPTION) if(_info AND NOT "${_info}" STREQUAL "${_SPP_DESCRIPTION}") message(STATUS "Warning: Property DESCRIPTION for package ${_name} already set to \"${_info}\", overriding it with \"${_SPP_DESCRIPTION}\"") endif() set_property(GLOBAL PROPERTY _CMAKE_${_name}_DESCRIPTION "${_SPP_DESCRIPTION}" ) endif() if(_SPP_URL) get_property(_info GLOBAL PROPERTY _CMAKE_${_name}_URL) if(_info AND NOT "${_info}" STREQUAL "${_SPP_URL}") message(STATUS "Warning: Property URL already set to \"${_info}\", overriding it with \"${_SPP_URL}\"") endif() set_property(GLOBAL PROPERTY _CMAKE_${_name}_URL "${_SPP_URL}" ) endif() # handle the PURPOSE: use APPEND, since there can be multiple purposes for one package inside a project if(_SPP_PURPOSE) set_property(GLOBAL APPEND PROPERTY _CMAKE_${_name}_PURPOSE "${_SPP_PURPOSE}" ) endif() # handle the TYPE if(NOT _SPP_TYPE) set(_SPP_TYPE OPTIONAL) endif() # List the supported types, according to their priority set(validTypes "RUNTIME" "OPTIONAL" "RECOMMENDED" "REQUIRED" ) list(FIND validTypes ${_SPP_TYPE} _typeIndexInList) if("${_typeIndexInList}" STREQUAL "-1" ) message(FATAL_ERROR "Bad package property type ${_SPP_TYPE} used in SET_PACKAGE_PROPERTIES(). " "Valid types are OPTIONAL, RECOMMENDED, REQUIRED and RUNTIME." ) endif() get_property(_previousType GLOBAL PROPERTY _CMAKE_${_name}_TYPE) list(FIND validTypes "${_previousType}" _prevTypeIndexInList) # make sure a previously set TYPE is not overridden with a lower new TYPE: if("${_typeIndexInList}" GREATER "${_prevTypeIndexInList}") set_property(GLOBAL PROPERTY _CMAKE_${_name}_TYPE "${_SPP_TYPE}" ) endif() endfunction() function(_FS_GET_FEATURE_SUMMARY _property _var _includeQuiet) set(_type "ANY") if("${_property}" MATCHES "REQUIRED_") set(_type "REQUIRED") elseif("${_property}" MATCHES "RECOMMENDED_") set(_type "RECOMMENDED") elseif("${_property}" MATCHES "RUNTIME_") set(_type "RUNTIME") elseif("${_property}" MATCHES "OPTIONAL_") set(_type "OPTIONAL") endif() if("${_property}" MATCHES "PACKAGES_FOUND") set(_property "PACKAGES_FOUND") elseif("${_property}" MATCHES "PACKAGES_NOT_FOUND") set(_property "PACKAGES_NOT_FOUND") endif() set(_currentFeatureText "") get_property(_EnabledFeatures GLOBAL PROPERTY ${_property}) foreach(_currentFeature ${_EnabledFeatures}) # does this package belong to the type we currently want to list ? get_property(_currentType GLOBAL PROPERTY _CMAKE_${_currentFeature}_TYPE) if(NOT _currentType) set(_currentType OPTIONAL) endif() if("${_type}" STREQUAL ANY OR "${_type}" STREQUAL "${_currentType}") # check whether the current feature/package should be in the output depending on whether it was QUIET or not set(includeThisOne TRUE) # skip QUIET packages, except if they are REQUIRED or INCLUDE_QUIET_PACKAGES has been set if((NOT "${_currentType}" STREQUAL "REQUIRED") AND NOT _includeQuiet) get_property(_isQuiet GLOBAL PROPERTY _CMAKE_${_currentFeature}_QUIET) if(_isQuiet) set(includeThisOne FALSE) endif() endif() if(includeThisOne) set(_currentFeatureText "${_currentFeatureText}\n * ${_currentFeature}") get_property(_info GLOBAL PROPERTY _CMAKE_${_currentFeature}_REQUIRED_VERSION) if(_info) set(_currentFeatureText "${_currentFeatureText} (required version ${_info})") endif() get_property(_info GLOBAL PROPERTY _CMAKE_${_currentFeature}_DESCRIPTION) if(_info) set(_currentFeatureText "${_currentFeatureText} , ${_info}") endif() get_property(_info GLOBAL PROPERTY _CMAKE_${_currentFeature}_URL) if(_info) set(_currentFeatureText "${_currentFeatureText} , <${_info}>") endif() get_property(_info GLOBAL PROPERTY _CMAKE_${_currentFeature}_PURPOSE) foreach(_purpose ${_info}) set(_currentFeatureText "${_currentFeatureText}\n ${_purpose}") endforeach() endif() endif() endforeach() set(${_var} "${_currentFeatureText}" PARENT_SCOPE) endfunction() function(FEATURE_SUMMARY) # CMAKE_PARSE_ARGUMENTS( args...) set(options APPEND INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) set(oneValueArgs FILENAME VAR DESCRIPTION WHAT) set(multiValueArgs ) # none CMAKE_PARSE_ARGUMENTS(_FS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${_FIRST_ARG} ${ARGN}) if(_FS_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to FEATURE_SUMMARY(): \"${_FS_UNPARSED_ARGUMENTS}\"") endif() if(NOT _FS_WHAT) message(FATAL_ERROR "The call to FEATURE_SUMMARY() doesn't set the required WHAT argument.") endif() set(validWhatParts "ENABLED_FEATURES" "DISABLED_FEATURES" "PACKAGES_FOUND" "PACKAGES_NOT_FOUND" "OPTIONAL_PACKAGES_FOUND" "OPTIONAL_PACKAGES_NOT_FOUND" "RECOMMENDED_PACKAGES_FOUND" "RECOMMENDED_PACKAGES_NOT_FOUND" "REQUIRED_PACKAGES_FOUND" "REQUIRED_PACKAGES_NOT_FOUND" "RUNTIME_PACKAGES_FOUND" "RUNTIME_PACKAGES_NOT_FOUND") list(FIND validWhatParts "${_FS_WHAT}" indexInList) if(NOT "${indexInList}" STREQUAL "-1") _FS_GET_FEATURE_SUMMARY( ${_FS_WHAT} _featureSummary ${_FS_INCLUDE_QUIET_PACKAGES} ) set(_fullText "${_FS_DESCRIPTION}${_featureSummary}\n") if (("${_FS_WHAT}" STREQUAL "REQUIRED_PACKAGES_NOT_FOUND") AND _featureSummary) set(requiredPackagesNotFound TRUE) endif() elseif("${_FS_WHAT}" STREQUAL "ALL") set(allWhatParts "ENABLED_FEATURES" "RUNTIME_PACKAGES_FOUND" "OPTIONAL_PACKAGES_FOUND" "RECOMMENDED_PACKAGES_FOUND" "REQUIRED_PACKAGES_FOUND" "DISABLED_FEATURES" "RUNTIME_PACKAGES_NOT_FOUND" "OPTIONAL_PACKAGES_NOT_FOUND" "RECOMMENDED_PACKAGES_NOT_FOUND" "REQUIRED_PACKAGES_NOT_FOUND" ) set(title_ENABLED_FEATURES "The following features have been enabled:") set(title_DISABLED_FEATURES "The following features have been disabled:") set(title_OPTIONAL_PACKAGES_FOUND "The following OPTIONAL packages have been found:") set(title_OPTIONAL_PACKAGES_NOT_FOUND "The following OPTIONAL packages have not been found:") set(title_RECOMMENDED_PACKAGES_FOUND "The following RECOMMENDED packages have been found:") set(title_RECOMMENDED_PACKAGES_NOT_FOUND "The following RECOMMENDED packages have not been found:") set(title_REQUIRED_PACKAGES_FOUND "The following REQUIRED packages have been found:") set(title_REQUIRED_PACKAGES_NOT_FOUND "The following REQUIRED packages have not been found:") set(title_RUNTIME_PACKAGES_FOUND "The following RUNTIME packages have been found:") set(title_RUNTIME_PACKAGES_NOT_FOUND "The following RUNTIME packages have not been found:") set(_fullText "${_FS_DESCRIPTION}") foreach(part ${allWhatParts}) set(_tmp) _FS_GET_FEATURE_SUMMARY( ${part} _tmp ${_FS_INCLUDE_QUIET_PACKAGES}) if(_tmp) set(_fullText "${_fullText}\n-- ${title_${part}}\n${_tmp}\n") if("${part}" STREQUAL "REQUIRED_PACKAGES_NOT_FOUND") set(requiredPackagesNotFound TRUE) endif() endif() endforeach() else() message(FATAL_ERROR "The WHAT argument of FEATURE_SUMMARY() is set to ${_FS_WHAT}, which is not a valid value.") endif() if(_FS_FILENAME) if(_FS_APPEND) file(APPEND "${_FS_FILENAME}" "${_fullText}") else() file(WRITE "${_FS_FILENAME}" "${_fullText}") endif() else() if(NOT _FS_VAR) message(STATUS "${_fullText}") endif() endif() if(_FS_VAR) set(${_FS_VAR} "${_fullText}" PARENT_SCOPE) endif() if(requiredPackagesNotFound AND _FS_FATAL_ON_MISSING_REQUIRED_PACKAGES) message(FATAL_ERROR "feature_summary() Error: REQUIRED package(s) are missing, aborting CMake run.") endif() endfunction() # The stuff below is only kept for compatibility function(SET_PACKAGE_INFO _name _desc) set(_url "${ARGV2}") set(_purpose "${ARGV3}") set_property(GLOBAL PROPERTY _CMAKE_${_name}_DESCRIPTION "${_desc}" ) if(_url MATCHES ".+") set_property(GLOBAL PROPERTY _CMAKE_${_name}_URL "${_url}" ) endif() if(_purpose MATCHES ".+") set_property(GLOBAL APPEND PROPERTY _CMAKE_${_name}_PURPOSE "${_purpose}" ) endif() endfunction() function(SET_FEATURE_INFO) SET_PACKAGE_INFO(${ARGN}) endfunction() function(PRINT_ENABLED_FEATURES) FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:") endfunction() function(PRINT_DISABLED_FEATURES) FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:") endfunction() cmake-2.8.12.2/Modules/FindALSA.cmake000644 000765 000024 00000004216 12266011634 017574 0ustar00kitwarestaff000000 000000 # - Find alsa # Find the alsa libraries (asound) # # This module defines the following variables: # ALSA_FOUND - True if ALSA_INCLUDE_DIR & ALSA_LIBRARY are found # ALSA_LIBRARIES - Set when ALSA_LIBRARY is found # ALSA_INCLUDE_DIRS - Set when ALSA_INCLUDE_DIR is found # # ALSA_INCLUDE_DIR - where to find asoundlib.h, etc. # ALSA_LIBRARY - the asound library # ALSA_VERSION_STRING - the version of alsa found (since CMake 2.8.8) # #============================================================================= # Copyright 2009-2011 Kitware, Inc. # Copyright 2009-2011 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(ALSA_INCLUDE_DIR NAMES alsa/asoundlib.h DOC "The ALSA (asound) include directory" ) find_library(ALSA_LIBRARY NAMES asound DOC "The ALSA (asound) library" ) if(ALSA_INCLUDE_DIR AND EXISTS "${ALSA_INCLUDE_DIR}/alsa/version.h") file(STRINGS "${ALSA_INCLUDE_DIR}/alsa/version.h" alsa_version_str REGEX "^#define[\t ]+SND_LIB_VERSION_STR[\t ]+\".*\"") string(REGEX REPLACE "^.*SND_LIB_VERSION_STR[\t ]+\"([^\"]*)\".*$" "\\1" ALSA_VERSION_STRING "${alsa_version_str}") unset(alsa_version_str) endif() # handle the QUIETLY and REQUIRED arguments and set ALSA_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(ALSA REQUIRED_VARS ALSA_LIBRARY ALSA_INCLUDE_DIR VERSION_VAR ALSA_VERSION_STRING) if(ALSA_FOUND) set( ALSA_LIBRARIES ${ALSA_LIBRARY} ) set( ALSA_INCLUDE_DIRS ${ALSA_INCLUDE_DIR} ) endif() mark_as_advanced(ALSA_INCLUDE_DIR ALSA_LIBRARY) cmake-2.8.12.2/Modules/FindArmadillo.cmake000644 000765 000024 00000007503 12266011634 020762 0ustar00kitwarestaff000000 000000 # - Find Armadillo # Find the Armadillo C++ library # # Using Armadillo: # find_package(Armadillo REQUIRED) # include_directories(${ARMADILLO_INCLUDE_DIRS}) # add_executable(foo foo.cc) # target_link_libraries(foo ${ARMADILLO_LIBRARIES}) # This module sets the following variables: # ARMADILLO_FOUND - set to true if the library is found # ARMADILLO_INCLUDE_DIRS - list of required include directories # ARMADILLO_LIBRARIES - list of libraries to be linked # ARMADILLO_VERSION_MAJOR - major version number # ARMADILLO_VERSION_MINOR - minor version number # ARMADILLO_VERSION_PATCH - patch version number # ARMADILLO_VERSION_STRING - version number as a string (ex: "1.0.4") # ARMADILLO_VERSION_NAME - name of the version (ex: "Antipodean Antileech") #============================================================================= # Copyright 2011 Clement Creusot # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # UNIX paths are standard, no need to write. find_library(ARMADILLO_LIBRARY NAMES armadillo PATHS "$ENV{ProgramFiles}/Armadillo/lib" "$ENV{ProgramFiles}/Armadillo/lib64" "$ENV{ProgramFiles}/Armadillo" ) find_path(ARMADILLO_INCLUDE_DIR NAMES armadillo PATHS "$ENV{ProgramFiles}/Armadillo/include" ) if(ARMADILLO_INCLUDE_DIR) # ------------------------------------------------------------------------ # Extract version information from # ------------------------------------------------------------------------ # WARNING: Early releases of Armadillo didn't have the arma_version.hpp file. # (e.g. v.0.9.8-1 in ubuntu maverick packages (2001-03-15)) # If the file is missing, set all values to 0 set(ARMADILLO_VERSION_MAJOR 0) set(ARMADILLO_VERSION_MINOR 0) set(ARMADILLO_VERSION_PATCH 0) set(ARMADILLO_VERSION_NAME "EARLY RELEASE") if(EXISTS "${ARMADILLO_INCLUDE_DIR}/armadillo_bits/arma_version.hpp") # Read and parse armdillo version header file for version number file(STRINGS "${ARMADILLO_INCLUDE_DIR}/armadillo_bits/arma_version.hpp" _armadillo_HEADER_CONTENTS REGEX "#define ARMA_VERSION_[A-Z]+ ") string(REGEX REPLACE ".*#define ARMA_VERSION_MAJOR ([0-9]+).*" "\\1" ARMADILLO_VERSION_MAJOR "${_armadillo_HEADER_CONTENTS}") string(REGEX REPLACE ".*#define ARMA_VERSION_MINOR ([0-9]+).*" "\\1" ARMADILLO_VERSION_MINOR "${_armadillo_HEADER_CONTENTS}") string(REGEX REPLACE ".*#define ARMA_VERSION_PATCH ([0-9]+).*" "\\1" ARMADILLO_VERSION_PATCH "${_armadillo_HEADER_CONTENTS}") # WARNING: The number of spaces before the version name is not one. string(REGEX REPLACE ".*#define ARMA_VERSION_NAME +\"([0-9a-zA-Z _-]+)\".*" "\\1" ARMADILLO_VERSION_NAME "${_armadillo_HEADER_CONTENTS}") unset(_armadillo_HEADER_CONTENTS) endif() set(ARMADILLO_VERSION_STRING "${ARMADILLO_VERSION_MAJOR}.${ARMADILLO_VERSION_MINOR}.${ARMADILLO_VERSION_PATCH}") endif () #====================== # Checks 'REQUIRED', 'QUIET' and versions. include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(Armadillo REQUIRED_VARS ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR VERSION_VAR ARMADILLO_VERSION_STRING) # version_var fails with cmake < 2.8.4. if (ARMADILLO_FOUND) set(ARMADILLO_INCLUDE_DIRS ${ARMADILLO_INCLUDE_DIR}) set(ARMADILLO_LIBRARIES ${ARMADILLO_LIBRARY}) endif () # Hide internal variables mark_as_advanced( ARMADILLO_INCLUDE_DIR ARMADILLO_LIBRARY) #====================== cmake-2.8.12.2/Modules/FindASPELL.cmake000644 000765 000024 00000002741 12266011634 020035 0ustar00kitwarestaff000000 000000 # - Try to find ASPELL # Once done this will define # # ASPELL_FOUND - system has ASPELL # ASPELL_EXECUTABLE - the ASPELL executable # ASPELL_INCLUDE_DIR - the ASPELL include directory # ASPELL_LIBRARIES - The libraries needed to use ASPELL # ASPELL_DEFINITIONS - Compiler switches required for using ASPELL #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(ASPELL_INCLUDE_DIR aspell.h ) find_program(ASPELL_EXECUTABLE NAMES aspell ) find_library(ASPELL_LIBRARIES NAMES aspell aspell-15 libaspell-15 libaspell) # handle the QUIETLY and REQUIRED arguments and set ASPELL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(ASPELL DEFAULT_MSG ASPELL_LIBRARIES ASPELL_INCLUDE_DIR ASPELL_EXECUTABLE) mark_as_advanced(ASPELL_INCLUDE_DIR ASPELL_LIBRARIES ASPELL_EXECUTABLE) cmake-2.8.12.2/Modules/FindAVIFile.cmake000644 000765 000024 00000003363 12266011634 020275 0ustar00kitwarestaff000000 000000 # - Locate AVIFILE library and include paths # AVIFILE (http://avifile.sourceforge.net/)is a set of libraries for # i386 machines # to use various AVI codecs. Support is limited beyond Linux. Windows # provides native AVI support, and so doesn't need this library. # This module defines # AVIFILE_INCLUDE_DIR, where to find avifile.h , etc. # AVIFILE_LIBRARIES, the libraries to link against # AVIFILE_DEFINITIONS, definitions to use when compiling # AVIFILE_FOUND, If false, don't try to use AVIFILE #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (UNIX) find_path(AVIFILE_INCLUDE_DIR avifile.h /usr/local/avifile/include /usr/local/include/avifile ) find_library(AVIFILE_AVIPLAY_LIBRARY aviplay /usr/local/avifile/lib ) endif () # handle the QUIETLY and REQUIRED arguments and set AVIFILE_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(AVIFile DEFAULT_MSG AVIFILE_INCLUDE_DIR AVIFILE_AVIPLAY_LIBRARY) if (AVIFILE_FOUND) set(AVIFILE_LIBRARIES ${AVIFILE_AVIPLAY_LIBRARY}) set(AVIFILE_DEFINITIONS "") endif() mark_as_advanced(AVIFILE_INCLUDE_DIR AVIFILE_AVIPLAY_LIBRARY) cmake-2.8.12.2/Modules/FindBISON.cmake000644 000765 000024 00000016163 12266011634 017732 0ustar00kitwarestaff000000 000000 # - Find bison executable and provides macros to generate custom build rules # The module defines the following variables: # # BISON_EXECUTABLE - path to the bison program # BISON_VERSION - version of bison # BISON_FOUND - true if the program was found # # The minimum required version of bison can be specified using the # standard CMake syntax, e.g. find_package(BISON 2.1.3) # # If bison is found, the module defines the macros: # BISON_TARGET( [VERBOSE ] # [COMPILE_FLAGS ]) # which will create a custom rule to generate a parser. is # the path to a yacc file. is the name of the source file # generated by bison. A header file is also be generated, and contains # the token list. If COMPILE_FLAGS option is specified, the next # parameter is added in the bison command line. if VERBOSE option is # specified, is created and contains verbose descriptions of the # grammar and parser. The macro defines a set of variables: # BISON_${Name}_DEFINED - true is the macro ran successfully # BISON_${Name}_INPUT - The input source file, an alias for # BISON_${Name}_OUTPUT_SOURCE - The source file generated by bison # BISON_${Name}_OUTPUT_HEADER - The header file generated by bison # BISON_${Name}_OUTPUTS - The sources files generated by bison # BISON_${Name}_COMPILE_FLAGS - Options used in the bison command line # # ==================================================================== # Example: # # find_package(BISON) # BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp) # add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS}) # ==================================================================== #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2006 Tristan Carel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(BISON_EXECUTABLE NAMES bison win_bison DOC "path to the bison executable") mark_as_advanced(BISON_EXECUTABLE) if(BISON_EXECUTABLE) # the bison commands should be executed with the C locale, otherwise # the message (which are parsed) may be translated set(_Bison_SAVED_LC_ALL "$ENV{LC_ALL}") set(ENV{LC_ALL} C) execute_process(COMMAND ${BISON_EXECUTABLE} --version OUTPUT_VARIABLE BISON_version_output ERROR_VARIABLE BISON_version_error RESULT_VARIABLE BISON_version_result OUTPUT_STRIP_TRAILING_WHITESPACE) set(ENV{LC_ALL} ${_Bison_SAVED_LC_ALL}) if(NOT ${BISON_version_result} EQUAL 0) message(SEND_ERROR "Command \"${BISON_EXECUTABLE} --version\" failed with output:\n${BISON_version_error}") else() # Bison++ if("${BISON_version_output}" MATCHES "^bison\\+\\+") string(REGEX REPLACE "^bison\\+\\+ Version ([^,]+).*" "\\1" BISON_VERSION "${BISON_version_output}") # GNU Bison elseif("${BISON_version_output}" MATCHES "^bison[^+]") string(REGEX REPLACE "^bison \\(GNU Bison\\) ([^\n]+)\n.*" "\\1" BISON_VERSION "${BISON_version_output}") elseif("${BISON_version_output}" MATCHES "^GNU Bison ") string(REGEX REPLACE "^GNU Bison (version )?([^\n]+).*" "\\2" BISON_VERSION "${BISON_version_output}") endif() endif() # internal macro macro(BISON_TARGET_option_verbose Name BisonOutput filename) list(APPEND BISON_TARGET_cmdopt "--verbose") get_filename_component(BISON_TARGET_output_path "${BisonOutput}" PATH) get_filename_component(BISON_TARGET_output_name "${BisonOutput}" NAME_WE) add_custom_command(OUTPUT ${filename} COMMAND ${CMAKE_COMMAND} ARGS -E copy "${BISON_TARGET_output_path}/${BISON_TARGET_output_name}.output" "${filename}" DEPENDS "${BISON_TARGET_output_path}/${BISON_TARGET_output_name}.output" COMMENT "[BISON][${Name}] Copying bison verbose table to ${filename}" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) set(BISON_${Name}_VERBOSE_FILE ${filename}) list(APPEND BISON_TARGET_extraoutputs "${BISON_TARGET_output_path}/${BISON_TARGET_output_name}.output") endmacro() # internal macro macro(BISON_TARGET_option_extraopts Options) set(BISON_TARGET_extraopts "${Options}") separate_arguments(BISON_TARGET_extraopts) list(APPEND BISON_TARGET_cmdopt ${BISON_TARGET_extraopts}) endmacro() #============================================================ # BISON_TARGET (public macro) #============================================================ # macro(BISON_TARGET Name BisonInput BisonOutput) set(BISON_TARGET_output_header "") set(BISON_TARGET_cmdopt "") set(BISON_TARGET_outputs "${BisonOutput}") if(NOT ${ARGC} EQUAL 3 AND NOT ${ARGC} EQUAL 5 AND NOT ${ARGC} EQUAL 7) message(SEND_ERROR "Usage") else() # Parsing parameters if(${ARGC} GREATER 5 OR ${ARGC} EQUAL 5) if("${ARGV3}" STREQUAL "VERBOSE") BISON_TARGET_option_verbose(${Name} ${BisonOutput} "${ARGV4}") endif() if("${ARGV3}" STREQUAL "COMPILE_FLAGS") BISON_TARGET_option_extraopts("${ARGV4}") endif() endif() if(${ARGC} EQUAL 7) if("${ARGV5}" STREQUAL "VERBOSE") BISON_TARGET_option_verbose(${Name} ${BisonOutput} "${ARGV6}") endif() if("${ARGV5}" STREQUAL "COMPILE_FLAGS") BISON_TARGET_option_extraopts("${ARGV6}") endif() endif() # Header's name generated by bison (see option -d) list(APPEND BISON_TARGET_cmdopt "-d") string(REGEX REPLACE "^(.*)(\\.[^.]*)$" "\\2" _fileext "${ARGV2}") string(REPLACE "c" "h" _fileext ${_fileext}) string(REGEX REPLACE "^(.*)(\\.[^.]*)$" "\\1${_fileext}" BISON_${Name}_OUTPUT_HEADER "${ARGV2}") list(APPEND BISON_TARGET_outputs "${BISON_${Name}_OUTPUT_HEADER}") add_custom_command(OUTPUT ${BISON_TARGET_outputs} ${BISON_TARGET_extraoutputs} COMMAND ${BISON_EXECUTABLE} ARGS ${BISON_TARGET_cmdopt} -o ${ARGV2} ${ARGV1} DEPENDS ${ARGV1} COMMENT "[BISON][${Name}] Building parser with bison ${BISON_VERSION}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) # define target variables set(BISON_${Name}_DEFINED TRUE) set(BISON_${Name}_INPUT ${ARGV1}) set(BISON_${Name}_OUTPUTS ${BISON_TARGET_outputs}) set(BISON_${Name}_COMPILE_FLAGS ${BISON_TARGET_cmdopt}) set(BISON_${Name}_OUTPUT_SOURCE "${BisonOutput}") endif() endmacro() # #============================================================ endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(BISON REQUIRED_VARS BISON_EXECUTABLE VERSION_VAR BISON_VERSION) # FindBISON.cmake ends here cmake-2.8.12.2/Modules/FindBLAS.cmake000644 000765 000024 00000040623 12266011634 017577 0ustar00kitwarestaff000000 000000 # - Find BLAS library # This module finds an installed fortran library that implements the BLAS # linear-algebra interface (see http://www.netlib.org/blas/). # The list of libraries searched for is taken # from the autoconf macro file, acx_blas.m4 (distributed at # http://ac-archive.sourceforge.net/ac-archive/acx_blas.html). # # This module sets the following variables: # BLAS_FOUND - set to true if a library implementing the BLAS interface # is found # BLAS_LINKER_FLAGS - uncached list of required linker flags (excluding -l # and -L). # BLAS_LIBRARIES - uncached list of libraries (using full path name) to # link against to use BLAS # BLAS95_LIBRARIES - uncached list of libraries (using full path name) # to link against to use BLAS95 interface # BLAS95_FOUND - set to true if a library implementing the BLAS f95 interface # is found # BLA_STATIC if set on this determines what kind of linkage we do (static) # BLA_VENDOR if set checks only the specified vendor, if not set checks # all the possibilities # BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK ########## ### List of vendors (BLA_VENDOR) valid in this module ## Goto,ATLAS PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread model, lp64 model), ## Intel10_64lp_seq (intel mkl v10 64 bit,sequential code, lp64 model), ## Intel( older versions of mkl 32 and 64 bit), ACML,ACML_MP,ACML_GPU,Apple, NAS, Generic # C/CXX should be enabled to use Intel mkl #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake) include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake) set(_blas_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) # Check the language being used get_property( _LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES ) if( _LANGUAGES_ MATCHES Fortran ) set( _CHECK_FORTRAN TRUE ) elseif( (_LANGUAGES_ MATCHES C) OR (_LANGUAGES_ MATCHES CXX) ) set( _CHECK_FORTRAN FALSE ) else() if(BLAS_FIND_REQUIRED) message(FATAL_ERROR "FindBLAS requires Fortran, C, or C++ to be enabled.") else() message(STATUS "Looking for BLAS... - NOT found (Unsupported languages)") return() endif() endif() macro(Check_Fortran_Libraries LIBRARIES _prefix _name _flags _list _thread) # This macro checks for the existence of the combination of fortran libraries # given by _list. If the combination is found, this macro checks (using the # Check_Fortran_Function_Exists macro) whether can link against that library # combination using the name of a routine given by _name using the linker # flags given by _flags. If the combination of libraries is found and passes # the link test, LIBRARIES is set to the list of complete library paths that # have been found. Otherwise, LIBRARIES is set to FALSE. # N.B. _prefix is the prefix applied to the names of all cached variables that # are generated internally and marked advanced by this macro. set(_libdir ${ARGN}) set(_libraries_work TRUE) set(${LIBRARIES}) set(_combined_name) if (NOT _libdir) if (WIN32) set(_libdir ENV LIB) elseif (APPLE) set(_libdir ENV DYLD_LIBRARY_PATH) else () set(_libdir ENV LD_LIBRARY_PATH) endif () endif () foreach(_library ${_list}) set(_combined_name ${_combined_name}_${_library}) if(_libraries_work) if (BLA_STATIC) if (WIN32) set(CMAKE_FIND_LIBRARY_SUFFIXES .lib ${CMAKE_FIND_LIBRARY_SUFFIXES}) endif () if (APPLE) set(CMAKE_FIND_LIBRARY_SUFFIXES .lib ${CMAKE_FIND_LIBRARY_SUFFIXES}) else () set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) endif () else () if (CMAKE_SYSTEM_NAME STREQUAL "Linux") # for ubuntu's libblas3gf and liblapack3gf packages set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES} .so.3gf) endif () endif () find_library(${_prefix}_${_library}_LIBRARY NAMES ${_library} PATHS ${_libdir} ) mark_as_advanced(${_prefix}_${_library}_LIBRARY) set(${LIBRARIES} ${${LIBRARIES}} ${${_prefix}_${_library}_LIBRARY}) set(_libraries_work ${${_prefix}_${_library}_LIBRARY}) endif() endforeach() if(_libraries_work) # Test this combination of libraries. set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}} ${_thread}) # message("DEBUG: CMAKE_REQUIRED_LIBRARIES = ${CMAKE_REQUIRED_LIBRARIES}") if (_CHECK_FORTRAN) check_fortran_function_exists("${_name}" ${_prefix}${_combined_name}_WORKS) else() check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS) endif() set(CMAKE_REQUIRED_LIBRARIES) mark_as_advanced(${_prefix}${_combined_name}_WORKS) set(_libraries_work ${${_prefix}${_combined_name}_WORKS}) endif() if(NOT _libraries_work) set(${LIBRARIES} FALSE) endif() #message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}") endmacro() set(BLAS_LINKER_FLAGS) set(BLAS_LIBRARIES) set(BLAS95_LIBRARIES) if ($ENV{BLA_VENDOR} MATCHES ".+") set(BLA_VENDOR $ENV{BLA_VENDOR}) else () if(NOT BLA_VENDOR) set(BLA_VENDOR "All") endif() endif () if (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) # gotoblas (http://www.tacc.utexas.edu/tacc-projects/gotoblas2) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "goto2" "" ) endif() endif () if (BLA_VENDOR STREQUAL "ATLAS" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/) check_fortran_libraries( BLAS_LIBRARIES BLAS dgemm "" "f77blas;atlas" "" ) endif() endif () # BLAS in PhiPACK libraries? (requires generic BLAS lib, too) if (BLA_VENDOR STREQUAL "PhiPACK" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "sgemm;dgemm;blas" "" ) endif() endif () # BLAS in Alpha CXML library? if (BLA_VENDOR STREQUAL "CXML" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "cxml" "" ) endif() endif () # BLAS in Alpha DXML library? (now called CXML, see above) if (BLA_VENDOR STREQUAL "DXML" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "dxml" "" ) endif() endif () # BLAS in Sun Performance library? if (BLA_VENDOR STREQUAL "SunPerf" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "-xlic_lib=sunperf" "sunperf;sunmath" "" ) if(BLAS_LIBRARIES) set(BLAS_LINKER_FLAGS "-xlic_lib=sunperf") endif() endif() endif () # BLAS in SCSL library? (SGI/Cray Scientific Library) if (BLA_VENDOR STREQUAL "SCSL" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "scsl" "" ) endif() endif () # BLAS in SGIMATH library? if (BLA_VENDOR STREQUAL "SGIMATH" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "complib.sgimath" "" ) endif() endif () # BLAS in IBM ESSL library? (requires generic BLAS lib, too) if (BLA_VENDOR STREQUAL "IBMESSL" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "essl;blas" "" ) endif() endif () #BLAS in acml library? if (BLA_VENDOR MATCHES "ACML.*" OR BLA_VENDOR STREQUAL "All") if( ((BLA_VENDOR STREQUAL "ACML") AND (NOT BLAS_ACML_LIB_DIRS)) OR ((BLA_VENDOR STREQUAL "ACML_MP") AND (NOT BLAS_ACML_MP_LIB_DIRS)) OR ((BLA_VENDOR STREQUAL "ACML_GPU") AND (NOT BLAS_ACML_GPU_LIB_DIRS)) ) # try to find acml in "standard" paths if( WIN32 ) file( GLOB _ACML_ROOT "C:/AMD/acml*/ACML-EULA.txt" ) else() file( GLOB _ACML_ROOT "/opt/acml*/ACML-EULA.txt" ) endif() if( WIN32 ) file( GLOB _ACML_GPU_ROOT "C:/AMD/acml*/GPGPUexamples" ) else() file( GLOB _ACML_GPU_ROOT "/opt/acml*/GPGPUexamples" ) endif() list(GET _ACML_ROOT 0 _ACML_ROOT) list(GET _ACML_GPU_ROOT 0 _ACML_GPU_ROOT) if( _ACML_ROOT ) get_filename_component( _ACML_ROOT ${_ACML_ROOT} PATH ) if( SIZEOF_INTEGER EQUAL 8 ) set( _ACML_PATH_SUFFIX "_int64" ) else() set( _ACML_PATH_SUFFIX "" ) endif() if( CMAKE_Fortran_COMPILER_ID STREQUAL "Intel" ) set( _ACML_COMPILER32 "ifort32" ) set( _ACML_COMPILER64 "ifort64" ) elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "SunPro" ) set( _ACML_COMPILER32 "sun32" ) set( _ACML_COMPILER64 "sun64" ) elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "PGI" ) set( _ACML_COMPILER32 "pgi32" ) if( WIN32 ) set( _ACML_COMPILER64 "win64" ) else() set( _ACML_COMPILER64 "pgi64" ) endif() elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "Open64" ) # 32 bit builds not supported on Open64 but for code simplicity # We'll just use the same directory twice set( _ACML_COMPILER32 "open64_64" ) set( _ACML_COMPILER64 "open64_64" ) elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "NAG" ) set( _ACML_COMPILER32 "nag32" ) set( _ACML_COMPILER64 "nag64" ) else() set( _ACML_COMPILER32 "gfortran32" ) set( _ACML_COMPILER64 "gfortran64" ) endif() if( BLA_VENDOR STREQUAL "ACML_MP" ) set(_ACML_MP_LIB_DIRS "${_ACML_ROOT}/${_ACML_COMPILER32}_mp${_ACML_PATH_SUFFIX}/lib" "${_ACML_ROOT}/${_ACML_COMPILER64}_mp${_ACML_PATH_SUFFIX}/lib" ) else() set(_ACML_LIB_DIRS "${_ACML_ROOT}/${_ACML_COMPILER32}${_ACML_PATH_SUFFIX}/lib" "${_ACML_ROOT}/${_ACML_COMPILER64}${_ACML_PATH_SUFFIX}/lib" ) endif() endif() elseif(BLAS_${BLA_VENDOR}_LIB_DIRS) set(_${BLA_VENDOR}_LIB_DIRS ${BLAS_${BLA_VENDOR}_LIB_DIRS}) endif() if( BLA_VENDOR STREQUAL "ACML_MP" ) foreach( BLAS_ACML_MP_LIB_DIRS ${_ACML_MP_LIB_DIRS}) check_fortran_libraries ( BLAS_LIBRARIES BLAS sgemm "" "acml_mp;acml_mv" "" ${BLAS_ACML_MP_LIB_DIRS} ) if( BLAS_LIBRARIES ) break() endif() endforeach() elseif( BLA_VENDOR STREQUAL "ACML_GPU" ) foreach( BLAS_ACML_GPU_LIB_DIRS ${_ACML_GPU_LIB_DIRS}) check_fortran_libraries ( BLAS_LIBRARIES BLAS sgemm "" "acml;acml_mv;CALBLAS" "" ${BLAS_ACML_GPU_LIB_DIRS} ) if( BLAS_LIBRARIES ) break() endif() endforeach() else() foreach( BLAS_ACML_LIB_DIRS ${_ACML_LIB_DIRS} ) check_fortran_libraries ( BLAS_LIBRARIES BLAS sgemm "" "acml;acml_mv" "" ${BLAS_ACML_LIB_DIRS} ) if( BLAS_LIBRARIES ) break() endif() endforeach() endif() # Either acml or acml_mp should be in LD_LIBRARY_PATH but not both if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "acml;acml_mv" "" ) endif() if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "acml_mp;acml_mv" "" ) endif() if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "acml;acml_mv;CALBLAS" "" ) endif() endif () # ACML # Apple BLAS library? if (BLA_VENDOR STREQUAL "Apple" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS dgemm "" "Accelerate" "" ) endif() endif () if (BLA_VENDOR STREQUAL "NAS" OR BLA_VENDOR STREQUAL "All") if ( NOT BLAS_LIBRARIES ) check_fortran_libraries( BLAS_LIBRARIES BLAS dgemm "" "vecLib" "" ) endif () endif () # Generic BLAS library? if (BLA_VENDOR STREQUAL "Generic" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) check_fortran_libraries( BLAS_LIBRARIES BLAS sgemm "" "blas" "" ) endif() endif () #BLAS in intel mkl 10 library? (em64t 64bit) if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All") if (NOT WIN32) set(LM "-lm") endif () if (_LANGUAGES_ MATCHES C OR _LANGUAGES_ MATCHES CXX) if(BLAS_FIND_QUIETLY OR NOT BLAS_FIND_REQUIRED) find_package(Threads) else() find_package(Threads REQUIRED) endif() set(BLAS_SEARCH_LIBS "") if(BLA_F95) set(BLAS_mkl_SEARCH_SYMBOL SGEMM) set(_LIBRARIES BLAS95_LIBRARIES) if (WIN32) list(APPEND BLAS_SEARCH_LIBS "mkl_blas95 mkl_intel_c mkl_intel_thread mkl_core libguide40") else () if (BLA_VENDOR STREQUAL "Intel10_32" OR BLA_VENDOR STREQUAL "All") list(APPEND BLAS_SEARCH_LIBS "mkl_blas95 mkl_intel mkl_intel_thread mkl_core guide") endif () if (BLA_VENDOR STREQUAL "Intel10_64lp" OR BLA_VENDOR STREQUAL "All") # old version list(APPEND BLAS_SEARCH_LIBS "mkl_blas95 mkl_intel_lp64 mkl_intel_thread mkl_core guide") # mkl >= 10.3 if (CMAKE_C_COMPILER MATCHES ".+gcc.*") list(APPEND BLAS_SEARCH_LIBS "mkl_blas95_lp64 mkl_intel_lp64 mkl_gnu_thread mkl_core gomp") else () list(APPEND BLAS_SEARCH_LIBS "mkl_blas95_lp64 mkl_intel_lp64 mkl_intel_thread mkl_core iomp5") endif () endif () endif () if (BLA_VENDOR STREQUAL "Intel10_64lp_seq" OR BLA_VENDOR STREQUAL "All") list(APPEND BLAS_SEARCH_LIBS "mkl_blas95_lp64 mkl_intel_lp64 mkl_sequential mkl_core") endif () else () set(BLAS_mkl_SEARCH_SYMBOL sgemm) set(_LIBRARIES BLAS_LIBRARIES) if (WIN32) list(APPEND BLAS_SEARCH_LIBS "mkl_c_dll mkl_intel_thread_dll mkl_core_dll libguide40") else () if (BLA_VENDOR STREQUAL "Intel10_32" OR BLA_VENDOR STREQUAL "All") list(APPEND BLAS_SEARCH_LIBS "mkl_intel mkl_intel_thread mkl_core guide") endif () if (BLA_VENDOR STREQUAL "Intel10_64lp" OR BLA_VENDOR STREQUAL "All") # old version list(APPEND BLAS_SEARCH_LIBS "mkl_intel_lp64 mkl_intel_thread mkl_core guide") # mkl >= 10.3 if (CMAKE_C_COMPILER MATCHES ".+gcc.*") list(APPEND BLAS_SEARCH_LIBS "mkl_intel_lp64 mkl_gnu_thread mkl_core gomp") else () list(APPEND BLAS_SEARCH_LIBS "mkl_intel_lp64 mkl_intel_thread mkl_core iomp5") endif () endif () #older vesions of intel mkl libs if (BLA_VENDOR STREQUAL "Intel" OR BLA_VENDOR STREQUAL "All") list(APPEND BLAS_SEARCH_LIBS "mkl") list(APPEND BLAS_SEARCH_LIBS "mkl_ia32") list(APPEND BLAS_SEARCH_LIBS "mkl_em64t") endif () endif () if (BLA_VENDOR STREQUAL "Intel10_64lp_seq" OR BLA_VENDOR STREQUAL "All") list(APPEND BLAS_SEARCH_LIBS "mkl_intel_lp64 mkl_sequential mkl_core") endif () endif () foreach (IT ${BLAS_SEARCH_LIBS}) string(REPLACE " " ";" SEARCH_LIBS ${IT}) if (${_LIBRARIES}) else () check_fortran_libraries( ${_LIBRARIES} BLAS ${BLAS_mkl_SEARCH_SYMBOL} "" "${SEARCH_LIBS}" "${CMAKE_THREAD_LIBS_INIT};${LM}" ) endif () endforeach () endif () endif () if(BLA_F95) if(BLAS95_LIBRARIES) set(BLAS95_FOUND TRUE) else() set(BLAS95_FOUND FALSE) endif() if(NOT BLAS_FIND_QUIETLY) if(BLAS95_FOUND) message(STATUS "A library with BLAS95 API found.") else() if(BLAS_FIND_REQUIRED) message(FATAL_ERROR "A required library with BLAS95 API not found. Please specify library location.") else() message(STATUS "A library with BLAS95 API not found. Please specify library location.") endif() endif() endif() set(BLAS_FOUND TRUE) set(BLAS_LIBRARIES "${BLAS95_LIBRARIES}") else() if(BLAS_LIBRARIES) set(BLAS_FOUND TRUE) else() set(BLAS_FOUND FALSE) endif() if(NOT BLAS_FIND_QUIETLY) if(BLAS_FOUND) message(STATUS "A library with BLAS API found.") else() if(BLAS_FIND_REQUIRED) message(FATAL_ERROR "A required library with BLAS API not found. Please specify library location." ) else() message(STATUS "A library with BLAS API not found. Please specify library location." ) endif() endif() endif() endif() set(CMAKE_FIND_LIBRARY_SUFFIXES ${_blas_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) cmake-2.8.12.2/Modules/FindBoost.cmake000644 000765 000024 00000137256 12266011634 020155 0ustar00kitwarestaff000000 000000 # - Find Boost include dirs and libraries # Use this module by invoking find_package with the form: # find_package(Boost # [version] [EXACT] # Minimum or EXACT version e.g. 1.36.0 # [REQUIRED] # Fail with error if Boost is not found # [COMPONENTS ...] # Boost libraries by their canonical name # ) # e.g. "date_time" for "libboost_date_time" # This module finds headers and requested component libraries OR a CMake # package configuration file provided by a "Boost CMake" build. For the # latter case skip to the "Boost CMake" section below. For the former # case results are reported in variables: # Boost_FOUND - True if headers and requested libraries were found # Boost_INCLUDE_DIRS - Boost include directories # Boost_LIBRARY_DIRS - Link directories for Boost libraries # Boost_LIBRARIES - Boost component libraries to be linked # Boost__FOUND - True if component was found ( is upper-case) # Boost__LIBRARY - Libraries to link for component (may include # target_link_libraries debug/optimized keywords) # Boost_VERSION - BOOST_VERSION value from boost/version.hpp # Boost_LIB_VERSION - Version string appended to library filenames # Boost_MAJOR_VERSION - Boost major version number (X in X.y.z) # Boost_MINOR_VERSION - Boost minor version number (Y in x.Y.z) # Boost_SUBMINOR_VERSION - Boost subminor version number (Z in x.y.Z) # Boost_LIB_DIAGNOSTIC_DEFINITIONS (Windows) # - Pass to add_definitions() to have diagnostic # information about Boost's automatic linking # displayed during compilation # # This module reads hints about search locations from variables: # BOOST_ROOT - Preferred installation prefix # (or BOOSTROOT) # BOOST_INCLUDEDIR - Preferred include directory e.g. /include # BOOST_LIBRARYDIR - Preferred library directory e.g. /lib # Boost_NO_SYSTEM_PATHS - Set to ON to disable searching in locations not # specified by these hint variables. Default is OFF. # Boost_ADDITIONAL_VERSIONS # - List of Boost versions not known to this module # (Boost install locations may contain the version) # and saves search results persistently in CMake cache entries: # Boost_INCLUDE_DIR - Directory containing Boost headers # Boost_LIBRARY_DIR - Directory containing Boost libraries # Boost__LIBRARY_DEBUG - Component library debug variant # Boost__LIBRARY_RELEASE - Component library release variant # Users may set these hints or results as cache entries. Projects should # not read these entries directly but instead use the above result variables. # Note that some hint names start in upper-case "BOOST". One may specify # these as environment variables if they are not specified as CMake variables # or cache entries. # # This module first searches for the Boost header files using the above hint # variables (excluding BOOST_LIBRARYDIR) and saves the result in # Boost_INCLUDE_DIR. Then it searches for requested component libraries using # the above hints (excluding BOOST_INCLUDEDIR and Boost_ADDITIONAL_VERSIONS), # "lib" directories near Boost_INCLUDE_DIR, and the library name configuration # settings below. It saves the library directory in Boost_LIBRARY_DIR and # individual library locations in Boost__LIBRARY_DEBUG and # Boost__LIBRARY_RELEASE. When one changes settings used by previous # searches in the same build tree (excluding environment variables) this # module discards previous search results affected by the changes and searches # again. # # Boost libraries come in many variants encoded in their file name. Users or # projects may tell this module which variant to find by setting variables: # Boost_USE_MULTITHREADED - Set to OFF to use the non-multithreaded # libraries ('mt' tag). Default is ON. # Boost_USE_STATIC_LIBS - Set to ON to force the use of the static # libraries. Default is OFF. # Boost_USE_STATIC_RUNTIME - Set to ON or OFF to specify whether to use # libraries linked statically to the C++ runtime # ('s' tag). Default is platform dependent. # Boost_USE_DEBUG_PYTHON - Set to ON to use libraries compiled with a # debug Python build ('y' tag). Default is OFF. # Boost_USE_STLPORT - Set to ON to use libraries compiled with # STLPort ('p' tag). Default is OFF. # Boost_USE_STLPORT_DEPRECATED_NATIVE_IOSTREAMS # - Set to ON to use libraries compiled with # STLPort deprecated "native iostreams" # ('n' tag). Default is OFF. # Boost_COMPILER - Set to the compiler-specific library suffix # (e.g. "-gcc43"). Default is auto-computed # for the C++ compiler in use. # Boost_THREADAPI - Suffix for "thread" component library name, # such as "pthread" or "win32". Names with # and without this suffix will both be tried. # Other variables one may set to control this module are: # Boost_DEBUG - Set to ON to enable debug output from FindBoost. # Please enable this before filing any bug report. # Boost_DETAILED_FAILURE_MSG # - Set to ON to add detailed information to the # failure message even when the REQUIRED option # is not given to the find_package call. # Boost_REALPATH - Set to ON to resolve symlinks for discovered # libraries to assist with packaging. For example, # the "system" component library may be resolved to # "/usr/lib/libboost_system.so.1.42.0" instead of # "/usr/lib/libboost_system.so". This does not # affect linking and should not be enabled unless # the user needs this information. # On Visual Studio and Borland compilers Boost headers request automatic # linking to corresponding libraries. This requires matching libraries to be # linked explicitly or available in the link library search path. In this # case setting Boost_USE_STATIC_LIBS to OFF may not achieve dynamic linking. # Boost automatic linking typically requests static libraries with a few # exceptions (such as Boost.Python). Use # add_definitions(${Boost_LIB_DIAGNOSTIC_DEFINITIONS}) # to ask Boost to report information about automatic linking requests. # # Example to find Boost headers only: # find_package(Boost 1.36.0) # if(Boost_FOUND) # include_directories(${Boost_INCLUDE_DIRS}) # add_executable(foo foo.cc) # endif() # Example to find Boost headers and some libraries: # set(Boost_USE_STATIC_LIBS ON) # set(Boost_USE_MULTITHREADED ON) # set(Boost_USE_STATIC_RUNTIME OFF) # find_package(Boost 1.36.0 COMPONENTS date_time filesystem system ...) # if(Boost_FOUND) # include_directories(${Boost_INCLUDE_DIRS}) # add_executable(foo foo.cc) # target_link_libraries(foo ${Boost_LIBRARIES}) # endif() # # Boost CMake ---------------------------------------------------------- # # If Boost was built using the boost-cmake project it provides a package # configuration file for use with find_package's Config mode. This module # looks for the package configuration file called BoostConfig.cmake or # boost-config.cmake and stores the result in cache entry "Boost_DIR". If # found, the package configuration file is loaded and this module returns with # no further action. See documentation of the Boost CMake package # configuration for details on what it provides. # # Set Boost_NO_BOOST_CMAKE to ON to disable the search for boost-cmake. #============================================================================= # Copyright 2006-2012 Kitware, Inc. # Copyright 2006-2008 Andreas Schneider # Copyright 2007 Wengo # Copyright 2007 Mike Jackson # Copyright 2008 Andreas Pakulat # Copyright 2008-2012 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) #------------------------------------------------------------------------------- # Before we go searching, check whether boost-cmake is available, unless the # user specifically asked NOT to search for boost-cmake. # # If Boost_DIR is set, this behaves as any find_package call would. If not, # it looks at BOOST_ROOT and BOOSTROOT to find Boost. # if (NOT Boost_NO_BOOST_CMAKE) # If Boost_DIR is not set, look for BOOSTROOT and BOOST_ROOT as alternatives, # since these are more conventional for Boost. if ("$ENV{Boost_DIR}" STREQUAL "") if (NOT "$ENV{BOOST_ROOT}" STREQUAL "") set(ENV{Boost_DIR} $ENV{BOOST_ROOT}) elseif (NOT "$ENV{BOOSTROOT}" STREQUAL "") set(ENV{Boost_DIR} $ENV{BOOSTROOT}) endif() endif() # Do the same find_package call but look specifically for the CMake version. # Note that args are passed in the Boost_FIND_xxxxx variables, so there is no # need to delegate them to this find_package call. find_package(Boost QUIET NO_MODULE) mark_as_advanced(Boost_DIR) # If we found boost-cmake, then we're done. Print out what we found. # Otherwise let the rest of the module try to find it. if (Boost_FOUND) message("Boost ${Boost_FIND_VERSION} found.") if (Boost_FIND_COMPONENTS) message("Found Boost components:") message(" ${Boost_FIND_COMPONENTS}") endif() return() endif() endif() #------------------------------------------------------------------------------- # FindBoost functions & macros # ############################################ # # Check the existence of the libraries. # ############################################ # This macro was taken directly from the FindQt4.cmake file that is included # with the CMake distribution. This is NOT my work. All work was done by the # original authors of the FindQt4.cmake file. Only minor modifications were # made to remove references to Qt and make this file more generally applicable # And ELSE/ENDIF pairs were removed for readability. ######################################################################### macro(_Boost_ADJUST_LIB_VARS basename) if(Boost_INCLUDE_DIR ) if(Boost_${basename}_LIBRARY_DEBUG AND Boost_${basename}_LIBRARY_RELEASE) # if the generator supports configuration types then set # optimized and debug libraries, or if the CMAKE_BUILD_TYPE has a value if(CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE) set(Boost_${basename}_LIBRARY optimized ${Boost_${basename}_LIBRARY_RELEASE} debug ${Boost_${basename}_LIBRARY_DEBUG}) else() # if there are no configuration types and CMAKE_BUILD_TYPE has no value # then just use the release libraries set(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY_RELEASE} ) endif() # FIXME: This probably should be set for both cases set(Boost_${basename}_LIBRARIES optimized ${Boost_${basename}_LIBRARY_RELEASE} debug ${Boost_${basename}_LIBRARY_DEBUG}) endif() # if only the release version was found, set the debug variable also to the release version if(Boost_${basename}_LIBRARY_RELEASE AND NOT Boost_${basename}_LIBRARY_DEBUG) set(Boost_${basename}_LIBRARY_DEBUG ${Boost_${basename}_LIBRARY_RELEASE}) set(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY_RELEASE}) set(Boost_${basename}_LIBRARIES ${Boost_${basename}_LIBRARY_RELEASE}) endif() # if only the debug version was found, set the release variable also to the debug version if(Boost_${basename}_LIBRARY_DEBUG AND NOT Boost_${basename}_LIBRARY_RELEASE) set(Boost_${basename}_LIBRARY_RELEASE ${Boost_${basename}_LIBRARY_DEBUG}) set(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY_DEBUG}) set(Boost_${basename}_LIBRARIES ${Boost_${basename}_LIBRARY_DEBUG}) endif() # If the debug & release library ends up being the same, omit the keywords if(${Boost_${basename}_LIBRARY_RELEASE} STREQUAL ${Boost_${basename}_LIBRARY_DEBUG}) set(Boost_${basename}_LIBRARY ${Boost_${basename}_LIBRARY_RELEASE} ) set(Boost_${basename}_LIBRARIES ${Boost_${basename}_LIBRARY_RELEASE} ) endif() if(Boost_${basename}_LIBRARY) set(Boost_${basename}_FOUND ON) endif() endif() # Make variables changeable to the advanced user mark_as_advanced( Boost_${basename}_LIBRARY_RELEASE Boost_${basename}_LIBRARY_DEBUG ) endmacro() macro(_Boost_CHANGE_DETECT changed_var) set(${changed_var} 0) foreach(v ${ARGN}) if(DEFINED _Boost_COMPONENTS_SEARCHED) if(${v}) if(_${v}_LAST) string(COMPARE NOTEQUAL "${${v}}" "${_${v}_LAST}" _${v}_CHANGED) else() set(_${v}_CHANGED 1) endif() elseif(_${v}_LAST) set(_${v}_CHANGED 1) endif() if(_${v}_CHANGED) set(${changed_var} 1) endif() else() set(_${v}_CHANGED 0) endif() endforeach() endmacro() macro(_Boost_FIND_LIBRARY var) find_library(${var} ${ARGN}) # If we found the first library save Boost_LIBRARY_DIR. if(${var} AND NOT Boost_LIBRARY_DIR) get_filename_component(_dir "${${var}}" PATH) set(Boost_LIBRARY_DIR "${_dir}" CACHE PATH "Boost library directory" FORCE) endif() # If Boost_LIBRARY_DIR is known then search only there. if(Boost_LIBRARY_DIR) set(_boost_LIBRARY_SEARCH_DIRS ${Boost_LIBRARY_DIR} NO_DEFAULT_PATH) endif() endmacro() #------------------------------------------------------------------------------- # # Runs compiler with "-dumpversion" and parses major/minor # version with a regex. # function(_Boost_COMPILER_DUMPVERSION _OUTPUT_VERSION) exec_program(${CMAKE_CXX_COMPILER} ARGS ${CMAKE_CXX_COMPILER_ARG1} -dumpversion OUTPUT_VARIABLE _boost_COMPILER_VERSION ) string(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2" _boost_COMPILER_VERSION ${_boost_COMPILER_VERSION}) set(${_OUTPUT_VERSION} ${_boost_COMPILER_VERSION} PARENT_SCOPE) endfunction() # # Take a list of libraries with "thread" in it # and prepend duplicates with "thread_${Boost_THREADAPI}" # at the front of the list # function(_Boost_PREPEND_LIST_WITH_THREADAPI _output) set(_orig_libnames ${ARGN}) string(REPLACE "thread" "thread_${Boost_THREADAPI}" _threadapi_libnames "${_orig_libnames}") set(${_output} ${_threadapi_libnames} ${_orig_libnames} PARENT_SCOPE) endfunction() # # If a library is found, replace its cache entry with its REALPATH # function(_Boost_SWAP_WITH_REALPATH _library _docstring) if(${_library}) get_filename_component(_boost_filepathreal ${${_library}} REALPATH) unset(${_library} CACHE) set(${_library} ${_boost_filepathreal} CACHE FILEPATH "${_docstring}") endif() endfunction() function(_Boost_CHECK_SPELLING _var) if(${_var}) string(TOUPPER ${_var} _var_UC) message(FATAL_ERROR "ERROR: ${_var} is not the correct spelling. The proper spelling is ${_var_UC}.") endif() endfunction() # Guesses Boost's compiler prefix used in built library names # Returns the guess by setting the variable pointed to by _ret function(_Boost_GUESS_COMPILER_PREFIX _ret) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" OR "${CMAKE_CXX_COMPILER}" MATCHES "icl" OR "${CMAKE_CXX_COMPILER}" MATCHES "icpc") if(WIN32) set (_boost_COMPILER "-iw") else() set (_boost_COMPILER "-il") endif() elseif (MSVC12) set(_boost_COMPILER "-vc120") elseif (MSVC11) set(_boost_COMPILER "-vc110") elseif (MSVC10) set(_boost_COMPILER "-vc100") elseif (MSVC90) set(_boost_COMPILER "-vc90") elseif (MSVC80) set(_boost_COMPILER "-vc80") elseif (MSVC71) set(_boost_COMPILER "-vc71") elseif (MSVC70) # Good luck! set(_boost_COMPILER "-vc7") # yes, this is correct elseif (MSVC60) # Good luck! set(_boost_COMPILER "-vc6") # yes, this is correct elseif (BORLAND) set(_boost_COMPILER "-bcb") elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro") set(_boost_COMPILER "-sw") elseif (MINGW) if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34) set(_boost_COMPILER "-mgw") # no GCC version encoding prior to 1.34 else() _Boost_COMPILER_DUMPVERSION(_boost_COMPILER_VERSION) set(_boost_COMPILER "-mgw${_boost_COMPILER_VERSION}") endif() elseif (UNIX) if (CMAKE_COMPILER_IS_GNUCXX) if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34) set(_boost_COMPILER "-gcc") # no GCC version encoding prior to 1.34 else() _Boost_COMPILER_DUMPVERSION(_boost_COMPILER_VERSION) # Determine which version of GCC we have. if(APPLE) if(Boost_MINOR_VERSION) if(${Boost_MINOR_VERSION} GREATER 35) # In Boost 1.36.0 and newer, the mangled compiler name used # on Mac OS X/Darwin is "xgcc". set(_boost_COMPILER "-xgcc${_boost_COMPILER_VERSION}") else() # In Boost <= 1.35.0, there is no mangled compiler name for # the Mac OS X/Darwin version of GCC. set(_boost_COMPILER "") endif() else() # We don't know the Boost version, so assume it's # pre-1.36.0. set(_boost_COMPILER "") endif() else() set(_boost_COMPILER "-gcc${_boost_COMPILER_VERSION}") endif() endif() endif () else() # TODO at least Boost_DEBUG here? set(_boost_COMPILER "") endif() set(${_ret} ${_boost_COMPILER} PARENT_SCOPE) endfunction() # # End functions/macros # #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # main. #------------------------------------------------------------------------------- if(NOT DEFINED Boost_USE_MULTITHREADED) set(Boost_USE_MULTITHREADED TRUE) endif() # Check the version of Boost against the requested version. if(Boost_FIND_VERSION AND NOT Boost_FIND_VERSION_MINOR) message(SEND_ERROR "When requesting a specific version of Boost, you must provide at least the major and minor version numbers, e.g., 1.34") endif() if(Boost_FIND_VERSION_EXACT) # The version may appear in a directory with or without the patch # level, even when the patch level is non-zero. set(_boost_TEST_VERSIONS "${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}.${Boost_FIND_VERSION_PATCH}" "${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}") else() # The user has not requested an exact version. Among known # versions, find those that are acceptable to the user request. set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS} "1.56.0" "1.56" "1.55.0" "1.55" "1.54.0" "1.54" "1.53.0" "1.53" "1.52.0" "1.52" "1.51.0" "1.51" "1.50.0" "1.50" "1.49.0" "1.49" "1.48.0" "1.48" "1.47.0" "1.47" "1.46.1" "1.46.0" "1.46" "1.45.0" "1.45" "1.44.0" "1.44" "1.43.0" "1.43" "1.42.0" "1.42" "1.41.0" "1.41" "1.40.0" "1.40" "1.39.0" "1.39" "1.38.0" "1.38" "1.37.0" "1.37" "1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" "1.35" "1.34.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33") set(_boost_TEST_VERSIONS) if(Boost_FIND_VERSION) set(_Boost_FIND_VERSION_SHORT "${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}") # Select acceptable versions. foreach(version ${_Boost_KNOWN_VERSIONS}) if(NOT "${version}" VERSION_LESS "${Boost_FIND_VERSION}") # This version is high enough. list(APPEND _boost_TEST_VERSIONS "${version}") elseif("${version}.99" VERSION_EQUAL "${_Boost_FIND_VERSION_SHORT}.99") # This version is a short-form for the requested version with # the patch level dropped. list(APPEND _boost_TEST_VERSIONS "${version}") endif() endforeach() else() # Any version is acceptable. set(_boost_TEST_VERSIONS "${_Boost_KNOWN_VERSIONS}") endif() endif() # The reason that we failed to find Boost. This will be set to a # user-friendly message when we fail to find some necessary piece of # Boost. set(Boost_ERROR_REASON) if(Boost_DEBUG) # Output some of their choices message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "_boost_TEST_VERSIONS = ${_boost_TEST_VERSIONS}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Boost_USE_MULTITHREADED = ${Boost_USE_MULTITHREADED}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Boost_USE_STATIC_LIBS = ${Boost_USE_STATIC_LIBS}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Boost_USE_STATIC_RUNTIME = ${Boost_USE_STATIC_RUNTIME}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Boost_ADDITIONAL_VERSIONS = ${Boost_ADDITIONAL_VERSIONS}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Boost_NO_SYSTEM_PATHS = ${Boost_NO_SYSTEM_PATHS}") endif() if(WIN32) # In windows, automatic linking is performed, so you do not have # to specify the libraries. If you are linking to a dynamic # runtime, then you can choose to link to either a static or a # dynamic Boost library, the default is to do a static link. You # can alter this for a specific library "whatever" by defining # BOOST_WHATEVER_DYN_LINK to force Boost library "whatever" to be # linked dynamically. Alternatively you can force all Boost # libraries to dynamic link by defining BOOST_ALL_DYN_LINK. # This feature can be disabled for Boost library "whatever" by # defining BOOST_WHATEVER_NO_LIB, or for all of Boost by defining # BOOST_ALL_NO_LIB. # If you want to observe which libraries are being linked against # then defining BOOST_LIB_DIAGNOSTIC will cause the auto-linking # code to emit a #pragma message each time a library is selected # for linking. set(Boost_LIB_DIAGNOSTIC_DEFINITIONS "-DBOOST_LIB_DIAGNOSTIC") endif() _Boost_CHECK_SPELLING(Boost_ROOT) _Boost_CHECK_SPELLING(Boost_LIBRARYDIR) _Boost_CHECK_SPELLING(Boost_INCLUDEDIR) # Collect environment variable inputs as hints. Do not consider changes. foreach(v BOOSTROOT BOOST_ROOT BOOST_INCLUDEDIR BOOST_LIBRARYDIR) set(_env $ENV{${v}}) if(_env) file(TO_CMAKE_PATH "${_env}" _ENV_${v}) else() set(_ENV_${v} "") endif() endforeach() if(NOT _ENV_BOOST_ROOT AND _ENV_BOOSTROOT) set(_ENV_BOOST_ROOT "${_ENV_BOOSTROOT}") endif() # Collect inputs and cached results. Detect changes since the last run. if(NOT BOOST_ROOT AND BOOSTROOT) set(BOOST_ROOT "${BOOSTROOT}") endif() set(_Boost_VARS_DIR BOOST_ROOT Boost_NO_SYSTEM_PATHS ) if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Declared as CMake or Environmental Variables:") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " " BOOST_ROOT = ${BOOST_ROOT}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " " BOOST_INCLUDEDIR = ${BOOST_INCLUDEDIR}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " " BOOST_LIBRARYDIR = ${BOOST_LIBRARYDIR}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "_boost_TEST_VERSIONS = ${_boost_TEST_VERSIONS}") endif() # ------------------------------------------------------------------------ # Search for Boost include DIR # ------------------------------------------------------------------------ set(_Boost_VARS_INC BOOST_INCLUDEDIR Boost_INCLUDE_DIR Boost_ADDITIONAL_VERSIONS) _Boost_CHANGE_DETECT(_Boost_CHANGE_INCDIR ${_Boost_VARS_DIR} ${_Boost_VARS_INC}) # Clear Boost_INCLUDE_DIR if it did not change but other input affecting the # location did. We will find a new one based on the new inputs. if(_Boost_CHANGE_INCDIR AND NOT _Boost_INCLUDE_DIR_CHANGED) unset(Boost_INCLUDE_DIR CACHE) endif() if(NOT Boost_INCLUDE_DIR) set(_boost_INCLUDE_SEARCH_DIRS "") if(BOOST_INCLUDEDIR) list(APPEND _boost_INCLUDE_SEARCH_DIRS ${BOOST_INCLUDEDIR}) elseif(_ENV_BOOST_INCLUDEDIR) list(APPEND _boost_INCLUDE_SEARCH_DIRS ${_ENV_BOOST_INCLUDEDIR}) endif() if( BOOST_ROOT ) list(APPEND _boost_INCLUDE_SEARCH_DIRS ${BOOST_ROOT}/include ${BOOST_ROOT}) elseif( _ENV_BOOST_ROOT ) list(APPEND _boost_INCLUDE_SEARCH_DIRS ${_ENV_BOOST_ROOT}/include ${_ENV_BOOST_ROOT}) endif() if( Boost_NO_SYSTEM_PATHS) list(APPEND _boost_INCLUDE_SEARCH_DIRS NO_CMAKE_SYSTEM_PATH) else() list(APPEND _boost_INCLUDE_SEARCH_DIRS PATHS C:/boost/include C:/boost /sw/local/include ) endif() # Try to find Boost by stepping backwards through the Boost versions # we know about. # Build a list of path suffixes for each version. set(_boost_PATH_SUFFIXES) foreach(_boost_VER ${_boost_TEST_VERSIONS}) # Add in a path suffix, based on the required version, ideally # we could read this from version.hpp, but for that to work we'd # need to know the include dir already set(_boost_BOOSTIFIED_VERSION) # Transform 1.35 => 1_35 and 1.36.0 => 1_36_0 if(_boost_VER MATCHES "[0-9]+\\.[0-9]+\\.[0-9]+") string(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)" "\\1_\\2_\\3" _boost_BOOSTIFIED_VERSION ${_boost_VER}) elseif(_boost_VER MATCHES "[0-9]+\\.[0-9]+") string(REGEX REPLACE "([0-9]+)\\.([0-9]+)" "\\1_\\2" _boost_BOOSTIFIED_VERSION ${_boost_VER}) endif() list(APPEND _boost_PATH_SUFFIXES "boost-${_boost_BOOSTIFIED_VERSION}" "boost_${_boost_BOOSTIFIED_VERSION}" "boost/boost-${_boost_BOOSTIFIED_VERSION}" "boost/boost_${_boost_BOOSTIFIED_VERSION}" ) endforeach() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Include debugging info:") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " " _boost_INCLUDE_SEARCH_DIRS = ${_boost_INCLUDE_SEARCH_DIRS}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " " _boost_PATH_SUFFIXES = ${_boost_PATH_SUFFIXES}") endif() # Look for a standard boost header file. find_path(Boost_INCLUDE_DIR NAMES boost/config.hpp HINTS ${_boost_INCLUDE_SEARCH_DIRS} PATH_SUFFIXES ${_boost_PATH_SUFFIXES} ) endif() # ------------------------------------------------------------------------ # Extract version information from version.hpp # ------------------------------------------------------------------------ # Set Boost_FOUND based only on header location and version. # It will be updated below for component libraries. if(Boost_INCLUDE_DIR) if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "location of version.hpp: ${Boost_INCLUDE_DIR}/boost/version.hpp") endif() # Extract Boost_VERSION and Boost_LIB_VERSION from version.hpp set(Boost_VERSION 0) set(Boost_LIB_VERSION "") file(STRINGS "${Boost_INCLUDE_DIR}/boost/version.hpp" _boost_VERSION_HPP_CONTENTS REGEX "#define BOOST_(LIB_)?VERSION ") set(_Boost_VERSION_REGEX "([0-9]+)") set(_Boost_LIB_VERSION_REGEX "\"([0-9_]+)\"") foreach(v VERSION LIB_VERSION) if("${_boost_VERSION_HPP_CONTENTS}" MATCHES ".*#define BOOST_${v} ${_Boost_${v}_REGEX}.*") set(Boost_${v} "${CMAKE_MATCH_1}") endif() endforeach() unset(_boost_VERSION_HPP_CONTENTS) math(EXPR Boost_MAJOR_VERSION "${Boost_VERSION} / 100000") math(EXPR Boost_MINOR_VERSION "${Boost_VERSION} / 100 % 1000") math(EXPR Boost_SUBMINOR_VERSION "${Boost_VERSION} % 100") set(Boost_ERROR_REASON "${Boost_ERROR_REASON}Boost version: ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}\nBoost include path: ${Boost_INCLUDE_DIR}") if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "version.hpp reveals boost " "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}") endif() if(Boost_FIND_VERSION) # Set Boost_FOUND based on requested version. set(_Boost_VERSION "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}") if("${_Boost_VERSION}" VERSION_LESS "${Boost_FIND_VERSION}") set(Boost_FOUND 0) set(_Boost_VERSION_AGE "old") elseif(Boost_FIND_VERSION_EXACT AND NOT "${_Boost_VERSION}" VERSION_EQUAL "${Boost_FIND_VERSION}") set(Boost_FOUND 0) set(_Boost_VERSION_AGE "new") else() set(Boost_FOUND 1) endif() if(NOT Boost_FOUND) # State that we found a version of Boost that is too new or too old. set(Boost_ERROR_REASON "${Boost_ERROR_REASON}\nDetected version of Boost is too ${_Boost_VERSION_AGE}. Requested version was ${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}") if (Boost_FIND_VERSION_PATCH) set(Boost_ERROR_REASON "${Boost_ERROR_REASON}.${Boost_FIND_VERSION_PATCH}") endif () if (NOT Boost_FIND_VERSION_EXACT) set(Boost_ERROR_REASON "${Boost_ERROR_REASON} (or newer)") endif () set(Boost_ERROR_REASON "${Boost_ERROR_REASON}.") endif () else() # Caller will accept any Boost version. set(Boost_FOUND 1) endif() else() set(Boost_FOUND 0) set(Boost_ERROR_REASON "${Boost_ERROR_REASON}Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers.") endif() # ------------------------------------------------------------------------ # Suffix initialization and compiler suffix detection. # ------------------------------------------------------------------------ set(_Boost_VARS_NAME Boost_COMPILER Boost_THREADAPI Boost_USE_DEBUG_PYTHON Boost_USE_MULTITHREADED Boost_USE_STATIC_LIBS Boost_USE_STATIC_RUNTIME Boost_USE_STLPORT Boost_USE_STLPORT_DEPRECATED_NATIVE_IOSTREAMS ) _Boost_CHANGE_DETECT(_Boost_CHANGE_LIBNAME ${_Boost_VARS_NAME}) # Setting some more suffixes for the library set(Boost_LIB_PREFIX "") if ( WIN32 AND Boost_USE_STATIC_LIBS AND NOT CYGWIN) set(Boost_LIB_PREFIX "lib") endif() if (Boost_COMPILER) set(_boost_COMPILER ${Boost_COMPILER}) if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "using user-specified Boost_COMPILER = ${_boost_COMPILER}") endif() else() # Attempt to guess the compiler suffix # NOTE: this is not perfect yet, if you experience any issues # please report them and use the Boost_COMPILER variable # to work around the problems. _Boost_GUESS_COMPILER_PREFIX(_boost_COMPILER) if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "guessed _boost_COMPILER = ${_boost_COMPILER}") endif() endif() set (_boost_MULTITHREADED "-mt") if( NOT Boost_USE_MULTITHREADED ) set (_boost_MULTITHREADED "") endif() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "_boost_MULTITHREADED = ${_boost_MULTITHREADED}") endif() #====================== # Systematically build up the Boost ABI tag # http://boost.org/doc/libs/1_41_0/more/getting_started/windows.html#library-naming set( _boost_RELEASE_ABI_TAG "-") set( _boost_DEBUG_ABI_TAG "-") # Key Use this library when: # s linking statically to the C++ standard library and # compiler runtime support libraries. if(Boost_USE_STATIC_RUNTIME) set( _boost_RELEASE_ABI_TAG "${_boost_RELEASE_ABI_TAG}s") set( _boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}s") endif() # g using debug versions of the standard and runtime # support libraries if(WIN32) if(MSVC OR "${CMAKE_CXX_COMPILER}" MATCHES "icl" OR "${CMAKE_CXX_COMPILER}" MATCHES "icpc") set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}g") endif() endif() # y using special debug build of python if(Boost_USE_DEBUG_PYTHON) set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}y") endif() # d using a debug version of your code set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}d") # p using the STLport standard library rather than the # default one supplied with your compiler if(Boost_USE_STLPORT) set( _boost_RELEASE_ABI_TAG "${_boost_RELEASE_ABI_TAG}p") set( _boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}p") endif() # n using the STLport deprecated "native iostreams" feature if(Boost_USE_STLPORT_DEPRECATED_NATIVE_IOSTREAMS) set( _boost_RELEASE_ABI_TAG "${_boost_RELEASE_ABI_TAG}n") set( _boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}n") endif() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "_boost_RELEASE_ABI_TAG = ${_boost_RELEASE_ABI_TAG}") message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "_boost_DEBUG_ABI_TAG = ${_boost_DEBUG_ABI_TAG}") endif() # ------------------------------------------------------------------------ # Begin finding boost libraries # ------------------------------------------------------------------------ set(_Boost_VARS_LIB BOOST_LIBRARYDIR Boost_LIBRARY_DIR) _Boost_CHANGE_DETECT(_Boost_CHANGE_LIBDIR ${_Boost_VARS_DIR} ${_Boost_VARS_LIB} Boost_INCLUDE_DIR) # Clear Boost_LIBRARY_DIR if it did not change but other input affecting the # location did. We will find a new one based on the new inputs. if(_Boost_CHANGE_LIBDIR AND NOT _Boost_LIBRARY_DIR_CHANGED) unset(Boost_LIBRARY_DIR CACHE) endif() if(Boost_LIBRARY_DIR) set(_boost_LIBRARY_SEARCH_DIRS ${Boost_LIBRARY_DIR} NO_DEFAULT_PATH) else() set(_boost_LIBRARY_SEARCH_DIRS "") if(BOOST_LIBRARYDIR) list(APPEND _boost_LIBRARY_SEARCH_DIRS ${BOOST_LIBRARYDIR}) elseif(_ENV_BOOST_LIBRARYDIR) list(APPEND _boost_LIBRARY_SEARCH_DIRS ${_ENV_BOOST_LIBRARYDIR}) endif() if(BOOST_ROOT) list(APPEND _boost_LIBRARY_SEARCH_DIRS ${BOOST_ROOT}/lib ${BOOST_ROOT}/stage/lib) elseif(_ENV_BOOST_ROOT) list(APPEND _boost_LIBRARY_SEARCH_DIRS ${_ENV_BOOST_ROOT}/lib ${_ENV_BOOST_ROOT}/stage/lib) endif() list(APPEND _boost_LIBRARY_SEARCH_DIRS ${Boost_INCLUDE_DIR}/lib ${Boost_INCLUDE_DIR}/../lib ${Boost_INCLUDE_DIR}/stage/lib ) if( Boost_NO_SYSTEM_PATHS ) list(APPEND _boost_LIBRARY_SEARCH_DIRS NO_CMAKE_SYSTEM_PATH) else() list(APPEND _boost_LIBRARY_SEARCH_DIRS PATHS C:/boost/lib C:/boost /sw/local/lib ) endif() endif() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "_boost_LIBRARY_SEARCH_DIRS = ${_boost_LIBRARY_SEARCH_DIRS}") endif() # Support preference of static libs by adjusting CMAKE_FIND_LIBRARY_SUFFIXES if( Boost_USE_STATIC_LIBS ) set( _boost_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) if(WIN32) set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) else() set(CMAKE_FIND_LIBRARY_SUFFIXES .a ) endif() endif() # We want to use the tag inline below without risking double dashes if(_boost_RELEASE_ABI_TAG) if(${_boost_RELEASE_ABI_TAG} STREQUAL "-") set(_boost_RELEASE_ABI_TAG "") endif() endif() if(_boost_DEBUG_ABI_TAG) if(${_boost_DEBUG_ABI_TAG} STREQUAL "-") set(_boost_DEBUG_ABI_TAG "") endif() endif() # The previous behavior of FindBoost when Boost_USE_STATIC_LIBS was enabled # on WIN32 was to: # 1. Search for static libs compiled against a SHARED C++ standard runtime library (use if found) # 2. Search for static libs compiled against a STATIC C++ standard runtime library (use if found) # We maintain this behavior since changing it could break people's builds. # To disable the ambiguous behavior, the user need only # set Boost_USE_STATIC_RUNTIME either ON or OFF. set(_boost_STATIC_RUNTIME_WORKAROUND false) if(WIN32 AND Boost_USE_STATIC_LIBS) if(NOT DEFINED Boost_USE_STATIC_RUNTIME) set(_boost_STATIC_RUNTIME_WORKAROUND true) endif() endif() # On versions < 1.35, remove the System library from the considered list # since it wasn't added until 1.35. if(Boost_VERSION AND Boost_FIND_COMPONENTS) if(Boost_VERSION LESS 103500) list(REMOVE_ITEM Boost_FIND_COMPONENTS system) endif() endif() # If the user changed any of our control inputs flush previous results. if(_Boost_CHANGE_LIBDIR OR _Boost_CHANGE_LIBNAME) foreach(COMPONENT ${_Boost_COMPONENTS_SEARCHED}) string(TOUPPER ${COMPONENT} UPPERCOMPONENT) foreach(c DEBUG RELEASE) set(_var Boost_${UPPERCOMPONENT}_LIBRARY_${c}) unset(${_var} CACHE) set(${_var} "${_var}-NOTFOUND") endforeach() endforeach() set(_Boost_COMPONENTS_SEARCHED "") endif() foreach(COMPONENT ${Boost_FIND_COMPONENTS}) string(TOUPPER ${COMPONENT} UPPERCOMPONENT) set( _boost_docstring_release "Boost ${COMPONENT} library (release)") set( _boost_docstring_debug "Boost ${COMPONENT} library (debug)") # # Find RELEASE libraries # set(_boost_RELEASE_NAMES ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT} ) if(_boost_STATIC_RUNTIME_WORKAROUND) set(_boost_RELEASE_STATIC_ABI_TAG "-s${_boost_RELEASE_ABI_TAG}") list(APPEND _boost_RELEASE_NAMES ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG} ) endif() if(Boost_THREADAPI AND ${COMPONENT} STREQUAL "thread") _Boost_PREPEND_LIST_WITH_THREADAPI(_boost_RELEASE_NAMES ${_boost_RELEASE_NAMES}) endif() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Searching for ${UPPERCOMPONENT}_LIBRARY_RELEASE: ${_boost_RELEASE_NAMES}") endif() # Avoid passing backslashes to _Boost_FIND_LIBRARY due to macro re-parsing. string(REPLACE "\\" "/" _boost_LIBRARY_SEARCH_DIRS_tmp "${_boost_LIBRARY_SEARCH_DIRS}") _Boost_FIND_LIBRARY(Boost_${UPPERCOMPONENT}_LIBRARY_RELEASE NAMES ${_boost_RELEASE_NAMES} HINTS ${_boost_LIBRARY_SEARCH_DIRS_tmp} NAMES_PER_DIR DOC "${_boost_docstring_release}" ) # # Find DEBUG libraries # set(_boost_DEBUG_NAMES ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED} ${Boost_LIB_PREFIX}boost_${COMPONENT} ) if(_boost_STATIC_RUNTIME_WORKAROUND) set(_boost_DEBUG_STATIC_ABI_TAG "-s${_boost_DEBUG_ABI_TAG}") list(APPEND _boost_DEBUG_NAMES ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG} ) endif() if(Boost_THREADAPI AND ${COMPONENT} STREQUAL "thread") _Boost_PREPEND_LIST_WITH_THREADAPI(_boost_DEBUG_NAMES ${_boost_DEBUG_NAMES}) endif() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " "Searching for ${UPPERCOMPONENT}_LIBRARY_DEBUG: ${_boost_DEBUG_NAMES}") endif() # Avoid passing backslashes to _Boost_FIND_LIBRARY due to macro re-parsing. string(REPLACE "\\" "/" _boost_LIBRARY_SEARCH_DIRS_tmp "${_boost_LIBRARY_SEARCH_DIRS}") _Boost_FIND_LIBRARY(Boost_${UPPERCOMPONENT}_LIBRARY_DEBUG NAMES ${_boost_DEBUG_NAMES} HINTS ${_boost_LIBRARY_SEARCH_DIRS_tmp} NAMES_PER_DIR DOC "${_boost_docstring_debug}" ) if(Boost_REALPATH) _Boost_SWAP_WITH_REALPATH(Boost_${UPPERCOMPONENT}_LIBRARY_RELEASE "${_boost_docstring_release}") _Boost_SWAP_WITH_REALPATH(Boost_${UPPERCOMPONENT}_LIBRARY_DEBUG "${_boost_docstring_debug}" ) endif() _Boost_ADJUST_LIB_VARS(${UPPERCOMPONENT}) endforeach() # Restore the original find library ordering if( Boost_USE_STATIC_LIBS ) set(CMAKE_FIND_LIBRARY_SUFFIXES ${_boost_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) endif() # ------------------------------------------------------------------------ # End finding boost libraries # ------------------------------------------------------------------------ set(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR}) set(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIR}) # The above setting of Boost_FOUND was based only on the header files. # Update it for the requested component libraries. if(Boost_FOUND) # The headers were found. Check for requested component libs. set(_boost_CHECKED_COMPONENT FALSE) set(_Boost_MISSING_COMPONENTS "") foreach(COMPONENT ${Boost_FIND_COMPONENTS}) string(TOUPPER ${COMPONENT} COMPONENT) set(_boost_CHECKED_COMPONENT TRUE) if(NOT Boost_${COMPONENT}_FOUND) string(TOLOWER ${COMPONENT} COMPONENT) list(APPEND _Boost_MISSING_COMPONENTS ${COMPONENT}) endif() endforeach() if(Boost_DEBUG) message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] Boost_FOUND = ${Boost_FOUND}") endif() if (_Boost_MISSING_COMPONENTS) set(Boost_FOUND 0) # We were unable to find some libraries, so generate a sensible # error message that lists the libraries we were unable to find. set(Boost_ERROR_REASON "${Boost_ERROR_REASON}\nCould not find the following") if(Boost_USE_STATIC_LIBS) set(Boost_ERROR_REASON "${Boost_ERROR_REASON} static") endif() set(Boost_ERROR_REASON "${Boost_ERROR_REASON} Boost libraries:\n") foreach(COMPONENT ${_Boost_MISSING_COMPONENTS}) set(Boost_ERROR_REASON "${Boost_ERROR_REASON} boost_${COMPONENT}\n") endforeach() list(LENGTH Boost_FIND_COMPONENTS Boost_NUM_COMPONENTS_WANTED) list(LENGTH _Boost_MISSING_COMPONENTS Boost_NUM_MISSING_COMPONENTS) if (${Boost_NUM_COMPONENTS_WANTED} EQUAL ${Boost_NUM_MISSING_COMPONENTS}) set(Boost_ERROR_REASON "${Boost_ERROR_REASON}No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.") else () set(Boost_ERROR_REASON "${Boost_ERROR_REASON}Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.") endif () endif () if( NOT Boost_LIBRARY_DIRS AND NOT _boost_CHECKED_COMPONENT ) # Compatibility Code for backwards compatibility with CMake # 2.4's FindBoost module. # Look for the boost library path. # Note that the user may not have installed any libraries # so it is quite possible the Boost_LIBRARY_DIRS may not exist. set(_boost_LIB_DIR ${Boost_INCLUDE_DIR}) if("${_boost_LIB_DIR}" MATCHES "boost-[0-9]+") get_filename_component(_boost_LIB_DIR ${_boost_LIB_DIR} PATH) endif() if("${_boost_LIB_DIR}" MATCHES "/include$") # Strip off the trailing "/include" in the path. get_filename_component(_boost_LIB_DIR ${_boost_LIB_DIR} PATH) endif() if(EXISTS "${_boost_LIB_DIR}/lib") set(_boost_LIB_DIR ${_boost_LIB_DIR}/lib) else() if(EXISTS "${_boost_LIB_DIR}/stage/lib") set(_boost_LIB_DIR ${_boost_LIB_DIR}/stage/lib) else() set(_boost_LIB_DIR "") endif() endif() if(_boost_LIB_DIR AND EXISTS "${_boost_LIB_DIR}") set(Boost_LIBRARY_DIRS ${_boost_LIB_DIR}) endif() endif() else() # Boost headers were not found so no components were found. foreach(COMPONENT ${Boost_FIND_COMPONENTS}) string(TOUPPER ${COMPONENT} UPPERCOMPONENT) set(Boost_${UPPERCOMPONENT}_FOUND 0) endforeach() endif() # ------------------------------------------------------------------------ # Notification to end user about what was found # ------------------------------------------------------------------------ set(Boost_LIBRARIES "") if(Boost_FOUND) if(NOT Boost_FIND_QUIETLY) message(STATUS "Boost version: ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}") if(Boost_FIND_COMPONENTS) message(STATUS "Found the following Boost libraries:") endif() endif() foreach( COMPONENT ${Boost_FIND_COMPONENTS} ) string( TOUPPER ${COMPONENT} UPPERCOMPONENT ) if( Boost_${UPPERCOMPONENT}_FOUND ) if(NOT Boost_FIND_QUIETLY) message (STATUS " ${COMPONENT}") endif() list(APPEND Boost_LIBRARIES ${Boost_${UPPERCOMPONENT}_LIBRARY}) endif() endforeach() else() if(Boost_FIND_REQUIRED) message(SEND_ERROR "Unable to find the requested Boost libraries.\n${Boost_ERROR_REASON}") else() if(NOT Boost_FIND_QUIETLY) # we opt not to automatically output Boost_ERROR_REASON here as # it could be quite lengthy and somewhat imposing in its requests # Since Boost is not always a required dependency we'll leave this # up to the end-user. if(Boost_DEBUG OR Boost_DETAILED_FAILURE_MSG) message(STATUS "Could NOT find Boost\n${Boost_ERROR_REASON}") else() message(STATUS "Could NOT find Boost") endif() endif() endif() endif() # Configure display of cache entries in GUI. foreach(v BOOSTROOT BOOST_ROOT ${_Boost_VARS_INC} ${_Boost_VARS_LIB}) get_property(_type CACHE ${v} PROPERTY TYPE) if(_type) set_property(CACHE ${v} PROPERTY ADVANCED 1) if("x${_type}" STREQUAL "xUNINITIALIZED") if("x${v}" STREQUAL "xBoost_ADDITIONAL_VERSIONS") set_property(CACHE ${v} PROPERTY TYPE STRING) else() set_property(CACHE ${v} PROPERTY TYPE PATH) endif() endif() endif() endforeach() # Record last used values of input variables so we can # detect on the next run if the user changed them. foreach(v ${_Boost_VARS_INC} ${_Boost_VARS_LIB} ${_Boost_VARS_DIR} ${_Boost_VARS_NAME} ) if(DEFINED ${v}) set(_${v}_LAST "${${v}}" CACHE INTERNAL "Last used ${v} value.") else() unset(_${v}_LAST CACHE) endif() endforeach() # Maintain a persistent list of components requested anywhere since # the last flush. set(_Boost_COMPONENTS_SEARCHED "${_Boost_COMPONENTS_SEARCHED}") list(APPEND _Boost_COMPONENTS_SEARCHED ${Boost_FIND_COMPONENTS}) list(REMOVE_DUPLICATES _Boost_COMPONENTS_SEARCHED) list(SORT _Boost_COMPONENTS_SEARCHED) set(_Boost_COMPONENTS_SEARCHED "${_Boost_COMPONENTS_SEARCHED}" CACHE INTERNAL "Components requested for this build tree.") cmake-2.8.12.2/Modules/FindBullet.cmake000644 000765 000024 00000006273 12266011634 020310 0ustar00kitwarestaff000000 000000 # - Try to find the Bullet physics engine # # This module defines the following variables # # BULLET_FOUND - Was bullet found # BULLET_INCLUDE_DIRS - the Bullet include directories # BULLET_LIBRARIES - Link to this, by default it includes # all bullet components (Dynamics, # Collision, LinearMath, & SoftBody) # # This module accepts the following variables # # BULLET_ROOT - Can be set to bullet install path or Windows build path # #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(_FIND_BULLET_LIBRARY _var) find_library(${_var} NAMES ${ARGN} HINTS ${BULLET_ROOT} ${BULLET_ROOT}/lib/Release ${BULLET_ROOT}/lib/Debug ${BULLET_ROOT}/out/release8/libs ${BULLET_ROOT}/out/debug8/libs PATH_SUFFIXES lib ) mark_as_advanced(${_var}) endmacro() macro(_BULLET_APPEND_LIBRARIES _list _release) set(_debug ${_release}_DEBUG) if(${_debug}) set(${_list} ${${_list}} optimized ${${_release}} debug ${${_debug}}) else() set(${_list} ${${_list}} ${${_release}}) endif() endmacro() find_path(BULLET_INCLUDE_DIR NAMES btBulletCollisionCommon.h HINTS ${BULLET_ROOT}/include ${BULLET_ROOT}/src PATH_SUFFIXES bullet ) # Find the libraries _FIND_BULLET_LIBRARY(BULLET_DYNAMICS_LIBRARY BulletDynamics) _FIND_BULLET_LIBRARY(BULLET_DYNAMICS_LIBRARY_DEBUG BulletDynamics_Debug BulletDynamics_d) _FIND_BULLET_LIBRARY(BULLET_COLLISION_LIBRARY BulletCollision) _FIND_BULLET_LIBRARY(BULLET_COLLISION_LIBRARY_DEBUG BulletCollision_Debug BulletCollision_d) _FIND_BULLET_LIBRARY(BULLET_MATH_LIBRARY BulletMath LinearMath) _FIND_BULLET_LIBRARY(BULLET_MATH_LIBRARY_DEBUG BulletMath_Debug BulletMath_d LinearMath_Debug LinearMath_d) _FIND_BULLET_LIBRARY(BULLET_SOFTBODY_LIBRARY BulletSoftBody) _FIND_BULLET_LIBRARY(BULLET_SOFTBODY_LIBRARY_DEBUG BulletSoftBody_Debug BulletSoftBody_d) # handle the QUIETLY and REQUIRED arguments and set BULLET_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Bullet DEFAULT_MSG BULLET_DYNAMICS_LIBRARY BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LIBRARY BULLET_INCLUDE_DIR) set(BULLET_INCLUDE_DIRS ${BULLET_INCLUDE_DIR}) if(BULLET_FOUND) _BULLET_APPEND_LIBRARIES(BULLET_LIBRARIES BULLET_DYNAMICS_LIBRARY) _BULLET_APPEND_LIBRARIES(BULLET_LIBRARIES BULLET_COLLISION_LIBRARY) _BULLET_APPEND_LIBRARIES(BULLET_LIBRARIES BULLET_MATH_LIBRARY) _BULLET_APPEND_LIBRARIES(BULLET_LIBRARIES BULLET_SOFTBODY_LIBRARY) endif() cmake-2.8.12.2/Modules/FindBZip2.cmake000644 000765 000024 00000004600 12266011634 017777 0ustar00kitwarestaff000000 000000 # - Try to find BZip2 # Once done this will define # # BZIP2_FOUND - system has BZip2 # BZIP2_INCLUDE_DIR - the BZip2 include directory # BZIP2_LIBRARIES - Link these to use BZip2 # BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_ # BZIP2_VERSION_STRING - the version of BZip2 found (since CMake 2.8.8) #============================================================================= # Copyright 2006-2012 Kitware, Inc. # Copyright 2006 Alexander Neundorf # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(_BZIP2_PATHS PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Bzip2;InstallPath]" ) find_path(BZIP2_INCLUDE_DIR bzlib.h ${_BZIP2_PATHS} PATH_SUFFIXES include) if (NOT BZIP2_LIBRARIES) find_library(BZIP2_LIBRARY_RELEASE NAMES bz2 bzip2 ${_BZIP2_PATHS} PATH_SUFFIXES lib) find_library(BZIP2_LIBRARY_DEBUG NAMES bzip2d ${_BZIP2_PATHS} PATH_SUFFIXES lib) include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) SELECT_LIBRARY_CONFIGURATIONS(BZIP2) endif () if (BZIP2_INCLUDE_DIR AND EXISTS "${BZIP2_INCLUDE_DIR}/bzlib.h") file(STRINGS "${BZIP2_INCLUDE_DIR}/bzlib.h" BZLIB_H REGEX "bzip2/libbzip2 version [0-9]+\\.[^ ]+ of [0-9]+ ") string(REGEX REPLACE ".* bzip2/libbzip2 version ([0-9]+\\.[^ ]+) of [0-9]+ .*" "\\1" BZIP2_VERSION_STRING "${BZLIB_H}") endif () # handle the QUIETLY and REQUIRED arguments and set BZip2_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(BZip2 REQUIRED_VARS BZIP2_LIBRARIES BZIP2_INCLUDE_DIR VERSION_VAR BZIP2_VERSION_STRING) if (BZIP2_FOUND) include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) CHECK_LIBRARY_EXISTS("${BZIP2_LIBRARIES}" BZ2_bzCompressInit "" BZIP2_NEED_PREFIX) endif () mark_as_advanced(BZIP2_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindCABLE.cmake000644 000765 000024 00000005533 12266011634 017665 0ustar00kitwarestaff000000 000000 # - Find CABLE # This module finds if CABLE is installed and determines where the # include files and libraries are. This code sets the following variables: # # CABLE the path to the cable executable # CABLE_TCL_LIBRARY the path to the Tcl wrapper library # CABLE_INCLUDE_DIR the path to the include directory # # To build Tcl wrappers, you should add shared library and link it to # ${CABLE_TCL_LIBRARY}. You should also add ${CABLE_INCLUDE_DIR} as # an include directory. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT CABLE) find_path(CABLE_BUILD_DIR cableVersion.h) endif() if(CABLE_BUILD_DIR) load_cache(${CABLE_BUILD_DIR} EXCLUDE BUILD_SHARED_LIBS LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH MAKECOMMAND CMAKE_INSTALL_PREFIX INCLUDE_INTERNALS CABLE_LIBRARY_PATH CABLE_EXECUTABLE_PATH) if(CABLE_LIBRARY_PATH) find_library(CABLE_TCL_LIBRARY NAMES CableTclFacility PATHS ${CABLE_LIBRARY_PATH} ${CABLE_LIBRARY_PATH}/*) else() find_library(CABLE_TCL_LIBRARY NAMES CableTclFacility PATHS ${CABLE_BINARY_DIR}/CableTclFacility ${CABLE_BINARY_DIR}/CableTclFacility/*) endif() if(CABLE_EXECUTABLE_PATH) find_program(CABLE NAMES cable PATHS ${CABLE_EXECUTABLE_PATH} ${CABLE_EXECUTABLE_PATH}/*) else() find_program(CABLE NAMES cable PATHS ${CABLE_BINARY_DIR}/Executables ${CABLE_BINARY_DIR}/Executables/*) endif() find_path(CABLE_INCLUDE_DIR CableTclFacility/ctCalls.h ${CABLE_SOURCE_DIR}) else() # Find the cable executable in the path. find_program(CABLE NAMES cable) # Get the path where the executable sits, but without the executable # name on it. get_filename_component(CABLE_ROOT_BIN ${CABLE} PATH) # Find the cable include directory in a path relative to the cable # executable. find_path(CABLE_INCLUDE_DIR CableTclFacility/ctCalls.h ${CABLE_ROOT_BIN}/../include/Cable) # Find the WrapTclFacility library in a path relative to the cable # executable. find_library(CABLE_TCL_LIBRARY NAMES CableTclFacility PATHS ${CABLE_ROOT_BIN}/../lib/Cable) endif() cmake-2.8.12.2/Modules/FindCoin3D.cmake000644 000765 000024 00000005255 12266011634 020137 0ustar00kitwarestaff000000 000000 # - Find Coin3D (Open Inventor) # Coin3D is an implementation of the Open Inventor API. # It provides data structures and algorithms for 3D visualization # http://www.coin3d.org/ # # This module defines the following variables # COIN3D_FOUND - system has Coin3D - Open Inventor # COIN3D_INCLUDE_DIRS - where the Inventor include directory can be found # COIN3D_LIBRARIES - Link to this to use Coin3D # #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (WIN32) if (CYGWIN) find_path(COIN3D_INCLUDE_DIRS Inventor/So.h) find_library(COIN3D_LIBRARIES Coin) else () find_path(COIN3D_INCLUDE_DIRS Inventor/So.h "[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/include" ) find_library(COIN3D_LIBRARY_DEBUG coin2d "[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/lib" ) find_library(COIN3D_LIBRARY_RELEASE coin2 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\Coin3D\\2;Installation Path]/lib" ) if (COIN3D_LIBRARY_DEBUG AND COIN3D_LIBRARY_RELEASE) set(COIN3D_LIBRARIES optimized ${COIN3D_LIBRARY_RELEASE} debug ${COIN3D_LIBRARY_DEBUG}) else () if (COIN3D_LIBRARY_DEBUG) set (COIN3D_LIBRARIES ${COIN3D_LIBRARY_DEBUG}) endif () if (COIN3D_LIBRARY_RELEASE) set (COIN3D_LIBRARIES ${COIN3D_LIBRARY_RELEASE}) endif () endif () endif () else () if(APPLE) find_path(COIN3D_INCLUDE_DIRS Inventor/So.h /Library/Frameworks/Inventor.framework/Headers ) find_library(COIN3D_LIBRARIES Coin /Library/Frameworks/Inventor.framework/Libraries ) set(COIN3D_LIBRARIES "-framework Coin3d" CACHE STRING "Coin3D library for OSX") else() find_path(COIN3D_INCLUDE_DIRS Inventor/So.h) find_library(COIN3D_LIBRARIES Coin) endif() endif () # handle the QUIETLY and REQUIRED arguments and set COIN3D_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Coin3D DEFAULT_MSG COIN3D_LIBRARIES COIN3D_INCLUDE_DIRS) mark_as_advanced(COIN3D_INCLUDE_DIRS COIN3D_LIBRARIES ) cmake-2.8.12.2/Modules/FindCUDA/make2cmake.cmake000644 000765 000024 00000006714 12266011634 021575 0ustar00kitwarestaff000000 000000 # James Bigler, NVIDIA Corp (nvidia.com - jbigler) # Abe Stephens, SCI Institute -- http://www.sci.utah.edu/~abe/FindCuda.html # # Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved. # # Copyright (c) 2007-2009 # Scientific Computing and Imaging Institute, University of Utah # # This code is licensed under the MIT License. See the FindCUDA.cmake script # for the text of the license. # The MIT License # # License for the specific language governing rights and limitations under # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # ####################################################################### # This converts a file written in makefile syntax into one that can be included # by CMake. file(READ ${input_file} depend_text) if (${depend_text} MATCHES ".+") # message("FOUND DEPENDS") # Remember, four backslashes is escaped to one backslash in the string. string(REGEX REPLACE "\\\\ " " " depend_text ${depend_text}) # This works for the nvcc -M generated dependency files. string(REGEX REPLACE "^.* : " "" depend_text ${depend_text}) string(REGEX REPLACE "[ \\\\]*\n" ";" depend_text ${depend_text}) set(dependency_list "") foreach(file ${depend_text}) string(REGEX REPLACE "^ +" "" file ${file}) # OK, now if we had a UNC path, nvcc has a tendency to only output the first '/' # instead of '//'. Here we will test to see if the file exists, if it doesn't then # try to prepend another '/' to the path and test again. If it still fails remove the # path. if(NOT EXISTS "${file}") if (EXISTS "/${file}") set(file "/${file}") else() message(WARNING " Removing non-existent dependency file: ${file}") set(file "") endif() endif() if(NOT IS_DIRECTORY "${file}") # If softlinks start to matter, we should change this to REALPATH. For now we need # to flatten paths, because nvcc can generate stuff like /bin/../include instead of # just /include. get_filename_component(file_absolute "${file}" ABSOLUTE) list(APPEND dependency_list "${file_absolute}") endif() endforeach() else() # message("FOUND NO DEPENDS") endif() # Remove the duplicate entries and sort them. list(REMOVE_DUPLICATES dependency_list) list(SORT dependency_list) foreach(file ${dependency_list}) set(cuda_nvcc_depend "${cuda_nvcc_depend} \"${file}\"\n") endforeach() file(WRITE ${output_file} "# Generated by: make2cmake.cmake\nSET(CUDA_NVCC_DEPEND\n ${cuda_nvcc_depend})\n\n") cmake-2.8.12.2/Modules/FindCUDA/parse_cubin.cmake000644 000765 000024 00000007122 12266011634 022061 0ustar00kitwarestaff000000 000000 # James Bigler, NVIDIA Corp (nvidia.com - jbigler) # Abe Stephens, SCI Institute -- http://www.sci.utah.edu/~abe/FindCuda.html # # Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved. # # Copyright (c) 2007-2009 # Scientific Computing and Imaging Institute, University of Utah # # This code is licensed under the MIT License. See the FindCUDA.cmake script # for the text of the license. # The MIT License # # License for the specific language governing rights and limitations under # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # ####################################################################### # Parses a .cubin file produced by nvcc and reports statistics about the file. file(READ ${input_file} file_text) if (${file_text} MATCHES ".+") # Remember, four backslashes is escaped to one backslash in the string. string(REGEX REPLACE ";" "\\\\;" file_text ${file_text}) string(REGEX REPLACE "\ncode" ";code" file_text ${file_text}) list(LENGTH file_text len) foreach(line ${file_text}) # Only look at "code { }" blocks. if(line MATCHES "^code") # Break into individual lines. string(REGEX REPLACE "\n" ";" line ${line}) foreach(entry ${line}) # Extract kernel names. if (${entry} MATCHES "[^g]name = ([^ ]+)") string(REGEX REPLACE ".* = ([^ ]+)" "\\1" entry ${entry}) # Check to see if the kernel name starts with "_" set(skip FALSE) # if (${entry} MATCHES "^_") # Skip the rest of this block. # message("Skipping ${entry}") # set(skip TRUE) # else () message("Kernel: ${entry}") # endif () endif() # Skip the rest of the block if necessary if(NOT skip) # Registers if (${entry} MATCHES "reg([ ]+)=([ ]+)([^ ]+)") string(REGEX REPLACE ".*([ ]+)=([ ]+)([^ ]+)" "\\3" entry ${entry}) message("Registers: ${entry}") endif() # Local memory if (${entry} MATCHES "lmem([ ]+)=([ ]+)([^ ]+)") string(REGEX REPLACE ".*([ ]+)=([ ]+)([^ ]+)" "\\3" entry ${entry}) message("Local: ${entry}") endif() # Shared memory if (${entry} MATCHES "smem([ ]+)=([ ]+)([^ ]+)") string(REGEX REPLACE ".*([ ]+)=([ ]+)([^ ]+)" "\\3" entry ${entry}) message("Shared: ${entry}") endif() if (${entry} MATCHES "^}") message("") endif() endif() endforeach() endif() endforeach() else() # message("FOUND NO DEPENDS") endif() cmake-2.8.12.2/Modules/FindCUDA/run_nvcc.cmake000644 000765 000024 00000025672 12266011634 021416 0ustar00kitwarestaff000000 000000 # James Bigler, NVIDIA Corp (nvidia.com - jbigler) # # Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved. # # This code is licensed under the MIT License. See the FindCUDA.cmake script # for the text of the license. # The MIT License # # License for the specific language governing rights and limitations under # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. ########################################################################## # This file runs the nvcc commands to produce the desired output file along with # the dependency file needed by CMake to compute dependencies. In addition the # file checks the output of each command and if the command fails it deletes the # output files. # Input variables # # verbose:BOOL=<> OFF: Be as quiet as possible (default) # ON : Describe each step # # build_configuration:STRING=<> Typically one of Debug, MinSizeRel, Release, or # RelWithDebInfo, but it should match one of the # entries in CUDA_HOST_FLAGS. This is the build # configuration used when compiling the code. If # blank or unspecified Debug is assumed as this is # what CMake does. # # generated_file:STRING=<> File to generate. This argument must be passed in. # # generated_cubin_file:STRING=<> File to generate. This argument must be passed # in if build_cubin is true. if(NOT generated_file) message(FATAL_ERROR "You must specify generated_file on the command line") endif() # Set these up as variables to make reading the generated file easier set(CMAKE_COMMAND "@CMAKE_COMMAND@") # path set(source_file "@source_file@") # path set(NVCC_generated_dependency_file "@NVCC_generated_dependency_file@") # path set(cmake_dependency_file "@cmake_dependency_file@") # path set(CUDA_make2cmake "@CUDA_make2cmake@") # path set(CUDA_parse_cubin "@CUDA_parse_cubin@") # path set(build_cubin @build_cubin@) # bool set(CUDA_HOST_COMPILER "@CUDA_HOST_COMPILER@") # bool # We won't actually use these variables for now, but we need to set this, in # order to force this file to be run again if it changes. set(generated_file_path "@generated_file_path@") # path set(generated_file_internal "@generated_file@") # path set(generated_cubin_file_internal "@generated_cubin_file@") # path set(CUDA_NVCC_EXECUTABLE "@CUDA_NVCC_EXECUTABLE@") # path set(CUDA_NVCC_FLAGS @CUDA_NVCC_FLAGS@ ;; @CUDA_WRAP_OPTION_NVCC_FLAGS@) # list @CUDA_NVCC_FLAGS_CONFIG@ set(nvcc_flags @nvcc_flags@) # list set(CUDA_NVCC_INCLUDE_ARGS "@CUDA_NVCC_INCLUDE_ARGS@") # list (needs to be in quotes to handle spaces properly). set(format_flag "@format_flag@") # string if(build_cubin AND NOT generated_cubin_file) message(FATAL_ERROR "You must specify generated_cubin_file on the command line") endif() # This is the list of host compilation flags. It C or CXX should already have # been chosen by FindCUDA.cmake. @CUDA_HOST_FLAGS@ # Take the compiler flags and package them up to be sent to the compiler via -Xcompiler set(nvcc_host_compiler_flags "") # If we weren't given a build_configuration, use Debug. if(NOT build_configuration) set(build_configuration Debug) endif() string(TOUPPER "${build_configuration}" build_configuration) #message("CUDA_NVCC_HOST_COMPILER_FLAGS = ${CUDA_NVCC_HOST_COMPILER_FLAGS}") foreach(flag ${CMAKE_HOST_FLAGS} ${CMAKE_HOST_FLAGS_${build_configuration}}) # Extra quotes are added around each flag to help nvcc parse out flags with spaces. set(nvcc_host_compiler_flags "${nvcc_host_compiler_flags},\"${flag}\"") endforeach() if (nvcc_host_compiler_flags) set(nvcc_host_compiler_flags "-Xcompiler" ${nvcc_host_compiler_flags}) endif() #message("nvcc_host_compiler_flags = \"${nvcc_host_compiler_flags}\"") # Add the build specific configuration flags list(APPEND CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS_${build_configuration}}) # Any -ccbin existing in CUDA_NVCC_FLAGS gets highest priority list( FIND CUDA_NVCC_FLAGS "-ccbin" ccbin_found0 ) list( FIND CUDA_NVCC_FLAGS "--compiler-bindir" ccbin_found1 ) if( ccbin_found0 LESS 0 AND ccbin_found1 LESS 0 ) if (CUDA_HOST_COMPILER STREQUAL "$(VCInstallDir)bin" AND DEFINED CCBIN) set(CCBIN -ccbin "${CCBIN}") else() set(CCBIN -ccbin "${CUDA_HOST_COMPILER}") endif() endif() # cuda_execute_process - Executes a command with optional command echo and status message. # # status - Status message to print if verbose is true # command - COMMAND argument from the usual execute_process argument structure # ARGN - Remaining arguments are the command with arguments # # CUDA_result - return value from running the command # # Make this a macro instead of a function, so that things like RESULT_VARIABLE # and other return variables are present after executing the process. macro(cuda_execute_process status command) set(_command ${command}) if(NOT _command STREQUAL "COMMAND") message(FATAL_ERROR "Malformed call to cuda_execute_process. Missing COMMAND as second argument. (command = ${command})") endif() if(verbose) execute_process(COMMAND "${CMAKE_COMMAND}" -E echo -- ${status}) # Now we need to build up our command string. We are accounting for quotes # and spaces, anything else is left up to the user to fix if they want to # copy and paste a runnable command line. set(cuda_execute_process_string) foreach(arg ${ARGN}) # If there are quotes, excape them, so they come through. string(REPLACE "\"" "\\\"" arg ${arg}) # Args with spaces need quotes around them to get them to be parsed as a single argument. if(arg MATCHES " ") list(APPEND cuda_execute_process_string "\"${arg}\"") else() list(APPEND cuda_execute_process_string ${arg}) endif() endforeach() # Echo the command execute_process(COMMAND ${CMAKE_COMMAND} -E echo ${cuda_execute_process_string}) endif() # Run the command execute_process(COMMAND ${ARGN} RESULT_VARIABLE CUDA_result ) endmacro() # Delete the target file cuda_execute_process( "Removing ${generated_file}" COMMAND "${CMAKE_COMMAND}" -E remove "${generated_file}" ) # For CUDA 2.3 and below, -G -M doesn't work, so remove the -G flag # for dependency generation and hope for the best. set(depends_CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS}") set(CUDA_VERSION @CUDA_VERSION@) if(CUDA_VERSION VERSION_LESS "3.0") cmake_policy(PUSH) # CMake policy 0007 NEW states that empty list elements are not # ignored. I'm just setting it to avoid the warning that's printed. cmake_policy(SET CMP0007 NEW) # Note that this will remove all occurances of -G. list(REMOVE_ITEM depends_CUDA_NVCC_FLAGS "-G") cmake_policy(POP) endif() # nvcc doesn't define __CUDACC__ for some reason when generating dependency files. This # can cause incorrect dependencies when #including files based on this macro which is # defined in the generating passes of nvcc invokation. We will go ahead and manually # define this for now until a future version fixes this bug. set(CUDACC_DEFINE -D__CUDACC__) # Generate the dependency file cuda_execute_process( "Generating dependency file: ${NVCC_generated_dependency_file}" COMMAND "${CUDA_NVCC_EXECUTABLE}" -M ${CUDACC_DEFINE} "${source_file}" -o "${NVCC_generated_dependency_file}" ${CCBIN} ${nvcc_flags} ${nvcc_host_compiler_flags} ${depends_CUDA_NVCC_FLAGS} -DNVCC ${CUDA_NVCC_INCLUDE_ARGS} ) if(CUDA_result) message(FATAL_ERROR "Error generating ${generated_file}") endif() # Generate the cmake readable dependency file to a temp file. Don't put the # quotes just around the filenames for the input_file and output_file variables. # CMake will pass the quotes through and not be able to find the file. cuda_execute_process( "Generating temporary cmake readable file: ${cmake_dependency_file}.tmp" COMMAND "${CMAKE_COMMAND}" -D "input_file:FILEPATH=${NVCC_generated_dependency_file}" -D "output_file:FILEPATH=${cmake_dependency_file}.tmp" -P "${CUDA_make2cmake}" ) if(CUDA_result) message(FATAL_ERROR "Error generating ${generated_file}") endif() # Copy the file if it is different cuda_execute_process( "Copy if different ${cmake_dependency_file}.tmp to ${cmake_dependency_file}" COMMAND "${CMAKE_COMMAND}" -E copy_if_different "${cmake_dependency_file}.tmp" "${cmake_dependency_file}" ) if(CUDA_result) message(FATAL_ERROR "Error generating ${generated_file}") endif() # Delete the temporary file cuda_execute_process( "Removing ${cmake_dependency_file}.tmp and ${NVCC_generated_dependency_file}" COMMAND "${CMAKE_COMMAND}" -E remove "${cmake_dependency_file}.tmp" "${NVCC_generated_dependency_file}" ) if(CUDA_result) message(FATAL_ERROR "Error generating ${generated_file}") endif() # Generate the code cuda_execute_process( "Generating ${generated_file}" COMMAND "${CUDA_NVCC_EXECUTABLE}" "${source_file}" ${format_flag} -o "${generated_file}" ${CCBIN} ${nvcc_flags} ${nvcc_host_compiler_flags} ${CUDA_NVCC_FLAGS} -DNVCC ${CUDA_NVCC_INCLUDE_ARGS} ) if(CUDA_result) # Since nvcc can sometimes leave half done files make sure that we delete the output file. cuda_execute_process( "Removing ${generated_file}" COMMAND "${CMAKE_COMMAND}" -E remove "${generated_file}" ) message(FATAL_ERROR "Error generating file ${generated_file}") else() if(verbose) message("Generated ${generated_file} successfully.") endif() endif() # Cubin resource report commands. if( build_cubin ) # Run with -cubin to produce resource usage report. cuda_execute_process( "Generating ${generated_cubin_file}" COMMAND "${CUDA_NVCC_EXECUTABLE}" "${source_file}" ${CUDA_NVCC_FLAGS} ${nvcc_flags} ${CCBIN} ${nvcc_host_compiler_flags} -DNVCC -cubin -o "${generated_cubin_file}" ${CUDA_NVCC_INCLUDE_ARGS} ) # Execute the parser script. cuda_execute_process( "Executing the parser script" COMMAND "${CMAKE_COMMAND}" -D "input_file:STRING=${generated_cubin_file}" -P "${CUDA_parse_cubin}" ) endif() cmake-2.8.12.2/Modules/FindCUDA.cmake000644 000765 000024 00000203564 12266011634 017577 0ustar00kitwarestaff000000 000000 # - Tools for building CUDA C files: libraries and build dependencies. # This script locates the NVIDIA CUDA C tools. It should work on linux, windows, # and mac and should be reasonably up to date with CUDA C releases. # # This script makes use of the standard find_package arguments of , # REQUIRED and QUIET. CUDA_FOUND will report if an acceptable version of CUDA # was found. # # The script will prompt the user to specify CUDA_TOOLKIT_ROOT_DIR if the prefix # cannot be determined by the location of nvcc in the system path and REQUIRED # is specified to find_package(). To use a different installed version of the # toolkit set the environment variable CUDA_BIN_PATH before running cmake # (e.g. CUDA_BIN_PATH=/usr/local/cuda1.0 instead of the default /usr/local/cuda) # or set CUDA_TOOLKIT_ROOT_DIR after configuring. If you change the value of # CUDA_TOOLKIT_ROOT_DIR, various components that depend on the path will be # relocated. # # It might be necessary to set CUDA_TOOLKIT_ROOT_DIR manually on certain # platforms, or to use a cuda runtime not installed in the default location. In # newer versions of the toolkit the cuda library is included with the graphics # driver- be sure that the driver version matches what is needed by the cuda # runtime version. # # The following variables affect the behavior of the macros in the script (in # alphebetical order). Note that any of these flags can be changed multiple # times in the same directory before calling CUDA_ADD_EXECUTABLE, # CUDA_ADD_LIBRARY, CUDA_COMPILE, CUDA_COMPILE_PTX or CUDA_WRAP_SRCS. # # CUDA_64_BIT_DEVICE_CODE (Default matches host bit size) # -- Set to ON to compile for 64 bit device code, OFF for 32 bit device code. # Note that making this different from the host code when generating object # or C files from CUDA code just won't work, because size_t gets defined by # nvcc in the generated source. If you compile to PTX and then load the # file yourself, you can mix bit sizes between device and host. # # CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE (Default ON) # -- Set to ON if you want the custom build rule to be attached to the source # file in Visual Studio. Turn OFF if you add the same cuda file to multiple # targets. # # This allows the user to build the target from the CUDA file; however, bad # things can happen if the CUDA source file is added to multiple targets. # When performing parallel builds it is possible for the custom build # command to be run more than once and in parallel causing cryptic build # errors. VS runs the rules for every source file in the target, and a # source can have only one rule no matter how many projects it is added to. # When the rule is run from multiple targets race conditions can occur on # the generated file. Eventually everything will get built, but if the user # is unaware of this behavior, there may be confusion. It would be nice if # this script could detect the reuse of source files across multiple targets # and turn the option off for the user, but no good solution could be found. # # CUDA_BUILD_CUBIN (Default OFF) # -- Set to ON to enable and extra compilation pass with the -cubin option in # Device mode. The output is parsed and register, shared memory usage is # printed during build. # # CUDA_BUILD_EMULATION (Default OFF for device mode) # -- Set to ON for Emulation mode. -D_DEVICEEMU is defined for CUDA C files # when CUDA_BUILD_EMULATION is TRUE. # # CUDA_GENERATED_OUTPUT_DIR (Default CMAKE_CURRENT_BINARY_DIR) # -- Set to the path you wish to have the generated files placed. If it is # blank output files will be placed in CMAKE_CURRENT_BINARY_DIR. # Intermediate files will always be placed in # CMAKE_CURRENT_BINARY_DIR/CMakeFiles. # # CUDA_HOST_COMPILATION_CPP (Default ON) # -- Set to OFF for C compilation of host code. # # CUDA_HOST_COMPILER (Default CMAKE_C_COMPILER, $(VCInstallDir)/bin for VS) # -- Set the host compiler to be used by nvcc. Ignored if -ccbin or # --compiler-bindir is already present in the CUDA_NVCC_FLAGS or # CUDA_NVCC_FLAGS_ variables. For Visual Studio targets # $(VCInstallDir)/bin is a special value that expands out to the path when # the command is run from withing VS. # # CUDA_NVCC_FLAGS # CUDA_NVCC_FLAGS_ # -- Additional NVCC command line arguments. NOTE: multiple arguments must be # semi-colon delimited (e.g. --compiler-options;-Wall) # # CUDA_PROPAGATE_HOST_FLAGS (Default ON) # -- Set to ON to propagate CMAKE_{C,CXX}_FLAGS and their configuration # dependent counterparts (e.g. CMAKE_C_FLAGS_DEBUG) automatically to the # host compiler through nvcc's -Xcompiler flag. This helps make the # generated host code match the rest of the system better. Sometimes # certain flags give nvcc problems, and this will help you turn the flag # propagation off. This does not affect the flags supplied directly to nvcc # via CUDA_NVCC_FLAGS or through the OPTION flags specified through # CUDA_ADD_LIBRARY, CUDA_ADD_EXECUTABLE, or CUDA_WRAP_SRCS. Flags used for # shared library compilation are not affected by this flag. # # CUDA_SEPARABLE_COMPILATION (Default OFF) # -- If set this will enable separable compilation for all CUDA runtime object # files. If used outside of CUDA_ADD_EXECUTABLE and CUDA_ADD_LIBRARY # (e.g. calling CUDA_WRAP_SRCS directly), # CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME and # CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS should be called. # # CUDA_VERBOSE_BUILD (Default OFF) # -- Set to ON to see all the commands used when building the CUDA file. When # using a Makefile generator the value defaults to VERBOSE (run make # VERBOSE=1 to see output), although setting CUDA_VERBOSE_BUILD to ON will # always print the output. # # The script creates the following macros (in alphebetical order): # # CUDA_ADD_CUFFT_TO_TARGET( cuda_target ) # -- Adds the cufft library to the target (can be any target). Handles whether # you are in emulation mode or not. # # CUDA_ADD_CUBLAS_TO_TARGET( cuda_target ) # -- Adds the cublas library to the target (can be any target). Handles # whether you are in emulation mode or not. # # CUDA_ADD_EXECUTABLE( cuda_target file0 file1 ... # [WIN32] [MACOSX_BUNDLE] [EXCLUDE_FROM_ALL] [OPTIONS ...] ) # -- Creates an executable "cuda_target" which is made up of the files # specified. All of the non CUDA C files are compiled using the standard # build rules specified by CMAKE and the cuda files are compiled to object # files using nvcc and the host compiler. In addition CUDA_INCLUDE_DIRS is # added automatically to include_directories(). Some standard CMake target # calls can be used on the target after calling this macro # (e.g. set_target_properties and target_link_libraries), but setting # properties that adjust compilation flags will not affect code compiled by # nvcc. Such flags should be modified before calling CUDA_ADD_EXECUTABLE, # CUDA_ADD_LIBRARY or CUDA_WRAP_SRCS. # # CUDA_ADD_LIBRARY( cuda_target file0 file1 ... # [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [OPTIONS ...] ) # -- Same as CUDA_ADD_EXECUTABLE except that a library is created. # # CUDA_BUILD_CLEAN_TARGET() # -- Creates a convience target that deletes all the dependency files # generated. You should make clean after running this target to ensure the # dependency files get regenerated. # # CUDA_COMPILE( generated_files file0 file1 ... [STATIC | SHARED | MODULE] # [OPTIONS ...] ) # -- Returns a list of generated files from the input source files to be used # with ADD_LIBRARY or ADD_EXECUTABLE. # # CUDA_COMPILE_PTX( generated_files file0 file1 ... [OPTIONS ...] ) # -- Returns a list of PTX files generated from the input source files. # # CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME( output_file_var # cuda_target # object_files ) # -- Compute the name of the intermediate link file used for separable # compilation. This file name is typically passed into # CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS. output_file_var is produced # based on cuda_target the list of objects files that need separable # compilation as specified by object_files. If the object_files list is # empty, then output_file_var will be empty. This function is called # automatically for CUDA_ADD_LIBRARY and CUDA_ADD_EXECUTABLE. Note that # this is a function and not a macro. # # CUDA_INCLUDE_DIRECTORIES( path0 path1 ... ) # -- Sets the directories that should be passed to nvcc # (e.g. nvcc -Ipath0 -Ipath1 ... ). These paths usually contain other .cu # files. # # # CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS( output_file_var cuda_target # nvcc_flags object_files) # # -- Generates the link object required by separable compilation from the given # object files. This is called automatically for CUDA_ADD_EXECUTABLE and # CUDA_ADD_LIBRARY, but can be called manually when using CUDA_WRAP_SRCS # directly. When called from CUDA_ADD_LIBRARY or CUDA_ADD_EXECUTABLE the # nvcc_flags passed in are the same as the flags passed in via the OPTIONS # argument. The only nvcc flag added automatically is the bitness flag as # specified by CUDA_64_BIT_DEVICE_CODE. Note that this is a function # instead of a macro. # # CUDA_WRAP_SRCS ( cuda_target format generated_files file0 file1 ... # [STATIC | SHARED | MODULE] [OPTIONS ...] ) # -- This is where all the magic happens. CUDA_ADD_EXECUTABLE, # CUDA_ADD_LIBRARY, CUDA_COMPILE, and CUDA_COMPILE_PTX all call this # function under the hood. # # Given the list of files (file0 file1 ... fileN) this macro generates # custom commands that generate either PTX or linkable objects (use "PTX" or # "OBJ" for the format argument to switch). Files that don't end with .cu # or have the HEADER_FILE_ONLY property are ignored. # # The arguments passed in after OPTIONS are extra command line options to # give to nvcc. You can also specify per configuration options by # specifying the name of the configuration followed by the options. General # options must preceed configuration specific options. Not all # configurations need to be specified, only the ones provided will be used. # # OPTIONS -DFLAG=2 "-DFLAG_OTHER=space in flag" # DEBUG -g # RELEASE --use_fast_math # RELWITHDEBINFO --use_fast_math;-g # MINSIZEREL --use_fast_math # # For certain configurations (namely VS generating object files with # CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE set to ON), no generated file will # be produced for the given cuda file. This is because when you add the # cuda file to Visual Studio it knows that this file produces an object file # and will link in the resulting object file automatically. # # This script will also generate a separate cmake script that is used at # build time to invoke nvcc. This is for several reasons. # # 1. nvcc can return negative numbers as return values which confuses # Visual Studio into thinking that the command succeeded. The script now # checks the error codes and produces errors when there was a problem. # # 2. nvcc has been known to not delete incomplete results when it # encounters problems. This confuses build systems into thinking the # target was generated when in fact an unusable file exists. The script # now deletes the output files if there was an error. # # 3. By putting all the options that affect the build into a file and then # make the build rule dependent on the file, the output files will be # regenerated when the options change. # # This script also looks at optional arguments STATIC, SHARED, or MODULE to # determine when to target the object compilation for a shared library. # BUILD_SHARED_LIBS is ignored in CUDA_WRAP_SRCS, but it is respected in # CUDA_ADD_LIBRARY. On some systems special flags are added for building # objects intended for shared libraries. A preprocessor macro, # _EXPORTS is defined when a shared library compilation is # detected. # # Flags passed into add_definitions with -D or /D are passed along to nvcc. # # The script defines the following variables: # # CUDA_VERSION_MAJOR -- The major version of cuda as reported by nvcc. # CUDA_VERSION_MINOR -- The minor version. # CUDA_VERSION # CUDA_VERSION_STRING -- CUDA_VERSION_MAJOR.CUDA_VERSION_MINOR # # CUDA_TOOLKIT_ROOT_DIR -- Path to the CUDA Toolkit (defined if not set). # CUDA_SDK_ROOT_DIR -- Path to the CUDA SDK. Use this to find files in the # SDK. This script will not directly support finding # specific libraries or headers, as that isn't # supported by NVIDIA. If you want to change # libraries when the path changes see the # FindCUDA.cmake script for an example of how to clear # these variables. There are also examples of how to # use the CUDA_SDK_ROOT_DIR to locate headers or # libraries, if you so choose (at your own risk). # CUDA_INCLUDE_DIRS -- Include directory for cuda headers. Added automatically # for CUDA_ADD_EXECUTABLE and CUDA_ADD_LIBRARY. # CUDA_LIBRARIES -- Cuda RT library. # CUDA_CUFFT_LIBRARIES -- Device or emulation library for the Cuda FFT # implementation (alternative to: # CUDA_ADD_CUFFT_TO_TARGET macro) # CUDA_CUBLAS_LIBRARIES -- Device or emulation library for the Cuda BLAS # implementation (alterative to: # CUDA_ADD_CUBLAS_TO_TARGET macro). # CUDA_cupti_LIBRARY -- CUDA Profiling Tools Interface library. # Only available for CUDA version 4.0+. # CUDA_curand_LIBRARY -- CUDA Random Number Generation library. # Only available for CUDA version 3.2+. # CUDA_cusparse_LIBRARY -- CUDA Sparse Matrix library. # Only available for CUDA version 3.2+. # CUDA_npp_LIBRARY -- NVIDIA Performance Primitives library. # Only available for CUDA version 4.0+. # CUDA_nppc_LIBRARY -- NVIDIA Performance Primitives library (core). # Only available for CUDA version 5.5+. # CUDA_nppi_LIBRARY -- NVIDIA Performance Primitives library (image processing). # Only available for CUDA version 5.5+. # CUDA_npps_LIBRARY -- NVIDIA Performance Primitives library (signal processing). # Only available for CUDA version 5.5+. # CUDA_nvcuvenc_LIBRARY -- CUDA Video Encoder library. # Only available for CUDA version 3.2+. # Windows only. # CUDA_nvcuvid_LIBRARY -- CUDA Video Decoder library. # Only available for CUDA version 3.2+. # Windows only. # # # James Bigler, NVIDIA Corp (nvidia.com - jbigler) # Abe Stephens, SCI Institute -- http://www.sci.utah.edu/~abe/FindCuda.html # # Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved. # # Copyright (c) 2007-2009 # Scientific Computing and Imaging Institute, University of Utah # # This code is licensed under the MIT License. See the FindCUDA.cmake script # for the text of the license. # The MIT License # # License for the specific language governing rights and limitations under # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # ############################################################################### # FindCUDA.cmake # We need to have at least this version to support the VERSION_LESS argument to 'if' (2.6.2) and unset (2.6.3) cmake_policy(PUSH) cmake_minimum_required(VERSION 2.6.3) cmake_policy(POP) # This macro helps us find the location of helper files we will need the full path to macro(CUDA_FIND_HELPER_FILE _name _extension) set(_full_name "${_name}.${_extension}") # CMAKE_CURRENT_LIST_FILE contains the full path to the file currently being # processed. Using this variable, we can pull out the current path, and # provide a way to get access to the other files we need local to here. get_filename_component(CMAKE_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) set(CUDA_${_name} "${CMAKE_CURRENT_LIST_DIR}/FindCUDA/${_full_name}") if(NOT EXISTS "${CUDA_${_name}}") set(error_message "${_full_name} not found in ${CMAKE_CURRENT_LIST_DIR}/FindCUDA") if(CUDA_FIND_REQUIRED) message(FATAL_ERROR "${error_message}") else() if(NOT CUDA_FIND_QUIETLY) message(STATUS "${error_message}") endif() endif() endif() # Set this variable as internal, so the user isn't bugged with it. set(CUDA_${_name} ${CUDA_${_name}} CACHE INTERNAL "Location of ${_full_name}" FORCE) endmacro() ##################################################################### ## CUDA_INCLUDE_NVCC_DEPENDENCIES ## # So we want to try and include the dependency file if it exists. If # it doesn't exist then we need to create an empty one, so we can # include it. # If it does exist, then we need to check to see if all the files it # depends on exist. If they don't then we should clear the dependency # file and regenerate it later. This covers the case where a header # file has disappeared or moved. macro(CUDA_INCLUDE_NVCC_DEPENDENCIES dependency_file) set(CUDA_NVCC_DEPEND) set(CUDA_NVCC_DEPEND_REGENERATE FALSE) # Include the dependency file. Create it first if it doesn't exist . The # INCLUDE puts a dependency that will force CMake to rerun and bring in the # new info when it changes. DO NOT REMOVE THIS (as I did and spent a few # hours figuring out why it didn't work. if(NOT EXISTS ${dependency_file}) file(WRITE ${dependency_file} "#FindCUDA.cmake generated file. Do not edit.\n") endif() # Always include this file to force CMake to run again next # invocation and rebuild the dependencies. #message("including dependency_file = ${dependency_file}") include(${dependency_file}) # Now we need to verify the existence of all the included files # here. If they aren't there we need to just blank this variable and # make the file regenerate again. # if(DEFINED CUDA_NVCC_DEPEND) # message("CUDA_NVCC_DEPEND set") # else() # message("CUDA_NVCC_DEPEND NOT set") # endif() if(CUDA_NVCC_DEPEND) #message("CUDA_NVCC_DEPEND found") foreach(f ${CUDA_NVCC_DEPEND}) # message("searching for ${f}") if(NOT EXISTS ${f}) #message("file ${f} not found") set(CUDA_NVCC_DEPEND_REGENERATE TRUE) endif() endforeach() else() #message("CUDA_NVCC_DEPEND false") # No dependencies, so regenerate the file. set(CUDA_NVCC_DEPEND_REGENERATE TRUE) endif() #message("CUDA_NVCC_DEPEND_REGENERATE = ${CUDA_NVCC_DEPEND_REGENERATE}") # No incoming dependencies, so we need to generate them. Make the # output depend on the dependency file itself, which should cause the # rule to re-run. if(CUDA_NVCC_DEPEND_REGENERATE) set(CUDA_NVCC_DEPEND ${dependency_file}) #message("Generating an empty dependency_file: ${dependency_file}") file(WRITE ${dependency_file} "#FindCUDA.cmake generated file. Do not edit.\n") endif() endmacro() ############################################################################### ############################################################################### # Setup variables' defaults ############################################################################### ############################################################################### # Allow the user to specify if the device code is supposed to be 32 or 64 bit. if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(CUDA_64_BIT_DEVICE_CODE_DEFAULT ON) else() set(CUDA_64_BIT_DEVICE_CODE_DEFAULT OFF) endif() option(CUDA_64_BIT_DEVICE_CODE "Compile device code in 64 bit mode" ${CUDA_64_BIT_DEVICE_CODE_DEFAULT}) # Attach the build rule to the source file in VS. This option option(CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE "Attach the build rule to the CUDA source file. Enable only when the CUDA source file is added to at most one target." ON) # Prints out extra information about the cuda file during compilation option(CUDA_BUILD_CUBIN "Generate and parse .cubin files in Device mode." OFF) # Set whether we are using emulation or device mode. option(CUDA_BUILD_EMULATION "Build in Emulation mode" OFF) # Where to put the generated output. set(CUDA_GENERATED_OUTPUT_DIR "" CACHE PATH "Directory to put all the output files. If blank it will default to the CMAKE_CURRENT_BINARY_DIR") # Parse HOST_COMPILATION mode. option(CUDA_HOST_COMPILATION_CPP "Generated file extension" ON) # Extra user settable flags set(CUDA_NVCC_FLAGS "" CACHE STRING "Semi-colon delimit multiple arguments.") if(CMAKE_GENERATOR MATCHES "Visual Studio") set(CUDA_HOST_COMPILER "$(VCInstallDir)bin" CACHE FILEPATH "Host side compiler used by NVCC") else() set(CUDA_HOST_COMPILER "${CMAKE_C_COMPILER}" CACHE FILEPATH "Host side compiler used by NVCC") endif() # Propagate the host flags to the host compiler via -Xcompiler option(CUDA_PROPAGATE_HOST_FLAGS "Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile" ON) # Enable CUDA_SEPARABLE_COMPILATION option(CUDA_SEPARABLE_COMPILATION "Compile CUDA objects with separable compilation enabled. Requires CUDA 5.0+" OFF) # Specifies whether the commands used when compiling the .cu file will be printed out. option(CUDA_VERBOSE_BUILD "Print out the commands run while compiling the CUDA source file. With the Makefile generator this defaults to VERBOSE variable specified on the command line, but can be forced on with this option." OFF) mark_as_advanced( CUDA_64_BIT_DEVICE_CODE CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE CUDA_GENERATED_OUTPUT_DIR CUDA_HOST_COMPILATION_CPP CUDA_NVCC_FLAGS CUDA_PROPAGATE_HOST_FLAGS ) # Makefile and similar generators don't define CMAKE_CONFIGURATION_TYPES, so we # need to add another entry for the CMAKE_BUILD_TYPE. We also need to add the # standerd set of 4 build types (Debug, MinSizeRel, Release, and RelWithDebInfo) # for completeness. We need run this loop in order to accomodate the addition # of extra configuration types. Duplicate entries will be removed by # REMOVE_DUPLICATES. set(CUDA_configuration_types ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE} Debug MinSizeRel Release RelWithDebInfo) list(REMOVE_DUPLICATES CUDA_configuration_types) foreach(config ${CUDA_configuration_types}) string(TOUPPER ${config} config_upper) set(CUDA_NVCC_FLAGS_${config_upper} "" CACHE STRING "Semi-colon delimit multiple arguments.") mark_as_advanced(CUDA_NVCC_FLAGS_${config_upper}) endforeach() ############################################################################### ############################################################################### # Locate CUDA, Set Build Type, etc. ############################################################################### ############################################################################### # Check to see if the CUDA_TOOLKIT_ROOT_DIR and CUDA_SDK_ROOT_DIR have changed, # if they have then clear the cache variables, so that will be detected again. if(NOT "${CUDA_TOOLKIT_ROOT_DIR}" STREQUAL "${CUDA_TOOLKIT_ROOT_DIR_INTERNAL}") unset(CUDA_NVCC_EXECUTABLE CACHE) unset(CUDA_TOOLKIT_INCLUDE CACHE) unset(CUDA_CUDART_LIBRARY CACHE) # Make sure you run this before you unset CUDA_VERSION. if(CUDA_VERSION VERSION_EQUAL "3.0") # This only existed in the 3.0 version of the CUDA toolkit unset(CUDA_CUDARTEMU_LIBRARY CACHE) endif() unset(CUDA_VERSION CACHE) unset(CUDA_CUDA_LIBRARY CACHE) unset(CUDA_cupti_LIBRARY CACHE) unset(CUDA_cublas_LIBRARY CACHE) unset(CUDA_cublasemu_LIBRARY CACHE) unset(CUDA_cufft_LIBRARY CACHE) unset(CUDA_cufftemu_LIBRARY CACHE) unset(CUDA_curand_LIBRARY CACHE) unset(CUDA_cusparse_LIBRARY CACHE) unset(CUDA_npp_LIBRARY CACHE) unset(CUDA_nppc_LIBRARY CACHE) unset(CUDA_nppi_LIBRARY CACHE) unset(CUDA_npps_LIBRARY CACHE) unset(CUDA_nvcuvenc_LIBRARY CACHE) unset(CUDA_nvcuvid_LIBRARY CACHE) endif() if(NOT "${CUDA_SDK_ROOT_DIR}" STREQUAL "${CUDA_SDK_ROOT_DIR_INTERNAL}") # No specific variables to catch. Use this kind of code before calling # find_package(CUDA) to clean up any variables that may depend on this path. # unset(MY_SPECIAL_CUDA_SDK_INCLUDE_DIR CACHE) # unset(MY_SPECIAL_CUDA_SDK_LIBRARY CACHE) endif() # Search for the cuda distribution. if(NOT CUDA_TOOLKIT_ROOT_DIR) # Search in the CUDA_BIN_PATH first. find_path(CUDA_TOOLKIT_ROOT_DIR NAMES nvcc nvcc.exe PATHS ENV CUDA_PATH ENV CUDA_BIN_PATH PATH_SUFFIXES bin bin64 DOC "Toolkit location." NO_DEFAULT_PATH ) # Now search default paths find_path(CUDA_TOOLKIT_ROOT_DIR NAMES nvcc nvcc.exe PATHS /usr/local/bin /usr/local/cuda/bin DOC "Toolkit location." ) if (CUDA_TOOLKIT_ROOT_DIR) string(REGEX REPLACE "[/\\\\]?bin[64]*[/\\\\]?$" "" CUDA_TOOLKIT_ROOT_DIR ${CUDA_TOOLKIT_ROOT_DIR}) # We need to force this back into the cache. set(CUDA_TOOLKIT_ROOT_DIR ${CUDA_TOOLKIT_ROOT_DIR} CACHE PATH "Toolkit location." FORCE) endif() if (NOT EXISTS ${CUDA_TOOLKIT_ROOT_DIR}) if(CUDA_FIND_REQUIRED) message(FATAL_ERROR "Specify CUDA_TOOLKIT_ROOT_DIR") elseif(NOT CUDA_FIND_QUIETLY) message("CUDA_TOOLKIT_ROOT_DIR not found or specified") endif() endif () endif () # CUDA_NVCC_EXECUTABLE find_program(CUDA_NVCC_EXECUTABLE NAMES nvcc PATHS "${CUDA_TOOLKIT_ROOT_DIR}" ENV CUDA_PATH ENV CUDA_BIN_PATH PATH_SUFFIXES bin bin64 NO_DEFAULT_PATH ) # Search default search paths, after we search our own set of paths. find_program(CUDA_NVCC_EXECUTABLE nvcc) mark_as_advanced(CUDA_NVCC_EXECUTABLE) if(CUDA_NVCC_EXECUTABLE AND NOT CUDA_VERSION) # Compute the version. execute_process (COMMAND ${CUDA_NVCC_EXECUTABLE} "--version" OUTPUT_VARIABLE NVCC_OUT) string(REGEX REPLACE ".*release ([0-9]+)\\.([0-9]+).*" "\\1" CUDA_VERSION_MAJOR ${NVCC_OUT}) string(REGEX REPLACE ".*release ([0-9]+)\\.([0-9]+).*" "\\2" CUDA_VERSION_MINOR ${NVCC_OUT}) set(CUDA_VERSION "${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR}" CACHE STRING "Version of CUDA as computed from nvcc.") mark_as_advanced(CUDA_VERSION) else() # Need to set these based off of the cached value string(REGEX REPLACE "([0-9]+)\\.([0-9]+).*" "\\1" CUDA_VERSION_MAJOR "${CUDA_VERSION}") string(REGEX REPLACE "([0-9]+)\\.([0-9]+).*" "\\2" CUDA_VERSION_MINOR "${CUDA_VERSION}") endif() # Always set this convenience variable set(CUDA_VERSION_STRING "${CUDA_VERSION}") # CUDA_TOOLKIT_INCLUDE find_path(CUDA_TOOLKIT_INCLUDE device_functions.h # Header included in toolkit PATHS "${CUDA_TOOLKIT_ROOT_DIR}" ENV CUDA_PATH ENV CUDA_INC_PATH PATH_SUFFIXES include NO_DEFAULT_PATH ) # Search default search paths, after we search our own set of paths. find_path(CUDA_TOOLKIT_INCLUDE device_functions.h) mark_as_advanced(CUDA_TOOLKIT_INCLUDE) # Set the user list of include dir to nothing to initialize it. set (CUDA_NVCC_INCLUDE_ARGS_USER "") set (CUDA_INCLUDE_DIRS ${CUDA_TOOLKIT_INCLUDE}) macro(cuda_find_library_local_first_with_path_ext _var _names _doc _path_ext ) if(CMAKE_SIZEOF_VOID_P EQUAL 8) # CUDA 3.2+ on Windows moved the library directories, so we need the new # and old paths. set(_cuda_64bit_lib_dir "${_path_ext}lib/x64" "${_path_ext}lib64" "${_path_ext}libx64" ) endif() # CUDA 3.2+ on Windows moved the library directories, so we need to new # (lib/Win32) and the old path (lib). find_library(${_var} NAMES ${_names} PATHS "${CUDA_TOOLKIT_ROOT_DIR}" ENV CUDA_PATH ENV CUDA_LIB_PATH PATH_SUFFIXES ${_cuda_64bit_lib_dir} "${_path_ext}lib/Win32" "${_path_ext}lib" "${_path_ext}libWin32" DOC ${_doc} NO_DEFAULT_PATH ) # Search default search paths, after we search our own set of paths. find_library(${_var} NAMES ${_names} PATHS "/usr/lib/nvidia-current" DOC ${_doc} ) endmacro() macro(cuda_find_library_local_first _var _names _doc) cuda_find_library_local_first_with_path_ext( "${_var}" "${_names}" "${_doc}" "" ) endmacro() macro(find_library_local_first _var _names _doc ) cuda_find_library_local_first( "${_var}" "${_names}" "${_doc}" "" ) endmacro() # CUDA_LIBRARIES cuda_find_library_local_first(CUDA_CUDART_LIBRARY cudart "\"cudart\" library") if(CUDA_VERSION VERSION_EQUAL "3.0") # The cudartemu library only existed for the 3.0 version of CUDA. cuda_find_library_local_first(CUDA_CUDARTEMU_LIBRARY cudartemu "\"cudartemu\" library") mark_as_advanced( CUDA_CUDARTEMU_LIBRARY ) endif() # CUPTI library showed up in cuda toolkit 4.0 if(NOT CUDA_VERSION VERSION_LESS "4.0") cuda_find_library_local_first_with_path_ext(CUDA_cupti_LIBRARY cupti "\"cupti\" library" "extras/CUPTI/") mark_as_advanced(CUDA_cupti_LIBRARY) endif() # If we are using emulation mode and we found the cudartemu library then use # that one instead of cudart. if(CUDA_BUILD_EMULATION AND CUDA_CUDARTEMU_LIBRARY) set(CUDA_LIBRARIES ${CUDA_CUDARTEMU_LIBRARY}) else() set(CUDA_LIBRARIES ${CUDA_CUDART_LIBRARY}) endif() if(APPLE) # We need to add the path to cudart to the linker using rpath, since the # library name for the cuda libraries is prepended with @rpath. if(CUDA_BUILD_EMULATION AND CUDA_CUDARTEMU_LIBRARY) get_filename_component(_cuda_path_to_cudart "${CUDA_CUDARTEMU_LIBRARY}" PATH) else() get_filename_component(_cuda_path_to_cudart "${CUDA_CUDART_LIBRARY}" PATH) endif() if(_cuda_path_to_cudart) list(APPEND CUDA_LIBRARIES -Wl,-rpath "-Wl,${_cuda_path_to_cudart}") endif() endif() # 1.1 toolkit on linux doesn't appear to have a separate library on # some platforms. cuda_find_library_local_first(CUDA_CUDA_LIBRARY cuda "\"cuda\" library (older versions only).") mark_as_advanced( CUDA_CUDA_LIBRARY CUDA_CUDART_LIBRARY ) ####################### # Look for some of the toolkit helper libraries macro(FIND_CUDA_HELPER_LIBS _name) cuda_find_library_local_first(CUDA_${_name}_LIBRARY ${_name} "\"${_name}\" library") mark_as_advanced(CUDA_${_name}_LIBRARY) endmacro() ####################### # Disable emulation for v3.1 onward if(CUDA_VERSION VERSION_GREATER "3.0") if(CUDA_BUILD_EMULATION) message(FATAL_ERROR "CUDA_BUILD_EMULATION is not supported in version 3.1 and onwards. You must disable it to proceed. You have version ${CUDA_VERSION}.") endif() endif() # Search for additional CUDA toolkit libraries. if(CUDA_VERSION VERSION_LESS "3.1") # Emulation libraries aren't available in version 3.1 onward. find_cuda_helper_libs(cufftemu) find_cuda_helper_libs(cublasemu) endif() find_cuda_helper_libs(cufft) find_cuda_helper_libs(cublas) if(NOT CUDA_VERSION VERSION_LESS "3.2") # cusparse showed up in version 3.2 find_cuda_helper_libs(cusparse) find_cuda_helper_libs(curand) if (WIN32) find_cuda_helper_libs(nvcuvenc) find_cuda_helper_libs(nvcuvid) endif() endif() if(CUDA_VERSION VERSION_GREATER "5.0") # In CUDA 5.5 NPP was splitted onto 3 separate libraries. find_cuda_helper_libs(nppc) find_cuda_helper_libs(nppi) find_cuda_helper_libs(npps) set(CUDA_npp_LIBRARY "${CUDA_nppc_LIBRARY};${CUDA_nppi_LIBRARY};${CUDA_npps_LIBRARY}") elseif(NOT CUDA_VERSION VERSION_LESS "4.0") find_cuda_helper_libs(npp) endif() if (CUDA_BUILD_EMULATION) set(CUDA_CUFFT_LIBRARIES ${CUDA_cufftemu_LIBRARY}) set(CUDA_CUBLAS_LIBRARIES ${CUDA_cublasemu_LIBRARY}) else() set(CUDA_CUFFT_LIBRARIES ${CUDA_cufft_LIBRARY}) set(CUDA_CUBLAS_LIBRARIES ${CUDA_cublas_LIBRARY}) endif() ######################## # Look for the SDK stuff. As of CUDA 3.0 NVSDKCUDA_ROOT has been replaced with # NVSDKCOMPUTE_ROOT with the old CUDA C contents moved into the C subdirectory find_path(CUDA_SDK_ROOT_DIR common/inc/cutil.h HINTS "$ENV{NVSDKCOMPUTE_ROOT}/C" ENV NVSDKCUDA_ROOT "[HKEY_LOCAL_MACHINE\\SOFTWARE\\NVIDIA Corporation\\Installed Products\\NVIDIA SDK 10\\Compute;InstallDir]" PATHS "/Developer/GPU\ Computing/C" ) # Keep the CUDA_SDK_ROOT_DIR first in order to be able to override the # environment variables. set(CUDA_SDK_SEARCH_PATH "${CUDA_SDK_ROOT_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}/local/NVSDK0.2" "${CUDA_TOOLKIT_ROOT_DIR}/NVSDK0.2" "${CUDA_TOOLKIT_ROOT_DIR}/NV_CUDA_SDK" "$ENV{HOME}/NVIDIA_CUDA_SDK" "$ENV{HOME}/NVIDIA_CUDA_SDK_MACOSX" "/Developer/CUDA" ) # Example of how to find an include file from the CUDA_SDK_ROOT_DIR # find_path(CUDA_CUT_INCLUDE_DIR # cutil.h # PATHS ${CUDA_SDK_SEARCH_PATH} # PATH_SUFFIXES "common/inc" # DOC "Location of cutil.h" # NO_DEFAULT_PATH # ) # # Now search system paths # find_path(CUDA_CUT_INCLUDE_DIR cutil.h DOC "Location of cutil.h") # mark_as_advanced(CUDA_CUT_INCLUDE_DIR) # Example of how to find a library in the CUDA_SDK_ROOT_DIR # # cutil library is called cutil64 for 64 bit builds on windows. We don't want # # to get these confused, so we are setting the name based on the word size of # # the build. # if(CMAKE_SIZEOF_VOID_P EQUAL 8) # set(cuda_cutil_name cutil64) # else() # set(cuda_cutil_name cutil32) # endif() # find_library(CUDA_CUT_LIBRARY # NAMES cutil ${cuda_cutil_name} # PATHS ${CUDA_SDK_SEARCH_PATH} # # The new version of the sdk shows up in common/lib, but the old one is in lib # PATH_SUFFIXES "common/lib" "lib" # DOC "Location of cutil library" # NO_DEFAULT_PATH # ) # # Now search system paths # find_library(CUDA_CUT_LIBRARY NAMES cutil ${cuda_cutil_name} DOC "Location of cutil library") # mark_as_advanced(CUDA_CUT_LIBRARY) # set(CUDA_CUT_LIBRARIES ${CUDA_CUT_LIBRARY}) ############################# # Check for required components set(CUDA_FOUND TRUE) set(CUDA_TOOLKIT_ROOT_DIR_INTERNAL "${CUDA_TOOLKIT_ROOT_DIR}" CACHE INTERNAL "This is the value of the last time CUDA_TOOLKIT_ROOT_DIR was set successfully." FORCE) set(CUDA_SDK_ROOT_DIR_INTERNAL "${CUDA_SDK_ROOT_DIR}" CACHE INTERNAL "This is the value of the last time CUDA_SDK_ROOT_DIR was set successfully." FORCE) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(CUDA REQUIRED_VARS CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY VERSION_VAR CUDA_VERSION ) ############################################################################### ############################################################################### # Macros ############################################################################### ############################################################################### ############################################################################### # Add include directories to pass to the nvcc command. macro(CUDA_INCLUDE_DIRECTORIES) foreach(dir ${ARGN}) list(APPEND CUDA_NVCC_INCLUDE_ARGS_USER -I${dir}) endforeach() endmacro() ############################################################################## cuda_find_helper_file(parse_cubin cmake) cuda_find_helper_file(make2cmake cmake) cuda_find_helper_file(run_nvcc cmake) ############################################################################## # Separate the OPTIONS out from the sources # macro(CUDA_GET_SOURCES_AND_OPTIONS _sources _cmake_options _options) set( ${_sources} ) set( ${_cmake_options} ) set( ${_options} ) set( _found_options FALSE ) foreach(arg ${ARGN}) if(arg STREQUAL "OPTIONS") set( _found_options TRUE ) elseif( arg STREQUAL "WIN32" OR arg STREQUAL "MACOSX_BUNDLE" OR arg STREQUAL "EXCLUDE_FROM_ALL" OR arg STREQUAL "STATIC" OR arg STREQUAL "SHARED" OR arg STREQUAL "MODULE" ) list(APPEND ${_cmake_options} ${arg}) else() if ( _found_options ) list(APPEND ${_options} ${arg}) else() # Assume this is a file list(APPEND ${_sources} ${arg}) endif() endif() endforeach() endmacro() ############################################################################## # Parse the OPTIONS from ARGN and set the variables prefixed by _option_prefix # macro(CUDA_PARSE_NVCC_OPTIONS _option_prefix) set( _found_config ) foreach(arg ${ARGN}) # Determine if we are dealing with a perconfiguration flag foreach(config ${CUDA_configuration_types}) string(TOUPPER ${config} config_upper) if (arg STREQUAL "${config_upper}") set( _found_config _${arg}) # Set arg to nothing to keep it from being processed further set( arg ) endif() endforeach() if ( arg ) list(APPEND ${_option_prefix}${_found_config} "${arg}") endif() endforeach() endmacro() ############################################################################## # Helper to add the include directory for CUDA only once function(CUDA_ADD_CUDA_INCLUDE_ONCE) get_directory_property(_include_directories INCLUDE_DIRECTORIES) set(_add TRUE) if(_include_directories) foreach(dir ${_include_directories}) if("${dir}" STREQUAL "${CUDA_INCLUDE_DIRS}") set(_add FALSE) endif() endforeach() endif() if(_add) include_directories(${CUDA_INCLUDE_DIRS}) endif() endfunction() function(CUDA_BUILD_SHARED_LIBRARY shared_flag) set(cmake_args ${ARGN}) # If SHARED, MODULE, or STATIC aren't already in the list of arguments, then # add SHARED or STATIC based on the value of BUILD_SHARED_LIBS. list(FIND cmake_args SHARED _cuda_found_SHARED) list(FIND cmake_args MODULE _cuda_found_MODULE) list(FIND cmake_args STATIC _cuda_found_STATIC) if( _cuda_found_SHARED GREATER -1 OR _cuda_found_MODULE GREATER -1 OR _cuda_found_STATIC GREATER -1) set(_cuda_build_shared_libs) else() if (BUILD_SHARED_LIBS) set(_cuda_build_shared_libs SHARED) else() set(_cuda_build_shared_libs STATIC) endif() endif() set(${shared_flag} ${_cuda_build_shared_libs} PARENT_SCOPE) endfunction() ############################################################################## # Helper to avoid clashes of files with the same basename but different paths. # This doesn't attempt to do exactly what CMake internals do, which is to only # add this path when there is a conflict, since by the time a second collision # in names is detected it's already too late to fix the first one. For # consistency sake the relative path will be added to all files. function(CUDA_COMPUTE_BUILD_PATH path build_path) #message("CUDA_COMPUTE_BUILD_PATH([${path}] ${build_path})") # Only deal with CMake style paths from here on out file(TO_CMAKE_PATH "${path}" bpath) if (IS_ABSOLUTE "${bpath}") # Absolute paths are generally unnessary, especially if something like # file(GLOB_RECURSE) is used to pick up the files. string(FIND "${bpath}" "${CMAKE_CURRENT_BINARY_DIR}" _binary_dir_pos) if (_binary_dir_pos EQUAL 0) file(RELATIVE_PATH bpath "${CMAKE_CURRENT_BINARY_DIR}" "${bpath}") else() file(RELATIVE_PATH bpath "${CMAKE_CURRENT_SOURCE_DIR}" "${bpath}") endif() endif() # This recipie is from cmLocalGenerator::CreateSafeUniqueObjectFileName in the # CMake source. # Remove leading / string(REGEX REPLACE "^[/]+" "" bpath "${bpath}") # Avoid absolute paths by removing ':' string(REPLACE ":" "_" bpath "${bpath}") # Avoid relative paths that go up the tree string(REPLACE "../" "__/" bpath "${bpath}") # Avoid spaces string(REPLACE " " "_" bpath "${bpath}") # Strip off the filename. I wait until here to do it, since removin the # basename can make a path that looked like path/../basename turn into # path/.. (notice the trailing slash). get_filename_component(bpath "${bpath}" PATH) set(${build_path} "${bpath}" PARENT_SCOPE) #message("${build_path} = ${bpath}") endfunction() ############################################################################## # This helper macro populates the following variables and setups up custom # commands and targets to invoke the nvcc compiler to generate C or PTX source # dependent upon the format parameter. The compiler is invoked once with -M # to generate a dependency file and a second time with -cuda or -ptx to generate # a .cpp or .ptx file. # INPUT: # cuda_target - Target name # format - PTX or OBJ # FILE1 .. FILEN - The remaining arguments are the sources to be wrapped. # OPTIONS - Extra options to NVCC # OUTPUT: # generated_files - List of generated files ############################################################################## ############################################################################## macro(CUDA_WRAP_SRCS cuda_target format generated_files) # If CMake doesn't support separable compilation, complain if(CUDA_SEPARABLE_COMPILATION AND CMAKE_VERSION VERSION_LESS "2.8.10.1") message(SEND_ERROR "CUDA_SEPARABLE_COMPILATION isn't supported for CMake versions less than 2.8.10.1") endif() # Set up all the command line flags here, so that they can be overridden on a per target basis. set(nvcc_flags "") # Emulation if the card isn't present. if (CUDA_BUILD_EMULATION) # Emulation. set(nvcc_flags ${nvcc_flags} --device-emulation -D_DEVICEEMU -g) else() # Device mode. No flags necessary. endif() if(CUDA_HOST_COMPILATION_CPP) set(CUDA_C_OR_CXX CXX) else() if(CUDA_VERSION VERSION_LESS "3.0") set(nvcc_flags ${nvcc_flags} --host-compilation C) else() message(WARNING "--host-compilation flag is deprecated in CUDA version >= 3.0. Removing --host-compilation C flag" ) endif() set(CUDA_C_OR_CXX C) endif() set(generated_extension ${CMAKE_${CUDA_C_OR_CXX}_OUTPUT_EXTENSION}) if(CUDA_64_BIT_DEVICE_CODE) set(nvcc_flags ${nvcc_flags} -m64) else() set(nvcc_flags ${nvcc_flags} -m32) endif() # This needs to be passed in at this stage, because VS needs to fill out the # value of VCInstallDir from within VS. Note that CCBIN is only used if # -ccbin or --compiler-bindir isn't used and CUDA_HOST_COMPILER matches # $(VCInstallDir)/bin. if(CMAKE_GENERATOR MATCHES "Visual Studio") set(ccbin_flags -D "\"CCBIN:PATH=$(VCInstallDir)bin\"" ) else() set(ccbin_flags) endif() # Figure out which configure we will use and pass that in as an argument to # the script. We need to defer the decision until compilation time, because # for VS projects we won't know if we are making a debug or release build # until build time. if(CMAKE_GENERATOR MATCHES "Visual Studio") set( CUDA_build_configuration "$(ConfigurationName)" ) else() set( CUDA_build_configuration "${CMAKE_BUILD_TYPE}") endif() # Initialize our list of includes with the user ones followed by the CUDA system ones. set(CUDA_NVCC_INCLUDE_ARGS ${CUDA_NVCC_INCLUDE_ARGS_USER} "-I${CUDA_INCLUDE_DIRS}") # Get the include directories for this directory and use them for our nvcc command. # Remove duplicate entries which may be present since include_directories # in CMake >= 2.8.8 does not remove them. get_directory_property(CUDA_NVCC_INCLUDE_DIRECTORIES INCLUDE_DIRECTORIES) list(REMOVE_DUPLICATES CUDA_NVCC_INCLUDE_DIRECTORIES) if(CUDA_NVCC_INCLUDE_DIRECTORIES) foreach(dir ${CUDA_NVCC_INCLUDE_DIRECTORIES}) list(APPEND CUDA_NVCC_INCLUDE_ARGS -I${dir}) endforeach() endif() # Reset these variables set(CUDA_WRAP_OPTION_NVCC_FLAGS) foreach(config ${CUDA_configuration_types}) string(TOUPPER ${config} config_upper) set(CUDA_WRAP_OPTION_NVCC_FLAGS_${config_upper}) endforeach() CUDA_GET_SOURCES_AND_OPTIONS(_cuda_wrap_sources _cuda_wrap_cmake_options _cuda_wrap_options ${ARGN}) CUDA_PARSE_NVCC_OPTIONS(CUDA_WRAP_OPTION_NVCC_FLAGS ${_cuda_wrap_options}) # Figure out if we are building a shared library. BUILD_SHARED_LIBS is # respected in CUDA_ADD_LIBRARY. set(_cuda_build_shared_libs FALSE) # SHARED, MODULE list(FIND _cuda_wrap_cmake_options SHARED _cuda_found_SHARED) list(FIND _cuda_wrap_cmake_options MODULE _cuda_found_MODULE) if(_cuda_found_SHARED GREATER -1 OR _cuda_found_MODULE GREATER -1) set(_cuda_build_shared_libs TRUE) endif() # STATIC list(FIND _cuda_wrap_cmake_options STATIC _cuda_found_STATIC) if(_cuda_found_STATIC GREATER -1) set(_cuda_build_shared_libs FALSE) endif() # CUDA_HOST_FLAGS if(_cuda_build_shared_libs) # If we are setting up code for a shared library, then we need to add extra flags for # compiling objects for shared libraries. set(CUDA_HOST_SHARED_FLAGS ${CMAKE_SHARED_LIBRARY_${CUDA_C_OR_CXX}_FLAGS}) else() set(CUDA_HOST_SHARED_FLAGS) endif() # Only add the CMAKE_{C,CXX}_FLAGS if we are propagating host flags. We # always need to set the SHARED_FLAGS, though. if(CUDA_PROPAGATE_HOST_FLAGS) set(_cuda_host_flags "set(CMAKE_HOST_FLAGS ${CMAKE_${CUDA_C_OR_CXX}_FLAGS} ${CUDA_HOST_SHARED_FLAGS})") else() set(_cuda_host_flags "set(CMAKE_HOST_FLAGS ${CUDA_HOST_SHARED_FLAGS})") endif() set(_cuda_nvcc_flags_config "# Build specific configuration flags") # Loop over all the configuration types to generate appropriate flags for run_nvcc.cmake foreach(config ${CUDA_configuration_types}) string(TOUPPER ${config} config_upper) # CMAKE_FLAGS are strings and not lists. By not putting quotes around CMAKE_FLAGS # we convert the strings to lists (like we want). if(CUDA_PROPAGATE_HOST_FLAGS) # nvcc chokes on -g3 in versions previous to 3.0, so replace it with -g set(_cuda_fix_g3 FALSE) if(CMAKE_COMPILER_IS_GNUCC) if (CUDA_VERSION VERSION_LESS "3.0" OR CUDA_VERSION VERSION_EQUAL "4.1" OR CUDA_VERSION VERSION_EQUAL "4.2" ) set(_cuda_fix_g3 TRUE) endif() endif() if(_cuda_fix_g3) string(REPLACE "-g3" "-g" _cuda_C_FLAGS "${CMAKE_${CUDA_C_OR_CXX}_FLAGS_${config_upper}}") else() set(_cuda_C_FLAGS "${CMAKE_${CUDA_C_OR_CXX}_FLAGS_${config_upper}}") endif() set(_cuda_host_flags "${_cuda_host_flags}\nset(CMAKE_HOST_FLAGS_${config_upper} ${_cuda_C_FLAGS})") endif() # Note that if we ever want CUDA_NVCC_FLAGS_ to be string (instead of a list # like it is currently), we can remove the quotes around the # ${CUDA_NVCC_FLAGS_${config_upper}} variable like the CMAKE_HOST_FLAGS_ variable. set(_cuda_nvcc_flags_config "${_cuda_nvcc_flags_config}\nset(CUDA_NVCC_FLAGS_${config_upper} ${CUDA_NVCC_FLAGS_${config_upper}} ;; ${CUDA_WRAP_OPTION_NVCC_FLAGS_${config_upper}})") endforeach() # Get the list of definitions from the directory property get_directory_property(CUDA_NVCC_DEFINITIONS COMPILE_DEFINITIONS) if(CUDA_NVCC_DEFINITIONS) foreach(_definition ${CUDA_NVCC_DEFINITIONS}) list(APPEND nvcc_flags "-D${_definition}") endforeach() endif() if(_cuda_build_shared_libs) list(APPEND nvcc_flags "-D${cuda_target}_EXPORTS") endif() # Reset the output variable set(_cuda_wrap_generated_files "") # Iterate over the macro arguments and create custom # commands for all the .cu files. foreach(file ${ARGN}) # Ignore any file marked as a HEADER_FILE_ONLY get_source_file_property(_is_header ${file} HEADER_FILE_ONLY) if(${file} MATCHES ".*\\.cu$" AND NOT _is_header) # Allow per source file overrides of the format. get_source_file_property(_cuda_source_format ${file} CUDA_SOURCE_PROPERTY_FORMAT) if(NOT _cuda_source_format) set(_cuda_source_format ${format}) endif() if( ${_cuda_source_format} MATCHES "PTX" ) set( compile_to_ptx ON ) elseif( ${_cuda_source_format} MATCHES "OBJ") set( compile_to_ptx OFF ) else() message( FATAL_ERROR "Invalid format flag passed to CUDA_WRAP_SRCS for file '${file}': '${_cuda_source_format}'. Use OBJ or PTX.") endif() if(compile_to_ptx) # Don't use any of the host compilation flags for PTX targets. set(CUDA_HOST_FLAGS) set(CUDA_NVCC_FLAGS_CONFIG) else() set(CUDA_HOST_FLAGS ${_cuda_host_flags}) set(CUDA_NVCC_FLAGS_CONFIG ${_cuda_nvcc_flags_config}) endif() # Determine output directory cuda_compute_build_path("${file}" cuda_build_path) set(cuda_compile_intermediate_directory "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${cuda_target}.dir/${cuda_build_path}") if(CUDA_GENERATED_OUTPUT_DIR) set(cuda_compile_output_dir "${CUDA_GENERATED_OUTPUT_DIR}") else() if ( compile_to_ptx ) set(cuda_compile_output_dir "${CMAKE_CURRENT_BINARY_DIR}") else() set(cuda_compile_output_dir "${cuda_compile_intermediate_directory}") endif() endif() # Add a custom target to generate a c or ptx file. ###################### get_filename_component( basename ${file} NAME ) if( compile_to_ptx ) set(generated_file_path "${cuda_compile_output_dir}") set(generated_file_basename "${cuda_target}_generated_${basename}.ptx") set(format_flag "-ptx") file(MAKE_DIRECTORY "${cuda_compile_output_dir}") else() set(generated_file_path "${cuda_compile_output_dir}/${CMAKE_CFG_INTDIR}") set(generated_file_basename "${cuda_target}_generated_${basename}${generated_extension}") if(CUDA_SEPARABLE_COMPILATION) set(format_flag "-dc") else() set(format_flag "-c") endif() endif() # Set all of our file names. Make sure that whatever filenames that have # generated_file_path in them get passed in through as a command line # argument, so that the ${CMAKE_CFG_INTDIR} gets expanded at run time # instead of configure time. set(generated_file "${generated_file_path}/${generated_file_basename}") set(cmake_dependency_file "${cuda_compile_intermediate_directory}/${generated_file_basename}.depend") set(NVCC_generated_dependency_file "${cuda_compile_intermediate_directory}/${generated_file_basename}.NVCC-depend") set(generated_cubin_file "${generated_file_path}/${generated_file_basename}.cubin.txt") set(custom_target_script "${cuda_compile_intermediate_directory}/${generated_file_basename}.cmake") # Setup properties for obj files: if( NOT compile_to_ptx ) set_source_files_properties("${generated_file}" PROPERTIES EXTERNAL_OBJECT true # This is an object file not to be compiled, but only be linked. ) endif() # Don't add CMAKE_CURRENT_SOURCE_DIR if the path is already an absolute path. get_filename_component(file_path "${file}" PATH) if(IS_ABSOLUTE "${file_path}") set(source_file "${file}") else() set(source_file "${CMAKE_CURRENT_SOURCE_DIR}/${file}") endif() if( NOT compile_to_ptx AND CUDA_SEPARABLE_COMPILATION) list(APPEND ${cuda_target}_SEPARABLE_COMPILATION_OBJECTS "${generated_file}") endif() # Bring in the dependencies. Creates a variable CUDA_NVCC_DEPEND ####### cuda_include_nvcc_dependencies(${cmake_dependency_file}) # Convience string for output ########################################### if(CUDA_BUILD_EMULATION) set(cuda_build_type "Emulation") else() set(cuda_build_type "Device") endif() # Build the NVCC made dependency file ################################### set(build_cubin OFF) if ( NOT CUDA_BUILD_EMULATION AND CUDA_BUILD_CUBIN ) if ( NOT compile_to_ptx ) set ( build_cubin ON ) endif() endif() # Configure the build script configure_file("${CUDA_run_nvcc}" "${custom_target_script}" @ONLY) # So if a user specifies the same cuda file as input more than once, you # can have bad things happen with dependencies. Here we check an option # to see if this is the behavior they want. if(CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE) set(main_dep MAIN_DEPENDENCY ${source_file}) else() set(main_dep DEPENDS ${source_file}) endif() if(CUDA_VERBOSE_BUILD) set(verbose_output ON) elseif(CMAKE_GENERATOR MATCHES "Makefiles") set(verbose_output "$(VERBOSE)") else() set(verbose_output OFF) endif() # Create up the comment string file(RELATIVE_PATH generated_file_relative_path "${CMAKE_BINARY_DIR}" "${generated_file}") if(compile_to_ptx) set(cuda_build_comment_string "Building NVCC ptx file ${generated_file_relative_path}") else() set(cuda_build_comment_string "Building NVCC (${cuda_build_type}) object ${generated_file_relative_path}") endif() # Build the generated file and dependency file ########################## add_custom_command( OUTPUT ${generated_file} # These output files depend on the source_file and the contents of cmake_dependency_file ${main_dep} DEPENDS ${CUDA_NVCC_DEPEND} DEPENDS ${custom_target_script} # Make sure the output directory exists before trying to write to it. COMMAND ${CMAKE_COMMAND} -E make_directory "${generated_file_path}" COMMAND ${CMAKE_COMMAND} ARGS -D verbose:BOOL=${verbose_output} ${ccbin_flags} -D build_configuration:STRING=${CUDA_build_configuration} -D "generated_file:STRING=${generated_file}" -D "generated_cubin_file:STRING=${generated_cubin_file}" -P "${custom_target_script}" WORKING_DIRECTORY "${cuda_compile_intermediate_directory}" COMMENT "${cuda_build_comment_string}" ) # Make sure the build system knows the file is generated. set_source_files_properties(${generated_file} PROPERTIES GENERATED TRUE) list(APPEND _cuda_wrap_generated_files ${generated_file}) # Add the other files that we want cmake to clean on a cleanup ########## list(APPEND CUDA_ADDITIONAL_CLEAN_FILES "${cmake_dependency_file}") list(REMOVE_DUPLICATES CUDA_ADDITIONAL_CLEAN_FILES) set(CUDA_ADDITIONAL_CLEAN_FILES ${CUDA_ADDITIONAL_CLEAN_FILES} CACHE INTERNAL "List of intermediate files that are part of the cuda dependency scanning.") endif() endforeach() # Set the return parameter set(${generated_files} ${_cuda_wrap_generated_files}) endmacro() function(_cuda_get_important_host_flags important_flags flag_string) if(CMAKE_GENERATOR MATCHES "Visual Studio") string(REGEX MATCHALL "/M[DT][d]?" flags ${flag_string}) list(APPEND ${important_flags} ${flags}) else() string(REGEX MATCHALL "-fPIC" flags ${flag_string}) list(APPEND ${important_flags} ${flags}) endif() set(${important_flags} ${${important_flags}} PARENT_SCOPE) endfunction() ############################################################################### ############################################################################### # Separable Compilation Link ############################################################################### ############################################################################### # Compute the filename to be used by CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS function(CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME output_file_var cuda_target object_files) if (object_files) set(generated_extension ${CMAKE_${CUDA_C_OR_CXX}_OUTPUT_EXTENSION}) set(output_file "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${cuda_target}.dir/${CMAKE_CFG_INTDIR}/${cuda_target}_intermediate_link${generated_extension}") else() set(output_file) endif() set(${output_file_var} "${output_file}" PARENT_SCOPE) endfunction() # Setup the build rule for the separable compilation intermediate link file. function(CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS output_file cuda_target options object_files) if (object_files) set_source_files_properties("${output_file}" PROPERTIES EXTERNAL_OBJECT TRUE # This is an object file not to be compiled, but only # be linked. GENERATED TRUE # This file is generated during the build ) # For now we are ignoring all the configuration specific flags. set(nvcc_flags) CUDA_PARSE_NVCC_OPTIONS(nvcc_flags ${options}) if(CUDA_64_BIT_DEVICE_CODE) list(APPEND nvcc_flags -m64) else() list(APPEND nvcc_flags -m32) endif() # If -ccbin, --compiler-bindir has been specified, don't do anything. Otherwise add it here. list( FIND nvcc_flags "-ccbin" ccbin_found0 ) list( FIND nvcc_flags "--compiler-bindir" ccbin_found1 ) if( ccbin_found0 LESS 0 AND ccbin_found1 LESS 0 ) list(APPEND nvcc_flags -ccbin "\"${CUDA_HOST_COMPILER}\"") endif() set(flags) foreach(config ${CUDA_configuration_types}) string(TOUPPER ${config} config_upper) set(important_host_flags) _cuda_get_important_host_flags(important_host_flags ${CMAKE_${CUDA_C_OR_CXX}_FLAGS_${config_upper}}) foreach(f ${important_host_flags}) list(APPEND flags $<$:-Xcompiler> $<$:${f}>) endforeach() endforeach() file(RELATIVE_PATH output_file_relative_path "${CMAKE_BINARY_DIR}" "${output_file}") # Some generators don't handle the multiple levels of custom command # dependencies correctly (obj1 depends on file1, obj2 depends on obj1), so # we work around that issue by compiling the intermediate link object as a # pre-link custom command in that situation. set(do_obj_build_rule TRUE) if (MSVC_VERSION GREATER 1599) # VS 2010 and 2012 have this problem. If future versions fix this issue, # it should still work, it just won't be as nice as the other method. set(do_obj_build_rule FALSE) endif() if (do_obj_build_rule) add_custom_command( OUTPUT ${output_file} DEPENDS ${object_files} COMMAND ${CUDA_NVCC_EXECUTABLE} ${nvcc_flags} -dlink ${object_files} -o ${output_file} ${flags} COMMENT "Building NVCC intermediate link file ${output_file_relative_path}" ) else() add_custom_command( TARGET ${cuda_target} PRE_LINK COMMAND ${CMAKE_COMMAND} -E echo "Building NVCC intermediate link file ${output_file_relative_path}" COMMAND ${CUDA_NVCC_EXECUTABLE} ${nvcc_flags} ${flags} -dlink ${object_files} -o "${output_file}" ) endif() endif() endfunction() ############################################################################### ############################################################################### # ADD LIBRARY ############################################################################### ############################################################################### macro(CUDA_ADD_LIBRARY cuda_target) CUDA_ADD_CUDA_INCLUDE_ONCE() # Separate the sources from the options CUDA_GET_SOURCES_AND_OPTIONS(_sources _cmake_options _options ${ARGN}) CUDA_BUILD_SHARED_LIBRARY(_cuda_shared_flag ${ARGN}) # Create custom commands and targets for each file. CUDA_WRAP_SRCS( ${cuda_target} OBJ _generated_files ${_sources} ${_cmake_options} ${_cuda_shared_flag} OPTIONS ${_options} ) # Compute the file name of the intermedate link file used for separable # compilation. CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME(link_file ${cuda_target} "${${cuda_target}_SEPARABLE_COMPILATION_OBJECTS}") # Add the library. add_library(${cuda_target} ${_cmake_options} ${_generated_files} ${_sources} ${link_file} ) # Add a link phase for the separable compilation if it has been enabled. If # it has been enabled then the ${cuda_target}_SEPARABLE_COMPILATION_OBJECTS # variable will have been defined. CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS("${link_file}" ${cuda_target} "${_options}" "${${cuda_target}_SEPARABLE_COMPILATION_OBJECTS}") target_link_libraries(${cuda_target} ${CUDA_LIBRARIES} ) # We need to set the linker language based on what the expected generated file # would be. CUDA_C_OR_CXX is computed based on CUDA_HOST_COMPILATION_CPP. set_target_properties(${cuda_target} PROPERTIES LINKER_LANGUAGE ${CUDA_C_OR_CXX} ) endmacro() ############################################################################### ############################################################################### # ADD EXECUTABLE ############################################################################### ############################################################################### macro(CUDA_ADD_EXECUTABLE cuda_target) CUDA_ADD_CUDA_INCLUDE_ONCE() # Separate the sources from the options CUDA_GET_SOURCES_AND_OPTIONS(_sources _cmake_options _options ${ARGN}) # Create custom commands and targets for each file. CUDA_WRAP_SRCS( ${cuda_target} OBJ _generated_files ${_sources} OPTIONS ${_options} ) # Compute the file name of the intermedate link file used for separable # compilation. CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME(link_file ${cuda_target} "${${cuda_target}_SEPARABLE_COMPILATION_OBJECTS}") # Add the library. add_executable(${cuda_target} ${_cmake_options} ${_generated_files} ${_sources} ${link_file} ) # Add a link phase for the separable compilation if it has been enabled. If # it has been enabled then the ${cuda_target}_SEPARABLE_COMPILATION_OBJECTS # variable will have been defined. CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS("${link_file}" ${cuda_target} "${_options}" "${${cuda_target}_SEPARABLE_COMPILATION_OBJECTS}") target_link_libraries(${cuda_target} ${CUDA_LIBRARIES} ) # We need to set the linker language based on what the expected generated file # would be. CUDA_C_OR_CXX is computed based on CUDA_HOST_COMPILATION_CPP. set_target_properties(${cuda_target} PROPERTIES LINKER_LANGUAGE ${CUDA_C_OR_CXX} ) endmacro() ############################################################################### ############################################################################### # CUDA COMPILE ############################################################################### ############################################################################### macro(CUDA_COMPILE generated_files) # Separate the sources from the options CUDA_GET_SOURCES_AND_OPTIONS(_sources _cmake_options _options ${ARGN}) # Create custom commands and targets for each file. CUDA_WRAP_SRCS( cuda_compile OBJ _generated_files ${_sources} ${_cmake_options} OPTIONS ${_options} ) set( ${generated_files} ${_generated_files}) endmacro() ############################################################################### ############################################################################### # CUDA COMPILE PTX ############################################################################### ############################################################################### macro(CUDA_COMPILE_PTX generated_files) # Separate the sources from the options CUDA_GET_SOURCES_AND_OPTIONS(_sources _cmake_options _options ${ARGN}) # Create custom commands and targets for each file. CUDA_WRAP_SRCS( cuda_compile_ptx PTX _generated_files ${_sources} ${_cmake_options} OPTIONS ${_options} ) set( ${generated_files} ${_generated_files}) endmacro() ############################################################################### ############################################################################### # CUDA ADD CUFFT TO TARGET ############################################################################### ############################################################################### macro(CUDA_ADD_CUFFT_TO_TARGET target) if (CUDA_BUILD_EMULATION) target_link_libraries(${target} ${CUDA_cufftemu_LIBRARY}) else() target_link_libraries(${target} ${CUDA_cufft_LIBRARY}) endif() endmacro() ############################################################################### ############################################################################### # CUDA ADD CUBLAS TO TARGET ############################################################################### ############################################################################### macro(CUDA_ADD_CUBLAS_TO_TARGET target) if (CUDA_BUILD_EMULATION) target_link_libraries(${target} ${CUDA_cublasemu_LIBRARY}) else() target_link_libraries(${target} ${CUDA_cublas_LIBRARY}) endif() endmacro() ############################################################################### ############################################################################### # CUDA BUILD CLEAN TARGET ############################################################################### ############################################################################### macro(CUDA_BUILD_CLEAN_TARGET) # Call this after you add all your CUDA targets, and you will get a convience # target. You should also make clean after running this target to get the # build system to generate all the code again. set(cuda_clean_target_name clean_cuda_depends) if (CMAKE_GENERATOR MATCHES "Visual Studio") string(TOUPPER ${cuda_clean_target_name} cuda_clean_target_name) endif() add_custom_target(${cuda_clean_target_name} COMMAND ${CMAKE_COMMAND} -E remove ${CUDA_ADDITIONAL_CLEAN_FILES}) # Clear out the variable, so the next time we configure it will be empty. # This is useful so that the files won't persist in the list after targets # have been removed. set(CUDA_ADDITIONAL_CLEAN_FILES "" CACHE INTERNAL "List of intermediate files that are part of the cuda dependency scanning.") endmacro() cmake-2.8.12.2/Modules/FindCups.cmake000644 000765 000024 00000005643 12266011634 017773 0ustar00kitwarestaff000000 000000 # - Try to find the Cups printing system # Once done this will define # # CUPS_FOUND - system has Cups # CUPS_INCLUDE_DIR - the Cups include directory # CUPS_LIBRARIES - Libraries needed to use Cups # CUPS_VERSION_STRING - version of Cups found (since CMake 2.8.8) # Set CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE to TRUE if you need a version which # features this function (i.e. at least 1.1.19) #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(CUPS_INCLUDE_DIR cups/cups.h ) find_library(CUPS_LIBRARIES NAMES cups ) if (CUPS_INCLUDE_DIR AND CUPS_LIBRARIES AND CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE) include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) # ippDeleteAttribute is new in cups-1.1.19 (and used by kdeprint) CHECK_LIBRARY_EXISTS(cups ippDeleteAttribute "" CUPS_HAS_IPP_DELETE_ATTRIBUTE) endif () if (CUPS_INCLUDE_DIR AND EXISTS "${CUPS_INCLUDE_DIR}/cups/cups.h") file(STRINGS "${CUPS_INCLUDE_DIR}/cups/cups.h" cups_version_str REGEX "^#[\t ]*define[\t ]+CUPS_VERSION_(MAJOR|MINOR|PATCH)[\t ]+[0-9]+$") unset(CUPS_VERSION_STRING) foreach(VPART MAJOR MINOR PATCH) foreach(VLINE ${cups_version_str}) if(VLINE MATCHES "^#[\t ]*define[\t ]+CUPS_VERSION_${VPART}") string(REGEX REPLACE "^#[\t ]*define[\t ]+CUPS_VERSION_${VPART}[\t ]+([0-9]+)$" "\\1" CUPS_VERSION_PART "${VLINE}") if(CUPS_VERSION_STRING) set(CUPS_VERSION_STRING "${CUPS_VERSION_STRING}.${CUPS_VERSION_PART}") else() set(CUPS_VERSION_STRING "${CUPS_VERSION_PART}") endif() endif() endforeach() endforeach() endif () include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) if (CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Cups REQUIRED_VARS CUPS_LIBRARIES CUPS_INCLUDE_DIR CUPS_HAS_IPP_DELETE_ATTRIBUTE VERSION_VAR CUPS_VERSION_STRING) else () FIND_PACKAGE_HANDLE_STANDARD_ARGS(Cups REQUIRED_VARS CUPS_LIBRARIES CUPS_INCLUDE_DIR VERSION_VAR CUPS_VERSION_STRING) endif () mark_as_advanced(CUPS_INCLUDE_DIR CUPS_LIBRARIES) cmake-2.8.12.2/Modules/FindCURL.cmake000644 000765 000024 00000004452 12266011634 017623 0ustar00kitwarestaff000000 000000 # - Find curl # Find the native CURL headers and libraries. # # CURL_INCLUDE_DIRS - where to find curl/curl.h, etc. # CURL_LIBRARIES - List of libraries when using curl. # CURL_FOUND - True if curl found. # CURL_VERSION_STRING - the version of curl found (since CMake 2.8.8) #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Look for the header file. find_path(CURL_INCLUDE_DIR NAMES curl/curl.h) mark_as_advanced(CURL_INCLUDE_DIR) # Look for the library (sorted from most current/relevant entry to least). find_library(CURL_LIBRARY NAMES curl # Windows MSVC prebuilts: curllib libcurl_imp curllib_static # Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip): libcurl ) mark_as_advanced(CURL_LIBRARY) if(CURL_INCLUDE_DIR) foreach(_curl_version_header curlver.h curl.h) if(EXISTS "${CURL_INCLUDE_DIR}/curl/${_curl_version_header}") file(STRINGS "${CURL_INCLUDE_DIR}/curl/${_curl_version_header}" curl_version_str REGEX "^#define[\t ]+LIBCURL_VERSION[\t ]+\".*\"") string(REGEX REPLACE "^#define[\t ]+LIBCURL_VERSION[\t ]+\"([^\"]*)\".*" "\\1" CURL_VERSION_STRING "${curl_version_str}") unset(curl_version_str) break() endif() endforeach() endif() # handle the QUIETLY and REQUIRED arguments and set CURL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(CURL REQUIRED_VARS CURL_LIBRARY CURL_INCLUDE_DIR VERSION_VAR CURL_VERSION_STRING) if(CURL_FOUND) set(CURL_LIBRARIES ${CURL_LIBRARY}) set(CURL_INCLUDE_DIRS ${CURL_INCLUDE_DIR}) endif() cmake-2.8.12.2/Modules/FindCurses.cmake000644 000765 000024 00000015105 12266011634 020317 0ustar00kitwarestaff000000 000000 # - Find the curses include file and library # # CURSES_FOUND - system has Curses # CURSES_INCLUDE_DIR - the Curses include directory # CURSES_LIBRARIES - The libraries needed to use Curses # CURSES_HAVE_CURSES_H - true if curses.h is available # CURSES_HAVE_NCURSES_H - true if ncurses.h is available # CURSES_HAVE_NCURSES_NCURSES_H - true if ncurses/ncurses.h is available # CURSES_HAVE_NCURSES_CURSES_H - true if ncurses/curses.h is available # CURSES_LIBRARY - set for backwards compatibility with 2.4 CMake # # Set CURSES_NEED_NCURSES to TRUE before the find_package() command if NCurses # functionality is required. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_library(CURSES_CURSES_LIBRARY NAMES curses ) find_library(CURSES_NCURSES_LIBRARY NAMES ncurses ) set(CURSES_USE_NCURSES FALSE) if(CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_LIBRARY) set(CURSES_USE_NCURSES TRUE) endif() # http://cygwin.com/ml/cygwin-announce/2010-01/msg00002.html # cygwin ncurses stopped providing curses.h symlinks see above # message. Cygwin is an ncurses package, so force ncurses on # cygwin if the curses.h is missing if(CYGWIN) if(NOT EXISTS /usr/include/curses.h) set(CURSES_USE_NCURSES TRUE) endif() endif() # Not sure the logic is correct here. # If NCurses is required, use the function wsyncup() to check if the library # has NCurses functionality (at least this is where it breaks on NetBSD). # If wsyncup is in curses, use this one. # If not, try to find ncurses and check if this has the symbol. # Once the ncurses library is found, search the ncurses.h header first, but # some web pages also say that even with ncurses there is not always a ncurses.h: # http://osdir.com/ml/gnome.apps.mc.devel/2002-06/msg00029.html # So at first try ncurses.h, if not found, try to find curses.h under the same # prefix as the library was found, if still not found, try curses.h with the # default search paths. if(CURSES_CURSES_LIBRARY AND CURSES_NEED_NCURSES) include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) CHECK_LIBRARY_EXISTS("${CURSES_CURSES_LIBRARY}" wsyncup "" CURSES_CURSES_HAS_WSYNCUP) if(CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_HAS_WSYNCUP) CHECK_LIBRARY_EXISTS("${CURSES_NCURSES_LIBRARY}" wsyncup "" CURSES_NCURSES_HAS_WSYNCUP) if( CURSES_NCURSES_HAS_WSYNCUP) set(CURSES_USE_NCURSES TRUE) endif() endif() endif() if(NOT CURSES_USE_NCURSES) find_file(CURSES_HAVE_CURSES_H curses.h ) find_path(CURSES_CURSES_H_PATH curses.h ) get_filename_component(_cursesLibDir "${CURSES_CURSES_LIBRARY}" PATH) get_filename_component(_cursesParentDir "${_cursesLibDir}" PATH) # for compatibility with older FindCurses.cmake this has to be in the cache # FORCE must not be used since this would break builds which preload a cache wqith these variables set set(CURSES_INCLUDE_PATH "${CURSES_CURSES_H_PATH}" CACHE FILEPATH "The curses include path") set(CURSES_LIBRARY "${CURSES_CURSES_LIBRARY}" CACHE FILEPATH "The curses library") else() # we need to find ncurses get_filename_component(_cursesLibDir "${CURSES_NCURSES_LIBRARY}" PATH) get_filename_component(_cursesParentDir "${_cursesLibDir}" PATH) find_file(CURSES_HAVE_NCURSES_H ncurses.h) find_file(CURSES_HAVE_NCURSES_NCURSES_H ncurses/ncurses.h) find_file(CURSES_HAVE_NCURSES_CURSES_H ncurses/curses.h) find_file(CURSES_HAVE_CURSES_H curses.h HINTS "${_cursesParentDir}/include") find_path(CURSES_NCURSES_INCLUDE_PATH ncurses.h ncurses/ncurses.h ncurses/curses.h) find_path(CURSES_NCURSES_INCLUDE_PATH curses.h HINTS "${_cursesParentDir}/include") # for compatibility with older FindCurses.cmake this has to be in the cache # FORCE must not be used since this would break builds which preload # however if the value of the variable has NOTFOUND in it, then # it is OK to force, and we need to force in order to have it work. # a cache wqith these variables set # only put ncurses include and library into # variables if they are found if(NOT CURSES_NCURSES_INCLUDE_PATH AND CURSES_HAVE_NCURSES_NCURSES_H) get_filename_component(CURSES_NCURSES_INCLUDE_PATH "${CURSES_HAVE_NCURSES_NCURSES_H}" PATH) endif() if(CURSES_NCURSES_INCLUDE_PATH AND CURSES_NCURSES_LIBRARY) set( FORCE_IT ) if(CURSES_INCLUDE_PATH MATCHES NOTFOUND) set(FORCE_IT FORCE) endif() set(CURSES_INCLUDE_PATH "${CURSES_NCURSES_INCLUDE_PATH}" CACHE FILEPATH "The curses include path" ${FORCE_IT}) set( FORCE_IT) if(CURSES_LIBRARY MATCHES NOTFOUND) set(FORCE_IT FORCE) endif() set(CURSES_LIBRARY "${CURSES_NCURSES_LIBRARY}" CACHE FILEPATH "The curses library" ${FORCE_IT}) endif() endif() find_library(CURSES_EXTRA_LIBRARY cur_colr HINTS "${_cursesLibDir}") find_library(CURSES_EXTRA_LIBRARY cur_colr ) find_library(CURSES_FORM_LIBRARY form HINTS "${_cursesLibDir}") find_library(CURSES_FORM_LIBRARY form ) # for compatibility with older FindCurses.cmake this has to be in the cache # FORCE must not be used since this would break builds which preload a cache # qith these variables set set(FORM_LIBRARY "${CURSES_FORM_LIBRARY}" CACHE FILEPATH "The curses form library") # Need to provide the *_LIBRARIES set(CURSES_LIBRARIES ${CURSES_LIBRARY}) if(CURSES_EXTRA_LIBRARY) set(CURSES_LIBRARIES ${CURSES_LIBRARIES} ${CURSES_EXTRA_LIBRARY}) endif() if(CURSES_FORM_LIBRARY) set(CURSES_LIBRARIES ${CURSES_LIBRARIES} ${CURSES_FORM_LIBRARY}) endif() # Proper name is *_INCLUDE_DIR set(CURSES_INCLUDE_DIR ${CURSES_INCLUDE_PATH}) # handle the QUIETLY and REQUIRED arguments and set CURSES_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Curses DEFAULT_MSG CURSES_LIBRARY CURSES_INCLUDE_PATH) mark_as_advanced( CURSES_INCLUDE_PATH CURSES_LIBRARY CURSES_CURSES_INCLUDE_PATH CURSES_CURSES_LIBRARY CURSES_NCURSES_INCLUDE_PATH CURSES_NCURSES_LIBRARY CURSES_EXTRA_LIBRARY FORM_LIBRARY CURSES_LIBRARIES CURSES_INCLUDE_DIR CURSES_CURSES_HAS_WSYNCUP CURSES_NCURSES_HAS_WSYNCUP ) cmake-2.8.12.2/Modules/FindCVS.cmake000644 000765 000024 00000004275 12266011634 017514 0ustar00kitwarestaff000000 000000 # The module defines the following variables: # CVS_EXECUTABLE - path to cvs command line client # CVS_FOUND - true if the command line client was found # Example usage: # find_package(CVS) # if(CVS_FOUND) # message("CVS found: ${CVS_EXECUTABLE}") # endif() #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # CVSNT get_filename_component( CVSNT_TypeLib_Win32 "[HKEY_CLASSES_ROOT\\TypeLib\\{2BDF7A65-0BFE-4B1A-9205-9AB900C7D0DA}\\1.0\\0\\win32]" PATH) get_filename_component( CVSNT_Services_EventMessagePath "[HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\Services\\Eventlog\\Application\\cvsnt;EventMessageFile]" PATH) # WinCVS (in case CVSNT was installed in the same directory) get_filename_component( WinCVS_Folder_Command "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Folder\\shell\\wincvs\\command]" PATH) # TortoiseCVS (in case CVSNT was installed in the same directory) get_filename_component( TortoiseCVS_Folder_Command "[HKEY_CLASSES_ROOT\\CVS\\shell\\open\\command]" PATH) get_filename_component( TortoiseCVS_DefaultIcon "[HKEY_CLASSES_ROOT\\CVS\\DefaultIcon]" PATH) find_program(CVS_EXECUTABLE cvs ${TortoiseCVS_DefaultIcon} ${TortoiseCVS_Folder_Command} ${WinCVS_Folder_Command} ${CVSNT_Services_EventMessagePath} ${CVSNT_TypeLib_Win32} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\CVS\\Pserver;InstallPath]" DOC "CVS command line client" ) mark_as_advanced(CVS_EXECUTABLE) # Handle the QUIETLY and REQUIRED arguments and set CVS_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(CVS DEFAULT_MSG CVS_EXECUTABLE) cmake-2.8.12.2/Modules/FindCxxTest.cmake000644 000765 000024 00000017161 12266011634 020461 0ustar00kitwarestaff000000 000000 # - Find CxxTest # Find the CxxTest suite and declare a helper macro for creating unit tests # and integrating them with CTest. # For more details on CxxTest see http://cxxtest.tigris.org # # INPUT Variables # # CXXTEST_USE_PYTHON [deprecated since 1.3] # Only used in the case both Python & Perl # are detected on the system to control # which CxxTest code generator is used. # Valid only for CxxTest version 3. # # NOTE: In older versions of this Find Module, # this variable controlled if the Python test # generator was used instead of the Perl one, # regardless of which scripting language the # user had installed. # # CXXTEST_TESTGEN_ARGS (since CMake 2.8.3) # Specify a list of options to pass to the CxxTest code # generator. If not defined, --error-printer is # passed. # # OUTPUT Variables # # CXXTEST_FOUND # True if the CxxTest framework was found # CXXTEST_INCLUDE_DIRS # Where to find the CxxTest include directory # CXXTEST_PERL_TESTGEN_EXECUTABLE # The perl-based test generator # CXXTEST_PYTHON_TESTGEN_EXECUTABLE # The python-based test generator # CXXTEST_TESTGEN_EXECUTABLE (since CMake 2.8.3) # The test generator that is actually used (chosen using user preferences # and interpreters found in the system) # CXXTEST_TESTGEN_INTERPRETER (since CMake 2.8.3) # The full path to the Perl or Python executable on the system # # MACROS for optional use by CMake users: # # CXXTEST_ADD_TEST( ) # Creates a CxxTest runner and adds it to the CTest testing suite # Parameters: # test_name The name of the test # gen_source_file The generated source filename to be # generated by CxxTest # input_files_to_testgen The list of header files containing the # CxxTest::TestSuite's to be included in # this runner # # #============== # Example Usage: # # find_package(CxxTest) # if(CXXTEST_FOUND) # include_directories(${CXXTEST_INCLUDE_DIR}) # enable_testing() # # CXXTEST_ADD_TEST(unittest_foo foo_test.cc # ${CMAKE_CURRENT_SOURCE_DIR}/foo_test.h) # target_link_libraries(unittest_foo foo) # as needed # endif() # # This will (if CxxTest is found): # 1. Invoke the testgen executable to autogenerate foo_test.cc in the # binary tree from "foo_test.h" in the current source directory. # 2. Create an executable and test called unittest_foo. # # #============= # Example foo_test.h: # # #include # # class MyTestSuite : public CxxTest::TestSuite # { # public: # void testAddition( void ) # { # TS_ASSERT( 1 + 1 > 1 ); # TS_ASSERT_EQUALS( 1 + 1, 2 ); # } # }; # #============================================================================= # Copyright 2008-2010 Kitware, Inc. # Copyright 2008-2010 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Version 1.4 (11/18/10) (CMake 2.8.4) # Issue 11384: Added support to the CXX_ADD_TEST macro so header # files (containing the tests themselves) show up in # Visual Studio and other IDEs. # # Version 1.3 (8/19/10) (CMake 2.8.3) # Included patch by Simone Rossetto to check if either Python or Perl # are present in the system. Whichever intepreter that is detected # is now used to run the test generator program. If both interpreters # are detected, the CXXTEST_USE_PYTHON variable is obeyed. # # Also added support for CXXTEST_TESTGEN_ARGS, for manually specifying # options to the CxxTest code generator. # Version 1.2 (3/2/08) # Included patch from Tyler Roscoe to have the perl & python binaries # detected based on CXXTEST_INCLUDE_DIR # Version 1.1 (2/9/08) # Clarified example to illustrate need to call target_link_libraries() # Changed commands to lowercase # Added licensing info # Version 1.0 (1/8/08) # Fixed CXXTEST_INCLUDE_DIRS so it will work properly # Eliminated superfluous CXXTEST_FOUND assignment # Cleaned up and added more documentation #============================================================= # CXXTEST_ADD_TEST (public macro) #============================================================= macro(CXXTEST_ADD_TEST _cxxtest_testname _cxxtest_outfname) set(_cxxtest_real_outfname ${CMAKE_CURRENT_BINARY_DIR}/${_cxxtest_outfname}) add_custom_command( OUTPUT ${_cxxtest_real_outfname} DEPENDS ${ARGN} COMMAND ${CXXTEST_TESTGEN_INTERPRETER} ${CXXTEST_TESTGEN_EXECUTABLE} ${CXXTEST_TESTGEN_ARGS} -o ${_cxxtest_real_outfname} ${ARGN} ) set_source_files_properties(${_cxxtest_real_outfname} PROPERTIES GENERATED true) add_executable(${_cxxtest_testname} ${_cxxtest_real_outfname} ${ARGN}) if(CMAKE_RUNTIME_OUTPUT_DIRECTORY) add_test(${_cxxtest_testname} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_cxxtest_testname}) elseif(EXECUTABLE_OUTPUT_PATH) add_test(${_cxxtest_testname} ${EXECUTABLE_OUTPUT_PATH}/${_cxxtest_testname}) else() add_test(${_cxxtest_testname} ${CMAKE_CURRENT_BINARY_DIR}/${_cxxtest_testname}) endif() endmacro() #============================================================= # main() #============================================================= if(NOT DEFINED CXXTEST_TESTGEN_ARGS) set(CXXTEST_TESTGEN_ARGS --error-printer) endif() find_package(PythonInterp QUIET) find_package(Perl QUIET) find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h) find_program(CXXTEST_PYTHON_TESTGEN_EXECUTABLE NAMES cxxtestgen cxxtestgen.py PATHS ${CXXTEST_INCLUDE_DIR}) find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl PATHS ${CXXTEST_INCLUDE_DIR}) if(PYTHONINTERP_FOUND OR PERL_FOUND) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) if(PYTHONINTERP_FOUND AND (CXXTEST_USE_PYTHON OR NOT PERL_FOUND OR NOT DEFINED CXXTEST_USE_PYTHON)) set(CXXTEST_TESTGEN_EXECUTABLE ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE}) set(CXXTEST_TESTGEN_INTERPRETER ${PYTHON_EXECUTABLE}) FIND_PACKAGE_HANDLE_STANDARD_ARGS(CxxTest DEFAULT_MSG CXXTEST_INCLUDE_DIR CXXTEST_PYTHON_TESTGEN_EXECUTABLE) elseif(PERL_FOUND) set(CXXTEST_TESTGEN_EXECUTABLE ${CXXTEST_PERL_TESTGEN_EXECUTABLE}) set(CXXTEST_TESTGEN_INTERPRETER ${PERL_EXECUTABLE}) FIND_PACKAGE_HANDLE_STANDARD_ARGS(CxxTest DEFAULT_MSG CXXTEST_INCLUDE_DIR CXXTEST_PERL_TESTGEN_EXECUTABLE) endif() if(CXXTEST_FOUND) set(CXXTEST_INCLUDE_DIRS ${CXXTEST_INCLUDE_DIR}) endif() else() set(CXXTEST_FOUND false) if(NOT CxxTest_FIND_QUIETLY) if(CxxTest_FIND_REQUIRED) message(FATAL_ERROR "Neither Python nor Perl found, cannot use CxxTest, aborting!") else() message(STATUS "Neither Python nor Perl found, CxxTest will not be used.") endif() endif() endif() cmake-2.8.12.2/Modules/FindCygwin.cmake000644 000765 000024 00000001634 12266011634 020315 0ustar00kitwarestaff000000 000000 # - this module looks for Cygwin # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (WIN32) find_path(CYGWIN_INSTALL_PATH cygwin.bat "C:/Cygwin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]" ) mark_as_advanced( CYGWIN_INSTALL_PATH ) endif () cmake-2.8.12.2/Modules/FindDart.cmake000644 000765 000024 00000002513 12266011634 017744 0ustar00kitwarestaff000000 000000 # - Find DART # This module looks for the dart testing software and sets DART_ROOT # to point to where it found it. # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(DART_ROOT README.INSTALL HINTS ENV DART_ROOT PATHS ${PROJECT_SOURCE_DIR} /usr/share C:/ "C:/Program Files" ${PROJECT_SOURCE_DIR}/.. [HKEY_LOCAL_MACHINE\\SOFTWARE\\Dart\\InstallPath] ENV ProgramFiles PATH_SUFFIXES Dart DOC "If you have Dart installed, where is it located?" ) # handle the QUIETLY and REQUIRED arguments and set DART_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Dart DEFAULT_MSG DART_ROOT) mark_as_advanced(DART_ROOT) cmake-2.8.12.2/Modules/FindDCMTK.cmake000644 000765 000024 00000010136 12266011634 017714 0ustar00kitwarestaff000000 000000 # - find DCMTK libraries and applications # # DCMTK_INCLUDE_DIRS - Directories to include to use DCMTK # DCMTK_LIBRARIES - Files to link against to use DCMTK # DCMTK_FOUND - If false, don't try to use DCMTK # DCMTK_DIR - (optional) Source directory for DCMTK # # DCMTK_DIR can be used to make it simpler to find the various include # directories and compiled libraries if you've just compiled it in the # source tree. Just set it to the root of the tree where you extracted # the source (default to /usr/include/dcmtk/) #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2009-2010 Mathieu Malaterre # Copyright 2010 Thomas Sondergaard # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # Written for VXL by Amitha Perera. # Upgraded for GDCM by Mathieu Malaterre. # Modified for EasyViz by Thomas Sondergaard. # if(NOT DCMTK_FOUND AND NOT DCMTK_DIR) set(DCMTK_DIR "/usr/include/dcmtk/" CACHE PATH "Root of DCMTK source tree (optional).") mark_as_advanced(DCMTK_DIR) endif() foreach(lib dcmdata dcmimage dcmimgle dcmjpeg dcmnet dcmpstat dcmqrdb dcmsign dcmsr dcmtls ijg12 ijg16 ijg8 ofstd) find_library(DCMTK_${lib}_LIBRARY ${lib} PATHS ${DCMTK_DIR}/${lib}/libsrc ${DCMTK_DIR}/${lib}/libsrc/Release ${DCMTK_DIR}/${lib}/libsrc/Debug ${DCMTK_DIR}/${lib}/Release ${DCMTK_DIR}/${lib}/Debug ${DCMTK_DIR}/lib) mark_as_advanced(DCMTK_${lib}_LIBRARY) if(DCMTK_${lib}_LIBRARY) list(APPEND DCMTK_LIBRARIES ${DCMTK_${lib}_LIBRARY}) endif() endforeach() set(DCMTK_config_TEST_HEADER osconfig.h) set(DCMTK_dcmdata_TEST_HEADER dctypes.h) set(DCMTK_dcmimage_TEST_HEADER dicoimg.h) set(DCMTK_dcmimgle_TEST_HEADER dcmimage.h) set(DCMTK_dcmjpeg_TEST_HEADER djdecode.h) set(DCMTK_dcmnet_TEST_HEADER assoc.h) set(DCMTK_dcmpstat_TEST_HEADER dcmpstat.h) set(DCMTK_dcmqrdb_TEST_HEADER dcmqrdba.h) set(DCMTK_dcmsign_TEST_HEADER sicert.h) set(DCMTK_dcmsr_TEST_HEADER dsrtree.h) set(DCMTK_dcmtls_TEST_HEADER tlslayer.h) set(DCMTK_ofstd_TEST_HEADER ofstdinc.h) foreach(dir config dcmdata dcmimage dcmimgle dcmjpeg dcmnet dcmpstat dcmqrdb dcmsign dcmsr dcmtls ofstd) find_path(DCMTK_${dir}_INCLUDE_DIR ${DCMTK_${dir}_TEST_HEADER} PATHS ${DCMTK_DIR}/${dir}/include ${DCMTK_DIR}/${dir} ${DCMTK_DIR}/include/${dir} ${DCMTK_DIR}/include/dcmtk/${dir} ${DCMTK_DIR}/${dir}/include/dcmtk/${dir} ) mark_as_advanced(DCMTK_${dir}_INCLUDE_DIR) if(DCMTK_${dir}_INCLUDE_DIR) list(APPEND DCMTK_INCLUDE_DIRS ${DCMTK_${dir}_INCLUDE_DIR}) endif() endforeach() if(WIN32) list(APPEND DCMTK_LIBRARIES netapi32 wsock32) endif() if(DCMTK_ofstd_INCLUDE_DIR) get_filename_component(DCMTK_dcmtk_INCLUDE_DIR ${DCMTK_ofstd_INCLUDE_DIR} PATH CACHE) list(APPEND DCMTK_INCLUDE_DIRS ${DCMTK_dcmtk_INCLUDE_DIR}) mark_as_advanced(DCMTK_dcmtk_INCLUDE_DIR) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(DCMTK DEFAULT_MSG DCMTK_config_INCLUDE_DIR DCMTK_ofstd_INCLUDE_DIR DCMTK_ofstd_LIBRARY DCMTK_dcmdata_INCLUDE_DIR DCMTK_dcmdata_LIBRARY DCMTK_dcmimgle_INCLUDE_DIR DCMTK_dcmimgle_LIBRARY) # Compatibility: This variable is deprecated set(DCMTK_INCLUDE_DIR ${DCMTK_INCLUDE_DIRS}) foreach(executable dcmdump dcmdjpeg dcmdrle) string(TOUPPER ${executable} EXECUTABLE) find_program(DCMTK_${EXECUTABLE}_EXECUTABLE ${executable} ${DCMTK_DIR}/bin) mark_as_advanced(DCMTK_${EXECUTABLE}_EXECUTABLE) endforeach() cmake-2.8.12.2/Modules/FindDevIL.cmake000644 000765 000024 00000005506 12266011634 020022 0ustar00kitwarestaff000000 000000 # This module locates the developer's image library. # http://openil.sourceforge.net/ # # This module sets: # IL_LIBRARIES - the name of the IL library. These include the full path to # the core DevIL library. This one has to be linked into the # application. # ILU_LIBRARIES - the name of the ILU library. Again, the full path. This # library is for filters and effects, not actual loading. It # doesn't have to be linked if the functionality it provides # is not used. # ILUT_LIBRARIES - the name of the ILUT library. Full path. This part of the # library interfaces with OpenGL. It is not strictly needed # in applications. # IL_INCLUDE_DIR - where to find the il.h, ilu.h and ilut.h files. # IL_FOUND - this is set to TRUE if all the above variables were set. # This will be set to false if ILU or ILUT are not found, # even if they are not needed. In most systems, if one # library is found all the others are as well. That's the # way the DevIL developers release it. #============================================================================= # Copyright 2008-2009 Kitware, Inc. # Copyright 2008 Christopher Harvey # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # TODO: Add version support. # Tested under Linux and Windows (MSVC) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_path(IL_INCLUDE_DIR il.h PATH_SUFFIXES include IL DOC "The path the the directory that contains il.h" ) #message("IL_INCLUDE_DIR is ${IL_INCLUDE_DIR}") find_library(IL_LIBRARIES NAMES IL DEVIL PATH_SUFFIXES lib64 lib lib32 DOC "The file that corresponds to the base il library." ) #message("IL_LIBRARIES is ${IL_LIBRARIES}") find_library(ILUT_LIBRARIES NAMES ILUT PATH_SUFFIXES lib64 lib lib32 DOC "The file that corresponds to the il (system?) utility library." ) #message("ILUT_LIBRARIES is ${ILUT_LIBRARIES}") find_library(ILU_LIBRARIES NAMES ILU PATH_SUFFIXES lib64 lib lib32 DOC "The file that corresponds to the il utility library." ) #message("ILU_LIBRARIES is ${ILU_LIBRARIES}") FIND_PACKAGE_HANDLE_STANDARD_ARGS(IL DEFAULT_MSG IL_LIBRARIES ILU_LIBRARIES ILUT_LIBRARIES IL_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindDoxygen.cmake000644 000765 000024 00000012062 12266011634 020467 0ustar00kitwarestaff000000 000000 # - This module looks for Doxygen and the path to Graphviz's dot # Doxygen is a documentation generation tool. Please see # http://www.doxygen.org # # This module accepts the following optional variables: # # DOXYGEN_SKIP_DOT = If true this module will skip trying to find Dot # (an optional component often used by Doxygen) # # This modules defines the following variables: # # DOXYGEN_EXECUTABLE = The path to the doxygen command. # DOXYGEN_FOUND = Was Doxygen found or not? # DOXYGEN_VERSION = The version reported by doxygen --version # # DOXYGEN_DOT_EXECUTABLE = The path to the dot program used by doxygen. # DOXYGEN_DOT_FOUND = Was Dot found or not? # DOXYGEN_DOT_PATH = The path to dot not including the executable # # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # For backwards compatibility support if(Doxygen_FIND_QUIETLY) set(DOXYGEN_FIND_QUIETLY TRUE) endif() # ===== Rationale for OS X AppBundle mods below ===== # With the OS X GUI version, Doxygen likes to be installed to /Applications and # it contains the doxygen executable in the bundle. In the versions I've # seen, it is located in Resources, but in general, more often binaries are # located in MacOS. # # NOTE: The official Doxygen.app that is distributed for OS X uses non-standard # conventions. Instead of the command-line "doxygen" tool being placed in # Doxygen.app/Contents/MacOS, "Doxywizard" is placed there instead and # "doxygen" is placed in Contents/Resources. This is most likely done # so that something happens when people double-click on the Doxygen.app # package. Unfortunately, CMake gets confused by this as when it sees the # bundle it uses "Doxywizard" as the executable to use instead of # "doxygen". Therefore to work-around this issue we temporarily disable # the app-bundle feature, just for this CMake module: if(APPLE) # Save the old setting set(TEMP_DOXYGEN_SAVE_CMAKE_FIND_APPBUNDLE ${CMAKE_FIND_APPBUNDLE}) # Disable the App-bundle detection feature set(CMAKE_FIND_APPBUNDLE "NEVER") endif() # FYI: # In the older versions of OS X Doxygen, dot was included with the # Doxygen bundle. But the new versions require you to download # Graphviz.app which contains "dot" in it's bundle. # ============== End OSX stuff ================ # # Find Doxygen... # find_program(DOXYGEN_EXECUTABLE NAMES doxygen PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\doxygen_is1;Inno Setup: App Path]/bin" /Applications/Doxygen.app/Contents/Resources /Applications/Doxygen.app/Contents/MacOS DOC "Doxygen documentation generation tool (http://www.doxygen.org)" ) if(DOXYGEN_EXECUTABLE) execute_process(COMMAND ${DOXYGEN_EXECUTABLE} "--version" OUTPUT_VARIABLE DOXYGEN_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Doxygen REQUIRED_VARS DOXYGEN_EXECUTABLE VERSION_VAR DOXYGEN_VERSION) # # Find Dot... # if(NOT DOXYGEN_SKIP_DOT) find_program(DOXYGEN_DOT_EXECUTABLE NAMES dot PATHS "$ENV{ProgramFiles}/Graphviz 2.21/bin" "C:/Program Files/Graphviz 2.21/bin" "$ENV{ProgramFiles}/ATT/Graphviz/bin" "C:/Program Files/ATT/Graphviz/bin" [HKEY_LOCAL_MACHINE\\SOFTWARE\\ATT\\Graphviz;InstallPath]/bin /Applications/Graphviz.app/Contents/MacOS /Applications/Doxygen.app/Contents/Resources /Applications/Doxygen.app/Contents/MacOS DOC "Graphviz Dot tool for using Doxygen" ) if(DOXYGEN_DOT_EXECUTABLE) set(DOXYGEN_DOT_FOUND TRUE) # The Doxyfile wants the path to Dot, not the entire path and executable get_filename_component(DOXYGEN_DOT_PATH "${DOXYGEN_DOT_EXECUTABLE}" PATH CACHE) endif() endif() # # Backwards compatibility... # if(APPLE) # Restore the old app-bundle setting setting set(CMAKE_FIND_APPBUNDLE ${TEMP_DOXYGEN_SAVE_CMAKE_FIND_APPBUNDLE}) endif() # Maintain the _FOUND variables as "YES" or "NO" for backwards compatibility # (allows people to stuff them directly into Doxyfile with configure_file()) if(DOXYGEN_FOUND) set(DOXYGEN_FOUND "YES") else() set(DOXYGEN_FOUND "NO") endif() if(DOXYGEN_DOT_FOUND) set(DOXYGEN_DOT_FOUND "YES") else() set(DOXYGEN_DOT_FOUND "NO") endif() # For backwards compatibility support set (DOXYGEN ${DOXYGEN_EXECUTABLE} ) set (DOT ${DOXYGEN_DOT_EXECUTABLE} ) mark_as_advanced( DOXYGEN_EXECUTABLE DOXYGEN_DOT_EXECUTABLE DOXYGEN_DOT_PATH ) cmake-2.8.12.2/Modules/FindEXPAT.cmake000644 000765 000024 00000004571 12266011634 017741 0ustar00kitwarestaff000000 000000 # - Find expat # Find the native EXPAT headers and libraries. # # EXPAT_INCLUDE_DIRS - where to find expat.h, etc. # EXPAT_LIBRARIES - List of libraries when using expat. # EXPAT_FOUND - True if expat found. #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Look for the header file. find_path(EXPAT_INCLUDE_DIR NAMES expat.h) # Look for the library. find_library(EXPAT_LIBRARY NAMES expat libexpat) if (EXPAT_INCLUDE_DIR AND EXISTS "${EXPAT_INCLUDE_DIR}/expat.h") file(STRINGS "${EXPAT_INCLUDE_DIR}/expat.h" expat_version_str REGEX "^#[\t ]*define[\t ]+XML_(MAJOR|MINOR|MICRO)_VERSION[\t ]+[0-9]+$") unset(EXPAT_VERSION_STRING) foreach(VPART MAJOR MINOR MICRO) foreach(VLINE ${expat_version_str}) if(VLINE MATCHES "^#[\t ]*define[\t ]+XML_${VPART}_VERSION") string(REGEX REPLACE "^#[\t ]*define[\t ]+XML_${VPART}_VERSION[\t ]+([0-9]+)$" "\\1" EXPAT_VERSION_PART "${VLINE}") if(EXPAT_VERSION_STRING) set(EXPAT_VERSION_STRING "${EXPAT_VERSION_STRING}.${EXPAT_VERSION_PART}") else() set(EXPAT_VERSION_STRING "${EXPAT_VERSION_PART}") endif() endif() endforeach() endforeach() endif () # handle the QUIETLY and REQUIRED arguments and set EXPAT_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT REQUIRED_VARS EXPAT_LIBRARY EXPAT_INCLUDE_DIR VERSION_VAR EXPAT_VERSION_STRING) # Copy the results to the output variables. if(EXPAT_FOUND) set(EXPAT_LIBRARIES ${EXPAT_LIBRARY}) set(EXPAT_INCLUDE_DIRS ${EXPAT_INCLUDE_DIR}) endif() mark_as_advanced(EXPAT_INCLUDE_DIR EXPAT_LIBRARY) cmake-2.8.12.2/Modules/FindFLEX.cmake000644 000765 000024 00000014427 12266011634 017617 0ustar00kitwarestaff000000 000000 # - Find flex executable and provides a macro to generate custom build rules # # The module defines the following variables: # FLEX_FOUND - true is flex executable is found # FLEX_EXECUTABLE - the path to the flex executable # FLEX_VERSION - the version of flex # FLEX_LIBRARIES - The flex libraries # FLEX_INCLUDE_DIRS - The path to the flex headers # # The minimum required version of flex can be specified using the # standard syntax, e.g. find_package(FLEX 2.5.13) # # # If flex is found on the system, the module provides the macro: # FLEX_TARGET(Name FlexInput FlexOutput [COMPILE_FLAGS ]) # which creates a custom command to generate the file from # the file. If COMPILE_FLAGS option is specified, the next # parameter is added to the flex command line. Name is an alias used to # get details of this custom command. Indeed the macro defines the # following variables: # FLEX_${Name}_DEFINED - true is the macro ran successfully # FLEX_${Name}_OUTPUTS - the source file generated by the custom rule, an # alias for FlexOutput # FLEX_${Name}_INPUT - the flex source file, an alias for ${FlexInput} # # Flex scanners oftenly use tokens defined by Bison: the code generated # by Flex depends of the header generated by Bison. This module also # defines a macro: # ADD_FLEX_BISON_DEPENDENCY(FlexTarget BisonTarget) # which adds the required dependency between a scanner and a parser # where and are the first parameters of # respectively FLEX_TARGET and BISON_TARGET macros. # # ==================================================================== # Example: # # find_package(BISON) # find_package(FLEX) # # BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp) # FLEX_TARGET(MyScanner lexer.l ${CMAKE_CURRENT_BINARY_DIR}/lexer.cpp) # ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser) # # include_directories(${CMAKE_CURRENT_BINARY_DIR}) # add_executable(Foo # Foo.cc # ${BISON_MyParser_OUTPUTS} # ${FLEX_MyScanner_OUTPUTS} # ) # ==================================================================== #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2006 Tristan Carel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(FLEX_EXECUTABLE NAMES flex win_flex DOC "path to the flex executable") mark_as_advanced(FLEX_EXECUTABLE) find_library(FL_LIBRARY NAMES fl DOC "Path to the fl library") find_path(FLEX_INCLUDE_DIR FlexLexer.h DOC "Path to the flex headers") mark_as_advanced(FL_LIBRARY FLEX_INCLUDE_DIR) set(FLEX_INCLUDE_DIRS ${FLEX_INCLUDE_DIR}) set(FLEX_LIBRARIES ${FL_LIBRARY}) if(FLEX_EXECUTABLE) execute_process(COMMAND ${FLEX_EXECUTABLE} --version OUTPUT_VARIABLE FLEX_version_output ERROR_VARIABLE FLEX_version_error RESULT_VARIABLE FLEX_version_result OUTPUT_STRIP_TRAILING_WHITESPACE) if(NOT ${FLEX_version_result} EQUAL 0) if(FLEX_FIND_REQUIRED) message(SEND_ERROR "Command \"${FLEX_EXECUTABLE} --version\" failed with output:\n${FLEX_version_output}\n${FLEX_version_error}") else() message("Command \"${FLEX_EXECUTABLE} --version\" failed with output:\n${FLEX_version_output}\n${FLEX_version_error}\nFLEX_VERSION will not be available") endif() else() # older versions of flex printed "/full/path/to/executable version X.Y" # newer versions use "basename(executable) X.Y" get_filename_component(FLEX_EXE_NAME_WE "${FLEX_EXECUTABLE}" NAME_WE) get_filename_component(FLEX_EXE_EXT "${FLEX_EXECUTABLE}" EXT) string(REGEX REPLACE "^.*${FLEX_EXE_NAME_WE}(${FLEX_EXE_EXT})?\"? (version )?([0-9]+[^ ]*)( .*)?$" "\\3" FLEX_VERSION "${FLEX_version_output}") unset(FLEX_EXE_EXT) unset(FLEX_EXE_NAME_WE) endif() #============================================================ # FLEX_TARGET (public macro) #============================================================ # macro(FLEX_TARGET Name Input Output) set(FLEX_TARGET_usage "FLEX_TARGET( [COMPILE_FLAGS ]") if(${ARGC} GREATER 3) if(${ARGC} EQUAL 5) if("${ARGV3}" STREQUAL "COMPILE_FLAGS") set(FLEX_EXECUTABLE_opts "${ARGV4}") separate_arguments(FLEX_EXECUTABLE_opts) else() message(SEND_ERROR ${FLEX_TARGET_usage}) endif() else() message(SEND_ERROR ${FLEX_TARGET_usage}) endif() endif() add_custom_command(OUTPUT ${Output} COMMAND ${FLEX_EXECUTABLE} ARGS ${FLEX_EXECUTABLE_opts} -o${Output} ${Input} DEPENDS ${Input} COMMENT "[FLEX][${Name}] Building scanner with flex ${FLEX_VERSION}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) set(FLEX_${Name}_DEFINED TRUE) set(FLEX_${Name}_OUTPUTS ${Output}) set(FLEX_${Name}_INPUT ${Input}) set(FLEX_${Name}_COMPILE_FLAGS ${FLEX_EXECUTABLE_opts}) endmacro() #============================================================ #============================================================ # ADD_FLEX_BISON_DEPENDENCY (public macro) #============================================================ # macro(ADD_FLEX_BISON_DEPENDENCY FlexTarget BisonTarget) if(NOT FLEX_${FlexTarget}_OUTPUTS) message(SEND_ERROR "Flex target `${FlexTarget}' does not exists.") endif() if(NOT BISON_${BisonTarget}_OUTPUT_HEADER) message(SEND_ERROR "Bison target `${BisonTarget}' does not exists.") endif() set_source_files_properties(${FLEX_${FlexTarget}_OUTPUTS} PROPERTIES OBJECT_DEPENDS ${BISON_${BisonTarget}_OUTPUT_HEADER}) endmacro() #============================================================ endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(FLEX REQUIRED_VARS FLEX_EXECUTABLE VERSION_VAR FLEX_VERSION) # FindFLEX.cmake ends here cmake-2.8.12.2/Modules/FindFLTK.cmake000644 000765 000024 00000026146 12266011634 017622 0ustar00kitwarestaff000000 000000 # - Find the native FLTK includes and library # # By default FindFLTK.cmake will search for all of the FLTK components and # add them to the FLTK_LIBRARIES variable. # # You can limit the components which get placed in FLTK_LIBRARIES by # defining one or more of the following three options: # # FLTK_SKIP_OPENGL, set to true to disable searching for opengl and # the FLTK GL library # FLTK_SKIP_FORMS, set to true to disable searching for fltk_forms # FLTK_SKIP_IMAGES, set to true to disable searching for fltk_images # # FLTK_SKIP_FLUID, set to true if the fluid binary need not be present # at build time # # The following variables will be defined: # FLTK_FOUND, True if all components not skipped were found # FLTK_INCLUDE_DIR, where to find include files # FLTK_LIBRARIES, list of fltk libraries you should link against # FLTK_FLUID_EXECUTABLE, where to find the Fluid tool # FLTK_WRAP_UI, This enables the FLTK_WRAP_UI command # # The following cache variables are assigned but should not be used. # See the FLTK_LIBRARIES variable instead. # # FLTK_BASE_LIBRARY = the full path to fltk.lib # FLTK_GL_LIBRARY = the full path to fltk_gl.lib # FLTK_FORMS_LIBRARY = the full path to fltk_forms.lib # FLTK_IMAGES_LIBRARY = the full path to fltk_images.lib #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT FLTK_SKIP_OPENGL) find_package(OpenGL) endif() # Platform dependent libraries required by FLTK if(WIN32) if(NOT CYGWIN) if(BORLAND) set( FLTK_PLATFORM_DEPENDENT_LIBS import32 ) else() set( FLTK_PLATFORM_DEPENDENT_LIBS wsock32 comctl32 ) endif() endif() endif() if(UNIX) include(${CMAKE_CURRENT_LIST_DIR}/FindX11.cmake) find_library(FLTK_MATH_LIBRARY m) set( FLTK_PLATFORM_DEPENDENT_LIBS ${X11_LIBRARIES} ${FLTK_MATH_LIBRARY}) endif() if(APPLE) set( FLTK_PLATFORM_DEPENDENT_LIBS "-framework Carbon -framework Cocoa -framework ApplicationServices -lz") endif() # If FLTK_INCLUDE_DIR is already defined we assigne its value to FLTK_DIR if(FLTK_INCLUDE_DIR) set(FLTK_DIR ${FLTK_INCLUDE_DIR}) endif() # If FLTK has been built using CMake we try to find everything directly set(FLTK_DIR_STRING "directory containing FLTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/fltk for an installation.") # Search only if the location is not already known. if(NOT FLTK_DIR) # Get the system search path as a list. file(TO_CMAKE_PATH "$ENV{PATH}" FLTK_DIR_SEARCH2) # Construct a set of paths relative to the system search path. set(FLTK_DIR_SEARCH "") foreach(dir ${FLTK_DIR_SEARCH2}) set(FLTK_DIR_SEARCH ${FLTK_DIR_SEARCH} "${dir}/../lib/fltk") endforeach() string(REPLACE "//" "/" FLTK_DIR_SEARCH "${FLTK_DIR_SEARCH}") # # Look for an installation or build tree. # find_path(FLTK_DIR FLTKConfig.cmake # Look for an environment variable FLTK_DIR. HINTS ENV FLTK_DIR # Look in places relative to the system executable search path. ${FLTK_DIR_SEARCH} PATHS # Look in standard UNIX install locations. /usr/local/lib/fltk /usr/lib/fltk /usr/local/fltk /usr/X11R6/include # Read from the CMakeSetup registry entries. It is likely that # FLTK will have been recently built. # TODO: Is this really a good idea? I can already hear the user screaming, "But # it worked when I configured the build LAST week!" [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild1] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild2] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild3] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild4] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild5] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild6] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild7] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild8] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild9] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild10] # Help the user find it if we cannot. DOC "The ${FLTK_DIR_STRING}" ) endif() # Check if FLTK was built using CMake if(EXISTS ${FLTK_DIR}/FLTKConfig.cmake) set(FLTK_BUILT_WITH_CMAKE 1) endif() if(FLTK_BUILT_WITH_CMAKE) set(FLTK_FOUND 1) include(${FLTK_DIR}/FLTKConfig.cmake) # Fluid if(FLUID_COMMAND) set(FLTK_FLUID_EXECUTABLE ${FLUID_COMMAND} CACHE FILEPATH "Fluid executable") else() find_program(FLTK_FLUID_EXECUTABLE fluid PATHS ${FLTK_EXECUTABLE_DIRS} ${FLTK_EXECUTABLE_DIRS}/RelWithDebInfo ${FLTK_EXECUTABLE_DIRS}/Debug ${FLTK_EXECUTABLE_DIRS}/Release NO_SYSTEM_PATH) endif() # mark_as_advanced(FLTK_FLUID_EXECUTABLE) set(FLTK_INCLUDE_DIR ${FLTK_DIR}) link_directories(${FLTK_LIBRARY_DIRS}) set(FLTK_BASE_LIBRARY fltk) set(FLTK_GL_LIBRARY fltk_gl) set(FLTK_FORMS_LIBRARY fltk_forms) set(FLTK_IMAGES_LIBRARY fltk_images) # Add the extra libraries load_cache(${FLTK_DIR} READ_WITH_PREFIX FL FLTK_USE_SYSTEM_JPEG FL FLTK_USE_SYSTEM_PNG FL FLTK_USE_SYSTEM_ZLIB ) set(FLTK_IMAGES_LIBS "") if(FLFLTK_USE_SYSTEM_JPEG) set(FLTK_IMAGES_LIBS ${FLTK_IMAGES_LIBS} fltk_jpeg) endif() if(FLFLTK_USE_SYSTEM_PNG) set(FLTK_IMAGES_LIBS ${FLTK_IMAGES_LIBS} fltk_png) endif() if(FLFLTK_USE_SYSTEM_ZLIB) set(FLTK_IMAGES_LIBS ${FLTK_IMAGES_LIBS} fltk_zlib) endif() set(FLTK_IMAGES_LIBS "${FLTK_IMAGES_LIBS}" CACHE INTERNAL "Extra libraries for fltk_images library.") else() # if FLTK was not built using CMake # Find fluid executable. find_program(FLTK_FLUID_EXECUTABLE fluid ${FLTK_INCLUDE_DIR}/fluid) # Use location of fluid to help find everything else. set(FLTK_INCLUDE_SEARCH_PATH "") set(FLTK_LIBRARY_SEARCH_PATH "") if(FLTK_FLUID_EXECUTABLE) get_filename_component(FLTK_BIN_DIR "${FLTK_FLUID_EXECUTABLE}" PATH) set(FLTK_INCLUDE_SEARCH_PATH ${FLTK_INCLUDE_SEARCH_PATH} ${FLTK_BIN_DIR}/../include ${FLTK_BIN_DIR}/..) set(FLTK_LIBRARY_SEARCH_PATH ${FLTK_LIBRARY_SEARCH_PATH} ${FLTK_BIN_DIR}/../lib) set(FLTK_WRAP_UI 1) endif() # # Try to find FLTK include dir using fltk-config # if(UNIX) # Use fltk-config to generate a list of possible include directories find_program(FLTK_CONFIG_SCRIPT fltk-config PATHS ${FLTK_BIN_DIR}) if(FLTK_CONFIG_SCRIPT) if(NOT FLTK_INCLUDE_DIR) exec_program(${FLTK_CONFIG_SCRIPT} ARGS --cxxflags OUTPUT_VARIABLE FLTK_CXXFLAGS) if(FLTK_CXXFLAGS) string(REGEX MATCHALL "-I[^ ]*" _fltk_temp_dirs ${FLTK_CXXFLAGS}) string(REPLACE "-I" "" _fltk_temp_dirs "${_fltk_temp_dirs}") foreach(_dir ${_fltk_temp_dirs}) string(STRIP ${_dir} _output) list(APPEND _FLTK_POSSIBLE_INCLUDE_DIRS ${_output}) endforeach() endif() endif() endif() endif() set(FLTK_INCLUDE_SEARCH_PATH ${FLTK_INCLUDE_SEARCH_PATH} /usr/local/fltk /usr/X11R6/include ${_FLTK_POSSIBLE_INCLUDE_DIRS} ) find_path(FLTK_INCLUDE_DIR NAMES FL/Fl.h FL/Fl.H # fltk 1.1.9 has Fl.H (#8376) PATHS ${FLTK_INCLUDE_SEARCH_PATH}) # # Try to find FLTK library if(UNIX) if(FLTK_CONFIG_SCRIPT) exec_program(${FLTK_CONFIG_SCRIPT} ARGS --libs OUTPUT_VARIABLE _FLTK_POSSIBLE_LIBS) if(_FLTK_POSSIBLE_LIBS) get_filename_component(_FLTK_POSSIBLE_LIBRARY_DIR ${_FLTK_POSSIBLE_LIBS} PATH) endif() endif() endif() set(FLTK_LIBRARY_SEARCH_PATH ${FLTK_LIBRARY_SEARCH_PATH} /usr/local/fltk/lib /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib ${_FLTK_POSSIBLE_LIBRARY_DIR} ) find_library(FLTK_BASE_LIBRARY NAMES fltk fltkd PATHS ${FLTK_LIBRARY_SEARCH_PATH}) find_library(FLTK_GL_LIBRARY NAMES fltkgl fltkgld fltk_gl PATHS ${FLTK_LIBRARY_SEARCH_PATH}) find_library(FLTK_FORMS_LIBRARY NAMES fltkforms fltkformsd fltk_forms PATHS ${FLTK_LIBRARY_SEARCH_PATH}) find_library(FLTK_IMAGES_LIBRARY NAMES fltkimages fltkimagesd fltk_images PATHS ${FLTK_LIBRARY_SEARCH_PATH}) # Find the extra libraries needed for the fltk_images library. if(UNIX) if(FLTK_CONFIG_SCRIPT) exec_program(${FLTK_CONFIG_SCRIPT} ARGS --use-images --ldflags OUTPUT_VARIABLE FLTK_IMAGES_LDFLAGS) set(FLTK_LIBS_EXTRACT_REGEX ".*-lfltk_images (.*) -lfltk.*") if("${FLTK_IMAGES_LDFLAGS}" MATCHES "${FLTK_LIBS_EXTRACT_REGEX}") string(REGEX REPLACE "${FLTK_LIBS_EXTRACT_REGEX}" "\\1" FLTK_IMAGES_LIBS "${FLTK_IMAGES_LDFLAGS}") string(REGEX REPLACE " +" ";" FLTK_IMAGES_LIBS "${FLTK_IMAGES_LIBS}") # The EXEC_PROGRAM will not be inherited into subdirectories from # the file that originally included this module. Save the answer. set(FLTK_IMAGES_LIBS "${FLTK_IMAGES_LIBS}" CACHE INTERNAL "Extra libraries for fltk_images library.") endif() endif() endif() endif() # Append all of the required libraries together (by default, everything) set(FLTK_LIBRARIES) if(NOT FLTK_SKIP_IMAGES) list(APPEND FLTK_LIBRARIES ${FLTK_IMAGES_LIBRARY}) endif() if(NOT FLTK_SKIP_FORMS) list(APPEND FLTK_LIBRARIES ${FLTK_FORMS_LIBRARY}) endif() if(NOT FLTK_SKIP_OPENGL) list(APPEND FLTK_LIBRARIES ${FLTK_GL_LIBRARY} ${OPENGL_gl_LIBRARY}) list(APPEND FLTK_INCLUDE_DIR ${OPENGL_INCLUDE_DIR}) list(REMOVE_DUPLICATES FLTK_INCLUDE_DIR) endif() list(APPEND FLTK_LIBRARIES ${FLTK_BASE_LIBRARY}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) if(FLTK_SKIP_FLUID) FIND_PACKAGE_HANDLE_STANDARD_ARGS(FLTK DEFAULT_MSG FLTK_LIBRARIES FLTK_INCLUDE_DIR) else() FIND_PACKAGE_HANDLE_STANDARD_ARGS(FLTK DEFAULT_MSG FLTK_LIBRARIES FLTK_INCLUDE_DIR FLTK_FLUID_EXECUTABLE) endif() if(FLTK_FOUND) if(APPLE) set(FLTK_LIBRARIES ${FLTK_PLATFORM_DEPENDENT_LIBS} ${FLTK_LIBRARIES}) else() set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${FLTK_PLATFORM_DEPENDENT_LIBS}) endif() # The following deprecated settings are for compatibility with CMake 1.4 set (HAS_FLTK ${FLTK_FOUND}) set (FLTK_INCLUDE_PATH ${FLTK_INCLUDE_DIR}) set (FLTK_FLUID_EXE ${FLTK_FLUID_EXECUTABLE}) set (FLTK_LIBRARY ${FLTK_LIBRARIES}) endif() cmake-2.8.12.2/Modules/FindFLTK2.cmake000644 000765 000024 00000022006 12266011634 017673 0ustar00kitwarestaff000000 000000 # - Find the native FLTK2 includes and library # The following settings are defined # FLTK2_FLUID_EXECUTABLE, where to find the Fluid tool # FLTK2_WRAP_UI, This enables the FLTK2_WRAP_UI command # FLTK2_INCLUDE_DIR, where to find include files # FLTK2_LIBRARIES, list of fltk2 libraries # FLTK2_FOUND, Don't use FLTK2 if false. # The following settings should not be used in general. # FLTK2_BASE_LIBRARY = the full path to fltk2.lib # FLTK2_GL_LIBRARY = the full path to fltk2_gl.lib # FLTK2_IMAGES_LIBRARY = the full path to fltk2_images.lib #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set (FLTK2_DIR $ENV{FLTK2_DIR} ) # Platform dependent libraries required by FLTK2 if(WIN32) if(NOT CYGWIN) if(BORLAND) set( FLTK2_PLATFORM_DEPENDENT_LIBS import32 ) else() set( FLTK2_PLATFORM_DEPENDENT_LIBS wsock32 comctl32 ) endif() endif() endif() if(UNIX) include(${CMAKE_ROOT}/Modules/FindX11.cmake) set( FLTK2_PLATFORM_DEPENDENT_LIBS ${X11_LIBRARIES} -lm) endif() if(APPLE) set( FLTK2_PLATFORM_DEPENDENT_LIBS "-framework Carbon -framework Cocoa -framework ApplicationServices -lz") endif() # If FLTK2_INCLUDE_DIR is already defined we assign its value to FLTK2_DIR if(FLTK2_INCLUDE_DIR) set(FLTK2_DIR ${FLTK2_INCLUDE_DIR}) else() set(FLTK2_INCLUDE_DIR ${FLTK2_DIR}) endif() # If FLTK2 has been built using CMake we try to find everything directly set(FLTK2_DIR_STRING "directory containing FLTK2Config.cmake. This is either the root of the build tree, or PREFIX/lib/fltk for an installation.") # Search only if the location is not already known. if(NOT FLTK2_DIR) # Get the system search path as a list. file(TO_CMAKE_PATH "$ENV{PATH}" FLTK2_DIR_SEARCH2) # Construct a set of paths relative to the system search path. set(FLTK2_DIR_SEARCH "") foreach(dir ${FLTK2_DIR_SEARCH2}) set(FLTK2_DIR_SEARCH ${FLTK2_DIR_SEARCH} "${dir}/../lib/fltk") endforeach() string(REPLACE "//" "/" FLTK2_DIR_SEARCH "${FLTK2_DIR_SEARCH}") # # Look for an installation or build tree. # find_path(FLTK2_DIR FLTK2Config.cmake # Look for an environment variable FLTK2_DIR. ENV FLTK2_DIR # Look in places relative to the system executable search path. ${FLTK2_DIR_SEARCH} # Look in standard UNIX install locations. /usr/local/lib/fltk2 /usr/lib/fltk2 /usr/local/fltk2 /usr/X11R6/include # Read from the CMakeSetup registry entries. It is likely that # FLTK2 will have been recently built. [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild1] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild2] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild3] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild4] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild5] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild6] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild7] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild8] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild9] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild10] # Help the user find it if we cannot. DOC "The ${FLTK2_DIR_STRING}" ) if(NOT FLTK2_DIR) find_path(FLTK2_DIR fltk/run.h ${FLTK2_INCLUDE_SEARCH_PATH}) endif() endif() # If FLTK2 was found, load the configuration file to get the rest of the # settings. if(FLTK2_DIR) # Check if FLTK2 was built using CMake if(EXISTS ${FLTK2_DIR}/FLTK2Config.cmake) set(FLTK2_BUILT_WITH_CMAKE 1) endif() if(FLTK2_BUILT_WITH_CMAKE) set(FLTK2_FOUND 1) include(${FLTK2_DIR}/FLTK2Config.cmake) # Fluid if(FLUID_COMMAND) set(FLTK2_FLUID_EXECUTABLE ${FLUID_COMMAND} CACHE FILEPATH "Fluid executable") else() find_program(FLTK2_FLUID_EXECUTABLE fluid2 PATHS ${FLTK2_EXECUTABLE_DIRS} ${FLTK2_EXECUTABLE_DIRS}/RelWithDebInfo ${FLTK2_EXECUTABLE_DIRS}/Debug ${FLTK2_EXECUTABLE_DIRS}/Release NO_SYSTEM_PATH) endif() mark_as_advanced(FLTK2_FLUID_EXECUTABLE) set( FLTK_FLUID_EXECUTABLE ${FLTK2_FLUID_EXECUTABLE} ) set(FLTK2_INCLUDE_DIR ${FLTK2_DIR}) link_directories(${FLTK2_LIBRARY_DIRS}) set(FLTK2_BASE_LIBRARY fltk2) set(FLTK2_GL_LIBRARY fltk2_gl) set(FLTK2_IMAGES_LIBRARY fltk2_images) # Add the extra libraries load_cache(${FLTK2_DIR} READ_WITH_PREFIX FL FLTK2_USE_SYSTEM_JPEG FL FLTK2_USE_SYSTEM_PNG FL FLTK2_USE_SYSTEM_ZLIB ) set(FLTK2_IMAGES_LIBS "") if(FLFLTK2_USE_SYSTEM_JPEG) set(FLTK2_IMAGES_LIBS ${FLTK2_IMAGES_LIBS} fltk2_jpeg) endif() if(FLFLTK2_USE_SYSTEM_PNG) set(FLTK2_IMAGES_LIBS ${FLTK2_IMAGES_LIBS} fltk2_png) endif() if(FLFLTK2_USE_SYSTEM_ZLIB) set(FLTK2_IMAGES_LIBS ${FLTK2_IMAGES_LIBS} fltk2_zlib) endif() set(FLTK2_IMAGES_LIBS "${FLTK2_IMAGES_LIBS}" CACHE INTERNAL "Extra libraries for fltk2_images library.") else() # if FLTK2 was not built using CMake # Find fluid executable. find_program(FLTK2_FLUID_EXECUTABLE fluid2 ${FLTK2_INCLUDE_DIR}/fluid) # Use location of fluid to help find everything else. set(FLTK2_INCLUDE_SEARCH_PATH "") set(FLTK2_LIBRARY_SEARCH_PATH "") if(FLTK2_FLUID_EXECUTABLE) set( FLTK_FLUID_EXECUTABLE ${FLTK2_FLUID_EXECUTABLE} ) get_filename_component(FLTK2_BIN_DIR "${FLTK2_FLUID_EXECUTABLE}" PATH) set(FLTK2_INCLUDE_SEARCH_PATH ${FLTK2_INCLUDE_SEARCH_PATH} ${FLTK2_BIN_DIR}/../include ${FLTK2_BIN_DIR}/..) set(FLTK2_LIBRARY_SEARCH_PATH ${FLTK2_LIBRARY_SEARCH_PATH} ${FLTK2_BIN_DIR}/../lib) set(FLTK2_WRAP_UI 1) endif() set(FLTK2_INCLUDE_SEARCH_PATH ${FLTK2_INCLUDE_SEARCH_PATH} /usr/local/fltk2 /usr/X11R6/include ) find_path(FLTK2_INCLUDE_DIR fltk/run.h ${FLTK2_INCLUDE_SEARCH_PATH}) set(FLTK2_LIBRARY_SEARCH_PATH ${FLTK2_LIBRARY_SEARCH_PATH} /usr/local/fltk2/lib /usr/X11R6/lib ${FLTK2_INCLUDE_DIR}/lib ) find_library(FLTK2_BASE_LIBRARY NAMES fltk2 PATHS ${FLTK2_LIBRARY_SEARCH_PATH}) find_library(FLTK2_GL_LIBRARY NAMES fltk2_gl PATHS ${FLTK2_LIBRARY_SEARCH_PATH}) find_library(FLTK2_IMAGES_LIBRARY NAMES fltk2_images PATHS ${FLTK2_LIBRARY_SEARCH_PATH}) # Find the extra libraries needed for the fltk_images library. if(UNIX) find_program(FLTK2_CONFIG_SCRIPT fltk2-config PATHS ${FLTK2_BIN_DIR}) if(FLTK2_CONFIG_SCRIPT) exec_program(${FLTK2_CONFIG_SCRIPT} ARGS --use-images --ldflags OUTPUT_VARIABLE FLTK2_IMAGES_LDFLAGS) set(FLTK2_LIBS_EXTRACT_REGEX ".*-lfltk2_images (.*) -lfltk2.*") if("${FLTK2_IMAGES_LDFLAGS}" MATCHES "${FLTK2_LIBS_EXTRACT_REGEX}") string(REGEX REPLACE "${FLTK2_LIBS_EXTRACT_REGEX}" "\\1" FLTK2_IMAGES_LIBS "${FLTK2_IMAGES_LDFLAGS}") string(REGEX REPLACE " +" ";" FLTK2_IMAGES_LIBS "${FLTK2_IMAGES_LIBS}") # The EXEC_PROGRAM will not be inherited into subdirectories from # the file that originally included this module. Save the answer. set(FLTK2_IMAGES_LIBS "${FLTK2_IMAGES_LIBS}" CACHE INTERNAL "Extra libraries for fltk_images library.") endif() endif() endif() endif() endif() set(FLTK2_FOUND 1) foreach(var FLTK2_FLUID_EXECUTABLE FLTK2_INCLUDE_DIR FLTK2_BASE_LIBRARY FLTK2_GL_LIBRARY FLTK2_IMAGES_LIBRARY) if(NOT ${var}) message( STATUS "${var} not found" ) set(FLTK2_FOUND 0) endif() endforeach() if(FLTK2_FOUND) set(FLTK2_LIBRARIES ${FLTK2_IMAGES_LIBRARY} ${FLTK2_IMAGES_LIBS} ${FLTK2_BASE_LIBRARY} ${FLTK2_GL_LIBRARY} ) if(APPLE) set(FLTK2_LIBRARIES ${FLTK2_PLATFORM_DEPENDENT_LIBS} ${FLTK2_LIBRARIES}) else() set(FLTK2_LIBRARIES ${FLTK2_LIBRARIES} ${FLTK2_PLATFORM_DEPENDENT_LIBS}) endif() # The following deprecated settings are for compatibility with CMake 1.4 set (HAS_FLTK2 ${FLTK2_FOUND}) set (FLTK2_INCLUDE_PATH ${FLTK2_INCLUDE_DIR}) set (FLTK2_FLUID_EXE ${FLTK2_FLUID_EXECUTABLE}) set (FLTK2_LIBRARY ${FLTK2_LIBRARIES}) else() # make FIND_PACKAGE friendly if(NOT FLTK2_FIND_QUIETLY) if(FLTK2_FIND_REQUIRED) message(FATAL_ERROR "FLTK2 required, please specify its location with FLTK2_DIR.") else() message(STATUS "FLTK2 was not found.") endif() endif() endif() cmake-2.8.12.2/Modules/FindFreetype.cmake000644 000765 000024 00000011205 12266011634 020633 0ustar00kitwarestaff000000 000000 # - Locate FreeType library # This module defines # FREETYPE_LIBRARIES, the library to link against # FREETYPE_FOUND, if false, do not try to link to FREETYPE # FREETYPE_INCLUDE_DIRS, where to find headers. # FREETYPE_VERSION_STRING, the version of freetype found (since CMake 2.8.8) # This is the concatenation of the paths: # FREETYPE_INCLUDE_DIR_ft2build # FREETYPE_INCLUDE_DIR_freetype2 # # $FREETYPE_DIR is an environment variable that would # correspond to the ./configure --prefix=$FREETYPE_DIR # used in building FREETYPE. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Created by Eric Wing. # Modifications by Alexander Neundorf. # This file has been renamed to "FindFreetype.cmake" instead of the correct # "FindFreeType.cmake" in order to be compatible with the one from KDE4, Alex. # Ugh, FreeType seems to use some #include trickery which # makes this harder than it should be. It looks like they # put ft2build.h in a common/easier-to-find location which # then contains a #include to a more specific header in a # more specific location (#include ). # Then from there, they need to set a bunch of #define's # so you can do something like: # #include FT_FREETYPE_H # Unfortunately, using CMake's mechanisms like include_directories() # wants explicit full paths and this trickery doesn't work too well. # I'm going to attempt to cut out the middleman and hope # everything still works. find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h HINTS ENV FREETYPE_DIR PATHS /usr/X11R6 /usr/local/X11R6 /usr/local/X11 /usr/freeware ENV GTKMM_BASEPATH [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] PATH_SUFFIXES include/freetype2 include ) find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h HINTS ENV FREETYPE_DIR PATHS /usr/X11R6 /usr/local/X11R6 /usr/local/X11 /usr/freeware ENV GTKMM_BASEPATH [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] PATH_SUFFIXES include/freetype2 include ) find_library(FREETYPE_LIBRARY NAMES freetype libfreetype freetype219 HINTS ENV FREETYPE_DIR PATH_SUFFIXES lib PATHS /usr/X11R6 /usr/local/X11R6 /usr/local/X11 /usr/freeware ENV GTKMM_BASEPATH [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] ) # set the user variables if(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2) set(FREETYPE_INCLUDE_DIRS "${FREETYPE_INCLUDE_DIR_ft2build};${FREETYPE_INCLUDE_DIR_freetype2}") endif() set(FREETYPE_LIBRARIES "${FREETYPE_LIBRARY}") if(FREETYPE_INCLUDE_DIR_freetype2 AND EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h") file(STRINGS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h" freetype_version_str REGEX "^#[\t ]*define[\t ]+FREETYPE_(MAJOR|MINOR|PATCH)[\t ]+[0-9]+$") unset(FREETYPE_VERSION_STRING) foreach(VPART MAJOR MINOR PATCH) foreach(VLINE ${freetype_version_str}) if(VLINE MATCHES "^#[\t ]*define[\t ]+FREETYPE_${VPART}") string(REGEX REPLACE "^#[\t ]*define[\t ]+FREETYPE_${VPART}[\t ]+([0-9]+)$" "\\1" FREETYPE_VERSION_PART "${VLINE}") if(FREETYPE_VERSION_STRING) set(FREETYPE_VERSION_STRING "${FREETYPE_VERSION_STRING}.${FREETYPE_VERSION_PART}") else() set(FREETYPE_VERSION_STRING "${FREETYPE_VERSION_PART}") endif() unset(FREETYPE_VERSION_PART) endif() endforeach() endforeach() endif() # handle the QUIETLY and REQUIRED arguments and set FREETYPE_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Freetype REQUIRED_VARS FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS VERSION_VAR FREETYPE_VERSION_STRING) mark_as_advanced(FREETYPE_LIBRARY FREETYPE_INCLUDE_DIR_freetype2 FREETYPE_INCLUDE_DIR_ft2build) cmake-2.8.12.2/Modules/FindGCCXML.cmake000644 000765 000024 00000001700 12266011634 020024 0ustar00kitwarestaff000000 000000 # - Find the GCC-XML front-end executable. # # This module will define the following variables: # GCCXML - the GCC-XML front-end executable. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(GCCXML NAMES gccxml ../GCC_XML/gccxml PATHS [HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc] "$ENV{ProgramFiles}/GCC_XML" "C:/Program Files/GCC_XML" ) mark_as_advanced(GCCXML) cmake-2.8.12.2/Modules/FindGDAL.cmake000644 000765 000024 00000006413 12266011634 017564 0ustar00kitwarestaff000000 000000 # Locate gdal # # This module accepts the following environment variables: # # GDAL_DIR or GDAL_ROOT - Specify the location of GDAL # # This module defines the following CMake variables: # # GDAL_FOUND - True if libgdal is found # GDAL_LIBRARY - A variable pointing to the GDAL library # GDAL_INCLUDE_DIR - Where to find the headers #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # $GDALDIR is an environment variable that would # correspond to the ./configure --prefix=$GDAL_DIR # used in building gdal. # # Created by Eric Wing. I'm not a gdal user, but OpenSceneGraph uses it # for osgTerrain so I whipped this module together for completeness. # I actually don't know the conventions or where files are typically # placed in distros. # Any real gdal users are encouraged to correct this (but please don't # break the OS X framework stuff when doing so which is what usually seems # to happen). # This makes the presumption that you are include gdal.h like # #include "gdal.h" find_path(GDAL_INCLUDE_DIR gdal.h HINTS ENV GDAL_DIR ENV GDAL_ROOT PATH_SUFFIXES include/gdal include/GDAL include PATHS ~/Library/Frameworks/gdal.framework/Headers /Library/Frameworks/gdal.framework/Headers /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt ) if(UNIX) # Use gdal-config to obtain the library version (this should hopefully # allow us to -lgdal1.x.y where x.y are correct version) # For some reason, libgdal development packages do not contain # libgdal.so... find_program(GDAL_CONFIG gdal-config HINTS ENV GDAL_DIR ENV GDAL_ROOT PATH_SUFFIXES bin PATHS /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt ) if(GDAL_CONFIG) exec_program(${GDAL_CONFIG} ARGS --libs OUTPUT_VARIABLE GDAL_CONFIG_LIBS) if(GDAL_CONFIG_LIBS) string(REGEX MATCHALL "-l[^ ]+" _gdal_dashl ${GDAL_CONFIG_LIBS}) string(REGEX REPLACE "-l" "" _gdal_lib "${_gdal_dashl}") string(REGEX MATCHALL "-L[^ ]+" _gdal_dashL ${GDAL_CONFIG_LIBS}) string(REGEX REPLACE "-L" "" _gdal_libpath "${_gdal_dashL}") endif() endif() endif() find_library(GDAL_LIBRARY NAMES ${_gdal_lib} gdal gdal_i gdal1.5.0 gdal1.4.0 gdal1.3.2 GDAL HINTS ENV GDAL_DIR ENV GDAL_ROOT ${_gdal_libpath} PATH_SUFFIXES lib PATHS /sw /opt/local /opt/csw /opt /usr/freeware ) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GDAL DEFAULT_MSG GDAL_LIBRARY GDAL_INCLUDE_DIR) set(GDAL_LIBRARIES ${GDAL_LIBRARY}) set(GDAL_INCLUDE_DIRS ${GDAL_INCLUDE_DIR}) cmake-2.8.12.2/Modules/FindGettext.cmake000644 000765 000024 00000020145 12266011634 020477 0ustar00kitwarestaff000000 000000 # - Find GNU gettext tools # This module looks for the GNU gettext tools. This module defines the # following values: # GETTEXT_MSGMERGE_EXECUTABLE: the full path to the msgmerge tool. # GETTEXT_MSGFMT_EXECUTABLE: the full path to the msgfmt tool. # GETTEXT_FOUND: True if gettext has been found. # GETTEXT_VERSION_STRING: the version of gettext found (since CMake 2.8.8) # # Additionally it provides the following macros: # GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN ) # This will create a target "translations" which will convert the # given input po files into the binary output mo file. If the # ALL option is used, the translations will also be created when # building the default target. # GETTEXT_PROCESS_POT( [ALL] [INSTALL_DESTINATION ] LANGUAGES ... ) # Process the given pot file to mo files. # If INSTALL_DESTINATION is given then automatically install rules will be created, # the language subdirectory will be taken into account (by default use share/locale/). # If ALL is specified, the pot file is processed when building the all traget. # It creates a custom target "potfile". # GETTEXT_PROCESS_PO_FILES( [ALL] [INSTALL_DESTINATION ] PO_FILES ... ) # Process the given po files to mo files for the given language. # If INSTALL_DESTINATION is given then automatically install rules will be created, # the language subdirectory will be taken into account (by default use share/locale/). # If ALL is specified, the po files are processed when building the all traget. # It creates a custom target "pofiles". #============================================================================= # Copyright 2007-2009 Kitware, Inc. # Copyright 2007 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(GETTEXT_MSGMERGE_EXECUTABLE msgmerge) find_program(GETTEXT_MSGFMT_EXECUTABLE msgfmt) if(GETTEXT_MSGMERGE_EXECUTABLE) execute_process(COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --version OUTPUT_VARIABLE gettext_version ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) if (gettext_version MATCHES "^msgmerge \\(.*\\) [0-9]") string(REGEX REPLACE "^msgmerge \\([^\\)]*\\) ([0-9\\.]+[^ \n]*).*" "\\1" GETTEXT_VERSION_STRING "${gettext_version}") endif() unset(gettext_version) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gettext REQUIRED_VARS GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE VERSION_VAR GETTEXT_VERSION_STRING) include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake) function(_GETTEXT_GET_UNIQUE_TARGET_NAME _name _unique_name) set(propertyName "_GETTEXT_UNIQUE_COUNTER_${_name}") get_property(currentCounter GLOBAL PROPERTY "${propertyName}") if(NOT currentCounter) set(currentCounter 1) endif() set(${_unique_name} "${_name}_${currentCounter}" PARENT_SCOPE) math(EXPR currentCounter "${currentCounter} + 1") set_property(GLOBAL PROPERTY ${propertyName} ${currentCounter} ) endfunction() macro(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg) # make it a real variable, so we can modify it here set(_firstPoFile "${_firstPoFileArg}") set(_gmoFiles) get_filename_component(_potName ${_potFile} NAME) string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _potBasename ${_potName}) get_filename_component(_absPotFile ${_potFile} ABSOLUTE) set(_addToAll) if(${_firstPoFile} STREQUAL "ALL") set(_addToAll "ALL") set(_firstPoFile) endif() foreach (_currentPoFile ${_firstPoFile} ${ARGN}) get_filename_component(_absFile ${_currentPoFile} ABSOLUTE) get_filename_component(_abs_PATH ${_absFile} PATH) get_filename_component(_lang ${_absFile} NAME_WE) set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo) add_custom_command( OUTPUT ${_gmoFile} COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none -s ${_absFile} ${_absPotFile} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_absFile} DEPENDS ${_absPotFile} ${_absFile} ) install(FILES ${_gmoFile} DESTINATION share/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) set(_gmoFiles ${_gmoFiles} ${_gmoFile}) endforeach () if(NOT TARGET translations) add_custom_target(translations) endif() _GETTEXT_GET_UNIQUE_TARGET_NAME(translations uniqueTargetName) add_custom_target(${uniqueTargetName} ${_addToAll} DEPENDS ${_gmoFiles}) add_dependencies(translations ${uniqueTargetName}) endmacro() function(GETTEXT_PROCESS_POT_FILE _potFile) set(_gmoFiles) set(_options ALL) set(_oneValueArgs INSTALL_DESTINATION) set(_multiValueArgs LANGUAGES) CMAKE_PARSE_ARGUMENTS(_parsedArguments "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) get_filename_component(_potName ${_potFile} NAME) string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _potBasename ${_potName}) get_filename_component(_absPotFile ${_potFile} ABSOLUTE) foreach (_lang ${_parsedArguments_LANGUAGES}) set(_poFile "${CMAKE_CURRENT_BINARY_DIR}/${_lang}.po") set(_gmoFile "${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo") add_custom_command( OUTPUT "${_poFile}" COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none -s ${_poFile} ${_absPotFile} DEPENDS ${_absPotFile} ) add_custom_command( OUTPUT "${_gmoFile}" COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_poFile} DEPENDS ${_absPotFile} ${_poFile} ) if(_parsedArguments_INSTALL_DESTINATION) install(FILES ${_gmoFile} DESTINATION ${_parsedArguments_INSTALL_DESTINATION}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) endif() list(APPEND _gmoFiles ${_gmoFile}) endforeach () if(NOT TARGET potfiles) add_custom_target(potfiles) endif() _GETTEXT_GET_UNIQUE_TARGET_NAME( potfiles uniqueTargetName) if(_parsedArguments_ALL) add_custom_target(${uniqueTargetName} ALL DEPENDS ${_gmoFiles}) else() add_custom_target(${uniqueTargetName} DEPENDS ${_gmoFiles}) endif() add_dependencies(potfiles ${uniqueTargetName}) endfunction() function(GETTEXT_PROCESS_PO_FILES _lang) set(_options ALL) set(_oneValueArgs INSTALL_DESTINATION) set(_multiValueArgs PO_FILES) set(_gmoFiles) CMAKE_PARSE_ARGUMENTS(_parsedArguments "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) foreach(_current_PO_FILE ${_parsedArguments_PO_FILES}) get_filename_component(_name ${_current_PO_FILE} NAME) string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _basename ${_name}) set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.gmo) add_custom_command(OUTPUT ${_gmoFile} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_current_PO_FILE} WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" DEPENDS ${_current_PO_FILE} ) if(_parsedArguments_INSTALL_DESTINATION) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.gmo DESTINATION ${_parsedArguments_INSTALL_DESTINATION}/${_lang}/LC_MESSAGES/ RENAME ${_basename}.mo) endif() list(APPEND _gmoFiles ${_gmoFile}) endforeach() if(NOT TARGET pofiles) add_custom_target(pofiles) endif() _GETTEXT_GET_UNIQUE_TARGET_NAME( pofiles uniqueTargetName) if(_parsedArguments_ALL) add_custom_target(${uniqueTargetName} ALL DEPENDS ${_gmoFiles}) else() add_custom_target(${uniqueTargetName} DEPENDS ${_gmoFiles}) endif() add_dependencies(pofiles ${uniqueTargetName}) endfunction() cmake-2.8.12.2/Modules/FindGIF.cmake000644 000765 000024 00000005245 12266011634 017464 0ustar00kitwarestaff000000 000000 # This module searches giflib and defines # GIF_LIBRARIES - libraries to link to in order to use GIF # GIF_FOUND, if false, do not try to link # GIF_INCLUDE_DIR, where to find the headers # GIF_VERSION, reports either version 4 or 3 (for everything before version 4) # # The minimum required version of giflib can be specified using the # standard syntax, e.g. find_package(GIF 4) # # $GIF_DIR is an environment variable that would # correspond to the ./configure --prefix=$GIF_DIR #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Created by Eric Wing. # Modifications by Alexander Neundorf find_path(GIF_INCLUDE_DIR gif_lib.h HINTS ENV GIF_DIR PATH_SUFFIXES include PATHS ~/Library/Frameworks /usr/freeware ) # the gif library can have many names :-/ set(POTENTIAL_GIF_LIBS gif libgif ungif libungif giflib giflib4) find_library(GIF_LIBRARY NAMES ${POTENTIAL_GIF_LIBS} HINTS ENV GIF_DIR PATH_SUFFIXES lib PATHS ~/Library/Frameworks /usr/freeware ) # see readme.txt set(GIF_LIBRARIES ${GIF_LIBRARY}) # Very basic version detection. # The GIF_LIB_VERSION string in gif_lib.h seems to be unreliable, since it seems # to be always " Version 2.0, " in versions 3.x of giflib. # In version 4 the member UserData was added to GifFileType, so we check for this # one. # http://giflib.sourcearchive.com/documentation/4.1.4/files.html if(GIF_INCLUDE_DIR) include(${CMAKE_CURRENT_LIST_DIR}/CMakePushCheckState.cmake) include(${CMAKE_CURRENT_LIST_DIR}/CheckStructHasMember.cmake) CMAKE_PUSH_CHECK_STATE() set(GIF_VERSION 3) set(CMAKE_REQUIRED_INCLUDES "${GIF_INCLUDE_DIR}") CHECK_STRUCT_HAS_MEMBER(GifFileType UserData gif_lib.h GIF_GifFileType_UserData ) if(GIF_GifFileType_UserData) set(GIF_VERSION 4) endif() CMAKE_POP_CHECK_STATE() endif() # handle the QUIETLY and REQUIRED arguments and set GIF_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GIF REQUIRED_VARS GIF_LIBRARY GIF_INCLUDE_DIR VERSION_VAR GIF_VERSION ) mark_as_advanced(GIF_INCLUDE_DIR GIF_LIBRARY) cmake-2.8.12.2/Modules/FindGit.cmake000644 000765 000024 00000004100 12266011634 017567 0ustar00kitwarestaff000000 000000 # The module defines the following variables: # GIT_EXECUTABLE - path to git command line client # GIT_FOUND - true if the command line client was found # GIT_VERSION_STRING - the version of git found (since CMake 2.8.8) # Example usage: # find_package(Git) # if(GIT_FOUND) # message("git found: ${GIT_EXECUTABLE}") # endif() #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Look for 'git' or 'eg' (easy git) # set(git_names git eg) # Prefer .cmd variants on Windows unless running in a Makefile # in the MSYS shell. # if(WIN32) if(NOT CMAKE_GENERATOR MATCHES "MSYS") set(git_names git.cmd git eg.cmd eg) endif() endif() find_program(GIT_EXECUTABLE NAMES ${git_names} PATH_SUFFIXES Git/cmd Git/bin DOC "git command line client" ) mark_as_advanced(GIT_EXECUTABLE) if(GIT_EXECUTABLE) execute_process(COMMAND ${GIT_EXECUTABLE} --version OUTPUT_VARIABLE git_version ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) if (git_version MATCHES "^git version [0-9]") string(REPLACE "git version " "" GIT_VERSION_STRING "${git_version}") endif() unset(git_version) endif() # Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(Git REQUIRED_VARS GIT_EXECUTABLE VERSION_VAR GIT_VERSION_STRING) cmake-2.8.12.2/Modules/FindGLEW.cmake000644 000765 000024 00000002430 12266011634 017606 0ustar00kitwarestaff000000 000000 # - Find the OpenGL Extension Wrangler Library (GLEW) # This module defines the following variables: # GLEW_INCLUDE_DIRS - include directories for GLEW # GLEW_LIBRARIES - libraries to link against GLEW # GLEW_FOUND - true if GLEW has been found and can be used #============================================================================= # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(GLEW_INCLUDE_DIR GL/glew.h) find_library(GLEW_LIBRARY NAMES GLEW glew32 glew glew32s PATH_SUFFIXES lib64) set(GLEW_INCLUDE_DIRS ${GLEW_INCLUDE_DIR}) set(GLEW_LIBRARIES ${GLEW_LIBRARY}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(GLEW REQUIRED_VARS GLEW_INCLUDE_DIR GLEW_LIBRARY) mark_as_advanced(GLEW_INCLUDE_DIR GLEW_LIBRARY) cmake-2.8.12.2/Modules/FindGLU.cmake000644 000765 000024 00000001774 12266011634 017511 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Use of this file is deprecated, and is here for backwards compatibility with CMake 1.4 # GLU library is now found by FindOpenGL.cmake # message(STATUS "WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead") include(${CMAKE_CURRENT_LIST_DIR}/FindOpenGL.cmake) if (OPENGL_GLU_FOUND) set (GLU_LIBRARY ${OPENGL_LIBRARIES}) set (GLU_INCLUDE_PATH ${OPENGL_INCLUDE_DIR}) endif () cmake-2.8.12.2/Modules/FindGLUT.cmake000644 000765 000024 00000006012 12266011634 017623 0ustar00kitwarestaff000000 000000 # - try to find glut library and include files # GLUT_INCLUDE_DIR, where to find GL/glut.h, etc. # GLUT_LIBRARIES, the libraries to link against # GLUT_FOUND, If false, do not try to use GLUT. # Also defined, but not for general use are: # GLUT_glut_LIBRARY = the full path to the glut library. # GLUT_Xmu_LIBRARY = the full path to the Xmu library. # GLUT_Xi_LIBRARY = the full path to the Xi Library. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (WIN32) find_path( GLUT_INCLUDE_DIR NAMES GL/glut.h PATHS ${GLUT_ROOT_PATH}/include ) find_library( GLUT_glut_LIBRARY NAMES glut glut32 freeglut PATHS ${OPENGL_LIBRARY_DIR} ${GLUT_ROOT_PATH}/Release ) else () if (APPLE) # These values for Apple could probably do with improvement. find_path( GLUT_INCLUDE_DIR glut.h /System/Library/Frameworks/GLUT.framework/Versions/A/Headers ${OPENGL_LIBRARY_DIR} ) set(GLUT_glut_LIBRARY "-framework GLUT" CACHE STRING "GLUT library for OSX") set(GLUT_cocoa_LIBRARY "-framework Cocoa" CACHE STRING "Cocoa framework for OSX") else () if (BEOS) set(_GLUT_INC_DIR /boot/develop/headers/os/opengl) set(_GLUT_glut_LIB_DIR /boot/develop/lib/x86) else() find_library( GLUT_Xi_LIBRARY Xi /usr/openwin/lib ) find_library( GLUT_Xmu_LIBRARY Xmu /usr/openwin/lib ) endif () find_path( GLUT_INCLUDE_DIR GL/glut.h /usr/include/GL /usr/openwin/share/include /usr/openwin/include /opt/graphics/OpenGL/include /opt/graphics/OpenGL/contrib/libglut ${_GLUT_INC_DIR} ) find_library( GLUT_glut_LIBRARY glut /usr/openwin/lib ${_GLUT_glut_LIB_DIR} ) unset(_GLUT_INC_DIR) unset(_GLUT_glut_LIB_DIR) endif () endif () include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLUT REQUIRED_VARS GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) if (GLUT_FOUND) # Is -lXi and -lXmu required on all platforms that have it? # If not, we need some way to figure out what platform we are on. set( GLUT_LIBRARIES ${GLUT_glut_LIBRARY} ${GLUT_Xmu_LIBRARY} ${GLUT_Xi_LIBRARY} ${GLUT_cocoa_LIBRARY} ) #The following deprecated settings are for backwards compatibility with CMake1.4 set (GLUT_LIBRARY ${GLUT_LIBRARIES}) set (GLUT_INCLUDE_PATH ${GLUT_INCLUDE_DIR}) endif() mark_as_advanced( GLUT_INCLUDE_DIR GLUT_glut_LIBRARY GLUT_Xmu_LIBRARY GLUT_Xi_LIBRARY ) cmake-2.8.12.2/Modules/FindGnuplot.cmake000644 000765 000024 00000003732 12266011634 020506 0ustar00kitwarestaff000000 000000 # - this module looks for gnuplot # # Once done this will define # # GNUPLOT_FOUND - system has Gnuplot # GNUPLOT_EXECUTABLE - the Gnuplot executable # GNUPLOT_VERSION_STRING - the version of Gnuplot found (since CMake 2.8.8) # # GNUPLOT_VERSION_STRING will not work for old versions like 3.7.1. #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake) find_program(GNUPLOT_EXECUTABLE NAMES gnuplot pgnuplot wgnupl32 PATHS ${CYGWIN_INSTALL_PATH}/bin ) if (GNUPLOT_EXECUTABLE) execute_process(COMMAND "${GNUPLOT_EXECUTABLE}" --version OUTPUT_VARIABLE GNUPLOT_OUTPUT_VARIABLE ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) string(REGEX REPLACE "^gnuplot ([0-9\\.]+)( patchlevel )?" "\\1." GNUPLOT_VERSION_STRING "${GNUPLOT_OUTPUT_VARIABLE}") string(REGEX REPLACE "\\.$" "" GNUPLOT_VERSION_STRING "${GNUPLOT_VERSION_STRING}") unset(GNUPLOT_OUTPUT_VARIABLE) endif() # for compatibility set(GNUPLOT ${GNUPLOT_EXECUTABLE}) # handle the QUIETLY and REQUIRED arguments and set GNUPLOT_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gnuplot REQUIRED_VARS GNUPLOT_EXECUTABLE VERSION_VAR GNUPLOT_VERSION_STRING) mark_as_advanced( GNUPLOT_EXECUTABLE ) cmake-2.8.12.2/Modules/FindGnuTLS.cmake000644 000765 000024 00000004573 12266011634 020176 0ustar00kitwarestaff000000 000000 # - Try to find the GNU Transport Layer Security library (gnutls) # # Once done this will define # # GNUTLS_FOUND - System has gnutls # GNUTLS_INCLUDE_DIR - The gnutls include directory # GNUTLS_LIBRARIES - The libraries needed to use gnutls # GNUTLS_DEFINITIONS - Compiler switches required for using gnutls #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009 Philip Lowman # Copyright 2009 Brad Hards # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Note that this doesn't try to find the gnutls-extra package. if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARY) # in cache already set(gnutls_FIND_QUIETLY TRUE) endif () if (NOT WIN32) # try using pkg-config to get the directories and then use these values # in the find_path() and find_library() calls # also fills in GNUTLS_DEFINITIONS, although that isn't normally useful find_package(PkgConfig QUIET) PKG_CHECK_MODULES(PC_GNUTLS QUIET gnutls) set(GNUTLS_DEFINITIONS ${PC_GNUTLS_CFLAGS_OTHER}) set(GNUTLS_VERSION_STRING ${PC_GNUTLS_VERSION}) endif () find_path(GNUTLS_INCLUDE_DIR gnutls/gnutls.h HINTS ${PC_GNUTLS_INCLUDEDIR} ${PC_GNUTLS_INCLUDE_DIRS} ) find_library(GNUTLS_LIBRARY NAMES gnutls libgnutls HINTS ${PC_GNUTLS_LIBDIR} ${PC_GNUTLS_LIBRARY_DIRS} ) mark_as_advanced(GNUTLS_INCLUDE_DIR GNUTLS_LIBRARY) # handle the QUIETLY and REQUIRED arguments and set GNUTLS_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GnuTLS REQUIRED_VARS GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR VERSION_VAR GNUTLS_VERSION_STRING) if(GNUTLS_FOUND) set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARY}) set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR}) endif() cmake-2.8.12.2/Modules/FindGTest.cmake000644 000765 000024 00000012644 12266011634 020106 0ustar00kitwarestaff000000 000000 # Locate the Google C++ Testing Framework. # # Defines the following variables: # # GTEST_FOUND - Found the Google Testing framework # GTEST_INCLUDE_DIRS - Include directories # # Also defines the library variables below as normal # variables. These contain debug/optimized keywords when # a debugging library is found. # # GTEST_BOTH_LIBRARIES - Both libgtest & libgtest-main # GTEST_LIBRARIES - libgtest # GTEST_MAIN_LIBRARIES - libgtest-main # # Accepts the following variables as input: # # GTEST_ROOT - (as a CMake or environment variable) # The root directory of the gtest install prefix # # GTEST_MSVC_SEARCH - If compiling with MSVC, this variable can be set to # "MD" or "MT" to enable searching a GTest build tree # (defaults: "MD") # #----------------------- # Example Usage: # # enable_testing() # find_package(GTest REQUIRED) # include_directories(${GTEST_INCLUDE_DIRS}) # # add_executable(foo foo.cc) # target_link_libraries(foo ${GTEST_BOTH_LIBRARIES}) # # add_test(AllTestsInFoo foo) # #----------------------- # # If you would like each Google test to show up in CTest as # a test you may use the following macro. # NOTE: It will slow down your tests by running an executable # for each test and test fixture. You will also have to rerun # CMake after adding or removing tests or test fixtures. # # GTEST_ADD_TESTS(executable extra_args ARGN) # executable = The path to the test executable # extra_args = Pass a list of extra arguments to be passed to # executable enclosed in quotes (or "" for none) # ARGN = A list of source files to search for tests & test # fixtures. # # Example: # set(FooTestArgs --foo 1 --bar 2) # add_executable(FooTest FooUnitTest.cc) # GTEST_ADD_TESTS(FooTest "${FooTestArgs}" FooUnitTest.cc) #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009 Philip Lowman # Copyright 2009 Daniel Blezek # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # Thanks to Daniel Blezek for the GTEST_ADD_TESTS code function(GTEST_ADD_TESTS executable extra_args) if(NOT ARGN) message(FATAL_ERROR "Missing ARGN: Read the documentation for GTEST_ADD_TESTS") endif() foreach(source ${ARGN}) file(READ "${source}" contents) string(REGEX MATCHALL "TEST_?F?\\(([A-Za-z_0-9 ,]+)\\)" found_tests ${contents}) foreach(hit ${found_tests}) string(REGEX REPLACE ".*\\( *([A-Za-z_0-9]+), *([A-Za-z_0-9]+) *\\).*" "\\1.\\2" test_name ${hit}) add_test(${test_name} ${executable} --gtest_filter=${test_name} ${extra_args}) endforeach() endforeach() endfunction() function(_gtest_append_debugs _endvar _library) if(${_library} AND ${_library}_DEBUG) set(_output optimized ${${_library}} debug ${${_library}_DEBUG}) else() set(_output ${${_library}}) endif() set(${_endvar} ${_output} PARENT_SCOPE) endfunction() function(_gtest_find_library _name) find_library(${_name} NAMES ${ARGN} HINTS ENV GTEST_ROOT ${GTEST_ROOT} PATH_SUFFIXES ${_gtest_libpath_suffixes} ) mark_as_advanced(${_name}) endfunction() # if(NOT DEFINED GTEST_MSVC_SEARCH) set(GTEST_MSVC_SEARCH MD) endif() set(_gtest_libpath_suffixes lib) if(MSVC) if(GTEST_MSVC_SEARCH STREQUAL "MD") list(APPEND _gtest_libpath_suffixes msvc/gtest-md/Debug msvc/gtest-md/Release) elseif(GTEST_MSVC_SEARCH STREQUAL "MT") list(APPEND _gtest_libpath_suffixes msvc/gtest/Debug msvc/gtest/Release) endif() endif() find_path(GTEST_INCLUDE_DIR gtest/gtest.h HINTS $ENV{GTEST_ROOT}/include ${GTEST_ROOT}/include ) mark_as_advanced(GTEST_INCLUDE_DIR) if(MSVC AND GTEST_MSVC_SEARCH STREQUAL "MD") # The provided /MD project files for Google Test add -md suffixes to the # library names. _gtest_find_library(GTEST_LIBRARY gtest-md gtest) _gtest_find_library(GTEST_LIBRARY_DEBUG gtest-mdd gtestd) _gtest_find_library(GTEST_MAIN_LIBRARY gtest_main-md gtest_main) _gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_main-mdd gtest_maind) else() _gtest_find_library(GTEST_LIBRARY gtest) _gtest_find_library(GTEST_LIBRARY_DEBUG gtestd) _gtest_find_library(GTEST_MAIN_LIBRARY gtest_main) _gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_maind) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTest DEFAULT_MSG GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) if(GTEST_FOUND) set(GTEST_INCLUDE_DIRS ${GTEST_INCLUDE_DIR}) _gtest_append_debugs(GTEST_LIBRARIES GTEST_LIBRARY) _gtest_append_debugs(GTEST_MAIN_LIBRARIES GTEST_MAIN_LIBRARY) set(GTEST_BOTH_LIBRARIES ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES}) endif() cmake-2.8.12.2/Modules/FindGTK.cmake000644 000765 000024 00000010164 12266011634 017500 0ustar00kitwarestaff000000 000000 # - try to find GTK (and glib) and GTKGLArea # GTK_INCLUDE_DIR - Directories to include to use GTK # GTK_LIBRARIES - Files to link against to use GTK # GTK_FOUND - GTK was found # GTK_GL_FOUND - GTK's GL features were found #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # don't even bother under WIN32 if(UNIX) find_path( GTK_gtk_INCLUDE_PATH NAMES gtk/gtk.h PATH_SUFFIXES gtk-1.2 gtk12 PATHS /usr/openwin/share/include /usr/openwin/include /opt/gnome/include ) # Some Linux distributions (e.g. Red Hat) have glibconfig.h # and glib.h in different directories, so we need to look # for both. # - Atanas Georgiev find_path( GTK_glibconfig_INCLUDE_PATH NAMES glibconfig.h PATHS /usr/openwin/share/include /usr/local/include/glib12 /usr/lib/glib/include /usr/local/lib/glib/include /opt/gnome/include /opt/gnome/lib/glib/include ) find_path( GTK_glib_INCLUDE_PATH NAMES glib.h PATH_SUFFIXES gtk-1.2 glib-1.2 glib12 PATHS /usr/openwin/share/include /usr/lib/glib/include /opt/gnome/include ) find_path( GTK_gtkgl_INCLUDE_PATH NAMES gtkgl/gtkglarea.h PATHS /usr/openwin/share/include /opt/gnome/include ) find_library( GTK_gtkgl_LIBRARY gtkgl /usr/openwin/lib /opt/gnome/lib ) # # The 12 suffix is thanks to the FreeBSD ports collection # find_library( GTK_gtk_LIBRARY NAMES gtk gtk12 PATHS /usr/openwin/lib /opt/gnome/lib ) find_library( GTK_gdk_LIBRARY NAMES gdk gdk12 PATHS /usr/openwin/lib /opt/gnome/lib ) find_library( GTK_gmodule_LIBRARY NAMES gmodule gmodule12 PATHS /usr/openwin/lib /opt/gnome/lib ) find_library( GTK_glib_LIBRARY NAMES glib glib12 PATHS /usr/openwin/lib /opt/gnome/lib ) find_library( GTK_Xi_LIBRARY NAMES Xi PATHS /usr/openwin/lib /opt/gnome/lib ) find_library( GTK_gthread_LIBRARY NAMES gthread gthread12 PATHS /usr/openwin/lib /opt/gnome/lib ) if(GTK_gtk_INCLUDE_PATH AND GTK_glibconfig_INCLUDE_PATH AND GTK_glib_INCLUDE_PATH AND GTK_gtk_LIBRARY AND GTK_glib_LIBRARY) # Assume that if gtk and glib were found, the other # supporting libraries have also been found. set( GTK_FOUND "YES" ) set( GTK_INCLUDE_DIR ${GTK_gtk_INCLUDE_PATH} ${GTK_glibconfig_INCLUDE_PATH} ${GTK_glib_INCLUDE_PATH} ) set( GTK_LIBRARIES ${GTK_gtk_LIBRARY} ${GTK_gdk_LIBRARY} ${GTK_glib_LIBRARY} ) if(GTK_gmodule_LIBRARY) set(GTK_LIBRARIES ${GTK_LIBRARIES} ${GTK_gmodule_LIBRARY}) endif() if(GTK_gthread_LIBRARY) set(GTK_LIBRARIES ${GTK_LIBRARIES} ${GTK_gthread_LIBRARY}) endif() if(GTK_Xi_LIBRARY) set(GTK_LIBRARIES ${GTK_LIBRARIES} ${GTK_Xi_LIBRARY}) endif() if(GTK_gtkgl_INCLUDE_PATH AND GTK_gtkgl_LIBRARY) set( GTK_GL_FOUND "YES" ) set( GTK_INCLUDE_DIR ${GTK_INCLUDE_DIR} ${GTK_gtkgl_INCLUDE_PATH} ) set( GTK_LIBRARIES ${GTK_gtkgl_LIBRARY} ${GTK_LIBRARIES} ) mark_as_advanced( GTK_gtkgl_LIBRARY GTK_gtkgl_INCLUDE_PATH ) endif() endif() mark_as_advanced( GTK_gdk_LIBRARY GTK_glib_INCLUDE_PATH GTK_glib_LIBRARY GTK_glibconfig_INCLUDE_PATH GTK_gmodule_LIBRARY GTK_gthread_LIBRARY GTK_Xi_LIBRARY GTK_gtk_INCLUDE_PATH GTK_gtk_LIBRARY GTK_gtkgl_INCLUDE_PATH GTK_gtkgl_LIBRARY ) endif() cmake-2.8.12.2/Modules/FindGTK2.cmake000644 000765 000024 00000055526 12266011634 017575 0ustar00kitwarestaff000000 000000 # - FindGTK2.cmake # This module can find the GTK2 widget libraries and several of its other # optional components like gtkmm, glade, and glademm. # # NOTE: If you intend to use version checking, CMake 2.6.2 or later is # required. # # Specify one or more of the following components # as you call this find module. See example below. # # gtk # gtkmm # glade # glademm # # The following variables will be defined for your use # # GTK2_FOUND - Were all of your specified components found? # GTK2_INCLUDE_DIRS - All include directories # GTK2_LIBRARIES - All libraries # GTK2_DEFINITIONS - Additional compiler flags # # GTK2_VERSION - The version of GTK2 found (x.y.z) # GTK2_MAJOR_VERSION - The major version of GTK2 # GTK2_MINOR_VERSION - The minor version of GTK2 # GTK2_PATCH_VERSION - The patch version of GTK2 # # Optional variables you can define prior to calling this module: # # GTK2_DEBUG - Enables verbose debugging of the module # GTK2_ADDITIONAL_SUFFIXES - Allows defining additional directories to # search for include files # #================= # Example Usage: # # Call find_package() once, here are some examples to pick from: # # Require GTK 2.6 or later # find_package(GTK2 2.6 REQUIRED gtk) # # Require GTK 2.10 or later and Glade # find_package(GTK2 2.10 REQUIRED gtk glade) # # Search for GTK/GTKMM 2.8 or later # find_package(GTK2 2.8 COMPONENTS gtk gtkmm) # # if(GTK2_FOUND) # include_directories(${GTK2_INCLUDE_DIRS}) # add_executable(mygui mygui.cc) # target_link_libraries(mygui ${GTK2_LIBRARIES}) # endif() # #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2008-2012 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Version 1.5 (UNRELEASED) (CMake 2.8.12) # * 14236: Detect gthread library # Detect pangocairo on windows # Detect pangocairo with gtk module instead of with gtkmm # * 14259: Use vc100 libraries with MSVC11 # * 14260: Export a GTK2_DEFINITIONS variable to set /vd2 when appropriate # (i.e. MSVC) # * Use the optimized/debug syntax for _LIBRARY and _LIBRARIES variables when # appropriate. A new set of _RELEASE variables was also added. # * Remove GTK2_SKIP_MARK_AS_ADVANCED option, as now the variables are # marked as advanced by SelectLibraryConfigurations # * Detect gmodule, pangoft2 and pangoxft libraries # Version 1.4 (10/4/2012) (CMake 2.8.10) # * 12596: Missing paths for FindGTK2 on NetBSD # * 12049: Fixed detection of GTK include files in the lib folder on # multiarch systems. # Version 1.3 (11/9/2010) (CMake 2.8.4) # * 11429: Add support for detecting GTK2 built with Visual Studio 10. # Thanks to Vincent Levesque for the patch. # Version 1.2 (8/30/2010) (CMake 2.8.3) # * Merge patch for detecting gdk-pixbuf library (split off # from core GTK in 2.21). Thanks to Vincent Untz for the patch # and Ricardo Cruz for the heads up. # Version 1.1 (8/19/2010) (CMake 2.8.3) # * Add support for detecting GTK2 under macports (thanks to Gary Kramlich) # Version 1.0 (8/12/2010) (CMake 2.8.3) # * Add support for detecting new pangommconfig.h header file # (Thanks to Sune Vuorela & the Debian Project for the patch) # * Add support for detecting fontconfig.h header # * Call find_package(Freetype) since it's required # * Add support for allowing users to add additional library directories # via the GTK2_ADDITIONAL_SUFFIXES variable (kind of a future-kludge in # case the GTK developers change versions on any of the directories in the # future). # Version 0.8 (1/4/2010) # * Get module working under MacOSX fink by adding /sw/include, /sw/lib # to PATHS and the gobject library # Version 0.7 (3/22/09) # * Checked into CMake CVS # * Added versioning support # * Module now defaults to searching for GTK if COMPONENTS not specified. # * Added HKCU prior to HKLM registry key and GTKMM specific environment # variable as per mailing list discussion. # * Added lib64 to include search path and a few other search paths where GTK # may be installed on Unix systems. # * Switched to lowercase CMake commands # * Prefaced internal variables with _GTK2 to prevent collision # * Changed internal macros to functions # * Enhanced documentation # Version 0.6 (1/8/08) # Added GTK2_SKIP_MARK_AS_ADVANCED option # Version 0.5 (12/19/08) # Second release to cmake mailing list #============================================================= # _GTK2_GET_VERSION # Internal function to parse the version number in gtkversion.h # _OUT_major = Major version number # _OUT_minor = Minor version number # _OUT_micro = Micro version number # _gtkversion_hdr = Header file to parse #============================================================= include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) function(_GTK2_GET_VERSION _OUT_major _OUT_minor _OUT_micro _gtkversion_hdr) file(STRINGS ${_gtkversion_hdr} _contents REGEX "#define GTK_M[A-Z]+_VERSION[ \t]+") if(_contents) string(REGEX REPLACE ".*#define GTK_MAJOR_VERSION[ \t]+\\(([0-9]+)\\).*" "\\1" ${_OUT_major} "${_contents}") string(REGEX REPLACE ".*#define GTK_MINOR_VERSION[ \t]+\\(([0-9]+)\\).*" "\\1" ${_OUT_minor} "${_contents}") string(REGEX REPLACE ".*#define GTK_MICRO_VERSION[ \t]+\\(([0-9]+)\\).*" "\\1" ${_OUT_micro} "${_contents}") if(NOT ${_OUT_major} MATCHES "[0-9]+") message(FATAL_ERROR "Version parsing failed for GTK2_MAJOR_VERSION!") endif() if(NOT ${_OUT_minor} MATCHES "[0-9]+") message(FATAL_ERROR "Version parsing failed for GTK2_MINOR_VERSION!") endif() if(NOT ${_OUT_micro} MATCHES "[0-9]+") message(FATAL_ERROR "Version parsing failed for GTK2_MICRO_VERSION!") endif() set(${_OUT_major} ${${_OUT_major}} PARENT_SCOPE) set(${_OUT_minor} ${${_OUT_minor}} PARENT_SCOPE) set(${_OUT_micro} ${${_OUT_micro}} PARENT_SCOPE) else() message(FATAL_ERROR "Include file ${_gtkversion_hdr} does not exist") endif() endfunction() #============================================================= # _GTK2_FIND_INCLUDE_DIR # Internal function to find the GTK include directories # _var = variable to set (_INCLUDE_DIR is appended) # _hdr = header file to look for #============================================================= function(_GTK2_FIND_INCLUDE_DIR _var _hdr) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "_GTK2_FIND_INCLUDE_DIR( ${_var} ${_hdr} )") endif() set(_gtk_packages # If these ever change, things will break. ${GTK2_ADDITIONAL_SUFFIXES} glibmm-2.4 glib-2.0 atk-1.0 atkmm-1.6 cairo cairomm-1.0 gdk-pixbuf-2.0 gdkmm-2.4 giomm-2.4 gtk-2.0 gtkmm-2.4 libglade-2.0 libglademm-2.4 pango-1.0 pangomm-1.4 sigc++-2.0 ) # # NOTE: The following suffixes cause searching for header files in both of # these directories: # /usr/include/ # /usr/lib//include # set(_suffixes) foreach(_d ${_gtk_packages}) list(APPEND _suffixes ${_d}) list(APPEND _suffixes ${_d}/include) # for /usr/lib/gtk-2.0/include endforeach() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "include suffixes = ${_suffixes}") endif() if(CMAKE_LIBRARY_ARCHITECTURE) set(_gtk2_arch_dir /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}) if(GTK2_DEBUG) message(STATUS "Adding ${_gtk2_arch_dir} to search path for multiarch support") endif() endif() find_path(${_var}_INCLUDE_DIR ${_hdr} PATHS ${_gtk2_arch_dir} /usr/local/lib64 /usr/local/lib /usr/lib64 /usr/lib /opt/gnome/include /opt/gnome/lib /opt/openwin/include /usr/openwin/lib /sw/include /sw/lib /opt/local/include /opt/local/lib /usr/pkg/lib /usr/pkg/include/glib $ENV{GTKMM_BASEPATH}/include $ENV{GTKMM_BASEPATH}/lib [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/include [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/include [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib PATH_SUFFIXES ${_suffixes} ) if(${_var}_INCLUDE_DIR) set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIRS} ${${_var}_INCLUDE_DIR} PARENT_SCOPE) endif() endfunction() #============================================================= # _GTK2_FIND_LIBRARY # Internal function to find libraries packaged with GTK2 # _var = library variable to create (_LIBRARY is appended) #============================================================= function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "_GTK2_FIND_LIBRARY( ${_var} ${_lib} ${_expand_vc} ${_append_version} )") endif() # Not GTK versions per se but the versions encoded into Windows # import libraries (GtkMM 2.14.1 has a gtkmm-vc80-2_4.lib for example) # Also the MSVC libraries use _ for . (this is handled below) set(_versions 2.20 2.18 2.16 2.14 2.12 2.10 2.8 2.6 2.4 2.2 2.0 1.20 1.18 1.16 1.14 1.12 1.10 1.8 1.6 1.4 1.2 1.0) set(_library) set(_library_d) set(_library ${_lib}) if(_expand_vc AND MSVC) # Add vc80/vc90/vc100 midfixes if(MSVC80) set(_library ${_library}-vc80) elseif(MSVC90) set(_library ${_library}-vc90) elseif(MSVC10) set(_library ${_library}-vc100) elseif(MSVC11) # Up to gtkmm-win 2.22.0-2 there are no vc110 libraries but vc100 can be used set(_library ${_library}-vc100) endif() set(_library_d ${_library}-d) endif() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "After midfix addition = ${_library} and ${_library_d}") endif() set(_lib_list) set(_libd_list) if(_append_version) foreach(_ver ${_versions}) list(APPEND _lib_list "${_library}-${_ver}") list(APPEND _libd_list "${_library_d}-${_ver}") endforeach() else() set(_lib_list ${_library}) set(_libd_list ${_library_d}) endif() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "library list = ${_lib_list} and library debug list = ${_libd_list}") endif() # For some silly reason the MSVC libraries use _ instead of . # in the version fields if(_expand_vc AND MSVC) set(_no_dots_lib_list) set(_no_dots_libd_list) foreach(_l ${_lib_list}) string(REPLACE "." "_" _no_dots_library ${_l}) list(APPEND _no_dots_lib_list ${_no_dots_library}) endforeach() # And for debug set(_no_dots_libsd_list) foreach(_l ${_libd_list}) string(REPLACE "." "_" _no_dots_libraryd ${_l}) list(APPEND _no_dots_libd_list ${_no_dots_libraryd}) endforeach() # Copy list back to original names set(_lib_list ${_no_dots_lib_list}) set(_libd_list ${_no_dots_libd_list}) endif() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "While searching for ${_var}_LIBRARY, our proposed library list is ${_lib_list}") endif() find_library(${_var}_LIBRARY_RELEASE NAMES ${_lib_list} PATHS /opt/gnome/lib /usr/openwin/lib /sw/lib $ENV{GTKMM_BASEPATH}/lib [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib ) if(_expand_vc AND MSVC) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "While searching for ${_var}_LIBRARY_DEBUG our proposed library list is ${_libd_list}") endif() find_library(${_var}_LIBRARY_DEBUG NAMES ${_libd_list} PATHS $ENV{GTKMM_BASEPATH}/lib [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib ) endif() select_library_configurations(${_var}) set(${_var}_LIBRARY ${${_var}_LIBRARY} PARENT_SCOPE) set(GTK2_LIBRARIES ${GTK2_LIBRARIES} ${${_var}_LIBRARY}) set(GTK2_LIBRARIES ${GTK2_LIBRARIES} PARENT_SCOPE) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "${_var}_LIBRARY_RELEASE = \"${${_var}_LIBRARY_RELEASE}\"") message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "${_var}_LIBRARY_DEBUG = \"${${_var}_LIBRARY_DEBUG}\"") message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "${_var}_LIBRARY = \"${${_var}_LIBRARY}\"") endif() endfunction() #============================================================= # # main() # set(GTK2_FOUND) set(GTK2_INCLUDE_DIRS) set(GTK2_LIBRARIES) set(GTK2_DEFINITIONS) if(NOT GTK2_FIND_COMPONENTS) # Assume they only want GTK set(GTK2_FIND_COMPONENTS gtk) endif() # # If specified, enforce version number # if(GTK2_FIND_VERSION) cmake_minimum_required(VERSION 2.6.2) set(GTK2_FAILED_VERSION_CHECK true) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "Searching for version ${GTK2_FIND_VERSION}") endif() _GTK2_FIND_INCLUDE_DIR(GTK2_GTK gtk/gtk.h) if(GTK2_GTK_INCLUDE_DIR) _GTK2_GET_VERSION(GTK2_MAJOR_VERSION GTK2_MINOR_VERSION GTK2_PATCH_VERSION ${GTK2_GTK_INCLUDE_DIR}/gtk/gtkversion.h) set(GTK2_VERSION ${GTK2_MAJOR_VERSION}.${GTK2_MINOR_VERSION}.${GTK2_PATCH_VERSION}) if(GTK2_FIND_VERSION_EXACT) if(GTK2_VERSION VERSION_EQUAL GTK2_FIND_VERSION) set(GTK2_FAILED_VERSION_CHECK false) endif() else() if(GTK2_VERSION VERSION_EQUAL GTK2_FIND_VERSION OR GTK2_VERSION VERSION_GREATER GTK2_FIND_VERSION) set(GTK2_FAILED_VERSION_CHECK false) endif() endif() else() # If we can't find the GTK include dir, we can't do version checking if(GTK2_FIND_REQUIRED AND NOT GTK2_FIND_QUIETLY) message(FATAL_ERROR "Could not find GTK2 include directory") endif() return() endif() if(GTK2_FAILED_VERSION_CHECK) if(GTK2_FIND_REQUIRED AND NOT GTK2_FIND_QUIETLY) if(GTK2_FIND_VERSION_EXACT) message(FATAL_ERROR "GTK2 version check failed. Version ${GTK2_VERSION} was found, version ${GTK2_FIND_VERSION} is needed exactly.") else() message(FATAL_ERROR "GTK2 version check failed. Version ${GTK2_VERSION} was found, at least version ${GTK2_FIND_VERSION} is required") endif() endif() # If the version check fails, exit out of the module here return() endif() endif() # # Find all components # find_package(Freetype) list(APPEND GTK2_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS}) list(APPEND GTK2_LIBRARIES ${FREETYPE_LIBRARIES}) foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) if(_GTK2_component STREQUAL "gtk") _GTK2_FIND_INCLUDE_DIR(GTK2_GTK gtk/gtk.h) if(UNIX) _GTK2_FIND_LIBRARY (GTK2_GTK gtk-x11 false true) _GTK2_FIND_LIBRARY (GTK2_GDK gdk-x11 false true) else() _GTK2_FIND_LIBRARY (GTK2_GTK gtk-win32 false true) _GTK2_FIND_LIBRARY (GTK2_GDK gdk-win32 false true) endif() _GTK2_FIND_INCLUDE_DIR(GTK2_GDK gdk/gdk.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GDKCONFIG gdkconfig.h) _GTK2_FIND_INCLUDE_DIR(GTK2_CAIRO cairo.h) _GTK2_FIND_LIBRARY (GTK2_CAIRO cairo false false) _GTK2_FIND_INCLUDE_DIR(GTK2_FONTCONFIG fontconfig/fontconfig.h) _GTK2_FIND_INCLUDE_DIR(GTK2_PANGO pango/pango.h) _GTK2_FIND_LIBRARY (GTK2_PANGO pango false true) _GTK2_FIND_LIBRARY (GTK2_PANGOCAIRO pangocairo false true) _GTK2_FIND_LIBRARY (GTK2_PANGOFT2 pangoft2 false true) _GTK2_FIND_LIBRARY (GTK2_PANGOXFT pangoxft false true) _GTK2_FIND_INCLUDE_DIR(GTK2_GDK_PIXBUF gdk-pixbuf/gdk-pixbuf.h) _GTK2_FIND_LIBRARY (GTK2_GDK_PIXBUF gdk_pixbuf false true) _GTK2_FIND_LIBRARY (GTK2_GTHREAD gthread false true) _GTK2_FIND_LIBRARY (GTK2_GMODULE gmodule false true) _GTK2_FIND_LIBRARY (GTK2_GIO gio false true) _GTK2_FIND_INCLUDE_DIR(GTK2_ATK atk/atk.h) _GTK2_FIND_LIBRARY (GTK2_ATK atk false true) _GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT gobject/gobject.h) _GTK2_FIND_LIBRARY (GTK2_GOBJECT gobject false true) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIB glib.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBCONFIG glibconfig.h) _GTK2_FIND_LIBRARY (GTK2_GLIB glib false true) elseif(_GTK2_component STREQUAL "gtkmm") _GTK2_FIND_INCLUDE_DIR(GTK2_GTKMM gtkmm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GTKMMCONFIG gtkmmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GTKMM gtkmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_GDKMM gdkmm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GDKMMCONFIG gdkmmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GDKMM gdkmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMM pangomm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMMCONFIG pangommconfig.h) _GTK2_FIND_LIBRARY (GTK2_PANGOMM pangomm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_CAIROMM cairomm/cairomm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_CAIROMMCONFIG cairommconfig.h) _GTK2_FIND_LIBRARY (GTK2_CAIROMM cairomm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_GIOMM giomm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GIOMMCONFIG giommconfig.h) _GTK2_FIND_LIBRARY (GTK2_GIOMM giomm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_ATKMM atkmm.h) _GTK2_FIND_LIBRARY (GTK2_ATKMM atkmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBMM glibmm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBMMCONFIG glibmmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GLIBMM glibmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++ sigc++/sigc++.h) _GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++CONFIG sigc++config.h) _GTK2_FIND_LIBRARY (GTK2_SIGC++ sigc true true) elseif(_GTK2_component STREQUAL "glade") _GTK2_FIND_INCLUDE_DIR(GTK2_GLADE glade/glade.h) _GTK2_FIND_LIBRARY (GTK2_GLADE glade false true) elseif(_GTK2_component STREQUAL "glademm") _GTK2_FIND_INCLUDE_DIR(GTK2_GLADEMM libglademm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GLADEMMCONFIG libglademmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GLADEMM glademm true true) else() message(FATAL_ERROR "Unknown GTK2 component ${_component}") endif() endforeach() # # Solve for the GTK2 version if we haven't already # if(NOT GTK2_FIND_VERSION AND GTK2_GTK_INCLUDE_DIR) _GTK2_GET_VERSION(GTK2_MAJOR_VERSION GTK2_MINOR_VERSION GTK2_PATCH_VERSION ${GTK2_GTK_INCLUDE_DIR}/gtk/gtkversion.h) set(GTK2_VERSION ${GTK2_MAJOR_VERSION}.${GTK2_MINOR_VERSION}.${GTK2_PATCH_VERSION}) endif() # # On MSVC, according to https://wiki.gnome.org/gtkmm/MSWindows, the /vd2 flag needs to be # passed to the compiler in order to use gtkmm # if(MSVC) foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) if(_GTK2_component STREQUAL "gtkmm") set(GTK2_DEFINITIONS "/vd2") elseif(_GTK2_component STREQUAL "glademm") set(GTK2_DEFINITIONS "/vd2") endif() endforeach() endif() # # Try to enforce components # set(_GTK2_did_we_find_everything true) # This gets set to GTK2_FOUND include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) string(TOUPPER ${_GTK2_component} _COMPONENT_UPPER) if(_GTK2_component STREQUAL "gtk") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found." GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY ) elseif(_GTK2_component STREQUAL "gtkmm") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtkmm libraries were not found." GTK2_GTKMM_LIBRARY GTK2_GTKMM_INCLUDE_DIR GTK2_GTKMMCONFIG_INCLUDE_DIR GTK2_GDKMM_INCLUDE_DIR GTK2_GDKMMCONFIG_INCLUDE_DIR GTK2_GDKMM_LIBRARY GTK2_GLIBMM_INCLUDE_DIR GTK2_GLIBMMCONFIG_INCLUDE_DIR GTK2_GLIBMM_LIBRARY ) elseif(_GTK2_component STREQUAL "glade") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "The glade library was not found." GTK2_GLADE_LIBRARY GTK2_GLADE_INCLUDE_DIR ) elseif(_GTK2_component STREQUAL "glademm") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "The glademm library was not found." GTK2_GLADEMM_LIBRARY GTK2_GLADEMM_INCLUDE_DIR GTK2_GLADEMMCONFIG_INCLUDE_DIR ) endif() if(NOT GTK2_${_COMPONENT_UPPER}_FOUND) set(_GTK2_did_we_find_everything false) endif() endforeach() if(_GTK2_did_we_find_everything AND NOT GTK2_VERSION_CHECK_FAILED) set(GTK2_FOUND true) else() # Unset our variables. set(GTK2_FOUND false) set(GTK2_VERSION) set(GTK2_VERSION_MAJOR) set(GTK2_VERSION_MINOR) set(GTK2_VERSION_PATCH) set(GTK2_INCLUDE_DIRS) set(GTK2_LIBRARIES) set(GTK2_DEFINITIONS) endif() if(GTK2_INCLUDE_DIRS) list(REMOVE_DUPLICATES GTK2_INCLUDE_DIRS) endif() cmake-2.8.12.2/Modules/FindHDF5.cmake000644 000765 000024 00000034534 12266011634 017550 0ustar00kitwarestaff000000 000000 # - Find HDF5, a library for reading and writing self describing array data. # # This module invokes the HDF5 wrapper compiler that should be installed # alongside HDF5. Depending upon the HDF5 Configuration, the wrapper compiler # is called either h5cc or h5pcc. If this succeeds, the module will then call # the compiler with the -show argument to see what flags are used when compiling # an HDF5 client application. # # The module will optionally accept the COMPONENTS argument. If no COMPONENTS # are specified, then the find module will default to finding only the HDF5 C # library. If one or more COMPONENTS are specified, the module will attempt to # find the language bindings for the specified components. The only valid # components are C, CXX, Fortran, HL, and Fortran_HL. If the COMPONENTS # argument is not given, the module will attempt to find only the C bindings. # # On UNIX systems, this module will read the variable HDF5_USE_STATIC_LIBRARIES # to determine whether or not to prefer a static link to a dynamic link for HDF5 # and all of it's dependencies. To use this feature, make sure that the # HDF5_USE_STATIC_LIBRARIES variable is set before the call to find_package. # # To provide the module with a hint about where to find your HDF5 installation, # you can set the environment variable HDF5_ROOT. The Find module will then # look in this path when searching for HDF5 executables, paths, and libraries. # # In addition to finding the includes and libraries required to compile an HDF5 # client application, this module also makes an effort to find tools that come # with the HDF5 distribution that may be useful for regression testing. # # This module will define the following variables: # HDF5_INCLUDE_DIRS - Location of the hdf5 includes # HDF5_INCLUDE_DIR - Location of the hdf5 includes (deprecated) # HDF5_DEFINITIONS - Required compiler definitions for HDF5 # HDF5_C_LIBRARIES - Required libraries for the HDF5 C bindings. # HDF5_CXX_LIBRARIES - Required libraries for the HDF5 C++ bindings # HDF5_Fortran_LIBRARIES - Required libraries for the HDF5 Fortran bindings # HDF5_HL_LIBRARIES - Required libraries for the HDF5 high level API # HDF5_Fortran_HL_LIBRARIES - Required libraries for the high level Fortran # bindings. # HDF5_LIBRARIES - Required libraries for all requested bindings # HDF5_FOUND - true if HDF5 was found on the system # HDF5_LIBRARY_DIRS - the full set of library directories # HDF5_IS_PARALLEL - Whether or not HDF5 was found with parallel IO support # HDF5_C_COMPILER_EXECUTABLE - the path to the HDF5 C wrapper compiler # HDF5_CXX_COMPILER_EXECUTABLE - the path to the HDF5 C++ wrapper compiler # HDF5_Fortran_COMPILER_EXECUTABLE - the path to the HDF5 Fortran wrapper compiler # HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is maintained by Will Dicharry . include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) # List of the valid HDF5 components set( HDF5_VALID_COMPONENTS C CXX Fortran HL Fortran_HL ) # Validate the list of find components. if( NOT HDF5_FIND_COMPONENTS ) set( HDF5_LANGUAGE_BINDINGS "C" ) else() # add the extra specified components, ensuring that they are valid. foreach( component ${HDF5_FIND_COMPONENTS} ) list( FIND HDF5_VALID_COMPONENTS ${component} component_location ) if( ${component_location} EQUAL -1 ) message( FATAL_ERROR "\"${component}\" is not a valid HDF5 component." ) else() list( APPEND HDF5_LANGUAGE_BINDINGS ${component} ) endif() endforeach() endif() # try to find the HDF5 wrapper compilers find_program( HDF5_C_COMPILER_EXECUTABLE NAMES h5cc h5pcc HINTS ENV HDF5_ROOT PATH_SUFFIXES bin Bin DOC "HDF5 Wrapper compiler. Used only to detect HDF5 compile flags." ) mark_as_advanced( HDF5_C_COMPILER_EXECUTABLE ) find_program( HDF5_CXX_COMPILER_EXECUTABLE NAMES h5c++ h5pc++ HINTS ENV HDF5_ROOT PATH_SUFFIXES bin Bin DOC "HDF5 C++ Wrapper compiler. Used only to detect HDF5 compile flags." ) mark_as_advanced( HDF5_CXX_COMPILER_EXECUTABLE ) find_program( HDF5_Fortran_COMPILER_EXECUTABLE NAMES h5fc h5pfc HINTS ENV HDF5_ROOT PATH_SUFFIXES bin Bin DOC "HDF5 Fortran Wrapper compiler. Used only to detect HDF5 compile flags." ) mark_as_advanced( HDF5_Fortran_COMPILER_EXECUTABLE ) find_program( HDF5_DIFF_EXECUTABLE NAMES h5diff HINTS ENV HDF5_ROOT PATH_SUFFIXES bin Bin DOC "HDF5 file differencing tool." ) mark_as_advanced( HDF5_DIFF_EXECUTABLE ) # Invoke the HDF5 wrapper compiler. The compiler return value is stored to the # return_value argument, the text output is stored to the output variable. macro( _HDF5_invoke_compiler language output return_value ) if( HDF5_${language}_COMPILER_EXECUTABLE ) exec_program( ${HDF5_${language}_COMPILER_EXECUTABLE} ARGS -show OUTPUT_VARIABLE ${output} RETURN_VALUE ${return_value} ) if( ${${return_value}} EQUAL 0 ) # do nothing else() message( STATUS "Unable to determine HDF5 ${language} flags from HDF5 wrapper." ) endif() endif() endmacro() # Parse a compile line for definitions, includes, library paths, and libraries. macro( _HDF5_parse_compile_line compile_line_var include_paths definitions library_paths libraries ) # Match the include paths string( REGEX MATCHALL "-I([^\" ]+)" include_path_flags "${${compile_line_var}}" ) foreach( IPATH ${include_path_flags} ) string( REGEX REPLACE "^-I" "" IPATH ${IPATH} ) string( REGEX REPLACE "//" "/" IPATH ${IPATH} ) list( APPEND ${include_paths} ${IPATH} ) endforeach() # Match the definitions string( REGEX MATCHALL "-D[^ ]*" definition_flags "${${compile_line_var}}" ) foreach( DEF ${definition_flags} ) list( APPEND ${definitions} ${DEF} ) endforeach() # Match the library paths string( REGEX MATCHALL "-L([^\" ]+|\"[^\"]+\")" library_path_flags "${${compile_line_var}}" ) foreach( LPATH ${library_path_flags} ) string( REGEX REPLACE "^-L" "" LPATH ${LPATH} ) string( REGEX REPLACE "//" "/" LPATH ${LPATH} ) list( APPEND ${library_paths} ${LPATH} ) endforeach() # now search for the library names specified in the compile line (match -l...) # match only -l's preceded by a space or comma # this is to exclude directory names like xxx-linux/ string( REGEX MATCHALL "[, ]-l([^\", ]+)" library_name_flags "${${compile_line_var}}" ) # strip the -l from all of the library flags and add to the search list foreach( LIB ${library_name_flags} ) string( REGEX REPLACE "^[, ]-l" "" LIB ${LIB} ) list( APPEND ${libraries} ${LIB} ) endforeach() endmacro() # Try to find HDF5 using an installed hdf5-config.cmake if( NOT HDF5_FOUND ) find_package( HDF5 QUIET NO_MODULE ) if( HDF5_FOUND ) set( HDF5_INCLUDE_DIRS ${HDF5_INCLUDE_DIR} ) set( HDF5_LIBRARIES ) set( HDF5_C_TARGET hdf5 ) set( HDF5_CXX_TARGET hdf5_cpp ) set( HDF5_HL_TARGET hdf5_hl ) set( HDF5_Fortran_TARGET hdf5_fortran ) set( HDF5_Fortran_HL_TARGET hdf5_hl_fortran ) foreach( _component ${HDF5_LANGUAGE_BINDINGS} ) list( FIND HDF5_VALID_COMPONENTS ${_component} _component_location ) get_target_property( _comp_location ${HDF5_${_component}_TARGET} LOCATION ) if( _comp_location ) set( HDF5_${_component}_LIBRARY ${_comp_location} CACHE PATH "HDF5 ${_component} library" ) mark_as_advanced( HDF5_${_component}_LIBRARY ) list( APPEND HDF5_LIBRARIES ${HDF5_${_component}_LIBRARY} ) endif() endforeach() endif() endif() if( NOT HDF5_FOUND ) _HDF5_invoke_compiler( C HDF5_C_COMPILE_LINE HDF5_C_RETURN_VALUE ) _HDF5_invoke_compiler( CXX HDF5_CXX_COMPILE_LINE HDF5_CXX_RETURN_VALUE ) _HDF5_invoke_compiler( Fortran HDF5_Fortran_COMPILE_LINE HDF5_Fortran_RETURN_VALUE ) # seed the initial lists of libraries to find with items we know we need set( HDF5_C_LIBRARY_NAMES_INIT hdf5 ) set( HDF5_HL_LIBRARY_NAMES_INIT hdf5_hl ${HDF5_C_LIBRARY_NAMES_INIT} ) set( HDF5_CXX_LIBRARY_NAMES_INIT hdf5_cpp ${HDF5_C_LIBRARY_NAMES_INIT} ) set( HDF5_Fortran_LIBRARY_NAMES_INIT hdf5_fortran ${HDF5_C_LIBRARY_NAMES_INIT} ) set( HDF5_Fortran_HL_LIBRARY_NAMES_INIT hdf5hl_fortran ${HDF5_Fortran_LIBRARY_NAMES_INIT} ) foreach( LANGUAGE ${HDF5_LANGUAGE_BINDINGS} ) if( HDF5_${LANGUAGE}_COMPILE_LINE ) _HDF5_parse_compile_line( HDF5_${LANGUAGE}_COMPILE_LINE HDF5_${LANGUAGE}_INCLUDE_FLAGS HDF5_${LANGUAGE}_DEFINITIONS HDF5_${LANGUAGE}_LIBRARY_DIRS HDF5_${LANGUAGE}_LIBRARY_NAMES ) # take a guess that the includes may be in the 'include' sibling # directory of a library directory. foreach( dir ${HDF5_${LANGUAGE}_LIBRARY_DIRS} ) list( APPEND HDF5_${LANGUAGE}_INCLUDE_FLAGS ${dir}/../include ) endforeach() endif() # set the definitions for the language bindings. list( APPEND HDF5_DEFINITIONS ${HDF5_${LANGUAGE}_DEFINITIONS} ) # find the HDF5 include directories if(${LANGUAGE} MATCHES "Fortran.*") set(HDF5_INCLUDE_FILENAME hdf5.mod) else() set(HDF5_INCLUDE_FILENAME hdf5.h) endif() find_path( HDF5_${LANGUAGE}_INCLUDE_DIR ${HDF5_INCLUDE_FILENAME} HINTS ${HDF5_${LANGUAGE}_INCLUDE_FLAGS} ENV HDF5_ROOT PATHS $ENV{HOME}/.local/include PATH_SUFFIXES include Include ) mark_as_advanced( HDF5_${LANGUAGE}_INCLUDE_DIR ) list( APPEND HDF5_INCLUDE_DIRS ${HDF5_${LANGUAGE}_INCLUDE_DIR} ) set( HDF5_${LANGUAGE}_LIBRARY_NAMES ${HDF5_${LANGUAGE}_LIBRARY_NAMES_INIT} ${HDF5_${LANGUAGE}_LIBRARY_NAMES} ) # find the HDF5 libraries foreach( LIB ${HDF5_${LANGUAGE}_LIBRARY_NAMES} ) if( UNIX AND HDF5_USE_STATIC_LIBRARIES ) # According to bug 1643 on the CMake bug tracker, this is the # preferred method for searching for a static library. # See http://www.cmake.org/Bug/view.php?id=1643. We search # first for the full static library name, but fall back to a # generic search on the name if the static search fails. set( THIS_LIBRARY_SEARCH_DEBUG lib${LIB}d.a ${LIB}d ) set( THIS_LIBRARY_SEARCH_RELEASE lib${LIB}.a ${LIB} ) else() set( THIS_LIBRARY_SEARCH_DEBUG ${LIB}d ) set( THIS_LIBRARY_SEARCH_RELEASE ${LIB} ) endif() find_library( HDF5_${LIB}_LIBRARY_DEBUG NAMES ${THIS_LIBRARY_SEARCH_DEBUG} HINTS ${HDF5_${LANGUAGE}_LIBRARY_DIRS} ENV HDF5_ROOT PATH_SUFFIXES lib Lib ) find_library( HDF5_${LIB}_LIBRARY_RELEASE NAMES ${THIS_LIBRARY_SEARCH_RELEASE} HINTS ${HDF5_${LANGUAGE}_LIBRARY_DIRS} ENV HDF5_ROOT PATH_SUFFIXES lib Lib ) select_library_configurations( HDF5_${LIB} ) list(APPEND HDF5_${LANGUAGE}_LIBRARIES ${HDF5_${LIB}_LIBRARY}) endforeach() list( APPEND HDF5_LIBRARY_DIRS ${HDF5_${LANGUAGE}_LIBRARY_DIRS} ) # Append the libraries for this language binding to the list of all # required libraries. list(APPEND HDF5_LIBRARIES ${HDF5_${LANGUAGE}_LIBRARIES}) endforeach() # We may have picked up some duplicates in various lists during the above # process for the language bindings (both the C and C++ bindings depend on # libz for example). Remove the duplicates. It appears that the default # CMake behavior is to remove duplicates from the end of a list. However, # for link lines, this is incorrect since unresolved symbols are searched # for down the link line. Therefore, we reverse the list, remove the # duplicates, and then reverse it again to get the duplicates removed from # the beginning. macro( _remove_duplicates_from_beginning _list_name ) list( REVERSE ${_list_name} ) list( REMOVE_DUPLICATES ${_list_name} ) list( REVERSE ${_list_name} ) endmacro() if( HDF5_INCLUDE_DIRS ) _remove_duplicates_from_beginning( HDF5_INCLUDE_DIRS ) endif() if( HDF5_LIBRARY_DIRS ) _remove_duplicates_from_beginning( HDF5_LIBRARY_DIRS ) endif() # If the HDF5 include directory was found, open H5pubconf.h to determine if # HDF5 was compiled with parallel IO support set( HDF5_IS_PARALLEL FALSE ) foreach( _dir IN LISTS HDF5_INCLUDE_DIRS ) if( EXISTS "${_dir}/H5pubconf.h" ) file( STRINGS "${_dir}/H5pubconf.h" HDF5_HAVE_PARALLEL_DEFINE REGEX "HAVE_PARALLEL 1" ) if( HDF5_HAVE_PARALLEL_DEFINE ) set( HDF5_IS_PARALLEL TRUE ) endif() endif() endforeach() set( HDF5_IS_PARALLEL ${HDF5_IS_PARALLEL} CACHE BOOL "HDF5 library compiled with parallel IO support" ) mark_as_advanced( HDF5_IS_PARALLEL ) # For backwards compatibility we set HDF5_INCLUDE_DIR to the value of # HDF5_INCLUDE_DIRS if( HDF5_INCLUDE_DIRS ) set( HDF5_INCLUDE_DIR "${HDF5_INCLUDE_DIRS}" ) endif() endif() find_package_handle_standard_args( HDF5 DEFAULT_MSG HDF5_LIBRARIES HDF5_INCLUDE_DIRS ) cmake-2.8.12.2/Modules/FindHg.cmake000644 000765 000024 00000003447 12266011634 017417 0ustar00kitwarestaff000000 000000 # The module defines the following variables: # HG_EXECUTABLE - path to mercurial command line client (hg) # HG_FOUND - true if the command line client was found # HG_VERSION_STRING - the version of mercurial found # Example usage: # find_package(Hg) # if(HG_FOUND) # message("hg found: ${HG_EXECUTABLE}") # endif() #============================================================================= # Copyright 2010-2012 Kitware, Inc. # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(HG_EXECUTABLE NAMES hg PATH_SUFFIXES Mercurial DOC "hg command line client" ) mark_as_advanced(HG_EXECUTABLE) if(HG_EXECUTABLE) execute_process(COMMAND ${HG_EXECUTABLE} --version OUTPUT_VARIABLE hg_version ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) if(hg_version MATCHES "^Mercurial Distributed SCM \\(version ([0-9][^)]*)\\)") set(HG_VERSION_STRING "${CMAKE_MATCH_1}") endif() unset(hg_version) endif() # Handle the QUIETLY and REQUIRED arguments and set HG_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(Hg REQUIRED_VARS HG_EXECUTABLE VERSION_VAR HG_VERSION_STRING) cmake-2.8.12.2/Modules/FindHSPELL.cmake000644 000765 000024 00000004045 12266011634 020043 0ustar00kitwarestaff000000 000000 # - Try to find Hspell # Once done this will define # # HSPELL_FOUND - system has Hspell # HSPELL_INCLUDE_DIR - the Hspell include directory # HSPELL_LIBRARIES - The libraries needed to use Hspell # HSPELL_DEFINITIONS - Compiler switches required for using Hspell # # HSPELL_VERSION_STRING - The version of Hspell found (x.y) # HSPELL_MAJOR_VERSION - the major version of Hspell # HSPELL_MINOR_VERSION - The minor version of Hspell #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(HSPELL_INCLUDE_DIR hspell.h) find_library(HSPELL_LIBRARIES NAMES hspell) if (HSPELL_INCLUDE_DIR) file(STRINGS "${HSPELL_INCLUDE_DIR}/hspell.h" HSPELL_H REGEX "#define HSPELL_VERSION_M(AJO|INO)R [0-9]+") string(REGEX REPLACE ".*#define HSPELL_VERSION_MAJOR ([0-9]+).*" "\\1" HSPELL_VERSION_MAJOR "${HSPELL_H}") string(REGEX REPLACE ".*#define HSPELL_VERSION_MINOR ([0-9]+).*" "\\1" HSPELL_VERSION_MINOR "${HSPELL_H}") set(HSPELL_VERSION_STRING "${HSPELL_VERSION_MAJOR}.${HSPELL_VERSION_MINOR}") unset(HSPELL_H) endif() # handle the QUIETLY and REQUIRED arguments and set HSPELL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(HSPELL REQUIRED_VARS HSPELL_LIBRARIES HSPELL_INCLUDE_DIR VERSION_VAR HSPELL_VERSION_STRING) mark_as_advanced(HSPELL_INCLUDE_DIR HSPELL_LIBRARIES) cmake-2.8.12.2/Modules/FindHTMLHelp.cmake000644 000765 000024 00000003463 12266011634 020434 0ustar00kitwarestaff000000 000000 # - This module looks for Microsoft HTML Help Compiler # It defines: # HTML_HELP_COMPILER : full path to the Compiler (hhc.exe) # HTML_HELP_INCLUDE_PATH : include path to the API (htmlhelp.h) # HTML_HELP_LIBRARY : full path to the library (htmlhelp.lib) # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(WIN32) find_program(HTML_HELP_COMPILER hhc "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]" "$ENV{ProgramFiles}/HTML Help Workshop" "C:/Program Files/HTML Help Workshop" ) get_filename_component(HTML_HELP_COMPILER_PATH "${HTML_HELP_COMPILER}" PATH) find_path(HTML_HELP_INCLUDE_PATH htmlhelp.h "${HTML_HELP_COMPILER_PATH}/include" "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]/include" "$ENV{ProgramFiles}/HTML Help Workshop/include" "C:/Program Files/HTML Help Workshop/include" ) find_library(HTML_HELP_LIBRARY htmlhelp "${HTML_HELP_COMPILER_PATH}/lib" "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]/lib" "$ENV{ProgramFiles}/HTML Help Workshop/lib" "C:/Program Files/HTML Help Workshop/lib" ) mark_as_advanced( HTML_HELP_COMPILER HTML_HELP_INCLUDE_PATH HTML_HELP_LIBRARY ) endif() cmake-2.8.12.2/Modules/FindIcotool.cmake000644 000765 000024 00000003241 12266011634 020461 0ustar00kitwarestaff000000 000000 # - Find icotool # This module looks for icotool. This module defines the # following values: # ICOTOOL_EXECUTABLE: the full path to the icotool tool. # ICOTOOL_FOUND: True if icotool has been found. # ICOTOOL_VERSION_STRING: the version of icotool found. # #============================================================================= # Copyright 2012 Aleksey Avdeev # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(ICOTOOL_EXECUTABLE icotool ) if(ICOTOOL_EXECUTABLE) execute_process( COMMAND ${ICOTOOL_EXECUTABLE} --version OUTPUT_VARIABLE _icotool_version ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE ) if("${_icotool_version}" MATCHES "^icotool \\([^\\)]*\\) ([0-9\\.]+[^ \n]*).*") set( ICOTOOL_VERSION_STRING "${CMAKE_MATCH_1}" ) else() set( ICOTOOL_VERSION_STRING "" ) endif() unset(_icotool_version) endif() # handle the QUIETLY and REQUIRED arguments and set ICOTOOL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS( Icotool REQUIRED_VARS ICOTOOL_EXECUTABLE VERSION_VAR ICOTOOL_VERSION_STRING ) mark_as_advanced( ICOTOOL_EXECUTABLE ) cmake-2.8.12.2/Modules/FindImageMagick.cmake000644 000765 000024 00000023337 12266011634 021217 0ustar00kitwarestaff000000 000000 # - Find the ImageMagick binary suite. # This module will search for a set of ImageMagick tools specified # as components in the FIND_PACKAGE call. Typical components include, # but are not limited to (future versions of ImageMagick might have # additional components not listed here): # # animate # compare # composite # conjure # convert # display # identify # import # mogrify # montage # stream # # If no component is specified in the FIND_PACKAGE call, then it only # searches for the ImageMagick executable directory. This code defines # the following variables: # # ImageMagick_FOUND - TRUE if all components are found. # ImageMagick_EXECUTABLE_DIR - Full path to executables directory. # ImageMagick__FOUND - TRUE if is found. # ImageMagick__EXECUTABLE - Full path to executable. # ImageMagick_VERSION_STRING - the version of ImageMagick found # (since CMake 2.8.8) # # ImageMagick_VERSION_STRING will not work for old versions like 5.2.3. # # There are also components for the following ImageMagick APIs: # # Magick++ # MagickWand # MagickCore # # For these components the following variables are set: # # ImageMagick_FOUND - TRUE if all components are found. # ImageMagick_INCLUDE_DIRS - Full paths to all include dirs. # ImageMagick_LIBRARIES - Full paths to all libraries. # ImageMagick__FOUND - TRUE if is found. # ImageMagick__INCLUDE_DIRS - Full path to include dirs. # ImageMagick__LIBRARIES - Full path to libraries. # # Example Usages: # find_package(ImageMagick) # find_package(ImageMagick COMPONENTS convert) # find_package(ImageMagick COMPONENTS convert mogrify display) # find_package(ImageMagick COMPONENTS Magick++) # find_package(ImageMagick COMPONENTS Magick++ convert) # # Note that the standard FIND_PACKAGE features are supported # (i.e., QUIET, REQUIRED, etc.). #============================================================================= # Copyright 2007-2009 Kitware, Inc. # Copyright 2007-2008 Miguel A. Figueroa-Villanueva # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) #--------------------------------------------------------------------- # Helper functions #--------------------------------------------------------------------- function(FIND_IMAGEMAGICK_API component header) set(ImageMagick_${component}_FOUND FALSE PARENT_SCOPE) find_path(ImageMagick_${component}_INCLUDE_DIR NAMES ${header} PATHS ${ImageMagick_INCLUDE_DIRS} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include" PATH_SUFFIXES ImageMagick ImageMagick-6 DOC "Path to the ImageMagick include dir." ) find_library(ImageMagick_${component}_LIBRARY NAMES ${ARGN} PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/lib" DOC "Path to the ImageMagick Magick++ library." ) if(ImageMagick_${component}_INCLUDE_DIR AND ImageMagick_${component}_LIBRARY) set(ImageMagick_${component}_FOUND TRUE PARENT_SCOPE) list(APPEND ImageMagick_INCLUDE_DIRS ${ImageMagick_${component}_INCLUDE_DIR} ) list(REMOVE_DUPLICATES ImageMagick_INCLUDE_DIRS) set(ImageMagick_INCLUDE_DIRS ${ImageMagick_INCLUDE_DIRS} PARENT_SCOPE) list(APPEND ImageMagick_LIBRARIES ${ImageMagick_${component}_LIBRARY} ) set(ImageMagick_LIBRARIES ${ImageMagick_LIBRARIES} PARENT_SCOPE) endif() endfunction() function(FIND_IMAGEMAGICK_EXE component) set(_IMAGEMAGICK_EXECUTABLE ${ImageMagick_EXECUTABLE_DIR}/${component}${CMAKE_EXECUTABLE_SUFFIX}) if(EXISTS ${_IMAGEMAGICK_EXECUTABLE}) set(ImageMagick_${component}_EXECUTABLE ${_IMAGEMAGICK_EXECUTABLE} PARENT_SCOPE ) set(ImageMagick_${component}_FOUND TRUE PARENT_SCOPE) else() set(ImageMagick_${component}_FOUND FALSE PARENT_SCOPE) endif() endfunction() #--------------------------------------------------------------------- # Start Actual Work #--------------------------------------------------------------------- # Try to find a ImageMagick installation binary path. find_path(ImageMagick_EXECUTABLE_DIR NAMES mogrify${CMAKE_EXECUTABLE_SUFFIX} PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]" DOC "Path to the ImageMagick binary directory." NO_DEFAULT_PATH ) find_path(ImageMagick_EXECUTABLE_DIR NAMES mogrify${CMAKE_EXECUTABLE_SUFFIX} ) # Find each component. Search for all tools in same dir # ; otherwise they should be found # independently and not in a cohesive module such as this one. unset(ImageMagick_REQUIRED_VARS) unset(ImageMagick_DEFAULT_EXECUTABLES) foreach(component ${ImageMagick_FIND_COMPONENTS} # DEPRECATED: forced components for backward compatibility convert mogrify import montage composite ) if(component STREQUAL "Magick++") FIND_IMAGEMAGICK_API(Magick++ Magick++.h Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI ) list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_Magick++_LIBRARY) elseif(component STREQUAL "MagickWand") FIND_IMAGEMAGICK_API(MagickWand wand/MagickWand.h Wand MagickWand CORE_RL_wand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI ) list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickWand_LIBRARY) elseif(component STREQUAL "MagickCore") FIND_IMAGEMAGICK_API(MagickCore magick/MagickCore.h Magick MagickCore CORE_RL_magick_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI ) list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickCore_LIBRARY) else() if(ImageMagick_EXECUTABLE_DIR) FIND_IMAGEMAGICK_EXE(${component}) endif() if(ImageMagick_FIND_COMPONENTS) list(FIND ImageMagick_FIND_COMPONENTS ${component} is_requested) if(is_requested GREATER -1) list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_${component}_EXECUTABLE) endif() elseif(ImageMagick_${component}_EXECUTABLE) # if no components were requested explicitly put all (default) executables # in the list list(APPEND ImageMagick_DEFAULT_EXECUTABLES ImageMagick_${component}_EXECUTABLE) endif() endif() endforeach() if(NOT ImageMagick_FIND_COMPONENTS AND NOT ImageMagick_DEFAULT_EXECUTABLES) # No components were requested, and none of the default components were # found. Just insert mogrify into the list of the default components to # find so FPHSA below has something to check list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_mogrify_EXECUTABLE) elseif(ImageMagick_DEFAULT_EXECUTABLES) list(APPEND ImageMagick_REQUIRED_VARS ${ImageMagick_DEFAULT_EXECUTABLES}) endif() set(ImageMagick_INCLUDE_DIRS ${ImageMagick_INCLUDE_DIRS}) set(ImageMagick_LIBRARIES ${ImageMagick_LIBRARIES}) if(ImageMagick_mogrify_EXECUTABLE) execute_process(COMMAND ${ImageMagick_mogrify_EXECUTABLE} -version OUTPUT_VARIABLE imagemagick_version ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) if(imagemagick_version MATCHES "^Version: ImageMagick [0-9]") string(REGEX REPLACE "^Version: ImageMagick ([-0-9\\.]+).*" "\\1" ImageMagick_VERSION_STRING "${imagemagick_version}") endif() unset(imagemagick_version) endif() #--------------------------------------------------------------------- # Standard Package Output #--------------------------------------------------------------------- include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(ImageMagick REQUIRED_VARS ${ImageMagick_REQUIRED_VARS} VERSION_VAR ImageMagick_VERSION_STRING ) # Maintain consistency with all other variables. set(ImageMagick_FOUND ${IMAGEMAGICK_FOUND}) #--------------------------------------------------------------------- # DEPRECATED: Setting variables for backward compatibility. #--------------------------------------------------------------------- set(IMAGEMAGICK_BINARY_PATH ${ImageMagick_EXECUTABLE_DIR} CACHE PATH "Path to the ImageMagick binary directory.") set(IMAGEMAGICK_CONVERT_EXECUTABLE ${ImageMagick_convert_EXECUTABLE} CACHE FILEPATH "Path to ImageMagick's convert executable.") set(IMAGEMAGICK_MOGRIFY_EXECUTABLE ${ImageMagick_mogrify_EXECUTABLE} CACHE FILEPATH "Path to ImageMagick's mogrify executable.") set(IMAGEMAGICK_IMPORT_EXECUTABLE ${ImageMagick_import_EXECUTABLE} CACHE FILEPATH "Path to ImageMagick's import executable.") set(IMAGEMAGICK_MONTAGE_EXECUTABLE ${ImageMagick_montage_EXECUTABLE} CACHE FILEPATH "Path to ImageMagick's montage executable.") set(IMAGEMAGICK_COMPOSITE_EXECUTABLE ${ImageMagick_composite_EXECUTABLE} CACHE FILEPATH "Path to ImageMagick's composite executable.") mark_as_advanced( IMAGEMAGICK_BINARY_PATH IMAGEMAGICK_CONVERT_EXECUTABLE IMAGEMAGICK_MOGRIFY_EXECUTABLE IMAGEMAGICK_IMPORT_EXECUTABLE IMAGEMAGICK_MONTAGE_EXECUTABLE IMAGEMAGICK_COMPOSITE_EXECUTABLE ) cmake-2.8.12.2/Modules/FindITK.cmake000644 000765 000024 00000004301 12266011634 017476 0ustar00kitwarestaff000000 000000 # - Find an ITK installation or build tree. # When ITK is found, the ITKConfig.cmake file is sourced to setup the # location and configuration of ITK. Please read this file, or # ITKConfig.cmake.in from the ITK source tree for the full list of # definitions. Of particular interest is ITK_USE_FILE, a CMake source file # that can be included to set the include directories, library directories, # and preprocessor macros. In addition to the variables read from # ITKConfig.cmake, this find module also defines # ITK_DIR - The directory containing ITKConfig.cmake. # This is either the root of the build tree, # or the lib/InsightToolkit directory. # This is the only cache entry. # # ITK_FOUND - Whether ITK was found. If this is true, # ITK_DIR is okay. # # USE_ITK_FILE - The full path to the UseITK.cmake file. # This is provided for backward # compatibility. Use ITK_USE_FILE # instead. #============================================================================= # Copyright 2001-2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Use the Config mode of the find_package() command to find ITKConfig. # If this succeeds (possibly because ITK_DIR is already set), the # command will have already loaded ITKConfig.cmake and set ITK_FOUND. if(NOT ITK_FOUND) set(_ITK_REQUIRED "") if(ITK_FIND_REQUIRED) set(_ITK_REQUIRED REQUIRED) endif() set(_ITK_QUIET "") if(ITK_FIND_QUIETLY) set(_ITK_QUIET QUIET) endif() find_package(ITK ${_ITK_REQUIRED} ${_ITK_QUIET} NO_MODULE NAMES ITK InsightToolkit CONFIGS ITKConfig.cmake ) endif() if(ITK_FOUND) # Set USE_ITK_FILE for backward-compatibility. set(USE_ITK_FILE ${ITK_USE_FILE}) endif() cmake-2.8.12.2/Modules/FindJasper.cmake000644 000765 000024 00000004245 12266011634 020302 0ustar00kitwarestaff000000 000000 # - Try to find the Jasper JPEG2000 library # Once done this will define # # JASPER_FOUND - system has Jasper # JASPER_INCLUDE_DIR - the Jasper include directory # JASPER_LIBRARIES - the libraries needed to use Jasper # JASPER_VERSION_STRING - the version of Jasper found (since CMake 2.8.8) #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(JASPER_INCLUDE_DIR jasper/jasper.h) if (NOT JASPER_LIBRARIES) find_package(JPEG) find_library(JASPER_LIBRARY_RELEASE NAMES jasper libjasper) find_library(JASPER_LIBRARY_DEBUG NAMES jasperd) include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) SELECT_LIBRARY_CONFIGURATIONS(JASPER) endif () if (JASPER_INCLUDE_DIR AND EXISTS "${JASPER_INCLUDE_DIR}/jasper/jas_config.h") file(STRINGS "${JASPER_INCLUDE_DIR}/jasper/jas_config.h" jasper_version_str REGEX "^#define[\t ]+JAS_VERSION[\t ]+\".*\".*") string(REGEX REPLACE "^#define[\t ]+JAS_VERSION[\t ]+\"([^\"]+)\".*" "\\1" JASPER_VERSION_STRING "${jasper_version_str}") endif () # handle the QUIETLY and REQUIRED arguments and set JASPER_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Jasper REQUIRED_VARS JASPER_LIBRARIES JASPER_INCLUDE_DIR JPEG_LIBRARIES VERSION_VAR JASPER_VERSION_STRING) if (JASPER_FOUND) set(JASPER_LIBRARIES ${JASPER_LIBRARIES} ${JPEG_LIBRARIES} ) endif () mark_as_advanced(JASPER_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindJava.cmake000644 000765 000024 00000017526 12266011634 017745 0ustar00kitwarestaff000000 000000 # - Find Java # This module finds if Java is installed and determines where the # include files and libraries are. This code sets the following # variables: # # Java_JAVA_EXECUTABLE = the full path to the Java runtime # Java_JAVAC_EXECUTABLE = the full path to the Java compiler # Java_JAVAH_EXECUTABLE = the full path to the Java header generator # Java_JAVADOC_EXECUTABLE = the full path to the Java documention generator # Java_JAR_EXECUTABLE = the full path to the Java archiver # Java_VERSION_STRING = Version of the package found (java version), eg. 1.6.0_12 # Java_VERSION_MAJOR = The major version of the package found. # Java_VERSION_MINOR = The minor version of the package found. # Java_VERSION_PATCH = The patch version of the package found. # Java_VERSION_TWEAK = The tweak version of the package found (after '_') # Java_VERSION = This is set to: $major.$minor.$patch(.$tweak) # # The minimum required version of Java can be specified using the # standard CMake syntax, e.g. find_package(Java 1.5) # # NOTE: ${Java_VERSION} and ${Java_VERSION_STRING} are not guaranteed to be # identical. For example some java version may return: # Java_VERSION_STRING = 1.5.0_17 # and # Java_VERSION = 1.5.0.17 # # another example is the Java OEM, with: # Java_VERSION_STRING = 1.6.0-oem # and # Java_VERSION = 1.6.0 # # For these components the following variables are set: # # Java_FOUND - TRUE if all components are found. # Java_INCLUDE_DIRS - Full paths to all include dirs. # Java_LIBRARIES - Full paths to all libraries. # Java__FOUND - TRUE if is found. # # Example Usages: # find_package(Java) # find_package(Java COMPONENTS Runtime) # find_package(Java COMPONENTS Development) # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # Copyright 2009-2011 Mathieu Malaterre # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # The HINTS option should only be used for values computed from the system. set(_JAVA_HINTS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\2.0;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.9;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.8;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.7;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.6;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.5;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin" $ENV{JAVA_HOME}/bin ) # Hard-coded guesses should still go in PATHS. This ensures that the user # environment can always override hard guesses. set(_JAVA_PATHS /usr/lib/java/bin /usr/share/java/bin /usr/local/java/bin /usr/local/java/share/bin /usr/java/j2sdk1.4.2_04 /usr/lib/j2sdk1.4-sun/bin /usr/java/j2sdk1.4.2_09/bin /usr/lib/j2sdk1.5-sun/bin /opt/sun-jdk-1.5.0.04/bin /usr/local/jdk-1.7.0/bin /usr/local/jdk-1.6.0/bin ) find_program(Java_JAVA_EXECUTABLE NAMES java HINTS ${_JAVA_HINTS} PATHS ${_JAVA_PATHS} ) if(Java_JAVA_EXECUTABLE) execute_process(COMMAND ${Java_JAVA_EXECUTABLE} -version RESULT_VARIABLE res OUTPUT_VARIABLE var ERROR_VARIABLE var # sun-java output to stderr OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE) if( res ) if(${Java_FIND_REQUIRED}) message( FATAL_ERROR "Error executing java -version" ) else() message( STATUS "Warning, could not run java --version") endif() else() # extract major/minor version and patch level from "java -version" output # Tested on linux using # 1. Sun / Sun OEM # 2. OpenJDK 1.6 # 3. GCJ 1.5 # 4. Kaffe 1.4.2 # 5. OpenJDK 1.7.x on OpenBSD if(var MATCHES "java version \"[0-9]+\\.[0-9]+\\.[0-9_.]+.*\".*") # This is most likely Sun / OpenJDK, or maybe GCJ-java compat layer string( REGEX REPLACE ".* version \"([0-9]+\\.[0-9]+\\.[0-9_.]+.*)\".*" "\\1" Java_VERSION_STRING "${var}" ) elseif(var MATCHES "java full version \"kaffe-[0-9]+\\.[0-9]+\\.[0-9_]+\".*") # Kaffe style string( REGEX REPLACE "java full version \"kaffe-([0-9]+\\.[0-9]+\\.[0-9_]+).*" "\\1" Java_VERSION_STRING "${var}" ) elseif(var MATCHES "openjdk version \"[0-9]+\\.[0-9]+\\.[0-9_]+\".*") # OpenJDK ver 1.7.x on OpenBSD string( REGEX REPLACE "openjdk version \"([0-9]+\\.[0-9]+\\.[0-9_]+).*" "\\1" Java_VERSION_STRING "${var}" ) else() if(NOT Java_FIND_QUIETLY) message(WARNING "regex not supported: ${var}. Please report") endif() endif() string( REGEX REPLACE "([0-9]+).*" "\\1" Java_VERSION_MAJOR "${Java_VERSION_STRING}" ) string( REGEX REPLACE "[0-9]+\\.([0-9]+).*" "\\1" Java_VERSION_MINOR "${Java_VERSION_STRING}" ) string( REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" Java_VERSION_PATCH "${Java_VERSION_STRING}" ) # warning tweak version can be empty: string( REGEX REPLACE "[0-9]+\\.[0-9]+\\.[0-9]+[_\\.]?([0-9]*).*$" "\\1" Java_VERSION_TWEAK "${Java_VERSION_STRING}" ) if( Java_VERSION_TWEAK STREQUAL "" ) # check case where tweak is not defined set(Java_VERSION ${Java_VERSION_MAJOR}.${Java_VERSION_MINOR}.${Java_VERSION_PATCH}) else() set(Java_VERSION ${Java_VERSION_MAJOR}.${Java_VERSION_MINOR}.${Java_VERSION_PATCH}.${Java_VERSION_TWEAK}) endif() endif() endif() find_program(Java_JAR_EXECUTABLE NAMES jar HINTS ${_JAVA_HINTS} PATHS ${_JAVA_PATHS} ) find_program(Java_JAVAC_EXECUTABLE NAMES javac HINTS ${_JAVA_HINTS} PATHS ${_JAVA_PATHS} ) find_program(Java_JAVAH_EXECUTABLE NAMES javah HINTS ${_JAVA_HINTS} PATHS ${_JAVA_PATHS} ) find_program(Java_JAVADOC_EXECUTABLE NAMES javadoc HINTS ${_JAVA_HINTS} PATHS ${_JAVA_PATHS} ) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) if(Java_FIND_COMPONENTS) foreach(component ${Java_FIND_COMPONENTS}) # User just want to execute some Java byte-compiled if(component STREQUAL "Runtime") find_package_handle_standard_args(Java REQUIRED_VARS Java_JAVA_EXECUTABLE VERSION_VAR Java_VERSION ) elseif(component STREQUAL "Development") find_package_handle_standard_args(Java REQUIRED_VARS Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE VERSION_VAR Java_VERSION ) else() message(FATAL_ERROR "Comp: ${component} is not handled") endif() set(Java_${component}_FOUND TRUE) endforeach() else() # Check for everything find_package_handle_standard_args(Java REQUIRED_VARS Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE VERSION_VAR Java_VERSION ) endif() mark_as_advanced( Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE ) # LEGACY set(JAVA_RUNTIME ${Java_JAVA_EXECUTABLE}) set(JAVA_ARCHIVE ${Java_JAR_EXECUTABLE}) set(JAVA_COMPILE ${Java_JAVAC_EXECUTABLE}) cmake-2.8.12.2/Modules/FindJNI.cmake000644 000765 000024 00000023513 12266011634 017475 0ustar00kitwarestaff000000 000000 # - Find JNI java libraries. # This module finds if Java is installed and determines where the # include files and libraries are. It also determines what the name of # the library is. This code sets the following variables: # # JNI_INCLUDE_DIRS = the include dirs to use # JNI_LIBRARIES = the libraries to use # JNI_FOUND = TRUE if JNI headers and libraries were found. # JAVA_AWT_LIBRARY = the path to the jawt library # JAVA_JVM_LIBRARY = the path to the jvm library # JAVA_INCLUDE_PATH = the include path to jni.h # JAVA_INCLUDE_PATH2 = the include path to jni_md.h # JAVA_AWT_INCLUDE_PATH = the include path to jawt.h # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Expand {libarch} occurences to java_libarch subdirectory(-ies) and set ${_var} macro(java_append_library_directories _var) # Determine java arch-specific library subdir # Mostly based on openjdk/jdk/make/common/shared/Platform.gmk as of openjdk # 1.6.0_18 + icedtea patches. However, it would be much better to base the # guess on the first part of the GNU config.guess platform triplet. if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") set(_java_libarch "amd64") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$") set(_java_libarch "i386") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^alpha") set(_java_libarch "alpha") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") # Subdir is "arm" for both big-endian (arm) and little-endian (armel). set(_java_libarch "arm") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^mips") # mips* machines are bi-endian mostly so processor does not tell # endianess of the underlying system. set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64") set(_java_libarch "ppc64") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)") set(_java_libarch "ppc") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc") # Both flavours can run on the same processor set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "sparc" "sparcv9") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(parisc|hppa)") set(_java_libarch "parisc" "parisc64") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^s390") # s390 binaries can run on s390x machines set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "s390" "s390x") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^sh") set(_java_libarch "sh") else() set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}") endif() # Append default list architectures if CMAKE_SYSTEM_PROCESSOR was empty or # system is non-Linux (where the code above has not been well tested) if(NOT _java_libarch OR NOT (CMAKE_SYSTEM_NAME MATCHES "Linux")) list(APPEND _java_libarch "i386" "amd64" "ppc") endif() # Sometimes ${CMAKE_SYSTEM_PROCESSOR} is added to the list to prefer # current value to a hardcoded list. Remove possible duplicates. list(REMOVE_DUPLICATES _java_libarch) foreach(_path ${ARGN}) if(_path MATCHES "{libarch}") foreach(_libarch ${_java_libarch}) string(REPLACE "{libarch}" "${_libarch}" _newpath "${_path}") list(APPEND ${_var} "${_newpath}") endforeach() else() list(APPEND ${_var} "${_path}") endif() endforeach() endmacro() get_filename_component(java_install_version "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit;CurrentVersion]" NAME) set(JAVA_AWT_LIBRARY_DIRECTORIES "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/lib" ) file(TO_CMAKE_PATH "$ENV{JAVA_HOME}" _JAVA_HOME) JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES ${_JAVA_HOME}/jre/lib/{libarch} ${_JAVA_HOME}/jre/lib ${_JAVA_HOME}/lib ${_JAVA_HOME} /usr/lib /usr/local/lib /usr/lib/jvm/java/lib /usr/lib/java/jre/lib/{libarch} /usr/lib/jvm/jre/lib/{libarch} /usr/local/lib/java/jre/lib/{libarch} /usr/local/share/java/jre/lib/{libarch} /usr/lib/j2sdk1.4-sun/jre/lib/{libarch} /usr/lib/j2sdk1.5-sun/jre/lib/{libarch} /opt/sun-jdk-1.5.0.04/jre/lib/{libarch} /usr/lib/jvm/java-6-sun/jre/lib/{libarch} /usr/lib/jvm/java-1.5.0-sun/jre/lib/{libarch} /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/{libarch} # can this one be removed according to #8821 ? Alex /usr/lib/jvm/java-6-openjdk/jre/lib/{libarch} /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/{libarch} # fedora # Debian specific paths for default JVM /usr/lib/jvm/default-java/jre/lib/{libarch} /usr/lib/jvm/default-java/jre/lib /usr/lib/jvm/default-java/lib # OpenBSD specific paths for default JVM /usr/local/jdk-1.7.0/jre/lib/{libarch} /usr/local/jre-1.7.0/lib/{libarch} /usr/local/jdk-1.6.0/jre/lib/{libarch} /usr/local/jre-1.6.0/lib/{libarch} ) set(JAVA_JVM_LIBRARY_DIRECTORIES) foreach(dir ${JAVA_AWT_LIBRARY_DIRECTORIES}) set(JAVA_JVM_LIBRARY_DIRECTORIES ${JAVA_JVM_LIBRARY_DIRECTORIES} "${dir}" "${dir}/client" "${dir}/server" ) endforeach() set(JAVA_AWT_INCLUDE_DIRECTORIES "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/include" ${_JAVA_HOME}/include /usr/include /usr/local/include /usr/lib/java/include /usr/local/lib/java/include /usr/lib/jvm/java/include /usr/lib/jvm/java-6-sun/include /usr/lib/jvm/java-1.5.0-sun/include /usr/lib/jvm/java-6-sun-1.6.0.00/include # can this one be removed according to #8821 ? Alex /usr/lib/jvm/java-6-openjdk/include /usr/local/share/java/include /usr/lib/j2sdk1.4-sun/include /usr/lib/j2sdk1.5-sun/include /opt/sun-jdk-1.5.0.04/include # Debian specific path for default JVM /usr/lib/jvm/default-java/include # OpenBSD specific path for default JVM /usr/local/jdk-1.7.0/include /usr/local/jdk-1.6.0/include ) foreach(JAVA_PROG "${JAVA_RUNTIME}" "${JAVA_COMPILE}" "${JAVA_ARCHIVE}") get_filename_component(jpath "${JAVA_PROG}" PATH) foreach(JAVA_INC_PATH ../include ../java/include ../share/java/include) if(EXISTS ${jpath}/${JAVA_INC_PATH}) set(JAVA_AWT_INCLUDE_DIRECTORIES ${JAVA_AWT_INCLUDE_DIRECTORIES} "${jpath}/${JAVA_INC_PATH}") endif() endforeach() foreach(JAVA_LIB_PATH ../lib ../jre/lib ../jre/lib/i386 ../java/lib ../java/jre/lib ../java/jre/lib/i386 ../share/java/lib ../share/java/jre/lib ../share/java/jre/lib/i386) if(EXISTS ${jpath}/${JAVA_LIB_PATH}) set(JAVA_AWT_LIBRARY_DIRECTORIES ${JAVA_AWT_LIBRARY_DIRECTORIES} "${jpath}/${JAVA_LIB_PATH}") endif() endforeach() endforeach() if(APPLE) if(EXISTS ~/Library/Frameworks/JavaVM.framework) set(JAVA_HAVE_FRAMEWORK 1) endif() if(EXISTS /Library/Frameworks/JavaVM.framework) set(JAVA_HAVE_FRAMEWORK 1) endif() if(EXISTS /System/Library/Frameworks/JavaVM.framework) set(JAVA_HAVE_FRAMEWORK 1) endif() if(JAVA_HAVE_FRAMEWORK) if(NOT JAVA_AWT_LIBRARY) set (JAVA_AWT_LIBRARY "-framework JavaVM" CACHE FILEPATH "Java Frameworks" FORCE) endif() if(NOT JAVA_JVM_LIBRARY) set (JAVA_JVM_LIBRARY "-framework JavaVM" CACHE FILEPATH "Java Frameworks" FORCE) endif() if(NOT JAVA_AWT_INCLUDE_PATH) if(EXISTS /System/Library/Frameworks/JavaVM.framework/Headers/jawt.h) set (JAVA_AWT_INCLUDE_PATH "/System/Library/Frameworks/JavaVM.framework/Headers" CACHE FILEPATH "jawt.h location" FORCE) endif() endif() # If using "-framework JavaVM", prefer its headers *before* the others in # JAVA_AWT_INCLUDE_DIRECTORIES... (*prepend* to the list here) # set(JAVA_AWT_INCLUDE_DIRECTORIES ~/Library/Frameworks/JavaVM.framework/Headers /Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers ${JAVA_AWT_INCLUDE_DIRECTORIES} ) endif() else() find_library(JAVA_AWT_LIBRARY jawt PATHS ${JAVA_AWT_LIBRARY_DIRECTORIES} ) find_library(JAVA_JVM_LIBRARY NAMES jvm JavaVM PATHS ${JAVA_JVM_LIBRARY_DIRECTORIES} ) endif() # add in the include path find_path(JAVA_INCLUDE_PATH jni.h ${JAVA_AWT_INCLUDE_DIRECTORIES} ) find_path(JAVA_INCLUDE_PATH2 jni_md.h ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH}/win32 ${JAVA_INCLUDE_PATH}/linux ${JAVA_INCLUDE_PATH}/freebsd ${JAVA_INCLUDE_PATH}/openbsd ${JAVA_INCLUDE_PATH}/solaris ${JAVA_INCLUDE_PATH}/hp-ux ${JAVA_INCLUDE_PATH}/alpha ) find_path(JAVA_AWT_INCLUDE_PATH jawt.h ${JAVA_INCLUDE_PATH} ) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(JNI DEFAULT_MSG JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) mark_as_advanced( JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_AWT_INCLUDE_PATH JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 ) set(JNI_LIBRARIES ${JAVA_AWT_LIBRARY} ${JAVA_JVM_LIBRARY} ) set(JNI_INCLUDE_DIRS ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2} ${JAVA_AWT_INCLUDE_PATH} ) cmake-2.8.12.2/Modules/FindJPEG.cmake000644 000765 000024 00000003103 12266011634 017573 0ustar00kitwarestaff000000 000000 # - Find JPEG # Find the native JPEG includes and library # This module defines # JPEG_INCLUDE_DIR, where to find jpeglib.h, etc. # JPEG_LIBRARIES, the libraries needed to use JPEG. # JPEG_FOUND, If false, do not try to use JPEG. # also defined, but not for general use are # JPEG_LIBRARY, where to find the JPEG library. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(JPEG_INCLUDE_DIR jpeglib.h) set(JPEG_NAMES ${JPEG_NAMES} jpeg) find_library(JPEG_LIBRARY NAMES ${JPEG_NAMES} ) # handle the QUIETLY and REQUIRED arguments and set JPEG_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(JPEG DEFAULT_MSG JPEG_LIBRARY JPEG_INCLUDE_DIR) if(JPEG_FOUND) set(JPEG_LIBRARIES ${JPEG_LIBRARY}) endif() # Deprecated declarations. set (NATIVE_JPEG_INCLUDE_PATH ${JPEG_INCLUDE_DIR} ) if(JPEG_LIBRARY) get_filename_component (NATIVE_JPEG_LIB_PATH ${JPEG_LIBRARY} PATH) endif() mark_as_advanced(JPEG_LIBRARY JPEG_INCLUDE_DIR ) cmake-2.8.12.2/Modules/FindKDE3.cmake000644 000765 000024 00000024421 12266011634 017542 0ustar00kitwarestaff000000 000000 # - Find the KDE3 include and library dirs, KDE preprocessors and define a some macros # # This module defines the following variables: # KDE3_DEFINITIONS - compiler definitions required for compiling KDE software # KDE3_INCLUDE_DIR - the KDE include directory # KDE3_INCLUDE_DIRS - the KDE and the Qt include directory, for use with include_directories() # KDE3_LIB_DIR - the directory where the KDE libraries are installed, for use with link_directories() # QT_AND_KDECORE_LIBS - this contains both the Qt and the kdecore library # KDE3_DCOPIDL_EXECUTABLE - the dcopidl executable # KDE3_DCOPIDL2CPP_EXECUTABLE - the dcopidl2cpp executable # KDE3_KCFGC_EXECUTABLE - the kconfig_compiler executable # KDE3_FOUND - set to TRUE if all of the above has been found # # The following user adjustable options are provided: # # KDE3_BUILD_TESTS - enable this to build KDE testcases # # # It also adds the following macros (from KDE3Macros.cmake) # SRCS_VAR is always the variable which contains the list of source files for your application or library. # # KDE3_AUTOMOC(file1 ... fileN) # Call this if you want to have automatic moc file handling. # This means if you include "foo.moc" in the source file foo.cpp # a moc file for the header foo.h will be created automatically. # You can set the property SKIP_AUTOMAKE using set_source_files_properties() # to exclude some files in the list from being processed. # # KDE3_ADD_MOC_FILES(SRCS_VAR file1 ... fileN ) # If you don't use the KDE3_AUTOMOC() macro, for the files # listed here moc files will be created (named "foo.moc.cpp") # # KDE3_ADD_DCOP_SKELS(SRCS_VAR header1.h ... headerN.h ) # Use this to generate DCOP skeletions from the listed headers. # # KDE3_ADD_DCOP_STUBS(SRCS_VAR header1.h ... headerN.h ) # Use this to generate DCOP stubs from the listed headers. # # KDE3_ADD_UI_FILES(SRCS_VAR file1.ui ... fileN.ui ) # Use this to add the Qt designer ui files to your application/library. # # KDE3_ADD_KCFG_FILES(SRCS_VAR file1.kcfgc ... fileN.kcfgc ) # Use this to add KDE kconfig compiler files to your application/library. # # KDE3_INSTALL_LIBTOOL_FILE(target) # This will create and install a simple libtool file for the given target. # # KDE3_ADD_EXECUTABLE(name file1 ... fileN ) # Currently identical to add_executable(), may provide some advanced features in the future. # # KDE3_ADD_KPART(name [WITH_PREFIX] file1 ... fileN ) # Create a KDE plugin (KPart, kioslave, etc.) from the given source files. # If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't. # It creates and installs an appropriate libtool la-file. # # KDE3_ADD_KDEINIT_EXECUTABLE(name file1 ... fileN ) # Create a KDE application in the form of a module loadable via kdeinit. # A library named kdeinit_ will be created and a small executable which links to it. # # The option KDE3_ENABLE_FINAL to enable all-in-one compilation is # no longer supported. # # # Author: Alexander Neundorf #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT UNIX AND KDE3_FIND_REQUIRED) message(FATAL_ERROR "Compiling KDE3 applications and libraries under Windows is not supported") endif() # If Qt4 has already been found, fail. if(QT4_FOUND) if(KDE3_FIND_REQUIRED) message( FATAL_ERROR "KDE3/Qt3 and Qt4 cannot be used together in one project.") else() if(NOT KDE3_FIND_QUIETLY) message( STATUS "KDE3/Qt3 and Qt4 cannot be used together in one project.") endif() return() endif() endif() set(QT_MT_REQUIRED TRUE) #set(QT_MIN_VERSION "3.0.0") #this line includes FindQt.cmake, which searches the Qt library and headers if(KDE3_FIND_REQUIRED) set(_REQ_STRING_KDE3 "REQUIRED") endif() find_package(Qt3 ${_REQ_STRING_KDE3}) find_package(X11 ${_REQ_STRING_KDE3}) #now try to find some kde stuff find_program(KDECONFIG_EXECUTABLE NAMES kde-config HINTS $ENV{KDEDIR}/bin PATHS /opt/kde3/bin /opt/kde/bin ) set(KDE3PREFIX) if(KDECONFIG_EXECUTABLE) execute_process(COMMAND ${KDECONFIG_EXECUTABLE} --version OUTPUT_VARIABLE kde_config_version ) string(REGEX MATCH "KDE: .\\." kde_version "${kde_config_version}") if ("${kde_version}" MATCHES "KDE: 3\\.") execute_process(COMMAND ${KDECONFIG_EXECUTABLE} --prefix OUTPUT_VARIABLE kdedir ) string(REGEX REPLACE "\n" "" KDE3PREFIX "${kdedir}") endif () endif() # at first the KDE include directory # kpassdlg.h comes from kdeui and doesn't exist in KDE4 anymore find_path(KDE3_INCLUDE_DIR kpassdlg.h HINTS $ENV{KDEDIR}/include ${KDE3PREFIX}/include PATHS /opt/kde3/include /opt/kde/include /usr/include/kde /usr/local/include/kde ) #now the KDE library directory find_library(KDE3_KDECORE_LIBRARY NAMES kdecore HINTS $ENV{KDEDIR}/lib ${KDE3PREFIX}/lib PATHS /opt/kde3/lib /opt/kde/lib ) set(QT_AND_KDECORE_LIBS ${QT_LIBRARIES} ${KDE3_KDECORE_LIBRARY}) get_filename_component(KDE3_LIB_DIR ${KDE3_KDECORE_LIBRARY} PATH ) if(NOT KDE3_LIBTOOL_DIR) if(KDE3_KDECORE_LIBRARY MATCHES lib64) set(KDE3_LIBTOOL_DIR /lib64/kde3) else() set(KDE3_LIBTOOL_DIR /lib/kde3) endif() endif() #now search for the dcop utilities find_program(KDE3_DCOPIDL_EXECUTABLE NAMES dcopidl HINTS $ENV{KDEDIR}/bin ${KDE3PREFIX}/bin PATHS /opt/kde3/bin /opt/kde/bin ) find_program(KDE3_DCOPIDL2CPP_EXECUTABLE NAMES dcopidl2cpp HINTS $ENV{KDEDIR}/bin ${KDE3PREFIX}/bin PATHS /opt/kde3/bin /opt/kde/bin ) find_program(KDE3_KCFGC_EXECUTABLE NAMES kconfig_compiler HINTS $ENV{KDEDIR}/bin ${KDE3PREFIX}/bin PATHS /opt/kde3/bin /opt/kde/bin ) #SET KDE3_FOUND if (KDE3_INCLUDE_DIR AND KDE3_LIB_DIR AND KDE3_DCOPIDL_EXECUTABLE AND KDE3_DCOPIDL2CPP_EXECUTABLE AND KDE3_KCFGC_EXECUTABLE) set(KDE3_FOUND TRUE) else () set(KDE3_FOUND FALSE) endif () # add some KDE specific stuff set(KDE3_DEFINITIONS -DQT_CLEAN_NAMESPACE -D_GNU_SOURCE) # set compiler flags only if KDE3 has actually been found if(KDE3_FOUND) set(_KDE3_USE_FLAGS FALSE) if(CMAKE_COMPILER_IS_GNUCXX) set(_KDE3_USE_FLAGS TRUE) # use flags for gnu compiler execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version OUTPUT_VARIABLE out) # gnu gcc 2.96 does not work with flags # I guess 2.95 also doesn't then if("${out}" MATCHES "2.9[56]") set(_KDE3_USE_FLAGS FALSE) endif() endif() #only on linux, but NOT e.g. on FreeBSD: if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND _KDE3_USE_FLAGS) set (KDE3_DEFINITIONS ${KDE3_DEFINITIONS} -D_XOPEN_SOURCE=500 -D_BSD_SOURCE) set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common") set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-exceptions -fno-check-new -fno-common") endif() # works on FreeBSD, NOT tested on NetBSD and OpenBSD if (CMAKE_SYSTEM_NAME MATCHES BSD AND _KDE3_USE_FLAGS) set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common") set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common") endif () # if no special buildtype is selected, add -O2 as default optimization if (NOT CMAKE_BUILD_TYPE AND _KDE3_USE_FLAGS) set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2") set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2") endif () #set(CMAKE_SHARED_LINKER_FLAGS "-avoid-version -module -Wl,--no-undefined -Wl,--allow-shlib-undefined") #set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc") #set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc") endif() # KDE3Macros.cmake contains all the KDE specific macros include(${CMAKE_CURRENT_LIST_DIR}/KDE3Macros.cmake) macro (KDE3_PRINT_RESULTS) if(KDE3_INCLUDE_DIR) message(STATUS "Found KDE3 include dir: ${KDE3_INCLUDE_DIR}") else() message(STATUS "Didn't find KDE3 headers") endif() if(KDE3_LIB_DIR) message(STATUS "Found KDE3 library dir: ${KDE3_LIB_DIR}") else() message(STATUS "Didn't find KDE3 core library") endif() if(KDE3_DCOPIDL_EXECUTABLE) message(STATUS "Found KDE3 dcopidl preprocessor: ${KDE3_DCOPIDL_EXECUTABLE}") else() message(STATUS "Didn't find the KDE3 dcopidl preprocessor") endif() if(KDE3_DCOPIDL2CPP_EXECUTABLE) message(STATUS "Found KDE3 dcopidl2cpp preprocessor: ${KDE3_DCOPIDL2CPP_EXECUTABLE}") else() message(STATUS "Didn't find the KDE3 dcopidl2cpp preprocessor") endif() if(KDE3_KCFGC_EXECUTABLE) message(STATUS "Found KDE3 kconfig_compiler preprocessor: ${KDE3_KCFGC_EXECUTABLE}") else() message(STATUS "Didn't find the KDE3 kconfig_compiler preprocessor") endif() endmacro () if (KDE3_FIND_REQUIRED AND NOT KDE3_FOUND) #bail out if something wasn't found KDE3_PRINT_RESULTS() message(FATAL_ERROR "Could NOT find everything required for compiling KDE 3 programs") endif () if (NOT KDE3_FIND_QUIETLY) KDE3_PRINT_RESULTS() endif () #add the found Qt and KDE include directories to the current include path set(KDE3_INCLUDE_DIRS ${QT_INCLUDE_DIR} ${KDE3_INCLUDE_DIR}) cmake-2.8.12.2/Modules/FindKDE4.cmake000644 000765 000024 00000006751 12266011634 017551 0ustar00kitwarestaff000000 000000 # Find KDE4 and provide all necessary variables and macros to compile software for it. # It looks for KDE 4 in the following directories in the given order: # CMAKE_INSTALL_PREFIX # KDEDIRS # /opt/kde4 # # Please look in FindKDE4Internal.cmake and KDE4Macros.cmake for more information. # They are installed with the KDE 4 libraries in $KDEDIRS/share/apps/cmake/modules/. # # Author: Alexander Neundorf #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # If Qt3 has already been found, fail. if(QT_QT_LIBRARY) if(KDE4_FIND_REQUIRED) message( FATAL_ERROR "KDE4/Qt4 and Qt3 cannot be used together in one project.") else() if(NOT KDE4_FIND_QUIETLY) message( STATUS "KDE4/Qt4 and Qt3 cannot be used together in one project.") endif() return() endif() endif() file(TO_CMAKE_PATH "$ENV{KDEDIRS}" _KDEDIRS) # when cross compiling, searching kde4-config in order to run it later on # doesn't make a lot of sense. We'll have to do something about this. # Searching always in the target environment ? Then we get at least the correct one, # still it can't be used to run it. Alex # For KDE4 kde-config has been renamed to kde4-config find_program(KDE4_KDECONFIG_EXECUTABLE NAMES kde4-config # the suffix must be used since KDEDIRS can be a list of directories which don't have bin/ appended PATH_SUFFIXES bin HINTS ${CMAKE_INSTALL_PREFIX} ${_KDEDIRS} /opt/kde4 ONLY_CMAKE_FIND_ROOT_PATH ) if (NOT KDE4_KDECONFIG_EXECUTABLE) if (KDE4_FIND_REQUIRED) message(FATAL_ERROR "ERROR: Could not find KDE4 kde4-config") endif () endif () # when cross compiling, KDE4_DATA_DIR may be already preset if(NOT KDE4_DATA_DIR) if(CMAKE_CROSSCOMPILING) # when cross compiling, don't run kde4-config but use its location as install dir get_filename_component(KDE4_DATA_DIR "${KDE4_KDECONFIG_EXECUTABLE}" PATH) get_filename_component(KDE4_DATA_DIR "${KDE4_DATA_DIR}" PATH) else() # then ask kde4-config for the kde data dirs if(KDE4_KDECONFIG_EXECUTABLE) execute_process(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path data OUTPUT_VARIABLE _data_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) file(TO_CMAKE_PATH "${_data_DIR}" _data_DIR) # then check the data dirs for FindKDE4Internal.cmake find_path(KDE4_DATA_DIR cmake/modules/FindKDE4Internal.cmake HINTS ${_data_DIR}) endif() endif() endif() # if it has been found... if (KDE4_DATA_DIR) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${KDE4_DATA_DIR}/cmake/modules) if (KDE4_FIND_QUIETLY) set(_quiet QUIET) endif () if (KDE4_FIND_REQUIRED) set(_req REQUIRED) endif () # use FindKDE4Internal.cmake to do the rest find_package(KDE4Internal ${_req} ${_quiet}) else () if (KDE4_FIND_REQUIRED) message(FATAL_ERROR "ERROR: cmake/modules/FindKDE4Internal.cmake not found in ${_data_DIR}") endif () endif () cmake-2.8.12.2/Modules/FindLAPACK.cmake000644 000765 000024 00000022440 12266011634 020006 0ustar00kitwarestaff000000 000000 # - Find LAPACK library # This module finds an installed fortran library that implements the LAPACK # linear-algebra interface (see http://www.netlib.org/lapack/). # # The approach follows that taken for the autoconf macro file, acx_lapack.m4 # (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html). # # This module sets the following variables: # LAPACK_FOUND - set to true if a library implementing the LAPACK interface # is found # LAPACK_LINKER_FLAGS - uncached list of required linker flags (excluding -l # and -L). # LAPACK_LIBRARIES - uncached list of libraries (using full path name) to # link against to use LAPACK # LAPACK95_LIBRARIES - uncached list of libraries (using full path name) to # link against to use LAPACK95 # LAPACK95_FOUND - set to true if a library implementing the LAPACK f95 # interface is found # BLA_STATIC if set on this determines what kind of linkage we do (static) # BLA_VENDOR if set checks only the specified vendor, if not set checks # all the possibilities # BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK ### List of vendors (BLA_VENDOR) valid in this module ## Intel(mkl), ACML,Apple, NAS, Generic #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES) if (NOT _LANGUAGES_ MATCHES Fortran) include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake) else () include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake) endif () set(LAPACK_FOUND FALSE) set(LAPACK95_FOUND FALSE) # TODO: move this stuff to separate module macro(Check_Lapack_Libraries LIBRARIES _prefix _name _flags _list _blas _threads) # This macro checks for the existence of the combination of fortran libraries # given by _list. If the combination is found, this macro checks (using the # Check_Fortran_Function_Exists macro) whether can link against that library # combination using the name of a routine given by _name using the linker # flags given by _flags. If the combination of libraries is found and passes # the link test, LIBRARIES is set to the list of complete library paths that # have been found. Otherwise, LIBRARIES is set to FALSE. # N.B. _prefix is the prefix applied to the names of all cached variables that # are generated internally and marked advanced by this macro. set(_libraries_work TRUE) set(${LIBRARIES}) set(_combined_name) if (NOT _libdir) if (WIN32) set(_libdir ENV LIB) elseif (APPLE) set(_libdir ENV DYLD_LIBRARY_PATH) else () set(_libdir ENV LD_LIBRARY_PATH) endif () endif () foreach(_library ${_list}) set(_combined_name ${_combined_name}_${_library}) if(_libraries_work) if (BLA_STATIC) if (WIN32) set(CMAKE_FIND_LIBRARY_SUFFIXES .lib ${CMAKE_FIND_LIBRARY_SUFFIXES}) endif () if (APPLE) set(CMAKE_FIND_LIBRARY_SUFFIXES .lib ${CMAKE_FIND_LIBRARY_SUFFIXES}) else () set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) endif () else () if (CMAKE_SYSTEM_NAME STREQUAL "Linux") # for ubuntu's libblas3gf and liblapack3gf packages set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES} .so.3gf) endif () endif () find_library(${_prefix}_${_library}_LIBRARY NAMES ${_library} PATHS ${_libdir} ) mark_as_advanced(${_prefix}_${_library}_LIBRARY) set(${LIBRARIES} ${${LIBRARIES}} ${${_prefix}_${_library}_LIBRARY}) set(_libraries_work ${${_prefix}_${_library}_LIBRARY}) endif() endforeach() if(_libraries_work) # Test this combination of libraries. if(UNIX AND BLA_STATIC) set(CMAKE_REQUIRED_LIBRARIES ${_flags} "-Wl,--start-group" ${${LIBRARIES}} ${_blas} "-Wl,--end-group" ${_threads}) else() set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}} ${_blas} ${_threads}) endif() # message("DEBUG: CMAKE_REQUIRED_LIBRARIES = ${CMAKE_REQUIRED_LIBRARIES}") if (NOT _LANGUAGES_ MATCHES Fortran) check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS) else () check_fortran_function_exists(${_name} ${_prefix}${_combined_name}_WORKS) endif () set(CMAKE_REQUIRED_LIBRARIES) mark_as_advanced(${_prefix}${_combined_name}_WORKS) set(_libraries_work ${${_prefix}${_combined_name}_WORKS}) #message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}") endif() if(_libraries_work) set(${LIBRARIES} ${${LIBRARIES}} ${_blas} ${_threads}) else() set(${LIBRARIES} FALSE) endif() endmacro() set(LAPACK_LINKER_FLAGS) set(LAPACK_LIBRARIES) set(LAPACK95_LIBRARIES) if(LAPACK_FIND_QUIETLY OR NOT LAPACK_FIND_REQUIRED) find_package(BLAS) else() find_package(BLAS REQUIRED) endif() if(BLAS_FOUND) set(LAPACK_LINKER_FLAGS ${BLAS_LINKER_FLAGS}) if ($ENV{BLA_VENDOR} MATCHES ".+") set(BLA_VENDOR $ENV{BLA_VENDOR}) else () if(NOT BLA_VENDOR) set(BLA_VENDOR "All") endif() endif () if (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All") if(NOT LAPACK_LIBRARIES) check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" "goto2" "${BLAS_LIBRARIES}" "" ) endif() endif () #acml lapack if (BLA_VENDOR MATCHES "ACML.*" OR BLA_VENDOR STREQUAL "All") if (BLAS_LIBRARIES MATCHES ".+acml.+") set (LAPACK_LIBRARIES ${BLAS_LIBRARIES}) endif () endif () # Apple LAPACK library? if (BLA_VENDOR STREQUAL "Apple" OR BLA_VENDOR STREQUAL "All") if(NOT LAPACK_LIBRARIES) check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" "Accelerate" "${BLAS_LIBRARIES}" "" ) endif() endif () if (BLA_VENDOR STREQUAL "NAS" OR BLA_VENDOR STREQUAL "All") if ( NOT LAPACK_LIBRARIES ) check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" "vecLib" "${BLAS_LIBRARIES}" "" ) endif () endif () # Generic LAPACK library? if (BLA_VENDOR STREQUAL "Generic" OR BLA_VENDOR STREQUAL "ATLAS" OR BLA_VENDOR STREQUAL "All") if ( NOT LAPACK_LIBRARIES ) check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" "lapack" "${BLAS_LIBRARIES}" "" ) endif () endif () #intel lapack if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All") if (NOT WIN32) set(LM "-lm") endif () if (_LANGUAGES_ MATCHES C OR _LANGUAGES_ MATCHES CXX) if(LAPACK_FIND_QUIETLY OR NOT LAPACK_FIND_REQUIRED) find_PACKAGE(Threads) else() find_package(Threads REQUIRED) endif() if (BLA_F95) if(NOT LAPACK95_LIBRARIES) # old check_lapack_libraries( LAPACK95_LIBRARIES LAPACK cheev "" "mkl_lapack95" "${BLAS95_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT};${LM}" ) endif() if(NOT LAPACK95_LIBRARIES) # new >= 10.3 check_lapack_libraries( LAPACK95_LIBRARIES LAPACK CHEEV "" "mkl_intel_lp64" "${BLAS95_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT};${LM}" ) endif() else() if(NOT LAPACK_LIBRARIES) # old check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" "mkl_lapack" "${BLAS_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT};${LM}" ) endif() if(NOT LAPACK_LIBRARIES) # new >= 10.3 check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" "mkl_gf_lp64" "${BLAS_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT};${LM}" ) endif() endif() endif () endif() else() message(STATUS "LAPACK requires BLAS") endif() if(BLA_F95) if(LAPACK95_LIBRARIES) set(LAPACK95_FOUND TRUE) else() set(LAPACK95_FOUND FALSE) endif() if(NOT LAPACK_FIND_QUIETLY) if(LAPACK95_FOUND) message(STATUS "A library with LAPACK95 API found.") else() if(LAPACK_FIND_REQUIRED) message(FATAL_ERROR "A required library with LAPACK95 API not found. Please specify library location." ) else() message(STATUS "A library with LAPACK95 API not found. Please specify library location." ) endif() endif() endif() set(LAPACK_FOUND "${LAPACK95_FOUND}") set(LAPACK_LIBRARIES "${LAPACK95_LIBRARIES}") else() if(LAPACK_LIBRARIES) set(LAPACK_FOUND TRUE) else() set(LAPACK_FOUND FALSE) endif() if(NOT LAPACK_FIND_QUIETLY) if(LAPACK_FOUND) message(STATUS "A library with LAPACK API found.") else() if(LAPACK_FIND_REQUIRED) message(FATAL_ERROR "A required library with LAPACK API not found. Please specify library location." ) else() message(STATUS "A library with LAPACK API not found. Please specify library location." ) endif() endif() endif() endif() set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) cmake-2.8.12.2/Modules/FindLATEX.cmake000644 000765 000024 00000006371 12266011634 017735 0ustar00kitwarestaff000000 000000 # - Find Latex # This module finds if Latex is installed and determines where the # executables are. This code sets the following variables: # # LATEX_COMPILER: path to the LaTeX compiler # PDFLATEX_COMPILER: path to the PdfLaTeX compiler # BIBTEX_COMPILER: path to the BibTeX compiler # MAKEINDEX_COMPILER: path to the MakeIndex compiler # DVIPS_CONVERTER: path to the DVIPS converter # PS2PDF_CONVERTER: path to the PS2PDF converter # LATEX2HTML_CONVERTER: path to the LaTeX2Html converter # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (WIN32) # Try to find the MikTex binary path (look for its package manager). find_path(MIKTEX_BINARY_PATH mpm.exe "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MiK\\MiKTeX\\CurrentVersion\\MiKTeX;Install Root]/miktex/bin" DOC "Path to the MikTex binary directory." ) mark_as_advanced(MIKTEX_BINARY_PATH) # Try to find the GhostScript binary path (look for gswin32). get_filename_component(GHOSTSCRIPT_BINARY_PATH_FROM_REGISTERY_8_00 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\AFPL Ghostscript\\8.00;GS_DLL]" PATH ) get_filename_component(GHOSTSCRIPT_BINARY_PATH_FROM_REGISTERY_7_04 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\AFPL Ghostscript\\7.04;GS_DLL]" PATH ) find_path(GHOSTSCRIPT_BINARY_PATH gswin32.exe ${GHOSTSCRIPT_BINARY_PATH_FROM_REGISTERY_8_00} ${GHOSTSCRIPT_BINARY_PATH_FROM_REGISTERY_7_04} DOC "Path to the GhostScript binary directory." ) mark_as_advanced(GHOSTSCRIPT_BINARY_PATH) find_path(GHOSTSCRIPT_LIBRARY_PATH ps2pdf13.bat "${GHOSTSCRIPT_BINARY_PATH}/../lib" DOC "Path to the GhostScript library directory." ) mark_as_advanced(GHOSTSCRIPT_LIBRARY_PATH) endif () find_program(LATEX_COMPILER NAMES latex PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) find_program(PDFLATEX_COMPILER NAMES pdflatex PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) find_program(BIBTEX_COMPILER NAMES bibtex PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) find_program(MAKEINDEX_COMPILER NAMES makeindex PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) find_program(DVIPS_CONVERTER NAMES dvips PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) find_program(DVIPDF_CONVERTER NAMES dvipdfm dvipdft dvipdf PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) if (WIN32) find_program(PS2PDF_CONVERTER NAMES ps2pdf14.bat PATHS ${GHOSTSCRIPT_LIBRARY_PATH} ) else () find_program(PS2PDF_CONVERTER NAMES ps2pdf14 ps2pdf ) endif () find_program(LATEX2HTML_CONVERTER NAMES latex2html PATHS ${MIKTEX_BINARY_PATH} /usr/bin ) mark_as_advanced( LATEX_COMPILER PDFLATEX_COMPILER BIBTEX_COMPILER MAKEINDEX_COMPILER DVIPS_CONVERTER DVIPDF_CONVERTER PS2PDF_CONVERTER LATEX2HTML_CONVERTER ) cmake-2.8.12.2/Modules/FindLibArchive.cmake000644 000765 000024 00000005573 12266011634 021073 0ustar00kitwarestaff000000 000000 # - Find libarchive library and headers # The module defines the following variables: # # LibArchive_FOUND - true if libarchive was found # LibArchive_INCLUDE_DIRS - include search path # LibArchive_LIBRARIES - libraries to link # LibArchive_VERSION - libarchive 3-component version number #============================================================================= # Copyright 2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(LibArchive_INCLUDE_DIR NAMES archive.h PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\LibArchive;InstallPath]/include" ) find_library(LibArchive_LIBRARY NAMES archive libarchive PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\LibArchive;InstallPath]/lib" ) mark_as_advanced(LibArchive_INCLUDE_DIR LibArchive_LIBRARY) # Extract the version number from the header. if(LibArchive_INCLUDE_DIR AND EXISTS "${LibArchive_INCLUDE_DIR}/archive.h") # The version string appears in one of two known formats in the header: # #define ARCHIVE_LIBRARY_VERSION "libarchive 2.4.12" # #define ARCHIVE_VERSION_STRING "libarchive 2.8.4" # Match either format. set(_LibArchive_VERSION_REGEX "^#define[ \t]+ARCHIVE[_A-Z]+VERSION[_A-Z]*[ \t]+\"libarchive +([0-9]+)\\.([0-9]+)\\.([0-9]+)[^\"]*\".*$") file(STRINGS "${LibArchive_INCLUDE_DIR}/archive.h" _LibArchive_VERSION_STRING LIMIT_COUNT 1 REGEX "${_LibArchive_VERSION_REGEX}") if(_LibArchive_VERSION_STRING) string(REGEX REPLACE "${_LibArchive_VERSION_REGEX}" "\\1.\\2.\\3" LibArchive_VERSION "${_LibArchive_VERSION_STRING}") endif() unset(_LibArchive_VERSION_REGEX) unset(_LibArchive_VERSION_STRING) endif() # Handle the QUIETLY and REQUIRED arguments and set LIBARCHIVE_FOUND # to TRUE if all listed variables are TRUE. # (Use ${CMAKE_ROOT}/Modules instead of ${CMAKE_CURRENT_LIST_DIR} because CMake # itself includes this FindLibArchive when built with an older CMake that does # not provide it. The older CMake also does not have CMAKE_CURRENT_LIST_DIR.) include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(LibArchive REQUIRED_VARS LibArchive_LIBRARY LibArchive_INCLUDE_DIR VERSION_VAR LibArchive_VERSION ) set(LibArchive_FOUND ${LIBARCHIVE_FOUND}) unset(LIBARCHIVE_FOUND) if(LibArchive_FOUND) set(LibArchive_INCLUDE_DIRS ${LibArchive_INCLUDE_DIR}) set(LibArchive_LIBRARIES ${LibArchive_LIBRARY}) endif() cmake-2.8.12.2/Modules/FindLibLZMA.cmake000644 000765 000024 00000007041 12266011634 020245 0ustar00kitwarestaff000000 000000 # - Find LibLZMA # Find LibLZMA headers and library # # LIBLZMA_FOUND - True if liblzma is found. # LIBLZMA_INCLUDE_DIRS - Directory where liblzma headers are located. # LIBLZMA_LIBRARIES - Lzma libraries to link against. # LIBLZMA_HAS_AUTO_DECODER - True if lzma_auto_decoder() is found (required). # LIBLZMA_HAS_EASY_ENCODER - True if lzma_easy_encoder() is found (required). # LIBLZMA_HAS_LZMA_PRESET - True if lzma_lzma_preset() is found (required). # LIBLZMA_VERSION_MAJOR - The major version of lzma # LIBLZMA_VERSION_MINOR - The minor version of lzma # LIBLZMA_VERSION_PATCH - The patch version of lzma # LIBLZMA_VERSION_STRING - version number as a string (ex: "5.0.3") #============================================================================= # Copyright 2008 Per Ăyvind Karlsen # Copyright 2009 Alexander Neundorf # Copyright 2009 Helio Chissini de Castro # Copyright 2012 Mario Bensi # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(LIBLZMA_INCLUDE_DIR lzma.h ) find_library(LIBLZMA_LIBRARY lzma) if(LIBLZMA_INCLUDE_DIR AND EXISTS "${LIBLZMA_INCLUDE_DIR}/lzma/version.h") file(STRINGS "${LIBLZMA_INCLUDE_DIR}/lzma/version.h" LIBLZMA_HEADER_CONTENTS REGEX "#define LZMA_VERSION_[A-Z]+ [0-9]+") string(REGEX REPLACE ".*#define LZMA_VERSION_MAJOR ([0-9]+).*" "\\1" LIBLZMA_VERSION_MAJOR "${LIBLZMA_HEADER_CONTENTS}") string(REGEX REPLACE ".*#define LZMA_VERSION_MINOR ([0-9]+).*" "\\1" LIBLZMA_VERSION_MINOR "${LIBLZMA_HEADER_CONTENTS}") string(REGEX REPLACE ".*#define LZMA_VERSION_PATCH ([0-9]+).*" "\\1" LIBLZMA_VERSION_PATCH "${LIBLZMA_HEADER_CONTENTS}") set(LIBLZMA_VERSION_STRING "${LIBLZMA_VERSION_MAJOR}.${LIBLZMA_VERSION_MINOR}.${LIBLZMA_VERSION_PATCH}") unset(LIBLZMA_HEADER_CONTENTS) endif() # We're using new code known now as XZ, even library still been called LZMA # it can be found in http://tukaani.org/xz/ # Avoid using old codebase if (LIBLZMA_LIBRARY) include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_auto_decoder "" LIBLZMA_HAS_AUTO_DECODER) CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_easy_encoder "" LIBLZMA_HAS_EASY_ENCODER) CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_lzma_preset "" LIBLZMA_HAS_LZMA_PRESET) endif () include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibLZMA REQUIRED_VARS LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET VERSION_VAR LIBLZMA_VERSION_STRING ) if (LIBLZMA_FOUND) set(LIBLZMA_LIBRARIES ${LIBLZMA_LIBRARY}) set(LIBLZMA_INCLUDE_DIRS ${LIBLZMA_INCLUDE_DIR}) endif () mark_as_advanced( LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY ) cmake-2.8.12.2/Modules/FindLibXml2.cmake000644 000765 000024 00000005260 12266011634 020325 0ustar00kitwarestaff000000 000000 # - Try to find the LibXml2 xml processing library # Once done this will define # # LIBXML2_FOUND - System has LibXml2 # LIBXML2_INCLUDE_DIR - The LibXml2 include directory # LIBXML2_LIBRARIES - The libraries needed to use LibXml2 # LIBXML2_DEFINITIONS - Compiler switches required for using LibXml2 # LIBXML2_XMLLINT_EXECUTABLE - The XML checking tool xmllint coming with LibXml2 # LIBXML2_VERSION_STRING - the version of LibXml2 found (since CMake 2.8.8) #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # use pkg-config to get the directories and then use these values # in the find_path() and find_library() calls find_package(PkgConfig QUIET) PKG_CHECK_MODULES(PC_LIBXML QUIET libxml-2.0) set(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER}) find_path(LIBXML2_INCLUDE_DIR NAMES libxml/xpath.h HINTS ${PC_LIBXML_INCLUDEDIR} ${PC_LIBXML_INCLUDE_DIRS} PATH_SUFFIXES libxml2 ) find_library(LIBXML2_LIBRARIES NAMES xml2 libxml2 HINTS ${PC_LIBXML_LIBDIR} ${PC_LIBXML_LIBRARY_DIRS} ) find_program(LIBXML2_XMLLINT_EXECUTABLE xmllint) # for backwards compat. with KDE 4.0.x: set(XMLLINT_EXECUTABLE "${LIBXML2_XMLLINT_EXECUTABLE}") if(PC_LIBXML_VERSION) set(LIBXML2_VERSION_STRING ${PC_LIBXML_VERSION}) elseif(LIBXML2_INCLUDE_DIR AND EXISTS "${LIBXML2_INCLUDE_DIR}/libxml/xmlversion.h") file(STRINGS "${LIBXML2_INCLUDE_DIR}/libxml/xmlversion.h" libxml2_version_str REGEX "^#define[\t ]+LIBXML_DOTTED_VERSION[\t ]+\".*\"") string(REGEX REPLACE "^#define[\t ]+LIBXML_DOTTED_VERSION[\t ]+\"([^\"]*)\".*" "\\1" LIBXML2_VERSION_STRING "${libxml2_version_str}") unset(libxml2_version_str) endif() # handle the QUIETLY and REQUIRED arguments and set LIBXML2_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 REQUIRED_VARS LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR VERSION_VAR LIBXML2_VERSION_STRING) mark_as_advanced(LIBXML2_INCLUDE_DIR LIBXML2_LIBRARIES LIBXML2_XMLLINT_EXECUTABLE) cmake-2.8.12.2/Modules/FindLibXslt.cmake000644 000765 000024 00000005557 12266011634 020446 0ustar00kitwarestaff000000 000000 # - Try to find the LibXslt library # Once done this will define # # LIBXSLT_FOUND - system has LibXslt # LIBXSLT_INCLUDE_DIR - the LibXslt include directory # LIBXSLT_LIBRARIES - Link these to LibXslt # LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt # LIBXSLT_VERSION_STRING - version of LibXslt found (since CMake 2.8.8) # Additionally, the following two variables are set (but not required for using xslt): # LIBXSLT_EXSLT_LIBRARIES - Link to these if you need to link against the exslt library # LIBXSLT_XSLTPROC_EXECUTABLE - Contains the full path to the xsltproc executable if found #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # use pkg-config to get the directories and then use these values # in the find_path() and find_library() calls find_package(PkgConfig QUIET) PKG_CHECK_MODULES(PC_LIBXSLT QUIET libxslt) set(LIBXSLT_DEFINITIONS ${PC_LIBXSLT_CFLAGS_OTHER}) find_path(LIBXSLT_INCLUDE_DIR NAMES libxslt/xslt.h HINTS ${PC_LIBXSLT_INCLUDEDIR} ${PC_LIBXSLT_INCLUDE_DIRS} ) find_library(LIBXSLT_LIBRARIES NAMES xslt libxslt HINTS ${PC_LIBXSLT_LIBDIR} ${PC_LIBXSLT_LIBRARY_DIRS} ) find_library(LIBXSLT_EXSLT_LIBRARY NAMES exslt libexslt HINTS ${PC_LIBXSLT_LIBDIR} ${PC_LIBXSLT_LIBRARY_DIRS} ) set(LIBXSLT_EXSLT_LIBRARIES ${LIBXSLT_EXSLT_LIBRARY} ) find_program(LIBXSLT_XSLTPROC_EXECUTABLE xsltproc) if(PC_LIBXSLT_VERSION) set(LIBXSLT_VERSION_STRING ${PC_LIBXSLT_VERSION}) elseif(LIBXSLT_INCLUDE_DIR AND EXISTS "${LIBXSLT_INCLUDE_DIR}/libxslt/xsltconfig.h") file(STRINGS "${LIBXSLT_INCLUDE_DIR}/libxslt/xsltconfig.h" libxslt_version_str REGEX "^#define[\t ]+LIBXSLT_DOTTED_VERSION[\t ]+\".*\"") string(REGEX REPLACE "^#define[\t ]+LIBXSLT_DOTTED_VERSION[\t ]+\"([^\"]*)\".*" "\\1" LIBXSLT_VERSION_STRING "${libxslt_version_str}") unset(libxslt_version_str) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXslt REQUIRED_VARS LIBXSLT_LIBRARIES LIBXSLT_INCLUDE_DIR VERSION_VAR LIBXSLT_VERSION_STRING) mark_as_advanced(LIBXSLT_INCLUDE_DIR LIBXSLT_LIBRARIES LIBXSLT_EXSLT_LIBRARY LIBXSLT_XSLTPROC_EXECUTABLE) cmake-2.8.12.2/Modules/FindLua50.cmake000644 000765 000024 00000005377 12266011634 017753 0ustar00kitwarestaff000000 000000 # Locate Lua library # This module defines # LUA50_FOUND, if false, do not try to link to Lua # LUA_LIBRARIES, both lua and lualib # LUA_INCLUDE_DIR, where to find lua.h and lualib.h (and probably lauxlib.h) # # Note that the expected include convention is # #include "lua.h" # and not # #include # This is because, the lua location is not standardized and may exist # in locations other than lua/ #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(LUA_INCLUDE_DIR lua.h HINTS ENV LUA_DIR PATH_SUFFIXES include/lua50 include/lua5.0 include/lua5 include/lua include PATHS ~/Library/Frameworks /Library/Frameworks /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt ) find_library(LUA_LIBRARY_lua NAMES lua50 lua5.0 lua-5.0 lua5 lua HINTS ENV LUA_DIR PATH_SUFFIXES lib PATHS ~/Library/Frameworks /Library/Frameworks /sw /opt/local /opt/csw /opt ) # In an OS X framework, lualib is usually included as part of the framework # (like GLU in OpenGL.framework) if(${LUA_LIBRARY_lua} MATCHES "framework") set( LUA_LIBRARIES "${LUA_LIBRARY_lua}" CACHE STRING "Lua framework") else() find_library(LUA_LIBRARY_lualib NAMES lualib50 lualib5.0 lualib5 lualib HINTS ENV LUALIB_DIR ENV LUA_DIR PATH_SUFFIXES lib PATHS /sw /opt/local /opt/csw /opt ) if(LUA_LIBRARY_lualib AND LUA_LIBRARY_lua) # include the math library for Unix if(UNIX AND NOT APPLE) find_library(MATH_LIBRARY_FOR_LUA m) set( LUA_LIBRARIES "${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua};${MATH_LIBRARY_FOR_LUA}" CACHE STRING "This is the concatentation of lua and lualib libraries") # For Windows and Mac, don't need to explicitly include the math library else() set( LUA_LIBRARIES "${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua}" CACHE STRING "This is the concatentation of lua and lualib libraries") endif() endif() endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) # handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if # all listed variables are TRUE FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua50 DEFAULT_MSG LUA_LIBRARIES LUA_INCLUDE_DIR) mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES) cmake-2.8.12.2/Modules/FindLua51.cmake000644 000765 000024 00000005126 12266011634 017744 0ustar00kitwarestaff000000 000000 # Locate Lua library # This module defines # LUA51_FOUND, if false, do not try to link to Lua # LUA_LIBRARIES # LUA_INCLUDE_DIR, where to find lua.h # LUA_VERSION_STRING, the version of Lua found (since CMake 2.8.8) # # Note that the expected include convention is # #include "lua.h" # and not # #include # This is because, the lua location is not standardized and may exist # in locations other than lua/ #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(LUA_INCLUDE_DIR lua.h HINTS ENV LUA_DIR PATH_SUFFIXES include/lua51 include/lua5.1 include/lua-5.1 include/lua include PATHS ~/Library/Frameworks /Library/Frameworks /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt ) find_library(LUA_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua HINTS ENV LUA_DIR PATH_SUFFIXES lib PATHS ~/Library/Frameworks /Library/Frameworks /sw /opt/local /opt/csw /opt ) if(LUA_LIBRARY) # include the math library for Unix if(UNIX AND NOT APPLE AND NOT BEOS) find_library(LUA_MATH_LIBRARY m) set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries") # For Windows and Mac, don't need to explicitly include the math library else() set( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries") endif() endif() if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/lua.h") file(STRINGS "${LUA_INCLUDE_DIR}/lua.h" lua_version_str REGEX "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua .+\"") string(REGEX REPLACE "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua ([^\"]+)\".*" "\\1" LUA_VERSION_STRING "${lua_version_str}") unset(lua_version_str) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) # handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if # all listed variables are TRUE FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua51 REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR VERSION_VAR LUA_VERSION_STRING) mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES LUA_LIBRARY LUA_MATH_LIBRARY) cmake-2.8.12.2/Modules/FindMatlab.cmake000644 000765 000024 00000006624 12266011634 020261 0ustar00kitwarestaff000000 000000 # - this module looks for Matlab # Defines: # MATLAB_INCLUDE_DIR: include path for mex.h, engine.h # MATLAB_LIBRARIES: required libraries: libmex, etc # MATLAB_MEX_LIBRARY: path to libmex.lib # MATLAB_MX_LIBRARY: path to libmx.lib # MATLAB_ENG_LIBRARY: path to libeng.lib #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(MATLAB_FOUND 0) if(WIN32) if(${CMAKE_GENERATOR} MATCHES "Visual Studio 6") set(MATLAB_ROOT "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT]/extern/lib/win32/microsoft/msvc60") else() if(${CMAKE_GENERATOR} MATCHES "Visual Studio 7") # Assume people are generally using 7.1, # if using 7.0 need to link to: ../extern/lib/win32/microsoft/msvc70 set(MATLAB_ROOT "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT]/extern/lib/win32/microsoft/msvc71") else() if(${CMAKE_GENERATOR} MATCHES "Borland") # Same here, there are also: bcc50 and bcc51 directories set(MATLAB_ROOT "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT]/extern/lib/win32/microsoft/bcc54") else() if(MATLAB_FIND_REQUIRED) message(FATAL_ERROR "Generator not compatible: ${CMAKE_GENERATOR}") endif() endif() endif() endif() find_library(MATLAB_MEX_LIBRARY libmex ${MATLAB_ROOT} ) find_library(MATLAB_MX_LIBRARY libmx ${MATLAB_ROOT} ) find_library(MATLAB_ENG_LIBRARY libeng ${MATLAB_ROOT} ) find_path(MATLAB_INCLUDE_DIR "mex.h" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT]/extern/include" ) else() if(CMAKE_SIZEOF_VOID_P EQUAL 4) # Regular x86 set(MATLAB_ROOT /usr/local/matlab-7sp1/bin/glnx86/ /opt/matlab-7sp1/bin/glnx86/ $ENV{HOME}/matlab-7sp1/bin/glnx86/ $ENV{HOME}/redhat-matlab/bin/glnx86/ ) else() # AMD64: set(MATLAB_ROOT /usr/local/matlab-7sp1/bin/glnxa64/ /opt/matlab-7sp1/bin/glnxa64/ $ENV{HOME}/matlab7_64/bin/glnxa64/ $ENV{HOME}/matlab-7sp1/bin/glnxa64/ $ENV{HOME}/redhat-matlab/bin/glnxa64/ ) endif() find_library(MATLAB_MEX_LIBRARY mex ${MATLAB_ROOT} ) find_library(MATLAB_MX_LIBRARY mx ${MATLAB_ROOT} ) find_library(MATLAB_ENG_LIBRARY eng ${MATLAB_ROOT} ) find_path(MATLAB_INCLUDE_DIR "mex.h" "/usr/local/matlab-7sp1/extern/include/" "/opt/matlab-7sp1/extern/include/" "$ENV{HOME}/matlab-7sp1/extern/include/" "$ENV{HOME}/redhat-matlab/extern/include/" ) endif() # This is common to UNIX and Win32: set(MATLAB_LIBRARIES ${MATLAB_MEX_LIBRARY} ${MATLAB_MX_LIBRARY} ${MATLAB_ENG_LIBRARY} ) if(MATLAB_INCLUDE_DIR AND MATLAB_LIBRARIES) set(MATLAB_FOUND 1) endif() mark_as_advanced( MATLAB_LIBRARIES MATLAB_MEX_LIBRARY MATLAB_MX_LIBRARY MATLAB_ENG_LIBRARY MATLAB_INCLUDE_DIR MATLAB_FOUND MATLAB_ROOT ) cmake-2.8.12.2/Modules/FindMFC.cmake000644 000765 000024 00000004365 12266011634 017466 0ustar00kitwarestaff000000 000000 # - Find MFC on Windows # Find the native MFC - i.e. decide if an application can link to the MFC # libraries. # MFC_FOUND - Was MFC support found # You don't need to include anything or link anything to use it. #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Assume no MFC support set(MFC_FOUND "NO") # Only attempt the try_compile call if it has a chance to succeed: set(MFC_ATTEMPT_TRY_COMPILE 0) if(WIN32 AND NOT UNIX AND NOT BORLAND AND NOT MINGW) set(MFC_ATTEMPT_TRY_COMPILE 1) endif() if(MFC_ATTEMPT_TRY_COMPILE) if("MFC_HAVE_MFC" MATCHES "^MFC_HAVE_MFC$") set(CHECK_INCLUDE_FILE_VAR "afxwin.h") configure_file(${CMAKE_ROOT}/Modules/CheckIncludeFile.cxx.in ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx) message(STATUS "Looking for MFC") try_compile(MFC_HAVE_MFC ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx CMAKE_FLAGS -DCMAKE_MFC_FLAG:STRING=2 -DCOMPILE_DEFINITIONS:STRING=-D_AFXDLL OUTPUT_VARIABLE OUTPUT) if(MFC_HAVE_MFC) message(STATUS "Looking for MFC - found") set(MFC_HAVE_MFC 1 CACHE INTERNAL "Have MFC?") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if MFC exists passed with the following output:\n" "${OUTPUT}\n\n") else() message(STATUS "Looking for MFC - not found") set(MFC_HAVE_MFC 0 CACHE INTERNAL "Have MFC?") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if MFC exists failed with the following output:\n" "${OUTPUT}\n\n") endif() endif() if(MFC_HAVE_MFC) set(MFC_FOUND "YES") endif() endif() cmake-2.8.12.2/Modules/FindMotif.cmake000644 000765 000024 00000002445 12266011634 020134 0ustar00kitwarestaff000000 000000 # - Try to find Motif (or lesstif) # Once done this will define: # MOTIF_FOUND - system has MOTIF # MOTIF_INCLUDE_DIR - include paths to use Motif # MOTIF_LIBRARIES - Link these to use Motif #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(MOTIF_FOUND 0) if(UNIX) find_path(MOTIF_INCLUDE_DIR Xm/Xm.h /usr/openwin/include ) find_library(MOTIF_LIBRARIES Xm /usr/openwin/lib ) endif() # handle the QUIETLY and REQUIRED arguments and set MOTIF_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Motif DEFAULT_MSG MOTIF_LIBRARIES MOTIF_INCLUDE_DIR) mark_as_advanced( MOTIF_INCLUDE_DIR MOTIF_LIBRARIES ) cmake-2.8.12.2/Modules/FindMPEG.cmake000644 000765 000024 00000003172 12266011634 017604 0ustar00kitwarestaff000000 000000 # - Find the native MPEG includes and library # This module defines # MPEG_INCLUDE_DIR, where to find MPEG.h, etc. # MPEG_LIBRARIES, the libraries required to use MPEG. # MPEG_FOUND, If false, do not try to use MPEG. # also defined, but not for general use are # MPEG_mpeg2_LIBRARY, where to find the MPEG library. # MPEG_vo_LIBRARY, where to find the vo library. #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(MPEG_INCLUDE_DIR mpeg2dec/include/video_out.h /usr/local/livid ) find_library(MPEG_mpeg2_LIBRARY mpeg2 /usr/local/livid/mpeg2dec/libmpeg2/.libs ) find_library( MPEG_vo_LIBRARY vo /usr/local/livid/mpeg2dec/libvo/.libs ) # handle the QUIETLY and REQUIRED arguments and set MPEG2_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPEG DEFAULT_MSG MPEG_INCLUDE_DIR MPEG_mpeg2_LIBRARY MPEG_vo_LIBRARY) if(MPEG_FOUND) set( MPEG_LIBRARIES ${MPEG_mpeg2_LIBRARY} ${MPEG_vo_LIBRARY} ) endif() mark_as_advanced(MPEG_INCLUDE_DIR MPEG_mpeg2_LIBRARY MPEG_vo_LIBRARY) cmake-2.8.12.2/Modules/FindMPEG2.cmake000644 000765 000024 00000003602 12266011634 017664 0ustar00kitwarestaff000000 000000 # - Find the native MPEG2 includes and library # This module defines # MPEG2_INCLUDE_DIR, path to mpeg2dec/mpeg2.h, etc. # MPEG2_LIBRARIES, the libraries required to use MPEG2. # MPEG2_FOUND, If false, do not try to use MPEG2. # also defined, but not for general use are # MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library. # MPEG2_vo_LIBRARY, where to find the vo library. #============================================================================= # Copyright 2003-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(MPEG2_INCLUDE_DIR NAMES mpeg2.h mpeg2dec/mpeg2.h PATHS /usr/local/livid ) find_library(MPEG2_mpeg2_LIBRARY mpeg2 /usr/local/livid/mpeg2dec/libmpeg2/.libs ) find_library( MPEG2_vo_LIBRARY vo /usr/local/livid/mpeg2dec/libvo/.libs ) # handle the QUIETLY and REQUIRED arguments and set MPEG2_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPEG2 DEFAULT_MSG MPEG2_mpeg2_LIBRARY MPEG2_INCLUDE_DIR) if(MPEG2_FOUND) set( MPEG2_LIBRARIES ${MPEG2_mpeg2_LIBRARY} ${MPEG2_vo_LIBRARY}) #some native mpeg2 installations will depend #on libSDL, if found, add it in. include(${CMAKE_CURRENT_LIST_DIR}/FindSDL.cmake) if(SDL_FOUND) set( MPEG2_LIBRARIES ${MPEG2_LIBRARIES} ${SDL_LIBRARY}) endif() endif() mark_as_advanced(MPEG2_INCLUDE_DIR MPEG2_mpeg2_LIBRARY MPEG2_vo_LIBRARY) cmake-2.8.12.2/Modules/FindMPI.cmake000644 000765 000024 00000072400 12266011634 017501 0ustar00kitwarestaff000000 000000 # - Find a Message Passing Interface (MPI) implementation # The Message Passing Interface (MPI) is a library used to write # high-performance distributed-memory parallel applications, and # is typically deployed on a cluster. MPI is a standard interface # (defined by the MPI forum) for which many implementations are # available. All of them have somewhat different include paths, # libraries to link against, etc., and this module tries to smooth # out those differences. # # === Variables === # # This module will set the following variables per language in your project, # where is one of C, CXX, or Fortran: # MPI__FOUND TRUE if FindMPI found MPI flags for # MPI__COMPILER MPI Compiler wrapper for # MPI__COMPILE_FLAGS Compilation flags for MPI programs # MPI__INCLUDE_PATH Include path(s) for MPI header # MPI__LINK_FLAGS Linking flags for MPI programs # MPI__LIBRARIES All libraries to link MPI programs against # Additionally, FindMPI sets the following variables for running MPI # programs from the command line: # MPIEXEC Executable for running MPI programs # MPIEXEC_NUMPROC_FLAG Flag to pass to MPIEXEC before giving # it the number of processors to run on # MPIEXEC_PREFLAGS Flags to pass to MPIEXEC directly # before the executable to run. # MPIEXEC_POSTFLAGS Flags to pass to MPIEXEC after other flags # === Usage === # # To use this module, simply call FindMPI from a CMakeLists.txt file, or # run find_package(MPI), then run CMake. If you are happy with the auto- # detected configuration for your language, then you're done. If not, you # have two options: # 1. Set MPI__COMPILER to the MPI wrapper (mpicc, etc.) of your # choice and reconfigure. FindMPI will attempt to determine all the # necessary variables using THAT compiler's compile and link flags. # 2. If this fails, or if your MPI implementation does not come with # a compiler wrapper, then set both MPI__LIBRARIES and # MPI__INCLUDE_PATH. You may also set any other variables # listed above, but these two are required. This will circumvent # autodetection entirely. # When configuration is successful, MPI__COMPILER will be set to the # compiler wrapper for , if it was found. MPI__FOUND and other # variables above will be set if any MPI implementation was found for , # regardless of whether a compiler was found. # # When using MPIEXEC to execute MPI applications, you should typically use # all of the MPIEXEC flags as follows: # ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} PROCS # ${MPIEXEC_PREFLAGS} EXECUTABLE ${MPIEXEC_POSTFLAGS} ARGS # where PROCS is the number of processors on which to execute the program, # EXECUTABLE is the MPI program, and ARGS are the arguments to pass to the # MPI program. # # === Backward Compatibility === # # For backward compatibility with older versions of FindMPI, these # variables are set, but deprecated: # MPI_FOUND MPI_COMPILER MPI_LIBRARY # MPI_COMPILE_FLAGS MPI_INCLUDE_PATH MPI_EXTRA_LIBRARY # MPI_LINK_FLAGS MPI_LIBRARIES # In new projects, please use the MPI__XXX equivalents. #============================================================================= # Copyright 2001-2011 Kitware, Inc. # Copyright 2010-2011 Todd Gamblin tgamblin@llnl.gov # Copyright 2001-2009 Dave Partyka # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # include this to handle the QUIETLY and REQUIRED arguments include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) include(${CMAKE_CURRENT_LIST_DIR}/GetPrerequisites.cmake) # # This part detects MPI compilers, attempting to wade through the mess of compiler names in # a sensible way. # # The compilers are detected in this order: # # 1. Try to find the most generic available MPI compiler, as this is usually set up by # cluster admins. e.g., if plain old mpicc is available, we'll use it and assume it's # the right compiler. # # 2. If a generic mpicc is NOT found, then we attempt to find one that matches # CMAKE__COMPILER_ID. e.g. if you are using XL compilers, we'll try to find mpixlc # and company, but not mpiicc. This hopefully prevents toolchain mismatches. # # If you want to force a particular MPI compiler other than what we autodetect (e.g. if you # want to compile regular stuff with GNU and parallel stuff with Intel), you can always set # your favorite MPI__COMPILER explicitly and this stuff will be ignored. # # Start out with the generic MPI compiler names, as these are most commonly used. set(_MPI_C_COMPILER_NAMES mpicc mpcc mpicc_r mpcc_r) set(_MPI_CXX_COMPILER_NAMES mpicxx mpiCC mpcxx mpCC mpic++ mpc++ mpicxx_r mpiCC_r mpcxx_r mpCC_r mpic++_r mpc++_r) set(_MPI_Fortran_COMPILER_NAMES mpif95 mpif95_r mpf95 mpf95_r mpif90 mpif90_r mpf90 mpf90_r mpif77 mpif77_r mpf77 mpf77_r) # GNU compiler names set(_MPI_GNU_C_COMPILER_NAMES mpigcc mpgcc mpigcc_r mpgcc_r) set(_MPI_GNU_CXX_COMPILER_NAMES mpig++ mpg++ mpig++_r mpg++_r) set(_MPI_GNU_Fortran_COMPILER_NAMES mpigfortran mpgfortran mpigfortran_r mpgfortran_r mpig77 mpig77_r mpg77 mpg77_r) # Intel MPI compiler names set(_MPI_Intel_C_COMPILER_NAMES mpiicc) set(_MPI_Intel_CXX_COMPILER_NAMES mpiicpc mpiicxx mpiic++ mpiiCC) set(_MPI_Intel_Fortran_COMPILER_NAMES mpiifort mpiif95 mpiif90 mpiif77) # PGI compiler names set(_MPI_PGI_C_COMPILER_NAMES mpipgcc mppgcc) set(_MPI_PGI_CXX_COMPILER_NAMES mpipgCC mppgCC) set(_MPI_PGI_Fortran_COMPILER_NAMES mpipgf95 mpipgf90 mppgf95 mppgf90 mpipgf77 mppgf77) # XLC MPI Compiler names set(_MPI_XL_C_COMPILER_NAMES mpxlc mpxlc_r mpixlc mpixlc_r) set(_MPI_XL_CXX_COMPILER_NAMES mpixlcxx mpixlC mpixlc++ mpxlcxx mpxlc++ mpixlc++ mpxlCC mpixlcxx_r mpixlC_r mpixlc++_r mpxlcxx_r mpxlc++_r mpixlc++_r mpxlCC_r) set(_MPI_XL_Fortran_COMPILER_NAMES mpixlf95 mpixlf95_r mpxlf95 mpxlf95_r mpixlf90 mpixlf90_r mpxlf90 mpxlf90_r mpixlf77 mpixlf77_r mpxlf77 mpxlf77_r mpixlf mpixlf_r mpxlf mpxlf_r) # append vendor-specific compilers to the list if we either don't know the compiler id, # or if we know it matches the regular compiler. foreach (lang C CXX Fortran) foreach (id GNU Intel PGI XL) if (NOT CMAKE_${lang}_COMPILER_ID OR "${CMAKE_${lang}_COMPILER_ID}" STREQUAL "${id}") list(APPEND _MPI_${lang}_COMPILER_NAMES ${_MPI_${id}_${lang}_COMPILER_NAMES}) endif() unset(_MPI_${id}_${lang}_COMPILER_NAMES) # clean up the namespace here endforeach() endforeach() # Names to try for MPI exec set(_MPI_EXEC_NAMES mpiexec mpirun lamexec srun) # Grab the path to MPI from the registry if we're on windows. set(_MPI_PREFIX_PATH) if(WIN32) list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH\\SMPD;binary]/..") list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH2;Path]") list(APPEND _MPI_PREFIX_PATH "$ENV{ProgramW6432}/MPICH2/") endif() # Build a list of prefixes to search for MPI. foreach(SystemPrefixDir ${CMAKE_SYSTEM_PREFIX_PATH}) foreach(MpiPackageDir ${_MPI_PREFIX_PATH}) if(EXISTS ${SystemPrefixDir}/${MpiPackageDir}) list(APPEND _MPI_PREFIX_PATH "${SystemPrefixDir}/${MpiPackageDir}") endif() endforeach() endforeach() # # interrogate_mpi_compiler(lang try_libs) # # Attempts to extract compiler and linker args from an MPI compiler. The arguments set # by this function are: # # MPI__INCLUDE_PATH MPI__LINK_FLAGS MPI__FOUND # MPI__COMPILE_FLAGS MPI__LIBRARIES # # MPI__COMPILER must be set beforehand to the absolute path to an MPI compiler for # . Additionally, MPI__INCLUDE_PATH and MPI__LIBRARIES may be set # to skip autodetection. # # If try_libs is TRUE, this will also attempt to find plain MPI libraries in the usual # way. In general, this is not as effective as interrogating the compilers, as it # ignores language-specific flags and libraries. However, some MPI implementations # (Windows implementations) do not have compiler wrappers, so this approach must be used. # function (interrogate_mpi_compiler lang try_libs) # MPI_${lang}_NO_INTERROGATE will be set to a compiler name when the *regular* compiler was # discovered to be the MPI compiler. This happens on machines like the Cray XE6 that use # modules to set cc, CC, and ftn to the MPI compilers. If the user force-sets another MPI # compiler, MPI_${lang}_COMPILER won't be equal to MPI_${lang}_NO_INTERROGATE, and we'll # inspect that compiler anew. This allows users to set new compilers w/o rm'ing cache. string(COMPARE NOTEQUAL "${MPI_${lang}_NO_INTERROGATE}" "${MPI_${lang}_COMPILER}" interrogate) # If MPI is set already in the cache, don't bother with interrogating the compiler. if (interrogate AND ((NOT MPI_${lang}_INCLUDE_PATH) OR (NOT MPI_${lang}_LIBRARIES))) if (MPI_${lang}_COMPILER) # Check whether the -showme:compile option works. This indicates that we have either OpenMPI # or a newer version of LAM-MPI, and implies that -showme:link will also work. execute_process( COMMAND ${MPI_${lang}_COMPILER} -showme:compile OUTPUT_VARIABLE MPI_COMPILE_CMDLINE OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_COMPILE_CMDLINE ERROR_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE MPI_COMPILER_RETURN) if (MPI_COMPILER_RETURN EQUAL 0) # If we appear to have -showme:compile, then we should # also have -showme:link. Try it. execute_process( COMMAND ${MPI_${lang}_COMPILER} -showme:link OUTPUT_VARIABLE MPI_LINK_CMDLINE OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_LINK_CMDLINE ERROR_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE MPI_COMPILER_RETURN) if (MPI_COMPILER_RETURN EQUAL 0) # We probably have -showme:incdirs and -showme:libdirs as well, # so grab that while we're at it. execute_process( COMMAND ${MPI_${lang}_COMPILER} -showme:incdirs OUTPUT_VARIABLE MPI_INCDIRS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_INCDIRS ERROR_STRIP_TRAILING_WHITESPACE) execute_process( COMMAND ${MPI_${lang}_COMPILER} -showme:libdirs OUTPUT_VARIABLE MPI_LIBDIRS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_LIBDIRS ERROR_STRIP_TRAILING_WHITESPACE) else() # reset things here if something went wrong. set(MPI_COMPILE_CMDLINE) set(MPI_LINK_CMDLINE) endif() endif () # Older versions of LAM-MPI have "-showme". Try to find that. if (NOT MPI_COMPILER_RETURN EQUAL 0) execute_process( COMMAND ${MPI_${lang}_COMPILER} -showme OUTPUT_VARIABLE MPI_COMPILE_CMDLINE OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_COMPILE_CMDLINE ERROR_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE MPI_COMPILER_RETURN) endif() # MVAPICH uses -compile-info and -link-info. Try them. if (NOT MPI_COMPILER_RETURN EQUAL 0) execute_process( COMMAND ${MPI_${lang}_COMPILER} -compile-info OUTPUT_VARIABLE MPI_COMPILE_CMDLINE OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_COMPILE_CMDLINE ERROR_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE MPI_COMPILER_RETURN) # If we have compile-info, also have link-info. if (MPI_COMPILER_RETURN EQUAL 0) execute_process( COMMAND ${MPI_${lang}_COMPILER} -link-info OUTPUT_VARIABLE MPI_LINK_CMDLINE OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_LINK_CMDLINE ERROR_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE MPI_COMPILER_RETURN) endif() # make sure we got compile and link. Reset vars if something's wrong. if (NOT MPI_COMPILER_RETURN EQUAL 0) set(MPI_COMPILE_CMDLINE) set(MPI_LINK_CMDLINE) endif() endif() # MPICH just uses "-show". Try it. if (NOT MPI_COMPILER_RETURN EQUAL 0) execute_process( COMMAND ${MPI_${lang}_COMPILER} -show OUTPUT_VARIABLE MPI_COMPILE_CMDLINE OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE MPI_COMPILE_CMDLINE ERROR_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE MPI_COMPILER_RETURN) endif() if (MPI_COMPILER_RETURN EQUAL 0) # We have our command lines, but we might need to copy MPI_COMPILE_CMDLINE # into MPI_LINK_CMDLINE, if we didn't find the link line. if (NOT MPI_LINK_CMDLINE) set(MPI_LINK_CMDLINE ${MPI_COMPILE_CMDLINE}) endif() else() message(STATUS "Unable to determine MPI from MPI driver ${MPI_${lang}_COMPILER}") set(MPI_COMPILE_CMDLINE) set(MPI_LINK_CMDLINE) endif() # Here, we're done with the interrogation part, and we'll try to extract args we care # about from what we learned from the compiler wrapper scripts. # If interrogation came back with something, extract our variable from the MPI command line if (MPI_COMPILE_CMDLINE OR MPI_LINK_CMDLINE) # Extract compile flags from the compile command line. string(REGEX MATCHALL "(^| )-[Df]([^\" ]+|\"[^\"]+\")" MPI_ALL_COMPILE_FLAGS "${MPI_COMPILE_CMDLINE}") set(MPI_COMPILE_FLAGS_WORK) foreach(FLAG ${MPI_ALL_COMPILE_FLAGS}) if (MPI_COMPILE_FLAGS_WORK) set(MPI_COMPILE_FLAGS_WORK "${MPI_COMPILE_FLAGS_WORK} ${FLAG}") else() set(MPI_COMPILE_FLAGS_WORK ${FLAG}) endif() endforeach() # Extract include paths from compile command line string(REGEX MATCHALL "(^| )-I([^\" ]+|\"[^\"]+\")" MPI_ALL_INCLUDE_PATHS "${MPI_COMPILE_CMDLINE}") foreach(IPATH ${MPI_ALL_INCLUDE_PATHS}) string(REGEX REPLACE "^ ?-I" "" IPATH ${IPATH}) string(REGEX REPLACE "//" "/" IPATH ${IPATH}) list(APPEND MPI_INCLUDE_PATH_WORK ${IPATH}) endforeach() # try using showme:incdirs if extracting didn't work. if (NOT MPI_INCLUDE_PATH_WORK) set(MPI_INCLUDE_PATH_WORK ${MPI_INCDIRS}) separate_arguments(MPI_INCLUDE_PATH_WORK) endif() # If all else fails, just search for mpi.h in the normal include paths. if (NOT MPI_INCLUDE_PATH_WORK) set(MPI_HEADER_PATH "MPI_HEADER_PATH-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) find_path(MPI_HEADER_PATH mpi.h HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH} PATH_SUFFIXES include) set(MPI_INCLUDE_PATH_WORK ${MPI_HEADER_PATH}) endif() # Extract linker paths from the link command line string(REGEX MATCHALL "(^| |-Wl,)-L([^\" ]+|\"[^\"]+\")" MPI_ALL_LINK_PATHS "${MPI_LINK_CMDLINE}") set(MPI_LINK_PATH) foreach(LPATH ${MPI_ALL_LINK_PATHS}) string(REGEX REPLACE "^(| |-Wl,)-L" "" LPATH ${LPATH}) string(REGEX REPLACE "//" "/" LPATH ${LPATH}) list(APPEND MPI_LINK_PATH ${LPATH}) endforeach() # try using showme:libdirs if extracting didn't work. if (NOT MPI_LINK_PATH) set(MPI_LINK_PATH ${MPI_LIBDIRS}) separate_arguments(MPI_LINK_PATH) endif() # Extract linker flags from the link command line string(REGEX MATCHALL "(^| )-Wl,([^\" ]+|\"[^\"]+\")" MPI_ALL_LINK_FLAGS "${MPI_LINK_CMDLINE}") set(MPI_LINK_FLAGS_WORK) foreach(FLAG ${MPI_ALL_LINK_FLAGS}) if (MPI_LINK_FLAGS_WORK) set(MPI_LINK_FLAGS_WORK "${MPI_LINK_FLAGS_WORK} ${FLAG}") else() set(MPI_LINK_FLAGS_WORK ${FLAG}) endif() endforeach() # Extract the set of libraries to link against from the link command # line string(REGEX MATCHALL "(^| )-l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}") # add the compiler implicit directories because some compilers # such as the intel compiler have libraries that show up # in the showme list that can only be found in the implicit # link directories of the compiler. Do this for C++ and C # compilers if the implicit link directories are defined. if (DEFINED CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES) set(MPI_LINK_PATH "${MPI_LINK_PATH};${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES}") endif () if (DEFINED CMAKE_C_IMPLICIT_LINK_DIRECTORIES) set(MPI_LINK_PATH "${MPI_LINK_PATH};${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}") endif () # Determine full path names for all of the libraries that one needs # to link against in an MPI program foreach(LIB ${MPI_LIBNAMES}) string(REGEX REPLACE "^ ?-l" "" LIB ${LIB}) # MPI_LIB is cached by find_library, but we don't want that. Clear it first. set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) find_library(MPI_LIB NAMES ${LIB} HINTS ${MPI_LINK_PATH}) if (MPI_LIB) list(APPEND MPI_LIBRARIES_WORK ${MPI_LIB}) elseif (NOT MPI_FIND_QUIETLY) message(WARNING "Unable to find MPI library ${LIB}") endif() endforeach() # Sanity check MPI_LIBRARIES to make sure there are enough libraries list(LENGTH MPI_LIBRARIES_WORK MPI_NUMLIBS) list(LENGTH MPI_LIBNAMES MPI_NUMLIBS_EXPECTED) if (NOT MPI_NUMLIBS EQUAL MPI_NUMLIBS_EXPECTED) set(MPI_LIBRARIES_WORK "MPI_${lang}_LIBRARIES-NOTFOUND") endif() endif() elseif(try_libs) # If we didn't have an MPI compiler script to interrogate, attempt to find everything # with plain old find functions. This is nasty because MPI implementations have LOTS of # different library names, so this section isn't going to be very generic. We need to # make sure it works for MS MPI, though, since there are no compiler wrappers for that. find_path(MPI_HEADER_PATH mpi.h HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH} PATH_SUFFIXES include Inc) set(MPI_INCLUDE_PATH_WORK ${MPI_HEADER_PATH}) # Decide between 32-bit and 64-bit libraries for Microsoft's MPI if("${CMAKE_SIZEOF_VOID_P}" EQUAL 8) set(MS_MPI_ARCH_DIR amd64) else() set(MS_MPI_ARCH_DIR i386) endif() set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) find_library(MPI_LIB NAMES mpi mpich mpich2 msmpi HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH} PATH_SUFFIXES lib lib/${MS_MPI_ARCH_DIR} Lib Lib/${MS_MPI_ARCH_DIR}) set(MPI_LIBRARIES_WORK ${MPI_LIB}) # Right now, we only know about the extra libs for C++. # We could add Fortran here (as there is usually libfmpich, etc.), but # this really only has to work with MS MPI on Windows. # Assume that other MPI's are covered by the compiler wrappers. if (${lang} STREQUAL CXX) set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) find_library(MPI_LIB NAMES mpi++ mpicxx cxx mpi_cxx HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH} PATH_SUFFIXES lib) if (MPI_LIBRARIES_WORK AND MPI_LIB) list(APPEND MPI_LIBRARIES_WORK ${MPI_LIB}) endif() endif() if (NOT MPI_LIBRARIES_WORK) set(MPI_LIBRARIES_WORK "MPI_${lang}_LIBRARIES-NOTFOUND") endif() endif() # If we found MPI, set up all of the appropriate cache entries set(MPI_${lang}_COMPILE_FLAGS ${MPI_COMPILE_FLAGS_WORK} CACHE STRING "MPI ${lang} compilation flags" FORCE) set(MPI_${lang}_INCLUDE_PATH ${MPI_INCLUDE_PATH_WORK} CACHE STRING "MPI ${lang} include path" FORCE) set(MPI_${lang}_LINK_FLAGS ${MPI_LINK_FLAGS_WORK} CACHE STRING "MPI ${lang} linking flags" FORCE) set(MPI_${lang}_LIBRARIES ${MPI_LIBRARIES_WORK} CACHE STRING "MPI ${lang} libraries to link against" FORCE) mark_as_advanced(MPI_${lang}_COMPILE_FLAGS MPI_${lang}_INCLUDE_PATH MPI_${lang}_LINK_FLAGS MPI_${lang}_LIBRARIES) # clear out our temporary lib/header detectionv variable here. set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE INTERNAL "Scratch variable for MPI lib detection" FORCE) set(MPI_HEADER_PATH "MPI_HEADER_PATH-NOTFOUND" CACHE INTERNAL "Scratch variable for MPI header detection" FORCE) endif() # finally set a found variable for each MPI language if (MPI_${lang}_INCLUDE_PATH AND MPI_${lang}_LIBRARIES) set(MPI_${lang}_FOUND TRUE PARENT_SCOPE) else() set(MPI_${lang}_FOUND FALSE PARENT_SCOPE) endif() endfunction() # This function attempts to compile with the regular compiler, to see if MPI programs # work with it. This is a last ditch attempt after we've tried interrogating mpicc and # friends, and after we've tried to find generic libraries. Works on machines like # Cray XE6, where the modules environment changes what MPI version cc, CC, and ftn use. function(try_regular_compiler lang success) set(scratch_directory ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}) if (${lang} STREQUAL Fortran) set(test_file ${scratch_directory}/cmake_mpi_test.f90) file(WRITE ${test_file} "program hello\n" "include 'mpif.h'\n" "integer ierror\n" "call MPI_INIT(ierror)\n" "call MPI_FINALIZE(ierror)\n" "end\n") else() if (${lang} STREQUAL CXX) set(test_file ${scratch_directory}/cmake_mpi_test.cpp) else() set(test_file ${scratch_directory}/cmake_mpi_test.c) endif() file(WRITE ${test_file} "#include \n" "int main(int argc, char **argv) {\n" " MPI_Init(&argc, &argv);\n" " MPI_Finalize();\n" "}\n") endif() try_compile(compiler_has_mpi ${scratch_directory} ${test_file}) if (compiler_has_mpi) set(MPI_${lang}_NO_INTERROGATE ${CMAKE_${lang}_COMPILER} CACHE STRING "Whether to interrogate MPI ${lang} compiler" FORCE) set(MPI_${lang}_COMPILER ${CMAKE_${lang}_COMPILER} CACHE STRING "MPI ${lang} compiler" FORCE) set(MPI_${lang}_COMPILE_FLAGS "" CACHE STRING "MPI ${lang} compilation flags" FORCE) set(MPI_${lang}_INCLUDE_PATH "" CACHE STRING "MPI ${lang} include path" FORCE) set(MPI_${lang}_LINK_FLAGS "" CACHE STRING "MPI ${lang} linking flags" FORCE) set(MPI_${lang}_LIBRARIES "" CACHE STRING "MPI ${lang} libraries to link against" FORCE) endif() set(${success} ${compiler_has_mpi} PARENT_SCOPE) unset(compiler_has_mpi CACHE) endfunction() # End definitions, commence real work here. # Most mpi distros have some form of mpiexec which gives us something we can reliably look for. find_program(MPIEXEC NAMES ${_MPI_EXEC_NAMES} PATHS ${_MPI_PREFIX_PATH} PATH_SUFFIXES bin DOC "Executable for running MPI programs.") # call get_filename_component twice to remove mpiexec and the directory it exists in (typically bin). # This gives us a fairly reliable base directory to search for /bin /lib and /include from. get_filename_component(_MPI_BASE_DIR "${MPIEXEC}" PATH) get_filename_component(_MPI_BASE_DIR "${_MPI_BASE_DIR}" PATH) set(MPIEXEC_NUMPROC_FLAG "-np" CACHE STRING "Flag used by MPI to specify the number of processes for MPIEXEC; the next option will be the number of processes.") set(MPIEXEC_PREFLAGS "" CACHE STRING "These flags will be directly before the executable that is being run by MPIEXEC.") set(MPIEXEC_POSTFLAGS "" CACHE STRING "These flags will come after all flags given to MPIEXEC.") set(MPIEXEC_MAX_NUMPROCS "2" CACHE STRING "Maximum number of processors available to run MPI applications.") mark_as_advanced(MPIEXEC MPIEXEC_NUMPROC_FLAG MPIEXEC_PREFLAGS MPIEXEC_POSTFLAGS MPIEXEC_MAX_NUMPROCS) #============================================================================= # Backward compatibility input hacks. Propagate the FindMPI hints to C and # CXX if the respective new versions are not defined. Translate the old # MPI_LIBRARY and MPI_EXTRA_LIBRARY to respective MPI_${lang}_LIBRARIES. # # Once we find the new variables, we translate them back into their old # equivalents below. foreach (lang C CXX) # Old input variables. set(_MPI_OLD_INPUT_VARS COMPILER COMPILE_FLAGS INCLUDE_PATH LINK_FLAGS) # Set new vars based on their old equivalents, if the new versions are not already set. foreach (var ${_MPI_OLD_INPUT_VARS}) if (NOT MPI_${lang}_${var} AND MPI_${var}) set(MPI_${lang}_${var} "${MPI_${var}}") endif() endforeach() # Special handling for MPI_LIBRARY and MPI_EXTRA_LIBRARY, which we nixed in the # new FindMPI. These need to be merged into MPI__LIBRARIES if (NOT MPI_${lang}_LIBRARIES AND (MPI_LIBRARY OR MPI_EXTRA_LIBRARY)) set(MPI_${lang}_LIBRARIES ${MPI_LIBRARY} ${MPI_EXTRA_LIBRARY}) endif() endforeach() #============================================================================= # This loop finds the compilers and sends them off for interrogation. foreach (lang C CXX Fortran) if (CMAKE_${lang}_COMPILER_WORKS) # If the user supplies a compiler *name* instead of an absolute path, assume that we need to find THAT compiler. if (MPI_${lang}_COMPILER) is_file_executable(MPI_${lang}_COMPILER MPI_COMPILER_IS_EXECUTABLE) if (NOT MPI_COMPILER_IS_EXECUTABLE) # Get rid of our default list of names and just search for the name the user wants. set(_MPI_${lang}_COMPILER_NAMES ${MPI_${lang}_COMPILER}) set(MPI_${lang}_COMPILER "MPI_${lang}_COMPILER-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) # If the user specifies a compiler, we don't want to try to search libraries either. set(try_libs FALSE) endif() else() set(try_libs TRUE) endif() find_program(MPI_${lang}_COMPILER NAMES ${_MPI_${lang}_COMPILER_NAMES} PATHS "${MPI_HOME}/bin" "$ENV{MPI_HOME}/bin" ${_MPI_PREFIX_PATH}) interrogate_mpi_compiler(${lang} ${try_libs}) mark_as_advanced(MPI_${lang}_COMPILER) # last ditch try -- if nothing works so far, just try running the regular compiler and # see if we can create an MPI executable. set(regular_compiler_worked 0) if (NOT MPI_${lang}_LIBRARIES OR NOT MPI_${lang}_INCLUDE_PATH) try_regular_compiler(${lang} regular_compiler_worked) endif() set(MPI_${lang}_FIND_QUIETLY ${MPI_FIND_QUIETLY}) set(MPI_${lang}_FIND_REQUIRED ${MPI_FIND_REQUIRED}) set(MPI_${lang}_FIND_VERSION ${MPI_FIND_VERSION}) set(MPI_${lang}_FIND_VERSION_EXACT ${MPI_FIND_VERSION_EXACT}) if (regular_compiler_worked) find_package_handle_standard_args(MPI_${lang} DEFAULT_MSG MPI_${lang}_COMPILER) else() find_package_handle_standard_args(MPI_${lang} DEFAULT_MSG MPI_${lang}_LIBRARIES MPI_${lang}_INCLUDE_PATH) endif() endif() endforeach() #============================================================================= # More backward compatibility stuff # # Bare MPI sans ${lang} vars are set to CXX then C, depending on what was found. # This mimics the behavior of the old language-oblivious FindMPI. set(_MPI_OLD_VARS FOUND COMPILER INCLUDE_PATH COMPILE_FLAGS LINK_FLAGS LIBRARIES) if (MPI_CXX_FOUND) foreach (var ${_MPI_OLD_VARS}) set(MPI_${var} ${MPI_CXX_${var}}) endforeach() elseif (MPI_C_FOUND) foreach (var ${_MPI_OLD_VARS}) set(MPI_${var} ${MPI_C_${var}}) endforeach() else() # Note that we might still have found Fortran, but you'll need to use MPI_Fortran_FOUND set(MPI_FOUND FALSE) endif() # Chop MPI_LIBRARIES into the old-style MPI_LIBRARY and MPI_EXTRA_LIBRARY, and set them in cache. if (MPI_LIBRARIES) list(GET MPI_LIBRARIES 0 MPI_LIBRARY_WORK) set(MPI_LIBRARY ${MPI_LIBRARY_WORK} CACHE FILEPATH "MPI library to link against" FORCE) else() set(MPI_LIBRARY "MPI_LIBRARY-NOTFOUND" CACHE FILEPATH "MPI library to link against" FORCE) endif() list(LENGTH MPI_LIBRARIES MPI_NUMLIBS) if (MPI_NUMLIBS GREATER 1) set(MPI_EXTRA_LIBRARY_WORK ${MPI_LIBRARIES}) list(REMOVE_AT MPI_EXTRA_LIBRARY_WORK 0) set(MPI_EXTRA_LIBRARY ${MPI_EXTRA_LIBRARY_WORK} CACHE STRING "Extra MPI libraries to link against" FORCE) else() set(MPI_EXTRA_LIBRARY "MPI_EXTRA_LIBRARY-NOTFOUND" CACHE STRING "Extra MPI libraries to link against" FORCE) endif() #============================================================================= # unset these vars to cleanup namespace unset(_MPI_OLD_VARS) unset(_MPI_PREFIX_PATH) unset(_MPI_BASE_DIR) foreach (lang C CXX Fortran) unset(_MPI_${lang}_COMPILER_NAMES) endforeach() cmake-2.8.12.2/Modules/FindOpenAL.cmake000644 000765 000024 00000007553 12266011634 020201 0ustar00kitwarestaff000000 000000 # Locate OpenAL # This module defines # OPENAL_LIBRARY # OPENAL_FOUND, if false, do not try to link to OpenAL # OPENAL_INCLUDE_DIR, where to find the headers # # $OPENALDIR is an environment variable that would # correspond to the ./configure --prefix=$OPENALDIR # used in building OpenAL. # # Created by Eric Wing. This was influenced by the FindSDL.cmake module. #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This makes the presumption that you are include al.h like # #include "al.h" # and not # #include # The reason for this is that the latter is not entirely portable. # Windows/Creative Labs does not by default put their headers in AL/ and # OS X uses the convention . # # For Windows, Creative Labs seems to have added a registry key for their # OpenAL 1.1 installer. I have added that key to the list of search paths, # however, the key looks like it could be a little fragile depending on # if they decide to change the 1.00.0000 number for bug fix releases. # Also, they seem to have laid down groundwork for multiple library platforms # which puts the library in an extra subdirectory. Currently there is only # Win32 and I have hardcoded that here. This may need to be adjusted as # platforms are introduced. # The OpenAL 1.0 installer doesn't seem to have a useful key I can use. # I do not know if the Nvidia OpenAL SDK has a registry key. # # For OS X, remember that OpenAL was added by Apple in 10.4 (Tiger). # To support the framework, I originally wrote special framework detection # code in this module which I have now removed with CMake's introduction # of native support for frameworks. # In addition, OpenAL is open source, and it is possible to compile on Panther. # Furthermore, due to bugs in the initial OpenAL release, and the # transition to OpenAL 1.1, it is common to need to override the built-in # framework. # Per my request, CMake should search for frameworks first in # the following order: # ~/Library/Frameworks/OpenAL.framework/Headers # /Library/Frameworks/OpenAL.framework/Headers # /System/Library/Frameworks/OpenAL.framework/Headers # # On OS X, this will prefer the Framework version (if found) over others. # People will have to manually change the cache values of # OPENAL_LIBRARY to override this selection or set the CMake environment # CMAKE_INCLUDE_PATH to modify the search paths. find_path(OPENAL_INCLUDE_DIR al.h HINTS ENV OPENALDIR PATH_SUFFIXES include/AL include/OpenAL include PATHS ~/Library/Frameworks /Library/Frameworks /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt [HKEY_LOCAL_MACHINE\\SOFTWARE\\Creative\ Labs\\OpenAL\ 1.1\ Software\ Development\ Kit\\1.00.0000;InstallDir] ) find_library(OPENAL_LIBRARY NAMES OpenAL al openal OpenAL32 HINTS ENV OPENALDIR PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64 PATHS ~/Library/Frameworks /Library/Frameworks /sw /opt/local /opt/csw /opt [HKEY_LOCAL_MACHINE\\SOFTWARE\\Creative\ Labs\\OpenAL\ 1.1\ Software\ Development\ Kit\\1.00.0000;InstallDir] ) # handle the QUIETLY and REQUIRED arguments and set OPENAL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenAL DEFAULT_MSG OPENAL_LIBRARY OPENAL_INCLUDE_DIR) mark_as_advanced(OPENAL_LIBRARY OPENAL_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindOpenGL.cmake000644 000765 000024 00000012451 12266011634 020200 0ustar00kitwarestaff000000 000000 # - Try to find OpenGL # Once done this will define # # OPENGL_FOUND - system has OpenGL # OPENGL_XMESA_FOUND - system has XMESA # OPENGL_GLU_FOUND - system has GLU # OPENGL_INCLUDE_DIR - the GL include directory # OPENGL_LIBRARIES - Link these to use OpenGL and GLU # # If you want to use just GL you can use these values # OPENGL_gl_LIBRARY - Path to OpenGL Library # OPENGL_glu_LIBRARY - Path to GLU Library # # On OSX default to using the framework version of opengl # People will have to change the cache values of OPENGL_glu_LIBRARY # and OPENGL_gl_LIBRARY to use OpenGL with X11 on OSX #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(_OpenGL_REQUIRED_VARS OPENGL_gl_LIBRARY) if (CYGWIN) find_path(OPENGL_INCLUDE_DIR GL/gl.h ) list(APPEND _OpenGL_REQUIRED_VARS OPENGL_INCLUDE_DIR) find_library(OPENGL_gl_LIBRARY opengl32 ) find_library(OPENGL_glu_LIBRARY glu32 ) elseif (WIN32) if(BORLAND) set (OPENGL_gl_LIBRARY import32 CACHE STRING "OpenGL library for win32") set (OPENGL_glu_LIBRARY import32 CACHE STRING "GLU library for win32") else() set (OPENGL_gl_LIBRARY opengl32 CACHE STRING "OpenGL library for win32") set (OPENGL_glu_LIBRARY glu32 CACHE STRING "GLU library for win32") endif() elseif (APPLE) find_library(OPENGL_gl_LIBRARY OpenGL DOC "OpenGL lib for OSX") find_library(OPENGL_glu_LIBRARY AGL DOC "AGL lib for OSX") find_path(OPENGL_INCLUDE_DIR OpenGL/gl.h DOC "Include for OpenGL on OSX") list(APPEND _OpenGL_REQUIRED_VARS OPENGL_INCLUDE_DIR) else() if (CMAKE_SYSTEM_NAME MATCHES "HP-UX") # Handle HP-UX cases where we only want to find OpenGL in either hpux64 # or hpux32 depending on if we're doing a 64 bit build. if(CMAKE_SIZEOF_VOID_P EQUAL 4) set(_OPENGL_LIB_PATH /opt/graphics/OpenGL/lib/hpux32/) else() set(_OPENGL_LIB_PATH /opt/graphics/OpenGL/lib/hpux64/ /opt/graphics/OpenGL/lib/pa20_64) endif() elseif(CMAKE_SYSTEM_NAME STREQUAL Haiku) set(_OPENGL_LIB_PATH /boot/develop/lib/x86) set(_OPENGL_INCLUDE_PATH /boot/develop/headers/os/opengl) endif() # The first line below is to make sure that the proper headers # are used on a Linux machine with the NVidia drivers installed. # They replace Mesa with NVidia's own library but normally do not # install headers and that causes the linking to # fail since the compiler finds the Mesa headers but NVidia's library. # Make sure the NVIDIA directory comes BEFORE the others. # - Atanas Georgiev find_path(OPENGL_INCLUDE_DIR GL/gl.h /usr/share/doc/NVIDIA_GLX-1.0/include /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include ${_OPENGL_INCLUDE_PATH} ) list(APPEND _OpenGL_REQUIRED_VARS OPENGL_INCLUDE_DIR) find_path(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h /usr/share/doc/NVIDIA_GLX-1.0/include /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include ) find_library(OPENGL_gl_LIBRARY NAMES GL MesaGL PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib ${_OPENGL_LIB_PATH} ) unset(_OPENGL_INCLUDE_PATH) unset(_OPENGL_LIB_PATH) # On Unix OpenGL most certainly always requires X11. # Feel free to tighten up these conditions if you don't # think this is always true. if (OPENGL_gl_LIBRARY) if(NOT X11_FOUND) include(${CMAKE_CURRENT_LIST_DIR}/FindX11.cmake) endif() if (X11_FOUND) set (OPENGL_LIBRARIES ${X11_LIBRARIES}) endif () endif () find_library(OPENGL_glu_LIBRARY NAMES GLU MesaGLU PATHS ${OPENGL_gl_LIBRARY} /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib ) endif () if(OPENGL_gl_LIBRARY) if(OPENGL_xmesa_INCLUDE_DIR) set( OPENGL_XMESA_FOUND "YES" ) else() set( OPENGL_XMESA_FOUND "NO" ) endif() set( OPENGL_LIBRARIES ${OPENGL_gl_LIBRARY} ${OPENGL_LIBRARIES}) if(OPENGL_glu_LIBRARY) set( OPENGL_GLU_FOUND "YES" ) set( OPENGL_LIBRARIES ${OPENGL_glu_LIBRARY} ${OPENGL_LIBRARIES} ) else() set( OPENGL_GLU_FOUND "NO" ) endif() # This deprecated setting is for backward compatibility with CMake1.4 set (OPENGL_LIBRARY ${OPENGL_LIBRARIES}) endif() # This deprecated setting is for backward compatibility with CMake1.4 set(OPENGL_INCLUDE_PATH ${OPENGL_INCLUDE_DIR}) # handle the QUIETLY and REQUIRED arguments and set OPENGL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenGL REQUIRED_VARS ${_OpenGL_REQUIRED_VARS}) unset(_OpenGL_REQUIRED_VARS) mark_as_advanced( OPENGL_INCLUDE_DIR OPENGL_xmesa_INCLUDE_DIR OPENGL_glu_LIBRARY OPENGL_gl_LIBRARY ) cmake-2.8.12.2/Modules/FindOpenMP.cmake000644 000765 000024 00000012466 12266011634 020220 0ustar00kitwarestaff000000 000000 # - Finds OpenMP support # This module can be used to detect OpenMP support in a compiler. # If the compiler supports OpenMP, the flags required to compile with # OpenMP support are returned in variables for the different languages. # The variables may be empty if the compiler does not need a special # flag to support OpenMP. # # The following variables are set: # OpenMP_C_FLAGS - flags to add to the C compiler for OpenMP support # OpenMP_CXX_FLAGS - flags to add to the CXX compiler for OpenMP support # OPENMP_FOUND - true if openmp is detected # # Supported compilers can be found at http://openmp.org/wp/openmp-compilers/ #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2008-2009 André Rigland Brodtkorb # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(_OPENMP_REQUIRED_VARS) function(_OPENMP_FLAG_CANDIDATES LANG) set(OpenMP_FLAG_CANDIDATES #Empty, if compiler automatically accepts openmp " " #GNU "-fopenmp" #Microsoft Visual Studio "/openmp" #Intel windows "-Qopenmp" #PathScale, Intel "-openmp" #Sun "-xopenmp" #HP "+Oopenmp" #IBM XL C/c++ "-qsmp" #Portland Group, MIPSpro "-mp" ) set(OMP_FLAG_GNU "-fopenmp") set(OMP_FLAG_HP "+Oopenmp") if(WIN32) set(OMP_FLAG_Intel "-Qopenmp") else() set(OMP_FLAG_Intel "-openmp") endif() set(OMP_FLAG_MIPSpro "-mp") set(OMP_FLAG_MSVC "/openmp") set(OMP_FLAG_PathScale "-openmp") set(OMP_FLAG_PGI "-mp") set(OMP_FLAG_SunPro "-xopenmp") set(OMP_FLAG_XL "-qsmp") set(OMP_FLAG_Cray " ") # Move the flag that matches the compiler to the head of the list, # this is faster and doesn't clutter the output that much. If that # flag doesn't work we will still try all. if(OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID}) list(REMOVE_ITEM OpenMP_FLAG_CANDIDATES "${OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID}}") list(INSERT OpenMP_FLAG_CANDIDATES 0 "${OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID}}") endif() set(OpenMP_${LANG}_FLAG_CANDIDATES "${OpenMP_FLAG_CANDIDATES}" PARENT_SCOPE) endfunction() # sample openmp source code to test set(OpenMP_C_TEST_SOURCE " #include int main() { #ifdef _OPENMP return 0; #else breaks_on_purpose #endif } ") # check c compiler if(CMAKE_C_COMPILER_LOADED) # if these are set then do not try to find them again, # by avoiding any try_compiles for the flags if(OpenMP_C_FLAGS) unset(OpenMP_C_FLAG_CANDIDATES) else() _OPENMP_FLAG_CANDIDATES("C") include(${CMAKE_CURRENT_LIST_DIR}/CheckCSourceCompiles.cmake) endif() foreach(FLAG IN LISTS OpenMP_C_FLAG_CANDIDATES) set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") set(CMAKE_REQUIRED_FLAGS "${FLAG}") unset(OpenMP_FLAG_DETECTED CACHE) message(STATUS "Try OpenMP C flag = [${FLAG}]") check_c_source_compiles("${OpenMP_C_TEST_SOURCE}" OpenMP_FLAG_DETECTED) set(CMAKE_REQUIRED_FLAGS "${SAFE_CMAKE_REQUIRED_FLAGS}") if(OpenMP_FLAG_DETECTED) set(OpenMP_C_FLAGS_INTERNAL "${FLAG}") break() endif() endforeach() set(OpenMP_C_FLAGS "${OpenMP_C_FLAGS_INTERNAL}" CACHE STRING "C compiler flags for OpenMP parallization") list(APPEND _OPENMP_REQUIRED_VARS OpenMP_C_FLAGS) unset(OpenMP_C_FLAG_CANDIDATES) endif() # check cxx compiler if(CMAKE_CXX_COMPILER_LOADED) # if these are set then do not try to find them again, # by avoiding any try_compiles for the flags if(OpenMP_CXX_FLAGS) unset(OpenMP_CXX_FLAG_CANDIDATES) else() _OPENMP_FLAG_CANDIDATES("CXX") include(${CMAKE_CURRENT_LIST_DIR}/CheckCXXSourceCompiles.cmake) # use the same source for CXX as C for now set(OpenMP_CXX_TEST_SOURCE ${OpenMP_C_TEST_SOURCE}) endif() foreach(FLAG IN LISTS OpenMP_CXX_FLAG_CANDIDATES) set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") set(CMAKE_REQUIRED_FLAGS "${FLAG}") unset(OpenMP_FLAG_DETECTED CACHE) message(STATUS "Try OpenMP CXX flag = [${FLAG}]") check_cxx_source_compiles("${OpenMP_CXX_TEST_SOURCE}" OpenMP_FLAG_DETECTED) set(CMAKE_REQUIRED_FLAGS "${SAFE_CMAKE_REQUIRED_FLAGS}") if(OpenMP_FLAG_DETECTED) set(OpenMP_CXX_FLAGS_INTERNAL "${FLAG}") break() endif() endforeach() set(OpenMP_CXX_FLAGS "${OpenMP_CXX_FLAGS_INTERNAL}" CACHE STRING "C++ compiler flags for OpenMP parallization") list(APPEND _OPENMP_REQUIRED_VARS OpenMP_CXX_FLAGS) unset(OpenMP_CXX_FLAG_CANDIDATES) unset(OpenMP_CXX_TEST_SOURCE) endif() if(_OPENMP_REQUIRED_VARS) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(OpenMP REQUIRED_VARS ${_OPENMP_REQUIRED_VARS}) mark_as_advanced(${_OPENMP_REQUIRED_VARS}) unset(_OPENMP_REQUIRED_VARS) else() message(SEND_ERROR "FindOpenMP requires C or CXX language to be enabled") endif() cmake-2.8.12.2/Modules/FindOpenSceneGraph.cmake000644 000765 000024 00000016416 12266011634 021722 0ustar00kitwarestaff000000 000000 # - Find OpenSceneGraph # This module searches for the OpenSceneGraph core "osg" library as well as # OpenThreads, and whatever additional COMPONENTS (nodekits) that you specify. # See http://www.openscenegraph.org # # NOTE: To use this module effectively you must either require CMake >= 2.6.3 # with cmake_minimum_required(VERSION 2.6.3) or download and place # FindOpenThreads.cmake, Findosg_functions.cmake, Findosg.cmake, # and Find.cmake files into your CMAKE_MODULE_PATH. # #================================== # # This module accepts the following variables (note mixed case) # # OpenSceneGraph_DEBUG - Enable debugging output # # OpenSceneGraph_MARK_AS_ADVANCED - Mark cache variables as advanced # automatically # # The following environment variables are also respected for finding the OSG # and it's various components. CMAKE_PREFIX_PATH can also be used for this # (see find_library() CMake documentation). # # _DIR (where MODULE is of the form "OSGVOLUME" and there is a FindosgVolume.cmake file) # OSG_DIR # OSGDIR # OSG_ROOT # # [CMake 2.8.10]: # The CMake variable OSG_DIR can now be used as well to influence detection, instead of needing # to specify an environment variable. # # This module defines the following output variables: # # OPENSCENEGRAPH_FOUND - Was the OSG and all of the specified components found? # # OPENSCENEGRAPH_VERSION - The version of the OSG which was found # # OPENSCENEGRAPH_INCLUDE_DIRS - Where to find the headers # # OPENSCENEGRAPH_LIBRARIES - The OSG libraries # #================================== # Example Usage: # # find_package(OpenSceneGraph 2.0.0 REQUIRED osgDB osgUtil) # # libOpenThreads & libosg automatically searched # include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}) # # add_executable(foo foo.cc) # target_link_libraries(foo ${OPENSCENEGRAPH_LIBRARIES}) # #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009-2012 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # Naming convention: # Local variables of the form _osg_foo # Input variables of the form OpenSceneGraph_FOO # Output variables of the form OPENSCENEGRAPH_FOO # include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) set(_osg_modules_to_process) foreach(_osg_component ${OpenSceneGraph_FIND_COMPONENTS}) list(APPEND _osg_modules_to_process ${_osg_component}) endforeach() list(APPEND _osg_modules_to_process "osg" "OpenThreads") list(REMOVE_DUPLICATES _osg_modules_to_process) if(OpenSceneGraph_DEBUG) message(STATUS "[ FindOpenSceneGraph.cmake:${CMAKE_CURRENT_LIST_LINE} ] " "Components = ${_osg_modules_to_process}") endif() # # First we need to find and parse osg/Version # OSG_FIND_PATH(OSG osg/Version) if(OpenSceneGraph_MARK_AS_ADVANCED) OSG_MARK_AS_ADVANCED(OSG) endif() # Try to ascertain the version... if(OSG_INCLUDE_DIR) if(OpenSceneGraph_DEBUG) message(STATUS "[ FindOpenSceneGraph.cmake:${CMAKE_CURRENT_LIST_LINE} ] " "Detected OSG_INCLUDE_DIR = ${OSG_INCLUDE_DIR}") endif() set(_osg_Version_file "${OSG_INCLUDE_DIR}/osg/Version") if("${OSG_INCLUDE_DIR}" MATCHES "\\.framework$" AND NOT EXISTS "${_osg_Version_file}") set(_osg_Version_file "${OSG_INCLUDE_DIR}/Headers/Version") endif() if(EXISTS "${_osg_Version_file}") file(STRINGS "${_osg_Version_file}" _osg_Version_contents REGEX "#define (OSG_VERSION_[A-Z]+|OPENSCENEGRAPH_[A-Z]+_VERSION)[ \t]+[0-9]+") else() set(_osg_Version_contents "unknown") endif() string(REGEX MATCH ".*#define OSG_VERSION_MAJOR[ \t]+[0-9]+.*" _osg_old_defines "${_osg_Version_contents}") string(REGEX MATCH ".*#define OPENSCENEGRAPH_MAJOR_VERSION[ \t]+[0-9]+.*" _osg_new_defines "${_osg_Version_contents}") if(_osg_old_defines) string(REGEX REPLACE ".*#define OSG_VERSION_MAJOR[ \t]+([0-9]+).*" "\\1" _osg_VERSION_MAJOR ${_osg_Version_contents}) string(REGEX REPLACE ".*#define OSG_VERSION_MINOR[ \t]+([0-9]+).*" "\\1" _osg_VERSION_MINOR ${_osg_Version_contents}) string(REGEX REPLACE ".*#define OSG_VERSION_PATCH[ \t]+([0-9]+).*" "\\1" _osg_VERSION_PATCH ${_osg_Version_contents}) elseif(_osg_new_defines) string(REGEX REPLACE ".*#define OPENSCENEGRAPH_MAJOR_VERSION[ \t]+([0-9]+).*" "\\1" _osg_VERSION_MAJOR ${_osg_Version_contents}) string(REGEX REPLACE ".*#define OPENSCENEGRAPH_MINOR_VERSION[ \t]+([0-9]+).*" "\\1" _osg_VERSION_MINOR ${_osg_Version_contents}) string(REGEX REPLACE ".*#define OPENSCENEGRAPH_PATCH_VERSION[ \t]+([0-9]+).*" "\\1" _osg_VERSION_PATCH ${_osg_Version_contents}) else() message(WARNING "[ FindOpenSceneGraph.cmake:${CMAKE_CURRENT_LIST_LINE} ] " "Failed to parse version number, please report this as a bug") endif() unset(_osg_Version_contents) set(OPENSCENEGRAPH_VERSION "${_osg_VERSION_MAJOR}.${_osg_VERSION_MINOR}.${_osg_VERSION_PATCH}" CACHE INTERNAL "The version of OSG which was detected") if(OpenSceneGraph_DEBUG) message(STATUS "[ FindOpenSceneGraph.cmake:${CMAKE_CURRENT_LIST_LINE} ] " "Detected version ${OPENSCENEGRAPH_VERSION}") endif() endif() set(_osg_quiet) if(OpenSceneGraph_FIND_QUIETLY) set(_osg_quiet "QUIET") endif() # # Here we call find_package() on all of the components # foreach(_osg_module ${_osg_modules_to_process}) if(OpenSceneGraph_DEBUG) message(STATUS "[ FindOpenSceneGraph.cmake:${CMAKE_CURRENT_LIST_LINE} ] " "Calling find_package(${_osg_module} ${_osg_required} ${_osg_quiet})") endif() find_package(${_osg_module} ${_osg_quiet}) string(TOUPPER ${_osg_module} _osg_module_UC) list(APPEND OPENSCENEGRAPH_INCLUDE_DIR ${${_osg_module_UC}_INCLUDE_DIR}) list(APPEND OPENSCENEGRAPH_LIBRARIES ${${_osg_module_UC}_LIBRARIES}) if(OpenSceneGraph_MARK_AS_ADVANCED) OSG_MARK_AS_ADVANCED(${_osg_module}) endif() endforeach() if(OPENSCENEGRAPH_INCLUDE_DIR) list(REMOVE_DUPLICATES OPENSCENEGRAPH_INCLUDE_DIR) endif() # # Check each module to see if it's found # set(_osg_component_founds) if(OpenSceneGraph_FIND_REQUIRED) foreach(_osg_module ${_osg_modules_to_process}) string(TOUPPER ${_osg_module} _osg_module_UC) list(APPEND _osg_component_founds ${_osg_module_UC}_FOUND) endforeach() endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenSceneGraph REQUIRED_VARS OPENSCENEGRAPH_LIBRARIES OPENSCENEGRAPH_INCLUDE_DIR ${_osg_component_founds} VERSION_VAR OPENSCENEGRAPH_VERSION) unset(_osg_component_founds) set(OPENSCENEGRAPH_INCLUDE_DIRS ${OPENSCENEGRAPH_INCLUDE_DIR}) cmake-2.8.12.2/Modules/FindOpenSSL.cmake000644 000765 000024 00000022704 12266011634 020341 0ustar00kitwarestaff000000 000000 # - Try to find the OpenSSL encryption library # Once done this will define # # OPENSSL_ROOT_DIR - Set this variable to the root installation of OpenSSL # # Read-Only variables: # OPENSSL_FOUND - system has the OpenSSL library # OPENSSL_INCLUDE_DIR - the OpenSSL include directory # OPENSSL_LIBRARIES - The libraries needed to use OpenSSL # OPENSSL_VERSION - This is set to $major.$minor.$revision$path (eg. 0.9.8s) #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # Copyright 2009-2011 Mathieu Malaterre # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (UNIX) find_package(PkgConfig QUIET) pkg_check_modules(_OPENSSL QUIET openssl) endif () if (WIN32) # http://www.slproweb.com/products/Win32OpenSSL.html set(_OPENSSL_ROOT_HINTS ${OPENSSL_ROOT_DIR} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;Inno Setup: App Path]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;Inno Setup: App Path]" ENV OPENSSL_ROOT_DIR ) file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _programfiles) set(_OPENSSL_ROOT_PATHS "${_programfiles}/OpenSSL" "${_programfiles}/OpenSSL-Win32" "${_programfiles}/OpenSSL-Win64" "C:/OpenSSL/" "C:/OpenSSL-Win32/" "C:/OpenSSL-Win64/" ) unset(_programfiles) set(_OPENSSL_ROOT_HINTS_AND_PATHS HINTS ${_OPENSSL_ROOT_HINTS} PATHS ${_OPENSSL_ROOT_PATHS} ) else () set(_OPENSSL_ROOT_HINTS ${OPENSSL_ROOT_DIR} ENV OPENSSL_ROOT_DIR ) endif () find_path(OPENSSL_INCLUDE_DIR NAMES openssl/ssl.h HINTS ${_OPENSSL_INCLUDEDIR} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES include ) if(WIN32 AND NOT CYGWIN) if(MSVC) # /MD and /MDd are the standard values - if someone wants to use # others, the libnames have to change here too # use also ssl and ssleay32 in debug as fallback for openssl < 0.9.8b # TODO: handle /MT and static lib # In Visual C++ naming convention each of these four kinds of Windows libraries has it's standard suffix: # * MD for dynamic-release # * MDd for dynamic-debug # * MT for static-release # * MTd for static-debug # Implementation details: # We are using the libraries located in the VC subdir instead of the parent directory eventhough : # libeay32MD.lib is identical to ../libeay32.lib, and # ssleay32MD.lib is identical to ../ssleay32.lib find_library(LIB_EAY_DEBUG NAMES libeay32MDd libeay32d ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" "VC" "lib/VC" ) find_library(LIB_EAY_RELEASE NAMES libeay32MD libeay32 ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" "VC" "lib/VC" ) find_library(SSL_EAY_DEBUG NAMES ssleay32MDd ssleay32d ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" "VC" "lib/VC" ) find_library(SSL_EAY_RELEASE NAMES ssleay32MD ssleay32 ssl ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" "VC" "lib/VC" ) set(LIB_EAY_LIBRARY_DEBUG "${LIB_EAY_DEBUG}") set(LIB_EAY_LIBRARY_RELEASE "${LIB_EAY_RELEASE}") set(SSL_EAY_LIBRARY_DEBUG "${SSL_EAY_DEBUG}") set(SSL_EAY_LIBRARY_RELEASE "${SSL_EAY_RELEASE}") include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(LIB_EAY) select_library_configurations(SSL_EAY) set( OPENSSL_LIBRARIES ${SSL_EAY_LIBRARY} ${LIB_EAY_LIBRARY} ) elseif(MINGW) # same player, for MinGW set(LIB_EAY_NAMES libeay32) set(SSL_EAY_NAMES ssleay32) if(CMAKE_CROSSCOMPILING) list(APPEND LIB_EAY_NAMES crypto) list(APPEND SSL_EAY_NAMES ssl) endif() find_library(LIB_EAY NAMES ${LIB_EAY_NAMES} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" "lib/MinGW" ) find_library(SSL_EAY NAMES ${SSL_EAY_NAMES} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" "lib/MinGW" ) mark_as_advanced(SSL_EAY LIB_EAY) set( OPENSSL_LIBRARIES ${SSL_EAY} ${LIB_EAY} ) unset(LIB_EAY_NAMES) unset(SSL_EAY_NAMES) else() # Not sure what to pick for -say- intel, let's use the toplevel ones and hope someone report issues: find_library(LIB_EAY NAMES libeay32 HINTS ${_OPENSSL_LIBDIR} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES lib ) find_library(SSL_EAY NAMES ssleay32 HINTS ${_OPENSSL_LIBDIR} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES lib ) mark_as_advanced(SSL_EAY LIB_EAY) set( OPENSSL_LIBRARIES ${SSL_EAY} ${LIB_EAY} ) endif() else() find_library(OPENSSL_SSL_LIBRARY NAMES ssl ssleay32 ssleay32MD HINTS ${_OPENSSL_LIBDIR} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES lib ) find_library(OPENSSL_CRYPTO_LIBRARY NAMES crypto HINTS ${_OPENSSL_LIBDIR} ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES lib ) mark_as_advanced(OPENSSL_CRYPTO_LIBRARY OPENSSL_SSL_LIBRARY) # compat defines set(OPENSSL_SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY}) set(OPENSSL_CRYPTO_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY}) set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) endif() function(from_hex HEX DEC) string(TOUPPER "${HEX}" HEX) set(_res 0) string(LENGTH "${HEX}" _strlen) while (_strlen GREATER 0) math(EXPR _res "${_res} * 16") string(SUBSTRING "${HEX}" 0 1 NIBBLE) string(SUBSTRING "${HEX}" 1 -1 HEX) if (NIBBLE STREQUAL "A") math(EXPR _res "${_res} + 10") elseif (NIBBLE STREQUAL "B") math(EXPR _res "${_res} + 11") elseif (NIBBLE STREQUAL "C") math(EXPR _res "${_res} + 12") elseif (NIBBLE STREQUAL "D") math(EXPR _res "${_res} + 13") elseif (NIBBLE STREQUAL "E") math(EXPR _res "${_res} + 14") elseif (NIBBLE STREQUAL "F") math(EXPR _res "${_res} + 15") else() math(EXPR _res "${_res} + ${NIBBLE}") endif() string(LENGTH "${HEX}" _strlen) endwhile() set(${DEC} ${_res} PARENT_SCOPE) endfunction() if (OPENSSL_INCLUDE_DIR) if (_OPENSSL_VERSION) set(OPENSSL_VERSION "${_OPENSSL_VERSION}") elseif(OPENSSL_INCLUDE_DIR AND EXISTS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h") file(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" openssl_version_str REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*") # The version number is encoded as 0xMNNFFPPS: major minor fix patch status # The status gives if this is a developer or prerelease and is ignored here. # Major, minor, and fix directly translate into the version numbers shown in # the string. The patch field translates to the single character suffix that # indicates the bug fix state, which 00 -> nothing, 01 -> a, 02 -> b and so # on. string(REGEX REPLACE "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F]).*$" "\\1;\\2;\\3;\\4;\\5" OPENSSL_VERSION_LIST "${openssl_version_str}") list(GET OPENSSL_VERSION_LIST 0 OPENSSL_VERSION_MAJOR) list(GET OPENSSL_VERSION_LIST 1 OPENSSL_VERSION_MINOR) from_hex("${OPENSSL_VERSION_MINOR}" OPENSSL_VERSION_MINOR) list(GET OPENSSL_VERSION_LIST 2 OPENSSL_VERSION_FIX) from_hex("${OPENSSL_VERSION_FIX}" OPENSSL_VERSION_FIX) list(GET OPENSSL_VERSION_LIST 3 OPENSSL_VERSION_PATCH) if (NOT OPENSSL_VERSION_PATCH STREQUAL "00") from_hex("${OPENSSL_VERSION_PATCH}" _tmp) # 96 is the ASCII code of 'a' minus 1 math(EXPR OPENSSL_VERSION_PATCH_ASCII "${_tmp} + 96") unset(_tmp) # Once anyone knows how OpenSSL would call the patch versions beyond 'z' # this should be updated to handle that, too. This has not happened yet # so it is simply ignored here for now. string(ASCII "${OPENSSL_VERSION_PATCH_ASCII}" OPENSSL_VERSION_PATCH_STRING) endif () set(OPENSSL_VERSION "${OPENSSL_VERSION_MAJOR}.${OPENSSL_VERSION_MINOR}.${OPENSSL_VERSION_FIX}${OPENSSL_VERSION_PATCH_STRING}") endif () endif () include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) if (OPENSSL_VERSION) find_package_handle_standard_args(OpenSSL REQUIRED_VARS OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR VERSION_VAR OPENSSL_VERSION FAIL_MESSAGE "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR" ) else () find_package_handle_standard_args(OpenSSL "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR" OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR ) endif () mark_as_advanced(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES) cmake-2.8.12.2/Modules/FindOpenThreads.cmake000644 000765 000024 00000010240 12266011634 021262 0ustar00kitwarestaff000000 000000 # OpenThreads is a C++ based threading library. Its largest userbase # seems to OpenSceneGraph so you might notice I accept OSGDIR as an # environment path. # I consider this part of the Findosg* suite used to find OpenSceneGraph # components. # Each component is separate and you must opt in to each module. # # Locate OpenThreads # This module defines # OPENTHREADS_LIBRARY # OPENTHREADS_FOUND, if false, do not try to link to OpenThreads # OPENTHREADS_INCLUDE_DIR, where to find the headers # # $OPENTHREADS_DIR is an environment variable that would # correspond to the ./configure --prefix=$OPENTHREADS_DIR # used in building osg. # # [CMake 2.8.10]: # The CMake variables OPENTHREADS_DIR or OSG_DIR can now be used as well to influence # detection, instead of needing to specify an environment variable. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # Copyright 2012 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # To make it easier for one-step automated configuration/builds, # we leverage environmental paths. This is preferable # to the -DVAR=value switches because it insulates the # users from changes we may make in this script. # It also offers a little more flexibility than setting # the CMAKE_*_PATH since we can target specific components. # However, the default CMake behavior will search system paths # before anything else. This is problematic in the cases # where you have an older (stable) version installed, but # are trying to build a newer version. # CMake doesn't offer a nice way to globally control this behavior # so we have to do a nasty "double FIND_" in this module. # The first FIND disables the CMAKE_ search paths and only checks # the environmental paths. # If nothing is found, then the second find will search the # standard install paths. # Explicit -DVAR=value arguments should still be able to override everything. find_path(OPENTHREADS_INCLUDE_DIR OpenThreads/Thread HINTS ENV OPENTHREADS_INCLUDE_DIR ENV OPENTHREADS_DIR ENV OSG_INCLUDE_DIR ENV OSG_DIR ENV OSGDIR ENV OpenThreads_ROOT ENV OSG_ROOT ${OPENTHREADS_DIR} ${OSG_DIR} PATHS /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt /usr/freeware PATH_SUFFIXES include ) find_library(OPENTHREADS_LIBRARY NAMES OpenThreads OpenThreadsWin32 HINTS ENV OPENTHREADS_LIBRARY_DIR ENV OPENTHREADS_DIR ENV OSG_LIBRARY_DIR ENV OSG_DIR ENV OSGDIR ENV OpenThreads_ROOT ENV OSG_ROOT ${OPENTHREADS_DIR} ${OSG_DIR} PATHS /sw /opt/local /opt/csw /opt /usr/freeware PATH_SUFFIXES lib ) find_library(OPENTHREADS_LIBRARY_DEBUG NAMES OpenThreadsd OpenThreadsWin32d HINTS ENV OPENTHREADS_DEBUG_LIBRARY_DIR ENV OPENTHREADS_LIBRARY_DIR ENV OPENTHREADS_DIR ENV OSG_LIBRARY_DIR ENV OSG_DIR ENV OSGDIR ENV OpenThreads_ROOT ENV OSG_ROOT ${OPENTHREADS_DIR} ${OSG_DIR} PATHS /sw /opt/local /opt/csw /opt /usr/freeware PATH_SUFFIXES lib ) if(OPENTHREADS_LIBRARY_DEBUG) set(OPENTHREADS_LIBRARIES optimized ${OPENTHREADS_LIBRARY} debug ${OPENTHREADS_LIBRARY_DEBUG}) else() set(OPENTHREADS_LIBRARIES ${OPENTHREADS_LIBRARY}) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenThreads DEFAULT_MSG OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR) cmake-2.8.12.2/Modules/Findosg.cmake000644 000765 000024 00000004325 12266011634 017645 0ustar00kitwarestaff000000 000000 # # NOTE: It is highly recommended that you use the new FindOpenSceneGraph.cmake # introduced in CMake 2.6.3 and not use this Find module directly. # # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osg # This module defines # # OSG_FOUND - Was the Osg found? # OSG_INCLUDE_DIR - Where to find the headers # OSG_LIBRARIES - The libraries to link against for the OSG (use this) # # OSG_LIBRARY - The OSG library # OSG_LIBRARY_DEBUG - The OSG debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSG osg/PositionAttitudeTransform) OSG_FIND_LIBRARY(OSG osg) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osg DEFAULT_MSG OSG_LIBRARY OSG_INCLUDE_DIR) cmake-2.8.12.2/Modules/Findosg_functions.cmake000644 000765 000024 00000006061 12266011634 021734 0ustar00kitwarestaff000000 000000 # # This CMake file contains two macros to assist with searching for OSG # libraries and nodekits. Please see FindOpenSceneGraph.cmake for full # documentation. # #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009-2012 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # OSG_FIND_PATH # function(OSG_FIND_PATH module header) string(TOUPPER ${module} module_uc) # Try the user's environment request before anything else. find_path(${module_uc}_INCLUDE_DIR ${header} HINTS ENV ${module_uc}_DIR ENV OSG_DIR ENV OSGDIR ENV OSG_ROOT ${${module_uc}_DIR} ${OSG_DIR} PATH_SUFFIXES include PATHS /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt /usr/freeware ) endfunction() # # OSG_FIND_LIBRARY # function(OSG_FIND_LIBRARY module library) string(TOUPPER ${module} module_uc) find_library(${module_uc}_LIBRARY NAMES ${library} HINTS ENV ${module_uc}_DIR ENV OSG_DIR ENV OSGDIR ENV OSG_ROOT ${${module_uc}_DIR} ${OSG_DIR} PATH_SUFFIXES lib PATHS /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt /usr/freeware ) find_library(${module_uc}_LIBRARY_DEBUG NAMES ${library}d HINTS ENV ${module_uc}_DIR ENV OSG_DIR ENV OSGDIR ENV OSG_ROOT ${${module_uc}_DIR} ${OSG_DIR} PATH_SUFFIXES lib PATHS /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt /usr/freeware ) if(NOT ${module_uc}_LIBRARY_DEBUG) # They don't have a debug library set(${module_uc}_LIBRARY_DEBUG ${${module_uc}_LIBRARY} PARENT_SCOPE) set(${module_uc}_LIBRARIES ${${module_uc}_LIBRARY} PARENT_SCOPE) else() # They really have a FOO_LIBRARY_DEBUG set(${module_uc}_LIBRARIES optimized ${${module_uc}_LIBRARY} debug ${${module_uc}_LIBRARY_DEBUG} PARENT_SCOPE ) endif() endfunction() # # OSG_MARK_AS_ADVANCED # Just a convenience function for calling MARK_AS_ADVANCED # function(OSG_MARK_AS_ADVANCED _module) string(TOUPPER ${_module} _module_UC) mark_as_advanced(${_module_UC}_INCLUDE_DIR) mark_as_advanced(${_module_UC}_LIBRARY) mark_as_advanced(${_module_UC}_LIBRARY_DEBUG) endfunction() cmake-2.8.12.2/Modules/FindosgAnimation.cmake000644 000765 000024 00000004262 12266011634 021505 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgAnimation # This module defines # # OSGANIMATION_FOUND - Was osgAnimation found? # OSGANIMATION_INCLUDE_DIR - Where to find the headers # OSGANIMATION_LIBRARIES - The libraries to link against for the OSG (use this) # # OSGANIMATION_LIBRARY - The OSG library # OSGANIMATION_LIBRARY_DEBUG - The OSG debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGANIMATION osgAnimation/Animation) OSG_FIND_LIBRARY(OSGANIMATION osgAnimation) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgAnimation DEFAULT_MSG OSGANIMATION_LIBRARY OSGANIMATION_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgDB.cmake000644 000765 000024 00000004127 12266011634 020053 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgDB # This module defines # # OSGDB_FOUND - Was osgDB found? # OSGDB_INCLUDE_DIR - Where to find the headers # OSGDB_LIBRARIES - The libraries to link against for the osgDB (use this) # # OSGDB_LIBRARY - The osgDB library # OSGDB_LIBRARY_DEBUG - The osgDB debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGDB osgDB/DatabasePager) OSG_FIND_LIBRARY(OSGDB osgDB) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgDB DEFAULT_MSG OSGDB_LIBRARY OSGDB_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgFX.cmake000644 000765 000024 00000004123 12266011634 020077 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgFX # This module defines # # OSGFX_FOUND - Was osgFX found? # OSGFX_INCLUDE_DIR - Where to find the headers # OSGFX_LIBRARIES - The libraries to link against for the osgFX (use this) # # OSGFX_LIBRARY - The osgFX library # OSGFX_LIBRARY_DEBUG - The osgFX debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGFX osgFX/BumpMapping) OSG_FIND_LIBRARY(OSGFX osgFX) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgFX DEFAULT_MSG OSGFX_LIBRARY OSGFX_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgGA.cmake000644 000765 000024 00000004137 12266011634 020056 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgGA # This module defines # # OSGGA_FOUND - Was osgGA found? # OSGGA_INCLUDE_DIR - Where to find the headers # OSGGA_LIBRARIES - The libraries to link against for the osgGA (use this) # # OSGGA_LIBRARY - The osgGA library # OSGGA_LIBRARY_DEBUG - The osgGA debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGGA osgGA/FlightManipulator) OSG_FIND_LIBRARY(OSGGA osgGA) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgGA DEFAULT_MSG OSGGA_LIBRARY OSGGA_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgIntrospection.cmake000644 000765 000024 00000004413 12266011634 022424 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgINTROSPECTION # This module defines # # OSGINTROSPECTION_FOUND - Was osgIntrospection found? # OSGINTROSPECTION_INCLUDE_DIR - Where to find the headers # OSGINTROSPECTION_LIBRARIES - The libraries to link for osgIntrospection (use this) # # OSGINTROSPECTION_LIBRARY - The osgIntrospection library # OSGINTROSPECTION_LIBRARY_DEBUG - The osgIntrospection debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGINTROSPECTION osgIntrospection/Reflection) OSG_FIND_LIBRARY(OSGINTROSPECTION osgIntrospection) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgIntrospection DEFAULT_MSG OSGINTROSPECTION_LIBRARY OSGINTROSPECTION_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgManipulator.cmake000644 000765 000024 00000004363 12266011634 022063 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgManipulator # This module defines # # OSGMANIPULATOR_FOUND - Was osgManipulator found? # OSGMANIPULATOR_INCLUDE_DIR - Where to find the headers # OSGMANIPULATOR_LIBRARIES - The libraries to link for osgManipulator (use this) # # OSGMANIPULATOR_LIBRARY - The osgManipulator library # OSGMANIPULATOR_LIBRARY_DEBUG - The osgManipulator debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGMANIPULATOR osgManipulator/TrackballDragger) OSG_FIND_LIBRARY(OSGMANIPULATOR osgManipulator) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgManipulator DEFAULT_MSG OSGMANIPULATOR_LIBRARY OSGMANIPULATOR_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgParticle.cmake000644 000765 000024 00000004261 12266011634 021330 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgParticle # This module defines # # OSGPARTICLE_FOUND - Was osgParticle found? # OSGPARTICLE_INCLUDE_DIR - Where to find the headers # OSGPARTICLE_LIBRARIES - The libraries to link for osgParticle (use this) # # OSGPARTICLE_LIBRARY - The osgParticle library # OSGPARTICLE_LIBRARY_DEBUG - The osgParticle debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGPARTICLE osgParticle/FireEffect) OSG_FIND_LIBRARY(OSGPARTICLE osgParticle) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgParticle DEFAULT_MSG OSGPARTICLE_LIBRARY OSGPARTICLE_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgPresentation.cmake000644 000765 000024 00000004520 12266011634 022236 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgPresentation # This module defines # # OSGPRESENTATION_FOUND - Was osgPresentation found? # OSGPRESENTATION_INCLUDE_DIR - Where to find the headers # OSGPRESENTATION_LIBRARIES - The libraries to link for osgPresentation (use this) # # OSGPRESENTATION_LIBRARY - The osgPresentation library # OSGPRESENTATION_LIBRARY_DEBUG - The osgPresentation debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. # Modified to work with osgPresentation by Robert Osfield, January 2012. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGPRESENTATION osgPresentation/SlideEventHandler) OSG_FIND_LIBRARY(OSGPRESENTATION osgPresentation) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgPresentation DEFAULT_MSG OSGPRESENTATION_LIBRARY OSGPRESENTATION_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgProducer.cmake000644 000765 000024 00000004273 12266011634 021353 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgProducer # This module defines # # OSGPRODUCER_FOUND - Was osgProducer found? # OSGPRODUCER_INCLUDE_DIR - Where to find the headers # OSGPRODUCER_LIBRARIES - The libraries to link for osgProducer (use this) # # OSGPRODUCER_LIBRARY - The osgProducer library # OSGPRODUCER_LIBRARY_DEBUG - The osgProducer debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGPRODUCER osgProducer/OsgSceneHandler) OSG_FIND_LIBRARY(OSGPRODUCER osgProducer) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgProducer DEFAULT_MSG OSGPRODUCER_LIBRARY OSGPRODUCER_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgQt.cmake000644 000765 000024 00000004220 12266011634 020144 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgQt # This module defines # # OSGQT_FOUND - Was osgQt found? # OSGQT_INCLUDE_DIR - Where to find the headers # OSGQT_LIBRARIES - The libraries to link for osgQt (use this) # # OSGQT_LIBRARY - The osgQt library # OSGQT_LIBRARY_DEBUG - The osgQt debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. # Modified to work with osgQt by Robert Osfield, January 2012. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGQT osgQt/GraphicsWindowQt) OSG_FIND_LIBRARY(OSGQT osgQt) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgQt DEFAULT_MSG OSGQT_LIBRARY OSGQT_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgShadow.cmake000644 000765 000024 00000004223 12266011634 021010 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgShadow # This module defines # # OSGSHADOW_FOUND - Was osgShadow found? # OSGSHADOW_INCLUDE_DIR - Where to find the headers # OSGSHADOW_LIBRARIES - The libraries to link for osgShadow (use this) # # OSGSHADOW_LIBRARY - The osgShadow library # OSGSHADOW_LIBRARY_DEBUG - The osgShadow debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGSHADOW osgShadow/ShadowTexture) OSG_FIND_LIBRARY(OSGSHADOW osgShadow) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgShadow DEFAULT_MSG OSGSHADOW_LIBRARY OSGSHADOW_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgSim.cmake000644 000765 000024 00000004137 12266011634 020317 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgSim # This module defines # # OSGSIM_FOUND - Was osgSim found? # OSGSIM_INCLUDE_DIR - Where to find the headers # OSGSIM_LIBRARIES - The libraries to link for osgSim (use this) # # OSGSIM_LIBRARY - The osgSim library # OSGSIM_LIBRARY_DEBUG - The osgSim debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGSIM osgSim/ImpostorSprite) OSG_FIND_LIBRARY(OSGSIM osgSim) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgSim DEFAULT_MSG OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgTerrain.cmake000644 000765 000024 00000004231 12266011634 021166 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgTerrain # This module defines # # OSGTERRAIN_FOUND - Was osgTerrain found? # OSGTERRAIN_INCLUDE_DIR - Where to find the headers # OSGTERRAIN_LIBRARIES - The libraries to link for osgTerrain (use this) # # OSGTERRAIN_LIBRARY - The osgTerrain library # OSGTERRAIN_LIBRARY_DEBUG - The osgTerrain debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGTERRAIN osgTerrain/Terrain) OSG_FIND_LIBRARY(OSGTERRAIN osgTerrain) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgTerrain DEFAULT_MSG OSGTERRAIN_LIBRARY OSGTERRAIN_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgText.cmake000644 000765 000024 00000004135 12266011634 020511 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgText # This module defines # # OSGTEXT_FOUND - Was osgText found? # OSGTEXT_INCLUDE_DIR - Where to find the headers # OSGTEXT_LIBRARIES - The libraries to link for osgText (use this) # # OSGTEXT_LIBRARY - The osgText library # OSGTEXT_LIBRARY_DEBUG - The osgText debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGTEXT osgText/Text) OSG_FIND_LIBRARY(OSGTEXT osgText) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgText DEFAULT_MSG OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgUtil.cmake000644 000765 000024 00000004147 12266011634 020505 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgUtil # This module defines # # OSGUTIL_FOUND - Was osgUtil found? # OSGUTIL_INCLUDE_DIR - Where to find the headers # OSGUTIL_LIBRARIES - The libraries to link for osgUtil (use this) # # OSGUTIL_LIBRARY - The osgUtil library # OSGUTIL_LIBRARY_DEBUG - The osgUtil debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGUTIL osgUtil/SceneView) OSG_FIND_LIBRARY(OSGUTIL osgUtil) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgUtil DEFAULT_MSG OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgViewer.cmake000644 000765 000024 00000004205 12266011634 021024 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgViewer # This module defines # # OSGVIEWER_FOUND - Was osgViewer found? # OSGVIEWER_INCLUDE_DIR - Where to find the headers # OSGVIEWER_LIBRARIES - The libraries to link for osgViewer (use this) # # OSGVIEWER_LIBRARY - The osgViewer library # OSGVIEWER_LIBRARY_DEBUG - The osgViewer debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGVIEWER osgViewer/Viewer) OSG_FIND_LIBRARY(OSGVIEWER osgViewer) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgViewer DEFAULT_MSG OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgVolume.cmake000644 000765 000024 00000004205 12266011634 021032 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgVolume # This module defines # # OSGVOLUME_FOUND - Was osgVolume found? # OSGVOLUME_INCLUDE_DIR - Where to find the headers # OSGVOLUME_LIBRARIES - The libraries to link for osgVolume (use this) # # OSGVOLUME_LIBRARY - The osgVolume library # OSGVOLUME_LIBRARY_DEBUG - The osgVolume debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGVOLUME osgVolume/Volume) OSG_FIND_LIBRARY(OSGVOLUME osgVolume) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgVolume DEFAULT_MSG OSGVOLUME_LIBRARY OSGVOLUME_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindosgWidget.cmake000644 000765 000024 00000004270 12266011634 021010 0ustar00kitwarestaff000000 000000 # This is part of the Findosg* suite used to find OpenSceneGraph components. # Each component is separate and you must opt in to each module. You must # also opt into OpenGL and OpenThreads (and Producer if needed) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate osgWidget # This module defines # # OSGWIDGET_FOUND - Was osgWidget found? # OSGWIDGET_INCLUDE_DIR - Where to find the headers # OSGWIDGET_LIBRARIES - The libraries to link for osgWidget (use this) # # OSGWIDGET_LIBRARY - The osgWidget library # OSGWIDGET_LIBRARY_DEBUG - The osgWidget debug library # # $OSGDIR is an environment variable that would # correspond to the ./configure --prefix=$OSGDIR # used in building osg. # # FindosgWidget.cmake tweaked from Findosg* suite as created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # #include include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake) OSG_FIND_PATH (OSGWIDGET osgWidget/Widget) OSG_FIND_LIBRARY(OSGWIDGET osgWidget) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgWidget DEFAULT_MSG OSGWIDGET_LIBRARY OSGWIDGET_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindPackageHandleStandardArgs.cmake000644 000765 000024 00000032016 12266011634 024020 0ustar00kitwarestaff000000 000000 # FIND_PACKAGE_HANDLE_STANDARD_ARGS( ... ) # # This function is intended to be used in FindXXX.cmake modules files. # It handles the REQUIRED, QUIET and version-related arguments to find_package(). # It also sets the _FOUND variable. # The package is considered found if all variables ... listed contain # valid results, e.g. valid filepaths. # # There are two modes of this function. The first argument in both modes is # the name of the Find-module where it is called (in original casing). # # The first simple mode looks like this: # FIND_PACKAGE_HANDLE_STANDARD_ARGS( (DEFAULT_MSG|"Custom failure message") ... ) # If the variables to are all valid, then _FOUND # will be set to TRUE. # If DEFAULT_MSG is given as second argument, then the function will generate # itself useful success and error messages. You can also supply a custom error message # for the failure case. This is not recommended. # # The second mode is more powerful and also supports version checking: # FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [FOUND_VAR ] # [REQUIRED_VARS ...] # [VERSION_VAR ] # [HANDLE_COMPONENTS] # [CONFIG_MODE] # [FAIL_MESSAGE "Custom failure message"] ) # # In this mode, the name of the result-variable can be set either to either # _FOUND or _FOUND using the FOUND_VAR option. # Other names for the result-variable are not allowed. # So for a Find-module named FindFooBar.cmake, the two possible names are # FooBar_FOUND and FOOBAR_FOUND. It is recommended to use the original case version. # If the FOUND_VAR option is not used, the default is _FOUND. # # As in the simple mode, if through are all valid, # _FOUND will be set to TRUE. # After REQUIRED_VARS the variables which are required for this package are listed. # Following VERSION_VAR the name of the variable can be specified which holds # the version of the package which has been found. If this is done, this version # will be checked against the (potentially) specified required version used # in the find_package() call. The EXACT keyword is also handled. The default # messages include information about the required version and the version # which has been actually found, both if the version is ok or not. # If the package supports components, use the HANDLE_COMPONENTS option to enable # handling them. In this case, find_package_handle_standard_args() will report # which components have been found and which are missing, and the _FOUND # variable will be set to FALSE if any of the required components (i.e. not the # ones listed after OPTIONAL_COMPONENTS) are missing. # Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for # a find_package(... NO_MODULE) call. In this case VERSION_VAR will be set # to _VERSION and the macro will automatically check whether the # Config module was found. # Via FAIL_MESSAGE a custom failure message can be specified, if this is not # used, the default message will be displayed. # # Example for mode 1: # # find_package_handle_standard_args(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) # # LibXml2 is considered to be found, if both LIBXML2_LIBRARY and # LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE. # If it is not found and REQUIRED was used, it fails with FATAL_ERROR, # independent whether QUIET was used or not. # If it is found, success will be reported, including the content of . # On repeated Cmake runs, the same message won't be printed again. # # Example for mode 2: # # find_package_handle_standard_args(LibXslt FOUND_VAR LibXslt_FOUND # REQUIRED_VARS LibXslt_LIBRARIES LibXslt_INCLUDE_DIRS # VERSION_VAR LibXslt_VERSION_STRING) # In this case, LibXslt is considered to be found if the variable(s) listed # after REQUIRED_VAR are all valid, i.e. LibXslt_LIBRARIES and LibXslt_INCLUDE_DIRS # in this case. The result will then be stored in LibXslt_FOUND . # Also the version of LibXslt will be checked by using the version contained # in LibXslt_VERSION_STRING. # Since no FAIL_MESSAGE is given, the default messages will be printed. # # Another example for mode 2: # # find_package(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4) # find_package_handle_standard_args(Automoc4 CONFIG_MODE) # In this case, FindAutmoc4.cmake wraps a call to find_package(Automoc4 NO_MODULE) # and adds an additional search directory for automoc4. # Here the result will be stored in AUTOMOC4_FOUND. # The following FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper # success/error message. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageMessage.cmake) include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake) # internal helper macro macro(_FPHSA_FAILURE_MESSAGE _msg) if (${_NAME}_FIND_REQUIRED) message(FATAL_ERROR "${_msg}") else () if (NOT ${_NAME}_FIND_QUIETLY) message(STATUS "${_msg}") endif () endif () endmacro() # internal helper macro to generate the failure message when used in CONFIG_MODE: macro(_FPHSA_HANDLE_FAILURE_CONFIG_MODE) # _CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found: if(${_NAME}_CONFIG) _FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: missing: ${MISSING_VARS} (found ${${_NAME}_CONFIG} ${VERSION_MSG})") else() # If _CONSIDERED_CONFIGS is set, the config-file has been found, but no suitable version. # List them all in the error message: if(${_NAME}_CONSIDERED_CONFIGS) set(configsText "") list(LENGTH ${_NAME}_CONSIDERED_CONFIGS configsCount) math(EXPR configsCount "${configsCount} - 1") foreach(currentConfigIndex RANGE ${configsCount}) list(GET ${_NAME}_CONSIDERED_CONFIGS ${currentConfigIndex} filename) list(GET ${_NAME}_CONSIDERED_VERSIONS ${currentConfigIndex} version) set(configsText "${configsText} ${filename} (version ${version})\n") endforeach() if (${_NAME}_NOT_FOUND_MESSAGE) set(configsText "${configsText} Reason given by package: ${${_NAME}_NOT_FOUND_MESSAGE}\n") endif() _FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} ${VERSION_MSG}, checked the following files:\n${configsText}") else() # Simple case: No Config-file was found at all: _FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: found neither ${_NAME}Config.cmake nor ${_NAME_LOWER}-config.cmake ${VERSION_MSG}") endif() endif() endmacro() function(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG) # set up the arguments for CMAKE_PARSE_ARGUMENTS and check whether we are in # new extended or in the "old" mode: set(options CONFIG_MODE HANDLE_COMPONENTS) set(oneValueArgs FAIL_MESSAGE VERSION_VAR FOUND_VAR) set(multiValueArgs REQUIRED_VARS) set(_KEYWORDS_FOR_EXTENDED_MODE ${options} ${oneValueArgs} ${multiValueArgs} ) list(FIND _KEYWORDS_FOR_EXTENDED_MODE "${_FIRST_ARG}" INDEX) if(${INDEX} EQUAL -1) set(FPHSA_FAIL_MESSAGE ${_FIRST_ARG}) set(FPHSA_REQUIRED_VARS ${ARGN}) set(FPHSA_VERSION_VAR) else() CMAKE_PARSE_ARGUMENTS(FPHSA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${_FIRST_ARG} ${ARGN}) if(FPHSA_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): \"${FPHSA_UNPARSED_ARGUMENTS}\"") endif() if(NOT FPHSA_FAIL_MESSAGE) set(FPHSA_FAIL_MESSAGE "DEFAULT_MSG") endif() endif() # now that we collected all arguments, process them if("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG") set(FPHSA_FAIL_MESSAGE "Could NOT find ${_NAME}") endif() # In config-mode, we rely on the variable _CONFIG, which is set by find_package() # when it successfully found the config-file, including version checking: if(FPHSA_CONFIG_MODE) list(INSERT FPHSA_REQUIRED_VARS 0 ${_NAME}_CONFIG) list(REMOVE_DUPLICATES FPHSA_REQUIRED_VARS) set(FPHSA_VERSION_VAR ${_NAME}_VERSION) endif() if(NOT FPHSA_REQUIRED_VARS) message(FATAL_ERROR "No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()") endif() list(GET FPHSA_REQUIRED_VARS 0 _FIRST_REQUIRED_VAR) string(TOUPPER ${_NAME} _NAME_UPPER) string(TOLOWER ${_NAME} _NAME_LOWER) if(FPHSA_FOUND_VAR) if(FPHSA_FOUND_VAR MATCHES "^${_NAME}_FOUND$" OR FPHSA_FOUND_VAR MATCHES "^${_NAME_UPPER}_FOUND$") set(_FOUND_VAR ${FPHSA_FOUND_VAR}) else() message(FATAL_ERROR "The argument for FOUND_VAR is \"${FPHSA_FOUND_VAR}\", but only \"${_NAME}_FOUND\" and \"${_NAME_UPPER}_FOUND\" are valid names.") endif() else() set(_FOUND_VAR ${_NAME_UPPER}_FOUND) endif() # collect all variables which were not found, so they can be printed, so the # user knows better what went wrong (#6375) set(MISSING_VARS "") set(DETAILS "") # check if all passed variables are valid unset(${_FOUND_VAR}) foreach(_CURRENT_VAR ${FPHSA_REQUIRED_VARS}) if(NOT ${_CURRENT_VAR}) set(${_FOUND_VAR} FALSE) set(MISSING_VARS "${MISSING_VARS} ${_CURRENT_VAR}") else() set(DETAILS "${DETAILS}[${${_CURRENT_VAR}}]") endif() endforeach() if(NOT "${${_FOUND_VAR}}" STREQUAL "FALSE") set(${_FOUND_VAR} TRUE) endif() # component handling unset(FOUND_COMPONENTS_MSG) unset(MISSING_COMPONENTS_MSG) if(FPHSA_HANDLE_COMPONENTS) foreach(comp ${${_NAME}_FIND_COMPONENTS}) if(${_NAME}_${comp}_FOUND) if(NOT DEFINED FOUND_COMPONENTS_MSG) set(FOUND_COMPONENTS_MSG "found components: ") endif() set(FOUND_COMPONENTS_MSG "${FOUND_COMPONENTS_MSG} ${comp}") else() if(NOT DEFINED MISSING_COMPONENTS_MSG) set(MISSING_COMPONENTS_MSG "missing components: ") endif() set(MISSING_COMPONENTS_MSG "${MISSING_COMPONENTS_MSG} ${comp}") if(${_NAME}_FIND_REQUIRED_${comp}) set(${_FOUND_VAR} FALSE) set(MISSING_VARS "${MISSING_VARS} ${comp}") endif() endif() endforeach() set(COMPONENT_MSG "${FOUND_COMPONENTS_MSG} ${MISSING_COMPONENTS_MSG}") set(DETAILS "${DETAILS}[c${COMPONENT_MSG}]") endif() # version handling: set(VERSION_MSG "") set(VERSION_OK TRUE) set(VERSION ${${FPHSA_VERSION_VAR}} ) if (${_NAME}_FIND_VERSION) if(VERSION) if(${_NAME}_FIND_VERSION_EXACT) # exact version required if (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}") set(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is exact version \"${${_NAME}_FIND_VERSION}\"") set(VERSION_OK FALSE) else () set(VERSION_MSG "(found suitable exact version \"${VERSION}\")") endif () else() # minimum version specified: if ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}") set(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is at least \"${${_NAME}_FIND_VERSION}\"") set(VERSION_OK FALSE) else () set(VERSION_MSG "(found suitable version \"${VERSION}\", minimum required is \"${${_NAME}_FIND_VERSION}\")") endif () endif() else() # if the package was not found, but a version was given, add that to the output: if(${_NAME}_FIND_VERSION_EXACT) set(VERSION_MSG "(Required is exact version \"${${_NAME}_FIND_VERSION}\")") else() set(VERSION_MSG "(Required is at least version \"${${_NAME}_FIND_VERSION}\")") endif() endif() else () if(VERSION) set(VERSION_MSG "(found version \"${VERSION}\")") endif() endif () if(VERSION_OK) set(DETAILS "${DETAILS}[v${VERSION}(${${_NAME}_FIND_VERSION})]") else() set(${_FOUND_VAR} FALSE) endif() # print the result: if (${_FOUND_VAR}) FIND_PACKAGE_MESSAGE(${_NAME} "Found ${_NAME}: ${${_FIRST_REQUIRED_VAR}} ${VERSION_MSG} ${COMPONENT_MSG}" "${DETAILS}") else () if(FPHSA_CONFIG_MODE) _FPHSA_HANDLE_FAILURE_CONFIG_MODE() else() if(NOT VERSION_OK) _FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: ${VERSION_MSG} (found ${${_FIRST_REQUIRED_VAR}})") else() _FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} (missing: ${MISSING_VARS}) ${VERSION_MSG}") endif() endif() endif () set(${_FOUND_VAR} ${${_FOUND_VAR}} PARENT_SCOPE) endfunction() cmake-2.8.12.2/Modules/FindPackageMessage.cmake000644 000765 000024 00000003653 12266011634 021720 0ustar00kitwarestaff000000 000000 # FIND_PACKAGE_MESSAGE( "message for user" "find result details") # # This macro is intended to be used in FindXXX.cmake modules files. # It will print a message once for each unique find result. # This is useful for telling the user where a package was found. # The first argument specifies the name (XXX) of the package. # The second argument specifies the message to display. # The third argument lists details about the find result so that # if they change the message will be displayed again. # The macro also obeys the QUIET argument to the find_package command. # # Example: # # if(X11_FOUND) # FIND_PACKAGE_MESSAGE(X11 "Found X11: ${X11_X11_LIB}" # "[${X11_X11_LIB}][${X11_INCLUDE_DIR}]") # else() # ... # endif() #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) function(FIND_PACKAGE_MESSAGE pkg msg details) # Avoid printing a message repeatedly for the same find result. if(NOT ${pkg}_FIND_QUIETLY) string(REGEX REPLACE "[\n]" "" details "${details}") set(DETAILS_VAR FIND_PACKAGE_MESSAGE_DETAILS_${pkg}) if(NOT "${details}" STREQUAL "${${DETAILS_VAR}}") # The message has not yet been printed. message(STATUS "${msg}") # Save the find details in the cache to avoid printing the same # message again. set("${DETAILS_VAR}" "${details}" CACHE INTERNAL "Details about finding ${pkg}") endif() endif() endfunction() cmake-2.8.12.2/Modules/FindPerl.cmake000644 000765 000024 00000006032 12266011634 017754 0ustar00kitwarestaff000000 000000 # - Find perl # this module looks for Perl # # PERL_EXECUTABLE - the full path to perl # PERL_FOUND - If false, don't attempt to use perl. # PERL_VERSION_STRING - version of perl found (since CMake 2.8.8) #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake) set(PERL_POSSIBLE_BIN_PATHS ${CYGWIN_INSTALL_PATH}/bin ) if(WIN32) get_filename_component( ActivePerl_CurrentVersion "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl;CurrentVersion]" NAME) set(PERL_POSSIBLE_BIN_PATHS ${PERL_POSSIBLE_BIN_PATHS} "C:/Perl/bin" [HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl\\${ActivePerl_CurrentVersion}]/bin ) endif() find_program(PERL_EXECUTABLE NAMES perl PATHS ${PERL_POSSIBLE_BIN_PATHS} ) if(PERL_EXECUTABLE) ### PERL_VERSION execute_process( COMMAND ${PERL_EXECUTABLE} -V:version OUTPUT_VARIABLE PERL_VERSION_OUTPUT_VARIABLE RESULT_VARIABLE PERL_VERSION_RESULT_VARIABLE ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE ) if(NOT PERL_VERSION_RESULT_VARIABLE AND NOT PERL_VERSION_OUTPUT_VARIABLE MATCHES "^version='UNKNOWN'") string(REGEX REPLACE "version='([^']+)'.*" "\\1" PERL_VERSION_STRING ${PERL_VERSION_OUTPUT_VARIABLE}) else() execute_process( COMMAND ${PERL_EXECUTABLE} -v OUTPUT_VARIABLE PERL_VERSION_OUTPUT_VARIABLE RESULT_VARIABLE PERL_VERSION_RESULT_VARIABLE ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE ) if(NOT PERL_VERSION_RESULT_VARIABLE AND PERL_VERSION_OUTPUT_VARIABLE MATCHES "This is perl.*[ \\(]v([0-9\\._]+)[ \\)]") string(REGEX REPLACE ".*This is perl.*[ \\(]v([0-9\\._]+)[ \\)].*" "\\1" PERL_VERSION_STRING ${PERL_VERSION_OUTPUT_VARIABLE}) elseif(NOT PERL_VERSION_RESULT_VARIABLE AND PERL_VERSION_OUTPUT_VARIABLE MATCHES "This is perl, version ([0-9\\._]+) +") string(REGEX REPLACE ".*This is perl, version ([0-9\\._]+) +.*" "\\1" PERL_VERSION_STRING ${PERL_VERSION_OUTPUT_VARIABLE}) endif() endif() endif() # Deprecated settings for compatibility with CMake1.4 set(PERL ${PERL_EXECUTABLE}) # handle the QUIETLY and REQUIRED arguments and set PERL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Perl REQUIRED_VARS PERL_EXECUTABLE VERSION_VAR PERL_VERSION_STRING) mark_as_advanced(PERL_EXECUTABLE) cmake-2.8.12.2/Modules/FindPerlLibs.cmake000644 000765 000024 00000020116 12266011634 020565 0ustar00kitwarestaff000000 000000 # - Find Perl libraries # This module finds if PERL is installed and determines where the include files # and libraries are. It also determines what the name of the library is. This # code sets the following variables: # # PERLLIBS_FOUND = True if perl.h & libperl were found # PERL_INCLUDE_PATH = path to where perl.h is found # PERL_LIBRARY = path to libperl # PERL_EXECUTABLE = full path to the perl binary # # The minimum required version of Perl can be specified using the # standard syntax, e.g. find_package(PerlLibs 6.0) # # The following variables are also available if needed # (introduced after CMake 2.6.4) # # PERL_SITESEARCH = path to the sitesearch install dir # PERL_SITELIB = path to the sitelib install directory # PERL_VENDORARCH = path to the vendor arch install directory # PERL_VENDORLIB = path to the vendor lib install directory # PERL_ARCHLIB = path to the arch lib install directory # PERL_PRIVLIB = path to the priv lib install directory # PERL_EXTRA_C_FLAGS = Compilation flags used to build perl # #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2008 Andreas Schneider # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # find the perl executable include(${CMAKE_CURRENT_LIST_DIR}/FindPerl.cmake) if (PERL_EXECUTABLE) ### PERL_PREFIX execute_process( COMMAND ${PERL_EXECUTABLE} -V:prefix OUTPUT_VARIABLE PERL_PREFIX_OUTPUT_VARIABLE RESULT_VARIABLE PERL_PREFIX_RESULT_VARIABLE ) if (NOT PERL_PREFIX_RESULT_VARIABLE) string(REGEX REPLACE "prefix='([^']+)'.*" "\\1" PERL_PREFIX ${PERL_PREFIX_OUTPUT_VARIABLE}) endif () ### PERL_ARCHNAME execute_process( COMMAND ${PERL_EXECUTABLE} -V:archname OUTPUT_VARIABLE PERL_ARCHNAME_OUTPUT_VARIABLE RESULT_VARIABLE PERL_ARCHNAME_RESULT_VARIABLE ) if (NOT PERL_ARCHNAME_RESULT_VARIABLE) string(REGEX REPLACE "archname='([^']+)'.*" "\\1" PERL_ARCHNAME ${PERL_ARCHNAME_OUTPUT_VARIABLE}) endif () ### PERL_EXTRA_C_FLAGS execute_process( COMMAND ${PERL_EXECUTABLE} -V:cppflags OUTPUT_VARIABLE PERL_CPPFLAGS_OUTPUT_VARIABLE RESULT_VARIABLE PERL_CPPFLAGS_RESULT_VARIABLE ) if (NOT PERL_CPPFLAGS_RESULT_VARIABLE) string(REGEX REPLACE "cppflags='([^']+)'.*" "\\1" PERL_EXTRA_C_FLAGS ${PERL_CPPFLAGS_OUTPUT_VARIABLE}) endif () ### PERL_SITESEARCH execute_process( COMMAND ${PERL_EXECUTABLE} -V:installsitesearch OUTPUT_VARIABLE PERL_SITESEARCH_OUTPUT_VARIABLE RESULT_VARIABLE PERL_SITESEARCH_RESULT_VARIABLE ) if (NOT PERL_SITESEARCH_RESULT_VARIABLE) string(REGEX REPLACE "install[a-z]+='([^']+)'.*" "\\1" PERL_SITESEARCH ${PERL_SITESEARCH_OUTPUT_VARIABLE}) file(TO_CMAKE_PATH "${PERL_SITESEARCH}" PERL_SITESEARCH) endif () ### PERL_SITELIB execute_process( COMMAND ${PERL_EXECUTABLE} -V:installsitelib OUTPUT_VARIABLE PERL_SITELIB_OUTPUT_VARIABLE RESULT_VARIABLE PERL_SITELIB_RESULT_VARIABLE ) if (NOT PERL_SITELIB_RESULT_VARIABLE) string(REGEX REPLACE "install[a-z]+='([^']+)'.*" "\\1" PERL_SITELIB ${PERL_SITELIB_OUTPUT_VARIABLE}) file(TO_CMAKE_PATH "${PERL_SITELIB}" PERL_SITELIB) endif () ### PERL_VENDORARCH execute_process( COMMAND ${PERL_EXECUTABLE} -V:installvendorarch OUTPUT_VARIABLE PERL_VENDORARCH_OUTPUT_VARIABLE RESULT_VARIABLE PERL_VENDORARCH_RESULT_VARIABLE ) if (NOT PERL_VENDORARCH_RESULT_VARIABLE) string(REGEX REPLACE "install[a-z]+='([^']+)'.*" "\\1" PERL_VENDORARCH ${PERL_VENDORARCH_OUTPUT_VARIABLE}) file(TO_CMAKE_PATH "${PERL_VENDORARCH}" PERL_VENDORARCH) endif () ### PERL_VENDORLIB execute_process( COMMAND ${PERL_EXECUTABLE} -V:installvendorlib OUTPUT_VARIABLE PERL_VENDORLIB_OUTPUT_VARIABLE RESULT_VARIABLE PERL_VENDORLIB_RESULT_VARIABLE ) if (NOT PERL_VENDORLIB_RESULT_VARIABLE) string(REGEX REPLACE "install[a-z]+='([^']+)'.*" "\\1" PERL_VENDORLIB ${PERL_VENDORLIB_OUTPUT_VARIABLE}) file(TO_CMAKE_PATH "${PERL_VENDORLIB}" PERL_VENDORLIB) endif () macro(perl_adjust_darwin_lib_variable varname) string( TOUPPER PERL_${varname} FINDPERL_VARNAME ) string( TOLOWER install${varname} PERL_VARNAME ) if (NOT PERL_MINUSV_OUTPUT_VARIABLE) execute_process( COMMAND ${PERL_EXECUTABLE} -V OUTPUT_VARIABLE PERL_MINUSV_OUTPUT_VARIABLE RESULT_VARIABLE PERL_MINUSV_RESULT_VARIABLE ) endif() if (NOT PERL_MINUSV_RESULT_VARIABLE) string(REGEX MATCH "(${PERL_VARNAME}.*points? to the Updates directory)" PERL_NEEDS_ADJUSTMENT ${PERL_MINUSV_OUTPUT_VARIABLE}) if (PERL_NEEDS_ADJUSTMENT) string(REGEX REPLACE "(.*)/Updates/" "/System/\\1/" ${FINDPERL_VARNAME} ${${FINDPERL_VARNAME}}) endif () endif () endmacro() ### PERL_ARCHLIB execute_process( COMMAND ${PERL_EXECUTABLE} -V:installarchlib OUTPUT_VARIABLE PERL_ARCHLIB_OUTPUT_VARIABLE RESULT_VARIABLE PERL_ARCHLIB_RESULT_VARIABLE ) if (NOT PERL_ARCHLIB_RESULT_VARIABLE) string(REGEX REPLACE "install[a-z]+='([^']+)'.*" "\\1" PERL_ARCHLIB ${PERL_ARCHLIB_OUTPUT_VARIABLE}) perl_adjust_darwin_lib_variable( ARCHLIB ) file(TO_CMAKE_PATH "${PERL_ARCHLIB}" PERL_ARCHLIB) endif () ### PERL_PRIVLIB execute_process( COMMAND ${PERL_EXECUTABLE} -V:installprivlib OUTPUT_VARIABLE PERL_PRIVLIB_OUTPUT_VARIABLE RESULT_VARIABLE PERL_PRIVLIB_RESULT_VARIABLE ) if (NOT PERL_PRIVLIB_RESULT_VARIABLE) string(REGEX REPLACE "install[a-z]+='([^']+)'.*" "\\1" PERL_PRIVLIB ${PERL_PRIVLIB_OUTPUT_VARIABLE}) perl_adjust_darwin_lib_variable( PRIVLIB ) file(TO_CMAKE_PATH "${PERL_PRIVLIB}" PERL_PRIVLIB) endif () ### PERL_POSSIBLE_LIBRARY_NAMES execute_process( COMMAND ${PERL_EXECUTABLE} -V:libperl OUTPUT_VARIABLE PERL_LIBRARY_OUTPUT_VARIABLE RESULT_VARIABLE PERL_LIBRARY_RESULT_VARIABLE ) if (NOT PERL_LIBRARY_RESULT_VARIABLE) string(REGEX REPLACE "libperl='([^']+)'.*" "\\1" PERL_POSSIBLE_LIBRARY_NAMES ${PERL_LIBRARY_OUTPUT_VARIABLE}) else () set(PERL_POSSIBLE_LIBRARY_NAMES perl${PERL_VERSION_STRING} perl) endif () ### PERL_INCLUDE_PATH find_path(PERL_INCLUDE_PATH NAMES perl.h PATHS ${PERL_ARCHLIB}/CORE /usr/lib/perl5/${PERL_VERSION_STRING}/${PERL_ARCHNAME}/CORE /usr/lib/perl/${PERL_VERSION_STRING}/${PERL_ARCHNAME}/CORE /usr/lib/perl5/${PERL_VERSION_STRING}/CORE /usr/lib/perl/${PERL_VERSION_STRING}/CORE ) ### PERL_LIBRARY find_library(PERL_LIBRARY NAMES ${PERL_POSSIBLE_LIBRARY_NAMES} PATHS ${PERL_ARCHLIB}/CORE /usr/lib/perl5/${PERL_VERSION_STRING}/${PERL_ARCHNAME}/CORE /usr/lib/perl/${PERL_VERSION_STRING}/${PERL_ARCHNAME}/CORE /usr/lib/perl5/${PERL_VERSION_STRING}/CORE /usr/lib/perl/${PERL_VERSION_STRING}/CORE ) endif () # handle the QUIETLY and REQUIRED arguments and set PERLLIBS_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(PerlLibs REQUIRED_VARS PERL_LIBRARY PERL_INCLUDE_PATH VERSION_VAR PERL_VERSION_STRING) # Introduced after CMake 2.6.4 to bring module into compliance set(PERL_INCLUDE_DIR ${PERL_INCLUDE_PATH}) set(PERL_INCLUDE_DIRS ${PERL_INCLUDE_PATH}) set(PERL_LIBRARIES ${PERL_LIBRARY}) # For backward compatibility with CMake before 2.8.8 set(PERL_VERSION ${PERL_VERSION_STRING}) mark_as_advanced( PERL_INCLUDE_PATH PERL_LIBRARY ) cmake-2.8.12.2/Modules/FindPHP4.cmake000644 000765 000024 00000004753 12266011634 017575 0ustar00kitwarestaff000000 000000 # - Find PHP4 # This module finds if PHP4 is installed and determines where the include files # and libraries are. It also determines what the name of the library is. This # code sets the following variables: # # PHP4_INCLUDE_PATH = path to where php.h can be found # PHP4_EXECUTABLE = full path to the php4 binary # #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(PHP4_POSSIBLE_INCLUDE_PATHS /usr/include/php4 /usr/local/include/php4 /usr/include/php /usr/local/include/php /usr/local/apache/php ) set(PHP4_POSSIBLE_LIB_PATHS /usr/lib ) find_path(PHP4_FOUND_INCLUDE_PATH main/php.h ${PHP4_POSSIBLE_INCLUDE_PATHS}) if(PHP4_FOUND_INCLUDE_PATH) set(php4_paths "${PHP4_POSSIBLE_INCLUDE_PATHS}") foreach(php4_path Zend main TSRM) set(php4_paths ${php4_paths} "${PHP4_FOUND_INCLUDE_PATH}/${php4_path}") endforeach() set(PHP4_INCLUDE_PATH "${php4_paths}" INTERNAL "PHP4 include paths") endif() find_program(PHP4_EXECUTABLE NAMES php4 php ) mark_as_advanced( PHP4_EXECUTABLE PHP4_FOUND_INCLUDE_PATH ) if(APPLE) # this is a hack for now set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -Wl,-flat_namespace") foreach(symbol __efree __emalloc __estrdup __object_init_ex __zend_get_parameters_array_ex __zend_list_find __zval_copy_ctor _add_property_zval_ex _alloc_globals _compiler_globals _convert_to_double _convert_to_long _zend_error _zend_hash_find _zend_register_internal_class_ex _zend_register_list_destructors_ex _zend_register_resource _zend_rsrc_list_get_rsrc_type _zend_wrong_param_count _zval_used_for_init ) set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS},-U,${symbol}") endforeach() endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(PHP4 DEFAULT_MSG PHP4_EXECUTABLE PHP4_INCLUDE_PATH) cmake-2.8.12.2/Modules/FindPhysFS.cmake000644 000765 000024 00000003162 12266011634 020227 0ustar00kitwarestaff000000 000000 # Locate PhysFS library # This module defines # PHYSFS_LIBRARY, the name of the library to link against # PHYSFS_FOUND, if false, do not try to link to PHYSFS # PHYSFS_INCLUDE_DIR, where to find physfs.h # # $PHYSFSDIR is an environment variable that would # correspond to the ./configure --prefix=$PHYSFSDIR # used in building PHYSFS. # # Created by Eric Wing. #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(PHYSFS_INCLUDE_DIR physfs.h HINTS ENV PHYSFSDIR PATH_SUFFIXES include/physfs include PATHS ~/Library/Frameworks /Library/Frameworks /sw # Fink /opt/local # DarwinPorts /opt/csw # Blastwave /opt ) find_library(PHYSFS_LIBRARY NAMES physfs HINTS ENV PHYSFSDIR PATH_SUFFIXES lib PATHS ~/Library/Frameworks /Library/Frameworks /sw /opt/local /opt/csw /opt ) # handle the QUIETLY and REQUIRED arguments and set PHYSFS_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(PhysFS DEFAULT_MSG PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindPike.cmake000644 000765 000024 00000002277 12266011634 017751 0ustar00kitwarestaff000000 000000 # - Find Pike # This module finds if PIKE is installed and determines where the include files # and libraries are. It also determines what the name of the library is. This # code sets the following variables: # # PIKE_INCLUDE_PATH = path to where program.h is found # PIKE_EXECUTABLE = full path to the pike binary # #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) file(GLOB PIKE_POSSIBLE_INCLUDE_PATHS /usr/include/pike/* /usr/local/include/pike/*) find_path(PIKE_INCLUDE_PATH program.h ${PIKE_POSSIBLE_INCLUDE_PATHS}) find_program(PIKE_EXECUTABLE NAMES pike7.4 ) mark_as_advanced( PIKE_EXECUTABLE PIKE_INCLUDE_PATH ) cmake-2.8.12.2/Modules/FindPkgConfig.cmake000644 000765 000024 00000035002 12266011634 020720 0ustar00kitwarestaff000000 000000 # - a pkg-config module for CMake # # Usage: # pkg_check_modules( [REQUIRED] [QUIET] []*) # checks for all the given modules # # pkg_search_module( [REQUIRED] [QUIET] []*) # checks for given modules and uses the first working one # # When the 'REQUIRED' argument was set, macros will fail with an error # when module(s) could not be found # # When the 'QUIET' argument is set, no status messages will be printed. # # It sets the following variables: # PKG_CONFIG_FOUND ... if pkg-config executable was found # PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program # PKG_CONFIG_VERSION_STRING ... the version of the pkg-config program found # (since CMake 2.8.8) # # For the following variables two sets of values exist; first one is the # common one and has the given PREFIX. The second set contains flags # which are given out when pkgconfig was called with the '--static' # option. # _FOUND ... set to 1 if module(s) exist # _LIBRARIES ... only the libraries (w/o the '-l') # _LIBRARY_DIRS ... the paths of the libraries (w/o the '-L') # _LDFLAGS ... all required linker flags # _LDFLAGS_OTHER ... all other linker flags # _INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I') # _CFLAGS ... all required cflags # _CFLAGS_OTHER ... the other compiler flags # # = for common case # = _STATIC for static linking # # There are some special variables whose prefix depends on the count # of given modules. When there is only one module, stays # unchanged. When there are multiple modules, the prefix will be # changed to _: # _VERSION ... version of the module # _PREFIX ... prefix-directory of the module # _INCLUDEDIR ... include-dir of the module # _LIBDIR ... lib-dir of the module # # = when |MODULES| == 1, else # = _ # # A parameter can have the following formats: # {MODNAME} ... matches any version # {MODNAME}>={VERSION} ... at least version is required # {MODNAME}={VERSION} ... exactly version is required # {MODNAME}<={VERSION} ... modules must not be newer than # # Examples # pkg_check_modules (GLIB2 glib-2.0) # # pkg_check_modules (GLIB2 glib-2.0>=2.10) # requires at least version 2.10 of glib2 and defines e.g. # GLIB2_VERSION=2.10.3 # # pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0) # requires both glib2 and gtk2, and defines e.g. # FOO_glib-2.0_VERSION=2.10.3 # FOO_gtk+-2.0_VERSION=2.8.20 # # pkg_check_modules (XRENDER REQUIRED xrender) # defines e.g.: # XRENDER_LIBRARIES=Xrender;X11 # XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp # # pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2) #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Enrico Scholz # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) ### Common stuff #### set(PKG_CONFIG_VERSION 1) find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable") mark_as_advanced(PKG_CONFIG_EXECUTABLE) if (PKG_CONFIG_EXECUTABLE) execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PKG_CONFIG_VERSION_STRING ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) endif () include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(PkgConfig REQUIRED_VARS PKG_CONFIG_EXECUTABLE VERSION_VAR PKG_CONFIG_VERSION_STRING) # This is needed because the module name is "PkgConfig" but the name of # this variable has always been PKG_CONFIG_FOUND so this isn't automatically # handled by FPHSA. set(PKG_CONFIG_FOUND "${PKGCONFIG_FOUND}") # Unsets the given variables macro(_pkgconfig_unset var) set(${var} "" CACHE INTERNAL "") endmacro() macro(_pkgconfig_set var value) set(${var} ${value} CACHE INTERNAL "") endmacro() # Invokes pkgconfig, cleans up the result and sets variables macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp) set(_pkgconfig_invoke_result) execute_process( COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist} OUTPUT_VARIABLE _pkgconfig_invoke_result RESULT_VARIABLE _pkgconfig_failed) if (_pkgconfig_failed) set(_pkgconfig_${_varname} "") _pkgconfig_unset(${_prefix}_${_varname}) else() string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}") string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}") if (NOT ${_regexp} STREQUAL "") string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}") endif() separate_arguments(_pkgconfig_invoke_result) #message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}") set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result}) _pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}") endif() endmacro() # Invokes pkgconfig two times; once without '--static' and once with # '--static' macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp) _pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN}) _pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN}) endmacro() # Splits given arguments into options and a package list macro(_pkgconfig_parse_options _result _is_req _is_silent) set(${_is_req} 0) set(${_is_silent} 0) foreach(_pkg ${ARGN}) if (_pkg STREQUAL "REQUIRED") set(${_is_req} 1) endif () if (_pkg STREQUAL "QUIET") set(${_is_silent} 1) endif () endforeach() set(${_result} ${ARGN}) list(REMOVE_ITEM ${_result} "REQUIRED") list(REMOVE_ITEM ${_result} "QUIET") endmacro() ### macro(_pkg_check_modules_internal _is_required _is_silent _prefix) _pkgconfig_unset(${_prefix}_FOUND) _pkgconfig_unset(${_prefix}_VERSION) _pkgconfig_unset(${_prefix}_PREFIX) _pkgconfig_unset(${_prefix}_INCLUDEDIR) _pkgconfig_unset(${_prefix}_LIBDIR) _pkgconfig_unset(${_prefix}_LIBS) _pkgconfig_unset(${_prefix}_LIBS_L) _pkgconfig_unset(${_prefix}_LIBS_PATHS) _pkgconfig_unset(${_prefix}_LIBS_OTHER) _pkgconfig_unset(${_prefix}_CFLAGS) _pkgconfig_unset(${_prefix}_CFLAGS_I) _pkgconfig_unset(${_prefix}_CFLAGS_OTHER) _pkgconfig_unset(${_prefix}_STATIC_LIBDIR) _pkgconfig_unset(${_prefix}_STATIC_LIBS) _pkgconfig_unset(${_prefix}_STATIC_LIBS_L) _pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS) _pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER) _pkgconfig_unset(${_prefix}_STATIC_CFLAGS) _pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I) _pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER) # create a better addressable variable of the modules and calculate its size set(_pkg_check_modules_list ${ARGN}) list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt) if(PKG_CONFIG_EXECUTABLE) # give out status message telling checked module if (NOT ${_is_silent}) if (_pkg_check_modules_cnt EQUAL 1) message(STATUS "checking for module '${_pkg_check_modules_list}'") else() message(STATUS "checking for modules '${_pkg_check_modules_list}'") endif() endif() set(_pkg_check_modules_packages) set(_pkg_check_modules_failed) # iterate through module list and check whether they exist and match the required version foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list}) set(_pkg_check_modules_exist_query) # check whether version is given if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*") string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}") string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}") string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}") else() set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}") set(_pkg_check_modules_pkg_op) set(_pkg_check_modules_pkg_ver) endif() # handle the operands if (_pkg_check_modules_pkg_op STREQUAL ">=") list(APPEND _pkg_check_modules_exist_query --atleast-version) endif() if (_pkg_check_modules_pkg_op STREQUAL "=") list(APPEND _pkg_check_modules_exist_query --exact-version) endif() if (_pkg_check_modules_pkg_op STREQUAL "<=") list(APPEND _pkg_check_modules_exist_query --max-version) endif() # create the final query which is of the format: # * --atleast-version # * --exact-version # * --max-version # * --exists if (_pkg_check_modules_pkg_op) list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}") else() list(APPEND _pkg_check_modules_exist_query --exists) endif() _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION) _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX) _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR) _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR) list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}") list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}") # execute the query execute_process( COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query} RESULT_VARIABLE _pkgconfig_retval) # evaluate result and tell failures if (_pkgconfig_retval) if(NOT ${_is_silent}) message(STATUS " package '${_pkg_check_modules_pkg}' not found") endif() set(_pkg_check_modules_failed 1) endif() endforeach() if(_pkg_check_modules_failed) # fail when requested if (${_is_required}) message(SEND_ERROR "A required package was not found") endif () else() # when we are here, we checked whether requested modules # exist. Now, go through them and set variables _pkgconfig_set(${_prefix}_FOUND 1) list(LENGTH _pkg_check_modules_packages pkg_count) # iterate through all modules again and set individual variables foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages}) # handle case when there is only one package required if (pkg_count EQUAL 1) set(_pkg_check_prefix "${_prefix}") else() set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}") endif() _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion ) _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix ) _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir ) _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir ) if (NOT ${_is_silent}) message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}") endif () endforeach() # set variables which are combined for multiple modules _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l ) _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS "(^| )-L" --libs-only-L ) _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS "" --libs ) _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER "" --libs-only-other ) _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I ) _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags ) _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other ) endif() else() if (${_is_required}) message(SEND_ERROR "pkg-config tool not found") endif () endif() endmacro() ### ### User visible macros start here ### ### macro(pkg_check_modules _prefix _module0) # check cached value if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND) _pkgconfig_parse_options (_pkg_modules _pkg_is_required _pkg_is_silent "${_module0}" ${ARGN}) _pkg_check_modules_internal("${_pkg_is_required}" "${_pkg_is_silent}" "${_prefix}" ${_pkg_modules}) _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION}) endif() endmacro() ### macro(pkg_search_module _prefix _module0) # check cached value if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND) set(_pkg_modules_found 0) _pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required _pkg_is_silent "${_module0}" ${ARGN}) if (NOT ${_pkg_is_silent}) message(STATUS "checking for one of the modules '${_pkg_modules_alt}'") endif () # iterate through all modules and stop at the first working one. foreach(_pkg_alt ${_pkg_modules_alt}) if(NOT _pkg_modules_found) _pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}") endif() if (${_prefix}_FOUND) set(_pkg_modules_found 1) endif() endforeach() if (NOT ${_prefix}_FOUND) if(${_pkg_is_required}) message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found") endif() endif() _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION}) endif() endmacro() ### Local Variables: ### mode: cmake ### End: cmake-2.8.12.2/Modules/FindPNG.cmake000644 000765 000024 00000010454 12266011634 017501 0ustar00kitwarestaff000000 000000 # - Find the native PNG includes and library # # This module searches libpng, the library for working with PNG images. # # It defines the following variables # PNG_INCLUDE_DIRS, where to find png.h, etc. # PNG_LIBRARIES, the libraries to link against to use PNG. # PNG_DEFINITIONS - You should add_definitons(${PNG_DEFINITIONS}) before compiling code that includes png library files. # PNG_FOUND, If false, do not try to use PNG. # PNG_VERSION_STRING - the version of the PNG library found (since CMake 2.8.8) # Also defined, but not for general use are # PNG_LIBRARY, where to find the PNG library. # For backward compatiblity the variable PNG_INCLUDE_DIR is also set. It has the same value as PNG_INCLUDE_DIRS. # # Since PNG depends on the ZLib compression library, none of the above will be # defined unless ZLib can be found. #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(PNG_FIND_QUIETLY) set(_FIND_ZLIB_ARG QUIET) endif() find_package(ZLIB ${_FIND_ZLIB_ARG}) if(ZLIB_FOUND) find_path(PNG_PNG_INCLUDE_DIR png.h /usr/local/include/libpng # OpenBSD ) list(APPEND PNG_NAMES png libpng) unset(PNG_NAMES_DEBUG) set(_PNG_VERSION_SUFFIXES 17 16 15 14 12) if (PNG_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\..*)?$") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+).*" "\\1\\2" _PNG_VERSION_SUFFIX_MIN "${PNG_FIND_VERSION}") if (PNG_FIND_VERSION_EXACT) set(_PNG_VERSION_SUFFIXES ${_PNG_VERSION_SUFFIX_MIN}) else () string(REGEX REPLACE "${_PNG_VERSION_SUFFIX_MIN}.*" "${_PNG_VERSION_SUFFIX_MIN}" _PNG_VERSION_SUFFIXES "${_PNG_VERSION_SUFFIXES}") endif () unset(_PNG_VERSION_SUFFIX_MIN) endif () foreach(v IN LISTS _PNG_VERSION_SUFFIXES) list(APPEND PNG_NAMES png${v} libpng${v}) list(APPEND PNG_NAMES_DEBUG png${v}d libpng${v}d) endforeach() unset(_PNG_VERSION_SUFFIXES) # For compatiblity with versions prior to this multi-config search, honor # any PNG_LIBRARY that is already specified and skip the search. if(NOT PNG_LIBRARY) find_library(PNG_LIBRARY_RELEASE NAMES ${PNG_NAMES}) find_library(PNG_LIBRARY_DEBUG NAMES ${PNG_NAMES_DEBUG}) include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(PNG) mark_as_advanced(PNG_LIBRARY_RELEASE PNG_LIBRARY_DEBUG) endif() unset(PNG_NAMES) unset(PNG_NAMES_DEBUG) # Set by select_library_configurations(), but we want the one from # find_package_handle_standard_args() below. unset(PNG_FOUND) if (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR) # png.h includes zlib.h. Sigh. set(PNG_INCLUDE_DIRS ${PNG_PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ) set(PNG_INCLUDE_DIR ${PNG_INCLUDE_DIRS} ) # for backward compatiblity set(PNG_LIBRARIES ${PNG_LIBRARY} ${ZLIB_LIBRARY}) if (CYGWIN) if(BUILD_SHARED_LIBS) # No need to define PNG_USE_DLL here, because it's default for Cygwin. else() set (PNG_DEFINITIONS -DPNG_STATIC) endif() endif () endif () if (PNG_PNG_INCLUDE_DIR AND EXISTS "${PNG_PNG_INCLUDE_DIR}/png.h") file(STRINGS "${PNG_PNG_INCLUDE_DIR}/png.h" png_version_str REGEX "^#define[ \t]+PNG_LIBPNG_VER_STRING[ \t]+\".+\"") string(REGEX REPLACE "^#define[ \t]+PNG_LIBPNG_VER_STRING[ \t]+\"([^\"]+)\".*" "\\1" PNG_VERSION_STRING "${png_version_str}") unset(png_version_str) endif () endif() # handle the QUIETLY and REQUIRED arguments and set PNG_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(PNG REQUIRED_VARS PNG_LIBRARY PNG_PNG_INCLUDE_DIR VERSION_VAR PNG_VERSION_STRING) mark_as_advanced(PNG_PNG_INCLUDE_DIR PNG_LIBRARY ) cmake-2.8.12.2/Modules/FindPostgreSQL.cmake000644 000765 000024 00000016346 12266011634 021066 0ustar00kitwarestaff000000 000000 # - Find the PostgreSQL installation. # In Windows, we make the assumption that, if the PostgreSQL files are installed, the default directory # will be C:\Program Files\PostgreSQL. # # This module defines # PostgreSQL_LIBRARIES - the PostgreSQL libraries needed for linking # PostgreSQL_INCLUDE_DIRS - the directories of the PostgreSQL headers # PostgreSQL_VERSION_STRING - the version of PostgreSQL found (since CMake 2.8.8) #============================================================================= # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # ---------------------------------------------------------------------------- # History: # This module is derived from the module originally found in the VTK source tree. # # ---------------------------------------------------------------------------- # Note: # PostgreSQL_ADDITIONAL_VERSIONS is a variable that can be used to set the # version mumber of the implementation of PostgreSQL. # In Windows the default installation of PostgreSQL uses that as part of the path. # E.g C:\Program Files\PostgreSQL\8.4. # Currently, the following version numbers are known to this module: # "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0" # # To use this variable just do something like this: # set(PostgreSQL_ADDITIONAL_VERSIONS "9.2" "8.4.4") # before calling find_package(PostgreSQL) in your CMakeLists.txt file. # This will mean that the versions you set here will be found first in the order # specified before the default ones are searched. # # ---------------------------------------------------------------------------- # You may need to manually set: # PostgreSQL_INCLUDE_DIR - the path to where the PostgreSQL include files are. # PostgreSQL_LIBRARY_DIR - The path to where the PostgreSQL library files are. # If FindPostgreSQL.cmake cannot find the include files or the library files. # # ---------------------------------------------------------------------------- # The following variables are set if PostgreSQL is found: # PostgreSQL_FOUND - Set to true when PostgreSQL is found. # PostgreSQL_INCLUDE_DIRS - Include directories for PostgreSQL # PostgreSQL_LIBRARY_DIRS - Link directories for PostgreSQL libraries # PostgreSQL_LIBRARIES - The PostgreSQL libraries. # # ---------------------------------------------------------------------------- # If you have installed PostgreSQL in a non-standard location. # (Please note that in the following comments, it is assumed that # points to the root directory of the include directory of PostgreSQL.) # Then you have three options. # 1) After CMake runs, set PostgreSQL_INCLUDE_DIR to /include and # PostgreSQL_LIBRARY_DIR to wherever the library pq (or libpq in windows) is # 2) Use CMAKE_INCLUDE_PATH to set a path to /PostgreSQL<-version>. This will allow find_path() # to locate PostgreSQL_INCLUDE_DIR by utilizing the PATH_SUFFIXES option. e.g. In your CMakeLists.txt file # set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "/include") # 3) Set an environment variable called ${PostgreSQL_ROOT} that points to the root of where you have # installed PostgreSQL, e.g. . # # ---------------------------------------------------------------------------- set(PostgreSQL_INCLUDE_PATH_DESCRIPTION "top-level directory containing the PostgreSQL include directories. E.g /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include") set(PostgreSQL_INCLUDE_DIR_MESSAGE "Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the ${PostgreSQL_INCLUDE_PATH_DESCRIPTION}") set(PostgreSQL_LIBRARY_PATH_DESCRIPTION "top-level directory containing the PostgreSQL libraries.") set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache entry to the ${PostgreSQL_LIBRARY_PATH_DESCRIPTION}") set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4") set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS} "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0") # Define additional search paths for root directories. if ( WIN32 ) foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} ) set(PostgreSQL_ADDITIONAL_SEARCH_PATHS ${PostgreSQL_ADDITIONAL_SEARCH_PATHS} "C:/Program Files/PostgreSQL/${suffix}" ) endforeach() endif() set( PostgreSQL_ROOT_DIRECTORIES ENV PostgreSQL_ROOT ${PostgreSQL_ROOT} ${PostgreSQL_ADDITIONAL_SEARCH_PATHS} ) # # Look for an installation. # find_path(PostgreSQL_INCLUDE_DIR NAMES libpq-fe.h PATHS # Look in other places. ${PostgreSQL_ROOT_DIRECTORIES} PATH_SUFFIXES pgsql postgresql include # Help the user find it if we cannot. DOC "The ${PostgreSQL_INCLUDE_DIR_MESSAGE}" ) find_path(PostgreSQL_TYPE_INCLUDE_DIR NAMES catalog/pg_type.h PATHS # Look in other places. ${PostgreSQL_ROOT_DIRECTORIES} PATH_SUFFIXES postgresql pgsql/server postgresql/server include/server # Help the user find it if we cannot. DOC "The ${PostgreSQL_INCLUDE_DIR_MESSAGE}" ) # The PostgreSQL library. set (PostgreSQL_LIBRARY_TO_FIND pq) # Setting some more prefixes for the library set (PostgreSQL_LIB_PREFIX "") if ( WIN32 ) set (PostgreSQL_LIB_PREFIX ${PostgreSQL_LIB_PREFIX} "lib") set ( PostgreSQL_LIBRARY_TO_FIND ${PostgreSQL_LIB_PREFIX}${PostgreSQL_LIBRARY_TO_FIND}) endif() find_library( PostgreSQL_LIBRARY NAMES ${PostgreSQL_LIBRARY_TO_FIND} PATHS ${PostgreSQL_ROOT_DIRECTORIES} PATH_SUFFIXES lib ) get_filename_component(PostgreSQL_LIBRARY_DIR ${PostgreSQL_LIBRARY} PATH) if (PostgreSQL_INCLUDE_DIR AND EXISTS "${PostgreSQL_INCLUDE_DIR}/pg_config.h") file(STRINGS "${PostgreSQL_INCLUDE_DIR}/pg_config.h" pgsql_version_str REGEX "^#define[\t ]+PG_VERSION[\t ]+\".*\"") string(REGEX REPLACE "^#define[\t ]+PG_VERSION[\t ]+\"([^\"]*)\".*" "\\1" PostgreSQL_VERSION_STRING "${pgsql_version_str}") unset(pgsql_version_str) endif() # Did we find anything? include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(PostgreSQL REQUIRED_VARS PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR VERSION_VAR PostgreSQL_VERSION_STRING) set( PostgreSQL_FOUND ${POSTGRESQL_FOUND}) # Now try to get the include and library path. if(PostgreSQL_FOUND) set(PostgreSQL_INCLUDE_DIRS ${PostgreSQL_INCLUDE_DIR} ${PostgreSQL_TYPE_INCLUDE_DIR} ) set(PostgreSQL_LIBRARY_DIRS ${PostgreSQL_LIBRARY_DIR} ) set(PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY_TO_FIND}) #message("Final PostgreSQL include dir: ${PostgreSQL_INCLUDE_DIRS}") #message("Final PostgreSQL library dir: ${PostgreSQL_LIBRARY_DIRS}") #message("Final PostgreSQL libraries: ${PostgreSQL_LIBRARIES}") endif() mark_as_advanced(PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR PostgreSQL_LIBRARY ) cmake-2.8.12.2/Modules/FindProducer.cmake000644 000765 000024 00000005320 12266011634 020634 0ustar00kitwarestaff000000 000000 # Though Producer isn't directly part of OpenSceneGraph, its primary user # is OSG so I consider this part of the Findosg* suite used to find # OpenSceneGraph components. You'll notice that I accept OSGDIR as an # environment path. # # Each component is separate and you must opt in to each module. You must # also opt into OpenGL (and OpenThreads?) as these # modules won't do it for you. This is to allow you control over your own # system piece by piece in case you need to opt out of certain components # or change the Find behavior for a particular module (perhaps because the # default FindOpenGL.cmake module doesn't work with your system as an # example). # If you want to use a more convenient module that includes everything, # use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules. # # Locate Producer # This module defines # PRODUCER_LIBRARY # PRODUCER_FOUND, if false, do not try to link to Producer # PRODUCER_INCLUDE_DIR, where to find the headers # # $PRODUCER_DIR is an environment variable that would # correspond to the ./configure --prefix=$PRODUCER_DIR # used in building osg. # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Header files are presumed to be included like # #include # Try the user's environment request before anything else. find_path(PRODUCER_INCLUDE_DIR Producer/CameraGroup HINTS ENV PRODUCER_DIR ENV OSG_DIR ENV OSGDIR PATH_SUFFIXES include PATHS ~/Library/Frameworks /Library/Frameworks /sw/include # Fink /opt/local/include # DarwinPorts /opt/csw/include # Blastwave /opt/include [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OpenThreads_ROOT]/include [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include ) find_library(PRODUCER_LIBRARY NAMES Producer HINTS ENV PRODUCER_DIR ENV OSG_DIR ENV OSGDIR PATH_SUFFIXES lib PATHS /sw /opt/local /opt/csw /opt ) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Producer DEFAULT_MSG PRODUCER_LIBRARY PRODUCER_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindProtobuf.cmake000644 000765 000024 00000017616 12266011634 020664 0ustar00kitwarestaff000000 000000 # Locate and configure the Google Protocol Buffers library. # # The following variables can be set and are optional: # # PROTOBUF_SRC_ROOT_FOLDER - When compiling with MSVC, if this cache variable is set # the protobuf-default VS project build locations # (vsprojects/Debug & vsprojects/Release) will be searched # for libraries and binaries. # # PROTOBUF_IMPORT_DIRS - List of additional directories to be searched for # imported .proto files. (New in CMake 2.8.8) # # Defines the following variables: # # PROTOBUF_FOUND - Found the Google Protocol Buffers library (libprotobuf & header files) # PROTOBUF_INCLUDE_DIRS - Include directories for Google Protocol Buffers # PROTOBUF_LIBRARIES - The protobuf libraries # [New in CMake 2.8.5] # PROTOBUF_PROTOC_LIBRARIES - The protoc libraries # PROTOBUF_LITE_LIBRARIES - The protobuf-lite libraries # # The following cache variables are also available to set or use: # PROTOBUF_LIBRARY - The protobuf library # PROTOBUF_PROTOC_LIBRARY - The protoc library # PROTOBUF_INCLUDE_DIR - The include directory for protocol buffers # PROTOBUF_PROTOC_EXECUTABLE - The protoc compiler # [New in CMake 2.8.5] # PROTOBUF_LIBRARY_DEBUG - The protobuf library (debug) # PROTOBUF_PROTOC_LIBRARY_DEBUG - The protoc library (debug) # PROTOBUF_LITE_LIBRARY - The protobuf lite library # PROTOBUF_LITE_LIBRARY_DEBUG - The protobuf lite library (debug) # # ==================================================================== # Example: # # find_package(Protobuf REQUIRED) # include_directories(${PROTOBUF_INCLUDE_DIRS}) # # include_directories(${CMAKE_CURRENT_BINARY_DIR}) # PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS foo.proto) # add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS}) # target_link_libraries(bar ${PROTOBUF_LIBRARIES}) # # NOTE: You may need to link against pthreads, depending # on the platform. # # NOTE: The PROTOBUF_GENERATE_CPP macro & add_executable() or add_library() # calls only work properly within the same directory. # # ==================================================================== # # PROTOBUF_GENERATE_CPP (public function) # SRCS = Variable to define with autogenerated # source files # HDRS = Variable to define with autogenerated # header files # ARGN = proto files # # ==================================================================== #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2009-2011 Philip Lowman # Copyright 2008 Esben Mose Hansen, Ange Optimization ApS # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) function(PROTOBUF_GENERATE_CPP SRCS HDRS) if(NOT ARGN) message(SEND_ERROR "Error: PROTOBUF_GENERATE_CPP() called without any proto files") return() endif() if(PROTOBUF_GENERATE_CPP_APPEND_PATH) # Create an include path for each file specified foreach(FIL ${ARGN}) get_filename_component(ABS_FIL ${FIL} ABSOLUTE) get_filename_component(ABS_PATH ${ABS_FIL} PATH) list(FIND _protobuf_include_path ${ABS_PATH} _contains_already) if(${_contains_already} EQUAL -1) list(APPEND _protobuf_include_path -I ${ABS_PATH}) endif() endforeach() else() set(_protobuf_include_path -I ${CMAKE_CURRENT_SOURCE_DIR}) endif() if(DEFINED PROTOBUF_IMPORT_DIRS) foreach(DIR ${PROTOBUF_IMPORT_DIRS}) get_filename_component(ABS_PATH ${DIR} ABSOLUTE) list(FIND _protobuf_include_path ${ABS_PATH} _contains_already) if(${_contains_already} EQUAL -1) list(APPEND _protobuf_include_path -I ${ABS_PATH}) endif() endforeach() endif() set(${SRCS}) set(${HDRS}) foreach(FIL ${ARGN}) get_filename_component(ABS_FIL ${FIL} ABSOLUTE) get_filename_component(FIL_WE ${FIL} NAME_WE) list(APPEND ${SRCS} "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.cc") list(APPEND ${HDRS} "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.h") add_custom_command( OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.cc" "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.h" COMMAND ${PROTOBUF_PROTOC_EXECUTABLE} ARGS --cpp_out ${CMAKE_CURRENT_BINARY_DIR} ${_protobuf_include_path} ${ABS_FIL} DEPENDS ${ABS_FIL} COMMENT "Running C++ protocol buffer compiler on ${FIL}" VERBATIM ) endforeach() set_source_files_properties(${${SRCS}} ${${HDRS}} PROPERTIES GENERATED TRUE) set(${SRCS} ${${SRCS}} PARENT_SCOPE) set(${HDRS} ${${HDRS}} PARENT_SCOPE) endfunction() # Internal function: search for normal library as well as a debug one # if the debug one is specified also include debug/optimized keywords # in *_LIBRARIES variable function(_protobuf_find_libraries name filename) find_library(${name}_LIBRARY NAMES ${filename} PATHS ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/Release) mark_as_advanced(${name}_LIBRARY) find_library(${name}_LIBRARY_DEBUG NAMES ${filename} PATHS ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/Debug) mark_as_advanced(${name}_LIBRARY_DEBUG) if(NOT ${name}_LIBRARY_DEBUG) # There is no debug library set(${name}_LIBRARY_DEBUG ${${name}_LIBRARY} PARENT_SCOPE) set(${name}_LIBRARIES ${${name}_LIBRARY} PARENT_SCOPE) else() # There IS a debug library set(${name}_LIBRARIES optimized ${${name}_LIBRARY} debug ${${name}_LIBRARY_DEBUG} PARENT_SCOPE ) endif() endfunction() # Internal function: find threads library function(_protobuf_find_threads) set(CMAKE_THREAD_PREFER_PTHREAD TRUE) find_package(Threads) if(Threads_FOUND) list(APPEND PROTOBUF_LIBRARIES ${CMAKE_THREAD_LIBS_INIT}) set(PROTOBUF_LIBRARIES "${PROTOBUF_LIBRARIES}" PARENT_SCOPE) endif() endfunction() # # Main. # # By default have PROTOBUF_GENERATE_CPP macro pass -I to protoc # for each directory where a proto file is referenced. if(NOT DEFINED PROTOBUF_GENERATE_CPP_APPEND_PATH) set(PROTOBUF_GENERATE_CPP_APPEND_PATH TRUE) endif() # Google's provided vcproj files generate libraries with a "lib" # prefix on Windows if(MSVC) set(PROTOBUF_ORIG_FIND_LIBRARY_PREFIXES "${CMAKE_FIND_LIBRARY_PREFIXES}") set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") find_path(PROTOBUF_SRC_ROOT_FOLDER protobuf.pc.in) endif() # The Protobuf library _protobuf_find_libraries(PROTOBUF protobuf) #DOC "The Google Protocol Buffers RELEASE Library" _protobuf_find_libraries(PROTOBUF_LITE protobuf-lite) # The Protobuf Protoc Library _protobuf_find_libraries(PROTOBUF_PROTOC protoc) # Restore original find library prefixes if(MSVC) set(CMAKE_FIND_LIBRARY_PREFIXES "${PROTOBUF_ORIG_FIND_LIBRARY_PREFIXES}") endif() if(UNIX) _protobuf_find_threads() endif() # Find the include directory find_path(PROTOBUF_INCLUDE_DIR google/protobuf/service.h PATHS ${PROTOBUF_SRC_ROOT_FOLDER}/src ) mark_as_advanced(PROTOBUF_INCLUDE_DIR) # Find the protoc Executable find_program(PROTOBUF_PROTOC_EXECUTABLE NAMES protoc DOC "The Google Protocol Buffers Compiler" PATHS ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/Release ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/Debug ) mark_as_advanced(PROTOBUF_PROTOC_EXECUTABLE) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(PROTOBUF DEFAULT_MSG PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR) if(PROTOBUF_FOUND) set(PROTOBUF_INCLUDE_DIRS ${PROTOBUF_INCLUDE_DIR}) endif() cmake-2.8.12.2/Modules/FindPythonInterp.cmake000644 000765 000024 00000014103 12266011634 021513 0ustar00kitwarestaff000000 000000 # - Find python interpreter # This module finds if Python interpreter is installed and determines where the # executables are. This code sets the following variables: # # PYTHONINTERP_FOUND - Was the Python executable found # PYTHON_EXECUTABLE - path to the Python interpreter # # PYTHON_VERSION_STRING - Python version found e.g. 2.5.2 # PYTHON_VERSION_MAJOR - Python major version found e.g. 2 # PYTHON_VERSION_MINOR - Python minor version found e.g. 5 # PYTHON_VERSION_PATCH - Python patch version found e.g. 2 # # The Python_ADDITIONAL_VERSIONS variable can be used to specify a list of # version numbers that should be taken into account when searching for Python. # You need to set this variable before calling find_package(PythonInterp). #============================================================================= # Copyright 2005-2010 Kitware, Inc. # Copyright 2011 Bjoern Ricks # Copyright 2012 Rolf Eike Beer # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) unset(_Python_NAMES) set(_PYTHON1_VERSIONS 1.6 1.5) set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) set(_PYTHON3_VERSIONS 3.3 3.2 3.1 3.0) if(PythonInterp_FIND_VERSION) if(PythonInterp_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$") string(REGEX REPLACE "^([0-9]+\\.[0-9]+).*" "\\1" _PYTHON_FIND_MAJ_MIN "${PythonInterp_FIND_VERSION}") string(REGEX REPLACE "^([0-9]+).*" "\\1" _PYTHON_FIND_MAJ "${_PYTHON_FIND_MAJ_MIN}") list(APPEND _Python_NAMES python${_PYTHON_FIND_MAJ_MIN} python${_PYTHON_FIND_MAJ}) unset(_PYTHON_FIND_OTHER_VERSIONS) if(NOT PythonInterp_FIND_VERSION_EXACT) foreach(_PYTHON_V ${_PYTHON${_PYTHON_FIND_MAJ}_VERSIONS}) if(NOT _PYTHON_V VERSION_LESS _PYTHON_FIND_MAJ_MIN) list(APPEND _PYTHON_FIND_OTHER_VERSIONS ${_PYTHON_V}) endif() endforeach() endif() unset(_PYTHON_FIND_MAJ_MIN) unset(_PYTHON_FIND_MAJ) else() list(APPEND _Python_NAMES python${PythonInterp_FIND_VERSION}) set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON${PythonInterp_FIND_VERSION}_VERSIONS}) endif() else() set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON3_VERSIONS} ${_PYTHON2_VERSIONS} ${_PYTHON1_VERSIONS}) endif() list(APPEND _Python_NAMES python) # Search for the current active python version first find_program(PYTHON_EXECUTABLE NAMES ${_Python_NAMES}) # Set up the versions we know about, in the order we will search. Always add # the user supplied additional versions to the front. set(_Python_VERSIONS ${Python_ADDITIONAL_VERSIONS} ${_PYTHON_FIND_OTHER_VERSIONS} ) unset(_PYTHON_FIND_OTHER_VERSIONS) unset(_PYTHON1_VERSIONS) unset(_PYTHON2_VERSIONS) unset(_PYTHON3_VERSIONS) # Search for newest python version if python executable isn't found if(NOT PYTHON_EXECUTABLE) foreach(_CURRENT_VERSION ${_Python_VERSIONS}) set(_Python_NAMES python${_CURRENT_VERSION}) if(WIN32) list(APPEND _Python_NAMES python) endif() find_program(PYTHON_EXECUTABLE NAMES ${_Python_NAMES} PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath] ) endforeach() endif() # determine python version string if(PYTHON_EXECUTABLE) execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import sys; sys.stdout.write(';'.join([str(x) for x in sys.version_info[:3]]))" OUTPUT_VARIABLE _VERSION RESULT_VARIABLE _PYTHON_VERSION_RESULT ERROR_QUIET) if(NOT _PYTHON_VERSION_RESULT) string(REPLACE ";" "." PYTHON_VERSION_STRING "${_VERSION}") list(GET _VERSION 0 PYTHON_VERSION_MAJOR) list(GET _VERSION 1 PYTHON_VERSION_MINOR) list(GET _VERSION 2 PYTHON_VERSION_PATCH) if(PYTHON_VERSION_PATCH EQUAL 0) # it's called "Python 2.7", not "2.7.0" string(REGEX REPLACE "\\.0$" "" PYTHON_VERSION_STRING "${PYTHON_VERSION_STRING}") endif() else() # sys.version predates sys.version_info, so use that execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import sys; sys.stdout.write(sys.version)" OUTPUT_VARIABLE _VERSION RESULT_VARIABLE _PYTHON_VERSION_RESULT ERROR_QUIET) if(NOT _PYTHON_VERSION_RESULT) string(REGEX REPLACE " .*" "" PYTHON_VERSION_STRING "${_VERSION}") string(REGEX REPLACE "^([0-9]+)\\.[0-9]+.*" "\\1" PYTHON_VERSION_MAJOR "${PYTHON_VERSION_STRING}") string(REGEX REPLACE "^[0-9]+\\.([0-9])+.*" "\\1" PYTHON_VERSION_MINOR "${PYTHON_VERSION_STRING}") if(PYTHON_VERSION_STRING MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+.*") string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" PYTHON_VERSION_PATCH "${PYTHON_VERSION_STRING}") else() set(PYTHON_VERSION_PATCH "0") endif() else() # sys.version was first documented for Python 1.5, so assume # this is older. set(PYTHON_VERSION_STRING "1.4") set(PYTHON_VERSION_MAJOR "1") set(PYTHON_VERSION_MAJOR "4") set(PYTHON_VERSION_MAJOR "0") endif() endif() unset(_PYTHON_VERSION_RESULT) unset(_VERSION) endif() # handle the QUIETLY and REQUIRED arguments and set PYTHONINTERP_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(PythonInterp REQUIRED_VARS PYTHON_EXECUTABLE VERSION_VAR PYTHON_VERSION_STRING) mark_as_advanced(PYTHON_EXECUTABLE) cmake-2.8.12.2/Modules/FindPythonLibs.cmake000644 000765 000024 00000025634 12266011634 021156 0ustar00kitwarestaff000000 000000 # - Find python libraries # This module finds if Python is installed and determines where the # include files and libraries are. It also determines what the name of # the library is. This code sets the following variables: # # PYTHONLIBS_FOUND - have the Python libs been found # PYTHON_LIBRARIES - path to the python library # PYTHON_INCLUDE_PATH - path to where Python.h is found (deprecated) # PYTHON_INCLUDE_DIRS - path to where Python.h is found # PYTHON_DEBUG_LIBRARIES - path to the debug library (deprecated) # PYTHONLIBS_VERSION_STRING - version of the Python libs found (since CMake 2.8.8) # # The Python_ADDITIONAL_VERSIONS variable can be used to specify a list of # version numbers that should be taken into account when searching for Python. # You need to set this variable before calling find_package(PythonLibs). # # If you'd like to specify the installation of Python to use, you should modify # the following cache variables: # PYTHON_LIBRARY - path to the python library # PYTHON_INCLUDE_DIR - path to where Python.h is found #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/CMakeFindFrameworks.cmake) # Search for the python framework on Apple. CMAKE_FIND_FRAMEWORKS(Python) set(_PYTHON1_VERSIONS 1.6 1.5) set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) set(_PYTHON3_VERSIONS 3.3 3.2 3.1 3.0) if(PythonLibs_FIND_VERSION) if(PythonLibs_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$") string(REGEX REPLACE "^([0-9]+\\.[0-9]+).*" "\\1" _PYTHON_FIND_MAJ_MIN "${PythonLibs_FIND_VERSION}") string(REGEX REPLACE "^([0-9]+).*" "\\1" _PYTHON_FIND_MAJ "${_PYTHON_FIND_MAJ_MIN}") unset(_PYTHON_FIND_OTHER_VERSIONS) if(PythonLibs_FIND_VERSION_EXACT) if(_PYTHON_FIND_MAJ_MIN STREQUAL PythonLibs_FIND_VERSION) set(_PYTHON_FIND_OTHER_VERSIONS "${PythonLibs_FIND_VERSION}") else() set(_PYTHON_FIND_OTHER_VERSIONS "${PythonLibs_FIND_VERSION}" "${_PYTHON_FIND_MAJ_MIN}") endif() else() foreach(_PYTHON_V ${_PYTHON${_PYTHON_FIND_MAJ}_VERSIONS}) if(NOT _PYTHON_V VERSION_LESS _PYTHON_FIND_MAJ_MIN) list(APPEND _PYTHON_FIND_OTHER_VERSIONS ${_PYTHON_V}) endif() endforeach() endif() unset(_PYTHON_FIND_MAJ_MIN) unset(_PYTHON_FIND_MAJ) else() set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON${PythonLibs_FIND_VERSION}_VERSIONS}) endif() else() set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON3_VERSIONS} ${_PYTHON2_VERSIONS} ${_PYTHON1_VERSIONS}) endif() # Set up the versions we know about, in the order we will search. Always add # the user supplied additional versions to the front. set(_Python_VERSIONS ${Python_ADDITIONAL_VERSIONS} ${_PYTHON_FIND_OTHER_VERSIONS} ) unset(_PYTHON_FIND_OTHER_VERSIONS) unset(_PYTHON1_VERSIONS) unset(_PYTHON2_VERSIONS) unset(_PYTHON3_VERSIONS) foreach(_CURRENT_VERSION ${_Python_VERSIONS}) string(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION}) if(WIN32) find_library(PYTHON_DEBUG_LIBRARY NAMES python${_CURRENT_VERSION_NO_DOTS}_d python PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs/Debug [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs/Debug [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs ) endif() find_library(PYTHON_LIBRARY NAMES python${_CURRENT_VERSION_NO_DOTS} python${_CURRENT_VERSION}mu python${_CURRENT_VERSION}m python${_CURRENT_VERSION}u python${_CURRENT_VERSION} PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs # Avoid finding the .dll in the PATH. We want the .lib. NO_SYSTEM_ENVIRONMENT_PATH ) # Look for the static library in the Python config directory find_library(PYTHON_LIBRARY NAMES python${_CURRENT_VERSION_NO_DOTS} python${_CURRENT_VERSION} # Avoid finding the .dll in the PATH. We want the .lib. NO_SYSTEM_ENVIRONMENT_PATH # This is where the static library is usually located PATH_SUFFIXES python${_CURRENT_VERSION}/config ) # For backward compatibility, honour value of PYTHON_INCLUDE_PATH, if # PYTHON_INCLUDE_DIR is not set. if(DEFINED PYTHON_INCLUDE_PATH AND NOT DEFINED PYTHON_INCLUDE_DIR) set(PYTHON_INCLUDE_DIR "${PYTHON_INCLUDE_PATH}" CACHE PATH "Path to where Python.h is found" FORCE) endif() set(PYTHON_FRAMEWORK_INCLUDES) if(Python_FRAMEWORKS AND NOT PYTHON_INCLUDE_DIR) foreach(dir ${Python_FRAMEWORKS}) set(PYTHON_FRAMEWORK_INCLUDES ${PYTHON_FRAMEWORK_INCLUDES} ${dir}/Versions/${_CURRENT_VERSION}/include/python${_CURRENT_VERSION}) endforeach() endif() find_path(PYTHON_INCLUDE_DIR NAMES Python.h PATHS ${PYTHON_FRAMEWORK_INCLUDES} [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include PATH_SUFFIXES python${_CURRENT_VERSION}mu python${_CURRENT_VERSION}m python${_CURRENT_VERSION}u python${_CURRENT_VERSION} ) # For backward compatibility, set PYTHON_INCLUDE_PATH. set(PYTHON_INCLUDE_PATH "${PYTHON_INCLUDE_DIR}") if(PYTHON_INCLUDE_DIR AND EXISTS "${PYTHON_INCLUDE_DIR}/patchlevel.h") file(STRINGS "${PYTHON_INCLUDE_DIR}/patchlevel.h" python_version_str REGEX "^#define[ \t]+PY_VERSION[ \t]+\"[^\"]+\"") string(REGEX REPLACE "^#define[ \t]+PY_VERSION[ \t]+\"([^\"]+)\".*" "\\1" PYTHONLIBS_VERSION_STRING "${python_version_str}") unset(python_version_str) endif() if(PYTHON_LIBRARY AND PYTHON_INCLUDE_DIR) break() endif() endforeach() mark_as_advanced( PYTHON_DEBUG_LIBRARY PYTHON_LIBRARY PYTHON_INCLUDE_DIR ) # We use PYTHON_INCLUDE_DIR, PYTHON_LIBRARY and PYTHON_DEBUG_LIBRARY for the # cache entries because they are meant to specify the location of a single # library. We now set the variables listed by the documentation for this # module. set(PYTHON_INCLUDE_DIRS "${PYTHON_INCLUDE_DIR}") set(PYTHON_DEBUG_LIBRARIES "${PYTHON_DEBUG_LIBRARY}") # These variables have been historically named in this module different from # what SELECT_LIBRARY_CONFIGURATIONS() expects. set(PYTHON_LIBRARY_DEBUG "${PYTHON_DEBUG_LIBRARY}") set(PYTHON_LIBRARY_RELEASE "${PYTHON_LIBRARY}") include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) SELECT_LIBRARY_CONFIGURATIONS(PYTHON) # SELECT_LIBRARY_CONFIGURATIONS() sets ${PREFIX}_FOUND if it has a library. # Unset this, this prefix doesn't match the module prefix, they are different # for historical reasons. unset(PYTHON_FOUND) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(PythonLibs REQUIRED_VARS PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS VERSION_VAR PYTHONLIBS_VERSION_STRING) # PYTHON_ADD_MODULE( src1 src2 ... srcN) is used to build modules for python. # PYTHON_WRITE_MODULES_HEADER() writes a header file you can include # in your sources to initialize the static python modules function(PYTHON_ADD_MODULE _NAME ) get_property(_TARGET_SUPPORTS_SHARED_LIBS GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS) option(PYTHON_ENABLE_MODULE_${_NAME} "Add module ${_NAME}" TRUE) option(PYTHON_MODULE_${_NAME}_BUILD_SHARED "Add module ${_NAME} shared" ${_TARGET_SUPPORTS_SHARED_LIBS}) # Mark these options as advanced mark_as_advanced(PYTHON_ENABLE_MODULE_${_NAME} PYTHON_MODULE_${_NAME}_BUILD_SHARED) if(PYTHON_ENABLE_MODULE_${_NAME}) if(PYTHON_MODULE_${_NAME}_BUILD_SHARED) set(PY_MODULE_TYPE MODULE) else() set(PY_MODULE_TYPE STATIC) set_property(GLOBAL APPEND PROPERTY PY_STATIC_MODULES_LIST ${_NAME}) endif() set_property(GLOBAL APPEND PROPERTY PY_MODULES_LIST ${_NAME}) add_library(${_NAME} ${PY_MODULE_TYPE} ${ARGN}) # target_link_libraries(${_NAME} ${PYTHON_LIBRARIES}) if(PYTHON_MODULE_${_NAME}_BUILD_SHARED) set_target_properties(${_NAME} PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}") if(WIN32 AND NOT CYGWIN) set_target_properties(${_NAME} PROPERTIES SUFFIX ".pyd") endif() endif() endif() endfunction() function(PYTHON_WRITE_MODULES_HEADER _filename) get_property(PY_STATIC_MODULES_LIST GLOBAL PROPERTY PY_STATIC_MODULES_LIST) get_filename_component(_name "${_filename}" NAME) string(REPLACE "." "_" _name "${_name}") string(TOUPPER ${_name} _nameUpper) set(_filename ${CMAKE_CURRENT_BINARY_DIR}/${_filename}) set(_filenameTmp "${_filename}.in") file(WRITE ${_filenameTmp} "/*Created by cmake, do not edit, changes will be lost*/\n") file(APPEND ${_filenameTmp} "#ifndef ${_nameUpper} #define ${_nameUpper} #include #ifdef __cplusplus extern \"C\" { #endif /* __cplusplus */ ") foreach(_currentModule ${PY_STATIC_MODULES_LIST}) file(APPEND ${_filenameTmp} "extern void init${PYTHON_MODULE_PREFIX}${_currentModule}(void);\n\n") endforeach() file(APPEND ${_filenameTmp} "#ifdef __cplusplus } #endif /* __cplusplus */ ") foreach(_currentModule ${PY_STATIC_MODULES_LIST}) file(APPEND ${_filenameTmp} "int ${_name}_${_currentModule}(void) \n{\n static char name[]=\"${PYTHON_MODULE_PREFIX}${_currentModule}\"; return PyImport_AppendInittab(name, init${PYTHON_MODULE_PREFIX}${_currentModule});\n}\n\n") endforeach() file(APPEND ${_filenameTmp} "void ${_name}_LoadAllPythonModules(void)\n{\n") foreach(_currentModule ${PY_STATIC_MODULES_LIST}) file(APPEND ${_filenameTmp} " ${_name}_${_currentModule}();\n") endforeach() file(APPEND ${_filenameTmp} "}\n\n") file(APPEND ${_filenameTmp} "#ifndef EXCLUDE_LOAD_ALL_FUNCTION\nvoid CMakeLoadAllPythonModules(void)\n{\n ${_name}_LoadAllPythonModules();\n}\n#endif\n\n#endif\n") # with configure_file() cmake complains that you may not use a file created using file(WRITE) as input file for configure_file() execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${_filenameTmp}" "${_filename}" OUTPUT_QUIET ERROR_QUIET) endfunction() cmake-2.8.12.2/Modules/FindQt.cmake000644 000765 000024 00000014114 12266011634 017436 0ustar00kitwarestaff000000 000000 # - Searches for all installed versions of Qt. # This should only be used if your project can work with multiple # versions of Qt. If not, you should just directly use FindQt4 or FindQt3. # If multiple versions of Qt are found on the machine, then # The user must set the option DESIRED_QT_VERSION to the version # they want to use. If only one version of qt is found on the machine, # then the DESIRED_QT_VERSION is set to that version and the # matching FindQt3 or FindQt4 module is included. # Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module # is included. # # QT_REQUIRED if this is set to TRUE then if CMake can # not find Qt4 or Qt3 an error is raised # and a message is sent to the user. # # DESIRED_QT_VERSION OPTION is created # QT4_INSTALLED is set to TRUE if qt4 is found. # QT3_INSTALLED is set to TRUE if qt3 is found. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # look for signs of qt3 installations file(GLOB GLOB_TEMP_VAR /usr/lib*/qt-3*/bin/qmake /usr/lib*/qt3*/bin/qmake) if(GLOB_TEMP_VAR) set(QT3_INSTALLED TRUE) endif() set(GLOB_TEMP_VAR) file(GLOB GLOB_TEMP_VAR /usr/local/qt-x11-commercial-3*/bin/qmake) if(GLOB_TEMP_VAR) set(QT3_INSTALLED TRUE) endif() set(GLOB_TEMP_VAR) file(GLOB GLOB_TEMP_VAR /usr/local/lib/qt3/bin/qmake) if(GLOB_TEMP_VAR) set(QT3_INSTALLED TRUE) endif() set(GLOB_TEMP_VAR) # look for qt4 installations file(GLOB GLOB_TEMP_VAR /usr/local/qt-x11-commercial-4*/bin/qmake) if(GLOB_TEMP_VAR) set(QT4_INSTALLED TRUE) endif() set(GLOB_TEMP_VAR) file(GLOB GLOB_TEMP_VAR /usr/local/Trolltech/Qt-4*/bin/qmake) if(GLOB_TEMP_VAR) set(QT4_INSTALLED TRUE) endif() set(GLOB_TEMP_VAR) file(GLOB GLOB_TEMP_VAR /usr/local/lib/qt4/bin/qmake) if(GLOB_TEMP_VAR) set(QT4_INSTALLED TRUE) endif() set(GLOB_TEMP_VAR) if (Qt_FIND_VERSION) set(DESIRED_QT_VERSION "${Qt_FIND_VERSION}") endif () # now find qmake find_program(QT_QMAKE_EXECUTABLE_FINDQT NAMES qmake PATHS "${QT_SEARCH_PATH}/bin" "$ENV{QTDIR}/bin") if(QT_QMAKE_EXECUTABLE_FINDQT) exec_program(${QT_QMAKE_EXECUTABLE_FINDQT} ARGS "-query QT_VERSION" OUTPUT_VARIABLE QTVERSION) if(QTVERSION MATCHES "4.*") set(QT_QMAKE_EXECUTABLE ${QT_QMAKE_EXECUTABLE_FINDQT} CACHE PATH "Qt4 qmake program.") set(QT4_INSTALLED TRUE) endif() if(QTVERSION MATCHES "Unknown") set(QT3_INSTALLED TRUE) endif() endif() if(QT_QMAKE_EXECUTABLE_FINDQT) exec_program( ${QT_QMAKE_EXECUTABLE_FINDQT} ARGS "-query QT_INSTALL_HEADERS" OUTPUT_VARIABLE qt_headers ) endif() find_file( QT4_QGLOBAL_H_FILE qglobal.h "${QT_SEARCH_PATH}/Qt/include" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/include/Qt" ${qt_headers}/Qt $ENV{QTDIR}/include/Qt /usr/local/qt/include/Qt /usr/local/include/Qt /usr/lib/qt/include/Qt /usr/include/Qt /usr/share/qt4/include/Qt /usr/local/include/X11/qt4/Qt C:/Progra~1/qt/include/Qt ) if(QT4_QGLOBAL_H_FILE) set(QT4_INSTALLED TRUE) endif() find_file( QT3_QGLOBAL_H_FILE qglobal.h "${QT_SEARCH_PATH}/Qt/include" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]/include/Qt" C:/Qt/3.3.3Educational/include $ENV{QTDIR}/include /usr/include/qt3/Qt /usr/local/qt/include /usr/local/include /usr/lib/qt/include /usr/include /usr/share/qt3/include /usr/local/include/X11/qt3 C:/Progra~1/qt/include /usr/include/qt3 ) if(QT3_QGLOBAL_H_FILE) set(QT3_INSTALLED TRUE) endif() if(QT3_INSTALLED AND QT4_INSTALLED AND NOT DESIRED_QT_VERSION) # force user to pick if we have both set(DESIRED_QT_VERSION 0 CACHE STRING "Pick a version of Qt to use: 3 or 4") else() # if only one found then pick that one if(QT3_INSTALLED AND NOT DESIRED_QT_VERSION EQUAL 4) set(DESIRED_QT_VERSION 3 CACHE STRING "Pick a version of Qt to use: 3 or 4") endif() if(QT4_INSTALLED AND NOT DESIRED_QT_VERSION EQUAL 3) set(DESIRED_QT_VERSION 4 CACHE STRING "Pick a version of Qt to use: 3 or 4") endif() endif() if(DESIRED_QT_VERSION MATCHES 3) set(Qt3_FIND_REQUIRED ${Qt_FIND_REQUIRED}) set(Qt3_FIND_QUIETLY ${Qt_FIND_QUIETLY}) include(${CMAKE_CURRENT_LIST_DIR}/FindQt3.cmake) endif() if(DESIRED_QT_VERSION MATCHES 4) set(Qt4_FIND_REQUIRED ${Qt_FIND_REQUIRED}) set(Qt4_FIND_QUIETLY ${Qt_FIND_QUIETLY}) include(${CMAKE_CURRENT_LIST_DIR}/FindQt4.cmake) endif() if(NOT QT3_INSTALLED AND NOT QT4_INSTALLED) if(QT_REQUIRED) message(SEND_ERROR "CMake was unable to find any Qt versions, put qmake in your path, or set QT_QMAKE_EXECUTABLE.") endif() else() if(NOT QT_FOUND AND NOT DESIRED_QT_VERSION) if(QT_REQUIRED) message(SEND_ERROR "Multiple versions of Qt found please set DESIRED_QT_VERSION") else() message("Multiple versions of Qt found please set DESIRED_QT_VERSION") endif() endif() if(NOT QT_FOUND AND DESIRED_QT_VERSION) if(QT_REQUIRED) message(FATAL_ERROR "CMake was unable to find Qt version: ${DESIRED_QT_VERSION}. Set advanced values QT_QMAKE_EXECUTABLE and QT${DESIRED_QT_VERSION}_QGLOBAL_FILE, if those are set then QT_QT_LIBRARY or QT_LIBRARY_DIR.") else() message( "CMake was unable to find desired Qt version: ${DESIRED_QT_VERSION}. Set advanced values QT_QMAKE_EXECUTABLE and QT${DESIRED_QT_VERSION}_QGLOBAL_FILE.") endif() endif() endif() mark_as_advanced(QT3_QGLOBAL_H_FILE QT4_QGLOBAL_H_FILE QT_QMAKE_EXECUTABLE_FINDQT) cmake-2.8.12.2/Modules/FindQt3.cmake000644 000765 000024 00000022757 12266011634 017535 0ustar00kitwarestaff000000 000000 # - Locate Qt include paths and libraries # This module defines: # QT_INCLUDE_DIR - where to find qt.h, etc. # QT_LIBRARIES - the libraries to link against to use Qt. # QT_DEFINITIONS - definitions to use when # compiling code that uses Qt. # QT_FOUND - If false, don't try to use Qt. # QT_VERSION_STRING - the version of Qt found # # If you need the multithreaded version of Qt, set QT_MT_REQUIRED to TRUE # # Also defined, but not for general use are: # QT_MOC_EXECUTABLE, where to find the moc tool. # QT_UIC_EXECUTABLE, where to find the uic tool. # QT_QT_LIBRARY, where to find the Qt library. # QT_QTMAIN_LIBRARY, where to find the qtmain # library. This is only required by Qt3 on Windows. # These are around for backwards compatibility # they will be set # QT_WRAP_CPP, set true if QT_MOC_EXECUTABLE is found # QT_WRAP_UI set true if QT_UIC_EXECUTABLE is found #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # If Qt4 has already been found, fail. if(QT4_FOUND) if(Qt3_FIND_REQUIRED) message( FATAL_ERROR "Qt3 and Qt4 cannot be used together in one project.") else() if(NOT Qt3_FIND_QUIETLY) message( STATUS "Qt3 and Qt4 cannot be used together in one project.") endif() return() endif() endif() file(GLOB GLOB_PATHS /usr/lib/qt-3*) foreach(GLOB_PATH ${GLOB_PATHS}) list(APPEND GLOB_PATHS_BIN "${GLOB_PATH}/bin") endforeach() find_path(QT_INCLUDE_DIR qt.h "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]/include/Qt" $ENV{QTDIR}/include ${GLOB_PATHS} /usr/local/qt/include /usr/lib/qt/include /usr/lib/qt3/include /usr/include/qt /usr/share/qt3/include C:/Progra~1/qt/include /usr/include/qt3 /usr/local/include/X11/qt3 ) # if qglobal.h is not in the qt_include_dir then set # QT_INCLUDE_DIR to NOTFOUND if(NOT EXISTS ${QT_INCLUDE_DIR}/qglobal.h) set(QT_INCLUDE_DIR QT_INCLUDE_DIR-NOTFOUND CACHE PATH "path to Qt3 include directory" FORCE) endif() if(QT_INCLUDE_DIR) #extract the version string from qglobal.h file(STRINGS ${QT_INCLUDE_DIR}/qglobal.h QGLOBAL_H REGEX "#define[\t ]+QT_VERSION_STR[\t ]+\"[0-9]+.[0-9]+.[0-9]+[a-z]*\"") string(REGEX REPLACE ".*\"([0-9]+.[0-9]+.[0-9]+[a-z]*)\".*" "\\1" qt_version_str "${QGLOBAL_H}") unset(QGLOBAL_H) # Under windows the qt library (MSVC) has the format qt-mtXYZ where XYZ is the # version X.Y.Z, so we need to remove the dots from version string(REGEX REPLACE "\\." "" qt_version_str_lib "${qt_version_str}") set(QT_VERSION_STRING "${qt_version_str}") endif() file(GLOB GLOB_PATHS_LIB /usr/lib/qt-3*/lib/) if (QT_MT_REQUIRED) find_library(QT_QT_LIBRARY NAMES qt-mt qt-mt${qt_version_str_lib} qt-mtnc${qt_version_str_lib} qt-mtedu${qt_version_str_lib} qt-mt230nc qt-mtnc321 qt-mt3 PATHS "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]" ENV QTDIR ${GLOB_PATHS_LIB} /usr/local/qt /usr/lib/qt /usr/lib/qt3 /usr/share/qt3 C:/Progra~1/qt PATH_SUFFIXES lib ) else () find_library(QT_QT_LIBRARY NAMES qt qt-${qt_version_str_lib} qt-edu${qt_version_str_lib} qt-mt qt-mt${qt_version_str_lib} qt-mtnc${qt_version_str_lib} qt-mtedu${qt_version_str_lib} qt-mt230nc qt-mtnc321 qt-mt3 PATHS "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]" ENV QTDIR ${GLOB_PATHS_LIB} /usr/local/qt /usr/lib/qt /usr/lib/qt3 /usr/share/qt3 C:/Progra~1/qt/lib PATH_SUFFIXES lib ) endif () find_library(QT_QASSISTANTCLIENT_LIBRARY NAMES qassistantclient PATHS "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]" ENV QTDIR ${GLOB_PATHS_LIB} /usr/local/qt /usr/lib/qt3 /usr/share/qt3 C:/Progra~1/qt PATH_SUFFIXES lib ) # Qt 3 should prefer QTDIR over the PATH find_program(QT_MOC_EXECUTABLE NAMES moc-qt3 moc moc3 moc3-mt HINTS ENV QTDIR PATHS "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]/include/Qt" ${GLOB_PATHS_BIN} /usr/local/lib/qt3 /usr/local/qt /usr/lib/qt /usr/lib/qt3 /usr/share/qt3 C:/Progra~1/qt /usr/X11R6 PATH_SUFFIXES bin ) if(QT_MOC_EXECUTABLE) set ( QT_WRAP_CPP "YES") endif() # Qt 3 should prefer QTDIR over the PATH find_program(QT_UIC_EXECUTABLE NAMES uic-qt3 uic uic3 uic3-mt HINTS ENV QTDIR PATHS "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]/include/Qt" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]/include/Qt" ${GLOB_PATHS_BIN} /usr/local/qt /usr/lib/qt /usr/lib/qt3 /usr/share/qt3 C:/Progra~1/qt /usr/X11R6 PATH_SUFFIXES bin ) if(QT_UIC_EXECUTABLE) set ( QT_WRAP_UI "YES") endif() if (WIN32) find_library(QT_QTMAIN_LIBRARY qtmain HINTS ENV QTDIR "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]" PATHS "$ENV{ProgramFiles}/qt" "C:/Program Files/qt" PATH_SUFFIXES lib DOC "This Library is only needed by and included with Qt3 on MSWindows. It should be NOTFOUND, undefined or IGNORE otherwise." ) endif () #support old QT_MIN_VERSION if set, but not if version is supplied by find_package() if(NOT Qt3_FIND_VERSION AND QT_MIN_VERSION) set(Qt3_FIND_VERSION ${QT_MIN_VERSION}) endif() # if the include a library are found then we have it include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Qt3 REQUIRED_VARS QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE VERSION_VAR QT_VERSION_STRING) set(QT_FOUND ${QT3_FOUND} ) if(QT_FOUND) set( QT_LIBRARIES ${QT_LIBRARIES} ${QT_QT_LIBRARY} ) set( QT_DEFINITIONS "") if (WIN32 AND NOT CYGWIN) if (QT_QTMAIN_LIBRARY) # for version 3 set (QT_DEFINITIONS -DQT_DLL -DQT_THREAD_SUPPORT -DNO_DEBUG) set (QT_LIBRARIES imm32.lib ${QT_QT_LIBRARY} ${QT_QTMAIN_LIBRARY} ) set (QT_LIBRARIES ${QT_LIBRARIES} winmm wsock32) else () # for version 2 set (QT_LIBRARIES imm32.lib ws2_32.lib ${QT_QT_LIBRARY} ) endif () else () set (QT_LIBRARIES ${QT_QT_LIBRARY} ) set (QT_DEFINITIONS -DQT_SHARED -DQT_NO_DEBUG) if(QT_QT_LIBRARY MATCHES "qt-mt") set (QT_DEFINITIONS ${QT_DEFINITIONS} -DQT_THREAD_SUPPORT -D_REENTRANT) endif() endif () if (QT_QASSISTANTCLIENT_LIBRARY) set (QT_LIBRARIES ${QT_QASSISTANTCLIENT_LIBRARY} ${QT_LIBRARIES}) endif () # Backwards compatibility for CMake1.4 and 1.2 set (QT_MOC_EXE ${QT_MOC_EXECUTABLE} ) set (QT_UIC_EXE ${QT_UIC_EXECUTABLE} ) # for unix add X11 stuff if(UNIX) find_package(X11) if (X11_FOUND) set (QT_LIBRARIES ${QT_LIBRARIES} ${X11_LIBRARIES}) endif () if (CMAKE_DL_LIBS) set (QT_LIBRARIES ${QT_LIBRARIES} ${CMAKE_DL_LIBS}) endif () endif() if(QT_QT_LIBRARY MATCHES "qt-mt") find_package(Threads) set(QT_LIBRARIES ${QT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) endif() endif() if(QT_MOC_EXECUTABLE) execute_process(COMMAND ${QT_MOC_EXECUTABLE} "-v" OUTPUT_VARIABLE QTVERSION_MOC ERROR_QUIET) endif() if(QT_UIC_EXECUTABLE) execute_process(COMMAND ${QT_UIC_EXECUTABLE} "-version" OUTPUT_VARIABLE QTVERSION_UIC ERROR_QUIET) endif() set(_QT_UIC_VERSION_3 FALSE) if("${QTVERSION_UIC}" MATCHES ".* 3..*") set(_QT_UIC_VERSION_3 TRUE) endif() set(_QT_MOC_VERSION_3 FALSE) if("${QTVERSION_MOC}" MATCHES ".* 3..*") set(_QT_MOC_VERSION_3 TRUE) endif() set(QT_WRAP_CPP FALSE) if (QT_MOC_EXECUTABLE AND _QT_MOC_VERSION_3) set ( QT_WRAP_CPP TRUE) endif () set(QT_WRAP_UI FALSE) if (QT_UIC_EXECUTABLE AND _QT_UIC_VERSION_3) set ( QT_WRAP_UI TRUE) endif () mark_as_advanced( QT_INCLUDE_DIR QT_QT_LIBRARY QT_QTMAIN_LIBRARY QT_QASSISTANTCLIENT_LIBRARY QT_UIC_EXECUTABLE QT_MOC_EXECUTABLE QT_WRAP_CPP QT_WRAP_UI ) cmake-2.8.12.2/Modules/FindQt4.cmake000644 000765 000024 00000167135 12266011634 017536 0ustar00kitwarestaff000000 000000 # - Find Qt 4 # This module can be used to find Qt4. # The most important issue is that the Qt4 qmake is available via the system path. # This qmake is then used to detect basically everything else. # This module defines a number of key variables and macros. # The variable QT_USE_FILE is set which is the path to a CMake file that can be included # to compile Qt 4 applications and libraries. It sets up the compilation # environment for include directories, preprocessor defines and populates a # QT_LIBRARIES variable. # # Typical usage could be something like: # find_package(Qt4 4.4.3 REQUIRED QtCore QtGui QtXml) # include(${QT_USE_FILE}) # add_executable(myexe main.cpp) # target_link_libraries(myexe ${QT_LIBRARIES}) # # The minimum required version can be specified using the standard find_package()-syntax # (see example above). # For compatibility with older versions of FindQt4.cmake it is also possible to # set the variable QT_MIN_VERSION to the minimum required version of Qt4 before the # find_package(Qt4) command. # If both are used, the version used in the find_package() command overrides the # one from QT_MIN_VERSION. # # When using the components argument, QT_USE_QT* variables are automatically set # for the QT_USE_FILE to pick up. If one wishes to manually set them, the # available ones to set include: # QT_DONT_USE_QTCORE # QT_DONT_USE_QTGUI # QT_USE_QT3SUPPORT # QT_USE_QTASSISTANT # QT_USE_QAXCONTAINER # QT_USE_QAXSERVER # QT_USE_QTDESIGNER # QT_USE_QTMOTIF # QT_USE_QTMAIN # QT_USE_QTMULTIMEDIA # QT_USE_QTNETWORK # QT_USE_QTNSPLUGIN # QT_USE_QTOPENGL # QT_USE_QTSQL # QT_USE_QTXML # QT_USE_QTSVG # QT_USE_QTTEST # QT_USE_QTUITOOLS # QT_USE_QTDBUS # QT_USE_QTSCRIPT # QT_USE_QTASSISTANTCLIENT # QT_USE_QTHELP # QT_USE_QTWEBKIT # QT_USE_QTXMLPATTERNS # QT_USE_PHONON # QT_USE_QTSCRIPTTOOLS # QT_USE_QTDECLARATIVE # # QT_USE_IMPORTED_TARGETS # If this variable is set to TRUE, FindQt4.cmake will create imported # library targets for the various Qt libraries and set the # library variables like QT_QTCORE_LIBRARY to point at these imported # targets instead of the library file on disk. This provides much better # handling of the release and debug versions of the Qt libraries and is # also always backwards compatible, except for the case that dependencies # of libraries are exported, these will then also list the names of the # imported targets as dependency and not the file location on disk. This # is much more flexible, but requires that FindQt4.cmake is executed before # such an exported dependency file is processed. # # Note that if using IMPORTED targets, the qtmain.lib static library is # automatically linked on Windows. To disable that globally, set the # QT4_NO_LINK_QTMAIN variable before finding Qt4. To disable that for a # particular executable, set the QT4_NO_LINK_QTMAIN target property to # True on the executable. # # QT_INCLUDE_DIRS_NO_SYSTEM # If this variable is set to TRUE, the Qt include directories # in the QT_USE_FILE will NOT have the SYSTEM keyword set. # # There are also some files that need processing by some Qt tools such as moc # and uic. Listed below are macros that may be used to process those files. # # macro QT4_WRAP_CPP(outfiles inputfile ... OPTIONS ...) # create moc code from a list of files containing Qt class with # the Q_OBJECT declaration. Per-directory preprocessor definitions # are also added. Options may be given to moc, such as those found # when executing "moc -help". # # macro QT4_WRAP_UI(outfiles inputfile ... OPTIONS ...) # create code from a list of Qt designer ui files. # Options may be given to uic, such as those found # when executing "uic -help" # # macro QT4_ADD_RESOURCES(outfiles inputfile ... OPTIONS ...) # create code from a list of Qt resource files. # Options may be given to rcc, such as those found # when executing "rcc -help" # # macro QT4_GENERATE_MOC(inputfile outputfile ) # creates a rule to run moc on infile and create outfile. # Use this if for some reason QT4_WRAP_CPP() isn't appropriate, e.g. # because you need a custom filename for the moc file or something similar. # # macro QT4_AUTOMOC(sourcefile1 sourcefile2 ... ) # The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead. # This macro is still experimental. # It can be used to have moc automatically handled. # So if you have the files foo.h and foo.cpp, and in foo.h a # a class uses the Q_OBJECT macro, moc has to run on it. If you don't # want to use QT4_WRAP_CPP() (which is reliable and mature), you can insert # #include "foo.moc" # in foo.cpp and then give foo.cpp as argument to QT4_AUTOMOC(). This will the # scan all listed files at cmake-time for such included moc files and if it finds # them cause a rule to be generated to run moc at build time on the # accompanying header file foo.h. # If a source file has the SKIP_AUTOMOC property set it will be ignored by this macro. # # You should have a look on the AUTOMOC property for targets to achieve the same results. # # macro QT4_ADD_DBUS_INTERFACE(outfiles interface basename) # Create the interface header and implementation files with the # given basename from the given interface xml file and add it to # the list of sources. # # You can pass additional parameters to the qdbusxml2cpp call by setting # properties on the input file: # # INCLUDE the given file will be included in the generate interface header # # CLASSNAME the generated class is named accordingly # # NO_NAMESPACE the generated class is not wrapped in a namespace # # macro QT4_ADD_DBUS_INTERFACES(outfiles inputfile ... ) # Create the interface header and implementation files # for all listed interface xml files. # The basename will be automatically determined from the name of the xml file. # # The source file properties described for QT4_ADD_DBUS_INTERFACE also apply here. # # macro QT4_ADD_DBUS_ADAPTOR(outfiles xmlfile parentheader parentclassname [basename] [classname]) # create a dbus adaptor (header and implementation file) from the xml file # describing the interface, and add it to the list of sources. The adaptor # forwards the calls to a parent class, defined in parentheader and named # parentclassname. The name of the generated files will be # adaptor.{cpp,h} where basename defaults to the basename of the xml file. # If is provided, then it will be used as the classname of the # adaptor itself. # # macro QT4_GENERATE_DBUS_INTERFACE( header [interfacename] OPTIONS ...) # generate the xml interface file from the given header. # If the optional argument interfacename is omitted, the name of the # interface file is constructed from the basename of the header with # the suffix .xml appended. # Options may be given to qdbuscpp2xml, such as those found when executing "qdbuscpp2xml --help" # # macro QT4_CREATE_TRANSLATION( qm_files directories ... sources ... # ts_files ... OPTIONS ...) # out: qm_files # in: directories sources ts_files # options: flags to pass to lupdate, such as -extensions to specify # extensions for a directory scan. # generates commands to create .ts (vie lupdate) and .qm # (via lrelease) - files from directories and/or sources. The ts files are # created and/or updated in the source tree (unless given with full paths). # The qm files are generated in the build tree. # Updating the translations can be done by adding the qm_files # to the source list of your library/executable, so they are # always updated, or by adding a custom target to control when # they get updated/generated. # # macro QT4_ADD_TRANSLATION( qm_files ts_files ... ) # out: qm_files # in: ts_files # generates commands to create .qm from .ts - files. The generated # filenames can be found in qm_files. The ts_files # must exist and are not updated in any way. # # function QT4_USE_MODULES( target [link_type] modules...) # This function is obsolete. Use target_link_libraries with IMPORTED targets instead. # Make use the from Qt. Using a Qt module means # to link to the library, add the relevant include directories for the module, # and add the relevant compiler defines for using the module. # Modules are roughly equivalent to components of Qt4, so usage would be # something like: # qt4_use_modules(myexe Core Gui Declarative) # to use QtCore, QtGui and QtDeclarative. The optional argument can # be specified as either LINK_PUBLIC or LINK_PRIVATE to specify the same argument # to the target_link_libraries call. # # # Below is a detailed list of variables that FindQt4.cmake sets. # QT_FOUND If false, don't try to use Qt. # Qt4_FOUND If false, don't try to use Qt 4. # QT4_FOUND If false, don't try to use Qt 4. This variable is for compatibility only. # # QT_VERSION_MAJOR The major version of Qt found. # QT_VERSION_MINOR The minor version of Qt found. # QT_VERSION_PATCH The patch version of Qt found. # # QT_EDITION Set to the edition of Qt (i.e. DesktopLight) # QT_EDITION_DESKTOPLIGHT True if QT_EDITION == DesktopLight # QT_QTCORE_FOUND True if QtCore was found. # QT_QTGUI_FOUND True if QtGui was found. # QT_QT3SUPPORT_FOUND True if Qt3Support was found. # QT_QTASSISTANT_FOUND True if QtAssistant was found. # QT_QTASSISTANTCLIENT_FOUND True if QtAssistantClient was found. # QT_QAXCONTAINER_FOUND True if QAxContainer was found (Windows only). # QT_QAXSERVER_FOUND True if QAxServer was found (Windows only). # QT_QTDBUS_FOUND True if QtDBus was found. # QT_QTDESIGNER_FOUND True if QtDesigner was found. # QT_QTDESIGNERCOMPONENTS True if QtDesignerComponents was found. # QT_QTHELP_FOUND True if QtHelp was found. # QT_QTMOTIF_FOUND True if QtMotif was found. # QT_QTMULTIMEDIA_FOUND True if QtMultimedia was found (since Qt 4.6.0). # QT_QTNETWORK_FOUND True if QtNetwork was found. # QT_QTNSPLUGIN_FOUND True if QtNsPlugin was found. # QT_QTOPENGL_FOUND True if QtOpenGL was found. # QT_QTSQL_FOUND True if QtSql was found. # QT_QTSVG_FOUND True if QtSvg was found. # QT_QTSCRIPT_FOUND True if QtScript was found. # QT_QTSCRIPTTOOLS_FOUND True if QtScriptTools was found. # QT_QTTEST_FOUND True if QtTest was found. # QT_QTUITOOLS_FOUND True if QtUiTools was found. # QT_QTWEBKIT_FOUND True if QtWebKit was found. # QT_QTXML_FOUND True if QtXml was found. # QT_QTXMLPATTERNS_FOUND True if QtXmlPatterns was found. # QT_PHONON_FOUND True if phonon was found. # QT_QTDECLARATIVE_FOUND True if QtDeclarative was found. # # QT_MAC_USE_COCOA For Mac OS X, its whether Cocoa or Carbon is used. # In general, this should not be used, but its useful # when having platform specific code. # # QT_DEFINITIONS Definitions to use when compiling code that uses Qt. # You do not need to use this if you include QT_USE_FILE. # The QT_USE_FILE will also define QT_DEBUG and QT_NO_DEBUG # to fit your current build type. Those are not contained # in QT_DEFINITIONS. # # QT_INCLUDES List of paths to all include directories of # Qt4 QT_INCLUDE_DIR and QT_QTCORE_INCLUDE_DIR are # always in this variable even if NOTFOUND, # all other INCLUDE_DIRS are # only added if they are found. # You do not need to use this if you include QT_USE_FILE. # # # Include directories for the Qt modules are listed here. # You do not need to use these variables if you include QT_USE_FILE. # # QT_INCLUDE_DIR Path to "include" of Qt4 # QT_QT3SUPPORT_INCLUDE_DIR Path to "include/Qt3Support" # QT_QTASSISTANT_INCLUDE_DIR Path to "include/QtAssistant" # QT_QTASSISTANTCLIENT_INCLUDE_DIR Path to "include/QtAssistant" # QT_QAXCONTAINER_INCLUDE_DIR Path to "include/ActiveQt" (Windows only) # QT_QAXSERVER_INCLUDE_DIR Path to "include/ActiveQt" (Windows only) # QT_QTCORE_INCLUDE_DIR Path to "include/QtCore" # QT_QTDBUS_INCLUDE_DIR Path to "include/QtDBus" # QT_QTDESIGNER_INCLUDE_DIR Path to "include/QtDesigner" # QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR Path to "include/QtDesigner" # QT_QTGUI_INCLUDE_DIR Path to "include/QtGui" # QT_QTHELP_INCLUDE_DIR Path to "include/QtHelp" # QT_QTMOTIF_INCLUDE_DIR Path to "include/QtMotif" # QT_QTMULTIMEDIA_INCLUDE_DIR Path to "include/QtMultimedia" # QT_QTNETWORK_INCLUDE_DIR Path to "include/QtNetwork" # QT_QTNSPLUGIN_INCLUDE_DIR Path to "include/QtNsPlugin" # QT_QTOPENGL_INCLUDE_DIR Path to "include/QtOpenGL" # QT_QTSCRIPT_INCLUDE_DIR Path to "include/QtScript" # QT_QTSQL_INCLUDE_DIR Path to "include/QtSql" # QT_QTSVG_INCLUDE_DIR Path to "include/QtSvg" # QT_QTTEST_INCLUDE_DIR Path to "include/QtTest" # QT_QTWEBKIT_INCLUDE_DIR Path to "include/QtWebKit" # QT_QTXML_INCLUDE_DIR Path to "include/QtXml" # QT_QTXMLPATTERNS_INCLUDE_DIR Path to "include/QtXmlPatterns" # QT_PHONON_INCLUDE_DIR Path to "include/phonon" # QT_QTSCRIPTTOOLS_INCLUDE_DIR Path to "include/QtScriptTools" # QT_QTDECLARATIVE_INCLUDE_DIR Path to "include/QtDeclarative" # # QT_BINARY_DIR Path to "bin" of Qt4 # QT_LIBRARY_DIR Path to "lib" of Qt4 # QT_PLUGINS_DIR Path to "plugins" for Qt4 # QT_TRANSLATIONS_DIR Path to "translations" of Qt4 # QT_IMPORTS_DIR Path to "imports" of Qt4 # QT_DOC_DIR Path to "doc" of Qt4 # QT_MKSPECS_DIR Path to "mkspecs" of Qt4 # # # The Qt toolkit may contain both debug and release libraries. # In that case, the following library variables will contain both. # You do not need to use these variables if you include QT_USE_FILE, # and use QT_LIBRARIES. # # QT_QT3SUPPORT_LIBRARY The Qt3Support library # QT_QTASSISTANT_LIBRARY The QtAssistant library # QT_QTASSISTANTCLIENT_LIBRARY The QtAssistantClient library # QT_QAXCONTAINER_LIBRARY The QAxContainer library (Windows only) # QT_QAXSERVER_LIBRARY The QAxServer library (Windows only) # QT_QTCORE_LIBRARY The QtCore library # QT_QTDBUS_LIBRARY The QtDBus library # QT_QTDESIGNER_LIBRARY The QtDesigner library # QT_QTDESIGNERCOMPONENTS_LIBRARY The QtDesignerComponents library # QT_QTGUI_LIBRARY The QtGui library # QT_QTHELP_LIBRARY The QtHelp library # QT_QTMOTIF_LIBRARY The QtMotif library # QT_QTMULTIMEDIA_LIBRARY The QtMultimedia library # QT_QTNETWORK_LIBRARY The QtNetwork library # QT_QTNSPLUGIN_LIBRARY The QtNsPLugin library # QT_QTOPENGL_LIBRARY The QtOpenGL library # QT_QTSCRIPT_LIBRARY The QtScript library # QT_QTSQL_LIBRARY The QtSql library # QT_QTSVG_LIBRARY The QtSvg library # QT_QTTEST_LIBRARY The QtTest library # QT_QTUITOOLS_LIBRARY The QtUiTools library # QT_QTWEBKIT_LIBRARY The QtWebKit library # QT_QTXML_LIBRARY The QtXml library # QT_QTXMLPATTERNS_LIBRARY The QtXmlPatterns library # QT_QTMAIN_LIBRARY The qtmain library for Windows # QT_PHONON_LIBRARY The phonon library # QT_QTSCRIPTTOOLS_LIBRARY The QtScriptTools library # # The QtDeclarative library: QT_QTDECLARATIVE_LIBRARY # # also defined, but NOT for general use are # QT_MOC_EXECUTABLE Where to find the moc tool. # QT_UIC_EXECUTABLE Where to find the uic tool. # QT_UIC3_EXECUTABLE Where to find the uic3 tool. # QT_RCC_EXECUTABLE Where to find the rcc tool # QT_DBUSCPP2XML_EXECUTABLE Where to find the qdbuscpp2xml tool. # QT_DBUSXML2CPP_EXECUTABLE Where to find the qdbusxml2cpp tool. # QT_LUPDATE_EXECUTABLE Where to find the lupdate tool. # QT_LRELEASE_EXECUTABLE Where to find the lrelease tool. # QT_QCOLLECTIONGENERATOR_EXECUTABLE Where to find the qcollectiongenerator tool. # QT_DESIGNER_EXECUTABLE Where to find the Qt designer tool. # QT_LINGUIST_EXECUTABLE Where to find the Qt linguist tool. # # # These are around for backwards compatibility # they will be set # QT_WRAP_CPP Set true if QT_MOC_EXECUTABLE is found # QT_WRAP_UI Set true if QT_UIC_EXECUTABLE is found # # These variables do _NOT_ have any effect anymore (compared to FindQt.cmake) # QT_MT_REQUIRED Qt4 is now always multithreaded # # These variables are set to "" Because Qt structure changed # (They make no sense in Qt4) # QT_QT_LIBRARY Qt-Library is now split #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Use find_package( Qt4 COMPONENTS ... ) to enable modules if( Qt4_FIND_COMPONENTS ) foreach( component ${Qt4_FIND_COMPONENTS} ) string( TOUPPER ${component} _COMPONENT ) set( QT_USE_${_COMPONENT} 1 ) endforeach() # To make sure we don't use QtCore or QtGui when not in COMPONENTS if(NOT QT_USE_QTCORE) set( QT_DONT_USE_QTCORE 1 ) endif() if(NOT QT_USE_QTGUI) set( QT_DONT_USE_QTGUI 1 ) endif() endif() # If Qt3 has already been found, fail. if(QT_QT_LIBRARY) if(Qt4_FIND_REQUIRED) message( FATAL_ERROR "Qt3 and Qt4 cannot be used together in one project. If switching to Qt4, the CMakeCache.txt needs to be cleaned.") else() if(NOT Qt4_FIND_QUIETLY) message( STATUS "Qt3 and Qt4 cannot be used together in one project. If switching to Qt4, the CMakeCache.txt needs to be cleaned.") endif() return() endif() endif() include(${CMAKE_CURRENT_LIST_DIR}/CheckCXXSymbolExists.cmake) include(${CMAKE_CURRENT_LIST_DIR}/MacroAddFileDependencies.cmake) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) set(QT_USE_FILE ${CMAKE_ROOT}/Modules/UseQt4.cmake) set( QT_DEFINITIONS "") # convenience macro for dealing with debug/release library names macro (_QT4_ADJUST_LIB_VARS _camelCaseBasename) string(TOUPPER "${_camelCaseBasename}" basename) # The name of the imported targets, i.e. the prefix "Qt4::" must not change, # since it is stored in EXPORT-files as name of a required library. If the name would change # here, this would lead to the imported Qt4-library targets not being resolved by cmake anymore. if (QT_${basename}_LIBRARY_RELEASE OR QT_${basename}_LIBRARY_DEBUG) if(NOT TARGET Qt4::${_camelCaseBasename}) add_library(Qt4::${_camelCaseBasename} UNKNOWN IMPORTED ) if (QT_${basename}_LIBRARY_RELEASE) set_property(TARGET Qt4::${_camelCaseBasename} APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) if(QT_USE_FRAMEWORKS) set_property(TARGET Qt4::${_camelCaseBasename} PROPERTY IMPORTED_LOCATION_RELEASE "${QT_${basename}_LIBRARY_RELEASE}/${_camelCaseBasename}" ) else() set_property(TARGET Qt4::${_camelCaseBasename} PROPERTY IMPORTED_LOCATION_RELEASE "${QT_${basename}_LIBRARY_RELEASE}" ) endif() endif () if (QT_${basename}_LIBRARY_DEBUG) set_property(TARGET Qt4::${_camelCaseBasename} APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) if(QT_USE_FRAMEWORKS) set_property(TARGET Qt4::${_camelCaseBasename} PROPERTY IMPORTED_LOCATION_DEBUG "${QT_${basename}_LIBRARY_DEBUG}/${_camelCaseBasename}" ) else() set_property(TARGET Qt4::${_camelCaseBasename} PROPERTY IMPORTED_LOCATION_DEBUG "${QT_${basename}_LIBRARY_DEBUG}" ) endif() endif () set_property(TARGET Qt4::${_camelCaseBasename} PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${QT_${basename}_INCLUDE_DIR}" ) string(REGEX REPLACE "^QT" "" _stemname ${basename}) set_property(TARGET Qt4::${_camelCaseBasename} PROPERTY INTERFACE_COMPILE_DEFINITIONS "QT_${_stemname}_LIB" ) endif() # If QT_USE_IMPORTED_TARGETS is enabled, the QT_QTFOO_LIBRARY variables are set to point at these # imported targets. This works better in general, and is also in almost all cases fully # backward compatible. The only issue is when a project A which had this enabled then exports its # libraries via export or export_library_dependencies(). In this case the libraries from project # A will depend on the imported Qt targets, and the names of these imported targets will be stored # in the dependency files on disk. This means when a project B then uses project A, these imported # targets must be created again, otherwise e.g. "Qt4__QtCore" will be interpreted as name of a # library file on disk, and not as a target, and linking will fail: if(QT_USE_IMPORTED_TARGETS) set(QT_${basename}_LIBRARY Qt4::${_camelCaseBasename} ) set(QT_${basename}_LIBRARIES Qt4::${_camelCaseBasename} ) else() # if the release- as well as the debug-version of the library have been found: if (QT_${basename}_LIBRARY_DEBUG AND QT_${basename}_LIBRARY_RELEASE) # if the generator supports configuration types then set # optimized and debug libraries, or if the CMAKE_BUILD_TYPE has a value if (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE) set(QT_${basename}_LIBRARY optimized ${QT_${basename}_LIBRARY_RELEASE} debug ${QT_${basename}_LIBRARY_DEBUG}) else() # if there are no configuration types and CMAKE_BUILD_TYPE has no value # then just use the release libraries set(QT_${basename}_LIBRARY ${QT_${basename}_LIBRARY_RELEASE} ) endif() set(QT_${basename}_LIBRARIES optimized ${QT_${basename}_LIBRARY_RELEASE} debug ${QT_${basename}_LIBRARY_DEBUG}) endif () # if only the release version was found, set the debug variable also to the release version if (QT_${basename}_LIBRARY_RELEASE AND NOT QT_${basename}_LIBRARY_DEBUG) set(QT_${basename}_LIBRARY_DEBUG ${QT_${basename}_LIBRARY_RELEASE}) set(QT_${basename}_LIBRARY ${QT_${basename}_LIBRARY_RELEASE}) set(QT_${basename}_LIBRARIES ${QT_${basename}_LIBRARY_RELEASE}) endif () # if only the debug version was found, set the release variable also to the debug version if (QT_${basename}_LIBRARY_DEBUG AND NOT QT_${basename}_LIBRARY_RELEASE) set(QT_${basename}_LIBRARY_RELEASE ${QT_${basename}_LIBRARY_DEBUG}) set(QT_${basename}_LIBRARY ${QT_${basename}_LIBRARY_DEBUG}) set(QT_${basename}_LIBRARIES ${QT_${basename}_LIBRARY_DEBUG}) endif () # put the value in the cache: set(QT_${basename}_LIBRARY ${QT_${basename}_LIBRARY} CACHE STRING "The Qt ${basename} library" FORCE) endif() set(QT_${basename}_FOUND 1) else () set(QT_${basename}_LIBRARY "" CACHE STRING "The Qt ${basename} library" FORCE) endif () if (QT_${basename}_INCLUDE_DIR) #add the include directory to QT_INCLUDES set(QT_INCLUDES "${QT_${basename}_INCLUDE_DIR}" ${QT_INCLUDES}) endif () # Make variables changeable to the advanced user mark_as_advanced(QT_${basename}_LIBRARY QT_${basename}_LIBRARY_RELEASE QT_${basename}_LIBRARY_DEBUG QT_${basename}_INCLUDE_DIR) endmacro () function(_QT4_QUERY_QMAKE VAR RESULT) execute_process(COMMAND "${QT_QMAKE_EXECUTABLE}" -query ${VAR} RESULT_VARIABLE return_code OUTPUT_VARIABLE output OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE) if(NOT return_code) file(TO_CMAKE_PATH "${output}" output) set(${RESULT} ${output} PARENT_SCOPE) endif() endfunction() function(_QT4_GET_VERSION_COMPONENTS VERSION RESULT_MAJOR RESULT_MINOR RESULT_PATCH) string(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" QT_VERSION_MAJOR "${QTVERSION}") string(REGEX REPLACE "^[0-9]+\\.([0-9]+)\\.[0-9]+.*" "\\1" QT_VERSION_MINOR "${QTVERSION}") string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" QT_VERSION_PATCH "${QTVERSION}") set(${RESULT_MAJOR} ${QT_VERSION_MAJOR} PARENT_SCOPE) set(${RESULT_MINOR} ${QT_VERSION_MINOR} PARENT_SCOPE) set(${RESULT_PATCH} ${QT_VERSION_PATCH} PARENT_SCOPE) endfunction() function(_QT4_FIND_QMAKE QMAKE_NAMES QMAKE_RESULT VERSION_RESULT) list(LENGTH QMAKE_NAMES QMAKE_NAMES_LEN) if(${QMAKE_NAMES_LEN} EQUAL 0) return() endif() list(GET QMAKE_NAMES 0 QMAKE_NAME) get_filename_component(qt_install_version "[HKEY_CURRENT_USER\\Software\\trolltech\\Versions;DefaultQtVersion]" NAME) find_program(QT_QMAKE_EXECUTABLE NAMES ${QMAKE_NAME} PATHS ENV QTDIR "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};InstallDir]" PATH_SUFFIXES bin DOC "The qmake executable for the Qt installation to use" ) set(major 0) if (QT_QMAKE_EXECUTABLE) _qt4_query_qmake(QT_VERSION QTVERSION) _qt4_get_version_components("${QTVERSION}" major minor patch) endif() if (NOT QT_QMAKE_EXECUTABLE OR NOT "${major}" EQUAL 4) set(curr_qmake "${QT_QMAKE_EXECUTABLE}") set(curr_qt_version "${QTVERSION}") set(QT_QMAKE_EXECUTABLE NOTFOUND CACHE FILEPATH "" FORCE) list(REMOVE_AT QMAKE_NAMES 0) _qt4_find_qmake("${QMAKE_NAMES}" QMAKE QTVERSION) _qt4_get_version_components("${QTVERSION}" major minor patch) if (NOT ${major} EQUAL 4) # Restore possibly found qmake and it's version; these are used later # in error message if incorrect version is found set(QT_QMAKE_EXECUTABLE "${curr_qmake}" CACHE FILEPATH "" FORCE) set(QTVERSION "${curr_qt_version}") endif() endif() set(${QMAKE_RESULT} "${QT_QMAKE_EXECUTABLE}" PARENT_SCOPE) set(${VERSION_RESULT} "${QTVERSION}" PARENT_SCOPE) endfunction() set(QT4_INSTALLED_VERSION_TOO_OLD FALSE) set(_QT4_QMAKE_NAMES qmake qmake4 qmake-qt4 qmake-mac) _qt4_find_qmake("${_QT4_QMAKE_NAMES}" QT_QMAKE_EXECUTABLE QTVERSION) if (QT_QMAKE_EXECUTABLE AND QTVERSION) _qt4_get_version_components("${QTVERSION}" QT_VERSION_MAJOR QT_VERSION_MINOR QT_VERSION_PATCH) # ask qmake for the mkspecs directory # we do this first because QT_LIBINFIX might be set if (NOT QT_MKSPECS_DIR OR QT_QMAKE_CHANGED) _qt4_query_qmake(QMAKE_MKSPECS qt_mkspecs_dirs) # do not replace : on windows as it might be a drive letter # and windows should already use ; as a separator if(NOT WIN32) string(REPLACE ":" ";" qt_mkspecs_dirs "${qt_mkspecs_dirs}") endif() set(qt_cross_paths) foreach(qt_cross_path ${CMAKE_FIND_ROOT_PATH}) set(qt_cross_paths ${qt_cross_paths} "${qt_cross_path}/mkspecs") endforeach() set(QT_MKSPECS_DIR NOTFOUND) find_path(QT_MKSPECS_DIR NAMES qconfig.pri HINTS ${qt_cross_paths} ${qt_mkspecs_dirs} DOC "The location of the Qt mkspecs containing qconfig.pri") endif() if(EXISTS "${QT_MKSPECS_DIR}/qconfig.pri") file(READ ${QT_MKSPECS_DIR}/qconfig.pri _qconfig_FILE_contents) string(REGEX MATCH "QT_CONFIG[^\n]+" QT_QCONFIG "${_qconfig_FILE_contents}") string(REGEX MATCH "CONFIG[^\n]+" QT_CONFIG "${_qconfig_FILE_contents}") string(REGEX MATCH "EDITION[^\n]+" QT_EDITION "${_qconfig_FILE_contents}") string(REGEX MATCH "QT_LIBINFIX[^\n]+" _qconfig_qt_libinfix "${_qconfig_FILE_contents}") string(REGEX REPLACE "QT_LIBINFIX *= *([^\n]*)" "\\1" QT_LIBINFIX "${_qconfig_qt_libinfix}") endif() if("${QT_EDITION}" MATCHES "DesktopLight") set(QT_EDITION_DESKTOPLIGHT 1) endif() # ask qmake for the library dir as a hint, then search for QtCore library and use that as a reference for finding the # others and for setting QT_LIBRARY_DIR if (NOT (QT_QTCORE_LIBRARY_RELEASE OR QT_QTCORE_LIBRARY_DEBUG) OR QT_QMAKE_CHANGED) _qt4_query_qmake(QT_INSTALL_LIBS QT_LIBRARY_DIR_TMP) set(QT_QTCORE_LIBRARY_RELEASE NOTFOUND) set(QT_QTCORE_LIBRARY_DEBUG NOTFOUND) find_library(QT_QTCORE_LIBRARY_RELEASE NAMES QtCore${QT_LIBINFIX} QtCore${QT_LIBINFIX}4 HINTS ${QT_LIBRARY_DIR_TMP} NO_DEFAULT_PATH ) find_library(QT_QTCORE_LIBRARY_DEBUG NAMES QtCore${QT_LIBINFIX}_debug QtCore${QT_LIBINFIX}d QtCore${QT_LIBINFIX}d4 HINTS ${QT_LIBRARY_DIR_TMP} NO_DEFAULT_PATH ) if(NOT QT_QTCORE_LIBRARY_RELEASE AND NOT QT_QTCORE_LIBRARY_DEBUG) find_library(QT_QTCORE_LIBRARY_RELEASE NAMES QtCore${QT_LIBINFIX} QtCore${QT_LIBINFIX}4 HINTS ${QT_LIBRARY_DIR_TMP} ) find_library(QT_QTCORE_LIBRARY_DEBUG NAMES QtCore${QT_LIBINFIX}_debug QtCore${QT_LIBINFIX}d QtCore${QT_LIBINFIX}d4 HINTS ${QT_LIBRARY_DIR_TMP} ) endif() # try dropping a hint if trying to use Visual Studio with Qt built by MinGW if(NOT QT_QTCORE_LIBRARY_RELEASE AND MSVC) if(EXISTS ${QT_LIBRARY_DIR_TMP}/libqtmain.a) message( FATAL_ERROR "It appears you're trying to use Visual Studio with Qt built by MinGW. Those compilers do not produce code compatible with each other.") endif() endif() endif () # set QT_LIBRARY_DIR based on location of QtCore found. if(QT_QTCORE_LIBRARY_RELEASE) get_filename_component(QT_LIBRARY_DIR_TMP "${QT_QTCORE_LIBRARY_RELEASE}" PATH) set(QT_LIBRARY_DIR ${QT_LIBRARY_DIR_TMP} CACHE INTERNAL "Qt library dir" FORCE) set(QT_QTCORE_FOUND 1) elseif(QT_QTCORE_LIBRARY_DEBUG) get_filename_component(QT_LIBRARY_DIR_TMP "${QT_QTCORE_LIBRARY_DEBUG}" PATH) set(QT_LIBRARY_DIR ${QT_LIBRARY_DIR_TMP} CACHE INTERNAL "Qt library dir" FORCE) set(QT_QTCORE_FOUND 1) else() message(WARNING "${QT_QMAKE_EXECUTABLE} reported QT_INSTALL_LIBS as \"${QT_LIBRARY_DIR_TMP}\" " "but QtCore could not be found there. " "Qt is NOT installed correctly for the target build environment.") set(Qt4_FOUND FALSE) if(Qt4_FIND_REQUIRED) message( FATAL_ERROR "Could NOT find QtCore. Check ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log for more details.") else() return() endif() endif() # ask qmake for the binary dir if (NOT QT_BINARY_DIR OR QT_QMAKE_CHANGED) _qt4_query_qmake(QT_INSTALL_BINS qt_bins) set(QT_BINARY_DIR ${qt_bins} CACHE INTERNAL "" FORCE) endif () if (APPLE) set(CMAKE_FIND_FRAMEWORK_OLD ${CMAKE_FIND_FRAMEWORK}) if (EXISTS ${QT_LIBRARY_DIR}/QtCore.framework) set(QT_USE_FRAMEWORKS ON CACHE INTERNAL "" FORCE) set(CMAKE_FIND_FRAMEWORK FIRST) else () set(QT_USE_FRAMEWORKS OFF CACHE INTERNAL "" FORCE) set(CMAKE_FIND_FRAMEWORK LAST) endif () endif () # ask qmake for the include dir if (QT_LIBRARY_DIR AND (NOT QT_QTCORE_INCLUDE_DIR OR NOT QT_HEADERS_DIR OR QT_QMAKE_CHANGED)) _qt4_query_qmake(QT_INSTALL_HEADERS qt_headers) set(QT_QTCORE_INCLUDE_DIR NOTFOUND) find_path(QT_QTCORE_INCLUDE_DIR QtCore HINTS ${qt_headers} ${QT_LIBRARY_DIR} PATH_SUFFIXES QtCore qt4/QtCore NO_DEFAULT_PATH ) if(NOT QT_QTCORE_INCLUDE_DIR) find_path(QT_QTCORE_INCLUDE_DIR QtCore HINTS ${qt_headers} ${QT_LIBRARY_DIR} PATH_SUFFIXES QtCore qt4/QtCore ) endif() # Set QT_HEADERS_DIR based on finding QtCore header if(QT_QTCORE_INCLUDE_DIR) if(QT_USE_FRAMEWORKS) set(QT_HEADERS_DIR "${qt_headers}" CACHE INTERNAL "" FORCE) else() get_filename_component(qt_headers "${QT_QTCORE_INCLUDE_DIR}/../" ABSOLUTE) set(QT_HEADERS_DIR "${qt_headers}" CACHE INTERNAL "" FORCE) endif() elseif() message("Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_HEADERS as ${qt_headers}") message("Warning: But QtCore couldn't be found. Qt must NOT be installed correctly.") endif() endif() if(APPLE) set(CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK_OLD}) endif() # Set QT_INCLUDE_DIR based on QT_HEADERS_DIR if(QT_HEADERS_DIR) if(QT_USE_FRAMEWORKS) # Qt/Mac frameworks has two include dirs. # One is the framework include for which CMake will add a -F flag # and the other is an include dir for non-framework Qt modules set(QT_INCLUDE_DIR ${QT_HEADERS_DIR} ${QT_QTCORE_LIBRARY_RELEASE} ) else() set(QT_INCLUDE_DIR ${QT_HEADERS_DIR}) endif() endif() # Set QT_INCLUDES set( QT_INCLUDES ${QT_MKSPECS_DIR}/default ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}) # ask qmake for the documentation directory if (QT_LIBRARY_DIR AND NOT QT_DOC_DIR OR QT_QMAKE_CHANGED) _qt4_query_qmake(QT_INSTALL_DOCS qt_doc_dir) set(QT_DOC_DIR ${qt_doc_dir} CACHE PATH "The location of the Qt docs" FORCE) endif () # ask qmake for the plugins directory if (QT_LIBRARY_DIR AND NOT QT_PLUGINS_DIR OR QT_QMAKE_CHANGED) _qt4_query_qmake(QT_INSTALL_PLUGINS qt_plugins_dir) set(QT_PLUGINS_DIR NOTFOUND) foreach(qt_cross_path ${CMAKE_FIND_ROOT_PATH}) set(qt_cross_paths ${qt_cross_paths} "${qt_cross_path}/plugins") endforeach() find_path(QT_PLUGINS_DIR NAMES accessible imageformats sqldrivers codecs designer HINTS ${qt_cross_paths} ${qt_plugins_dir} DOC "The location of the Qt plugins") endif () # ask qmake for the translations directory if (QT_LIBRARY_DIR AND NOT QT_TRANSLATIONS_DIR OR QT_QMAKE_CHANGED) _qt4_query_qmake(QT_INSTALL_TRANSLATIONS qt_translations_dir) set(QT_TRANSLATIONS_DIR ${qt_translations_dir} CACHE PATH "The location of the Qt translations" FORCE) endif () # ask qmake for the imports directory if (QT_LIBRARY_DIR AND NOT QT_IMPORTS_DIR OR QT_QMAKE_CHANGED) _qt4_query_qmake(QT_INSTALL_IMPORTS qt_imports_dir) if(qt_imports_dir) set(QT_IMPORTS_DIR NOTFOUND) foreach(qt_cross_path ${CMAKE_FIND_ROOT_PATH}) set(qt_cross_paths ${qt_cross_paths} "${qt_cross_path}/imports") endforeach() find_path(QT_IMPORTS_DIR NAMES Qt HINTS ${qt_cross_paths} ${qt_imports_dir} DOC "The location of the Qt imports" NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH) mark_as_advanced(QT_IMPORTS_DIR) endif() endif () # Make variables changeable to the advanced user mark_as_advanced( QT_LIBRARY_DIR QT_DOC_DIR QT_MKSPECS_DIR QT_PLUGINS_DIR QT_TRANSLATIONS_DIR) ############################################# # # Find out what window system we're using # ############################################# # Save required variable set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES}) set(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS}) # Add QT_INCLUDE_DIR to CMAKE_REQUIRED_INCLUDES set(CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES};${QT_INCLUDE_DIR}") # Check for Window system symbols (note: only one should end up being set) CHECK_CXX_SYMBOL_EXISTS(Q_WS_X11 "QtCore/qglobal.h" Q_WS_X11) CHECK_CXX_SYMBOL_EXISTS(Q_WS_WIN "QtCore/qglobal.h" Q_WS_WIN) CHECK_CXX_SYMBOL_EXISTS(Q_WS_QWS "QtCore/qglobal.h" Q_WS_QWS) CHECK_CXX_SYMBOL_EXISTS(Q_WS_MAC "QtCore/qglobal.h" Q_WS_MAC) if(Q_WS_MAC) if(QT_QMAKE_CHANGED) unset(QT_MAC_USE_COCOA CACHE) endif() CHECK_CXX_SYMBOL_EXISTS(QT_MAC_USE_COCOA "QtCore/qconfig.h" QT_MAC_USE_COCOA) endif() if (QT_QTCOPY_REQUIRED) CHECK_CXX_SYMBOL_EXISTS(QT_IS_QTCOPY "QtCore/qglobal.h" QT_KDE_QT_COPY) if (NOT QT_IS_QTCOPY) message(FATAL_ERROR "qt-copy is required, but hasn't been found") endif () endif () # Restore CMAKE_REQUIRED_INCLUDES and CMAKE_REQUIRED_FLAGS variables set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE}) set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_SAVE}) # ############################################# ######################################## # # Setting the INCLUDE-Variables # ######################################## set(QT_MODULES QtGui Qt3Support QtSvg QtScript QtTest QtUiTools QtHelp QtWebKit QtXmlPatterns phonon QtNetwork QtMultimedia QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus QtScriptTools QtDeclarative) if(Q_WS_X11) set(QT_MODULES ${QT_MODULES} QtMotif) endif() if(QT_QMAKE_CHANGED) foreach(QT_MODULE ${QT_MODULES}) string(TOUPPER ${QT_MODULE} _upper_qt_module) set(QT_${_upper_qt_module}_INCLUDE_DIR NOTFOUND) set(QT_${_upper_qt_module}_LIBRARY_RELEASE NOTFOUND) set(QT_${_upper_qt_module}_LIBRARY_DEBUG NOTFOUND) endforeach() set(QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR NOTFOUND) set(QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE NOTFOUND) set(QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG NOTFOUND) set(QT_QTASSISTANTCLIENT_INCLUDE_DIR NOTFOUND) set(QT_QTASSISTANTCLIENT_LIBRARY_RELEASE NOTFOUND) set(QT_QTASSISTANTCLIENT_LIBRARY_DEBUG NOTFOUND) set(QT_QTASSISTANT_INCLUDE_DIR NOTFOUND) set(QT_QTASSISTANT_LIBRARY_RELEASE NOTFOUND) set(QT_QTASSISTANT_LIBRARY_DEBUG NOTFOUND) set(QT_QTCLUCENE_LIBRARY_RELEASE NOTFOUND) set(QT_QTCLUCENE_LIBRARY_DEBUG NOTFOUND) set(QT_QAXCONTAINER_INCLUDE_DIR NOTFOUND) set(QT_QAXCONTAINER_LIBRARY_RELEASE NOTFOUND) set(QT_QAXCONTAINER_LIBRARY_DEBUG NOTFOUND) set(QT_QAXSERVER_INCLUDE_DIR NOTFOUND) set(QT_QAXSERVER_LIBRARY_RELEASE NOTFOUND) set(QT_QAXSERVER_LIBRARY_DEBUG NOTFOUND) if(Q_WS_WIN) set(QT_QTMAIN_LIBRARY_DEBUG NOTFOUND) set(QT_QTMAIN_LIBRARY_RELEASE NOTFOUND) endif() endif() foreach(QT_MODULE ${QT_MODULES}) string(TOUPPER ${QT_MODULE} _upper_qt_module) find_path(QT_${_upper_qt_module}_INCLUDE_DIR ${QT_MODULE} PATHS ${QT_HEADERS_DIR}/${QT_MODULE} ${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) # phonon doesn't seem consistent, let's try phonondefs.h for some # installations if(${QT_MODULE} STREQUAL "phonon") find_path(QT_${_upper_qt_module}_INCLUDE_DIR phonondefs.h PATHS ${QT_HEADERS_DIR}/${QT_MODULE} ${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) endif() endforeach() if(Q_WS_WIN) set(QT_MODULES ${QT_MODULES} QAxContainer QAxServer) # Set QT_AXCONTAINER_INCLUDE_DIR and QT_AXSERVER_INCLUDE_DIR find_path(QT_QAXCONTAINER_INCLUDE_DIR ActiveQt PATHS ${QT_HEADERS_DIR}/ActiveQt NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_path(QT_QAXSERVER_INCLUDE_DIR ActiveQt PATHS ${QT_HEADERS_DIR}/ActiveQt NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) endif() # Set QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR find_path(QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR QDesignerComponents PATHS ${QT_HEADERS_DIR}/QtDesigner ${QT_LIBRARY_DIR}/QtDesigner.framework/Headers NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) # Set QT_QTASSISTANT_INCLUDE_DIR find_path(QT_QTASSISTANT_INCLUDE_DIR QtAssistant PATHS ${QT_HEADERS_DIR}/QtAssistant ${QT_LIBRARY_DIR}/QtAssistant.framework/Headers NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) # Set QT_QTASSISTANTCLIENT_INCLUDE_DIR find_path(QT_QTASSISTANTCLIENT_INCLUDE_DIR QAssistantClient PATHS ${QT_HEADERS_DIR}/QtAssistant ${QT_LIBRARY_DIR}/QtAssistant.framework/Headers NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) ######################################## # # Setting the LIBRARY-Variables # ######################################## # find the libraries foreach(QT_MODULE ${QT_MODULES}) string(TOUPPER ${QT_MODULE} _upper_qt_module) find_library(QT_${_upper_qt_module}_LIBRARY_RELEASE NAMES ${QT_MODULE}${QT_LIBINFIX} ${QT_MODULE}${QT_LIBINFIX}4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_library(QT_${_upper_qt_module}_LIBRARY_DEBUG NAMES ${QT_MODULE}${QT_LIBINFIX}_debug ${QT_MODULE}${QT_LIBINFIX}d ${QT_MODULE}${QT_LIBINFIX}d4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) if(QT_${_upper_qt_module}_LIBRARY_RELEASE MATCHES "/${QT_MODULE}\\.framework$") if(NOT EXISTS "${QT_${_upper_qt_module}_LIBRARY_RELEASE}/${QT_MODULE}") # Release framework library file does not exist... Force to NOTFOUND: set(QT_${_upper_qt_module}_LIBRARY_RELEASE "QT_${_upper_qt_module}_LIBRARY_RELEASE-NOTFOUND" CACHE FILEPATH "Path to a library." FORCE) endif() endif() if(QT_${_upper_qt_module}_LIBRARY_DEBUG MATCHES "/${QT_MODULE}\\.framework$") if(NOT EXISTS "${QT_${_upper_qt_module}_LIBRARY_DEBUG}/${QT_MODULE}") # Debug framework library file does not exist... Force to NOTFOUND: set(QT_${_upper_qt_module}_LIBRARY_DEBUG "QT_${_upper_qt_module}_LIBRARY_DEBUG-NOTFOUND" CACHE FILEPATH "Path to a library." FORCE) endif() endif() endforeach() # QtUiTools is sometimes not in the same directory as the other found libraries # e.g. on Mac, its never a framework like the others are if(QT_QTCORE_LIBRARY_RELEASE AND NOT QT_QTUITOOLS_LIBRARY_RELEASE) find_library(QT_QTUITOOLS_LIBRARY_RELEASE NAMES QtUiTools${QT_LIBINFIX} PATHS ${QT_LIBRARY_DIR}) endif() # Set QT_QTDESIGNERCOMPONENTS_LIBRARY find_library(QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE NAMES QtDesignerComponents${QT_LIBINFIX} QtDesignerComponents${QT_LIBINFIX}4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) find_library(QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG NAMES QtDesignerComponents${QT_LIBINFIX}_debug QtDesignerComponents${QT_LIBINFIX}d QtDesignerComponents${QT_LIBINFIX}d4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) # Set QT_QTMAIN_LIBRARY if(Q_WS_WIN) find_library(QT_QTMAIN_LIBRARY_RELEASE NAMES qtmain${QT_LIBINFIX} PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) find_library(QT_QTMAIN_LIBRARY_DEBUG NAMES qtmain${QT_LIBINFIX}d PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) endif() # Set QT_QTASSISTANTCLIENT_LIBRARY find_library(QT_QTASSISTANTCLIENT_LIBRARY_RELEASE NAMES QtAssistantClient${QT_LIBINFIX} QtAssistantClient${QT_LIBINFIX}4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) find_library(QT_QTASSISTANTCLIENT_LIBRARY_DEBUG NAMES QtAssistantClient${QT_LIBINFIX}_debug QtAssistantClient${QT_LIBINFIX}d QtAssistantClient${QT_LIBINFIX}d4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) # Set QT_QTASSISTANT_LIBRARY find_library(QT_QTASSISTANT_LIBRARY_RELEASE NAMES QtAssistantClient${QT_LIBINFIX} QtAssistantClient${QT_LIBINFIX}4 QtAssistant${QT_LIBINFIX} QtAssistant${QT_LIBINFIX}4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) find_library(QT_QTASSISTANT_LIBRARY_DEBUG NAMES QtAssistantClient${QT_LIBINFIX}_debug QtAssistantClient${QT_LIBINFIX}d QtAssistantClient${QT_LIBINFIX}d4 QtAssistant${QT_LIBINFIX}_debug QtAssistant${QT_LIBINFIX}d4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) # Set QT_QTHELP_LIBRARY find_library(QT_QTCLUCENE_LIBRARY_RELEASE NAMES QtCLucene${QT_LIBINFIX} QtCLucene${QT_LIBINFIX}4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) find_library(QT_QTCLUCENE_LIBRARY_DEBUG NAMES QtCLucene${QT_LIBINFIX}_debug QtCLucene${QT_LIBINFIX}d QtCLucene${QT_LIBINFIX}d4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) if(Q_WS_MAC AND QT_QTCORE_LIBRARY_RELEASE AND NOT QT_QTCLUCENE_LIBRARY_RELEASE) find_library(QT_QTCLUCENE_LIBRARY_RELEASE NAMES QtCLucene${QT_LIBINFIX} PATHS ${QT_LIBRARY_DIR}) endif() ############################################ # # Check the existence of the libraries. # ############################################ macro(_qt4_add_target_depends_internal _QT_MODULE _PROPERTY) if (TARGET Qt4::${_QT_MODULE}) foreach(_DEPEND ${ARGN}) set(_VALID_DEPENDS) if (TARGET Qt4::Qt${_DEPEND}) list(APPEND _VALID_DEPENDS Qt4::Qt${_DEPEND}) endif() if (_VALID_DEPENDS) set_property(TARGET Qt4::${_QT_MODULE} APPEND PROPERTY ${_PROPERTY} "${_VALID_DEPENDS}" ) endif() set(_VALID_DEPENDS) endforeach() endif() endmacro() macro(_qt4_add_target_depends _QT_MODULE) get_target_property(_configs Qt4::${_QT_MODULE} IMPORTED_CONFIGURATIONS) _qt4_add_target_depends_internal(${_QT_MODULE} INTERFACE_LINK_LIBRARIES ${ARGN}) foreach(_config ${_configs}) _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_INTERFACE_LIBRARIES_${_config} ${ARGN}) endforeach() set(_configs) endmacro() macro(_qt4_add_target_private_depends _QT_MODULE) get_target_property(_configs ${_QT_MODULE} IMPORTED_CONFIGURATIONS) foreach(_config ${_configs}) _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} ${ARGN}) endforeach() set(_configs) endmacro() # Set QT_xyz_LIBRARY variable and add # library include path to QT_INCLUDES _QT4_ADJUST_LIB_VARS(QtCore) set_property(TARGET Qt4::QtCore APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${QT_MKSPECS_DIR}/default" ${QT_INCLUDE_DIR} ) set_property(TARGET Qt4::QtCore PROPERTY INTERFACE_QT_MAJOR_VERSION 4 ) set_property(TARGET Qt4::QtCore APPEND PROPERTY COMPATIBLE_INTERFACE_STRING QT_MAJOR_VERSION ) foreach(QT_MODULE ${QT_MODULES}) _QT4_ADJUST_LIB_VARS(${QT_MODULE}) _qt4_add_target_depends(${QT_MODULE} Core) endforeach() _QT4_ADJUST_LIB_VARS(QtAssistant) _QT4_ADJUST_LIB_VARS(QtAssistantClient) _QT4_ADJUST_LIB_VARS(QtCLucene) _QT4_ADJUST_LIB_VARS(QtDesignerComponents) # platform dependent libraries if(Q_WS_WIN) _QT4_ADJUST_LIB_VARS(qtmain) _QT4_ADJUST_LIB_VARS(QAxServer) if(QT_QAXSERVER_FOUND) set_property(TARGET Qt4::QAxServer PROPERTY INTERFACE_QT4_NO_LINK_QTMAIN ON ) set_property(TARGET Qt4::QAxServer APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL QT4_NO_LINK_QTMAIN) endif() _QT4_ADJUST_LIB_VARS(QAxContainer) endif() # Only public dependencies are listed here. # Eg, QtDBus links to QtXml, but users of QtDBus do not need to # link to QtXml because QtDBus only uses it internally, not in public # headers. # Everything depends on QtCore, but that is covered above already _qt4_add_target_depends(Qt3Support Sql Gui Network) if (TARGET Qt4::Qt3Support) # An additional define is required for QT3_SUPPORT set_property(TARGET Qt4::Qt3Support APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS QT3_SUPPORT) endif() _qt4_add_target_depends(QtDeclarative Script Gui) _qt4_add_target_depends(QtDesigner Gui) _qt4_add_target_depends(QtHelp Gui) _qt4_add_target_depends(QtMultimedia Gui) _qt4_add_target_depends(QtOpenGL Gui) _qt4_add_target_depends(QtSvg Gui) _qt4_add_target_depends(QtWebKit Gui Network) _qt4_add_target_private_depends(Qt3Support Xml) if(QT_VERSION VERSION_GREATER 4.6) _qt4_add_target_private_depends(QtSvg Xml) endif() _qt4_add_target_private_depends(QtDBus Xml) _qt4_add_target_private_depends(QtUiTools Xml Gui) _qt4_add_target_private_depends(QtHelp Sql Xml Network) _qt4_add_target_private_depends(QtXmlPatterns Network) _qt4_add_target_private_depends(QtScriptTools Gui) _qt4_add_target_private_depends(QtWebKit XmlPatterns) _qt4_add_target_private_depends(QtDeclarative XmlPatterns Svg Sql Gui) _qt4_add_target_private_depends(QtMultimedia Gui) _qt4_add_target_private_depends(QtOpenGL Gui) if(QT_QAXSERVER_FOUND) _qt4_add_target_private_depends(QAxServer Gui) endif() if(QT_QAXCONTAINER_FOUND) _qt4_add_target_private_depends(QAxContainer Gui) endif() _qt4_add_target_private_depends(phonon Gui) if(QT_QTDBUS_FOUND) _qt4_add_target_private_depends(phonon DBus) endif() if (WIN32 AND NOT QT4_NO_LINK_QTMAIN) set(_isExe $,EXECUTABLE>) set(_isWin32 $>) set(_isNotExcluded $>>) set(_isPolicyNEW $) get_target_property(_configs Qt4::QtCore IMPORTED_CONFIGURATIONS) set_property(TARGET Qt4::QtCore APPEND PROPERTY INTERFACE_LINK_LIBRARIES $<$:Qt4::qtmain> ) foreach(_config ${_configs}) set_property(TARGET Qt4::QtCore APPEND PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES_${_config} $<$:Qt4::qtmain> ) endforeach() unset(_configs) unset(_isExe) unset(_isWin32) unset(_isNotExcluded) unset(_isPolicyNEW) endif() ####################################### # # Check the executables of Qt # ( moc, uic, rcc ) # ####################################### if(QT_QMAKE_CHANGED) set(QT_UIC_EXECUTABLE NOTFOUND) set(QT_MOC_EXECUTABLE NOTFOUND) set(QT_UIC3_EXECUTABLE NOTFOUND) set(QT_RCC_EXECUTABLE NOTFOUND) set(QT_DBUSCPP2XML_EXECUTABLE NOTFOUND) set(QT_DBUSXML2CPP_EXECUTABLE NOTFOUND) set(QT_LUPDATE_EXECUTABLE NOTFOUND) set(QT_LRELEASE_EXECUTABLE NOTFOUND) set(QT_QCOLLECTIONGENERATOR_EXECUTABLE NOTFOUND) set(QT_DESIGNER_EXECUTABLE NOTFOUND) set(QT_LINGUIST_EXECUTABLE NOTFOUND) endif() find_program(QT_MOC_EXECUTABLE NAMES moc-qt4 moc moc4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_UIC_EXECUTABLE NAMES uic-qt4 uic uic4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_UIC3_EXECUTABLE NAMES uic3 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_RCC_EXECUTABLE NAMES rcc PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_DBUSCPP2XML_EXECUTABLE NAMES qdbuscpp2xml PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_DBUSXML2CPP_EXECUTABLE NAMES qdbusxml2cpp PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_LUPDATE_EXECUTABLE NAMES lupdate-qt4 lupdate lupdate4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_LRELEASE_EXECUTABLE NAMES lrelease-qt4 lrelease lrelease4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_QCOLLECTIONGENERATOR_EXECUTABLE NAMES qcollectiongenerator-qt4 qcollectiongenerator PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_DESIGNER_EXECUTABLE NAMES designer-qt4 designer designer4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_program(QT_LINGUIST_EXECUTABLE NAMES linguist-qt4 linguist linguist4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) if (QT_MOC_EXECUTABLE) set(QT_WRAP_CPP "YES") endif () if (QT_UIC_EXECUTABLE) set(QT_WRAP_UI "YES") endif () mark_as_advanced( QT_UIC_EXECUTABLE QT_UIC3_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_DBUSXML2CPP_EXECUTABLE QT_DBUSCPP2XML_EXECUTABLE QT_LUPDATE_EXECUTABLE QT_LRELEASE_EXECUTABLE QT_QCOLLECTIONGENERATOR_EXECUTABLE QT_DESIGNER_EXECUTABLE QT_LINGUIST_EXECUTABLE) # get the directory of the current file, used later on in the file get_filename_component( _qt4_current_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) ############################################### # # configuration/system dependent settings # ############################################### include("${_qt4_current_dir}/Qt4ConfigDependentSettings.cmake") ####################################### # # Check the plugins of Qt # ####################################### set( QT_PLUGIN_TYPES accessible bearer codecs decorations designer gfxdrivers graphicssystems iconengines imageformats inputmethods mousedrivers phonon_backend script sqldrivers ) set( QT_ACCESSIBLE_PLUGINS qtaccessiblecompatwidgets qtaccessiblewidgets ) set( QT_BEARER_PLUGINS qcorewlanbearer qgenericbearer ) set( QT_CODECS_PLUGINS qcncodecs qjpcodecs qkrcodecs qtwcodecs ) set( QT_DECORATIONS_PLUGINS qdecorationdefault qdecorationwindows ) set( QT_DESIGNER_PLUGINS arthurplugin containerextension customwidgetplugin phononwidgets qdeclarativeview qt3supportwidgets qwebview taskmenuextension worldtimeclockplugin ) set( QT_GRAPHICSDRIVERS_PLUGINS qgfxtransformed qgfxvnc qscreenvfb ) set( QT_GRAPHICSSYSTEMS_PLUGINS qglgraphicssystem qtracegraphicssystem ) set( QT_ICONENGINES_PLUGINS qsvgicon ) set( QT_IMAGEFORMATS_PLUGINS qgif qjpeg qmng qico qsvg qtiff ) set( QT_INPUTMETHODS_PLUGINS qimsw_multi ) set( QT_MOUSEDRIVERS_PLUGINS qwstslibmousehandler ) if(APPLE) set( QT_PHONON_BACKEND_PLUGINS phonon_qt7 ) elseif(WIN32) set( QT_PHONON_BACKEND_PLUGINS phonon_ds9 ) endif() set( QT_SCRIPT_PLUGINS qtscriptdbus ) set( QT_SQLDRIVERS_PLUGINS qsqldb2 qsqlibase qsqlite qsqlite2 qsqlmysql qsqloci qsqlodbc qsqlpsql qsqltds ) set( QT_PHONON_PLUGINS ${QT_PHONON_BACKEND_PLUGINS} ) set( QT_QT3SUPPORT_PLUGINS qtaccessiblecompatwidgets ) set( QT_QTCORE_PLUGINS ${QT_BEARER_PLUGINS} ${QT_CODECS_PLUGINS} ) set( QT_QTGUI_PLUGINS qtaccessiblewidgets qgif qjpeg qmng qico qtiff ${QT_DECORATIONS_PLUGINS} ${QT_GRAPHICSDRIVERS_PLUGINS} ${QT_GRAPHICSSYSTEMS_PLUGINS} ${QT_INPUTMETHODS_PLUGINS} ${QT_MOUSEDRIVERS_PLUGINS} ) set( QT_QTSCRIPT_PLUGINS ${QT_SCRIPT_PLUGINS} ) set( QT_QTSQL_PLUGINS ${QT_SQLDRIVERS_PLUGINS} ) set( QT_QTSVG_PLUGINS qsvg qsvgicon ) if(QT_QMAKE_CHANGED) foreach(QT_PLUGIN_TYPE ${QT_PLUGIN_TYPES}) string(TOUPPER ${QT_PLUGIN_TYPE} _upper_qt_plugin_type) set(QT_${_upper_qt_plugin_type}_PLUGINS_DIR ${QT_PLUGINS_DIR}/${QT_PLUGIN_TYPE}) foreach(QT_PLUGIN ${QT_${_upper_qt_plugin_type}_PLUGINS}) string(TOUPPER ${QT_PLUGIN} _upper_qt_plugin) unset(QT_${_upper_qt_plugin}_LIBRARY_RELEASE CACHE) unset(QT_${_upper_qt_plugin}_LIBRARY_DEBUG CACHE) unset(QT_${_upper_qt_plugin}_LIBRARY CACHE) unset(QT_${_upper_qt_plugin}_PLUGIN_RELEASE CACHE) unset(QT_${_upper_qt_plugin}_PLUGIN_DEBUG CACHE) unset(QT_${_upper_qt_plugin}_PLUGIN CACHE) endforeach() endforeach() endif() # find_library works better than find_file but we need to set prefixes to only match plugins foreach(QT_PLUGIN_TYPE ${QT_PLUGIN_TYPES}) string(TOUPPER ${QT_PLUGIN_TYPE} _upper_qt_plugin_type) set(QT_${_upper_qt_plugin_type}_PLUGINS_DIR ${QT_PLUGINS_DIR}/${QT_PLUGIN_TYPE}) foreach(QT_PLUGIN ${QT_${_upper_qt_plugin_type}_PLUGINS}) string(TOUPPER ${QT_PLUGIN} _upper_qt_plugin) if(QT_IS_STATIC) find_library(QT_${_upper_qt_plugin}_LIBRARY_RELEASE NAMES ${QT_PLUGIN}${QT_LIBINFIX} ${QT_PLUGIN}${QT_LIBINFIX}4 PATHS ${QT_${_upper_qt_plugin_type}_PLUGINS_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_library(QT_${_upper_qt_plugin}_LIBRARY_DEBUG NAMES ${QT_PLUGIN}${QT_LIBINFIX}_debug ${QT_PLUGIN}${QT_LIBINFIX}d ${QT_PLUGIN}${QT_LIBINFIX}d4 PATHS ${QT_${_upper_qt_plugin_type}_PLUGINS_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) _QT4_ADJUST_LIB_VARS(${QT_PLUGIN}) else() # find_library works easier/better than find_file but we need to set suffixes to only match plugins set(CMAKE_FIND_LIBRARY_SUFFIXES_DEFAULT ${CMAKE_FIND_LIBRARY_SUFFIXES}) set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_SHARED_MODULE_SUFFIX} ${CMAKE_SHARED_LIBRARY_SUFFIX}) find_library(QT_${_upper_qt_plugin}_PLUGIN_RELEASE NAMES ${QT_PLUGIN}${QT_LIBINFIX} ${QT_PLUGIN}${QT_LIBINFIX}4 PATHS ${QT_${_upper_qt_plugin_type}_PLUGINS_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) find_library(QT_${_upper_qt_plugin}_PLUGIN_DEBUG NAMES ${QT_PLUGIN}${QT_LIBINFIX}_debug ${QT_PLUGIN}${QT_LIBINFIX}d ${QT_PLUGIN}${QT_LIBINFIX}d4 PATHS ${QT_${_upper_qt_plugin_type}_PLUGINS_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) mark_as_advanced(QT_${_upper_qt_plugin}_PLUGIN_RELEASE QT_${_upper_qt_plugin}_PLUGIN_DEBUG) set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES_DEFAULT}) endif() endforeach() endforeach() ###################################### # # Macros for building Qt files # ###################################### include("${_qt4_current_dir}/Qt4Macros.cmake") endif() #support old QT_MIN_VERSION if set, but not if version is supplied by find_package() if(NOT Qt4_FIND_VERSION AND QT_MIN_VERSION) set(Qt4_FIND_VERSION ${QT_MIN_VERSION}) endif() if( Qt4_FIND_COMPONENTS ) # if components specified in find_package(), make sure each of those pieces were found set(_QT4_FOUND_REQUIRED_VARS QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR) foreach( component ${Qt4_FIND_COMPONENTS} ) string( TOUPPER ${component} _COMPONENT ) if(${_COMPONENT} STREQUAL "QTMAIN") if(Q_WS_WIN) set(_QT4_FOUND_REQUIRED_VARS ${_QT4_FOUND_REQUIRED_VARS} QT_${_COMPONENT}_LIBRARY) endif() else() set(_QT4_FOUND_REQUIRED_VARS ${_QT4_FOUND_REQUIRED_VARS} QT_${_COMPONENT}_INCLUDE_DIR QT_${_COMPONENT}_LIBRARY) endif() endforeach() if(Qt4_FIND_COMPONENTS MATCHES QtGui) set(_QT4_FOUND_REQUIRED_VARS ${_QT4_FOUND_REQUIRED_VARS} QT_UIC_EXECUTABLE) endif() else() # if no components specified, we'll make a default set of required variables to say Qt is found set(_QT4_FOUND_REQUIRED_VARS QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) endif() if (NOT QT_VERSION_MAJOR EQUAL 4) set(VERSION_MSG "Found unsuitable Qt version \"${QTVERSION}\" from ${QT_QMAKE_EXECUTABLE}") set(QT4_FOUND FALSE) if(Qt4_FIND_REQUIRED) message( FATAL_ERROR "${VERSION_MSG}, this code requires Qt 4.x") else() if(NOT Qt4_FIND_QUIETLY) message( STATUS "${VERSION_MSG}") endif() endif() else() FIND_PACKAGE_HANDLE_STANDARD_ARGS(Qt4 FOUND_VAR Qt4_FOUND REQUIRED_VARS ${_QT4_FOUND_REQUIRED_VARS} VERSION_VAR QTVERSION ) endif() ####################################### # # compatibility settings # ####################################### # Backwards compatibility for CMake1.4 and 1.2 set (QT_MOC_EXE ${QT_MOC_EXECUTABLE} ) set (QT_UIC_EXE ${QT_UIC_EXECUTABLE} ) set( QT_QT_LIBRARY "") set(QT4_FOUND ${Qt4_FOUND}) set(QT_FOUND ${Qt4_FOUND}) cmake-2.8.12.2/Modules/FindQuickTime.cmake000644 000765 000024 00000002613 12266011634 020746 0ustar00kitwarestaff000000 000000 # Locate QuickTime # This module defines # QUICKTIME_LIBRARY # QUICKTIME_FOUND, if false, do not try to link to gdal # QUICKTIME_INCLUDE_DIR, where to find the headers # # $QUICKTIME_DIR is an environment variable that would # correspond to the ./configure --prefix=$QUICKTIME_DIR # # Created by Eric Wing. #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(QUICKTIME_INCLUDE_DIR QuickTime/QuickTime.h QuickTime.h HINTS ENV QUICKTIME_DIR PATH_SUFFIXES include ) find_library(QUICKTIME_LIBRARY QuickTime HINTS ENV QUICKTIME_DIR PATH_SUFFIXES lib ) # handle the QUIETLY and REQUIRED arguments and set QUICKTIME_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(QuickTime DEFAULT_MSG QUICKTIME_LIBRARY QUICKTIME_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindRTI.cmake000644 000765 000024 00000007110 12266011634 017506 0ustar00kitwarestaff000000 000000 # - Try to find M&S HLA RTI libraries # This module finds if any HLA RTI is installed and locates the standard RTI # include files and libraries. # # RTI is a simulation infrastructure standardized by IEEE and SISO. It has a # well defined C++ API that assures that simulation applications are # independent on a particular RTI implementation. # http://en.wikipedia.org/wiki/Run-Time_Infrastructure_(simulation) # # This code sets the following variables: # RTI_INCLUDE_DIR = the directory where RTI includes file are found # RTI_LIBRARIES = The libraries to link against to use RTI # RTI_DEFINITIONS = -DRTI_USES_STD_FSTREAM # RTI_FOUND = Set to FALSE if any HLA RTI was not found # # Report problems to #============================================================================= # Copyright 2008-2009 Kitware, Inc. # Copyright 2008 Petr Gotthard # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(RTI_MESSAGE_QUIETLY QUIET TYPE MSG) if(NOT ${QUIET}) message(${TYPE} "${MSG}") endif() endmacro() set(RTI_DEFINITIONS "-DRTI_USES_STD_FSTREAM") # Detect the CERTI installation, http://www.cert.fr/CERTI # Detect the MAK Technologies RTI installation, http://www.mak.com/products/rti.php # note: the following list is ordered to find the most recent version first set(RTI_POSSIBLE_DIRS ENV CERTI_HOME "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MAK Technologies\\MAK RTI 3.2 MSVC++ 8.0;Location]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MAK RTI 3.2-win32-msvc++8.0;InstallLocation]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MAK Technologies\\MAK RTI 2.2;Location]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MAK RTI 2.2;InstallLocation]") set(RTI_OLD_FIND_LIBRARY_PREFIXES "${CMAKE_FIND_LIBRARY_PREFIXES}") # The MAK RTI has the "lib" prefix even on Windows. set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") find_library(RTI_LIBRARY NAMES RTI RTI-NG PATHS ${RTI_POSSIBLE_DIRS} PATH_SUFFIXES lib DOC "The RTI Library") if (RTI_LIBRARY) set(RTI_LIBRARIES ${RTI_LIBRARY}) RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "RTI library found: ${RTI_LIBRARY}") else () RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "RTI library NOT found") endif () find_library(RTI_FEDTIME_LIBRARY NAMES FedTime PATHS ${RTI_POSSIBLE_DIRS} PATH_SUFFIXES lib DOC "The FedTime Library") if (RTI_FEDTIME_LIBRARY) set(RTI_LIBRARIES ${RTI_LIBRARIES} ${RTI_FEDTIME_LIBRARY}) RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "RTI FedTime found: ${RTI_FEDTIME_LIBRARY}") endif () find_path(RTI_INCLUDE_DIR NAMES RTI.hh PATHS ${RTI_POSSIBLE_DIRS} PATH_SUFFIXES include DOC "The RTI Include Files") if (RTI_INCLUDE_DIR) RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "RTI headers found: ${RTI_INCLUDE_DIR}") else () RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "RTI headers NOT found") endif () # Set the modified system variables back to the original value. set(CMAKE_FIND_LIBRARY_PREFIXES "${RTI_OLD_FIND_LIBRARY_PREFIXES}") include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(RTI DEFAULT_MSG RTI_LIBRARY RTI_INCLUDE_DIR) # $Id$ cmake-2.8.12.2/Modules/FindRuby.cmake000644 000765 000024 00000024072 12266011634 017777 0ustar00kitwarestaff000000 000000 # - Find Ruby # This module finds if Ruby is installed and determines where the include files # and libraries are. Ruby 1.8 and 1.9 are supported. # # The minimum required version of Ruby can be specified using the # standard syntax, e.g. find_package(Ruby 1.8) # # It also determines what the name of the library is. This # code sets the following variables: # # RUBY_EXECUTABLE = full path to the ruby binary # RUBY_INCLUDE_DIRS = include dirs to be used when using the ruby library # RUBY_LIBRARY = full path to the ruby library # RUBY_VERSION = the version of ruby which was found, e.g. "1.8.7" # RUBY_FOUND = set to true if ruby ws found successfully # # RUBY_INCLUDE_PATH = same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2008-2009 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` # RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` # RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` # RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` # RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` # uncomment the following line to get debug output for this file # set(_RUBY_DEBUG_OUTPUT TRUE) # Determine the list of possible names of the ruby executable depending # on which version of ruby is required set(_RUBY_POSSIBLE_EXECUTABLE_NAMES ruby) # if 1.9 is required, don't look for ruby18 and ruby1.8, default to version 1.8 if(Ruby_FIND_VERSION_MAJOR AND Ruby_FIND_VERSION_MINOR) set(Ruby_FIND_VERSION_SHORT_NODOT "${Ruby_FIND_VERSION_MAJOR}${RUBY_FIND_VERSION_MINOR}") # we can't construct that if only major version is given set(_RUBY_POSSIBLE_EXECUTABLE_NAMES ruby${Ruby_FIND_VERSION_MAJOR}.${Ruby_FIND_VERSION_MINOR} ruby${Ruby_FIND_VERSION_MAJOR}${Ruby_FIND_VERSION_MINOR} ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}) else() set(Ruby_FIND_VERSION_SHORT_NODOT "18") endif() if(NOT Ruby_FIND_VERSION_EXACT) list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.9 ruby19) # if we want a version below 1.9, also look for ruby 1.8 if("${Ruby_FIND_VERSION_SHORT_NODOT}" VERSION_LESS "19") list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.8 ruby18) endif() list(REMOVE_DUPLICATES _RUBY_POSSIBLE_EXECUTABLE_NAMES) endif() find_program(RUBY_EXECUTABLE NAMES ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}) if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR) function(_RUBY_CONFIG_VAR RBVAR OUTVAR) execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['${RBVAR}']" RESULT_VARIABLE _RUBY_SUCCESS OUTPUT_VARIABLE _RUBY_OUTPUT ERROR_QUIET) if(_RUBY_SUCCESS OR NOT _RUBY_OUTPUT) execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['${RBVAR}']" RESULT_VARIABLE _RUBY_SUCCESS OUTPUT_VARIABLE _RUBY_OUTPUT ERROR_QUIET) endif() set(${OUTVAR} "${_RUBY_OUTPUT}" PARENT_SCOPE) endfunction() # query the ruby version _RUBY_CONFIG_VAR("MAJOR" RUBY_VERSION_MAJOR) _RUBY_CONFIG_VAR("MINOR" RUBY_VERSION_MINOR) _RUBY_CONFIG_VAR("TEENY" RUBY_VERSION_PATCH) # query the different directories _RUBY_CONFIG_VAR("archdir" RUBY_ARCH_DIR) _RUBY_CONFIG_VAR("arch" RUBY_ARCH) _RUBY_CONFIG_VAR("rubyhdrdir" RUBY_HDR_DIR) _RUBY_CONFIG_VAR("libdir" RUBY_POSSIBLE_LIB_DIR) _RUBY_CONFIG_VAR("rubylibdir" RUBY_RUBY_LIB_DIR) # site_ruby _RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR) _RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR) # vendor_ruby available ? execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'" OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET) if(RUBY_HAS_VENDOR_RUBY) _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR) _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR) endif() # save the results in the cache so we don't have to run ruby the next time again set(RUBY_VERSION_MAJOR ${RUBY_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE) set(RUBY_VERSION_MINOR ${RUBY_VERSION_MINOR} CACHE PATH "The Ruby minor version" FORCE) set(RUBY_VERSION_PATCH ${RUBY_VERSION_PATCH} CACHE PATH "The Ruby patch version" FORCE) set(RUBY_ARCH_DIR ${RUBY_ARCH_DIR} CACHE PATH "The Ruby arch dir" FORCE) set(RUBY_HDR_DIR ${RUBY_HDR_DIR} CACHE PATH "The Ruby header dir (1.9)" FORCE) set(RUBY_POSSIBLE_LIB_DIR ${RUBY_POSSIBLE_LIB_DIR} CACHE PATH "The Ruby lib dir" FORCE) set(RUBY_RUBY_LIB_DIR ${RUBY_RUBY_LIB_DIR} CACHE PATH "The Ruby ruby-lib dir" FORCE) set(RUBY_SITEARCH_DIR ${RUBY_SITEARCH_DIR} CACHE PATH "The Ruby site arch dir" FORCE) set(RUBY_SITELIB_DIR ${RUBY_SITELIB_DIR} CACHE PATH "The Ruby site lib dir" FORCE) set(RUBY_HAS_VENDOR_RUBY ${RUBY_HAS_VENDOR_RUBY} CACHE BOOL "Vendor Ruby is available" FORCE) set(RUBY_VENDORARCH_DIR ${RUBY_VENDORARCH_DIR} CACHE PATH "The Ruby vendor arch dir" FORCE) set(RUBY_VENDORLIB_DIR ${RUBY_VENDORLIB_DIR} CACHE PATH "The Ruby vendor lib dir" FORCE) mark_as_advanced( RUBY_ARCH_DIR RUBY_ARCH RUBY_HDR_DIR RUBY_POSSIBLE_LIB_DIR RUBY_RUBY_LIB_DIR RUBY_SITEARCH_DIR RUBY_SITELIB_DIR RUBY_HAS_VENDOR_RUBY RUBY_VENDORARCH_DIR RUBY_VENDORLIB_DIR RUBY_VERSION_MAJOR RUBY_VERSION_MINOR RUBY_VERSION_PATCH ) endif() # In case RUBY_EXECUTABLE could not be executed (e.g. cross compiling) # try to detect which version we found. This is not too good. if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR) # by default assume 1.8.0 set(RUBY_VERSION_MAJOR 1) set(RUBY_VERSION_MINOR 8) set(RUBY_VERSION_PATCH 0) # check whether we found 1.9.x if(${RUBY_EXECUTABLE} MATCHES "ruby1.?9" OR RUBY_HDR_DIR) set(RUBY_VERSION_MAJOR 1) set(RUBY_VERSION_MINOR 9) endif() endif() if(RUBY_VERSION_MAJOR) set(RUBY_VERSION "${RUBY_VERSION_MAJOR}.${RUBY_VERSION_MINOR}.${RUBY_VERSION_PATCH}") set(_RUBY_VERSION_SHORT "${RUBY_VERSION_MAJOR}.${RUBY_VERSION_MINOR}") set(_RUBY_VERSION_SHORT_NODOT "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}") set(_RUBY_NODOT_VERSION "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}${RUBY_VERSION_PATCH}") endif() find_path(RUBY_INCLUDE_DIR NAMES ruby.h HINTS ${RUBY_HDR_DIR} ${RUBY_ARCH_DIR} /usr/lib/ruby/${_RUBY_VERSION_SHORT}/i586-linux-gnu/ ) set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIR} ) # if ruby > 1.8 is required or if ruby > 1.8 was found, search for the config.h dir if( "${Ruby_FIND_VERSION_SHORT_NODOT}" GREATER 18 OR "${_RUBY_VERSION_SHORT_NODOT}" GREATER 18 OR RUBY_HDR_DIR) find_path(RUBY_CONFIG_INCLUDE_DIR NAMES ruby/config.h config.h HINTS ${RUBY_HDR_DIR}/${RUBY_ARCH} ${RUBY_ARCH_DIR} ) set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIRS} ${RUBY_CONFIG_INCLUDE_DIR} ) endif() # Determine the list of possible names for the ruby library set(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT} ruby${_RUBY_VERSION_SHORT_NODOT} ruby-${_RUBY_VERSION_SHORT} ruby-${RUBY_VERSION}) if(WIN32) set( _RUBY_MSVC_RUNTIME "" ) if( MSVC60 ) set( _RUBY_MSVC_RUNTIME "60" ) endif() if( MSVC70 ) set( _RUBY_MSVC_RUNTIME "70" ) endif() if( MSVC71 ) set( _RUBY_MSVC_RUNTIME "71" ) endif() if( MSVC80 ) set( _RUBY_MSVC_RUNTIME "80" ) endif() if( MSVC90 ) set( _RUBY_MSVC_RUNTIME "90" ) endif() list(APPEND _RUBY_POSSIBLE_LIB_NAMES "msvcr${_RUBY_MSVC_RUNTIME}-ruby${_RUBY_NODOT_VERSION}" "msvcr${_RUBY_MSVC_RUNTIME}-ruby${_RUBY_NODOT_VERSION}-static" "msvcrt-ruby${_RUBY_NODOT_VERSION}" "msvcrt-ruby${_RUBY_NODOT_VERSION}-static" ) endif() find_library(RUBY_LIBRARY NAMES ${_RUBY_POSSIBLE_LIB_NAMES} HINTS ${RUBY_POSSIBLE_LIB_DIR} ) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) set(_RUBY_REQUIRED_VARS RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY) if(_RUBY_VERSION_SHORT_NODOT GREATER 18) list(APPEND _RUBY_REQUIRED_VARS RUBY_CONFIG_INCLUDE_DIR) endif() if(_RUBY_DEBUG_OUTPUT) message(STATUS "--------FindRuby.cmake debug------------") message(STATUS "_RUBY_POSSIBLE_EXECUTABLE_NAMES: ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}") message(STATUS "_RUBY_POSSIBLE_LIB_NAMES: ${_RUBY_POSSIBLE_LIB_NAMES}") message(STATUS "RUBY_ARCH_DIR: ${RUBY_ARCH_DIR}") message(STATUS "RUBY_HDR_DIR: ${RUBY_HDR_DIR}") message(STATUS "RUBY_POSSIBLE_LIB_DIR: ${RUBY_POSSIBLE_LIB_DIR}") message(STATUS "Found RUBY_VERSION: \"${RUBY_VERSION}\" , short: \"${_RUBY_VERSION_SHORT}\", nodot: \"${_RUBY_VERSION_SHORT_NODOT}\"") message(STATUS "_RUBY_REQUIRED_VARS: ${_RUBY_REQUIRED_VARS}") message(STATUS "RUBY_EXECUTABLE: ${RUBY_EXECUTABLE}") message(STATUS "RUBY_LIBRARY: ${RUBY_LIBRARY}") message(STATUS "RUBY_INCLUDE_DIR: ${RUBY_INCLUDE_DIR}") message(STATUS "RUBY_CONFIG_INCLUDE_DIR: ${RUBY_CONFIG_INCLUDE_DIR}") message(STATUS "--------------------") endif() FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ruby REQUIRED_VARS ${_RUBY_REQUIRED_VARS} VERSION_VAR RUBY_VERSION ) mark_as_advanced( RUBY_EXECUTABLE RUBY_LIBRARY RUBY_INCLUDE_DIR RUBY_CONFIG_INCLUDE_DIR ) # Set some variables for compatibility with previous version of this file set(RUBY_POSSIBLE_LIB_PATH ${RUBY_POSSIBLE_LIB_DIR}) set(RUBY_RUBY_LIB_PATH ${RUBY_RUBY_LIB_DIR}) set(RUBY_INCLUDE_PATH ${RUBY_INCLUDE_DIRS}) cmake-2.8.12.2/Modules/FindSDL.cmake000644 000765 000024 00000016370 12266011634 017502 0ustar00kitwarestaff000000 000000 # - Locate SDL library # This module defines # SDL_LIBRARY, the name of the library to link against # SDL_FOUND, if false, do not try to link to SDL # SDL_INCLUDE_DIR, where to find SDL.h # SDL_VERSION_STRING, human-readable string containing the version of SDL # # This module responds to the the flag: # SDL_BUILDING_LIBRARY # If this is defined, then no SDL_main will be linked in because # only applications need main(). # Otherwise, it is assumed you are building an application and this # module will attempt to locate and set the the proper link flags # as part of the returned SDL_LIBRARY variable. # # Don't forget to include SDLmain.h and SDLmain.m your project for the # OS X framework based version. (Other versions link to -lSDLmain which # this module will try to find on your behalf.) Also for OS X, this # module will automatically add the -framework Cocoa on your behalf. # # # Additional Note: If you see an empty SDL_LIBRARY_TEMP in your configuration # and no SDL_LIBRARY, it means CMake did not find your SDL library # (SDL.dll, libsdl.so, SDL.framework, etc). # Set SDL_LIBRARY_TEMP to point to your SDL library, and configure again. # Similarly, if you see an empty SDLMAIN_LIBRARY, you should set this value # as appropriate. These values are used to generate the final SDL_LIBRARY # variable, but when these values are unset, SDL_LIBRARY does not get created. # # # $SDLDIR is an environment variable that would # correspond to the ./configure --prefix=$SDLDIR # used in building SDL. # l.e.galup 9-20-02 # # Modified by Eric Wing. # Added code to assist with automated building by using environmental variables # and providing a more controlled/consistent search behavior. # Added new modifications to recognize OS X frameworks and # additional Unix paths (FreeBSD, etc). # Also corrected the header search path to follow "proper" SDL guidelines. # Added a search for SDLmain which is needed by some platforms. # Added a search for threads which is needed by some platforms. # Added needed compile switches for MinGW. # # On OSX, this will prefer the Framework version (if found) over others. # People will have to manually change the cache values of # SDL_LIBRARY to override this selection or set the CMake environment # CMAKE_INCLUDE_PATH to modify the search paths. # # Note that the header path has changed from SDL/SDL.h to just SDL.h # This needed to change because "proper" SDL convention # is #include "SDL.h", not . This is done for portability # reasons because not all systems place things in SDL/ (see FreeBSD). #============================================================================= # Copyright 2003-2009 Kitware, Inc. # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(SDL_INCLUDE_DIR SDL.h HINTS ENV SDLDIR PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include ) # SDL-1.1 is the name used by FreeBSD ports... # don't confuse it for the version number. find_library(SDL_LIBRARY_TEMP NAMES SDL SDL-1.1 HINTS ENV SDLDIR PATH_SUFFIXES lib ) if(NOT SDL_BUILDING_LIBRARY) if(NOT ${SDL_INCLUDE_DIR} MATCHES ".framework") # Non-OS X framework versions expect you to also dynamically link to # SDLmain. This is mainly for Windows and OS X. Other (Unix) platforms # seem to provide SDLmain for compatibility even though they don't # necessarily need it. find_library(SDLMAIN_LIBRARY NAMES SDLmain SDLmain-1.1 HINTS ENV SDLDIR PATH_SUFFIXES lib PATHS /sw /opt/local /opt/csw /opt ) endif() endif() # SDL may require threads on your system. # The Apple build may not need an explicit flag because one of the # frameworks may already provide it. # But for non-OSX systems, I will use the CMake Threads package. if(NOT APPLE) find_package(Threads) endif() # MinGW needs an additional library, mwindows # It's total link flags should look like -lmingw32 -lSDLmain -lSDL -lmwindows # (Actually on second look, I think it only needs one of the m* libraries.) if(MINGW) set(MINGW32_LIBRARY mingw32 CACHE STRING "mwindows for MinGW") endif() if(SDL_LIBRARY_TEMP) # For SDLmain if(SDLMAIN_LIBRARY AND NOT SDL_BUILDING_LIBRARY) list(FIND SDL_LIBRARY_TEMP "${SDLMAIN_LIBRARY}" _SDL_MAIN_INDEX) if(_SDL_MAIN_INDEX EQUAL -1) set(SDL_LIBRARY_TEMP "${SDLMAIN_LIBRARY}" ${SDL_LIBRARY_TEMP}) endif() unset(_SDL_MAIN_INDEX) endif() # For OS X, SDL uses Cocoa as a backend so it must link to Cocoa. # CMake doesn't display the -framework Cocoa string in the UI even # though it actually is there if I modify a pre-used variable. # I think it has something to do with the CACHE STRING. # So I use a temporary variable until the end so I can set the # "real" variable in one-shot. if(APPLE) set(SDL_LIBRARY_TEMP ${SDL_LIBRARY_TEMP} "-framework Cocoa") endif() # For threads, as mentioned Apple doesn't need this. # In fact, there seems to be a problem if I used the Threads package # and try using this line, so I'm just skipping it entirely for OS X. if(NOT APPLE) set(SDL_LIBRARY_TEMP ${SDL_LIBRARY_TEMP} ${CMAKE_THREAD_LIBS_INIT}) endif() # For MinGW library if(MINGW) set(SDL_LIBRARY_TEMP ${MINGW32_LIBRARY} ${SDL_LIBRARY_TEMP}) endif() # Set the final string here so the GUI reflects the final state. set(SDL_LIBRARY ${SDL_LIBRARY_TEMP} CACHE STRING "Where the SDL Library can be found") # Set the temp variable to INTERNAL so it is not seen in the CMake GUI set(SDL_LIBRARY_TEMP "${SDL_LIBRARY_TEMP}" CACHE INTERNAL "") endif() if(SDL_INCLUDE_DIR AND EXISTS "${SDL_INCLUDE_DIR}/SDL_version.h") file(STRINGS "${SDL_INCLUDE_DIR}/SDL_version.h" SDL_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SDL_MAJOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_INCLUDE_DIR}/SDL_version.h" SDL_VERSION_MINOR_LINE REGEX "^#define[ \t]+SDL_MINOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_INCLUDE_DIR}/SDL_version.h" SDL_VERSION_PATCH_LINE REGEX "^#define[ \t]+SDL_PATCHLEVEL[ \t]+[0-9]+$") string(REGEX REPLACE "^#define[ \t]+SDL_MAJOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_VERSION_MAJOR "${SDL_VERSION_MAJOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_MINOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_VERSION_MINOR "${SDL_VERSION_MINOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_PATCHLEVEL[ \t]+([0-9]+)$" "\\1" SDL_VERSION_PATCH "${SDL_VERSION_PATCH_LINE}") set(SDL_VERSION_STRING ${SDL_VERSION_MAJOR}.${SDL_VERSION_MINOR}.${SDL_VERSION_PATCH}) unset(SDL_VERSION_MAJOR_LINE) unset(SDL_VERSION_MINOR_LINE) unset(SDL_VERSION_PATCH_LINE) unset(SDL_VERSION_MAJOR) unset(SDL_VERSION_MINOR) unset(SDL_VERSION_PATCH) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL REQUIRED_VARS SDL_LIBRARY SDL_INCLUDE_DIR VERSION_VAR SDL_VERSION_STRING) cmake-2.8.12.2/Modules/FindSDL_image.cmake000644 000765 000024 00000007612 12266011634 020643 0ustar00kitwarestaff000000 000000 # - Locate SDL_image library # This module defines: # SDL_IMAGE_LIBRARIES, the name of the library to link against # SDL_IMAGE_INCLUDE_DIRS, where to find the headers # SDL_IMAGE_FOUND, if false, do not try to link against # SDL_IMAGE_VERSION_STRING - human-readable string containing the version of SDL_image # # For backward compatiblity the following variables are also set: # SDLIMAGE_LIBRARY (same value as SDL_IMAGE_LIBRARIES) # SDLIMAGE_INCLUDE_DIR (same value as SDL_IMAGE_INCLUDE_DIRS) # SDLIMAGE_FOUND (same value as SDL_IMAGE_FOUND) # # $SDLDIR is an environment variable that would # correspond to the ./configure --prefix=$SDLDIR # used in building SDL. # # Created by Eric Wing. This was influenced by the FindSDL.cmake # module, but with modifications to recognize OS X frameworks and # additional Unix paths (FreeBSD, etc). #============================================================================= # Copyright 2005-2009 Kitware, Inc. # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT SDL_IMAGE_INCLUDE_DIR AND SDLIMAGE_INCLUDE_DIR) set(SDL_IMAGE_INCLUDE_DIR ${SDLIMAGE_INCLUDE_DIR} CACHE PATH "directory cache entry initialized from old variable name") endif() find_path(SDL_IMAGE_INCLUDE_DIR SDL_image.h HINTS ENV SDLIMAGEDIR ENV SDLDIR PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include ) if(NOT SDL_IMAGE_LIBRARY AND SDLIMAGE_LIBRARY) set(SDL_IMAGE_LIBRARY ${SDLIMAGE_LIBRARY} CACHE FILEPATH "file cache entry initialized from old variable name") endif() find_library(SDL_IMAGE_LIBRARY NAMES SDL_image HINTS ENV SDLIMAGEDIR ENV SDLDIR PATH_SUFFIXES lib ) if(SDL_IMAGE_INCLUDE_DIR AND EXISTS "${SDL_IMAGE_INCLUDE_DIR}/SDL_image.h") file(STRINGS "${SDL_IMAGE_INCLUDE_DIR}/SDL_image.h" SDL_IMAGE_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SDL_IMAGE_MAJOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_IMAGE_INCLUDE_DIR}/SDL_image.h" SDL_IMAGE_VERSION_MINOR_LINE REGEX "^#define[ \t]+SDL_IMAGE_MINOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_IMAGE_INCLUDE_DIR}/SDL_image.h" SDL_IMAGE_VERSION_PATCH_LINE REGEX "^#define[ \t]+SDL_IMAGE_PATCHLEVEL[ \t]+[0-9]+$") string(REGEX REPLACE "^#define[ \t]+SDL_IMAGE_MAJOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_IMAGE_VERSION_MAJOR "${SDL_IMAGE_VERSION_MAJOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_IMAGE_MINOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_IMAGE_VERSION_MINOR "${SDL_IMAGE_VERSION_MINOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_IMAGE_PATCHLEVEL[ \t]+([0-9]+)$" "\\1" SDL_IMAGE_VERSION_PATCH "${SDL_IMAGE_VERSION_PATCH_LINE}") set(SDL_IMAGE_VERSION_STRING ${SDL_IMAGE_VERSION_MAJOR}.${SDL_IMAGE_VERSION_MINOR}.${SDL_IMAGE_VERSION_PATCH}) unset(SDL_IMAGE_VERSION_MAJOR_LINE) unset(SDL_IMAGE_VERSION_MINOR_LINE) unset(SDL_IMAGE_VERSION_PATCH_LINE) unset(SDL_IMAGE_VERSION_MAJOR) unset(SDL_IMAGE_VERSION_MINOR) unset(SDL_IMAGE_VERSION_PATCH) endif() set(SDL_IMAGE_LIBRARIES ${SDL_IMAGE_LIBRARY}) set(SDL_IMAGE_INCLUDE_DIRS ${SDL_IMAGE_INCLUDE_DIR}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL_image REQUIRED_VARS SDL_IMAGE_LIBRARIES SDL_IMAGE_INCLUDE_DIRS VERSION_VAR SDL_IMAGE_VERSION_STRING) # for backward compatiblity set(SDLIMAGE_LIBRARY ${SDL_IMAGE_LIBRARIES}) set(SDLIMAGE_INCLUDE_DIR ${SDL_IMAGE_INCLUDE_DIRS}) set(SDLIMAGE_FOUND ${SDL_IMAGE_FOUND}) mark_as_advanced(SDL_IMAGE_LIBRARY SDL_IMAGE_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindSDL_mixer.cmake000644 000765 000024 00000007612 12266011634 020705 0ustar00kitwarestaff000000 000000 # - Locate SDL_mixer library # This module defines: # SDL_MIXER_LIBRARIES, the name of the library to link against # SDL_MIXER_INCLUDE_DIRS, where to find the headers # SDL_MIXER_FOUND, if false, do not try to link against # SDL_MIXER_VERSION_STRING - human-readable string containing the version of SDL_mixer # # For backward compatiblity the following variables are also set: # SDLMIXER_LIBRARY (same value as SDL_MIXER_LIBRARIES) # SDLMIXER_INCLUDE_DIR (same value as SDL_MIXER_INCLUDE_DIRS) # SDLMIXER_FOUND (same value as SDL_MIXER_FOUND) # # $SDLDIR is an environment variable that would # correspond to the ./configure --prefix=$SDLDIR # used in building SDL. # # Created by Eric Wing. This was influenced by the FindSDL.cmake # module, but with modifications to recognize OS X frameworks and # additional Unix paths (FreeBSD, etc). #============================================================================= # Copyright 2005-2009 Kitware, Inc. # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT SDL_MIXER_INCLUDE_DIR AND SDLMIXER_INCLUDE_DIR) set(SDL_MIXER_INCLUDE_DIR ${SDLMIXER_INCLUDE_DIR} CACHE PATH "directory cache entry initialized from old variable name") endif() find_path(SDL_MIXER_INCLUDE_DIR SDL_mixer.h HINTS ENV SDLMIXERDIR ENV SDLDIR PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include ) if(NOT SDL_MIXER_LIBRARY AND SDLMIXER_LIBRARY) set(SDL_MIXER_LIBRARY ${SDLMIXER_LIBRARY} CACHE FILEPATH "file cache entry initialized from old variable name") endif() find_library(SDL_MIXER_LIBRARY NAMES SDL_mixer HINTS ENV SDLMIXERDIR ENV SDLDIR PATH_SUFFIXES lib ) if(SDL_MIXER_INCLUDE_DIR AND EXISTS "${SDL_MIXER_INCLUDE_DIR}/SDL_mixer.h") file(STRINGS "${SDL_MIXER_INCLUDE_DIR}/SDL_mixer.h" SDL_MIXER_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SDL_MIXER_MAJOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_MIXER_INCLUDE_DIR}/SDL_mixer.h" SDL_MIXER_VERSION_MINOR_LINE REGEX "^#define[ \t]+SDL_MIXER_MINOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_MIXER_INCLUDE_DIR}/SDL_mixer.h" SDL_MIXER_VERSION_PATCH_LINE REGEX "^#define[ \t]+SDL_MIXER_PATCHLEVEL[ \t]+[0-9]+$") string(REGEX REPLACE "^#define[ \t]+SDL_MIXER_MAJOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_MIXER_VERSION_MAJOR "${SDL_MIXER_VERSION_MAJOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_MIXER_MINOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_MIXER_VERSION_MINOR "${SDL_MIXER_VERSION_MINOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_MIXER_PATCHLEVEL[ \t]+([0-9]+)$" "\\1" SDL_MIXER_VERSION_PATCH "${SDL_MIXER_VERSION_PATCH_LINE}") set(SDL_MIXER_VERSION_STRING ${SDL_MIXER_VERSION_MAJOR}.${SDL_MIXER_VERSION_MINOR}.${SDL_MIXER_VERSION_PATCH}) unset(SDL_MIXER_VERSION_MAJOR_LINE) unset(SDL_MIXER_VERSION_MINOR_LINE) unset(SDL_MIXER_VERSION_PATCH_LINE) unset(SDL_MIXER_VERSION_MAJOR) unset(SDL_MIXER_VERSION_MINOR) unset(SDL_MIXER_VERSION_PATCH) endif() set(SDL_MIXER_LIBRARIES ${SDL_MIXER_LIBRARY}) set(SDL_MIXER_INCLUDE_DIRS ${SDL_MIXER_INCLUDE_DIR}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL_mixer REQUIRED_VARS SDL_MIXER_LIBRARIES SDL_MIXER_INCLUDE_DIRS VERSION_VAR SDL_MIXER_VERSION_STRING) # for backward compatiblity set(SDLMIXER_LIBRARY ${SDL_MIXER_LIBRARIES}) set(SDLMIXER_INCLUDE_DIR ${SDL_MIXER_INCLUDE_DIRS}) set(SDLMIXER_FOUND ${SDL_MIXER_FOUND}) mark_as_advanced(SDL_MIXER_LIBRARY SDL_MIXER_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindSDL_net.cmake000644 000765 000024 00000007362 12266011634 020351 0ustar00kitwarestaff000000 000000 # - Locate SDL_net library # This module defines: # SDL_NET_LIBRARIES, the name of the library to link against # SDL_NET_INCLUDE_DIRS, where to find the headers # SDL_NET_FOUND, if false, do not try to link against # SDL_NET_VERSION_STRING - human-readable string containing the version of SDL_net # # For backward compatiblity the following variables are also set: # SDLNET_LIBRARY (same value as SDL_NET_LIBRARIES) # SDLNET_INCLUDE_DIR (same value as SDL_NET_INCLUDE_DIRS) # SDLNET_FOUND (same value as SDL_NET_FOUND) # # $SDLDIR is an environment variable that would # correspond to the ./configure --prefix=$SDLDIR # used in building SDL. # # Created by Eric Wing. This was influenced by the FindSDL.cmake # module, but with modifications to recognize OS X frameworks and # additional Unix paths (FreeBSD, etc). #============================================================================= # Copyright 2005-2009 Kitware, Inc. # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT SDL_NET_INCLUDE_DIR AND SDLNET_INCLUDE_DIR) set(SDL_NET_INCLUDE_DIR ${SDLNET_INCLUDE_DIR} CACHE PATH "directory cache entry initialized from old variable name") endif() find_path(SDL_NET_INCLUDE_DIR SDL_net.h HINTS ENV SDLNETDIR ENV SDLDIR PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include ) if(NOT SDL_NET_LIBRARY AND SDLNET_LIBRARY) set(SDL_NET_LIBRARY ${SDLNET_LIBRARY} CACHE FILEPATH "file cache entry initialized from old variable name") endif() find_library(SDL_NET_LIBRARY NAMES SDL_net HINTS ENV SDLNETDIR ENV SDLDIR PATH_SUFFIXES lib ) if(SDL_NET_INCLUDE_DIR AND EXISTS "${SDL_NET_INCLUDE_DIR}/SDL_net.h") file(STRINGS "${SDL_NET_INCLUDE_DIR}/SDL_net.h" SDL_NET_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SDL_NET_MAJOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_NET_INCLUDE_DIR}/SDL_net.h" SDL_NET_VERSION_MINOR_LINE REGEX "^#define[ \t]+SDL_NET_MINOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_NET_INCLUDE_DIR}/SDL_net.h" SDL_NET_VERSION_PATCH_LINE REGEX "^#define[ \t]+SDL_NET_PATCHLEVEL[ \t]+[0-9]+$") string(REGEX REPLACE "^#define[ \t]+SDL_NET_MAJOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_NET_VERSION_MAJOR "${SDL_NET_VERSION_MAJOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_NET_MINOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_NET_VERSION_MINOR "${SDL_NET_VERSION_MINOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_NET_PATCHLEVEL[ \t]+([0-9]+)$" "\\1" SDL_NET_VERSION_PATCH "${SDL_NET_VERSION_PATCH_LINE}") set(SDL_NET_VERSION_STRING ${SDL_NET_VERSION_MAJOR}.${SDL_NET_VERSION_MINOR}.${SDL_NET_VERSION_PATCH}) unset(SDL_NET_VERSION_MAJOR_LINE) unset(SDL_NET_VERSION_MINOR_LINE) unset(SDL_NET_VERSION_PATCH_LINE) unset(SDL_NET_VERSION_MAJOR) unset(SDL_NET_VERSION_MINOR) unset(SDL_NET_VERSION_PATCH) endif() set(SDL_NET_LIBRARIES ${SDL_NET_LIBRARY}) set(SDL_NET_INCLUDE_DIRS ${SDL_NET_INCLUDE_DIR}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL_net REQUIRED_VARS SDL_NET_LIBRARIES SDL_NET_INCLUDE_DIRS VERSION_VAR SDL_NET_VERSION_STRING) # for backward compatiblity set(SDLNET_LIBRARY ${SDL_NET_LIBRARIES}) set(SDLNET_INCLUDE_DIR ${SDL_NET_INCLUDE_DIRS}) set(SDLNET_FOUND ${SDL_NET_FOUND}) mark_as_advanced(SDL_NET_LIBRARY SDL_NET_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindSDL_sound.cmake000644 000765 000024 00000032760 12266011634 020713 0ustar00kitwarestaff000000 000000 # - Locates the SDL_sound library # # This module depends on SDL being found and # must be called AFTER FindSDL.cmake is called. # # This module defines # SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h # SDL_SOUND_FOUND, if false, do not try to link to SDL_sound # SDL_SOUND_LIBRARIES, this contains the list of libraries that you need # to link against. This is a read-only variable and is marked INTERNAL. # SDL_SOUND_EXTRAS, this is an optional variable for you to add your own # flags to SDL_SOUND_LIBRARIES. This is prepended to SDL_SOUND_LIBRARIES. # This is available mostly for cases this module failed to anticipate for # and you must add additional flags. This is marked as ADVANCED. # SDL_SOUND_VERSION_STRING, human-readable string containing the version of SDL_sound # # This module also defines (but you shouldn't need to use directly) # SDL_SOUND_LIBRARY, the name of just the SDL_sound library you would link # against. Use SDL_SOUND_LIBRARIES for you link instructions and not this one. # And might define the following as needed # MIKMOD_LIBRARY # MODPLUG_LIBRARY # OGG_LIBRARY # VORBIS_LIBRARY # SMPEG_LIBRARY # FLAC_LIBRARY # SPEEX_LIBRARY # # Typically, you should not use these variables directly, and you should use # SDL_SOUND_LIBRARIES which contains SDL_SOUND_LIBRARY and the other audio libraries # (if needed) to successfully compile on your system. # # Created by Eric Wing. # This module is a bit more complicated than the other FindSDL* family modules. # The reason is that SDL_sound can be compiled in a large variety of different ways # which are independent of platform. SDL_sound may dynamically link against other 3rd # party libraries to get additional codec support, such as Ogg Vorbis, SMPEG, ModPlug, # MikMod, FLAC, Speex, and potentially others. # Under some circumstances which I don't fully understand, # there seems to be a requirement # that dependent libraries of libraries you use must also be explicitly # linked against in order to successfully compile. SDL_sound does not currently # have any system in place to know how it was compiled. # So this CMake module does the hard work in trying to discover which 3rd party # libraries are required for building (if any). # This module uses a brute force approach to create a test program that uses SDL_sound, # and then tries to build it. If the build fails, it parses the error output for # known symbol names to figure out which libraries are needed. # # Responds to the $SDLDIR and $SDLSOUNDDIR environmental variable that would # correspond to the ./configure --prefix=$SDLDIR used in building SDL. # # On OSX, this will prefer the Framework version (if found) over others. # People will have to manually change the cache values of # SDL_LIBRARY to override this selectionor set the CMake environment # CMAKE_INCLUDE_PATH to modify the search paths. #============================================================================= # Copyright 2005-2009 Kitware, Inc. # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(SDL_SOUND_EXTRAS "" CACHE STRING "SDL_sound extra flags") mark_as_advanced(SDL_SOUND_EXTRAS) # Find SDL_sound.h find_path(SDL_SOUND_INCLUDE_DIR SDL_sound.h HINTS ENV SDLSOUNDDIR ENV SDLDIR PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include ) find_library(SDL_SOUND_LIBRARY NAMES SDL_sound HINTS ENV SDLSOUNDDIR ENV SDLDIR PATH_SUFFIXES lib ) if(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY) # CMake is giving me problems using TRY_COMPILE with the CMAKE_FLAGS # for the :STRING syntax if I have multiple values contained in a # single variable. This is a problem for the SDL_LIBRARY variable # because it does just that. When I feed this variable to the command, # only the first value gets the appropriate modifier (e.g. -I) and # the rest get dropped. # To get multiple single variables to work, I must separate them with a "\;" # I could go back and modify the FindSDL.cmake module, but that's kind of painful. # The solution would be to try something like: # set(SDL_TRY_COMPILE_LIBRARY_LIST "${SDL_TRY_COMPILE_LIBRARY_LIST}\;${CMAKE_THREAD_LIBS_INIT}") # Instead, it was suggested on the mailing list to write a temporary CMakeLists.txt # with a temporary test project and invoke that with TRY_COMPILE. # See message thread "Figuring out dependencies for a library in order to build" # 2005-07-16 # try_compile( # MY_RESULT # ${CMAKE_BINARY_DIR} # ${PROJECT_SOURCE_DIR}/DetermineSoundLibs.c # CMAKE_FLAGS # -DINCLUDE_DIRECTORIES:STRING=${SDL_INCLUDE_DIR}\;${SDL_SOUND_INCLUDE_DIR} # -DLINK_LIBRARIES:STRING=${SDL_SOUND_LIBRARY}\;${SDL_LIBRARY} # OUTPUT_VARIABLE MY_OUTPUT # ) # To minimize external dependencies, create a sdlsound test program # which will be used to figure out if additional link dependencies are # required for the link phase. file(WRITE ${PROJECT_BINARY_DIR}/CMakeTmp/DetermineSoundLibs.c "#include \"SDL_sound.h\" #include \"SDL.h\" int main(int argc, char* argv[]) { Sound_AudioInfo desired; Sound_Sample* sample; SDL_Init(0); Sound_Init(); /* This doesn't actually have to work, but Init() is a no-op * for some of the decoders, so this should force more symbols * to be pulled in. */ sample = Sound_NewSampleFromFile(argv[1], &desired, 4096); Sound_Quit(); SDL_Quit(); return 0; }" ) # Calling # target_link_libraries(DetermineSoundLibs "${SDL_SOUND_LIBRARY} ${SDL_LIBRARY}) # causes problems when SDL_LIBRARY looks like # /Library/Frameworks/SDL.framework;-framework Cocoa # The ;-framework Cocoa seems to be confusing CMake once the OS X # framework support was added. I was told that breaking up the list # would fix the problem. set(TMP_TRY_LIBS) foreach(lib ${SDL_SOUND_LIBRARY} ${SDL_LIBRARY}) set(TMP_TRY_LIBS "${TMP_TRY_LIBS} \"${lib}\"") endforeach() # message("TMP_TRY_LIBS ${TMP_TRY_LIBS}") # Write the CMakeLists.txt and test project # Weird, this is still sketchy. If I don't quote the variables # in the TARGET_LINK_LIBRARIES, I seem to loose everything # in the SDL_LIBRARY string after the "-framework". # But if I quote the stuff in INCLUDE_DIRECTORIES, it doesn't work. file(WRITE ${PROJECT_BINARY_DIR}/CMakeTmp/CMakeLists.txt "cmake_minimum_required(VERSION 2.8) project(DetermineSoundLibs) include_directories(${SDL_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR}) add_executable(DetermineSoundLibs DetermineSoundLibs.c) target_link_libraries(DetermineSoundLibs ${TMP_TRY_LIBS})" ) try_compile( MY_RESULT ${PROJECT_BINARY_DIR}/CMakeTmp ${PROJECT_BINARY_DIR}/CMakeTmp DetermineSoundLibs OUTPUT_VARIABLE MY_OUTPUT ) # message("${MY_RESULT}") # message(${MY_OUTPUT}) if(NOT MY_RESULT) # I expect that MPGLIB, VOC, WAV, AIFF, and SHN are compiled in statically. # I think Timidity is also compiled in statically. # I've never had to explcitly link against Quicktime, so I'll skip that for now. set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARY}) # Find MikMod if("${MY_OUTPUT}" MATCHES "MikMod_") find_library(MIKMOD_LIBRARY NAMES libmikmod-coreaudio mikmod PATHS ENV MIKMODDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(MIKMOD_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${MIKMOD_LIBRARY}) endif(MIKMOD_LIBRARY) endif("${MY_OUTPUT}" MATCHES "MikMod_") # Find ModPlug if("${MY_OUTPUT}" MATCHES "MODPLUG_") find_library(MODPLUG_LIBRARY NAMES modplug PATHS ENV MODPLUGDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(MODPLUG_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${MODPLUG_LIBRARY}) endif() endif() # Find Ogg and Vorbis if("${MY_OUTPUT}" MATCHES "ov_") find_library(VORBIS_LIBRARY NAMES vorbis Vorbis VORBIS PATHS ENV VORBISDIR ENV OGGDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(VORBIS_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${VORBIS_LIBRARY}) endif() find_library(OGG_LIBRARY NAMES ogg Ogg OGG PATHS ENV OGGDIR ENV VORBISDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(OGG_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${OGG_LIBRARY}) endif() endif() # Find SMPEG if("${MY_OUTPUT}" MATCHES "SMPEG_") find_library(SMPEG_LIBRARY NAMES smpeg SMPEG Smpeg SMpeg PATHS ENV SMPEGDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(SMPEG_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${SMPEG_LIBRARY}) endif() endif() # Find FLAC if("${MY_OUTPUT}" MATCHES "FLAC_") find_library(FLAC_LIBRARY NAMES flac FLAC PATHS ENV FLACDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(FLAC_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${FLAC_LIBRARY}) endif() endif() # Hmmm...Speex seems to depend on Ogg. This might be a problem if # the TRY_COMPILE attempt gets blocked at SPEEX before it can pull # in the Ogg symbols. I'm not sure if I should duplicate the ogg stuff # above for here or if two ogg entries will screw up things. if("${MY_OUTPUT}" MATCHES "speex_") find_library(SPEEX_LIBRARY NAMES speex SPEEX PATHS ENV SPEEXDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(SPEEX_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${SPEEX_LIBRARY}) endif() # Find OGG (needed for Speex) # We might have already found Ogg for Vorbis, so skip it if so. if(NOT OGG_LIBRARY) find_library(OGG_LIBRARY NAMES ogg Ogg OGG PATHS ENV OGGDIR ENV VORBISDIR ENV SPEEXDIR ENV SDLSOUNDDIR ENV SDLDIR /sw /opt/local /opt/csw /opt PATH_SUFFIXES lib ) if(OGG_LIBRARY) set(SDL_SOUND_LIBRARIES_TMP ${SDL_SOUND_LIBRARIES_TMP} ${OGG_LIBRARY}) endif() endif() endif() else() set(SDL_SOUND_LIBRARIES "${SDL_SOUND_EXTRAS} ${SDL_SOUND_LIBRARY}" CACHE INTERNAL "SDL_sound and dependent libraries") endif() set(SDL_SOUND_LIBRARIES "${SDL_SOUND_EXTRAS} ${SDL_SOUND_LIBRARIES_TMP}" CACHE INTERNAL "SDL_sound and dependent libraries") endif() if(SDL_SOUND_INCLUDE_DIR AND EXISTS "${SDL_SOUND_INCLUDE_DIR}/SDL_sound.h") file(STRINGS "${SDL_SOUND_INCLUDE_DIR}/SDL_sound.h" SDL_SOUND_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SOUND_VER_MAJOR[ \t]+[0-9]+$") file(STRINGS "${SDL_SOUND_INCLUDE_DIR}/SDL_sound.h" SDL_SOUND_VERSION_MINOR_LINE REGEX "^#define[ \t]+SOUND_VER_MINOR[ \t]+[0-9]+$") file(STRINGS "${SDL_SOUND_INCLUDE_DIR}/SDL_sound.h" SDL_SOUND_VERSION_PATCH_LINE REGEX "^#define[ \t]+SOUND_VER_PATCH[ \t]+[0-9]+$") string(REGEX REPLACE "^#define[ \t]+SOUND_VER_MAJOR[ \t]+([0-9]+)$" "\\1" SDL_SOUND_VERSION_MAJOR "${SDL_SOUND_VERSION_MAJOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SOUND_VER_MINOR[ \t]+([0-9]+)$" "\\1" SDL_SOUND_VERSION_MINOR "${SDL_SOUND_VERSION_MINOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SOUND_VER_PATCH[ \t]+([0-9]+)$" "\\1" SDL_SOUND_VERSION_PATCH "${SDL_SOUND_VERSION_PATCH_LINE}") set(SDL_SOUND_VERSION_STRING ${SDL_SOUND_VERSION_MAJOR}.${SDL_SOUND_VERSION_MINOR}.${SDL_SOUND_VERSION_PATCH}) unset(SDL_SOUND_VERSION_MAJOR_LINE) unset(SDL_SOUND_VERSION_MINOR_LINE) unset(SDL_SOUND_VERSION_PATCH_LINE) unset(SDL_SOUND_VERSION_MAJOR) unset(SDL_SOUND_VERSION_MINOR) unset(SDL_SOUND_VERSION_PATCH) endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL_sound REQUIRED_VARS SDL_SOUND_LIBRARY SDL_SOUND_INCLUDE_DIR VERSION_VAR SDL_SOUND_VERSION_STRING) cmake-2.8.12.2/Modules/FindSDL_ttf.cmake000644 000765 000024 00000007362 12266011634 020360 0ustar00kitwarestaff000000 000000 # - Locate SDL_ttf library # This module defines: # SDL_TTF_LIBRARIES, the name of the library to link against # SDL_TTF_INCLUDE_DIRS, where to find the headers # SDL_TTF_FOUND, if false, do not try to link against # SDL_TTF_VERSION_STRING - human-readable string containing the version of SDL_ttf # # For backward compatiblity the following variables are also set: # SDLTTF_LIBRARY (same value as SDL_TTF_LIBRARIES) # SDLTTF_INCLUDE_DIR (same value as SDL_TTF_INCLUDE_DIRS) # SDLTTF_FOUND (same value as SDL_TTF_FOUND) # # $SDLDIR is an environment variable that would # correspond to the ./configure --prefix=$SDLDIR # used in building SDL. # # Created by Eric Wing. This was influenced by the FindSDL.cmake # module, but with modifications to recognize OS X frameworks and # additional Unix paths (FreeBSD, etc). #============================================================================= # Copyright 2005-2009 Kitware, Inc. # Copyright 2012 Benjamin Eikel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(NOT SDL_TTF_INCLUDE_DIR AND SDLTTF_INCLUDE_DIR) set(SDL_TTF_INCLUDE_DIR ${SDLTTF_INCLUDE_DIR} CACHE PATH "directory cache entry initialized from old variable name") endif() find_path(SDL_TTF_INCLUDE_DIR SDL_ttf.h HINTS ENV SDLTTFDIR ENV SDLDIR PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include ) if(NOT SDL_TTF_LIBRARY AND SDLTTF_LIBRARY) set(SDL_TTF_LIBRARY ${SDLTTF_LIBRARY} CACHE FILEPATH "file cache entry initialized from old variable name") endif() find_library(SDL_TTF_LIBRARY NAMES SDL_ttf HINTS ENV SDLTTFDIR ENV SDLDIR PATH_SUFFIXES lib ) if(SDL_TTF_INCLUDE_DIR AND EXISTS "${SDL_TTF_INCLUDE_DIR}/SDL_ttf.h") file(STRINGS "${SDL_TTF_INCLUDE_DIR}/SDL_ttf.h" SDL_TTF_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SDL_TTF_MAJOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_TTF_INCLUDE_DIR}/SDL_ttf.h" SDL_TTF_VERSION_MINOR_LINE REGEX "^#define[ \t]+SDL_TTF_MINOR_VERSION[ \t]+[0-9]+$") file(STRINGS "${SDL_TTF_INCLUDE_DIR}/SDL_ttf.h" SDL_TTF_VERSION_PATCH_LINE REGEX "^#define[ \t]+SDL_TTF_PATCHLEVEL[ \t]+[0-9]+$") string(REGEX REPLACE "^#define[ \t]+SDL_TTF_MAJOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_TTF_VERSION_MAJOR "${SDL_TTF_VERSION_MAJOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_TTF_MINOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL_TTF_VERSION_MINOR "${SDL_TTF_VERSION_MINOR_LINE}") string(REGEX REPLACE "^#define[ \t]+SDL_TTF_PATCHLEVEL[ \t]+([0-9]+)$" "\\1" SDL_TTF_VERSION_PATCH "${SDL_TTF_VERSION_PATCH_LINE}") set(SDL_TTF_VERSION_STRING ${SDL_TTF_VERSION_MAJOR}.${SDL_TTF_VERSION_MINOR}.${SDL_TTF_VERSION_PATCH}) unset(SDL_TTF_VERSION_MAJOR_LINE) unset(SDL_TTF_VERSION_MINOR_LINE) unset(SDL_TTF_VERSION_PATCH_LINE) unset(SDL_TTF_VERSION_MAJOR) unset(SDL_TTF_VERSION_MINOR) unset(SDL_TTF_VERSION_PATCH) endif() set(SDL_TTF_LIBRARIES ${SDL_TTF_LIBRARY}) set(SDL_TTF_INCLUDE_DIRS ${SDL_TTF_INCLUDE_DIR}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL_ttf REQUIRED_VARS SDL_TTF_LIBRARIES SDL_TTF_INCLUDE_DIRS VERSION_VAR SDL_TTF_VERSION_STRING) # for backward compatiblity set(SDLTTF_LIBRARY ${SDL_TTF_LIBRARIES}) set(SDLTTF_INCLUDE_DIR ${SDL_TTF_INCLUDE_DIRS}) set(SDLTTF_FOUND ${SDL_TTF_FOUND}) mark_as_advanced(SDL_TTF_LIBRARY SDL_TTF_INCLUDE_DIR) cmake-2.8.12.2/Modules/FindSelfPackers.cmake000644 000765 000024 00000003535 12266011634 021261 0ustar00kitwarestaff000000 000000 # - Find upx # This module looks for some executable packers (i.e. software that # compress executables or shared libs into on-the-fly self-extracting # executables or shared libs. # Examples: # UPX: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake) find_program(SELF_PACKER_FOR_EXECUTABLE upx ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) find_program(SELF_PACKER_FOR_SHARED_LIB upx ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( SELF_PACKER_FOR_EXECUTABLE SELF_PACKER_FOR_SHARED_LIB ) # # Set flags # if (SELF_PACKER_FOR_EXECUTABLE MATCHES "upx") set (SELF_PACKER_FOR_EXECUTABLE_FLAGS "-q" CACHE STRING "Flags for the executable self-packer.") else () set (SELF_PACKER_FOR_EXECUTABLE_FLAGS "" CACHE STRING "Flags for the executable self-packer.") endif () if (SELF_PACKER_FOR_SHARED_LIB MATCHES "upx") set (SELF_PACKER_FOR_SHARED_LIB_FLAGS "-q" CACHE STRING "Flags for the shared lib self-packer.") else () set (SELF_PACKER_FOR_SHARED_LIB_FLAGS "" CACHE STRING "Flags for the shared lib self-packer.") endif () mark_as_advanced( SELF_PACKER_FOR_EXECUTABLE_FLAGS SELF_PACKER_FOR_SHARED_LIB_FLAGS ) cmake-2.8.12.2/Modules/FindSquish.cmake000644 000765 000024 00000024221 12266011634 020326 0ustar00kitwarestaff000000 000000 # # ---- Find Squish # This module can be used to find Squish. Currently Squish versions 3 and 4 are supported. # # ---- Variables and Macros # SQUISH_FOUND If false, don't try to use Squish # SQUISH_VERSION The full version of Squish found # SQUISH_VERSION_MAJOR The major version of Squish found # SQUISH_VERSION_MINOR The minor version of Squish found # SQUISH_VERSION_PATCH The patch version of Squish found # # SQUISH_INSTALL_DIR The Squish installation directory (containing bin, lib, etc) # SQUISH_SERVER_EXECUTABLE The squishserver executable # SQUISH_CLIENT_EXECUTABLE The squishrunner executable # # SQUISH_INSTALL_DIR_FOUND Was the install directory found? # SQUISH_SERVER_EXECUTABLE_FOUND Was the server executable found? # SQUISH_CLIENT_EXECUTABLE_FOUND Was the client executable found? # # It provides the function squish_v4_add_test() for adding a squish test to cmake using Squish 4.x: # # squish_v4_add_test(cmakeTestName AUT targetName SUITE suiteName TEST squishTestName # [SETTINGSGROUP group] [PRE_COMMAND command] [POST_COMMAND command] ) # # The arguments have the following meaning: # cmakeTestName: this will be used as the first argument for add_test() # AUT targetName: the name of the cmake target which will be used as AUT, i.e. the # executable which will be tested. # SUITE suiteName: this is either the full path to the squish suite, or just the # last directory of the suite, i.e. the suite name. In this case # the CMakeLists.txt which calls squish_add_test() must be located # in the parent directory of the suite directory. # TEST squishTestName: the name of the squish test, i.e. the name of the subdirectory # of the test inside the suite directory. # SETTINGSGROUP group: if specified, the given settings group will be used for executing the test. # If not specified, the groupname will be "CTest_" # PRE_COMMAND command: if specified, the given command will be executed before starting the squish test. # POST_COMMAND command: same as PRE_COMMAND, but after the squish test has been executed. # # ---- Typical Use # enable_testing() # find_package(Squish 4.0) # if (SQUISH_FOUND) # squish_v4_add_test(myTestName AUT myApp SUITE ${CMAKE_SOURCE_DIR}/tests/mySuite TEST someSquishTest SETTINGSGROUP myGroup ) # endif () # # # For users of Squish version 3.x the macro squish_v3_add_test() is provided: # squish_v3_add_test(testName applicationUnderTest testCase envVars testWrapper) # Use this macro to add a test using Squish 3.x. # # ---- Typical Use # enable_testing() # find_package(Squish) # if (SQUISH_FOUND) # squish_v3_add_test(myTestName myApplication testCase envVars testWrapper) # endif () # # macro SQUISH_ADD_TEST(testName applicationUnderTest testCase envVars testWrapper) # This is deprecated. Use SQUISH_V3_ADD_TEST() if you are using Squish 3.x instead. #============================================================================= # Copyright 2008-2009 Kitware, Inc. # Copyright 2012 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CMakeParseArguments) set(SQUISH_INSTALL_DIR_STRING "Directory containing the bin, doc, and lib directories for Squish; this should be the root of the installation directory.") set(SQUISH_SERVER_EXECUTABLE_STRING "The squishserver executable program.") set(SQUISH_CLIENT_EXECUTABLE_STRING "The squishclient executable program.") # Search only if the location is not already known. if(NOT SQUISH_INSTALL_DIR) # Get the system search path as a list. file(TO_CMAKE_PATH "$ENV{PATH}" SQUISH_INSTALL_DIR_SEARCH2) # Construct a set of paths relative to the system search path. set(SQUISH_INSTALL_DIR_SEARCH "") foreach(dir ${SQUISH_INSTALL_DIR_SEARCH2}) set(SQUISH_INSTALL_DIR_SEARCH ${SQUISH_INSTALL_DIR_SEARCH} "${dir}/../lib/fltk") endforeach() string(REPLACE "//" "/" SQUISH_INSTALL_DIR_SEARCH "${SQUISH_INSTALL_DIR_SEARCH}") # Look for an installation find_path(SQUISH_INSTALL_DIR bin/squishrunner HINTS # Look for an environment variable SQUISH_INSTALL_DIR. ENV SQUISH_INSTALL_DIR # Look in places relative to the system executable search path. ${SQUISH_INSTALL_DIR_SEARCH} # Look in standard UNIX install locations. #/usr/local/squish DOC "The ${SQUISH_INSTALL_DIR_STRING}" ) endif() # search for the executables if(SQUISH_INSTALL_DIR) set(SQUISH_INSTALL_DIR_FOUND 1) # find the client program if(NOT SQUISH_CLIENT_EXECUTABLE) find_program(SQUISH_CLIENT_EXECUTABLE ${SQUISH_INSTALL_DIR}/bin/squishrunner${CMAKE_EXECUTABLE_SUFFIX} DOC "The ${SQUISH_CLIENT_EXECUTABLE_STRING}") endif() # find the server program if(NOT SQUISH_SERVER_EXECUTABLE) find_program(SQUISH_SERVER_EXECUTABLE ${SQUISH_INSTALL_DIR}/bin/squishserver${CMAKE_EXECUTABLE_SUFFIX} DOC "The ${SQUISH_SERVER_EXECUTABLE_STRING}") endif() else() set(SQUISH_INSTALL_DIR_FOUND 0) endif() set(SQUISH_VERSION) set(SQUISH_VERSION_MAJOR ) set(SQUISH_VERSION_MINOR ) set(SQUISH_VERSION_PATCH ) # record if executables are set if(SQUISH_CLIENT_EXECUTABLE) set(SQUISH_CLIENT_EXECUTABLE_FOUND 1) execute_process(COMMAND "${SQUISH_CLIENT_EXECUTABLE}" --version OUTPUT_VARIABLE _squishVersionOutput ERROR_QUIET ) if("${_squishVersionOutput}" MATCHES "([0-9]+)\\.([0-9]+)\\.([0-9]+).*$") set(SQUISH_VERSION_MAJOR "${CMAKE_MATCH_1}") set(SQUISH_VERSION_MINOR "${CMAKE_MATCH_2}") set(SQUISH_VERSION_PATCH "${CMAKE_MATCH_3}") set(SQUISH_VERSION "${SQUISH_VERSION_MAJOR}.${SQUISH_VERSION_MINOR}.${SQUISH_VERSION_PATCH}" ) endif() else() set(SQUISH_CLIENT_EXECUTABLE_FOUND 0) endif() if(SQUISH_SERVER_EXECUTABLE) set(SQUISH_SERVER_EXECUTABLE_FOUND 1) else() set(SQUISH_SERVER_EXECUTABLE_FOUND 0) endif() # record if Squish was found include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Squish REQUIRED_VARS SQUISH_INSTALL_DIR SQUISH_CLIENT_EXECUTABLE SQUISH_SERVER_EXECUTABLE VERSION_VAR SQUISH_VERSION ) set(_SQUISH_MODULE_DIR "${CMAKE_CURRENT_LIST_DIR}") macro(SQUISH_V3_ADD_TEST testName testAUT testCase envVars testWraper) if("${SQUISH_VERSION_MAJOR}" STREQUAL "4") message(STATUS "Using squish_v3_add_test(), but SQUISH_VERSION_MAJOR is ${SQUISH_VERSION_MAJOR}.\nThis may not work.") endif() add_test(${testName} ${CMAKE_COMMAND} -V -VV "-Dsquish_version:STRING=3" "-Dsquish_aut:STRING=${testAUT}" "-Dsquish_server_executable:STRING=${SQUISH_SERVER_EXECUTABLE}" "-Dsquish_client_executable:STRING=${SQUISH_CLIENT_EXECUTABLE}" "-Dsquish_libqtdir:STRING=${QT_LIBRARY_DIR}" "-Dsquish_test_case:STRING=${testCase}" "-Dsquish_env_vars:STRING=${envVars}" "-Dsquish_wrapper:STRING=${testWraper}" "-Dsquish_module_dir:STRING=${_SQUISH_MODULE_DIR}" -P "${_SQUISH_MODULE_DIR}/SquishTestScript.cmake" ) set_tests_properties(${testName} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED;ERROR;FATAL" ) endmacro() macro(SQUISH_ADD_TEST) message(STATUS "Using squish_add_test() is deprecated, use squish_v3_add_test() instead.") squish_v3_add_test(${ARGV}) endmacro() function(SQUISH_V4_ADD_TEST testName) if(NOT "${SQUISH_VERSION_MAJOR}" STREQUAL "4") message(STATUS "Using squish_v4_add_test(), but SQUISH_VERSION_MAJOR is ${SQUISH_VERSION_MAJOR}.\nThis may not work.") endif() set(oneValueArgs AUT SUITE TEST SETTINGSGROUP PRE_COMMAND POST_COMMAND) cmake_parse_arguments(_SQUISH "" "${oneValueArgs}" "" ${ARGN} ) if(_SQUISH_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to SQUISH_ADD_TEST(): \"${_SQUISH_UNPARSED_ARGUMENTS}\"") endif() if(NOT _SQUISH_AUT) message(FATAL_ERROR "Required argument AUT not given for SQUISH_ADD_TEST()") endif() if(NOT _SQUISH_SUITE) message(FATAL_ERROR "Required argument SUITE not given for SQUISH_ADD_TEST()") endif() if(NOT _SQUISH_TEST) message(FATAL_ERROR "Required argument TEST not given for SQUISH_ADD_TEST()") endif() get_target_property(testAUTLocation ${_SQUISH_AUT} LOCATION) get_filename_component(testAUTDir ${testAUTLocation} PATH) get_filename_component(testAUTName ${testAUTLocation} NAME) get_filename_component(absTestSuite "${_SQUISH_SUITE}" ABSOLUTE) if(NOT EXISTS "${absTestSuite}") message(FATAL_ERROR "Could not find squish test suite ${_SQUISH_SUITE} (checked ${absTestSuite})") endif() set(absTestCase "${absTestSuite}/${_SQUISH_TEST}") if(NOT EXISTS "${absTestCase}") message(FATAL_ERROR "Could not find squish testcase ${_SQUISH_TEST} (checked ${absTestCase})") endif() if(NOT _SQUISH_SETTINGSGROUP) set(_SQUISH_SETTINGSGROUP "CTest_$ENV{LOGNAME}") endif() add_test(${testName} ${CMAKE_COMMAND} -V -VV "-Dsquish_version:STRING=4" "-Dsquish_aut:STRING=${testAUTName}" "-Dsquish_aut_dir:STRING=${testAUTDir}" "-Dsquish_server_executable:STRING=${SQUISH_SERVER_EXECUTABLE}" "-Dsquish_client_executable:STRING=${SQUISH_CLIENT_EXECUTABLE}" "-Dsquish_libqtdir:STRING=${QT_LIBRARY_DIR}" "-Dsquish_test_suite:STRING=${absTestSuite}" "-Dsquish_test_case:STRING=${_SQUISH_TEST}" "-Dsquish_env_vars:STRING=${envVars}" "-Dsquish_wrapper:STRING=${testWraper}" "-Dsquish_module_dir:STRING=${_SQUISH_MODULE_DIR}" "-Dsquish_settingsgroup:STRING=${_SQUISH_SETTINGSGROUP}" "-Dsquish_pre_command:STRING=${_SQUISH_PRE_COMMAND}" "-Dsquish_post_command:STRING=${_SQUISH_POST_COMMAND}" -P "${_SQUISH_MODULE_DIR}/SquishTestScript.cmake" ) set_tests_properties(${testName} PROPERTIES FAIL_REGULAR_EXPRESSION "FAIL;FAILED;ERROR;FATAL" ) endfunction() cmake-2.8.12.2/Modules/FindSubversion.cmake000644 000765 000024 00000013236 12266011634 021215 0ustar00kitwarestaff000000 000000 # - Extract information from a subversion working copy # The module defines the following variables: # Subversion_SVN_EXECUTABLE - path to svn command line client # Subversion_VERSION_SVN - version of svn command line client # Subversion_FOUND - true if the command line client was found # SUBVERSION_FOUND - same as Subversion_FOUND, set for compatiblity reasons # # The minimum required version of Subversion can be specified using the # standard syntax, e.g. find_package(Subversion 1.4) # # If the command line client executable is found two macros are defined: # Subversion_WC_INFO( ) # Subversion_WC_LOG( ) # Subversion_WC_INFO extracts information of a subversion working copy at # a given location. This macro defines the following variables: # _WC_URL - url of the repository (at ) # _WC_ROOT - root url of the repository # _WC_REVISION - current revision # _WC_LAST_CHANGED_AUTHOR - author of last commit # _WC_LAST_CHANGED_DATE - date of last commit # _WC_LAST_CHANGED_REV - revision of last commit # _WC_INFO - output of command `svn info ' # Subversion_WC_LOG retrieves the log message of the base revision of a # subversion working copy at a given location. This macro defines the # variable: # _LAST_CHANGED_LOG - last log of base revision # Example usage: # find_package(Subversion) # if(SUBVERSION_FOUND) # Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project) # message("Current revision is ${Project_WC_REVISION}") # Subversion_WC_LOG(${PROJECT_SOURCE_DIR} Project) # message("Last changed log is ${Project_LAST_CHANGED_LOG}") # endif() #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Tristan Carel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(Subversion_SVN_EXECUTABLE svn DOC "subversion command line client") mark_as_advanced(Subversion_SVN_EXECUTABLE) if(Subversion_SVN_EXECUTABLE) # the subversion commands should be executed with the C locale, otherwise # the message (which are parsed) may be translated, Alex set(_Subversion_SAVED_LC_ALL "$ENV{LC_ALL}") set(ENV{LC_ALL} C) execute_process(COMMAND ${Subversion_SVN_EXECUTABLE} --version OUTPUT_VARIABLE Subversion_VERSION_SVN OUTPUT_STRIP_TRAILING_WHITESPACE) # restore the previous LC_ALL set(ENV{LC_ALL} ${_Subversion_SAVED_LC_ALL}) string(REGEX REPLACE "^(.*\n)?svn, version ([.0-9]+).*" "\\2" Subversion_VERSION_SVN "${Subversion_VERSION_SVN}") macro(Subversion_WC_INFO dir prefix) # the subversion commands should be executed with the C locale, otherwise # the message (which are parsed) may be translated, Alex set(_Subversion_SAVED_LC_ALL "$ENV{LC_ALL}") set(ENV{LC_ALL} C) execute_process(COMMAND ${Subversion_SVN_EXECUTABLE} info ${dir} OUTPUT_VARIABLE ${prefix}_WC_INFO ERROR_VARIABLE Subversion_svn_info_error RESULT_VARIABLE Subversion_svn_info_result OUTPUT_STRIP_TRAILING_WHITESPACE) if(NOT ${Subversion_svn_info_result} EQUAL 0) message(SEND_ERROR "Command \"${Subversion_SVN_EXECUTABLE} info ${dir}\" failed with output:\n${Subversion_svn_info_error}") else() string(REGEX REPLACE "^(.*\n)?URL: ([^\n]+).*" "\\2" ${prefix}_WC_URL "${${prefix}_WC_INFO}") string(REGEX REPLACE "^(.*\n)?Repository Root: ([^\n]+).*" "\\2" ${prefix}_WC_ROOT "${${prefix}_WC_INFO}") string(REGEX REPLACE "^(.*\n)?Revision: ([^\n]+).*" "\\2" ${prefix}_WC_REVISION "${${prefix}_WC_INFO}") string(REGEX REPLACE "^(.*\n)?Last Changed Author: ([^\n]+).*" "\\2" ${prefix}_WC_LAST_CHANGED_AUTHOR "${${prefix}_WC_INFO}") string(REGEX REPLACE "^(.*\n)?Last Changed Rev: ([^\n]+).*" "\\2" ${prefix}_WC_LAST_CHANGED_REV "${${prefix}_WC_INFO}") string(REGEX REPLACE "^(.*\n)?Last Changed Date: ([^\n]+).*" "\\2" ${prefix}_WC_LAST_CHANGED_DATE "${${prefix}_WC_INFO}") endif() # restore the previous LC_ALL set(ENV{LC_ALL} ${_Subversion_SAVED_LC_ALL}) endmacro() macro(Subversion_WC_LOG dir prefix) # This macro can block if the certificate is not signed: # svn ask you to accept the certificate and wait for your answer # This macro requires a svn server network access (Internet most of the time) # and can also be slow since it access the svn server execute_process(COMMAND ${Subversion_SVN_EXECUTABLE} --non-interactive log -r BASE ${dir} OUTPUT_VARIABLE ${prefix}_LAST_CHANGED_LOG ERROR_VARIABLE Subversion_svn_log_error RESULT_VARIABLE Subversion_svn_log_result OUTPUT_STRIP_TRAILING_WHITESPACE) if(NOT ${Subversion_svn_log_result} EQUAL 0) message(SEND_ERROR "Command \"${Subversion_SVN_EXECUTABLE} log -r BASE ${dir}\" failed with output:\n${Subversion_svn_log_error}") endif() endmacro() endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Subversion REQUIRED_VARS Subversion_SVN_EXECUTABLE VERSION_VAR Subversion_VERSION_SVN ) # for compatibility set(Subversion_FOUND ${SUBVERSION_FOUND}) set(Subversion_SVN_FOUND ${SUBVERSION_FOUND}) cmake-2.8.12.2/Modules/FindSWIG.cmake000644 000765 000024 00000005622 12266011634 017627 0ustar00kitwarestaff000000 000000 # - Find SWIG # This module finds an installed SWIG. It sets the following variables: # SWIG_FOUND - set to true if SWIG is found # SWIG_DIR - the directory where swig is installed # SWIG_EXECUTABLE - the path to the swig executable # SWIG_VERSION - the version number of the swig executable # # The minimum required version of SWIG can be specified using the # standard syntax, e.g. find_package(SWIG 1.1) # # All information is collected from the SWIG_EXECUTABLE so the # version to be found can be changed from the command line by # means of setting SWIG_EXECUTABLE # #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2011 Mathieu Malaterre # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(SWIG_EXECUTABLE NAMES swig2.0 swig) if(SWIG_EXECUTABLE) execute_process(COMMAND ${SWIG_EXECUTABLE} -swiglib OUTPUT_VARIABLE SWIG_swiglib_output ERROR_VARIABLE SWIG_swiglib_error RESULT_VARIABLE SWIG_swiglib_result) if(SWIG_swiglib_result) if(SWIG_FIND_REQUIRED) message(SEND_ERROR "Command \"${SWIG_EXECUTABLE} -swiglib\" failed with output:\n${SWIG_swiglib_error}") else() message(STATUS "Command \"${SWIG_EXECUTABLE} -swiglib\" failed with output:\n${SWIG_swiglib_error}") endif() else() string(REGEX REPLACE "[\n\r]+" ";" SWIG_swiglib_output ${SWIG_swiglib_output}) # force the path to be computed each time in case SWIG_EXECUTABLE has changed. set(SWIG_DIR SWIG_DIR-NOTFOUND) find_path(SWIG_DIR swig.swg PATHS ${SWIG_swiglib_output}) if(SWIG_DIR) set(SWIG_USE_FILE ${CMAKE_ROOT}/Modules/UseSWIG.cmake) execute_process(COMMAND ${SWIG_EXECUTABLE} -version OUTPUT_VARIABLE SWIG_version_output ERROR_VARIABLE SWIG_version_output RESULT_VARIABLE SWIG_version_result) if(SWIG_version_result) message(SEND_ERROR "Command \"${SWIG_EXECUTABLE} -version\" failed with output:\n${SWIG_version_output}") else() string(REGEX REPLACE ".*SWIG Version[^0-9.]*\([0-9.]+\).*" "\\1" SWIG_version_output "${SWIG_version_output}") set(SWIG_VERSION ${SWIG_version_output} CACHE STRING "Swig version" FORCE) endif() endif() endif() endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(SWIG REQUIRED_VARS SWIG_EXECUTABLE SWIG_DIR VERSION_VAR SWIG_VERSION ) cmake-2.8.12.2/Modules/FindTCL.cmake000644 000765 000024 00000017735 12266011634 017510 0ustar00kitwarestaff000000 000000 # - Find Tcl includes and libraries. # This module finds if Tcl is installed and determines where the # include files and libraries are. It also determines what the name of # the library is. This code sets the following variables: # TCL_FOUND = Tcl was found # TK_FOUND = Tk was found # TCLTK_FOUND = Tcl and Tk were found # TCL_LIBRARY = path to Tcl library (tcl tcl80) # TCL_INCLUDE_PATH = path to where tcl.h can be found # TCL_TCLSH = path to tclsh binary (tcl tcl80) # TK_LIBRARY = path to Tk library (tk tk80 etc) # TK_INCLUDE_PATH = path to where tk.h can be found # TK_WISH = full path to the wish executable # # In an effort to remove some clutter and clear up some issues for people # who are not necessarily Tcl/Tk gurus/developpers, some variables were # moved or removed. Changes compared to CMake 2.4 are: # - 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. # 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 # 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 # confusion regarding the location of this file in an installed Tcl/Tk # tree anyway (see 8.5 for example). If you need the internal path at # this point it is safer you ask directly where the *source* tree is # and dig from there. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/CMakeFindFrameworks.cmake) include(${CMAKE_CURRENT_LIST_DIR}/FindTclsh.cmake) include(${CMAKE_CURRENT_LIST_DIR}/FindWish.cmake) if(TCLSH_VERSION_STRING) set(TCL_TCLSH_VERSION "${TCLSH_VERSION_STRING}") else() get_filename_component(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH) get_filename_component(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH) string(REGEX REPLACE "^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}") endif() get_filename_component(TK_WISH_PATH "${TK_WISH}" PATH) get_filename_component(TK_WISH_PATH_PARENT "${TK_WISH_PATH}" PATH) 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) 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 "^.*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 "^.*tk([0-9]\\.*[0-9]).*$" "\\1" TK_LIBRARY_VERSION "${TK_LIBRARY}") set(TCLTK_POSSIBLE_LIB_PATHS "${TCL_INCLUDE_PATH_PARENT}/lib" "${TK_INCLUDE_PATH_PARENT}/lib" "${TCL_LIBRARY_PATH}" "${TK_LIBRARY_PATH}" "${TCL_TCLSH_PATH_PARENT}/lib" "${TK_WISH_PATH_PARENT}/lib" /usr/local/lib/tcl/tcl8.5 /usr/local/lib/tcl/tk8.5 /usr/local/lib/tcl/tcl8.4 /usr/local/lib/tcl/tk8.4 ) if(WIN32) get_filename_component( 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" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib" "[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" ) endif() find_library(TCL_LIBRARY NAMES tcl tcl${TCL_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 tcl80 tcl8.0 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} ) find_library(TK_LIBRARY NAMES tk tk${TK_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 tk80 tk8.0 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} ) CMAKE_FIND_FRAMEWORKS(Tcl) CMAKE_FIND_FRAMEWORKS(Tk) set(TCL_FRAMEWORK_INCLUDES) if(Tcl_FRAMEWORKS) if(NOT TCL_INCLUDE_PATH) foreach(dir ${Tcl_FRAMEWORKS}) set(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers) endforeach() endif() endif() set(TK_FRAMEWORK_INCLUDES) if(Tk_FRAMEWORKS) if(NOT TK_INCLUDE_PATH) foreach(dir ${Tk_FRAMEWORKS}) set(TK_FRAMEWORK_INCLUDES ${TK_FRAMEWORK_INCLUDES} ${dir}/Headers ${dir}/PrivateHeaders) endforeach() endif() endif() set(TCLTK_POSSIBLE_INCLUDE_PATHS "${TCL_LIBRARY_PATH_PARENT}/include" "${TK_LIBRARY_PATH_PARENT}/include" "${TCL_INCLUDE_PATH}" "${TK_INCLUDE_PATH}" ${TCL_FRAMEWORK_INCLUDES} ${TK_FRAMEWORK_INCLUDES} "${TCL_TCLSH_PATH_PARENT}/include" "${TK_WISH_PATH_PARENT}/include" /usr/include/tcl${TK_LIBRARY_VERSION} /usr/include/tcl${TCL_LIBRARY_VERSION} /usr/include/tcl8.6 /usr/include/tcl8.5 /usr/include/tcl8.4 /usr/include/tcl8.3 /usr/include/tcl8.2 /usr/include/tcl8.0 /usr/local/include/tcl8.6 /usr/local/include/tk8.6 /usr/local/include/tcl8.5 /usr/local/include/tk8.5 /usr/local/include/tcl8.4 /usr/local/include/tk8.4 ) if(WIN32) set(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include" "$ENV{ProgramFiles}/Tcl/include" "C:/Program Files/Tcl/include" "C:/Tcl/include" ) endif() find_path(TCL_INCLUDE_PATH NAMES tcl.h HINTS ${TCLTK_POSSIBLE_INCLUDE_PATHS} ) find_path(TK_INCLUDE_PATH NAMES tk.h HINTS ${TCLTK_POSSIBLE_INCLUDE_PATHS} ) # handle the QUIETLY and REQUIRED arguments and set TCL_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCL DEFAULT_MSG TCL_LIBRARY TCL_INCLUDE_PATH) set(TCLTK_FIND_REQUIRED ${TCL_FIND_REQUIRED}) set(TCLTK_FIND_QUIETLY ${TCL_FIND_QUIETLY}) FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCLTK DEFAULT_MSG TCL_LIBRARY TCL_INCLUDE_PATH TK_LIBRARY TK_INCLUDE_PATH) set(TK_FIND_REQUIRED ${TCL_FIND_REQUIRED}) set(TK_FIND_QUIETLY ${TCL_FIND_QUIETLY}) FIND_PACKAGE_HANDLE_STANDARD_ARGS(TK DEFAULT_MSG TK_LIBRARY TK_INCLUDE_PATH) mark_as_advanced( TCL_INCLUDE_PATH TK_INCLUDE_PATH TCL_LIBRARY TK_LIBRARY ) cmake-2.8.12.2/Modules/FindTclsh.cmake000644 000765 000024 00000007367 12266011634 020143 0ustar00kitwarestaff000000 000000 # - Find tclsh # This module finds if TCL is installed and determines where the # include files and libraries are. It also determines what the name of # the library is. This code sets the following variables: # TCLSH_FOUND = TRUE if tclsh has been found # TCL_TCLSH = the path to the tclsh executable # In cygwin, look for the cygwin version first. Don't look for it later to # avoid finding the cygwin version on a Win32 build. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(CYGWIN) find_program(TCL_TCLSH NAMES cygtclsh83 cygtclsh80) endif() get_filename_component(TK_WISH_PATH "${TK_WISH}" PATH) get_filename_component(TK_WISH_PATH_PARENT "${TK_WISH_PATH}" PATH) 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) 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 "^.*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 "^.*tk([0-9]\\.*[0-9]).*$" "\\1" TK_LIBRARY_VERSION "${TK_LIBRARY}") set(TCLTK_POSSIBLE_BIN_PATHS "${TCL_INCLUDE_PATH_PARENT}/bin" "${TK_INCLUDE_PATH_PARENT}/bin" "${TCL_LIBRARY_PATH_PARENT}/bin" "${TK_LIBRARY_PATH_PARENT}/bin" "${TK_WISH_PATH_PARENT}/bin" ) if(WIN32) get_filename_component( ActiveTcl_CurrentVersion "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]" NAME) set(TCLTK_POSSIBLE_BIN_PATHS ${TCLTK_POSSIBLE_BIN_PATHS} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin" ) endif() set(TCL_TCLSH_NAMES tclsh tclsh${TCL_LIBRARY_VERSION} tclsh${TK_LIBRARY_VERSION} tclsh${TK_WISH_VERSION} tclsh86 tclsh8.6 tclsh85 tclsh8.5 tclsh84 tclsh8.4 tclsh83 tclsh8.3 tclsh82 tclsh8.2 tclsh80 tclsh8.0 ) find_program(TCL_TCLSH NAMES ${TCL_TCLSH_NAMES} HINTS ${TCLTK_POSSIBLE_BIN_PATHS} ) if(TCL_TCLSH) execute_process(COMMAND "${CMAKE_COMMAND}" -E echo puts "\$tcl_version" COMMAND "${TCL_TCLSH}" OUTPUT_VARIABLE TCLSH_VERSION_STRING ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) endif() # handle the QUIETLY and REQUIRED arguments and set TIFF_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Tclsh REQUIRED_VARS TCL_TCLSH VERSION_VAR TCLSH_VERSION_STRING) mark_as_advanced(TCL_TCLSH) cmake-2.8.12.2/Modules/FindTclStub.cmake000644 000765 000024 00000011357 12266011634 020440 0ustar00kitwarestaff000000 000000 # - Find Tcl stub libraries. # This module finds Tcl stub libraries. It first finds Tcl include files and # libraries by calling FindTCL.cmake. # How to Use the Tcl Stubs Library: # http://tcl.activestate.com/doc/howto/stubs.html # Using Stub Libraries: # http://safari.oreilly.com/0130385603/ch48lev1sec3 # This code sets the following variables: # TCL_STUB_LIBRARY = path to Tcl stub library # TK_STUB_LIBRARY = path to Tk stub library # TTK_STUB_LIBRARY = path to ttk stub library # # In an effort to remove some clutter and clear up some issues for people # who are not necessarily Tcl/Tk gurus/developpers, some variables were # moved or removed. Changes compared to CMake 2.4 are: # - TCL_STUB_LIBRARY_DEBUG and TK_STUB_LIBRARY_DEBUG were removed. # => 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 tclstub84g, tclstub84gs, or tclstub84sgx). # Let's leave that choice to the user by allowing him to assign # TCL_STUB_LIBRARY to any Tcl library, debug or not. #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindTCL.cmake) get_filename_component(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH) get_filename_component(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH) 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 "^.*wish([0-9]\\.*[0-9]).*$" "\\1" TK_WISH_VERSION "${TK_WISH}") get_filename_component(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH) 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 "^.*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 "^.*tk([0-9]\\.*[0-9]).*$" "\\1" TK_LIBRARY_VERSION "${TK_LIBRARY}") set(TCLTK_POSSIBLE_LIB_PATHS "${TCL_INCLUDE_PATH_PARENT}/lib" "${TK_INCLUDE_PATH_PARENT}/lib" "${TCL_LIBRARY_PATH}" "${TK_LIBRARY_PATH}" "${TCL_TCLSH_PATH_PARENT}/lib" "${TK_WISH_PATH_PARENT}/lib" ) if(WIN32) get_filename_component( 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" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib" "[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" ) endif() find_library(TCL_STUB_LIBRARY NAMES tclstub tclstub${TK_LIBRARY_VERSION} tclstub${TCL_TCLSH_VERSION} tclstub${TK_WISH_VERSION} tclstub86 tclstub8.6 tclstub85 tclstub8.5 tclstub84 tclstub8.4 tclstub83 tclstub8.3 tclstub82 tclstub8.2 tclstub80 tclstub8.0 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} ) find_library(TK_STUB_LIBRARY NAMES tkstub tkstub${TCL_LIBRARY_VERSION} tkstub${TCL_TCLSH_VERSION} tkstub${TK_WISH_VERSION} tkstub86 tkstub8.6 tkstub85 tkstub8.5 tkstub84 tkstub8.4 tkstub83 tkstub8.3 tkstub82 tkstub8.2 tkstub80 tkstub8.0 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} ) find_library(TTK_STUB_LIBRARY NAMES ttkstub ttkstub${TCL_LIBRARY_VERSION} ttkstub${TCL_TCLSH_VERSION} ttkstub${TK_WISH_VERSION} ttkstub88 ttkstub8.8 ttkstub87 ttkstub8.7 ttkstub86 ttkstub8.6 ttkstub85 ttkstub8.5 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} ) mark_as_advanced( TCL_STUB_LIBRARY TK_STUB_LIBRARY ) cmake-2.8.12.2/Modules/FindThreads.cmake000644 000765 000024 00000013531 12266011634 020446 0ustar00kitwarestaff000000 000000 # - This module determines the thread library of the system. # The following variables are set # CMAKE_THREAD_LIBS_INIT - the thread library # CMAKE_USE_SPROC_INIT - are we using sproc? # CMAKE_USE_WIN32_THREADS_INIT - using WIN32 threads? # CMAKE_USE_PTHREADS_INIT - are we using pthreads # CMAKE_HP_PTHREADS_INIT - are we using hp pthreads # For systems with multiple thread libraries, caller can set # CMAKE_THREAD_PREFER_PTHREAD #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include (CheckIncludeFiles) include (CheckLibraryExists) include (CheckSymbolExists) set(Threads_FOUND FALSE) # Do we have sproc? if(CMAKE_SYSTEM MATCHES IRIX AND NOT CMAKE_THREAD_PREFER_PTHREAD) CHECK_INCLUDE_FILES("sys/types.h;sys/prctl.h" CMAKE_HAVE_SPROC_H) endif() if(CMAKE_HAVE_SPROC_H AND NOT CMAKE_THREAD_PREFER_PTHREAD) # We have sproc set(CMAKE_USE_SPROC_INIT 1) else() # Do we have pthreads? CHECK_INCLUDE_FILES("pthread.h" CMAKE_HAVE_PTHREAD_H) if(CMAKE_HAVE_PTHREAD_H) # # We have pthread.h # Let's check for the library now. # set(CMAKE_HAVE_THREADS_LIBRARY) if(NOT THREADS_HAVE_PTHREAD_ARG) # Check if pthread functions are in normal C library CHECK_SYMBOL_EXISTS(pthread_create pthread.h CMAKE_HAVE_LIBC_CREATE) if(CMAKE_HAVE_LIBC_CREATE) set(CMAKE_THREAD_LIBS_INIT "") set(CMAKE_HAVE_THREADS_LIBRARY 1) set(Threads_FOUND TRUE) endif() if(NOT CMAKE_HAVE_THREADS_LIBRARY) # Do we have -lpthreads CHECK_LIBRARY_EXISTS(pthreads pthread_create "" CMAKE_HAVE_PTHREADS_CREATE) if(CMAKE_HAVE_PTHREADS_CREATE) set(CMAKE_THREAD_LIBS_INIT "-lpthreads") set(CMAKE_HAVE_THREADS_LIBRARY 1) set(Threads_FOUND TRUE) endif() # Ok, how about -lpthread CHECK_LIBRARY_EXISTS(pthread pthread_create "" CMAKE_HAVE_PTHREAD_CREATE) if(CMAKE_HAVE_PTHREAD_CREATE) set(CMAKE_THREAD_LIBS_INIT "-lpthread") set(CMAKE_HAVE_THREADS_LIBRARY 1) set(Threads_FOUND TRUE) endif() if(CMAKE_SYSTEM MATCHES "SunOS.*") # On sun also check for -lthread CHECK_LIBRARY_EXISTS(thread thr_create "" CMAKE_HAVE_THR_CREATE) if(CMAKE_HAVE_THR_CREATE) set(CMAKE_THREAD_LIBS_INIT "-lthread") set(CMAKE_HAVE_THREADS_LIBRARY 1) set(Threads_FOUND TRUE) endif() endif() endif() endif() if(NOT CMAKE_HAVE_THREADS_LIBRARY) # If we did not found -lpthread, -lpthread, or -lthread, look for -pthread if("THREADS_HAVE_PTHREAD_ARG" MATCHES "^THREADS_HAVE_PTHREAD_ARG") message(STATUS "Check if compiler accepts -pthread") try_run(THREADS_PTHREAD_ARG THREADS_HAVE_PTHREAD_ARG ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckForPthreads.c CMAKE_FLAGS -DLINK_LIBRARIES:STRING=-pthread COMPILE_OUTPUT_VARIABLE OUTPUT) if(THREADS_HAVE_PTHREAD_ARG) if(THREADS_PTHREAD_ARG STREQUAL "2") set(Threads_FOUND TRUE) message(STATUS "Check if compiler accepts -pthread - yes") else() message(STATUS "Check if compiler accepts -pthread - no") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if compiler accepts -pthread returned ${THREADS_PTHREAD_ARG} instead of 2. The compiler had the following output:\n${OUTPUT}\n\n") endif() else() message(STATUS "Check if compiler accepts -pthread - no") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if compiler accepts -pthread failed with the following output:\n${OUTPUT}\n\n") endif() endif() if(THREADS_HAVE_PTHREAD_ARG) set(Threads_FOUND TRUE) set(CMAKE_THREAD_LIBS_INIT "-pthread") endif() endif() endif() endif() if(CMAKE_THREAD_LIBS_INIT OR CMAKE_HAVE_LIBC_CREATE) set(CMAKE_USE_PTHREADS_INIT 1) set(Threads_FOUND TRUE) endif() if(CMAKE_SYSTEM MATCHES "Windows") set(CMAKE_USE_WIN32_THREADS_INIT 1) set(Threads_FOUND TRUE) endif() if(CMAKE_USE_PTHREADS_INIT) if(CMAKE_SYSTEM MATCHES "HP-UX-*") # Use libcma if it exists and can be used. It provides more # symbols than the plain pthread library. CMA threads # have actually been deprecated: # http://docs.hp.com/en/B3920-90091/ch12s03.html#d0e11395 # http://docs.hp.com/en/947/d8.html # but we need to maintain compatibility here. # The CMAKE_HP_PTHREADS setting actually indicates whether CMA threads # are available. CHECK_LIBRARY_EXISTS(cma pthread_attr_create "" CMAKE_HAVE_HP_CMA) if(CMAKE_HAVE_HP_CMA) set(CMAKE_THREAD_LIBS_INIT "-lcma") set(CMAKE_HP_PTHREADS_INIT 1) set(Threads_FOUND TRUE) endif() set(CMAKE_USE_PTHREADS_INIT 1) endif() if(CMAKE_SYSTEM MATCHES "OSF1-V*") set(CMAKE_USE_PTHREADS_INIT 0) set(CMAKE_THREAD_LIBS_INIT ) endif() if(CMAKE_SYSTEM MATCHES "CYGWIN_NT*") set(CMAKE_USE_PTHREADS_INIT 1) set(Threads_FOUND TRUE) set(CMAKE_THREAD_LIBS_INIT ) set(CMAKE_USE_WIN32_THREADS_INIT 0) endif() endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Threads DEFAULT_MSG Threads_FOUND) cmake-2.8.12.2/Modules/FindTIFF.cmake000644 000765 000024 00000003662 12266011634 017610 0ustar00kitwarestaff000000 000000 # - Find TIFF library # Find the native TIFF includes and library # This module defines # TIFF_INCLUDE_DIR, where to find tiff.h, etc. # TIFF_LIBRARIES, libraries to link against to use TIFF. # TIFF_FOUND, If false, do not try to use TIFF. # also defined, but not for general use are # TIFF_LIBRARY, where to find the TIFF library. #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_path(TIFF_INCLUDE_DIR tiff.h) set(TIFF_NAMES ${TIFF_NAMES} tiff libtiff tiff3 libtiff3) find_library(TIFF_LIBRARY NAMES ${TIFF_NAMES} ) if(TIFF_INCLUDE_DIR AND EXISTS "${TIFF_INCLUDE_DIR}/tiffvers.h") file(STRINGS "${TIFF_INCLUDE_DIR}/tiffvers.h" tiff_version_str REGEX "^#define[\t ]+TIFFLIB_VERSION_STR[\t ]+\"LIBTIFF, Version .*") string(REGEX REPLACE "^#define[\t ]+TIFFLIB_VERSION_STR[\t ]+\"LIBTIFF, Version +([^ \\n]*).*" "\\1" TIFF_VERSION_STRING "${tiff_version_str}") unset(tiff_version_str) endif() # handle the QUIETLY and REQUIRED arguments and set TIFF_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(TIFF REQUIRED_VARS TIFF_LIBRARY TIFF_INCLUDE_DIR VERSION_VAR TIFF_VERSION_STRING) if(TIFF_FOUND) set( TIFF_LIBRARIES ${TIFF_LIBRARY} ) endif() mark_as_advanced(TIFF_INCLUDE_DIR TIFF_LIBRARY) cmake-2.8.12.2/Modules/FindUnixCommands.cmake000644 000765 000024 00000002747 12266011634 021470 0ustar00kitwarestaff000000 000000 # - Find unix commands from cygwin # This module looks for some usual Unix commands. # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake) find_program(BASH bash ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( BASH ) find_program(CP cp ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( CP ) find_program(GZIP gzip ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( GZIP ) find_program(MV mv ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( MV ) find_program(RM rm ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( RM ) find_program(TAR NAMES tar gtar PATH ${CYGWIN_INSTALL_PATH}/bin /bin /usr/bin /usr/local/bin /sbin ) mark_as_advanced( TAR ) cmake-2.8.12.2/Modules/FindVTK.cmake000644 000765 000024 00000013442 12266011634 017521 0ustar00kitwarestaff000000 000000 # - Find a VTK installation or build tree. # The following variables are set if VTK is found. If VTK is not # found, VTK_FOUND is set to false. # VTK_FOUND - Set to true when VTK is found. # VTK_USE_FILE - CMake file to use VTK. # VTK_MAJOR_VERSION - The VTK major version number. # VTK_MINOR_VERSION - The VTK minor version number # (odd non-release). # VTK_BUILD_VERSION - The VTK patch level # (meaningless for odd minor). # VTK_INCLUDE_DIRS - Include directories for VTK # VTK_LIBRARY_DIRS - Link directories for VTK libraries # VTK_KITS - List of VTK kits, in CAPS # (COMMON,IO,) etc. # VTK_LANGUAGES - List of wrapped languages, in CAPS # (TCL, PYHTON,) etc. # The following cache entries must be set by the user to locate VTK: # VTK_DIR - The directory containing VTKConfig.cmake. # This is either the root of the build tree, # or the lib/vtk directory. This is the # only cache entry. # The following variables are set for backward compatibility and # should not be used in new code: # USE_VTK_FILE - The full path to the UseVTK.cmake file. # This is provided for backward # compatibility. Use VTK_USE_FILE # instead. # #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Assume not found. set(VTK_FOUND 0) # VTK 4.0 did not provide VTKConfig.cmake. if("${VTK_FIND_VERSION}" VERSION_LESS 4.1) set(_VTK_40_ALLOW 1) if(VTK_FIND_VERSION) set(_VTK_40_ONLY 1) endif() endif() # Construct consistent error messages for use below. set(VTK_DIR_DESCRIPTION "directory containing VTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/vtk for an installation.") if(_VTK_40_ALLOW) set(VTK_DIR_DESCRIPTION "${VTK_DIR_DESCRIPTION} 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.") endif() set(VTK_DIR_MESSAGE "VTK not found. Set the VTK_DIR cmake cache entry to the ${VTK_DIR_DESCRIPTION}") # Check whether VTK 4.0 has already been found. if(_VTK_40_ALLOW AND VTK_DIR) if(EXISTS ${VTK_DIR}/UseVTK.cmake AND NOT EXISTS ${VTK_DIR}/VTKConfig.cmake) set(VTK_FOUND 1) include(${CMAKE_CURRENT_LIST_DIR}/UseVTKConfig40.cmake) # No VTKConfig; load VTK 4.0 settings. endif() endif() # Use the Config mode of the find_package() command to find VTKConfig. # If this succeeds (possibly because VTK_DIR is already set), the # command will have already loaded VTKConfig.cmake and set VTK_FOUND. if(NOT _VTK_40_ONLY AND NOT VTK_FOUND) find_package(VTK QUIET NO_MODULE) endif() # Special search for VTK 4.0. if(_VTK_40_ALLOW AND NOT VTK_DIR) # Old scripts may set these directories in the CMakeCache.txt file. # They can tell us where to find VTKConfig.cmake. set(VTK_DIR_SEARCH_LEGACY "") if(VTK_BINARY_PATH AND USE_BUILT_VTK) set(VTK_DIR_SEARCH_LEGACY ${VTK_DIR_SEARCH_LEGACY} ${VTK_BINARY_PATH}) endif() if(VTK_INSTALL_PATH AND USE_INSTALLED_VTK) set(VTK_DIR_SEARCH_LEGACY ${VTK_DIR_SEARCH_LEGACY} ${VTK_INSTALL_PATH}/lib/vtk) endif() # Look for UseVTK.cmake in build trees or under /include/vtk. find_path(VTK_DIR NAMES UseVTK.cmake PATH_SUFFIXES vtk-4.0 vtk HINTS ENV VTK_DIR PATHS # Support legacy cache files. ${VTK_DIR_SEARCH_LEGACY} # Read from the CMakeSetup registry entries. It is likely that # VTK will have been recently built. [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild1] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild2] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild3] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild4] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild5] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild6] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild7] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild8] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild9] [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild10] # Help the user find it if we cannot. DOC "The ${VTK_DIR_DESCRIPTION}" ) if(VTK_DIR) if(EXISTS ${VTK_DIR}/UseVTK.cmake AND NOT EXISTS ${VTK_DIR}/VTKConfig.cmake) set(VTK_FOUND 1) include(${CMAKE_CURRENT_LIST_DIR}/UseVTKConfig40.cmake) # No VTKConfig; load VTK 4.0 settings. else() # We found the wrong version. Pretend we did not find it. set(VTK_DIR "VTK_DIR-NOTFOUND" CACHE PATH "The ${VTK_DIR_DESCRIPTION}" FORCE) endif() endif() endif() #----------------------------------------------------------------------------- if(VTK_FOUND) # Set USE_VTK_FILE for backward-compatibility. set(USE_VTK_FILE ${VTK_USE_FILE}) else() # VTK not found, explain to the user how to specify its location. if(VTK_FIND_REQUIRED) message(FATAL_ERROR ${VTK_DIR_MESSAGE}) else() if(NOT VTK_FIND_QUIETLY) message(STATUS ${VTK_DIR_MESSAGE}) endif() endif() endif() cmake-2.8.12.2/Modules/FindWget.cmake000644 000765 000024 00000002410 12266011634 017754 0ustar00kitwarestaff000000 000000 # - Find wget # This module looks for wget. This module defines the # following values: # WGET_EXECUTABLE: the full path to the wget tool. # WGET_FOUND: True if wget has been found. #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake) find_program(WGET_EXECUTABLE wget ${CYGWIN_INSTALL_PATH}/bin ) # handle the QUIETLY and REQUIRED arguments and set WGET_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Wget DEFAULT_MSG WGET_EXECUTABLE) mark_as_advanced( WGET_EXECUTABLE ) # WGET option is deprecated. # use WGET_EXECUTABLE instead. set (WGET ${WGET_EXECUTABLE} ) cmake-2.8.12.2/Modules/FindWish.cmake000644 000765 000024 00000006016 12266011634 017766 0ustar00kitwarestaff000000 000000 # - Find wish installation # This module finds if TCL is installed and determines where the # include files and libraries are. It also determines what the name of # the library is. This code sets the following variables: # # TK_WISH = the path to the wish executable # # if UNIX is defined, then it will look for the cygwin version first #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(UNIX) find_program(TK_WISH cygwish80 ) endif() get_filename_component(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH) get_filename_component(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH) string(REGEX REPLACE "^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}") get_filename_component(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH) 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 "^.*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 "^.*tk([0-9]\\.*[0-9]).*$" "\\1" TK_LIBRARY_VERSION "${TK_LIBRARY}") set(TCLTK_POSSIBLE_BIN_PATHS "${TCL_INCLUDE_PATH_PARENT}/bin" "${TK_INCLUDE_PATH_PARENT}/bin" "${TCL_LIBRARY_PATH_PARENT}/bin" "${TK_LIBRARY_PATH_PARENT}/bin" "${TCL_TCLSH_PATH_PARENT}/bin" ) if(WIN32) get_filename_component( ActiveTcl_CurrentVersion "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]" NAME) set(TCLTK_POSSIBLE_BIN_PATHS ${TCLTK_POSSIBLE_BIN_PATHS} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin" ) endif() set(TK_WISH_NAMES wish wish${TCL_LIBRARY_VERSION} wish${TK_LIBRARY_VERSION} wish${TCL_TCLSH_VERSION} wish86 wish8.6 wish85 wish8.5 wish84 wish8.4 wish83 wish8.3 wish82 wish8.2 wish80 wish8.0 ) find_program(TK_WISH NAMES ${TK_WISH_NAMES} HINTS ${TCLTK_POSSIBLE_BIN_PATHS} ) mark_as_advanced(TK_WISH) cmake-2.8.12.2/Modules/FindwxWidgets.cmake000644 000765 000024 00000110050 12266011634 021033 0ustar00kitwarestaff000000 000000 # - Find a wxWidgets (a.k.a., wxWindows) installation. # This module finds if wxWidgets is installed and selects a default # configuration to use. wxWidgets is a modular library. To specify the # modules that you will use, you need to name them as components to # the package: # # find_package(wxWidgets COMPONENTS core base ...) # # There are two search branches: a windows style and a unix style. For # windows, the following variables are searched for and set to # defaults in case of multiple choices. Change them if the defaults # are not desired (i.e., these are the only variables you should # change to select a configuration): # # wxWidgets_ROOT_DIR - Base wxWidgets directory # (e.g., C:/wxWidgets-2.6.3). # wxWidgets_LIB_DIR - Path to wxWidgets libraries # (e.g., C:/wxWidgets-2.6.3/lib/vc_lib). # wxWidgets_CONFIGURATION - Configuration to use # (e.g., msw, mswd, mswu, mswunivud, etc.) # wxWidgets_EXCLUDE_COMMON_LIBRARIES # - Set to TRUE to exclude linking of # commonly required libs (e.g., png tiff # jpeg zlib regex expat). # # For unix style it uses the wx-config utility. You can select between # debug/release, unicode/ansi, universal/non-universal, and # static/shared in the QtDialog or ccmake interfaces by turning ON/OFF # the following variables: # # wxWidgets_USE_DEBUG # wxWidgets_USE_UNICODE # wxWidgets_USE_UNIVERSAL # wxWidgets_USE_STATIC # # There is also a wxWidgets_CONFIG_OPTIONS variable for all other # options that need to be passed to the wx-config utility. For # example, to use the base toolkit found in the /usr/local path, set # the variable (before calling the FIND_PACKAGE command) as such: # # set(wxWidgets_CONFIG_OPTIONS --toolkit=base --prefix=/usr) # # The following are set after the configuration is done for both # windows and unix style: # # wxWidgets_FOUND - Set to TRUE if wxWidgets was found. # wxWidgets_INCLUDE_DIRS - Include directories for WIN32 # i.e., where to find "wx/wx.h" and # "wx/setup.h"; possibly empty for unices. # wxWidgets_LIBRARIES - Path to the wxWidgets libraries. # wxWidgets_LIBRARY_DIRS - compile time link dirs, useful for # rpath on UNIX. Typically an empty string # in WIN32 environment. # wxWidgets_DEFINITIONS - Contains defines required to compile/link # against WX, e.g. WXUSINGDLL # wxWidgets_DEFINITIONS_DEBUG- Contains defines required to compile/link # against WX debug builds, e.g. __WXDEBUG__ # wxWidgets_CXX_FLAGS - Include dirs and compiler flags for # unices, empty on WIN32. Essentially # "`wx-config --cxxflags`". # wxWidgets_USE_FILE - Convenience include file. # # Sample usage: # # Note that for MinGW users the order of libs is important! # find_package(wxWidgets COMPONENTS net gl core base) # if(wxWidgets_FOUND) # include(${wxWidgets_USE_FILE}) # # and for each of your dependent executable/library targets: # target_link_libraries( ${wxWidgets_LIBRARIES}) # endif() # # If wxWidgets is required (i.e., not an optional part): # find_package(wxWidgets REQUIRED net gl core base) # include(${wxWidgets_USE_FILE}) # # and for each of your dependent executable/library targets: # target_link_libraries( ${wxWidgets_LIBRARIES}) #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2007-2009 Miguel A. Figueroa-Villanueva # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # FIXME: check this and provide a correct sample usage... # Remember to connect back to the upper text. # Sample usage with monolithic wx build: # # find_package(wxWidgets COMPONENTS mono) # ... # NOTES # # This module has been tested on the WIN32 platform with wxWidgets # 2.6.2, 2.6.3, and 2.5.3. However, it has been designed to # easily extend support to all possible builds, e.g., static/shared, # debug/release, unicode, universal, multilib/monolithic, etc.. # # If you want to use the module and your build type is not supported # out-of-the-box, please contact me to exchange information on how # your system is setup and I'll try to add support for it. # # AUTHOR # # Miguel A. Figueroa-Villanueva (miguelf at ieee dot org). # Jan Woetzel (jw at mip.informatik.uni-kiel.de). # # Based on previous works of: # Jan Woetzel (FindwxWindows.cmake), # Jorgen Bodde and Jerry Fath (FindwxWin.cmake). # TODO/ideas # # (1) Option/Setting to use all available wx libs # In contrast to expert developer who lists the # minimal set of required libs in wxWidgets_USE_LIBS # there is the newbie user: # - who just wants to link against WX with more 'magic' # - doesn't know the internal structure of WX or how it was built, # in particular if it is monolithic or not # - want to link against all available WX libs # Basically, the intent here is to mimic what wx-config would do by # default (i.e., `wx-config --libs`). # # Possible solution: # Add a reserved keyword "std" that initializes to what wx-config # would default to. If the user has not set the wxWidgets_USE_LIBS, # default to "std" instead of "base core" as it is now. To implement # "std" will basically boil down to a FOR_EACH lib-FOUND, but maybe # checking whether a minimal set was found. # FIXME: This and all the DBG_MSG calls should be removed after the # module stabilizes. # # Helper macro to control the debugging output globally. There are # two versions for controlling how verbose your output should be. macro(DBG_MSG _MSG) # message(STATUS # "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}") endmacro() macro(DBG_MSG_V _MSG) # message(STATUS # "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}") endmacro() # Clear return values in case the module is loaded more than once. set(wxWidgets_FOUND FALSE) set(wxWidgets_INCLUDE_DIRS "") set(wxWidgets_LIBRARIES "") set(wxWidgets_LIBRARY_DIRS "") set(wxWidgets_CXX_FLAGS "") # Using SYSTEM with INCLUDE_DIRECTORIES in conjunction with wxWidgets on # the Mac produces compiler errors. Set wxWidgets_INCLUDE_DIRS_NO_SYSTEM # to prevent UsewxWidgets.cmake from using SYSTEM. # # See cmake mailing list discussions for more info: # http://www.cmake.org/pipermail/cmake/2008-April/021115.html # http://www.cmake.org/pipermail/cmake/2008-April/021146.html # if(APPLE OR CMAKE_CXX_PLATFORM_ID MATCHES "OpenBSD") set(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1) endif() # DEPRECATED: This is a patch to support the DEPRECATED use of # wxWidgets_USE_LIBS. # # If wxWidgets_USE_LIBS is set: # - if using , then override wxWidgets_USE_LIBS # - else set wxWidgets_FIND_COMPONENTS to wxWidgets_USE_LIBS if(wxWidgets_USE_LIBS AND NOT wxWidgets_FIND_COMPONENTS) set(wxWidgets_FIND_COMPONENTS ${wxWidgets_USE_LIBS}) endif() DBG_MSG("wxWidgets_FIND_COMPONENTS : ${wxWidgets_FIND_COMPONENTS}") # Add the convenience use file if available. # # Get dir of this file which may reside in: # - CMAKE_MAKE_ROOT/Modules on CMake installation # - CMAKE_MODULE_PATH if user prefers his own specialized version set(wxWidgets_USE_FILE "") get_filename_component( wxWidgets_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) # Prefer an existing customized version, but the user might override # the FindwxWidgets module and not the UsewxWidgets one. if(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake") set(wxWidgets_USE_FILE "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake") else() set(wxWidgets_USE_FILE UsewxWidgets) endif() #===================================================================== #===================================================================== if(WIN32 AND NOT CYGWIN AND NOT MSYS) set(wxWidgets_FIND_STYLE "win32") else() if(UNIX OR MSYS) set(wxWidgets_FIND_STYLE "unix") endif() endif() #===================================================================== # WIN32_FIND_STYLE #===================================================================== if(wxWidgets_FIND_STYLE STREQUAL "win32") # Useful common wx libs needed by almost all components. set(wxWidgets_COMMON_LIBRARIES png tiff jpeg zlib regex expat) # DEPRECATED: Use find_package(wxWidgets COMPONENTS mono) instead. if(NOT wxWidgets_FIND_COMPONENTS) if(wxWidgets_USE_MONOLITHIC) set(wxWidgets_FIND_COMPONENTS mono) else() set(wxWidgets_FIND_COMPONENTS core base) # this is default endif() endif() # Add the common (usually required libs) unless # wxWidgets_EXCLUDE_COMMON_LIBRARIES has been set. if(NOT wxWidgets_EXCLUDE_COMMON_LIBRARIES) list(APPEND wxWidgets_FIND_COMPONENTS ${wxWidgets_COMMON_LIBRARIES}) endif() #------------------------------------------------------------------- # WIN32: Helper MACROS #------------------------------------------------------------------- # # Get filename components for a configuration. For example, # if _CONFIGURATION = mswunivud, then _UNV=univ, _UCD=u _DBG=d # if _CONFIGURATION = mswu, then _UNV="", _UCD=u _DBG="" # macro(WX_GET_NAME_COMPONENTS _CONFIGURATION _UNV _UCD _DBG) string(REGEX MATCH "univ" ${_UNV} "${_CONFIGURATION}") string(REGEX REPLACE "msw.*(u)[d]*$" "u" ${_UCD} "${_CONFIGURATION}") if(${_UCD} STREQUAL ${_CONFIGURATION}) set(${_UCD} "") endif() string(REGEX MATCH "d$" ${_DBG} "${_CONFIGURATION}") endmacro() # # Find libraries associated to a configuration. # macro(WX_FIND_LIBS _UNV _UCD _DBG) DBG_MSG_V("m_unv = ${_UNV}") DBG_MSG_V("m_ucd = ${_UCD}") DBG_MSG_V("m_dbg = ${_DBG}") # FIXME: What if both regex libs are available. regex should be # found outside the loop and only wx${LIB}${_UCD}${_DBG}. # Find wxWidgets common libraries. foreach(LIB ${wxWidgets_COMMON_LIBRARIES} scintilla) find_library(WX_${LIB}${_DBG} NAMES wx${LIB}${_UCD}${_DBG} # for regex wx${LIB}${_DBG} PATHS ${WX_LIB_DIR} NO_DEFAULT_PATH ) mark_as_advanced(WX_${LIB}${_DBG}) endforeach() # Find wxWidgets multilib base libraries. find_library(WX_base${_DBG} NAMES wxbase29${_UCD}${_DBG} wxbase28${_UCD}${_DBG} wxbase27${_UCD}${_DBG} wxbase26${_UCD}${_DBG} wxbase25${_UCD}${_DBG} PATHS ${WX_LIB_DIR} NO_DEFAULT_PATH ) mark_as_advanced(WX_base${_DBG}) foreach(LIB net odbc xml) find_library(WX_${LIB}${_DBG} NAMES wxbase29${_UCD}${_DBG}_${LIB} wxbase28${_UCD}${_DBG}_${LIB} wxbase27${_UCD}${_DBG}_${LIB} wxbase26${_UCD}${_DBG}_${LIB} wxbase25${_UCD}${_DBG}_${LIB} PATHS ${WX_LIB_DIR} NO_DEFAULT_PATH ) mark_as_advanced(WX_${LIB}${_DBG}) endforeach() # Find wxWidgets monolithic library. find_library(WX_mono${_DBG} NAMES wxmsw${_UNV}29${_UCD}${_DBG} wxmsw${_UNV}28${_UCD}${_DBG} wxmsw${_UNV}27${_UCD}${_DBG} wxmsw${_UNV}26${_UCD}${_DBG} wxmsw${_UNV}25${_UCD}${_DBG} PATHS ${WX_LIB_DIR} NO_DEFAULT_PATH ) mark_as_advanced(WX_mono${_DBG}) # Find wxWidgets multilib libraries. foreach(LIB core adv aui html media xrc dbgrid gl qa richtext stc ribbon propgrid webview) find_library(WX_${LIB}${_DBG} NAMES wxmsw${_UNV}29${_UCD}${_DBG}_${LIB} wxmsw${_UNV}28${_UCD}${_DBG}_${LIB} wxmsw${_UNV}27${_UCD}${_DBG}_${LIB} wxmsw${_UNV}26${_UCD}${_DBG}_${LIB} wxmsw${_UNV}25${_UCD}${_DBG}_${LIB} PATHS ${WX_LIB_DIR} NO_DEFAULT_PATH ) mark_as_advanced(WX_${LIB}${_DBG}) endforeach() endmacro() # # Clear all library paths, so that FIND_LIBRARY refinds them. # # Clear a lib, reset its found flag, and mark as advanced. macro(WX_CLEAR_LIB _LIB) set(${_LIB} "${_LIB}-NOTFOUND" CACHE FILEPATH "Cleared." FORCE) set(${_LIB}_FOUND FALSE) mark_as_advanced(${_LIB}) endmacro() # Clear all debug or release library paths (arguments are "d" or ""). macro(WX_CLEAR_ALL_LIBS _DBG) # Clear wxWidgets common libraries. foreach(LIB ${wxWidgets_COMMON_LIBRARIES} scintilla) WX_CLEAR_LIB(WX_${LIB}${_DBG}) endforeach() # Clear wxWidgets multilib base libraries. WX_CLEAR_LIB(WX_base${_DBG}) foreach(LIB net odbc xml) WX_CLEAR_LIB(WX_${LIB}${_DBG}) endforeach() # Clear wxWidgets monolithic library. WX_CLEAR_LIB(WX_mono${_DBG}) # Clear wxWidgets multilib libraries. foreach(LIB core adv aui html media xrc dbgrid gl qa richtext stc ribbon propgrid) WX_CLEAR_LIB(WX_${LIB}${_DBG}) endforeach() endmacro() # Clear all wxWidgets debug libraries. macro(WX_CLEAR_ALL_DBG_LIBS) WX_CLEAR_ALL_LIBS("d") endmacro() # Clear all wxWidgets release libraries. macro(WX_CLEAR_ALL_REL_LIBS) WX_CLEAR_ALL_LIBS("") endmacro() # # Set the wxWidgets_LIBRARIES variable. # Also, Sets output variable wxWidgets_FOUND to FALSE if it fails. # macro(WX_SET_LIBRARIES _LIBS _DBG) DBG_MSG_V("Looking for ${${_LIBS}}") if(WX_USE_REL_AND_DBG) foreach(LIB ${${_LIBS}}) DBG_MSG_V("Searching for ${LIB} and ${LIB}d") DBG_MSG_V("WX_${LIB} : ${WX_${LIB}}") DBG_MSG_V("WX_${LIB}d : ${WX_${LIB}d}") if(WX_${LIB} AND WX_${LIB}d) DBG_MSG_V("Found ${LIB} and ${LIB}d") list(APPEND wxWidgets_LIBRARIES debug ${WX_${LIB}d} optimized ${WX_${LIB}} ) else() DBG_MSG_V("- not found due to missing WX_${LIB}=${WX_${LIB}} or WX_${LIB}d=${WX_${LIB}d}") set(wxWidgets_FOUND FALSE) endif() endforeach() else() foreach(LIB ${${_LIBS}}) DBG_MSG_V("Searching for ${LIB}${_DBG}") DBG_MSG_V("WX_${LIB}${_DBG} : ${WX_${LIB}${_DBG}}") if(WX_${LIB}${_DBG}) DBG_MSG_V("Found ${LIB}${_DBG}") list(APPEND wxWidgets_LIBRARIES ${WX_${LIB}${_DBG}}) else() DBG_MSG_V( "- not found due to missing WX_${LIB}${_DBG}=${WX_${LIB}${_DBG}}") set(wxWidgets_FOUND FALSE) endif() endforeach() endif() DBG_MSG_V("OpenGL") list(FIND ${_LIBS} gl WX_USE_GL) if(NOT WX_USE_GL EQUAL -1) DBG_MSG_V("- is required.") list(APPEND wxWidgets_LIBRARIES opengl32 glu32) endif() list(APPEND wxWidgets_LIBRARIES winmm comctl32 rpcrt4 wsock32) endmacro() #------------------------------------------------------------------- # WIN32: Start actual work. #------------------------------------------------------------------- # Look for an installation tree. find_path(wxWidgets_ROOT_DIR NAMES include/wx/wx.h PATHS ENV wxWidgets_ROOT_DIR ENV WXWIN "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path]" # WX 2.6.x C:/ D:/ ENV ProgramFiles PATH_SUFFIXES wxWidgets-2.9.4 wxWidgets-2.9.3 wxWidgets-2.9.2 wxWidgets-2.9.1 wxWidgets-2.9.0 wxWidgets-2.8.9 wxWidgets-2.8.8 wxWidgets-2.8.7 wxWidgets-2.8.6 wxWidgets-2.8.5 wxWidgets-2.8.4 wxWidgets-2.8.3 wxWidgets-2.8.2 wxWidgets-2.8.1 wxWidgets-2.8.0 wxWidgets-2.7.4 wxWidgets-2.7.3 wxWidgets-2.7.2 wxWidgets-2.7.1 wxWidgets-2.7.0 wxWidgets-2.7.0-1 wxWidgets-2.6.4 wxWidgets-2.6.3 wxWidgets-2.6.2 wxWidgets-2.6.1 wxWidgets-2.5.4 wxWidgets-2.5.3 wxWidgets-2.5.2 wxWidgets-2.5.1 wxWidgets DOC "wxWidgets base/installation directory" ) # If wxWidgets_ROOT_DIR changed, clear lib dir. if(NOT WX_ROOT_DIR STREQUAL wxWidgets_ROOT_DIR) set(WX_ROOT_DIR ${wxWidgets_ROOT_DIR} CACHE INTERNAL "wxWidgets_ROOT_DIR") set(wxWidgets_LIB_DIR "wxWidgets_LIB_DIR-NOTFOUND" CACHE PATH "Cleared." FORCE) endif() if(WX_ROOT_DIR) # Select one default tree inside the already determined wx tree. # Prefer static/shared order usually consistent with build # settings. if(MINGW) set(WX_LIB_DIR_PREFIX gcc) else() set(WX_LIB_DIR_PREFIX vc) endif() if(BUILD_SHARED_LIBS) find_path(wxWidgets_LIB_DIR NAMES msw/wx/setup.h mswd/wx/setup.h mswu/wx/setup.h mswud/wx/setup.h mswuniv/wx/setup.h mswunivd/wx/setup.h mswunivu/wx/setup.h mswunivud/wx/setup.h PATHS ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_dll # prefer shared ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_lib DOC "Path to wxWidgets libraries" NO_DEFAULT_PATH ) else() find_path(wxWidgets_LIB_DIR NAMES msw/wx/setup.h mswd/wx/setup.h mswu/wx/setup.h mswud/wx/setup.h mswuniv/wx/setup.h mswunivd/wx/setup.h mswunivu/wx/setup.h mswunivud/wx/setup.h PATHS ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_lib # prefer static ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_dll DOC "Path to wxWidgets libraries" NO_DEFAULT_PATH ) endif() # If wxWidgets_LIB_DIR changed, clear all libraries. if(NOT WX_LIB_DIR STREQUAL wxWidgets_LIB_DIR) set(WX_LIB_DIR ${wxWidgets_LIB_DIR} CACHE INTERNAL "wxWidgets_LIB_DIR") WX_CLEAR_ALL_DBG_LIBS() WX_CLEAR_ALL_REL_LIBS() endif() if(WX_LIB_DIR) # If building shared libs, define WXUSINGDLL to use dllimport. if(WX_LIB_DIR MATCHES ".*[dD][lL][lL].*") set(wxWidgets_DEFINITIONS WXUSINGDLL) DBG_MSG_V("detected SHARED/DLL tree WX_LIB_DIR=${WX_LIB_DIR}") endif() # Search for available configuration types. foreach(CFG mswunivud mswunivd mswud mswd mswunivu mswuniv mswu msw) set(WX_${CFG}_FOUND FALSE) if(EXISTS ${WX_LIB_DIR}/${CFG}) list(APPEND WX_CONFIGURATION_LIST ${CFG}) set(WX_${CFG}_FOUND TRUE) set(WX_CONFIGURATION ${CFG}) endif() endforeach() DBG_MSG_V("WX_CONFIGURATION_LIST=${WX_CONFIGURATION_LIST}") if(WX_CONFIGURATION) set(wxWidgets_FOUND TRUE) # If the selected configuration wasn't found force the default # one. Otherwise, use it but still force a refresh for # updating the doc string with the current list of available # configurations. if(NOT WX_${wxWidgets_CONFIGURATION}_FOUND) set(wxWidgets_CONFIGURATION ${WX_CONFIGURATION} CACHE STRING "Set wxWidgets configuration (${WX_CONFIGURATION_LIST})" FORCE) else() set(wxWidgets_CONFIGURATION ${wxWidgets_CONFIGURATION} CACHE STRING "Set wxWidgets configuration (${WX_CONFIGURATION_LIST})" FORCE) endif() # If release config selected, and both release/debug exist. if(WX_${wxWidgets_CONFIGURATION}d_FOUND) option(wxWidgets_USE_REL_AND_DBG "Use release and debug configurations?" TRUE) set(WX_USE_REL_AND_DBG ${wxWidgets_USE_REL_AND_DBG}) else() # If the option exists (already in cache), force it false. if(wxWidgets_USE_REL_AND_DBG) set(wxWidgets_USE_REL_AND_DBG FALSE CACHE BOOL "No ${wxWidgets_CONFIGURATION}d found." FORCE) endif() set(WX_USE_REL_AND_DBG FALSE) endif() # Get configuration parameters from the name. WX_GET_NAME_COMPONENTS(${wxWidgets_CONFIGURATION} UNV UCD DBG) # Set wxWidgets lib setup include directory. if(EXISTS ${WX_LIB_DIR}/${wxWidgets_CONFIGURATION}/wx/setup.h) set(wxWidgets_INCLUDE_DIRS ${WX_LIB_DIR}/${wxWidgets_CONFIGURATION}) else() DBG_MSG("wxWidgets_FOUND FALSE because ${WX_LIB_DIR}/${wxWidgets_CONFIGURATION}/wx/setup.h does not exists.") set(wxWidgets_FOUND FALSE) endif() # Set wxWidgets main include directory. if(EXISTS ${WX_ROOT_DIR}/include/wx/wx.h) list(APPEND wxWidgets_INCLUDE_DIRS ${WX_ROOT_DIR}/include) else() DBG_MSG("wxWidgets_FOUND FALSE because WX_ROOT_DIR=${WX_ROOT_DIR} has no ${WX_ROOT_DIR}/include/wx/wx.h") set(wxWidgets_FOUND FALSE) endif() # Find wxWidgets libraries. WX_FIND_LIBS("${UNV}" "${UCD}" "${DBG}") if(WX_USE_REL_AND_DBG) WX_FIND_LIBS("${UNV}" "${UCD}" "d") endif() # Settings for requested libs (i.e., include dir, libraries, etc.). WX_SET_LIBRARIES(wxWidgets_FIND_COMPONENTS "${DBG}") # Add necessary definitions for unicode builds if("${UCD}" STREQUAL "u") list(APPEND wxWidgets_DEFINITIONS UNICODE _UNICODE) endif() # Add necessary definitions for debug builds set(wxWidgets_DEFINITIONS_DEBUG _DEBUG __WXDEBUG__) endif() endif() endif() #===================================================================== # UNIX_FIND_STYLE #===================================================================== else() if(wxWidgets_FIND_STYLE STREQUAL "unix") #----------------------------------------------------------------- # UNIX: Helper MACROS #----------------------------------------------------------------- # # Set the default values based on "wx-config --selected-config". # macro(WX_CONFIG_SELECT_GET_DEFAULT) execute_process( COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" ${wxWidgets_CONFIG_OPTIONS} --selected-config OUTPUT_VARIABLE _wx_selected_config RESULT_VARIABLE _wx_result ERROR_QUIET ) if(_wx_result EQUAL 0) foreach(_opt_name debug static unicode universal) string(TOUPPER ${_opt_name} _upper_opt_name) if(_wx_selected_config MATCHES ".*${_opt_name}.*") set(wxWidgets_DEFAULT_${_upper_opt_name} ON) else() set(wxWidgets_DEFAULT_${_upper_opt_name} OFF) endif() endforeach() else() foreach(_upper_opt_name DEBUG STATIC UNICODE UNIVERSAL) set(wxWidgets_DEFAULT_${_upper_opt_name} OFF) endforeach() endif() endmacro() # # Query a boolean configuration option to determine if the system # has both builds available. If so, provide the selection option # to the user. # macro(WX_CONFIG_SELECT_QUERY_BOOL _OPT_NAME _OPT_HELP) execute_process( COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" ${wxWidgets_CONFIG_OPTIONS} --${_OPT_NAME}=yes RESULT_VARIABLE _wx_result_yes OUTPUT_QUIET ERROR_QUIET ) execute_process( COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" ${wxWidgets_CONFIG_OPTIONS} --${_OPT_NAME}=no RESULT_VARIABLE _wx_result_no OUTPUT_QUIET ERROR_QUIET ) string(TOUPPER ${_OPT_NAME} _UPPER_OPT_NAME) if(_wx_result_yes EQUAL 0 AND _wx_result_no EQUAL 0) option(wxWidgets_USE_${_UPPER_OPT_NAME} ${_OPT_HELP} ${wxWidgets_DEFAULT_${_UPPER_OPT_NAME}}) else() # If option exists (already in cache), force to available one. if(DEFINED wxWidgets_USE_${_UPPER_OPT_NAME}) if(_wx_result_yes EQUAL 0) set(wxWidgets_USE_${_UPPER_OPT_NAME} ON CACHE BOOL ${_OPT_HELP} FORCE) else() set(wxWidgets_USE_${_UPPER_OPT_NAME} OFF CACHE BOOL ${_OPT_HELP} FORCE) endif() endif() endif() endmacro() # # Set wxWidgets_SELECT_OPTIONS to wx-config options for selecting # among multiple builds. # macro(WX_CONFIG_SELECT_SET_OPTIONS) set(wxWidgets_SELECT_OPTIONS ${wxWidgets_CONFIG_OPTIONS}) foreach(_opt_name debug static unicode universal) string(TOUPPER ${_opt_name} _upper_opt_name) if(DEFINED wxWidgets_USE_${_upper_opt_name}) if(wxWidgets_USE_${_upper_opt_name}) list(APPEND wxWidgets_SELECT_OPTIONS --${_opt_name}=yes) else() list(APPEND wxWidgets_SELECT_OPTIONS --${_opt_name}=no) endif() endif() endforeach() endmacro() #----------------------------------------------------------------- # UNIX: Start actual work. #----------------------------------------------------------------- # Support cross-compiling, only search in the target platform. find_program(wxWidgets_CONFIG_EXECUTABLE wx-config DOC "Location of wxWidgets library configuration provider binary (wx-config)." ONLY_CMAKE_FIND_ROOT_PATH ) if(wxWidgets_CONFIG_EXECUTABLE) set(wxWidgets_FOUND TRUE) # get defaults based on "wx-config --selected-config" WX_CONFIG_SELECT_GET_DEFAULT() # for each option: if both builds are available, provide option WX_CONFIG_SELECT_QUERY_BOOL(debug "Use debug build?") WX_CONFIG_SELECT_QUERY_BOOL(unicode "Use unicode build?") WX_CONFIG_SELECT_QUERY_BOOL(universal "Use universal build?") WX_CONFIG_SELECT_QUERY_BOOL(static "Link libraries statically?") # process selection to set wxWidgets_SELECT_OPTIONS WX_CONFIG_SELECT_SET_OPTIONS() DBG_MSG("wxWidgets_SELECT_OPTIONS=${wxWidgets_SELECT_OPTIONS}") # run the wx-config program to get cxxflags execute_process( COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" ${wxWidgets_SELECT_OPTIONS} --cxxflags OUTPUT_VARIABLE wxWidgets_CXX_FLAGS RESULT_VARIABLE RET ERROR_QUIET ) if(RET EQUAL 0) string(STRIP "${wxWidgets_CXX_FLAGS}" wxWidgets_CXX_FLAGS) separate_arguments(wxWidgets_CXX_FLAGS) DBG_MSG_V("wxWidgets_CXX_FLAGS=${wxWidgets_CXX_FLAGS}") # parse definitions from cxxflags; # drop -D* from CXXFLAGS and the -D prefix string(REGEX MATCHALL "-D[^;]+" wxWidgets_DEFINITIONS "${wxWidgets_CXX_FLAGS}") string(REGEX REPLACE "-D[^;]+(;|$)" "" wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}") string(REGEX REPLACE ";$" "" wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}") string(REPLACE "-D" "" wxWidgets_DEFINITIONS "${wxWidgets_DEFINITIONS}") # parse include dirs from cxxflags; drop -I prefix string(REGEX MATCHALL "-I[^;]+" wxWidgets_INCLUDE_DIRS "${wxWidgets_CXX_FLAGS}") string(REGEX REPLACE "-I[^;]+;" "" wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}") string(REPLACE "-I" "" wxWidgets_INCLUDE_DIRS "${wxWidgets_INCLUDE_DIRS}") DBG_MSG_V("wxWidgets_DEFINITIONS=${wxWidgets_DEFINITIONS}") DBG_MSG_V("wxWidgets_INCLUDE_DIRS=${wxWidgets_INCLUDE_DIRS}") DBG_MSG_V("wxWidgets_CXX_FLAGS=${wxWidgets_CXX_FLAGS}") else() set(wxWidgets_FOUND FALSE) DBG_MSG_V( "${wxWidgets_CONFIG_EXECUTABLE} --cxxflags FAILED with RET=${RET}") endif() # run the wx-config program to get the libs # - NOTE: wx-config doesn't verify that the libs requested exist # it just produces the names. Maybe a TRY_COMPILE would # be useful here... string(REPLACE ";" "," wxWidgets_FIND_COMPONENTS "${wxWidgets_FIND_COMPONENTS}") execute_process( COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" ${wxWidgets_SELECT_OPTIONS} --libs ${wxWidgets_FIND_COMPONENTS} OUTPUT_VARIABLE wxWidgets_LIBRARIES RESULT_VARIABLE RET ERROR_QUIET ) if(RET EQUAL 0) string(STRIP "${wxWidgets_LIBRARIES}" wxWidgets_LIBRARIES) separate_arguments(wxWidgets_LIBRARIES) string(REPLACE "-framework;" "-framework " wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}") string(REPLACE "-arch;" "-arch " wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}") string(REPLACE "-isysroot;" "-isysroot " wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}") # extract linkdirs (-L) for rpath (i.e., LINK_DIRECTORIES) string(REGEX MATCHALL "-L[^;]+" wxWidgets_LIBRARY_DIRS "${wxWidgets_LIBRARIES}") string(REPLACE "-L" "" wxWidgets_LIBRARY_DIRS "${wxWidgets_LIBRARY_DIRS}") DBG_MSG_V("wxWidgets_LIBRARIES=${wxWidgets_LIBRARIES}") DBG_MSG_V("wxWidgets_LIBRARY_DIRS=${wxWidgets_LIBRARY_DIRS}") else() set(wxWidgets_FOUND FALSE) DBG_MSG("${wxWidgets_CONFIG_EXECUTABLE} --libs ${wxWidgets_FIND_COMPONENTS} FAILED with RET=${RET}") endif() endif() #===================================================================== # Neither UNIX_FIND_STYLE, nor WIN32_FIND_STYLE #===================================================================== else() if(NOT wxWidgets_FIND_QUIETLY) message(STATUS "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): \n" " Platform unknown/unsupported. It's neither WIN32 nor UNIX " "find style." ) endif() endif() endif() # Debug output: DBG_MSG("wxWidgets_FOUND : ${wxWidgets_FOUND}") DBG_MSG("wxWidgets_INCLUDE_DIRS : ${wxWidgets_INCLUDE_DIRS}") DBG_MSG("wxWidgets_LIBRARY_DIRS : ${wxWidgets_LIBRARY_DIRS}") DBG_MSG("wxWidgets_LIBRARIES : ${wxWidgets_LIBRARIES}") DBG_MSG("wxWidgets_CXX_FLAGS : ${wxWidgets_CXX_FLAGS}") DBG_MSG("wxWidgets_USE_FILE : ${wxWidgets_USE_FILE}") #===================================================================== #===================================================================== include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(wxWidgets DEFAULT_MSG wxWidgets_FOUND) # Maintain consistency with all other variables. set(wxWidgets_FOUND ${WXWIDGETS_FOUND}) #===================================================================== # Macros for use in wxWidgets apps. # - This module will not fail to find wxWidgets based on the code # below. Hence, it's required to check for validity of: # # wxWidgets_wxrc_EXECUTABLE #===================================================================== # Resource file compiler. find_program(wxWidgets_wxrc_EXECUTABLE wxrc ${wxWidgets_ROOT_DIR}/utils/wxrc/vc_msw DOC "Location of wxWidgets resource file compiler binary (wxrc)" ) # # WX_SPLIT_ARGUMENTS_ON( ...) # # Sets and to contain arguments to the left and right, # respectively, of . # # Example usage: # function(WXWIDGETS_ADD_RESOURCES outfiles) # WX_SPLIT_ARGUMENTS_ON(OPTIONS wxrc_files wxrc_options ${ARGN}) # ... # endfunction() # # WXWIDGETS_ADD_RESOURCES(sources ${xrc_files} OPTIONS -e -o file.C) # # NOTE: This is a generic piece of code that should be renamed to # SPLIT_ARGUMENTS_ON and put in a file serving the same purpose as # FindPackageStandardArgs.cmake. At the time of this writing # FindQt4.cmake has a QT4_EXTRACT_OPTIONS, which I basically copied # here a bit more generalized. So, there are already two find modules # using this approach. # function(WX_SPLIT_ARGUMENTS_ON _keyword _leftvar _rightvar) # FIXME: Document that the input variables will be cleared. #list(APPEND ${_leftvar} "") #list(APPEND ${_rightvar} "") set(${_leftvar} "") set(${_rightvar} "") set(_doing_right FALSE) foreach(element ${ARGN}) if("${element}" STREQUAL "${_keyword}") set(_doing_right TRUE) else() if(_doing_right) list(APPEND ${_rightvar} "${element}") else() list(APPEND ${_leftvar} "${element}") endif() endif() endforeach() set(${_leftvar} ${${_leftvar}} PARENT_SCOPE) set(${_rightvar} ${${_rightvar}} PARENT_SCOPE) endfunction() # # WX_GET_DEPENDENCIES_FROM_XML( # # # # # # ) # # FIXME: Add documentation here... # function(WX_GET_DEPENDENCIES_FROM_XML _depends _match_patt _clean_patt _xml_contents _depends_path ) string(REGEX MATCHALL ${_match_patt} dep_file_list "${${_xml_contents}}" ) foreach(dep_file ${dep_file_list}) string(REGEX REPLACE ${_clean_patt} "" dep_file "${dep_file}") # make the file have an absolute path if(NOT IS_ABSOLUTE "${dep_file}") set(dep_file "${${_depends_path}}/${dep_file}") endif() # append file to dependency list list(APPEND ${_depends} "${dep_file}") endforeach() set(${_depends} ${${_depends}} PARENT_SCOPE) endfunction() # # WXWIDGETS_ADD_RESOURCES( # OPTIONS [NO_CPP_CODE]) # # Adds a custom command for resource file compilation of the # and appends the output files to . # # Example usages: # WXWIDGETS_ADD_RESOURCES(sources xrc/main_frame.xrc) # WXWIDGETS_ADD_RESOURCES(sources ${xrc_files} OPTIONS -e -o altname.cxx) # function(WXWIDGETS_ADD_RESOURCES _outfiles) WX_SPLIT_ARGUMENTS_ON(OPTIONS rc_file_list rc_options ${ARGN}) # Parse files for dependencies. set(rc_file_list_abs "") set(rc_depends "") foreach(rc_file ${rc_file_list}) get_filename_component(depends_path ${rc_file} PATH) get_filename_component(rc_file_abs ${rc_file} ABSOLUTE) list(APPEND rc_file_list_abs "${rc_file_abs}") # All files have absolute paths or paths relative to the location # of the rc file. file(READ "${rc_file_abs}" rc_file_contents) # get bitmap/bitmap2 files WX_GET_DEPENDENCIES_FROM_XML( rc_depends "]*>" rc_file_contents depends_path ) # get url files WX_GET_DEPENDENCIES_FROM_XML( rc_depends "]*>" rc_file_contents depends_path ) # get wxIcon files WX_GET_DEPENDENCIES_FROM_XML( rc_depends "]*class=\"wxIcon\"[^<]+" "^]*>" rc_file_contents depends_path ) endforeach() # # Parse options. # # If NO_CPP_CODE option specified, then produce .xrs file rather # than a .cpp file (i.e., don't add the default --cpp-code option). list(FIND rc_options NO_CPP_CODE index) if(index EQUAL -1) list(APPEND rc_options --cpp-code) # wxrc's default output filename for cpp code. set(outfile resource.cpp) else() list(REMOVE_AT rc_options ${index}) # wxrc's default output filename for xrs file. set(outfile resource.xrs) endif() # Get output name for use in ADD_CUSTOM_COMMAND. # - short option scanning list(FIND rc_options -o index) if(NOT index EQUAL -1) math(EXPR filename_index "${index} + 1") list(GET rc_options ${filename_index} outfile) #list(REMOVE_AT rc_options ${index} ${filename_index}) endif() # - long option scanning string(REGEX MATCH "--output=[^;]*" outfile_opt "${rc_options}") if(outfile_opt) string(REPLACE "--output=" "" outfile "${outfile_opt}") endif() #string(REGEX REPLACE "--output=[^;]*;?" "" rc_options "${rc_options}") #string(REGEX REPLACE ";$" "" rc_options "${rc_options}") if(NOT IS_ABSOLUTE "${outfile}") set(outfile "${CMAKE_CURRENT_BINARY_DIR}/${outfile}") endif() add_custom_command( OUTPUT "${outfile}" COMMAND ${wxWidgets_wxrc_EXECUTABLE} ${rc_options} ${rc_file_list_abs} DEPENDS ${rc_file_list_abs} ${rc_depends} ) # Add generated header to output file list. list(FIND rc_options -e short_index) list(FIND rc_options --extra-cpp-code long_index) if(NOT short_index EQUAL -1 OR NOT long_index EQUAL -1) get_filename_component(outfile_ext ${outfile} EXT) string(REPLACE "${outfile_ext}" ".h" outfile_header "${outfile}") list(APPEND ${_outfiles} "${outfile_header}") set_source_files_properties( "${outfile_header}" PROPERTIES GENERATED TRUE ) endif() # Add generated file to output file list. list(APPEND ${_outfiles} "${outfile}") set(${_outfiles} ${${_outfiles}} PARENT_SCOPE) endfunction() cmake-2.8.12.2/Modules/FindwxWindows.cmake000644 000765 000024 00000060236 12266011634 021071 0ustar00kitwarestaff000000 000000 # - Find wxWindows (wxWidgets) installation # This module finds if wxWindows/wxWidgets is installed and determines where # the include files and libraries are. It also determines what the name of # the library is. # Please note this file is DEPRECATED and replaced by FindwxWidgets.cmake. # This code sets the following variables: # # WXWINDOWS_FOUND = system has WxWindows # WXWINDOWS_LIBRARIES = path to the wxWindows libraries # on Unix/Linux with additional # linker flags from # "wx-config --libs" # CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for wxWindows, # essentially "`wx-config --cxxflags`" # on Linux # WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h" and "wx/setup.h" # WXWINDOWS_LINK_DIRECTORIES = link directories, useful for rpath on # Unix # WXWINDOWS_DEFINITIONS = extra defines # # OPTIONS # If you need OpenGL support please # set(WXWINDOWS_USE_GL 1) # in your CMakeLists.txt *before* you include this file. # # HAVE_ISYSTEM - true required to replace -I by -isystem on g++ # # For convenience include Use_wxWindows.cmake in your project's # CMakeLists.txt using include(${CMAKE_CURRENT_LIST_DIR}/Use_wxWindows.cmake). # # USAGE # set(WXWINDOWS_USE_GL 1) # find_package(wxWindows) # # NOTES # wxWidgets 2.6.x is supported for monolithic builds # e.g. compiled in wx/build/msw dir as: # nmake -f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 MONOLITHIC=1 # # DEPRECATED # # CMAKE_WX_CAN_COMPILE # WXWINDOWS_LIBRARY # CMAKE_WX_CXX_FLAGS # WXWINDOWS_INCLUDE_PATH # # AUTHOR # Jan Woetzel (07/2003-01/2006) #============================================================================= # Copyright 2000-2009 Kitware, Inc. # Copyright 2003-2006 Jan Woetzel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # ------------------------------------------------------------------ # # -removed OPTION for CMAKE_WXWINDOWS_USE_GL. Force the developer to SET it before calling this. # -major update for wx 2.6.2 and monolithic build option. (10/2005) # # STATUS # tested with: # cmake 1.6.7, Linux (Suse 7.3), wxWindows 2.4.0, gcc 2.95 # cmake 1.6.7, Linux (Suse 8.2), wxWindows 2.4.0, gcc 3.3 # cmake 1.6.7, Linux (Suse 8.2), wxWindows 2.4.1-patch1, gcc 3.3 # cmake 1.6.7, MS Windows XP home, wxWindows 2.4.1, MS Visual Studio .net 7 2002 (static build) # cmake 2.0.5 on Windows XP and Suse Linux 9.2 # cmake 2.0.6 on Windows XP and Suse Linux 9.2, wxWidgets 2.6.2 MONOLITHIC build # cmake 2.2.2 on Windows XP, MS Visual Studio .net 2003 7.1 wxWidgets 2.6.2 MONOLITHIC build # # TODO # -OPTION for unicode builds # -further testing of DLL linking under MS WIN32 # -better support for non-monolithic builds # if(WIN32) set(WIN32_STYLE_FIND 1) endif() if(MINGW) set(WIN32_STYLE_FIND 0) set(UNIX_STYLE_FIND 1) endif() if(UNIX) set(UNIX_STYLE_FIND 1) endif() if(WIN32_STYLE_FIND) ## ###################################################################### ## ## Windows specific: ## ## candidates for root/base directory of wxwindows ## should have subdirs include and lib containing include/wx/wx.h ## fix the root dir to avoid mixing of headers/libs from different ## versions/builds: ## WX supports monolithic and multiple smaller libs (since 2.5.x), we prefer monolithic for now. ## monolithic = WX is built as a single big library ## e.g. compile on WIN32 as "nmake -f makefile.vc MONOLITHIC=1 BUILD=debug SHARED=0 USE_OPENGL=1" (JW) option(WXWINDOWS_USE_MONOLITHIC "Use monolithic build of WX??" ON) mark_as_advanced(WXWINDOWS_USE_MONOLITHIC) ## GL libs used? option(WXWINDOWS_USE_GL "Use Wx with GL support(glcanvas)?" ON) mark_as_advanced(WXWINDOWS_USE_GL) ## avoid mixing of headers and libs between multiple installed WX versions, ## select just one tree here: find_path(WXWINDOWS_ROOT_DIR include/wx/wx.h HINTS ENV WXWIN "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path]" ## WX 2.6.x "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWindows_is1;Inno Setup: App Path]" ## WX 2.4.x PATHS C:/wxWidgets-2.6.2 D:/wxWidgets-2.6.2 C:/wxWidgets-2.6.1 D:/wxWidgets-2.6.1 C:/wxWindows-2.4.2 D:/wxWindows-2.4.2 ) # message("DBG found WXWINDOWS_ROOT_DIR: ${WXWINDOWS_ROOT_DIR}") ## find libs for combination of static/shared with release/debug ## be careful if you add something here, ## avoid mixing of headers and libs of different wx versions, ## there may be multiple WX versions installed. set (WXWINDOWS_POSSIBLE_LIB_PATHS "${WXWINDOWS_ROOT_DIR}/lib" ) ## monolithic? if (WXWINDOWS_USE_MONOLITHIC) find_library(WXWINDOWS_STATIC_LIBRARY NAMES wx wxmsw wxmsw26 PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static release build library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY NAMES wxd wxmswd wxmsw26d PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug build library" ) find_library(WXWINDOWS_SHARED_LIBRARY NAMES wxmsw26 wxmsw262 wxmsw24 wxmsw242 wxmsw241 wxmsw240 wx23_2 wx22_9 PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared release build library" ) find_library(WXWINDOWS_SHARED_DEBUG_LIBRARY NAMES wxmsw26d wxmsw262d wxmsw24d wxmsw241d wxmsw240d wx23_2d wx22_9d PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared debug build library " ) ## ## required for WXWINDOWS_USE_GL ## gl lib is always build separate: ## find_library(WXWINDOWS_STATIC_LIBRARY_GL NAMES wx_gl wxmsw_gl wxmsw26_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static release build GL library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_GL NAMES wxd_gl wxmswd_gl wxmsw26d_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug build GL library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_PNG NAMES wxpngd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug png library" ) find_library(WXWINDOWS_STATIC_LIBRARY_PNG NAMES wxpng PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static png library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_TIFF NAMES wxtiffd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug tiff library" ) find_library(WXWINDOWS_STATIC_LIBRARY_TIFF NAMES wxtiff PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static tiff library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_JPEG NAMES wxjpegd wxjpgd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug jpeg library" ) find_library(WXWINDOWS_STATIC_LIBRARY_JPEG NAMES wxjpeg wxjpg PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static jpeg library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_ZLIB NAMES wxzlibd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug zlib library" ) find_library(WXWINDOWS_STATIC_LIBRARY_ZLIB NAMES wxzlib PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static zib library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_REGEX NAMES wxregexd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug regex library" ) find_library(WXWINDOWS_STATIC_LIBRARY_REGEX NAMES wxregex PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static regex library" ) ## untested: find_library(WXWINDOWS_SHARED_LIBRARY_GL NAMES wx_gl wxmsw_gl wxmsw26_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared release build GL library" ) find_library(WXWINDOWS_SHARED_DEBUG_LIBRARY_GL NAMES wxd_gl wxmswd_gl wxmsw26d_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared debug build GL library" ) else () ## WX is built as multiple small pieces libraries instead of monolithic ## DEPECATED (jw) replaced by more general WXWINDOWS_USE_MONOLITHIC ON/OFF # option(WXWINDOWS_SEPARATE_LIBS_BUILD "Is wxWindows build with separate libs?" OFF) ## HACK: This is very dirty. ## because the libs of a particular version are explicitly listed ## and NOT searched/verified. ## TODO: Really search for each lib, then decide for ## monolithic x debug x shared x GL (=16 combinations) for at least 18 libs ## --> about 288 combinations ## thus we need a different approach so solve this correctly ... message(STATUS "Warning: You are trying to use wxWidgets without monolithic build (WXWINDOWS_SEPARATE_LIBS_BUILD). This is a HACK, libraries are not verified! (JW).") set(WXWINDOWS_STATIC_LIBS ${WXWINDOWS_STATIC_LIBS} wxbase26 wxbase26_net wxbase26_odbc wxbase26_xml wxmsw26_adv wxmsw26_core wxmsw26_dbgrid wxmsw26_gl wxmsw26_html wxmsw26_media wxmsw26_qa wxmsw26_xrc wxexpat wxjpeg wxpng wxregex wxtiff wxzlib comctl32 rpcrt4 wsock32 ) ## HACK: feed in to optimized / debug libraries if both were FOUND. set(WXWINDOWS_STATIC_DEBUG_LIBS ${WXWINDOWS_STATIC_DEBUG_LIBS} wxbase26d wxbase26d_net wxbase26d_odbc wxbase26d_xml wxmsw26d_adv wxmsw26d_core wxmsw26d_dbgrid wxmsw26d_gl wxmsw26d_html wxmsw26d_media wxmsw26d_qa wxmsw26d_xrc wxexpatd wxjpegd wxpngd wxregexd wxtiffd wxzlibd comctl32 rpcrt4 wsock32 ) endif () ## ## now we should have found all WX libs available on the system. ## let the user decide which of the available onse to use. ## ## if there is at least one shared lib available ## let user choose whether to use shared or static wxwindows libs if(WXWINDOWS_SHARED_LIBRARY OR WXWINDOWS_SHARED_DEBUG_LIBRARY) ## default value OFF because wxWindows MSVS default build is static option(WXWINDOWS_USE_SHARED_LIBS "Use shared versions (dll) of wxWindows libraries?" OFF) mark_as_advanced(WXWINDOWS_USE_SHARED_LIBS) endif() ## add system libraries wxwindows always seems to depend on set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} comctl32 rpcrt4 wsock32 ) if (NOT WXWINDOWS_USE_SHARED_LIBS) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ## these ones dont seem required, in particular ctl3d32 is not neccesary (Jan Woetzel 07/2003) # ctl3d32 debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_ZLIB} optimized ${WXWINDOWS_STATIC_LIBRARY_ZLIB} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_REGEX} optimized ${WXWINDOWS_STATIC_LIBRARY_REGEX} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_PNG} optimized ${WXWINDOWS_STATIC_LIBRARY_PNG} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_JPEG} optimized ${WXWINDOWS_STATIC_LIBRARY_JPEG} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_TIFF} optimized ${WXWINDOWS_STATIC_LIBRARY_TIFF} ) endif () ## opengl/glu: TODO/FIXME: better use FindOpenGL.cmake here ## assume release versions of glu an dopengl, here. if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} opengl32 glu32 ) endif () ## ## select between use of shared or static wxWindows lib then set libs to use ## for debug and optimized build. so the user can switch between debug and ## release build e.g. within MS Visual Studio without running cmake with a ## different build directory again. ## ## then add the build specific include dir for wx/setup.h ## if(WXWINDOWS_USE_SHARED_LIBS) ##message("DBG wxWindows use shared lib selected.") ## assume that both builds use the same setup(.h) for simplicity ## shared: both wx (debug and release) found? ## assume that both builds use the same setup(.h) for simplicity if(WXWINDOWS_SHARED_DEBUG_LIBRARY AND WXWINDOWS_SHARED_LIBRARY) ##message("DBG wx shared: debug and optimized found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswdlld ${WXWINDOWS_ROOT_DIR}/lib/mswdll ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/mswd ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_SHARED_DEBUG_LIBRARY} optimized ${WXWINDOWS_SHARED_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_SHARED_DEBUG_LIBRARY_GL} optimized ${WXWINDOWS_SHARED_LIBRARY_GL} ) endif () endif() ## shared: only debug wx lib found? if(WXWINDOWS_SHARED_DEBUG_LIBRARY) if(NOT WXWINDOWS_SHARED_LIBRARY) ##message("DBG wx shared: debug (but no optimized) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswdlld ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/mswd ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY_GL} ) endif () endif() endif() ## shared: only release wx lib found? if(NOT WXWINDOWS_SHARED_DEBUG_LIBRARY) if(WXWINDOWS_SHARED_LIBRARY) ##message("DBG wx shared: optimized (but no debug) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswdll ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY_GL} ) endif () endif() endif() ## shared: none found? if(NOT WXWINDOWS_SHARED_DEBUG_LIBRARY) if(NOT WXWINDOWS_SHARED_LIBRARY) message(STATUS "No shared wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=${WXWINDOWS_USE_SHARED_LIBS}.") endif() endif() ######################################################################################### else() ##jw: DEPRECATED if(NOT WXWINDOWS_SEPARATE_LIBS_BUILD) ## static: both wx (debug and release) found? ## assume that both builds use the same setup(.h) for simplicity if(WXWINDOWS_STATIC_DEBUG_LIBRARY AND WXWINDOWS_STATIC_LIBRARY) ##message("DBG wx static: debug and optimized found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswd ${WXWINDOWS_ROOT_DIR}/lib/msw ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/mswd ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY} optimized ${WXWINDOWS_STATIC_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_GL} optimized ${WXWINDOWS_STATIC_LIBRARY_GL} ) endif () endif() ## static: only debug wx lib found? if(WXWINDOWS_STATIC_DEBUG_LIBRARY) if(NOT WXWINDOWS_STATIC_LIBRARY) ##message("DBG wx static: debug (but no optimized) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswd ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/mswd ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_DEBUG_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_DEBUG_LIBRARY_GL} ) endif () endif() endif() ## static: only release wx lib found? if(NOT WXWINDOWS_STATIC_DEBUG_LIBRARY) if(WXWINDOWS_STATIC_LIBRARY) ##message("DBG wx static: optimized (but no debug) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/msw ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_LIBRARY_GL} ) endif () endif() endif() ## static: none found? if(NOT WXWINDOWS_STATIC_DEBUG_LIBRARY AND NOT WXWINDOWS_SEPARATE_LIBS_BUILD) if(NOT WXWINDOWS_STATIC_LIBRARY) message(STATUS "No static wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=${WXWINDOWS_USE_SHARED_LIBS}.") endif() endif() endif() ## not neccessary in wxWindows 2.4.1 and 2.6.2 ## but it may fix a previous bug, see ## http://lists.wxwindows.org/cgi-bin/ezmlm-cgi?8:mss:37574:200305:mpdioeneabobmgjenoap option(WXWINDOWS_SET_DEFINITIONS "Set additional defines for wxWindows" OFF) mark_as_advanced(WXWINDOWS_SET_DEFINITIONS) if (WXWINDOWS_SET_DEFINITIONS) set(WXWINDOWS_DEFINITIONS "-DWINVER=0x400") else () # clear: set(WXWINDOWS_DEFINITIONS "") endif () ## Find the include directories for wxwindows ## the first, build specific for wx/setup.h was determined before. ## add inc dir for general for "wx/wx.h" find_path(WXWINDOWS_INCLUDE_DIR wx/wx.h "${WXWINDOWS_ROOT_DIR}/include" ) ## append the build specific include dir for wx/setup.h: if (WXWINDOWS_INCLUDE_DIR_SETUPH) set(WXWINDOWS_INCLUDE_DIR ${WXWINDOWS_INCLUDE_DIR} ${WXWINDOWS_INCLUDE_DIR_SETUPH} ) endif () mark_as_advanced( WXWINDOWS_ROOT_DIR WXWINDOWS_INCLUDE_DIR WXWINDOWS_INCLUDE_DIR_SETUPH WXWINDOWS_STATIC_LIBRARY WXWINDOWS_STATIC_LIBRARY_GL WXWINDOWS_STATIC_DEBUG_LIBRARY WXWINDOWS_STATIC_DEBUG_LIBRARY_GL WXWINDOWS_STATIC_LIBRARY_ZLIB WXWINDOWS_STATIC_DEBUG_LIBRARY_ZLIB WXWINDOWS_STATIC_LIBRARY_REGEX WXWINDOWS_STATIC_DEBUG_LIBRARY_REGEX WXWINDOWS_STATIC_LIBRARY_PNG WXWINDOWS_STATIC_DEBUG_LIBRARY_PNG WXWINDOWS_STATIC_LIBRARY_JPEG WXWINDOWS_STATIC_DEBUG_LIBRARY_JPEG WXWINDOWS_STATIC_DEBUG_LIBRARY_TIFF WXWINDOWS_STATIC_LIBRARY_TIFF WXWINDOWS_SHARED_LIBRARY WXWINDOWS_SHARED_DEBUG_LIBRARY WXWINDOWS_SHARED_LIBRARY_GL WXWINDOWS_SHARED_DEBUG_LIBRARY_GL ) else() if (UNIX_STYLE_FIND) ## ###################################################################### ## ## UNIX/Linux specific: ## ## use backquoted wx-config to query and set flags and libs: ## 06/2003 Jan Woetzel ## option(WXWINDOWS_USE_SHARED_LIBS "Use shared versions (.so) of wxWindows libraries" ON) mark_as_advanced(WXWINDOWS_USE_SHARED_LIBS) # JW removed option and force the develper th SET it. # option(WXWINDOWS_USE_GL "use wxWindows with GL support (use additional # --gl-libs for wx-config)?" OFF) # wx-config should be in your path anyhow, usually no need to set WXWIN or # search in ../wx or ../../wx find_program(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE wx-config HINTS ENV WXWIN $ENV{WXWIN}/bin PATHS ../wx/bin ../../wx/bin ) # check whether wx-config was found: if(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE) # use shared/static wx lib? # remember: always link shared to use systems GL etc. libs (no static # linking, just link *against* static .a libs) if(WXWINDOWS_USE_SHARED_LIBS) set(WX_CONFIG_ARGS_LIBS "--libs") else() set(WX_CONFIG_ARGS_LIBS "--static --libs") endif() # do we need additionial wx GL stuff like GLCanvas ? if(WXWINDOWS_USE_GL) set(WX_CONFIG_ARGS_LIBS "${WX_CONFIG_ARGS_LIBS} --gl-libs" ) endif() ##message("DBG: WX_CONFIG_ARGS_LIBS=${WX_CONFIG_ARGS_LIBS}===") # set CXXFLAGS to be fed into CMAKE_CXX_FLAGS by the user: if (HAVE_ISYSTEM) # does the compiler support -isystem ? if (NOT APPLE) # -isystem seem sto be unsuppored on Mac if(CMAKE_COMPILER_IS_GNUCC AND CMAKE_COMPILER_IS_GNUCXX ) if (CMAKE_CXX_COMPILER MATCHES g\\+\\+) set(CMAKE_WXWINDOWS_CXX_FLAGS "`${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} --cxxflags|sed -e s/-I/-isystem/g`") else() set(CMAKE_WXWINDOWS_CXX_FLAGS "`${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} --cxxflags`") endif() endif() endif () endif () ##message("DBG: for compilation: ##CMAKE_WXWINDOWS_CXX_FLAGS=${CMAKE_WXWINDOWS_CXX_FLAGS}===") # keep the back-quoted string for clarity set(WXWINDOWS_LIBRARIES "`${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} ${WX_CONFIG_ARGS_LIBS}`") ##message("DBG2: for linking: ##WXWINDOWS_LIBRARIES=${WXWINDOWS_LIBRARIES}===") # evaluate wx-config output to separate linker flags and linkdirs for # rpath: exec_program(${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} ARGS ${WX_CONFIG_ARGS_LIBS} OUTPUT_VARIABLE WX_CONFIG_LIBS ) ## extract linkdirs (-L) for rpath ## use regular expression to match wildcard equivalent "-L*" ## with is a space or a semicolon string(REGEX MATCHALL "[-][L]([^ ;])+" WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX "${WX_CONFIG_LIBS}" ) # message("DBG WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX=${WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX}") ## remove prefix -L because we need the pure directory for LINK_DIRECTORIES ## replace -L by ; because the separator seems to be lost otherwise (bug or ## feature?) if(WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX) string(REGEX REPLACE "[-][L]" ";" WXWINDOWS_LINK_DIRECTORIES ${WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX} ) # message("DBG WXWINDOWS_LINK_DIRECTORIES=${WXWINDOWS_LINK_DIRECTORIES}") endif() ## replace space separated string by semicolon separated vector to make it ## work with LINK_DIRECTORIES separate_arguments(WXWINDOWS_LINK_DIRECTORIES) mark_as_advanced( CMAKE_WXWINDOWS_CXX_FLAGS WXWINDOWS_INCLUDE_DIR WXWINDOWS_LIBRARIES CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE ) ## we really need wx-config... else() message(STATUS "Cannot find wx-config anywhere on the system. Please put the file into your path or specify it in CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE.") mark_as_advanced(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE) endif() else() message(STATUS "FindwxWindows.cmake: Platform unknown/unsupported by FindwxWindows.cmake. It's neither WIN32 nor UNIX") endif() endif() if(WXWINDOWS_LIBRARIES) if(WXWINDOWS_INCLUDE_DIR OR CMAKE_WXWINDOWS_CXX_FLAGS) ## found all we need. set(WXWINDOWS_FOUND 1) ## set deprecated variables for backward compatibility: set(CMAKE_WX_CAN_COMPILE ${WXWINDOWS_FOUND}) set(WXWINDOWS_LIBRARY ${WXWINDOWS_LIBRARIES}) set(WXWINDOWS_INCLUDE_PATH ${WXWINDOWS_INCLUDE_DIR}) set(WXWINDOWS_LINK_DIRECTORIES ${WXWINDOWS_LINK_DIRECTORIES}) set(CMAKE_WX_CXX_FLAGS ${CMAKE_WXWINDOWS_CXX_FLAGS}) endif() endif() cmake-2.8.12.2/Modules/FindX11.cmake000644 000765 000024 00000050070 12266011634 017424 0ustar00kitwarestaff000000 000000 # - Find X11 installation # Try to find X11 on UNIX systems. The following values are defined # X11_FOUND - True if X11 is available # X11_INCLUDE_DIR - include directories to use X11 # X11_LIBRARIES - link against these to use X11 # # and also the following more fine grained variables: # Include paths: X11_ICE_INCLUDE_PATH, X11_ICE_LIB, X11_ICE_FOUND # X11_SM_INCLUDE_PATH, X11_SM_LIB, X11_SM_FOUND # X11_X11_INCLUDE_PATH, X11_X11_LIB # X11_Xaccessrules_INCLUDE_PATH, X11_Xaccess_FOUND # X11_Xaccessstr_INCLUDE_PATH, X11_Xaccess_FOUND # X11_Xau_INCLUDE_PATH, X11_Xau_LIB, X11_Xau_FOUND # X11_Xcomposite_INCLUDE_PATH, X11_Xcomposite_LIB, X11_Xcomposite_FOUND # X11_Xcursor_INCLUDE_PATH, X11_Xcursor_LIB, X11_Xcursor_FOUND # X11_Xdamage_INCLUDE_PATH, X11_Xdamage_LIB, X11_Xdamage_FOUND # X11_Xdmcp_INCLUDE_PATH, X11_Xdmcp_LIB, X11_Xdmcp_FOUND # X11_Xext_LIB, X11_Xext_FOUND # X11_dpms_INCLUDE_PATH, (in X11_Xext_LIB), X11_dpms_FOUND # X11_XShm_INCLUDE_PATH, (in X11_Xext_LIB), X11_XShm_FOUND # X11_Xshape_INCLUDE_PATH, (in X11_Xext_LIB), X11_Xshape_FOUND # X11_xf86misc_INCLUDE_PATH, X11_Xxf86misc_LIB, X11_xf86misc_FOUND # X11_xf86vmode_INCLUDE_PATH, X11_Xxf86vm_LIB X11_xf86vmode_FOUND # X11_Xfixes_INCLUDE_PATH, X11_Xfixes_LIB, X11_Xfixes_FOUND # X11_Xft_INCLUDE_PATH, X11_Xft_LIB, X11_Xft_FOUND # X11_Xi_INCLUDE_PATH, X11_Xi_LIB, X11_Xi_FOUND # X11_Xinerama_INCLUDE_PATH, X11_Xinerama_LIB, X11_Xinerama_FOUND # X11_Xinput_INCLUDE_PATH, X11_Xinput_LIB, X11_Xinput_FOUND # X11_Xkb_INCLUDE_PATH, X11_Xkb_FOUND # X11_Xkblib_INCLUDE_PATH, X11_Xkb_FOUND # X11_Xkbfile_INCLUDE_PATH, X11_Xkbfile_LIB, X11_Xkbfile_FOUND # X11_Xmu_INCLUDE_PATH, X11_Xmu_LIB, X11_Xmu_FOUND # X11_Xpm_INCLUDE_PATH, X11_Xpm_LIB, X11_Xpm_FOUND # X11_XTest_INCLUDE_PATH, X11_XTest_LIB, X11_XTest_FOUND # X11_Xrandr_INCLUDE_PATH, X11_Xrandr_LIB, X11_Xrandr_FOUND # X11_Xrender_INCLUDE_PATH, X11_Xrender_LIB, X11_Xrender_FOUND # X11_Xscreensaver_INCLUDE_PATH, X11_Xscreensaver_LIB, X11_Xscreensaver_FOUND # X11_Xt_INCLUDE_PATH, X11_Xt_LIB, X11_Xt_FOUND # X11_Xutil_INCLUDE_PATH, X11_Xutil_FOUND # X11_Xv_INCLUDE_PATH, X11_Xv_LIB, X11_Xv_FOUND # X11_XSync_INCLUDE_PATH, (in X11_Xext_LIB), X11_XSync_FOUND #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (UNIX) set(X11_FOUND 0) # X11 is never a framework and some header files may be # found in tcl on the mac set(CMAKE_FIND_FRAMEWORK_SAVE ${CMAKE_FIND_FRAMEWORK}) set(CMAKE_FIND_FRAMEWORK NEVER) set(X11_INC_SEARCH_PATH /usr/pkg/xorg/include /usr/X11R6/include /usr/X11R7/include /usr/include/X11 /usr/openwin/include /usr/openwin/share/include /opt/graphics/OpenGL/include /opt/X11/include ) set(X11_LIB_SEARCH_PATH /usr/pkg/xorg/lib /usr/X11R6/lib /usr/X11R7/lib /usr/openwin/lib /opt/X11/lib ) find_path(X11_X11_INCLUDE_PATH X11/X.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xlib_INCLUDE_PATH X11/Xlib.h ${X11_INC_SEARCH_PATH}) # Look for includes; keep the list sorted by name of the cmake *_INCLUDE_PATH # variable (which doesn't need to match the include file name). # Solaris lacks XKBrules.h, so we should skip kxkbd there. find_path(X11_ICE_INCLUDE_PATH X11/ICE/ICE.h ${X11_INC_SEARCH_PATH}) find_path(X11_SM_INCLUDE_PATH X11/SM/SM.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xaccessrules_INCLUDE_PATH X11/extensions/XKBrules.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xaccessstr_INCLUDE_PATH X11/extensions/XKBstr.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xau_INCLUDE_PATH X11/Xauth.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xcomposite_INCLUDE_PATH X11/extensions/Xcomposite.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xcursor_INCLUDE_PATH X11/Xcursor/Xcursor.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xdamage_INCLUDE_PATH X11/extensions/Xdamage.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xdmcp_INCLUDE_PATH X11/Xdmcp.h ${X11_INC_SEARCH_PATH}) find_path(X11_dpms_INCLUDE_PATH X11/extensions/dpms.h ${X11_INC_SEARCH_PATH}) find_path(X11_xf86misc_INCLUDE_PATH X11/extensions/xf86misc.h ${X11_INC_SEARCH_PATH}) find_path(X11_xf86vmode_INCLUDE_PATH X11/extensions/xf86vmode.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xfixes_INCLUDE_PATH X11/extensions/Xfixes.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xft_INCLUDE_PATH X11/Xft/Xft.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xi_INCLUDE_PATH X11/extensions/XInput.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xinerama_INCLUDE_PATH X11/extensions/Xinerama.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xinput_INCLUDE_PATH X11/extensions/XInput.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xkb_INCLUDE_PATH X11/extensions/XKB.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xkblib_INCLUDE_PATH X11/XKBlib.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xkbfile_INCLUDE_PATH X11/extensions/XKBfile.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xmu_INCLUDE_PATH X11/Xmu/Xmu.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xpm_INCLUDE_PATH X11/xpm.h ${X11_INC_SEARCH_PATH}) find_path(X11_XTest_INCLUDE_PATH X11/extensions/XTest.h ${X11_INC_SEARCH_PATH}) find_path(X11_XShm_INCLUDE_PATH X11/extensions/XShm.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xrandr_INCLUDE_PATH X11/extensions/Xrandr.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xrender_INCLUDE_PATH X11/extensions/Xrender.h ${X11_INC_SEARCH_PATH}) find_path(X11_XRes_INCLUDE_PATH X11/extensions/XRes.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xscreensaver_INCLUDE_PATH X11/extensions/scrnsaver.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xshape_INCLUDE_PATH X11/extensions/shape.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xutil_INCLUDE_PATH X11/Xutil.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xt_INCLUDE_PATH X11/Intrinsic.h ${X11_INC_SEARCH_PATH}) find_path(X11_Xv_INCLUDE_PATH X11/extensions/Xvlib.h ${X11_INC_SEARCH_PATH}) find_path(X11_XSync_INCLUDE_PATH X11/extensions/sync.h ${X11_INC_SEARCH_PATH}) find_library(X11_X11_LIB X11 ${X11_LIB_SEARCH_PATH}) # Find additional X libraries. Keep list sorted by library name. find_library(X11_ICE_LIB ICE ${X11_LIB_SEARCH_PATH}) find_library(X11_SM_LIB SM ${X11_LIB_SEARCH_PATH}) find_library(X11_Xau_LIB Xau ${X11_LIB_SEARCH_PATH}) find_library(X11_Xcomposite_LIB Xcomposite ${X11_LIB_SEARCH_PATH}) find_library(X11_Xcursor_LIB Xcursor ${X11_LIB_SEARCH_PATH}) find_library(X11_Xdamage_LIB Xdamage ${X11_LIB_SEARCH_PATH}) find_library(X11_Xdmcp_LIB Xdmcp ${X11_LIB_SEARCH_PATH}) find_library(X11_Xext_LIB Xext ${X11_LIB_SEARCH_PATH}) find_library(X11_Xfixes_LIB Xfixes ${X11_LIB_SEARCH_PATH}) find_library(X11_Xft_LIB Xft ${X11_LIB_SEARCH_PATH}) find_library(X11_Xi_LIB Xi ${X11_LIB_SEARCH_PATH}) find_library(X11_Xinerama_LIB Xinerama ${X11_LIB_SEARCH_PATH}) find_library(X11_Xinput_LIB Xi ${X11_LIB_SEARCH_PATH}) find_library(X11_Xkbfile_LIB xkbfile ${X11_LIB_SEARCH_PATH}) find_library(X11_Xmu_LIB Xmu ${X11_LIB_SEARCH_PATH}) find_library(X11_Xpm_LIB Xpm ${X11_LIB_SEARCH_PATH}) find_library(X11_Xrandr_LIB Xrandr ${X11_LIB_SEARCH_PATH}) find_library(X11_Xrender_LIB Xrender ${X11_LIB_SEARCH_PATH}) find_library(X11_XRes_LIB XRes ${X11_LIB_SEARCH_PATH}) find_library(X11_Xscreensaver_LIB Xss ${X11_LIB_SEARCH_PATH}) find_library(X11_Xt_LIB Xt ${X11_LIB_SEARCH_PATH}) find_library(X11_XTest_LIB Xtst ${X11_LIB_SEARCH_PATH}) find_library(X11_Xv_LIB Xv ${X11_LIB_SEARCH_PATH}) find_library(X11_Xxf86misc_LIB Xxf86misc ${X11_LIB_SEARCH_PATH}) find_library(X11_Xxf86vm_LIB Xxf86vm ${X11_LIB_SEARCH_PATH}) set(X11_LIBRARY_DIR "") if(X11_X11_LIB) get_filename_component(X11_LIBRARY_DIR ${X11_X11_LIB} PATH) endif() set(X11_INCLUDE_DIR) # start with empty list if(X11_X11_INCLUDE_PATH) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_X11_INCLUDE_PATH}) endif() if(X11_Xlib_INCLUDE_PATH) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xlib_INCLUDE_PATH}) endif() if(X11_Xutil_INCLUDE_PATH) set(X11_Xutil_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xutil_INCLUDE_PATH}) endif() if(X11_Xshape_INCLUDE_PATH) set(X11_Xshape_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xshape_INCLUDE_PATH}) endif() set(X11_LIBRARIES) # start with empty list if(X11_X11_LIB) set(X11_LIBRARIES ${X11_LIBRARIES} ${X11_X11_LIB}) endif() if(X11_Xext_LIB) set(X11_Xext_FOUND TRUE) set(X11_LIBRARIES ${X11_LIBRARIES} ${X11_Xext_LIB}) endif() if(X11_Xt_LIB AND X11_Xt_INCLUDE_PATH) set(X11_Xt_FOUND TRUE) endif() if(X11_Xft_LIB AND X11_Xft_INCLUDE_PATH) set(X11_Xft_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xft_INCLUDE_PATH}) endif() if(X11_Xv_LIB AND X11_Xv_INCLUDE_PATH) set(X11_Xv_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xv_INCLUDE_PATH}) endif() if (X11_Xau_LIB AND X11_Xau_INCLUDE_PATH) set(X11_Xau_FOUND TRUE) endif () if (X11_Xdmcp_INCLUDE_PATH AND X11_Xdmcp_LIB) set(X11_Xdmcp_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xdmcp_INCLUDE_PATH}) endif () if (X11_Xaccessrules_INCLUDE_PATH AND X11_Xaccessstr_INCLUDE_PATH) set(X11_Xaccess_FOUND TRUE) set(X11_Xaccess_INCLUDE_PATH ${X11_Xaccessstr_INCLUDE_PATH}) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xaccess_INCLUDE_PATH}) endif () if (X11_Xpm_INCLUDE_PATH AND X11_Xpm_LIB) set(X11_Xpm_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xpm_INCLUDE_PATH}) endif () if (X11_Xcomposite_INCLUDE_PATH AND X11_Xcomposite_LIB) set(X11_Xcomposite_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xcomposite_INCLUDE_PATH}) endif () if (X11_Xdamage_INCLUDE_PATH AND X11_Xdamage_LIB) set(X11_Xdamage_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xdamage_INCLUDE_PATH}) endif () if (X11_XShm_INCLUDE_PATH) set(X11_XShm_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XShm_INCLUDE_PATH}) endif () if (X11_XTest_INCLUDE_PATH AND X11_XTest_LIB) set(X11_XTest_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XTest_INCLUDE_PATH}) endif () if (X11_Xi_INCLUDE_PATH AND X11_Xi_LIB) set(X11_Xi_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xi_INCLUDE_PATH}) endif () if (X11_Xinerama_INCLUDE_PATH AND X11_Xinerama_LIB) set(X11_Xinerama_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xinerama_INCLUDE_PATH}) endif () if (X11_Xfixes_INCLUDE_PATH AND X11_Xfixes_LIB) set(X11_Xfixes_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xfixes_INCLUDE_PATH}) endif () if (X11_Xrender_INCLUDE_PATH AND X11_Xrender_LIB) set(X11_Xrender_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xrender_INCLUDE_PATH}) endif () if (X11_XRes_INCLUDE_PATH AND X11_XRes_LIB) set(X11_XRes_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XRes_INCLUDE_PATH}) endif () if (X11_Xrandr_INCLUDE_PATH AND X11_Xrandr_LIB) set(X11_Xrandr_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xrandr_INCLUDE_PATH}) endif () if (X11_xf86misc_INCLUDE_PATH AND X11_Xxf86misc_LIB) set(X11_xf86misc_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_xf86misc_INCLUDE_PATH}) endif () if (X11_xf86vmode_INCLUDE_PATH AND X11_Xxf86vm_LIB) set(X11_xf86vmode_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_xf86vmode_INCLUDE_PATH}) endif () if (X11_Xcursor_INCLUDE_PATH AND X11_Xcursor_LIB) set(X11_Xcursor_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xcursor_INCLUDE_PATH}) endif () if (X11_Xscreensaver_INCLUDE_PATH AND X11_Xscreensaver_LIB) set(X11_Xscreensaver_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xscreensaver_INCLUDE_PATH}) endif () if (X11_dpms_INCLUDE_PATH) set(X11_dpms_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_dpms_INCLUDE_PATH}) endif () if (X11_Xkb_INCLUDE_PATH AND X11_Xkblib_INCLUDE_PATH AND X11_Xlib_INCLUDE_PATH) set(X11_Xkb_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xkb_INCLUDE_PATH} ) endif () if (X11_Xkbfile_INCLUDE_PATH AND X11_Xkbfile_LIB AND X11_Xlib_INCLUDE_PATH) set(X11_Xkbfile_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xkbfile_INCLUDE_PATH} ) endif () if (X11_Xmu_INCLUDE_PATH AND X11_Xmu_LIB) set(X11_Xmu_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xmu_INCLUDE_PATH}) endif () if (X11_Xinput_INCLUDE_PATH AND X11_Xinput_LIB) set(X11_Xinput_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xinput_INCLUDE_PATH}) endif () if (X11_XSync_INCLUDE_PATH) set(X11_XSync_FOUND TRUE) set(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XSync_INCLUDE_PATH}) endif () if(X11_ICE_LIB AND X11_ICE_INCLUDE_PATH) set(X11_ICE_FOUND TRUE) endif() if(X11_SM_LIB AND X11_SM_INCLUDE_PATH) set(X11_SM_FOUND TRUE) endif() # Most of the X11 headers will be in the same directories, avoid # creating a huge list of duplicates. if (X11_INCLUDE_DIR) list(REMOVE_DUPLICATES X11_INCLUDE_DIR) endif () # Deprecated variable for backwards compatibility with CMake 1.4 if (X11_X11_INCLUDE_PATH AND X11_LIBRARIES) set(X11_FOUND 1) endif () if(X11_FOUND) include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake) include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) # Translated from an autoconf-generated configure script. # See libs.m4 in autoconf's m4 directory. if($ENV{ISC} MATCHES "^yes$") set(X11_X_EXTRA_LIBS -lnsl_s -linet) else() set(X11_X_EXTRA_LIBS "") # See if XOpenDisplay in X11 works by itself. CHECK_LIBRARY_EXISTS("${X11_LIBRARIES}" "XOpenDisplay" "${X11_LIBRARY_DIR}" X11_LIB_X11_SOLO) if(NOT X11_LIB_X11_SOLO) # Find library needed for dnet_ntoa. CHECK_LIBRARY_EXISTS("dnet" "dnet_ntoa" "" X11_LIB_DNET_HAS_DNET_NTOA) if (X11_LIB_DNET_HAS_DNET_NTOA) set (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -ldnet) else () CHECK_LIBRARY_EXISTS("dnet_stub" "dnet_ntoa" "" X11_LIB_DNET_STUB_HAS_DNET_NTOA) if (X11_LIB_DNET_STUB_HAS_DNET_NTOA) set (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -ldnet_stub) endif () endif () endif() # Find library needed for gethostbyname. CHECK_FUNCTION_EXISTS("gethostbyname" CMAKE_HAVE_GETHOSTBYNAME) if(NOT CMAKE_HAVE_GETHOSTBYNAME) CHECK_LIBRARY_EXISTS("nsl" "gethostbyname" "" CMAKE_LIB_NSL_HAS_GETHOSTBYNAME) if (CMAKE_LIB_NSL_HAS_GETHOSTBYNAME) set (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lnsl) else () CHECK_LIBRARY_EXISTS("bsd" "gethostbyname" "" CMAKE_LIB_BSD_HAS_GETHOSTBYNAME) if (CMAKE_LIB_BSD_HAS_GETHOSTBYNAME) set (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lbsd) endif () endif () endif() # Find library needed for connect. CHECK_FUNCTION_EXISTS("connect" CMAKE_HAVE_CONNECT) if(NOT CMAKE_HAVE_CONNECT) CHECK_LIBRARY_EXISTS("socket" "connect" "" CMAKE_LIB_SOCKET_HAS_CONNECT) if (CMAKE_LIB_SOCKET_HAS_CONNECT) set (X11_X_EXTRA_LIBS -lsocket ${X11_X_EXTRA_LIBS}) endif () endif() # Find library needed for remove. CHECK_FUNCTION_EXISTS("remove" CMAKE_HAVE_REMOVE) if(NOT CMAKE_HAVE_REMOVE) CHECK_LIBRARY_EXISTS("posix" "remove" "" CMAKE_LIB_POSIX_HAS_REMOVE) if (CMAKE_LIB_POSIX_HAS_REMOVE) set (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lposix) endif () endif() # Find library needed for shmat. CHECK_FUNCTION_EXISTS("shmat" CMAKE_HAVE_SHMAT) if(NOT CMAKE_HAVE_SHMAT) CHECK_LIBRARY_EXISTS("ipc" "shmat" "" CMAKE_LIB_IPS_HAS_SHMAT) if (CMAKE_LIB_IPS_HAS_SHMAT) set (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lipc) endif () endif() endif() if (X11_ICE_FOUND) CHECK_LIBRARY_EXISTS("ICE" "IceConnectionNumber" "${X11_LIBRARY_DIR}" CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER) if(CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER) set (X11_X_PRE_LIBS ${X11_ICE_LIB}) if(X11_SM_LIB) set (X11_X_PRE_LIBS ${X11_SM_LIB} ${X11_X_PRE_LIBS}) endif() endif() endif () # Build the final list of libraries. set(X11_LIBRARIES ${X11_X_PRE_LIBS} ${X11_LIBRARIES} ${X11_X_EXTRA_LIBS}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageMessage.cmake) FIND_PACKAGE_MESSAGE(X11 "Found X11: ${X11_X11_LIB}" "[${X11_X11_LIB}][${X11_INCLUDE_DIR}]") else () if (X11_FIND_REQUIRED) message(FATAL_ERROR "Could not find X11") endif () endif () mark_as_advanced( X11_X11_INCLUDE_PATH X11_X11_LIB X11_Xext_LIB X11_Xau_LIB X11_Xau_INCLUDE_PATH X11_Xlib_INCLUDE_PATH X11_Xutil_INCLUDE_PATH X11_Xcomposite_INCLUDE_PATH X11_Xcomposite_LIB X11_Xaccess_INCLUDE_PATH X11_Xfixes_LIB X11_Xfixes_INCLUDE_PATH X11_Xrandr_LIB X11_Xrandr_INCLUDE_PATH X11_Xdamage_LIB X11_Xdamage_INCLUDE_PATH X11_Xrender_LIB X11_Xrender_INCLUDE_PATH X11_XRes_LIB X11_XRes_INCLUDE_PATH X11_Xxf86misc_LIB X11_xf86misc_INCLUDE_PATH X11_Xxf86vm_LIB X11_xf86vmode_INCLUDE_PATH X11_Xi_LIB X11_Xi_INCLUDE_PATH X11_Xinerama_LIB X11_Xinerama_INCLUDE_PATH X11_XTest_LIB X11_XTest_INCLUDE_PATH X11_Xcursor_LIB X11_Xcursor_INCLUDE_PATH X11_dpms_INCLUDE_PATH X11_Xt_LIB X11_Xt_INCLUDE_PATH X11_Xdmcp_LIB X11_LIBRARIES X11_Xaccessrules_INCLUDE_PATH X11_Xaccessstr_INCLUDE_PATH X11_Xdmcp_INCLUDE_PATH X11_Xkb_INCLUDE_PATH X11_Xkblib_INCLUDE_PATH X11_Xkbfile_INCLUDE_PATH X11_Xkbfile_LIB X11_Xmu_INCLUDE_PATH X11_Xmu_LIB X11_Xscreensaver_INCLUDE_PATH X11_Xscreensaver_LIB X11_Xpm_INCLUDE_PATH X11_Xpm_LIB X11_Xinput_LIB X11_Xinput_INCLUDE_PATH X11_Xft_LIB X11_Xft_INCLUDE_PATH X11_Xshape_INCLUDE_PATH X11_Xv_LIB X11_Xv_INCLUDE_PATH X11_XShm_INCLUDE_PATH X11_ICE_LIB X11_ICE_INCLUDE_PATH X11_SM_LIB X11_SM_INCLUDE_PATH X11_XSync_INCLUDE_PATH ) set(CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK_SAVE}) endif () # X11_FIND_REQUIRED_ could be checked too cmake-2.8.12.2/Modules/FindXMLRPC.cmake000644 000765 000024 00000011736 12266011634 020066 0ustar00kitwarestaff000000 000000 # - Find xmlrpc # Find the native XMLRPC headers and libraries. # XMLRPC_INCLUDE_DIRS - where to find xmlrpc.h, etc. # XMLRPC_LIBRARIES - List of libraries when using xmlrpc. # XMLRPC_FOUND - True if xmlrpc found. # XMLRPC modules may be specified as components for this find module. # Modules may be listed by running "xmlrpc-c-config". Modules include: # c++ C++ wrapper code # libwww-client libwww-based client # cgi-server CGI-based server # abyss-server ABYSS-based server # Typical usage: # find_package(XMLRPC REQUIRED libwww-client) #============================================================================= # Copyright 2001-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # First find the config script from which to obtain other values. find_program(XMLRPC_C_CONFIG NAMES xmlrpc-c-config) # Check whether we found anything. if(XMLRPC_C_CONFIG) set(XMLRPC_FOUND 1) else() set(XMLRPC_FOUND 0) endif() # Lookup the include directories needed for the components requested. if(XMLRPC_FOUND) # Use the newer EXECUTE_PROCESS command if it is available. if(COMMAND EXECUTE_PROCESS) execute_process( COMMAND ${XMLRPC_C_CONFIG} ${XMLRPC_FIND_COMPONENTS} --cflags OUTPUT_VARIABLE XMLRPC_C_CONFIG_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE XMLRPC_C_CONFIG_RESULT ) else() exec_program(${XMLRPC_C_CONFIG} ARGS "${XMLRPC_FIND_COMPONENTS} --cflags" OUTPUT_VARIABLE XMLRPC_C_CONFIG_CFLAGS RETURN_VALUE XMLRPC_C_CONFIG_RESULT ) endif() # Parse the include flags. if("${XMLRPC_C_CONFIG_RESULT}" STREQUAL "0") # Convert the compile flags to a CMake list. string(REGEX REPLACE " +" ";" XMLRPC_C_CONFIG_CFLAGS "${XMLRPC_C_CONFIG_CFLAGS}") # Look for -I options. set(XMLRPC_INCLUDE_DIRS) foreach(flag ${XMLRPC_C_CONFIG_CFLAGS}) if("${flag}" MATCHES "^-I") string(REGEX REPLACE "^-I" "" DIR "${flag}") file(TO_CMAKE_PATH "${DIR}" DIR) set(XMLRPC_INCLUDE_DIRS ${XMLRPC_INCLUDE_DIRS} "${DIR}") endif() endforeach() else() message("Error running ${XMLRPC_C_CONFIG}: [${XMLRPC_C_CONFIG_RESULT}]") set(XMLRPC_FOUND 0) endif() endif() # Lookup the libraries needed for the components requested. if(XMLRPC_FOUND) # Use the newer EXECUTE_PROCESS command if it is available. if(COMMAND EXECUTE_PROCESS) execute_process( COMMAND ${XMLRPC_C_CONFIG} ${XMLRPC_FIND_COMPONENTS} --libs OUTPUT_VARIABLE XMLRPC_C_CONFIG_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE RESULT_VARIABLE XMLRPC_C_CONFIG_RESULT ) else() exec_program(${XMLRPC_C_CONFIG} ARGS "${XMLRPC_FIND_COMPONENTS} --libs" OUTPUT_VARIABLE XMLRPC_C_CONFIG_LIBS RETURN_VALUE XMLRPC_C_CONFIG_RESULT ) endif() # Parse the library names and directories. if("${XMLRPC_C_CONFIG_RESULT}" STREQUAL "0") string(REGEX REPLACE " +" ";" XMLRPC_C_CONFIG_LIBS "${XMLRPC_C_CONFIG_LIBS}") # Look for -L flags for directories and -l flags for library names. set(XMLRPC_LIBRARY_DIRS) set(XMLRPC_LIBRARY_NAMES) foreach(flag ${XMLRPC_C_CONFIG_LIBS}) if("${flag}" MATCHES "^-L") string(REGEX REPLACE "^-L" "" DIR "${flag}") file(TO_CMAKE_PATH "${DIR}" DIR) set(XMLRPC_LIBRARY_DIRS ${XMLRPC_LIBRARY_DIRS} "${DIR}") elseif("${flag}" MATCHES "^-l") string(REGEX REPLACE "^-l" "" NAME "${flag}") set(XMLRPC_LIBRARY_NAMES ${XMLRPC_LIBRARY_NAMES} "${NAME}") endif() endforeach() # Search for each library needed using the directories given. foreach(name ${XMLRPC_LIBRARY_NAMES}) # Look for this library. find_library(XMLRPC_${name}_LIBRARY NAMES ${name} HINTS ${XMLRPC_LIBRARY_DIRS} ) mark_as_advanced(XMLRPC_${name}_LIBRARY) # If any library is not found then the whole package is not found. if(NOT XMLRPC_${name}_LIBRARY) set(XMLRPC_FOUND 0) endif() # Build an ordered list of all the libraries needed. set(XMLRPC_LIBRARIES ${XMLRPC_LIBRARIES} "${XMLRPC_${name}_LIBRARY}") endforeach() else() message("Error running ${XMLRPC_C_CONFIG}: [${XMLRPC_C_CONFIG_RESULT}]") set(XMLRPC_FOUND 0) endif() endif() # Report the results. if(NOT XMLRPC_FOUND) set(XMLRPC_DIR_MESSAGE "XMLRPC was not found. Make sure the entries XMLRPC_* are set.") if(NOT XMLRPC_FIND_QUIETLY) message(STATUS "${XMLRPC_DIR_MESSAGE}") else() if(XMLRPC_FIND_REQUIRED) message(FATAL_ERROR "${XMLRPC_DIR_MESSAGE}") endif() endif() endif() cmake-2.8.12.2/Modules/FindZLIB.cmake000644 000765 000024 00000007117 12266011634 017617 0ustar00kitwarestaff000000 000000 # - Find zlib # Find the native ZLIB includes and library. # Once done this will define # # ZLIB_INCLUDE_DIRS - where to find zlib.h, etc. # ZLIB_LIBRARIES - List of libraries when using zlib. # ZLIB_FOUND - True if zlib found. # # ZLIB_VERSION_STRING - The version of zlib found (x.y.z) # ZLIB_VERSION_MAJOR - The major version of zlib # ZLIB_VERSION_MINOR - The minor version of zlib # ZLIB_VERSION_PATCH - The patch version of zlib # ZLIB_VERSION_TWEAK - The tweak version of zlib # # The following variable are provided for backward compatibility # # ZLIB_MAJOR_VERSION - The major version of zlib # ZLIB_MINOR_VERSION - The minor version of zlib # ZLIB_PATCH_VERSION - The patch version of zlib # # An includer may set ZLIB_ROOT to a zlib installation root to tell # this module where to look. #============================================================================= # Copyright 2001-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(_ZLIB_SEARCHES) # Search ZLIB_ROOT first if it is set. if(ZLIB_ROOT) set(_ZLIB_SEARCH_ROOT PATHS ${ZLIB_ROOT} NO_DEFAULT_PATH) list(APPEND _ZLIB_SEARCHES _ZLIB_SEARCH_ROOT) endif() # Normal search. set(_ZLIB_SEARCH_NORMAL PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]" "$ENV{PROGRAMFILES}/zlib" ) list(APPEND _ZLIB_SEARCHES _ZLIB_SEARCH_NORMAL) set(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1) # Try each search configuration. foreach(search ${_ZLIB_SEARCHES}) find_path(ZLIB_INCLUDE_DIR NAMES zlib.h ${${search}} PATH_SUFFIXES include) find_library(ZLIB_LIBRARY NAMES ${ZLIB_NAMES} ${${search}} PATH_SUFFIXES lib) endforeach() mark_as_advanced(ZLIB_LIBRARY ZLIB_INCLUDE_DIR) if(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h") file(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$") string(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}") string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}") string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}") set(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}") # only append a TWEAK version if it exists: set(ZLIB_VERSION_TWEAK "") if( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$") set(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}") set(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}") endif() set(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}") set(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}") set(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}") endif() # handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if # all listed variables are TRUE include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR VERSION_VAR ZLIB_VERSION_STRING) if(ZLIB_FOUND) set(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR}) set(ZLIB_LIBRARIES ${ZLIB_LIBRARY}) endif() cmake-2.8.12.2/Modules/FLTKCompatibility.cmake000644 000765 000024 00000001173 12266011634 021544 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CheckIncludeFile) cmake-2.8.12.2/Modules/FortranCInterface/call_mod.f90000644 000765 000024 00000000152 12266011634 022675 0ustar00kitwarestaff000000 000000 subroutine call_mod use mymodule use my_module call mysub() call my_sub() end subroutine call_mod cmake-2.8.12.2/Modules/FortranCInterface/call_sub.f000644 000765 000024 00000000127 12266011634 022540 0ustar00kitwarestaff000000 000000 subroutine call_sub call mysub() call my_sub() end cmake-2.8.12.2/Modules/FortranCInterface/CMakeLists.txt000644 000765 000024 00000007347 12266011634 023360 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= cmake_minimum_required(VERSION 2.6.3) project(FortranCInterface C Fortran) include(${FortranCInterface_BINARY_DIR}/Input.cmake OPTIONAL) # Check if the C compiler supports '$' in identifiers. include(CheckCSourceCompiles) check_c_source_compiles(" extern int dollar$(void); int main() { return 0; } " C_SUPPORTS_DOLLAR) # List manglings of global symbol names to try. set(global_symbols my_sub # VisualAge my_sub_ # GNU, Intel, HP, SunPro, MIPSpro my_sub__ # GNU g77 MY_SUB # Intel on Windows mysub # VisualAge mysub_ # GNU, Intel, HP, SunPro, MIPSpro MYSUB # Intel on Windows ${FortranCInterface_GLOBAL_SYMBOLS} ) list(REMOVE_DUPLICATES global_symbols) # List manglings of module symbol names to try. set(module_symbols __my_module_MOD_my_sub # GNU 4.3 __my_module_NMOD_my_sub # VisualAge __my_module__my_sub # GNU 4.2 __mymodule_MOD_mysub # GNU 4.3 __mymodule_NMOD_mysub # VisualAge __mymodule__mysub # GNU 4.2 my_module$my_sub # HP my_module_mp_my_sub_ # Intel MY_MODULE_mp_MY_SUB # Intel on Windows my_module_my_sub_ # PGI my_module_MP_my_sub # NAG mymodule$mysub # HP mymodule_mp_mysub_ # Intel MYMODULE_mp_MYSUB # Intel on Windows mymodule_mysub_ # PGI mymodule_MP_mysub # NAG ${FortranCInterface_MODULE_SYMBOLS} ) list(REMOVE_DUPLICATES module_symbols) # Note that some compiler manglings cannot be invoked from C: # MIPSpro uses "MY_SUB.in.MY_MODULE" # SunPro uses "my_module.my_sub_" # PathScale uses "MY_SUB.in.MY_MODULE" # Add module symbols only with Fortran90. if(CMAKE_Fortran_COMPILER_SUPPORTS_F90) set(myfort_modules mymodule.f90 my_module.f90) set(call_mod call_mod.f90) set_property(SOURCE main.F PROPERTY COMPILE_DEFINITIONS CALL_MOD) else() set(module_symbols) endif() # Generate C symbol sources. set(symbol_sources) if(NOT "${CMAKE_Fortran_COMPILER_ID}" MATCHES "^(PathScale|Cray)$") # Provide mymodule_ and my_module_ init symbols because: # - PGI Fortran uses module init symbols # but not for: # - PathScale Fortran uses module init symbols but module symbols # use '.in.' so we cannot provide them anyway. # - Cray Fortran >= 7.3.2 uses module init symbols but module symbols # use 'mysub$mymodule_' so we cannot provide them anyway. list(APPEND symbol_sources mymodule_.c my_module_.c) endif() foreach(symbol IN LISTS global_symbols module_symbols) # Skip symbols with '$' if C cannot handle them. if(C_SUPPORTS_DOLLAR OR NOT "${symbol}" MATCHES "\\$") if("${symbol}" MATCHES "SUB") set(upper "-UPPER") else() set(upper) endif() string(REPLACE "$" "S" name "${symbol}") set(source ${CMAKE_CURRENT_BINARY_DIR}/symbols/${name}${upper}.c) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/symbol.c.in ${source} @ONLY) list(APPEND symbol_sources ${source}) endif() endforeach() # Provide symbols through Fortran. add_library(myfort STATIC mysub.f my_sub.f ${myfort_modules}) # Provide symbols through C but fall back to Fortran. add_library(symbols STATIC ${symbol_sources}) target_link_libraries(symbols myfort) # Require symbols through Fortran. add_executable(FortranCInterface main.F call_sub.f ${call_mod}) target_link_libraries(FortranCInterface symbols) cmake-2.8.12.2/Modules/FortranCInterface/Detect.cmake000644 000765 000024 00000015016 12266011634 023022 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= configure_file(${FortranCInterface_SOURCE_DIR}/Input.cmake.in ${FortranCInterface_BINARY_DIR}/Input.cmake @ONLY) # Detect the Fortran/C interface on the first run or when the # configuration changes. if(${FortranCInterface_BINARY_DIR}/Input.cmake IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Output.cmake OR ${FortranCInterface_SOURCE_DIR}/Output.cmake.in IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Output.cmake OR ${FortranCInterface_SOURCE_DIR}/CMakeLists.txt IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Output.cmake OR ${CMAKE_CURRENT_LIST_FILE} IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Output.cmake ) message(STATUS "Detecting Fortran/C Interface") else() return() endif() # Invalidate verification results. unset(FortranCInterface_VERIFIED_C CACHE) unset(FortranCInterface_VERIFIED_CXX CACHE) set(_result) # Build a sample project which reports symbols. try_compile(FortranCInterface_COMPILED ${FortranCInterface_BINARY_DIR} ${FortranCInterface_SOURCE_DIR} FortranCInterface CMAKE_FLAGS "-DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS}" "-DCMAKE_Fortran_FLAGS:STRING=${CMAKE_Fortran_FLAGS}" OUTPUT_VARIABLE FortranCInterface_OUTPUT) set(FortranCInterface_COMPILED ${FortranCInterface_COMPILED}) unset(FortranCInterface_COMPILED CACHE) # Locate the sample project executable. if(FortranCInterface_COMPILED) find_program(FortranCInterface_EXE NAMES FortranCInterface PATHS ${FortranCInterface_BINARY_DIR} ${FortranCInterface_BINARY_DIR}/Debug NO_DEFAULT_PATH ) set(FortranCInterface_EXE ${FortranCInterface_EXE}) unset(FortranCInterface_EXE CACHE) else() set(_result "Failed to compile") set(FortranCInterface_EXE) file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Fortran/C interface test project failed with the following output:\n" "${FortranCInterface_OUTPUT}\n") endif() # Load symbols from INFO:symbol[] strings in the executable. set(FortranCInterface_SYMBOLS) if(FortranCInterface_EXE) file(STRINGS "${FortranCInterface_EXE}" _info_strings LIMIT_COUNT 8 REGEX "INFO:[^[]*\\[") foreach(info ${_info_strings}) if("${info}" MATCHES ".*INFO:symbol\\[([^]]*)\\].*") string(REGEX REPLACE ".*INFO:symbol\\[([^]]*)\\].*" "\\1" symbol "${info}") list(APPEND FortranCInterface_SYMBOLS ${symbol}) endif() endforeach() elseif(NOT _result) set(_result "Failed to load sample executable") endif() set(_case_mysub "LOWER") set(_case_my_sub "LOWER") set(_case_MYSUB "UPPER") set(_case_MY_SUB "UPPER") set(_global_regex "^(_*)(mysub|MYSUB)([_$]*)$") set(_global__regex "^(_*)(my_sub|MY_SUB)([_$]*)$") set(_module_regex "^(_*)(mymodule|MYMODULE)([A-Za-z_$]*)(mysub|MYSUB)([_$]*)$") set(_module__regex "^(_*)(my_module|MY_MODULE)([A-Za-z_$]*)(my_sub|MY_SUB)([_$]*)$") # Parse the symbol names. foreach(symbol ${FortranCInterface_SYMBOLS}) foreach(form "" "_") # Look for global symbols. string(REGEX REPLACE "${_global_${form}regex}" "\\1;\\2;\\3" pieces "${symbol}") list(LENGTH pieces len) if(len EQUAL 3) set(FortranCInterface_GLOBAL_${form}SYMBOL "${symbol}") list(GET pieces 0 FortranCInterface_GLOBAL_${form}PREFIX) list(GET pieces 1 name) list(GET pieces 2 FortranCInterface_GLOBAL_${form}SUFFIX) set(FortranCInterface_GLOBAL_${form}CASE "${_case_${name}}") endif() # Look for module symbols. string(REGEX REPLACE "${_module_${form}regex}" "\\1;\\2;\\3;\\4;\\5" pieces "${symbol}") list(LENGTH pieces len) if(len EQUAL 5) set(FortranCInterface_MODULE_${form}SYMBOL "${symbol}") list(GET pieces 0 FortranCInterface_MODULE_${form}PREFIX) list(GET pieces 1 module) list(GET pieces 2 FortranCInterface_MODULE_${form}MIDDLE) list(GET pieces 3 name) list(GET pieces 4 FortranCInterface_MODULE_${form}SUFFIX) set(FortranCInterface_MODULE_${form}CASE "${_case_${name}}") endif() endforeach() endforeach() # Construct mangling macro definitions. set(_name_LOWER "name") set(_name_UPPER "NAME") foreach(form "" "_") if(FortranCInterface_GLOBAL_${form}SYMBOL) if(FortranCInterface_GLOBAL_${form}PREFIX) set(_prefix "${FortranCInterface_GLOBAL_${form}PREFIX}##") else() set(_prefix "") endif() if(FortranCInterface_GLOBAL_${form}SUFFIX) set(_suffix "##${FortranCInterface_GLOBAL_${form}SUFFIX}") else() set(_suffix "") endif() set(_name "${_name_${FortranCInterface_GLOBAL_${form}CASE}}") set(FortranCInterface_GLOBAL${form}_MACRO "(name,NAME) ${_prefix}${_name}${_suffix}") endif() if(FortranCInterface_MODULE_${form}SYMBOL) if(FortranCInterface_MODULE_${form}PREFIX) set(_prefix "${FortranCInterface_MODULE_${form}PREFIX}##") else() set(_prefix "") endif() if(FortranCInterface_MODULE_${form}SUFFIX) set(_suffix "##${FortranCInterface_MODULE_${form}SUFFIX}") else() set(_suffix "") endif() set(_name "${_name_${FortranCInterface_MODULE_${form}CASE}}") set(_middle "##${FortranCInterface_MODULE_${form}MIDDLE}##") set(FortranCInterface_MODULE${form}_MACRO "(mod_name,name, mod_NAME,NAME) ${_prefix}mod_${_name}${_middle}${_name}${_suffix}") endif() endforeach() # Summarize what is available. foreach(scope GLOBAL MODULE) if(FortranCInterface_${scope}_SYMBOL AND FortranCInterface_${scope}__SYMBOL) set(FortranCInterface_${scope}_FOUND 1) else() set(FortranCInterface_${scope}_FOUND 0) endif() endforeach() # Record the detection results. configure_file(${FortranCInterface_SOURCE_DIR}/Output.cmake.in ${FortranCInterface_BINARY_DIR}/Output.cmake @ONLY) file(APPEND ${FortranCInterface_BINARY_DIR}/Output.cmake "\n") # Report the results. if(FortranCInterface_GLOBAL_FOUND) if(FortranCInterface_MODULE_FOUND) set(_result "Found GLOBAL and MODULE mangling") else() set(_result "Found GLOBAL but not MODULE mangling") endif() elseif(NOT _result) set(_result "Failed to recognize symbols") endif() message(STATUS "Detecting Fortran/C Interface - ${_result}") cmake-2.8.12.2/Modules/FortranCInterface/Input.cmake.in000644 000765 000024 00000000323 12266011634 023311 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@") set(FortranCInterface_GLOBAL_SYMBOLS "@FortranCInterface_GLOBAL_SYMBOLS@") set(FortranCInterface_MODULE_SYMBOLS "@FortranCInterface_MODULE_SYMBOLS@") cmake-2.8.12.2/Modules/FortranCInterface/Macro.h.in000644 000765 000024 00000000152 12266011634 022422 0ustar00kitwarestaff000000 000000 #ifndef @MACRO_NAMESPACE@HEADER_INCLUDED #define @MACRO_NAMESPACE@HEADER_INCLUDED @HEADER_CONTENT@ #endif cmake-2.8.12.2/Modules/FortranCInterface/main.F000644 000765 000024 00000000154 12266011634 021640 0ustar00kitwarestaff000000 000000 program main call call_sub() #ifdef CALL_MOD call call_mod() #endif end cmake-2.8.12.2/Modules/FortranCInterface/my_module.f90000644 000765 000024 00000000241 12266011634 023114 0ustar00kitwarestaff000000 000000 module my_module interface my_interface module procedure my_sub end interface contains subroutine my_sub end subroutine my_sub end module my_module cmake-2.8.12.2/Modules/FortranCInterface/my_module_.c000644 000765 000024 00000000031 12266011634 023074 0ustar00kitwarestaff000000 000000 void my_module_(void) {} cmake-2.8.12.2/Modules/FortranCInterface/my_sub.f000644 000765 000024 00000000042 12266011634 022246 0ustar00kitwarestaff000000 000000 subroutine my_sub end cmake-2.8.12.2/Modules/FortranCInterface/mymodule.f90000644 000765 000024 00000000233 12266011634 022756 0ustar00kitwarestaff000000 000000 module mymodule interface myinterface module procedure mysub end interface contains subroutine mysub end subroutine mysub end module mymodule cmake-2.8.12.2/Modules/FortranCInterface/mymodule_.c000644 000765 000024 00000000030 12266011634 022734 0ustar00kitwarestaff000000 000000 void mymodule_(void) {} cmake-2.8.12.2/Modules/FortranCInterface/mysub.f000644 000765 000024 00000000041 12266011634 022106 0ustar00kitwarestaff000000 000000 subroutine mysub end cmake-2.8.12.2/Modules/FortranCInterface/Output.cmake.in000644 000765 000024 00000003617 12266011634 023523 0ustar00kitwarestaff000000 000000 # Global symbol without underscore. set(FortranCInterface_GLOBAL_SYMBOL "@FortranCInterface_GLOBAL_SYMBOL@") set(FortranCInterface_GLOBAL_PREFIX "@FortranCInterface_GLOBAL_PREFIX@") set(FortranCInterface_GLOBAL_SUFFIX "@FortranCInterface_GLOBAL_SUFFIX@") set(FortranCInterface_GLOBAL_CASE "@FortranCInterface_GLOBAL_CASE@") set(FortranCInterface_GLOBAL_MACRO "@FortranCInterface_GLOBAL_MACRO@") # Global symbol with underscore. set(FortranCInterface_GLOBAL__SYMBOL "@FortranCInterface_GLOBAL__SYMBOL@") set(FortranCInterface_GLOBAL__PREFIX "@FortranCInterface_GLOBAL__PREFIX@") set(FortranCInterface_GLOBAL__SUFFIX "@FortranCInterface_GLOBAL__SUFFIX@") set(FortranCInterface_GLOBAL__CASE "@FortranCInterface_GLOBAL__CASE@") set(FortranCInterface_GLOBAL__MACRO "@FortranCInterface_GLOBAL__MACRO@") # Module symbol without underscore. set(FortranCInterface_MODULE_SYMBOL "@FortranCInterface_MODULE_SYMBOL@") set(FortranCInterface_MODULE_PREFIX "@FortranCInterface_MODULE_PREFIX@") set(FortranCInterface_MODULE_MIDDLE "@FortranCInterface_MODULE_MIDDLE@") set(FortranCInterface_MODULE_SUFFIX "@FortranCInterface_MODULE_SUFFIX@") set(FortranCInterface_MODULE_CASE "@FortranCInterface_MODULE_CASE@") set(FortranCInterface_MODULE_MACRO "@FortranCInterface_MODULE_MACRO@") # Module symbol with underscore. set(FortranCInterface_MODULE__SYMBOL "@FortranCInterface_MODULE__SYMBOL@") set(FortranCInterface_MODULE__PREFIX "@FortranCInterface_MODULE__PREFIX@") set(FortranCInterface_MODULE__MIDDLE "@FortranCInterface_MODULE__MIDDLE@") set(FortranCInterface_MODULE__SUFFIX "@FortranCInterface_MODULE__SUFFIX@") set(FortranCInterface_MODULE__CASE "@FortranCInterface_MODULE__CASE@") set(FortranCInterface_MODULE__MACRO "@FortranCInterface_MODULE__MACRO@") # Summarize what was found. set(FortranCInterface_GLOBAL_FOUND @FortranCInterface_GLOBAL_FOUND@) set(FortranCInterface_MODULE_FOUND @FortranCInterface_MODULE_FOUND@) cmake-2.8.12.2/Modules/FortranCInterface/symbol.c.in000644 000765 000024 00000000101 12266011634 022653 0ustar00kitwarestaff000000 000000 const char* @symbol@(void) { return "INFO:symbol[@symbol@]"; } cmake-2.8.12.2/Modules/FortranCInterface/Verify/CMakeLists.txt000644 000765 000024 00000002265 12266011634 024616 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= cmake_minimum_required(VERSION 2.7) project(VerifyFortranC C Fortran) option(VERIFY_CXX "Whether to verify C++ and Fortran" OFF) if(VERIFY_CXX) enable_language(CXX) set(VerifyCXX VerifyCXX.cxx) add_definitions(-DVERIFY_CXX) endif() include(FortranCInterface) FortranCInterface_HEADER(VerifyFortran.h SYMBOLS VerifyFortran) include_directories(${VerifyFortranC_BINARY_DIR}) add_library(VerifyFortran STATIC VerifyFortran.f) add_executable(VerifyFortranC main.c VerifyC.c ${VerifyCXX}) target_link_libraries(VerifyFortranC VerifyFortran) if(NOT VERIFY_CXX) # The entry point (main) is defined in C; link with the C compiler. set_property(TARGET VerifyFortranC PROPERTY LINKER_LANGUAGE C) endif() cmake-2.8.12.2/Modules/FortranCInterface/Verify/main.c000644 000765 000024 00000000365 12266011634 023145 0ustar00kitwarestaff000000 000000 extern void VerifyC(void); #ifdef VERIFY_CXX extern void VerifyCXX(void); #endif #include "VerifyFortran.h" extern void VerifyFortran(void); int main(void) { VerifyC(); #ifdef VERIFY_CXX VerifyCXX(); #endif VerifyFortran(); return 0; } cmake-2.8.12.2/Modules/FortranCInterface/Verify/VerifyC.c000644 000765 000024 00000000101 12266011634 023554 0ustar00kitwarestaff000000 000000 #include void VerifyC(void) { printf("VerifyC\n"); } cmake-2.8.12.2/Modules/FortranCInterface/Verify/VerifyCXX.cxx000644 000765 000024 00000000066 12266011634 024426 0ustar00kitwarestaff000000 000000 extern "C" void VerifyCXX(void) { delete new int; } cmake-2.8.12.2/Modules/FortranCInterface/Verify/VerifyFortran.f000644 000765 000024 00000000112 12266011634 025012 0ustar00kitwarestaff000000 000000 subroutine VerifyFortran print *, 'VerifyFortran' end cmake-2.8.12.2/Modules/FortranCInterface.cmake000644 000765 000024 00000030243 12266011634 021611 0ustar00kitwarestaff000000 000000 # - Fortran/C Interface Detection # This module automatically detects the API by which C and Fortran # languages interact. Variables indicate if the mangling is found: # FortranCInterface_GLOBAL_FOUND = Global subroutines and functions # FortranCInterface_MODULE_FOUND = Module subroutines and functions # (declared by "MODULE PROCEDURE") # A function is provided to generate a C header file containing macros # to mangle symbol names: # FortranCInterface_HEADER( # [MACRO_NAMESPACE ] # [SYMBOL_NAMESPACE ] # [SYMBOLS [:] ...]) # It generates in definitions of the following macros: # #define FortranCInterface_GLOBAL (name,NAME) ... # #define FortranCInterface_GLOBAL_(name,NAME) ... # #define FortranCInterface_MODULE (mod,name, MOD,NAME) ... # #define FortranCInterface_MODULE_(mod,name, MOD,NAME) ... # These macros mangle four categories of Fortran symbols, # respectively: # - Global symbols without '_': call mysub() # - Global symbols with '_' : call my_sub() # - Module symbols without '_': use mymod; call mysub() # - Module symbols with '_' : use mymod; call my_sub() # If mangling for a category is not known, its macro is left undefined. # All macros require raw names in both lower case and upper case. # The MACRO_NAMESPACE option replaces the default "FortranCInterface_" # prefix with a given namespace "". # # The SYMBOLS option lists symbols to mangle automatically with C # preprocessor definitions: # ==> #define ... # : ==> #define _ ... # If the mangling for some symbol is not known then no preprocessor # definition is created, and a warning is displayed. # The SYMBOL_NAMESPACE option prefixes all preprocessor definitions # generated by the SYMBOLS option with a given namespace "". # # Example usage: # include(FortranCInterface) # FortranCInterface_HEADER(FC.h MACRO_NAMESPACE "FC_") # This creates a "FC.h" header that defines mangling macros # FC_GLOBAL(), FC_GLOBAL_(), FC_MODULE(), and FC_MODULE_(). # # Example usage: # include(FortranCInterface) # FortranCInterface_HEADER(FCMangle.h # MACRO_NAMESPACE "FC_" # SYMBOL_NAMESPACE "FC_" # SYMBOLS mysub mymod:my_sub) # This creates a "FCMangle.h" header that defines the same FC_*() # mangling macros as the previous example plus preprocessor symbols # FC_mysub and FC_mymod_my_sub. # # Another function is provided to verify that the Fortran and C/C++ # compilers work together: # FortranCInterface_VERIFY([CXX] [QUIET]) # It tests whether a simple test executable using Fortran and C (and # C++ when the CXX option is given) compiles and links successfully. # The result is stored in the cache entry FortranCInterface_VERIFIED_C # (or FortranCInterface_VERIFIED_CXX if CXX is given) as a boolean. # If the check fails and QUIET is not given the function terminates # with a FATAL_ERROR message describing the problem. The purpose of # this check is to stop a build early for incompatible compiler # combinations. The test is built in the Release configuration. # # FortranCInterface is aware of possible GLOBAL and MODULE manglings # for many Fortran compilers, but it also provides an interface to # specify new possible manglings. Set the variables # FortranCInterface_GLOBAL_SYMBOLS # FortranCInterface_MODULE_SYMBOLS # before including FortranCInterface to specify manglings of the # symbols "MySub", "My_Sub", "MyModule:MySub", and "My_Module:My_Sub". # For example, the code: # set(FortranCInterface_GLOBAL_SYMBOLS mysub_ my_sub__ MYSUB_) # # ^^^^^ ^^^^^^ ^^^^^ # set(FortranCInterface_MODULE_SYMBOLS # __mymodule_MOD_mysub __my_module_MOD_my_sub) # # ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ # include(FortranCInterface) # tells FortranCInterface to try given GLOBAL and MODULE manglings. # (The carets point at raw symbol names for clarity in this example # but are not needed.) #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) #----------------------------------------------------------------------------- # Execute at most once in a project. if(FortranCInterface_SOURCE_DIR) return() endif() # Use CMake 2.8.0 behavior for this module regardless of including context. cmake_policy(PUSH) cmake_policy(VERSION 2.8.0) #----------------------------------------------------------------------------- # Verify that C and Fortran are available. foreach(lang C Fortran) if(NOT CMAKE_${lang}_COMPILER_LOADED) message(FATAL_ERROR "FortranCInterface requires the ${lang} language to be enabled.") endif() endforeach() #----------------------------------------------------------------------------- set(FortranCInterface_SOURCE_DIR ${CMAKE_ROOT}/Modules/FortranCInterface) # MinGW's make tool does not always like () in the path if("${CMAKE_GENERATOR}" MATCHES "MinGW" AND "${FortranCInterface_SOURCE_DIR}" MATCHES "[()]") file(COPY ${FortranCInterface_SOURCE_DIR}/ DESTINATION ${CMAKE_BINARY_DIR}/CMakeFiles/FortranCInterfaceMinGW) set(FortranCInterface_SOURCE_DIR ${CMAKE_BINARY_DIR}/CMakeFiles/FortranCInterfaceMinGW) endif() # Create the interface detection project if it does not exist. if(NOT FortranCInterface_BINARY_DIR) set(FortranCInterface_BINARY_DIR ${CMAKE_BINARY_DIR}/CMakeFiles/FortranCInterface) include(${FortranCInterface_SOURCE_DIR}/Detect.cmake) endif() # Load the detection results. include(${FortranCInterface_BINARY_DIR}/Output.cmake) #----------------------------------------------------------------------------- function(FortranCInterface_HEADER file) # Parse arguments. if(IS_ABSOLUTE "${file}") set(FILE "${file}") else() set(FILE "${CMAKE_CURRENT_BINARY_DIR}/${file}") endif() set(MACRO_NAMESPACE "FortranCInterface_") set(SYMBOL_NAMESPACE) set(SYMBOLS) set(doing) foreach(arg ${ARGN}) if("x${arg}" MATCHES "^x(SYMBOLS|SYMBOL_NAMESPACE|MACRO_NAMESPACE)$") set(doing "${arg}") elseif("x${doing}" MATCHES "^x(SYMBOLS)$") list(APPEND "${doing}" "${arg}") elseif("x${doing}" MATCHES "^x(SYMBOL_NAMESPACE|MACRO_NAMESPACE)$") set("${doing}" "${arg}") set(doing) else() message(AUTHOR_WARNING "Unknown argument: \"${arg}\"") endif() endforeach() # Generate macro definitions. set(HEADER_CONTENT) set(_desc_GLOBAL "/* Mangling for Fortran global symbols without underscores. */") set(_desc_GLOBAL_ "/* Mangling for Fortran global symbols with underscores. */") set(_desc_MODULE "/* Mangling for Fortran module symbols without underscores. */") set(_desc_MODULE_ "/* Mangling for Fortran module symbols with underscores. */") foreach(macro GLOBAL GLOBAL_ MODULE MODULE_) if(FortranCInterface_${macro}_MACRO) set(HEADER_CONTENT "${HEADER_CONTENT} ${_desc_${macro}} #define ${MACRO_NAMESPACE}${macro}${FortranCInterface_${macro}_MACRO} ") endif() endforeach() # Generate symbol mangling definitions. if(SYMBOLS) set(HEADER_CONTENT "${HEADER_CONTENT} /*--------------------------------------------------------------------------*/ /* Mangle some symbols automatically. */ ") endif() foreach(f ${SYMBOLS}) if("${f}" MATCHES ":") # Module symbol name. Parse ":" syntax. string(REPLACE ":" ";" pieces "${f}") list(GET pieces 0 module) list(GET pieces 1 function) string(TOUPPER "${module}" m_upper) string(TOLOWER "${module}" m_lower) string(TOUPPER "${function}" f_upper) string(TOLOWER "${function}" f_lower) if("${function}" MATCHES "_") set(form "_") else() set(form "") endif() if(FortranCInterface_MODULE${form}_MACRO) set(HEADER_CONTENT "${HEADER_CONTENT}#define ${SYMBOL_NAMESPACE}${module}_${function} ${MACRO_NAMESPACE}MODULE${form}(${m_lower},${f_lower}, ${m_upper},${f_upper})\n") else() message(AUTHOR_WARNING "No FortranCInterface mangling known for ${f}") endif() else() # Global symbol name. if("${f}" MATCHES "_") set(form "_") else() set(form "") endif() string(TOUPPER "${f}" f_upper) string(TOLOWER "${f}" f_lower) if(FortranCInterface_GLOBAL${form}_MACRO) set(HEADER_CONTENT "${HEADER_CONTENT}#define ${SYMBOL_NAMESPACE}${f} ${MACRO_NAMESPACE}GLOBAL${form}(${f_lower}, ${f_upper})\n") else() message(AUTHOR_WARNING "No FortranCInterface mangling known for ${f}") endif() endif() endforeach() # Store the content. configure_file(${FortranCInterface_SOURCE_DIR}/Macro.h.in ${FILE} @ONLY) endfunction() function(FortranCInterface_VERIFY) # Check arguments. set(lang C) set(quiet 0) set(verify_cxx 0) foreach(arg ${ARGN}) if("${arg}" STREQUAL "QUIET") set(quiet 1) elseif("${arg}" STREQUAL "CXX") set(lang CXX) set(verify_cxx 1) else() message(FATAL_ERROR "FortranCInterface_VERIFY - called with unknown argument:\n ${arg}") endif() endforeach() if(NOT CMAKE_${lang}_COMPILER_LOADED) message(FATAL_ERROR "FortranCInterface_VERIFY(${lang}) requires ${lang} to be enabled.") endif() # Build the verification project if not yet built. if(NOT DEFINED FortranCInterface_VERIFIED_${lang}) set(_desc "Verifying Fortran/${lang} Compiler Compatibility") message(STATUS "${_desc}") # Build a sample project which reports symbols. set(CMAKE_TRY_COMPILE_CONFIGURATION Release) try_compile(FortranCInterface_VERIFY_${lang}_COMPILED ${FortranCInterface_BINARY_DIR}/Verify${lang} ${FortranCInterface_SOURCE_DIR}/Verify VerifyFortranC CMAKE_FLAGS -DVERIFY_CXX=${verify_cxx} -DCMAKE_VERBOSE_MAKEFILE=ON "-DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS}" "-DCMAKE_CXX_FLAGS:STRING=${CMAKE_CXX_FLAGS}" "-DCMAKE_Fortran_FLAGS:STRING=${CMAKE_Fortran_FLAGS}" "-DCMAKE_C_FLAGS_RELEASE:STRING=${CMAKE_C_FLAGS_RELEASE}" "-DCMAKE_CXX_FLAGS_RELEASE:STRING=${CMAKE_CXX_FLAGS_RELEASE}" "-DCMAKE_Fortran_FLAGS_RELEASE:STRING=${CMAKE_Fortran_FLAGS_RELEASE}" OUTPUT_VARIABLE _output) file(WRITE "${FortranCInterface_BINARY_DIR}/Verify${lang}/output.txt" "${_output}") # Report results. if(FortranCInterface_VERIFY_${lang}_COMPILED) message(STATUS "${_desc} - Success") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "${_desc} passed with the following output:\n${_output}\n\n") set(FortranCInterface_VERIFIED_${lang} 1 CACHE INTERNAL "Fortran/${lang} compatibility") else() message(STATUS "${_desc} - Failed") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "${_desc} failed with the following output:\n${_output}\n\n") set(FortranCInterface_VERIFIED_${lang} 0 CACHE INTERNAL "Fortran/${lang} compatibility") endif() unset(FortranCInterface_VERIFY_${lang}_COMPILED CACHE) endif() # Error if compilers are incompatible. if(NOT FortranCInterface_VERIFIED_${lang} AND NOT quiet) file(READ "${FortranCInterface_BINARY_DIR}/Verify${lang}/output.txt" _output) string(REGEX REPLACE "\n" "\n " _output "${_output}") message(FATAL_ERROR "The Fortran compiler:\n ${CMAKE_Fortran_COMPILER}\n" "and the ${lang} compiler:\n ${CMAKE_${lang}_COMPILER}\n" "failed to compile a simple test project using both languages. " "The output was:\n ${_output}") endif() endfunction() # Restore including context policies. cmake_policy(POP) cmake-2.8.12.2/Modules/GenerateExportHeader.cmake000644 000765 000024 00000030640 12266011634 022320 0ustar00kitwarestaff000000 000000 # - Function for generation of export macros for libraries # This module provides the function GENERATE_EXPORT_HEADER() and the # accompanying ADD_COMPILER_EXPORT_FLAGS() function. # # The GENERATE_EXPORT_HEADER function can be used to generate a file suitable # for preprocessor inclusion which contains EXPORT macros to be used in # library classes. # # GENERATE_EXPORT_HEADER( LIBRARY_TARGET # [BASE_NAME ] # [EXPORT_MACRO_NAME ] # [EXPORT_FILE_NAME ] # [DEPRECATED_MACRO_NAME ] # [NO_EXPORT_MACRO_NAME ] # [STATIC_DEFINE ] # [NO_DEPRECATED_MACRO_NAME ] # [DEFINE_NO_DEPRECATED] # [PREFIX_NAME ] # ) # # ADD_COMPILER_EXPORT_FLAGS( [] ) # # By default GENERATE_EXPORT_HEADER() generates macro names in a file name # determined by the name of the library. The ADD_COMPILER_EXPORT_FLAGS function # adds -fvisibility=hidden to CMAKE_CXX_FLAGS if supported, and is a no-op on # Windows which does not need extra compiler flags for exporting support. You # may optionally pass a single argument to ADD_COMPILER_EXPORT_FLAGS that will # be populated with the required CXX_FLAGS required to enable visibility support # for the compiler/architecture in use. # # This means that in the simplest case, users of these functions will be # equivalent to: # # add_compiler_export_flags() # add_library(somelib someclass.cpp) # generate_export_header(somelib) # install(TARGETS somelib DESTINATION ${LIBRARY_INSTALL_DIR}) # install(FILES # someclass.h # ${PROJECT_BINARY_DIR}/somelib_export.h DESTINATION ${INCLUDE_INSTALL_DIR} # ) # # And in the ABI header files: # # #include "somelib_export.h" # class SOMELIB_EXPORT SomeClass { # ... # }; # # The CMake fragment will generate a file in the ${CMAKE_CURRENT_BINARY_DIR} # called somelib_export.h containing the macros SOMELIB_EXPORT, SOMELIB_NO_EXPORT, # SOMELIB_DEPRECATED, SOMELIB_DEPRECATED_EXPORT and SOMELIB_DEPRECATED_NO_EXPORT. # The resulting file should be installed with other headers in the library. # # The BASE_NAME argument can be used to override the file name and the names # used for the macros # # add_library(somelib someclass.cpp) # generate_export_header(somelib # BASE_NAME other_name # ) # # Generates a file called other_name_export.h containing the macros # OTHER_NAME_EXPORT, OTHER_NAME_NO_EXPORT and OTHER_NAME_DEPRECATED etc. # # The BASE_NAME may be overridden by specifiying other options in the function. # For example: # # add_library(somelib someclass.cpp) # generate_export_header(somelib # EXPORT_MACRO_NAME OTHER_NAME_EXPORT # ) # # creates the macro OTHER_NAME_EXPORT instead of SOMELIB_EXPORT, but other macros # and the generated file name is as default. # # add_library(somelib someclass.cpp) # generate_export_header(somelib # DEPRECATED_MACRO_NAME KDE_DEPRECATED # ) # # creates the macro KDE_DEPRECATED instead of SOMELIB_DEPRECATED. # # If LIBRARY_TARGET is a static library, macros are defined without values. # # If the same sources are used to create both a shared and a static library, the # uppercased symbol ${BASE_NAME}_STATIC_DEFINE should be used when building the # static library # # add_library(shared_variant SHARED ${lib_SRCS}) # add_library(static_variant ${lib_SRCS}) # generate_export_header(shared_variant BASE_NAME libshared_and_static) # set_target_properties(static_variant PROPERTIES # COMPILE_FLAGS -DLIBSHARED_AND_STATIC_STATIC_DEFINE) # # This will cause the export macros to expand to nothing when building the # static library. # # If DEFINE_NO_DEPRECATED is specified, then a macro ${BASE_NAME}_NO_DEPRECATED # will be defined # This macro can be used to remove deprecated code from preprocessor output. # # option(EXCLUDE_DEPRECATED "Exclude deprecated parts of the library" FALSE) # if (EXCLUDE_DEPRECATED) # set(NO_BUILD_DEPRECATED DEFINE_NO_DEPRECATED) # endif() # generate_export_header(somelib ${NO_BUILD_DEPRECATED}) # # And then in somelib: # # class SOMELIB_EXPORT SomeClass # { # public: # #ifndef SOMELIB_NO_DEPRECATED # SOMELIB_DEPRECATED void oldMethod(); # #endif # }; # # #ifndef SOMELIB_NO_DEPRECATED # void SomeClass::oldMethod() { } # #endif # # If PREFIX_NAME is specified, the argument will be used as a prefix to all # generated macros. # # For example: # # generate_export_header(somelib PREFIX_NAME VTK_) # # Generates the macros VTK_SOMELIB_EXPORT etc. #============================================================================= # Copyright 2011 Stephen Kelly # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CMakeParseArguments) include(CheckCXXCompilerFlag) # TODO: Install this macro separately? macro(_check_cxx_compiler_attribute _ATTRIBUTE _RESULT) check_cxx_source_compiles("${_ATTRIBUTE} int somefunc() { return 0; } int main() { return somefunc();}" ${_RESULT} ) endmacro() macro(_test_compiler_hidden_visibility) if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.2") set(GCC_TOO_OLD TRUE) elseif(CMAKE_COMPILER_IS_GNUC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "4.2") set(GCC_TOO_OLD TRUE) elseif(CMAKE_CXX_COMPILER_ID MATCHES Intel AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "12.0") set(_INTEL_TOO_OLD TRUE) endif() # Exclude XL here because it misinterprets -fvisibility=hidden even though # the check_cxx_compiler_flag passes # http://www.cdash.org/CDash/testDetails.php?test=109109951&build=1419259 if(NOT GCC_TOO_OLD AND NOT _INTEL_TOO_OLD AND NOT WIN32 AND NOT CYGWIN AND NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES XL AND NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES PGI AND NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES Watcom) check_cxx_compiler_flag(-fvisibility=hidden COMPILER_HAS_HIDDEN_VISIBILITY) check_cxx_compiler_flag(-fvisibility-inlines-hidden COMPILER_HAS_HIDDEN_INLINE_VISIBILITY) option(USE_COMPILER_HIDDEN_VISIBILITY "Use HIDDEN visibility support if available." ON) mark_as_advanced(USE_COMPILER_HIDDEN_VISIBILITY) endif() endmacro() macro(_test_compiler_has_deprecated) if("${CMAKE_CXX_COMPILER_ID}" MATCHES Borland OR "${CMAKE_CXX_COMPILER_ID}" MATCHES HP OR GCC_TOO_OLD OR "${CMAKE_CXX_COMPILER_ID}" MATCHES PGI OR "${CMAKE_CXX_COMPILER_ID}" MATCHES Watcom) set(COMPILER_HAS_DEPRECATED "" CACHE INTERNAL "Compiler support for a deprecated attribute") else() _check_cxx_compiler_attribute("__attribute__((__deprecated__))" COMPILER_HAS_DEPRECATED_ATTR) if(COMPILER_HAS_DEPRECATED_ATTR) set(COMPILER_HAS_DEPRECATED "${COMPILER_HAS_DEPRECATED_ATTR}" CACHE INTERNAL "Compiler support for a deprecated attribute") else() _check_cxx_compiler_attribute("__declspec(deprecated)" COMPILER_HAS_DEPRECATED) endif() endif() endmacro() get_filename_component(_GENERATE_EXPORT_HEADER_MODULE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) macro(_DO_SET_MACRO_VALUES TARGET_LIBRARY) set(DEFINE_DEPRECATED) set(DEFINE_EXPORT) set(DEFINE_IMPORT) set(DEFINE_NO_EXPORT) if (COMPILER_HAS_DEPRECATED_ATTR) set(DEFINE_DEPRECATED "__attribute__ ((__deprecated__))") elseif(COMPILER_HAS_DEPRECATED) set(DEFINE_DEPRECATED "__declspec(deprecated)") endif() get_property(type TARGET ${TARGET_LIBRARY} PROPERTY TYPE) if(NOT ${type} STREQUAL "STATIC_LIBRARY") if(WIN32) set(DEFINE_EXPORT "__declspec(dllexport)") set(DEFINE_IMPORT "__declspec(dllimport)") elseif(COMPILER_HAS_HIDDEN_VISIBILITY AND USE_COMPILER_HIDDEN_VISIBILITY) set(DEFINE_EXPORT "__attribute__((visibility(\"default\")))") set(DEFINE_IMPORT "__attribute__((visibility(\"default\")))") set(DEFINE_NO_EXPORT "__attribute__((visibility(\"hidden\")))") endif() endif() endmacro() macro(_DO_GENERATE_EXPORT_HEADER TARGET_LIBRARY) # Option overrides set(options DEFINE_NO_DEPRECATED) set(oneValueArgs PREFIX_NAME BASE_NAME EXPORT_MACRO_NAME EXPORT_FILE_NAME DEPRECATED_MACRO_NAME NO_EXPORT_MACRO_NAME STATIC_DEFINE NO_DEPRECATED_MACRO_NAME) set(multiValueArgs) cmake_parse_arguments(_GEH "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) set(BASE_NAME "${TARGET_LIBRARY}") if(_GEH_BASE_NAME) set(BASE_NAME ${_GEH_BASE_NAME}) endif() string(TOUPPER ${BASE_NAME} BASE_NAME_UPPER) string(TOLOWER ${BASE_NAME} BASE_NAME_LOWER) # Default options set(EXPORT_MACRO_NAME "${_GEH_PREFIX_NAME}${BASE_NAME_UPPER}_EXPORT") set(NO_EXPORT_MACRO_NAME "${_GEH_PREFIX_NAME}${BASE_NAME_UPPER}_NO_EXPORT") set(EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME_LOWER}_export.h") set(DEPRECATED_MACRO_NAME "${_GEH_PREFIX_NAME}${BASE_NAME_UPPER}_DEPRECATED") set(STATIC_DEFINE "${_GEH_PREFIX_NAME}${BASE_NAME_UPPER}_STATIC_DEFINE") set(NO_DEPRECATED_MACRO_NAME "${_GEH_PREFIX_NAME}${BASE_NAME_UPPER}_NO_DEPRECATED") if(_GEH_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to GENERATE_EXPORT_HEADER(): \"${_GEH_UNPARSED_ARGUMENTS}\"") endif() if(_GEH_EXPORT_MACRO_NAME) set(EXPORT_MACRO_NAME ${_GEH_PREFIX_NAME}${_GEH_EXPORT_MACRO_NAME}) endif() string(MAKE_C_IDENTIFIER ${EXPORT_MACRO_NAME} EXPORT_MACRO_NAME) if(_GEH_EXPORT_FILE_NAME) if(IS_ABSOLUTE ${_GEH_EXPORT_FILE_NAME}) set(EXPORT_FILE_NAME ${_GEH_EXPORT_FILE_NAME}) else() set(EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/${_GEH_EXPORT_FILE_NAME}") endif() endif() if(_GEH_DEPRECATED_MACRO_NAME) set(DEPRECATED_MACRO_NAME ${_GEH_PREFIX_NAME}${_GEH_DEPRECATED_MACRO_NAME}) endif() string(MAKE_C_IDENTIFIER ${DEPRECATED_MACRO_NAME} DEPRECATED_MACRO_NAME) if(_GEH_NO_EXPORT_MACRO_NAME) set(NO_EXPORT_MACRO_NAME ${_GEH_PREFIX_NAME}${_GEH_NO_EXPORT_MACRO_NAME}) endif() string(MAKE_C_IDENTIFIER ${NO_EXPORT_MACRO_NAME} NO_EXPORT_MACRO_NAME) if(_GEH_STATIC_DEFINE) set(STATIC_DEFINE ${_GEH_PREFIX_NAME}${_GEH_STATIC_DEFINE}) endif() string(MAKE_C_IDENTIFIER ${STATIC_DEFINE} STATIC_DEFINE) if(_GEH_DEFINE_NO_DEPRECATED) set(DEFINE_NO_DEPRECATED TRUE) endif() if(_GEH_NO_DEPRECATED_MACRO_NAME) set(NO_DEPRECATED_MACRO_NAME ${_GEH_PREFIX_NAME}${_GEH_NO_DEPRECATED_MACRO_NAME}) endif() string(MAKE_C_IDENTIFIER ${NO_DEPRECATED_MACRO_NAME} NO_DEPRECATED_MACRO_NAME) set(INCLUDE_GUARD_NAME "${EXPORT_MACRO_NAME}_H") get_target_property(EXPORT_IMPORT_CONDITION ${TARGET_LIBRARY} DEFINE_SYMBOL) if(NOT EXPORT_IMPORT_CONDITION) set(EXPORT_IMPORT_CONDITION ${TARGET_LIBRARY}_EXPORTS) endif() string(MAKE_C_IDENTIFIER ${EXPORT_IMPORT_CONDITION} EXPORT_IMPORT_CONDITION) configure_file("${_GENERATE_EXPORT_HEADER_MODULE_DIR}/exportheader.cmake.in" "${EXPORT_FILE_NAME}" @ONLY) endmacro() function(GENERATE_EXPORT_HEADER TARGET_LIBRARY) get_property(type TARGET ${TARGET_LIBRARY} PROPERTY TYPE) if(NOT ${type} STREQUAL "STATIC_LIBRARY" AND NOT ${type} STREQUAL "SHARED_LIBRARY" AND NOT ${type} STREQUAL "MODULE_LIBRARY") message(WARNING "This macro can only be used with libraries") return() endif() _test_compiler_hidden_visibility() _test_compiler_has_deprecated() _do_set_macro_values(${TARGET_LIBRARY}) _do_generate_export_header(${TARGET_LIBRARY} ${ARGN}) endfunction() function(add_compiler_export_flags) _test_compiler_hidden_visibility() _test_compiler_has_deprecated() if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY)) # Just return if there are no flags to add. return() endif() set (EXTRA_FLAGS "-fvisibility=hidden") if(COMPILER_HAS_HIDDEN_INLINE_VISIBILITY) set (EXTRA_FLAGS "${EXTRA_FLAGS} -fvisibility-inlines-hidden") endif() # Either return the extra flags needed in the supplied argument, or to the # CMAKE_CXX_FLAGS if no argument is supplied. if(ARGV0) set(${ARGV0} "${EXTRA_FLAGS}" PARENT_SCOPE) else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS}" PARENT_SCOPE) endif() endfunction() cmake-2.8.12.2/Modules/GetPrerequisites.cmake000644 000765 000024 00000071141 12266011634 021560 0ustar00kitwarestaff000000 000000 # - Functions to analyze and list executable file prerequisites. # This module provides functions to list the .dll, .dylib or .so # files that an executable or shared library file depends on. (Its # prerequisites.) # # It uses various tools to obtain the list of required shared library files: # dumpbin (Windows) # objdump (MinGW on Windows) # ldd (Linux/Unix) # otool (Mac OSX) # The following functions are provided by this module: # get_prerequisites # list_prerequisites # list_prerequisites_by_glob # gp_append_unique # is_file_executable # gp_item_default_embedded_path # (projects can override with gp_item_default_embedded_path_override) # gp_resolve_item # (projects can override with gp_resolve_item_override) # gp_resolved_file_type # (projects can override with gp_resolved_file_type_override) # gp_file_type # Requires CMake 2.6 or greater because it uses function, break, return and # PARENT_SCOPE. # # GET_PREREQUISITES( # ) # Get the list of shared library files required by . The list in # the variable named should be empty on first entry to # this function. On exit, will contain the list of # required shared library files. # # is the full path to an executable file. is the # name of a CMake variable to contain the results. must be 0 # or 1 indicating whether to include or exclude "system" prerequisites. If # is set to 1 all prerequisites will be found recursively, if set to # 0 only direct prerequisites are listed. is the path to the top # level executable used for @executable_path replacment on the Mac. is # a list of paths where libraries might be found: these paths are searched # first when a target without any path info is given. Then standard system # locations are also searched: PATH, Framework locations, /usr/lib... # # LIST_PREREQUISITES( [ [ []]]) # Print a message listing the prerequisites of . # # is the name of a shared library or executable target or the full # path to a shared library or executable file. If is set to 1 all # prerequisites will be found recursively, if set to 0 only direct # prerequisites are listed. must be 0 or 1 indicating whether # to include or exclude "system" prerequisites. With set to 0 only # the full path names of the prerequisites are printed, set to 1 extra # informatin will be displayed. # # LIST_PREREQUISITES_BY_GLOB( ) # Print the prerequisites of shared library and executable files matching a # globbing pattern. is GLOB or GLOB_RECURSE and is a # globbing expression used with "file(GLOB" or "file(GLOB_RECURSE" to retrieve # a list of matching files. If a matching file is executable, its prerequisites # are listed. # # Any additional (optional) arguments provided are passed along as the # optional arguments to the list_prerequisites calls. # # GP_APPEND_UNIQUE( ) # Append to the list variable only if the value is not # already in the list. # # IS_FILE_EXECUTABLE( ) # Return 1 in if is a binary executable, 0 otherwise. # # GP_ITEM_DEFAULT_EMBEDDED_PATH( ) # Return the path that others should refer to the item by when the item # is embedded inside a bundle. # # Override on a per-project basis by providing a project-specific # gp_item_default_embedded_path_override function. # # GP_RESOLVE_ITEM( ) # Resolve an item into an existing full path file. # # Override on a per-project basis by providing a project-specific # gp_resolve_item_override function. # # GP_RESOLVED_FILE_TYPE( ) # Return the type of with respect to . String # describing type of prerequisite is returned in variable named . # # Use and if necessary to resolve non-absolute # values -- but only for non-embedded items. # # Possible types are: # system # local # embedded # other # Override on a per-project basis by providing a project-specific # gp_resolved_file_type_override function. # # GP_FILE_TYPE( ) # Return the type of with respect to . String # describing type of prerequisite is returned in variable named . # # Possible types are: # system # local # embedded # other #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) function(gp_append_unique list_var value) set(contains 0) foreach(item ${${list_var}}) if("${item}" STREQUAL "${value}") set(contains 1) break() endif() endforeach() if(NOT contains) set(${list_var} ${${list_var}} "${value}" PARENT_SCOPE) endif() endfunction() function(is_file_executable file result_var) # # A file is not executable until proven otherwise: # set(${result_var} 0 PARENT_SCOPE) get_filename_component(file_full "${file}" ABSOLUTE) string(TOLOWER "${file_full}" file_full_lower) # If file name ends in .exe on Windows, *assume* executable: # if(WIN32 AND NOT UNIX) if("${file_full_lower}" MATCHES "\\.exe$") set(${result_var} 1 PARENT_SCOPE) return() endif() # A clause could be added here that uses output or return value of dumpbin # to determine ${result_var}. In 99%+? practical cases, the exe name # match will be sufficient... # endif() # Use the information returned from the Unix shell command "file" to # determine if ${file_full} should be considered an executable file... # # If the file command's output contains "executable" and does *not* contain # "text" then it is likely an executable suitable for prerequisite analysis # via the get_prerequisites macro. # if(UNIX) if(NOT file_cmd) find_program(file_cmd "file") mark_as_advanced(file_cmd) endif() if(file_cmd) execute_process(COMMAND "${file_cmd}" "${file_full}" OUTPUT_VARIABLE file_ov OUTPUT_STRIP_TRAILING_WHITESPACE ) # Replace the name of the file in the output with a placeholder token # (the string " _file_full_ ") so that just in case the path name of # the file contains the word "text" or "executable" we are not fooled # into thinking "the wrong thing" because the file name matches the # other 'file' command output we are looking for... # string(REPLACE "${file_full}" " _file_full_ " file_ov "${file_ov}") string(TOLOWER "${file_ov}" file_ov) #message(STATUS "file_ov='${file_ov}'") if("${file_ov}" MATCHES "executable") #message(STATUS "executable!") if("${file_ov}" MATCHES "text") #message(STATUS "but text, so *not* a binary executable!") else() set(${result_var} 1 PARENT_SCOPE) return() endif() endif() # Also detect position independent executables on Linux, # where "file" gives "shared object ... (uses shared libraries)" if("${file_ov}" MATCHES "shared object.*\(uses shared libs\)") set(${result_var} 1 PARENT_SCOPE) return() endif() else() message(STATUS "warning: No 'file' command, skipping execute_process...") endif() endif() endfunction() function(gp_item_default_embedded_path item default_embedded_path_var) # On Windows and Linux, "embed" prerequisites in the same directory # as the executable by default: # set(path "@executable_path") set(overridden 0) # On the Mac, relative to the executable depending on the type # of the thing we are embedding: # if(APPLE) # # The assumption here is that all executables in the bundle will be # in same-level-directories inside the bundle. The parent directory # of an executable inside the bundle should be MacOS or a sibling of # MacOS and all embedded paths returned from here will begin with # "@executable_path/../" and will work from all executables in all # such same-level-directories inside the bundle. # # By default, embed things right next to the main bundle executable: # set(path "@executable_path/../../Contents/MacOS") # Embed .dylibs right next to the main bundle executable: # if(item MATCHES "\\.dylib$") set(path "@executable_path/../MacOS") set(overridden 1) endif() # Embed frameworks in the embedded "Frameworks" directory (sibling of MacOS): # if(NOT overridden) if(item MATCHES "[^/]+\\.framework/") set(path "@executable_path/../Frameworks") set(overridden 1) endif() endif() endif() # Provide a hook so that projects can override the default embedded location # of any given library by whatever logic they choose: # if(COMMAND gp_item_default_embedded_path_override) gp_item_default_embedded_path_override("${item}" path) endif() set(${default_embedded_path_var} "${path}" PARENT_SCOPE) endfunction() function(gp_resolve_item context item exepath dirs resolved_item_var) set(resolved 0) set(resolved_item "${item}") # Is it already resolved? # if(IS_ABSOLUTE "${resolved_item}" AND EXISTS "${resolved_item}") set(resolved 1) endif() if(NOT resolved) if(item MATCHES "@executable_path") # # @executable_path references are assumed relative to exepath # string(REPLACE "@executable_path" "${exepath}" ri "${item}") get_filename_component(ri "${ri}" ABSOLUTE) if(EXISTS "${ri}") #message(STATUS "info: embedded item exists (${ri})") set(resolved 1) set(resolved_item "${ri}") else() message(STATUS "warning: embedded item does not exist '${ri}'") endif() endif() endif() if(NOT resolved) if(item MATCHES "@loader_path") # # @loader_path references are assumed relative to the # PATH of the given "context" (presumably another library) # get_filename_component(contextpath "${context}" PATH) string(REPLACE "@loader_path" "${contextpath}" ri "${item}") get_filename_component(ri "${ri}" ABSOLUTE) if(EXISTS "${ri}") #message(STATUS "info: embedded item exists (${ri})") set(resolved 1) set(resolved_item "${ri}") else() message(STATUS "warning: embedded item does not exist '${ri}'") endif() endif() endif() if(NOT resolved) if(item MATCHES "@rpath") # # @rpath references are relative to the paths built into the binaries with -rpath # We handle this case like we do for other Unixes # string(REPLACE "@rpath/" "" norpath_item "${item}") set(ri "ri-NOTFOUND") find_file(ri "${norpath_item}" ${exepath} ${dirs} NO_DEFAULT_PATH) if(ri) #message(STATUS "info: 'find_file' in exepath/dirs (${ri})") set(resolved 1) set(resolved_item "${ri}") set(ri "ri-NOTFOUND") endif() endif() endif() if(NOT resolved) set(ri "ri-NOTFOUND") find_file(ri "${item}" ${exepath} ${dirs} NO_DEFAULT_PATH) find_file(ri "${item}" ${exepath} ${dirs} /usr/lib) if(ri) #message(STATUS "info: 'find_file' in exepath/dirs (${ri})") set(resolved 1) set(resolved_item "${ri}") set(ri "ri-NOTFOUND") endif() endif() if(NOT resolved) if(item MATCHES "[^/]+\\.framework/") set(fw "fw-NOTFOUND") find_file(fw "${item}" "~/Library/Frameworks" "/Library/Frameworks" "/System/Library/Frameworks" ) if(fw) #message(STATUS "info: 'find_file' found framework (${fw})") set(resolved 1) set(resolved_item "${fw}") set(fw "fw-NOTFOUND") endif() endif() endif() # Using find_program on Windows will find dll files that are in the PATH. # (Converting simple file names into full path names if found.) # if(WIN32 AND NOT UNIX) if(NOT resolved) set(ri "ri-NOTFOUND") find_program(ri "${item}" PATHS "${exepath};${dirs}" NO_DEFAULT_PATH) find_program(ri "${item}" PATHS "${exepath};${dirs}") if(ri) #message(STATUS "info: 'find_program' in exepath/dirs (${ri})") set(resolved 1) set(resolved_item "${ri}") set(ri "ri-NOTFOUND") endif() endif() endif() # Provide a hook so that projects can override item resolution # by whatever logic they choose: # if(COMMAND gp_resolve_item_override) gp_resolve_item_override("${context}" "${item}" "${exepath}" "${dirs}" resolved_item resolved) endif() if(NOT resolved) message(STATUS " warning: cannot resolve item '${item}' possible problems: need more directories? need to use InstallRequiredSystemLibraries? run in install tree instead of build tree? ") # message(STATUS " #****************************************************************************** #warning: cannot resolve item '${item}' # # possible problems: # need more directories? # need to use InstallRequiredSystemLibraries? # run in install tree instead of build tree? # # context='${context}' # item='${item}' # exepath='${exepath}' # dirs='${dirs}' # resolved_item_var='${resolved_item_var}' #****************************************************************************** #") endif() set(${resolved_item_var} "${resolved_item}" PARENT_SCOPE) endfunction() function(gp_resolved_file_type original_file file exepath dirs type_var) #message(STATUS "**") if(NOT IS_ABSOLUTE "${original_file}") message(STATUS "warning: gp_resolved_file_type expects absolute full path for first arg original_file") endif() set(is_embedded 0) set(is_local 0) set(is_system 0) set(resolved_file "${file}") if("${file}" MATCHES "^@(executable|loader)_path") set(is_embedded 1) endif() if(NOT is_embedded) if(NOT IS_ABSOLUTE "${file}") gp_resolve_item("${original_file}" "${file}" "${exepath}" "${dirs}" resolved_file) endif() string(TOLOWER "${original_file}" original_lower) string(TOLOWER "${resolved_file}" lower) if(UNIX) if(resolved_file MATCHES "^(/lib/|/lib32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/lib64/|/usr/X11R6/|/usr/bin/)") set(is_system 1) endif() endif() if(APPLE) if(resolved_file MATCHES "^(/System/Library/|/usr/lib/)") set(is_system 1) endif() endif() if(WIN32) string(TOLOWER "$ENV{SystemRoot}" sysroot) string(REGEX REPLACE "\\\\" "/" sysroot "${sysroot}") string(TOLOWER "$ENV{windir}" windir) string(REGEX REPLACE "\\\\" "/" windir "${windir}") if(lower MATCHES "^(${sysroot}/sys(tem|wow)|${windir}/sys(tem|wow)|(.*/)*msvc[^/]+dll)") set(is_system 1) endif() if(UNIX) # if cygwin, we can get the properly formed windows paths from cygpath find_program(CYGPATH_EXECUTABLE cygpath) if(CYGPATH_EXECUTABLE) execute_process(COMMAND ${CYGPATH_EXECUTABLE} -W OUTPUT_VARIABLE env_windir OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process(COMMAND ${CYGPATH_EXECUTABLE} -S OUTPUT_VARIABLE env_sysdir OUTPUT_STRIP_TRAILING_WHITESPACE) string(TOLOWER "${env_windir}" windir) string(TOLOWER "${env_sysdir}" sysroot) if(lower MATCHES "^(${sysroot}/sys(tem|wow)|${windir}/sys(tem|wow)|(.*/)*msvc[^/]+dll)") set(is_system 1) endif() endif() endif() endif() if(NOT is_system) get_filename_component(original_path "${original_lower}" PATH) get_filename_component(path "${lower}" PATH) if("${original_path}" STREQUAL "${path}") set(is_local 1) else() string(LENGTH "${original_path}/" original_length) string(LENGTH "${lower}" path_length) if(${path_length} GREATER ${original_length}) string(SUBSTRING "${lower}" 0 ${original_length} path) if("${original_path}/" STREQUAL "${path}") set(is_embedded 1) endif() endif() endif() endif() endif() # Return type string based on computed booleans: # set(type "other") if(is_system) set(type "system") elseif(is_embedded) set(type "embedded") elseif(is_local) set(type "local") endif() #message(STATUS "gp_resolved_file_type: '${file}' '${resolved_file}'") #message(STATUS " type: '${type}'") if(NOT is_embedded) if(NOT IS_ABSOLUTE "${resolved_file}") if(lower MATCHES "^msvc[^/]+dll" AND is_system) message(STATUS "info: non-absolute msvc file '${file}' returning type '${type}'") else() message(STATUS "warning: gp_resolved_file_type non-absolute file '${file}' returning type '${type}' -- possibly incorrect") endif() endif() endif() # Provide a hook so that projects can override the decision on whether a # library belongs to the system or not by whatever logic they choose: # if(COMMAND gp_resolved_file_type_override) gp_resolved_file_type_override("${resolved_file}" type) endif() set(${type_var} "${type}" PARENT_SCOPE) #message(STATUS "**") endfunction() function(gp_file_type original_file file type_var) if(NOT IS_ABSOLUTE "${original_file}") message(STATUS "warning: gp_file_type expects absolute full path for first arg original_file") endif() get_filename_component(exepath "${original_file}" PATH) set(type "") gp_resolved_file_type("${original_file}" "${file}" "${exepath}" "" type) set(${type_var} "${type}" PARENT_SCOPE) endfunction() function(get_prerequisites target prerequisites_var exclude_system recurse exepath dirs) set(verbose 0) set(eol_char "E") if(NOT IS_ABSOLUTE "${target}") message("warning: target '${target}' is not absolute...") endif() if(NOT EXISTS "${target}") message("warning: target '${target}' does not exist...") endif() set(gp_cmd_paths ${gp_cmd_paths} "C:/Program Files/Microsoft Visual Studio 9.0/VC/bin" "C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" "C:/Program Files/Microsoft Visual Studio 8/VC/BIN" "C:/Program Files (x86)/Microsoft Visual Studio 8/VC/BIN" "C:/Program Files/Microsoft Visual Studio .NET 2003/VC7/BIN" "C:/Program Files (x86)/Microsoft Visual Studio .NET 2003/VC7/BIN" "/usr/local/bin" "/usr/bin" ) # # # Try to choose the right tool by default. Caller can set gp_tool prior to # calling this function to force using a different tool. # if("${gp_tool}" STREQUAL "") set(gp_tool "ldd") if(APPLE) set(gp_tool "otool") endif() if(WIN32 AND NOT UNIX) # This is how to check for cygwin, har! find_program(gp_dumpbin "dumpbin" PATHS ${gp_cmd_paths}) if(gp_dumpbin) set(gp_tool "dumpbin") else() # Try harder. Maybe we're on MinGW set(gp_tool "objdump") endif() endif() endif() find_program(gp_cmd ${gp_tool} PATHS ${gp_cmd_paths}) if(NOT gp_cmd) message(STATUS "warning: could not find '${gp_tool}' - cannot analyze prerequisites...") return() endif() set(gp_tool_known 0) if("${gp_tool}" STREQUAL "ldd") set(gp_cmd_args "") set(gp_regex "^[\t ]*[^\t ]+ => ([^\t\(]+) .*${eol_char}$") set(gp_regex_error "not found${eol_char}$") set(gp_regex_fallback "^[\t ]*([^\t ]+) => ([^\t ]+).*${eol_char}$") set(gp_regex_cmp_count 1) set(gp_tool_known 1) endif() if("${gp_tool}" STREQUAL "otool") set(gp_cmd_args "-L") set(gp_regex "^\t([^\t]+) \\(compatibility version ([0-9]+.[0-9]+.[0-9]+), current version ([0-9]+.[0-9]+.[0-9]+)\\)${eol_char}$") set(gp_regex_error "") set(gp_regex_fallback "") set(gp_regex_cmp_count 3) set(gp_tool_known 1) endif() if("${gp_tool}" STREQUAL "dumpbin") set(gp_cmd_args "/dependents") set(gp_regex "^ ([^ ].*[Dd][Ll][Ll])${eol_char}$") set(gp_regex_error "") set(gp_regex_fallback "") set(gp_regex_cmp_count 1) set(gp_tool_known 1) endif() if("${gp_tool}" STREQUAL "objdump") set(gp_cmd_args "-p") set(gp_regex "^\t*DLL Name: (.*\\.[Dd][Ll][Ll])${eol_char}$") set(gp_regex_error "") set(gp_regex_fallback "") set(gp_regex_cmp_count 1) set(gp_tool_known 1) endif() if(NOT gp_tool_known) message(STATUS "warning: gp_tool='${gp_tool}' is an unknown tool...") message(STATUS "CMake function get_prerequisites needs more code to handle '${gp_tool}'") message(STATUS "Valid gp_tool values are dumpbin, ldd, objdump and otool.") return() endif() if("${gp_tool}" STREQUAL "dumpbin") # When running dumpbin, it also needs the "Common7/IDE" directory in the # PATH. It will already be in the PATH if being run from a Visual Studio # command prompt. Add it to the PATH here in case we are running from a # different command prompt. # get_filename_component(gp_cmd_dir "${gp_cmd}" PATH) get_filename_component(gp_cmd_dlls_dir "${gp_cmd_dir}/../../Common7/IDE" ABSOLUTE) # Use cmake paths as a user may have a PATH element ending with a backslash. # This will escape the list delimiter and create havoc! if(EXISTS "${gp_cmd_dlls_dir}") # only add to the path if it is not already in the path set(gp_found_cmd_dlls_dir 0) file(TO_CMAKE_PATH "$ENV{PATH}" env_path) foreach(gp_env_path_element ${env_path}) if("${gp_env_path_element}" STREQUAL "${gp_cmd_dlls_dir}") set(gp_found_cmd_dlls_dir 1) endif() endforeach() if(NOT gp_found_cmd_dlls_dir) file(TO_NATIVE_PATH "${gp_cmd_dlls_dir}" gp_cmd_dlls_dir) set(ENV{PATH} "$ENV{PATH};${gp_cmd_dlls_dir}") endif() endif() endif() # # if("${gp_tool}" STREQUAL "ldd") set(old_ld_env "$ENV{LD_LIBRARY_PATH}") foreach(dir ${exepath} ${dirs}) set(ENV{LD_LIBRARY_PATH} "${dir}:$ENV{LD_LIBRARY_PATH}") endforeach() endif() # Track new prerequisites at each new level of recursion. Start with an # empty list at each level: # set(unseen_prereqs) # Run gp_cmd on the target: # execute_process( COMMAND ${gp_cmd} ${gp_cmd_args} ${target} OUTPUT_VARIABLE gp_cmd_ov ) if("${gp_tool}" STREQUAL "ldd") set(ENV{LD_LIBRARY_PATH} "${old_ld_env}") endif() if(verbose) message(STATUS "") message(STATUS "gp_cmd_ov='${gp_cmd_ov}'") message(STATUS "") endif() get_filename_component(target_dir "${target}" PATH) # Convert to a list of lines: # string(REGEX REPLACE ";" "\\\\;" candidates "${gp_cmd_ov}") string(REGEX REPLACE "\n" "${eol_char};" candidates "${candidates}") # check for install id and remove it from list, since otool -L can include a # reference to itself set(gp_install_id) if("${gp_tool}" STREQUAL "otool") execute_process( COMMAND otool -D ${target} OUTPUT_VARIABLE gp_install_id_ov ) # second line is install name string(REGEX REPLACE ".*:\n" "" gp_install_id "${gp_install_id_ov}") if(gp_install_id) # trim string(REGEX MATCH "[^\n ].*[^\n ]" gp_install_id "${gp_install_id}") #message("INSTALL ID is \"${gp_install_id}\"") endif() endif() # Analyze each line for file names that match the regular expression: # foreach(candidate ${candidates}) if("${candidate}" MATCHES "${gp_regex}") # Extract information from each candidate: if(gp_regex_error AND "${candidate}" MATCHES "${gp_regex_error}") string(REGEX REPLACE "${gp_regex_fallback}" "\\1" raw_item "${candidate}") else() string(REGEX REPLACE "${gp_regex}" "\\1" raw_item "${candidate}") endif() if(gp_regex_cmp_count GREATER 1) string(REGEX REPLACE "${gp_regex}" "\\2" raw_compat_version "${candidate}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\1" compat_major_version "${raw_compat_version}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\2" compat_minor_version "${raw_compat_version}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\3" compat_patch_version "${raw_compat_version}") endif() if(gp_regex_cmp_count GREATER 2) string(REGEX REPLACE "${gp_regex}" "\\3" raw_current_version "${candidate}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\1" current_major_version "${raw_current_version}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\2" current_minor_version "${raw_current_version}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\3" current_patch_version "${raw_current_version}") endif() # Use the raw_item as the list entries returned by this function. Use the # gp_resolve_item function to resolve it to an actual full path file if # necessary. # set(item "${raw_item}") # Add each item unless it is excluded: # set(add_item 1) if("${item}" STREQUAL "${gp_install_id}") set(add_item 0) endif() if(add_item AND ${exclude_system}) set(type "") gp_resolved_file_type("${target}" "${item}" "${exepath}" "${dirs}" type) if("${type}" STREQUAL "system") set(add_item 0) endif() endif() if(add_item) list(LENGTH ${prerequisites_var} list_length_before_append) gp_append_unique(${prerequisites_var} "${item}") list(LENGTH ${prerequisites_var} list_length_after_append) if(${recurse}) # If item was really added, this is the first time we have seen it. # Add it to unseen_prereqs so that we can recursively add *its* # prerequisites... # # But first: resolve its name to an absolute full path name such # that the analysis tools can simply accept it as input. # if(NOT list_length_before_append EQUAL list_length_after_append) gp_resolve_item("${target}" "${item}" "${exepath}" "${dirs}" resolved_item) set(unseen_prereqs ${unseen_prereqs} "${resolved_item}") endif() endif() endif() else() if(verbose) message(STATUS "ignoring non-matching line: '${candidate}'") endif() endif() endforeach() list(LENGTH ${prerequisites_var} prerequisites_var_length) if(prerequisites_var_length GREATER 0) list(SORT ${prerequisites_var}) endif() if(${recurse}) set(more_inputs ${unseen_prereqs}) foreach(input ${more_inputs}) get_prerequisites("${input}" ${prerequisites_var} ${exclude_system} ${recurse} "${exepath}" "${dirs}") endforeach() endif() set(${prerequisites_var} ${${prerequisites_var}} PARENT_SCOPE) endfunction() function(list_prerequisites target) if("${ARGV1}" STREQUAL "") set(all 1) else() set(all "${ARGV1}") endif() if("${ARGV2}" STREQUAL "") set(exclude_system 0) else() set(exclude_system "${ARGV2}") endif() if("${ARGV3}" STREQUAL "") set(verbose 0) else() set(verbose "${ARGV3}") endif() set(count 0) set(count_str "") set(print_count "${verbose}") set(print_prerequisite_type "${verbose}") set(print_target "${verbose}") set(type_str "") get_filename_component(exepath "${target}" PATH) set(prereqs "") get_prerequisites("${target}" prereqs ${exclude_system} ${all} "${exepath}" "") if(print_target) message(STATUS "File '${target}' depends on:") endif() foreach(d ${prereqs}) math(EXPR count "${count} + 1") if(print_count) set(count_str "${count}. ") endif() if(print_prerequisite_type) gp_file_type("${target}" "${d}" type) set(type_str " (${type})") endif() message(STATUS "${count_str}${d}${type_str}") endforeach() endfunction() function(list_prerequisites_by_glob glob_arg glob_exp) message(STATUS "=============================================================================") message(STATUS "List prerequisites of executables matching ${glob_arg} '${glob_exp}'") message(STATUS "") file(${glob_arg} file_list ${glob_exp}) foreach(f ${file_list}) is_file_executable("${f}" is_f_executable) if(is_f_executable) message(STATUS "=============================================================================") list_prerequisites("${f}" ${ARGN}) message(STATUS "") endif() endforeach() endfunction() cmake-2.8.12.2/Modules/GNUInstallDirs.cmake000644 000765 000024 00000016266 12266011634 021065 0ustar00kitwarestaff000000 000000 # - Define GNU standard installation directories # Provides install directory variables as defined for GNU software: # http://www.gnu.org/prep/standards/html_node/Directory-Variables.html # Inclusion of this module defines the following variables: # CMAKE_INSTALL_ - destination for files of a given type # CMAKE_INSTALL_FULL_ - corresponding absolute path # where is one of: # BINDIR - user executables (bin) # SBINDIR - system admin executables (sbin) # LIBEXECDIR - program executables (libexec) # SYSCONFDIR - read-only single-machine data (etc) # SHAREDSTATEDIR - modifiable architecture-independent data (com) # LOCALSTATEDIR - modifiable single-machine data (var) # LIBDIR - object code libraries (lib or lib64 or lib/ on Debian) # INCLUDEDIR - C header files (include) # OLDINCLUDEDIR - C header files for non-gcc (/usr/include) # DATAROOTDIR - read-only architecture-independent data root (share) # DATADIR - read-only architecture-independent data (DATAROOTDIR) # INFODIR - info documentation (DATAROOTDIR/info) # LOCALEDIR - locale-dependent data (DATAROOTDIR/locale) # MANDIR - man documentation (DATAROOTDIR/man) # DOCDIR - documentation root (DATAROOTDIR/doc/PROJECT_NAME) # Each CMAKE_INSTALL_ value may be passed to the DESTINATION options of # install() commands for the corresponding file type. If the includer does # not define a value the above-shown default will be used and the value will # appear in the cache for editing by the user. # Each CMAKE_INSTALL_FULL_ value contains an absolute path constructed # from the corresponding destination by prepending (if necessary) the value # of CMAKE_INSTALL_PREFIX. #============================================================================= # Copyright 2011 Nikita Krupen'ko # Copyright 2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Installation directories # if(NOT DEFINED CMAKE_INSTALL_BINDIR) set(CMAKE_INSTALL_BINDIR "bin" CACHE PATH "user executables (bin)") endif() if(NOT DEFINED CMAKE_INSTALL_SBINDIR) set(CMAKE_INSTALL_SBINDIR "sbin" CACHE PATH "system admin executables (sbin)") endif() if(NOT DEFINED CMAKE_INSTALL_LIBEXECDIR) set(CMAKE_INSTALL_LIBEXECDIR "libexec" CACHE PATH "program executables (libexec)") endif() if(NOT DEFINED CMAKE_INSTALL_SYSCONFDIR) set(CMAKE_INSTALL_SYSCONFDIR "etc" CACHE PATH "read-only single-machine data (etc)") endif() if(NOT DEFINED CMAKE_INSTALL_SHAREDSTATEDIR) set(CMAKE_INSTALL_SHAREDSTATEDIR "com" CACHE PATH "modifiable architecture-independent data (com)") endif() if(NOT DEFINED CMAKE_INSTALL_LOCALSTATEDIR) set(CMAKE_INSTALL_LOCALSTATEDIR "var" CACHE PATH "modifiable single-machine data (var)") endif() if(NOT DEFINED CMAKE_INSTALL_LIBDIR) set(_LIBDIR_DEFAULT "lib") # Override this default 'lib' with 'lib64' iff: # - we are on Linux system but NOT cross-compiling # - we are NOT on debian # - we are on a 64 bits system # reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf # For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if # CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu" # See http://wiki.debian.org/Multiarch if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_CROSSCOMPILING) if (EXISTS "/etc/debian_version") # is this a debian system ? if(CMAKE_LIBRARY_ARCHITECTURE) set(_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}") endif() else() # not debian, rely on CMAKE_SIZEOF_VOID_P: if(NOT DEFINED CMAKE_SIZEOF_VOID_P) message(AUTHOR_WARNING "Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. " "Please enable at least one language before including GNUInstallDirs.") else() if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") set(_LIBDIR_DEFAULT "lib64") endif() endif() endif() endif() set(CMAKE_INSTALL_LIBDIR "${_LIBDIR_DEFAULT}" CACHE PATH "object code libraries (${_LIBDIR_DEFAULT})") endif() if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR) set(CMAKE_INSTALL_INCLUDEDIR "include" CACHE PATH "C header files (include)") endif() if(NOT DEFINED CMAKE_INSTALL_OLDINCLUDEDIR) set(CMAKE_INSTALL_OLDINCLUDEDIR "/usr/include" CACHE PATH "C header files for non-gcc (/usr/include)") endif() if(NOT DEFINED CMAKE_INSTALL_DATAROOTDIR) set(CMAKE_INSTALL_DATAROOTDIR "share" CACHE PATH "read-only architecture-independent data root (share)") endif() #----------------------------------------------------------------------------- # Values whose defaults are relative to DATAROOTDIR. Store empty values in # the cache and store the defaults in local variables if the cache values are # not set explicitly. This auto-updates the defaults as DATAROOTDIR changes. if(NOT CMAKE_INSTALL_DATADIR) set(CMAKE_INSTALL_DATADIR "" CACHE PATH "read-only architecture-independent data (DATAROOTDIR)") set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}") endif() if(NOT CMAKE_INSTALL_INFODIR) set(CMAKE_INSTALL_INFODIR "" CACHE PATH "info documentation (DATAROOTDIR/info)") set(CMAKE_INSTALL_INFODIR "${CMAKE_INSTALL_DATAROOTDIR}/info") endif() if(NOT CMAKE_INSTALL_LOCALEDIR) set(CMAKE_INSTALL_LOCALEDIR "" CACHE PATH "locale-dependent data (DATAROOTDIR/locale)") set(CMAKE_INSTALL_LOCALEDIR "${CMAKE_INSTALL_DATAROOTDIR}/locale") endif() if(NOT CMAKE_INSTALL_MANDIR) set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (DATAROOTDIR/man)") set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_DATAROOTDIR}/man") endif() if(NOT CMAKE_INSTALL_DOCDIR) set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (DATAROOTDIR/doc/PROJECT_NAME)") set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}") endif() #----------------------------------------------------------------------------- mark_as_advanced( CMAKE_INSTALL_BINDIR CMAKE_INSTALL_SBINDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_SYSCONFDIR CMAKE_INSTALL_SHAREDSTATEDIR CMAKE_INSTALL_LOCALSTATEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_DATADIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_DOCDIR ) # Result directories # foreach(dir BINDIR SBINDIR LIBEXECDIR SYSCONFDIR SHAREDSTATEDIR LOCALSTATEDIR LIBDIR INCLUDEDIR OLDINCLUDEDIR DATAROOTDIR DATADIR INFODIR LOCALEDIR MANDIR DOCDIR ) if(NOT IS_ABSOLUTE ${CMAKE_INSTALL_${dir}}) set(CMAKE_INSTALL_FULL_${dir} "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_${dir}}") else() set(CMAKE_INSTALL_FULL_${dir} "${CMAKE_INSTALL_${dir}}") endif() endforeach() cmake-2.8.12.2/Modules/InstallRequiredSystemLibraries.cmake000644 000765 000024 00000035674 12266011634 024440 0ustar00kitwarestaff000000 000000 # By including this file, all library files listed in the variable # CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS will be installed with # install(PROGRAMS ...) into bin for WIN32 and lib # for non-WIN32. If CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP is set to TRUE # before including this file, then the INSTALL command is not called. # The user can use the variable CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS to use a # custom install command and install them however they want. # If it is the MSVC compiler, then the microsoft run # time libraries will be found and automatically added to the # CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS, and installed. # If CMAKE_INSTALL_DEBUG_LIBRARIES is set and it is the MSVC # compiler, then the debug libraries are installed when available. # If CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY is set then only the debug # libraries are installed when both debug and release are available. # If CMAKE_INSTALL_MFC_LIBRARIES is set then the MFC run time # libraries are installed as well as the CRT run time libraries. # If CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION is set then the libraries are # installed to that directory rather than the default. # If CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS is NOT set, then this file # warns about required files that do not exist. You can set this variable to # ON before including this file to avoid the warning. For example, the Visual # Studio Express editions do not include the redistributable files, so if you # include this file on a machine with only VS Express installed, you'll get # the warning. #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(MSVC) file(TO_CMAKE_PATH "$ENV{SYSTEMROOT}" SYSTEMROOT) if(CMAKE_CL_64) if(MSVC_VERSION GREATER 1599) # VS 10 and later: set(CMAKE_MSVC_ARCH x64) else() # VS 9 and earlier: set(CMAKE_MSVC_ARCH amd64) endif() else() set(CMAKE_MSVC_ARCH x86) endif() get_filename_component(devenv_dir "${CMAKE_MAKE_PROGRAM}" PATH) get_filename_component(base_dir "${devenv_dir}/../.." ABSOLUTE) if(MSVC70) set(__install__libs "${SYSTEMROOT}/system32/msvcp70.dll" "${SYSTEMROOT}/system32/msvcr70.dll" ) endif() if(MSVC71) set(__install__libs "${SYSTEMROOT}/system32/msvcp71.dll" "${SYSTEMROOT}/system32/msvcr71.dll" ) endif() if(MSVC80) # Find the runtime library redistribution directory. get_filename_component(msvc_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir]" ABSOLUTE) find_path(MSVC80_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest PATHS "${msvc_install_dir}/../../VC/redist" "${base_dir}/VC/redist" ) mark_as_advanced(MSVC80_REDIST_DIR) set(MSVC80_CRT_DIR "${MSVC80_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs "${MSVC80_CRT_DIR}/Microsoft.VC80.CRT.manifest" "${MSVC80_CRT_DIR}/msvcm80.dll" "${MSVC80_CRT_DIR}/msvcp80.dll" "${MSVC80_CRT_DIR}/msvcr80.dll" ) endif() if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC80_CRT_DIR "${MSVC80_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC80.DebugCRT") set(__install__libs ${__install__libs} "${MSVC80_CRT_DIR}/Microsoft.VC80.DebugCRT.manifest" "${MSVC80_CRT_DIR}/msvcm80d.dll" "${MSVC80_CRT_DIR}/msvcp80d.dll" "${MSVC80_CRT_DIR}/msvcr80d.dll" ) endif() endif() if(MSVC90) # Find the runtime library redistribution directory. get_filename_component(msvc_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0;InstallDir]" ABSOLUTE) get_filename_component(msvc_express_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\9.0;InstallDir]" ABSOLUTE) find_path(MSVC90_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest PATHS "${msvc_install_dir}/../../VC/redist" "${msvc_express_install_dir}/../../VC/redist" "${base_dir}/VC/redist" ) mark_as_advanced(MSVC90_REDIST_DIR) set(MSVC90_CRT_DIR "${MSVC90_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC90.CRT") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs "${MSVC90_CRT_DIR}/Microsoft.VC90.CRT.manifest" "${MSVC90_CRT_DIR}/msvcm90.dll" "${MSVC90_CRT_DIR}/msvcp90.dll" "${MSVC90_CRT_DIR}/msvcr90.dll" ) endif() if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC90_CRT_DIR "${MSVC90_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC90.DebugCRT") set(__install__libs ${__install__libs} "${MSVC90_CRT_DIR}/Microsoft.VC90.DebugCRT.manifest" "${MSVC90_CRT_DIR}/msvcm90d.dll" "${MSVC90_CRT_DIR}/msvcp90d.dll" "${MSVC90_CRT_DIR}/msvcr90d.dll" ) endif() endif() macro(MSVCRT_FILES_FOR_VERSION version) set(v "${version}") # Find the runtime library redistribution directory. get_filename_component(msvc_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\${v}.0;InstallDir]" ABSOLUTE) find_path(MSVC${v}_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC${v}0.CRT PATHS "${msvc_install_dir}/../../VC/redist" "${base_dir}/VC/redist" "$ENV{ProgramFiles}/Microsoft Visual Studio ${v}.0/VC/redist" "$ENV{ProgramFiles(x86)}/Microsoft Visual Studio ${v}.0/VC/redist" ) mark_as_advanced(MSVC${v}_REDIST_DIR) set(MSVC${v}_CRT_DIR "${MSVC${v}_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${v}0.CRT") if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs "${MSVC${v}_CRT_DIR}/msvcp${v}0.dll" "${MSVC${v}_CRT_DIR}/msvcr${v}0.dll" ) endif() if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC${v}_CRT_DIR "${MSVC${v}_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC${v}0.DebugCRT") set(__install__libs ${__install__libs} "${MSVC${v}_CRT_DIR}/msvcp${v}0d.dll" "${MSVC${v}_CRT_DIR}/msvcr${v}0d.dll" ) endif() endmacro() if(MSVC10) MSVCRT_FILES_FOR_VERSION(10) endif() if(MSVC11) MSVCRT_FILES_FOR_VERSION(11) endif() if(MSVC12) MSVCRT_FILES_FOR_VERSION(12) endif() if(CMAKE_INSTALL_MFC_LIBRARIES) if(MSVC70) set(__install__libs ${__install__libs} "${SYSTEMROOT}/system32/mfc70.dll" ) endif() if(MSVC71) set(__install__libs ${__install__libs} "${SYSTEMROOT}/system32/mfc71.dll" ) endif() if(MSVC80) if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC80_MFC_DIR "${MSVC80_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC80.DebugMFC") set(__install__libs ${__install__libs} "${MSVC80_MFC_DIR}/Microsoft.VC80.DebugMFC.manifest" "${MSVC80_MFC_DIR}/mfc80d.dll" "${MSVC80_MFC_DIR}/mfc80ud.dll" "${MSVC80_MFC_DIR}/mfcm80d.dll" "${MSVC80_MFC_DIR}/mfcm80ud.dll" ) endif() set(MSVC80_MFC_DIR "${MSVC80_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC80.MFC") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs ${__install__libs} "${MSVC80_MFC_DIR}/Microsoft.VC80.MFC.manifest" "${MSVC80_MFC_DIR}/mfc80.dll" "${MSVC80_MFC_DIR}/mfc80u.dll" "${MSVC80_MFC_DIR}/mfcm80.dll" "${MSVC80_MFC_DIR}/mfcm80u.dll" ) endif() # include the language dll's for vs8 as well as the actuall dll's set(MSVC80_MFCLOC_DIR "${MSVC80_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC80.MFCLOC") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. set(__install__libs ${__install__libs} "${MSVC80_MFCLOC_DIR}/Microsoft.VC80.MFCLOC.manifest" "${MSVC80_MFCLOC_DIR}/mfc80chs.dll" "${MSVC80_MFCLOC_DIR}/mfc80cht.dll" "${MSVC80_MFCLOC_DIR}/mfc80enu.dll" "${MSVC80_MFCLOC_DIR}/mfc80esp.dll" "${MSVC80_MFCLOC_DIR}/mfc80deu.dll" "${MSVC80_MFCLOC_DIR}/mfc80fra.dll" "${MSVC80_MFCLOC_DIR}/mfc80ita.dll" "${MSVC80_MFCLOC_DIR}/mfc80jpn.dll" "${MSVC80_MFCLOC_DIR}/mfc80kor.dll" ) endif() if(MSVC90) if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC90_MFC_DIR "${MSVC90_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC90.DebugMFC") set(__install__libs ${__install__libs} "${MSVC90_MFC_DIR}/Microsoft.VC90.DebugMFC.manifest" "${MSVC90_MFC_DIR}/mfc90d.dll" "${MSVC90_MFC_DIR}/mfc90ud.dll" "${MSVC90_MFC_DIR}/mfcm90d.dll" "${MSVC90_MFC_DIR}/mfcm90ud.dll" ) endif() set(MSVC90_MFC_DIR "${MSVC90_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC90.MFC") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs ${__install__libs} "${MSVC90_MFC_DIR}/Microsoft.VC90.MFC.manifest" "${MSVC90_MFC_DIR}/mfc90.dll" "${MSVC90_MFC_DIR}/mfc90u.dll" "${MSVC90_MFC_DIR}/mfcm90.dll" "${MSVC90_MFC_DIR}/mfcm90u.dll" ) endif() # include the language dll's for vs9 as well as the actuall dll's set(MSVC90_MFCLOC_DIR "${MSVC90_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC90.MFCLOC") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. set(__install__libs ${__install__libs} "${MSVC90_MFCLOC_DIR}/Microsoft.VC90.MFCLOC.manifest" "${MSVC90_MFCLOC_DIR}/mfc90chs.dll" "${MSVC90_MFCLOC_DIR}/mfc90cht.dll" "${MSVC90_MFCLOC_DIR}/mfc90enu.dll" "${MSVC90_MFCLOC_DIR}/mfc90esp.dll" "${MSVC90_MFCLOC_DIR}/mfc90deu.dll" "${MSVC90_MFCLOC_DIR}/mfc90fra.dll" "${MSVC90_MFCLOC_DIR}/mfc90ita.dll" "${MSVC90_MFCLOC_DIR}/mfc90jpn.dll" "${MSVC90_MFCLOC_DIR}/mfc90kor.dll" ) endif() macro(MFC_FILES_FOR_VERSION version) set(v "${version}") if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC${v}_MFC_DIR "${MSVC${v}_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC${v}0.DebugMFC") set(__install__libs ${__install__libs} "${MSVC${v}_MFC_DIR}/mfc${v}0d.dll" "${MSVC${v}_MFC_DIR}/mfc${v}0ud.dll" "${MSVC${v}_MFC_DIR}/mfcm${v}0d.dll" "${MSVC${v}_MFC_DIR}/mfcm${v}0ud.dll" ) endif() set(MSVC${v}_MFC_DIR "${MSVC${v}_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${v}0.MFC") if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs ${__install__libs} "${MSVC${v}_MFC_DIR}/mfc${v}0.dll" "${MSVC${v}_MFC_DIR}/mfc${v}0u.dll" "${MSVC${v}_MFC_DIR}/mfcm${v}0.dll" "${MSVC${v}_MFC_DIR}/mfcm${v}0u.dll" ) endif() # include the language dll's as well as the actuall dll's set(MSVC${v}_MFCLOC_DIR "${MSVC${v}_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${v}0.MFCLOC") set(__install__libs ${__install__libs} "${MSVC${v}_MFCLOC_DIR}/mfc${v}0chs.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0cht.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0deu.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0enu.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0esn.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0fra.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0ita.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0jpn.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0kor.dll" "${MSVC${v}_MFCLOC_DIR}/mfc${v}0rus.dll" ) endmacro() if(MSVC10) MFC_FILES_FOR_VERSION(10) endif() if(MSVC11) MFC_FILES_FOR_VERSION(11) endif() if(MSVC12) MFC_FILES_FOR_VERSION(12) endif() endif() foreach(lib ${__install__libs} ) if(EXISTS ${lib}) set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib}) else() if(NOT CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) message(WARNING "system runtime library file does not exist: '${lib}'") # This warning indicates an incomplete Visual Studio installation # or a bug somewhere above here in this file. # If you would like to avoid this warning, fix the real problem, or # set CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS before including # this file. endif() endif() endforeach() endif() if(WATCOM) get_filename_component( CompilerPath ${CMAKE_C_COMPILER} PATH ) if(WATCOM17) set( __install__libs ${CompilerPath}/clbr17.dll ${CompilerPath}/mt7r17.dll ${CompilerPath}/plbr17.dll ) endif() if(WATCOM18) set( __install__libs ${CompilerPath}/clbr18.dll ${CompilerPath}/mt7r18.dll ${CompilerPath}/plbr18.dll ) endif() if(WATCOM19) set( __install__libs ${CompilerPath}/clbr19.dll ${CompilerPath}/mt7r19.dll ${CompilerPath}/plbr19.dll ) endif() foreach(lib ${__install__libs} ) if(EXISTS ${lib}) set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib}) else() if(NOT CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) message(WARNING "system runtime library file does not exist: '${lib}'") # This warning indicates an incomplete Watcom installation # or a bug somewhere above here in this file. # If you would like to avoid this warning, fix the real problem, or # set CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS before including # this file. endif() endif() endforeach() endif() # Include system runtime libraries in the installation if any are # specified by CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS. if(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS) if(NOT CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP) if(NOT CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION) if(WIN32) set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION bin) else() set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION lib) endif() endif() install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION ${CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION}) endif() endif() cmake-2.8.12.2/Modules/IntelVSImplicitPath/CMakeLists.txt000644 000765 000024 00000000364 12266011634 023645 0ustar00kitwarestaff000000 000000 cmake_minimum_required (VERSION 2.8) project(IntelFortranImplicit Fortran) add_custom_command( OUTPUT output.cmake COMMAND ${CMAKE_COMMAND} -P ${IntelFortranImplicit_SOURCE_DIR}/detect.cmake ) add_library(FortranLib hello.f output.cmake) cmake-2.8.12.2/Modules/IntelVSImplicitPath/detect.cmake000644 000765 000024 00000000412 12266011634 023351 0ustar00kitwarestaff000000 000000 # look at each path and try to find ifconsol.lib set(LIB "$ENV{LIB}") foreach(dir ${LIB}) file(TO_CMAKE_PATH "${dir}" dir) if(EXISTS "${dir}/ifconsol.lib") file(WRITE output.cmake "list(APPEND implicit_dirs \"${dir}\")\n") break() endif() endforeach() cmake-2.8.12.2/Modules/IntelVSImplicitPath/hello.f000644 000765 000024 00000000000 12266011634 022342 0ustar00kitwarestaff000000 000000 cmake-2.8.12.2/Modules/ITKCompatibility.cmake000644 000765 000024 00000001261 12266011634 021431 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # work around an old bug in ITK prior to verison 3.0 set(TIFF_RIGHT_VERSION 1) cmake-2.8.12.2/Modules/kde3init_dummy.cpp.in000644 000765 000024 00000000343 12266011634 021304 0ustar00kitwarestaff000000 000000 /* used by KDE3Macros.cmake */ extern "C" int kdemain(int argc, char* argv[]); extern "C" int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); } int main(int argc, char* argv[]) { return kdemain(argc,argv); } cmake-2.8.12.2/Modules/KDE3Macros.cmake000644 000765 000024 00000032411 12266011634 020104 0ustar00kitwarestaff000000 000000 # #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # See FindKDE3.cmake for documentation. # # this file contains the following macros: # KDE3_ADD_DCOP_SKELS # KDE3_ADD_DCOP_STUBS # KDE3_ADD_MOC_FILES # KDE3_ADD_UI_FILES # KDE3_ADD_KCFG_FILES # KDE3_AUTOMOC # KDE3_INSTALL_LIBTOOL_FILE # KDE3_CREATE_FINAL_FILE # KDE3_ADD_KPART # KDE3_ADD_KDEINIT_EXECUTABLE # KDE3_ADD_EXECUTABLE #neundorf@kde.org include(AddFileDependencies) #create the kidl and skeletion file for dcop stuff #usage: KDE_ADD_COP_SKELS(foo_SRCS ${dcop_headers}) macro(KDE3_ADD_DCOP_SKELS _sources) foreach (_current_FILE ${ARGN}) get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_tmp_FILE} NAME_WE) set(_skel ${CMAKE_CURRENT_BINARY_DIR}/${_basename}_skel.cpp) set(_kidl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.kidl) if (NOT HAVE_${_basename}_KIDL_RULE) set(HAVE_${_basename}_KIDL_RULE ON) add_custom_command(OUTPUT ${_kidl} COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ARGS ${_tmp_FILE} > ${_kidl} DEPENDS ${_tmp_FILE} ) endif () if (NOT HAVE_${_basename}_SKEL_RULE) set(HAVE_${_basename}_SKEL_RULE ON) add_custom_command(OUTPUT ${_skel} COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} ARGS --c++-suffix cpp --no-signals --no-stub ${_kidl} DEPENDS ${_kidl} ) endif () set(${_sources} ${${_sources}} ${_skel}) endforeach () endmacro() macro(KDE3_ADD_DCOP_STUBS _sources) foreach (_current_FILE ${ARGN}) get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_tmp_FILE} NAME_WE) set(_stub_CPP ${CMAKE_CURRENT_BINARY_DIR}/${_basename}_stub.cpp) set(_kidl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.kidl) if (NOT HAVE_${_basename}_KIDL_RULE) set(HAVE_${_basename}_KIDL_RULE ON) add_custom_command(OUTPUT ${_kidl} COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ARGS ${_tmp_FILE} > ${_kidl} DEPENDS ${_tmp_FILE} ) endif () if (NOT HAVE_${_basename}_STUB_RULE) set(HAVE_${_basename}_STUB_RULE ON) add_custom_command(OUTPUT ${_stub_CPP} COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} ARGS --c++-suffix cpp --no-signals --no-skel ${_kidl} DEPENDS ${_kidl} ) endif () set(${_sources} ${${_sources}} ${_stub_CPP}) endforeach () endmacro() macro(KDE3_ADD_KCFG_FILES _sources) foreach (_current_FILE ${ARGN}) get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_tmp_FILE} NAME_WE) file(READ ${_tmp_FILE} _contents) string(REGEX REPLACE "^(.*\n)?File=([^\n]+)\n.*$" "\\2" _kcfg_FILE "${_contents}") set(_src_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) set(_header_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h) add_custom_command(OUTPUT ${_src_FILE} COMMAND ${KDE3_KCFGC_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${_kcfg_FILE} ${_tmp_FILE} DEPENDS ${_tmp_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_kcfg_FILE} ) set(${_sources} ${${_sources}} ${_src_FILE}) endforeach () endmacro() #create the moc files and add them to the list of sources #usage: KDE_ADD_MOC_FILES(foo_SRCS ${moc_headers}) macro(KDE3_ADD_MOC_FILES _sources) foreach (_current_FILE ${ARGN}) get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_tmp_FILE} NAME_WE) set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc.cpp) add_custom_command(OUTPUT ${_moc} COMMAND ${QT_MOC_EXECUTABLE} ARGS ${_tmp_FILE} -o ${_moc} DEPENDS ${_tmp_FILE} ) set(${_sources} ${${_sources}} ${_moc}) endforeach () endmacro() get_filename_component( KDE3_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) #create the implementation files from the ui files and add them to the list of sources #usage: KDE_ADD_UI_FILES(foo_SRCS ${ui_files}) macro(KDE3_ADD_UI_FILES _sources ) foreach (_current_FILE ${ARGN}) get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_tmp_FILE} NAME_WE) set(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h) set(_src ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc.cpp) add_custom_command(OUTPUT ${_header} COMMAND ${QT_UIC_EXECUTABLE} ARGS -L ${KDE3_LIB_DIR}/kde3/plugins/designer -nounload -o ${_header} ${CMAKE_CURRENT_SOURCE_DIR}/${_current_FILE} DEPENDS ${_tmp_FILE} ) add_custom_command(OUTPUT ${_src} COMMAND ${CMAKE_COMMAND} ARGS -DKDE_UIC_PLUGIN_DIR:FILEPATH=${KDE3_LIB_DIR}/kde3/plugins/designer -DKDE_UIC_EXECUTABLE:FILEPATH=${QT_UIC_EXECUTABLE} -DKDE_UIC_FILE:FILEPATH=${_tmp_FILE} -DKDE_UIC_CPP_FILE:FILEPATH=${_src} -DKDE_UIC_H_FILE:FILEPATH=${_header} -P ${KDE3_MODULE_DIR}/kde3uic.cmake DEPENDS ${_header} ) add_custom_command(OUTPUT ${_moc} COMMAND ${QT_MOC_EXECUTABLE} ARGS ${_header} -o ${_moc} DEPENDS ${_header} ) set(${_sources} ${${_sources}} ${_src} ${_moc} ) endforeach () endmacro() macro(KDE3_AUTOMOC) set(_matching_FILES ) foreach (_current_FILE ${ARGN}) get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) # if "SKIP_AUTOMOC" is set to true, we will not handle this file here. # here. this is required to make bouic work correctly: # we need to add generated .cpp files to the sources (to compile them), # but we cannot let automoc handle them, as the .cpp files don't exist yet when # cmake is run for the very first time on them -> however the .cpp files might # exist at a later run. at that time we need to skip them, so that we don't add two # different rules for the same moc file get_source_file_property(_skip ${_abs_FILE} SKIP_AUTOMOC) if (EXISTS ${_abs_FILE} AND NOT _skip) file(STRINGS ${_abs_FILE} _match REGEX "#include +[^ ]+\\.moc[\">]") get_filename_component(_abs_PATH ${_abs_FILE} PATH) foreach (_current_MOC_INC IN LISTS _match) string(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}") get_filename_component(_basename ${_current_MOC} NAME_WE) # set(_header ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.h) set(_header ${_abs_PATH}/${_basename}.h) set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC}) add_custom_command(OUTPUT ${_moc} COMMAND ${QT_MOC_EXECUTABLE} ARGS ${_header} -o ${_moc} DEPENDS ${_header} ) ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc}) endforeach () unset(_match) unset(_header) unset(_moc) endif () endforeach () endmacro() # only used internally by KDE3_INSTALL_ICONS macro (_KDE3_ADD_ICON_INSTALL_RULE _install_SCRIPT _install_PATH _group _orig_NAME _install_NAME) # if the string doesn't match the pattern, the result is the full string, so all three have the same content if (NOT ${_group} STREQUAL ${_install_NAME} ) set(_icon_GROUP "actions") if (${_group} STREQUAL "mime") set(_icon_GROUP "mimetypes") endif () if (${_group} STREQUAL "filesys") set(_icon_GROUP "filesystems") endif () if (${_group} STREQUAL "device") set(_icon_GROUP "devices") endif () if (${_group} STREQUAL "app") set(_icon_GROUP "apps") endif () if (${_group} STREQUAL "action") set(_icon_GROUP "actions") endif () # message(STATUS "icon: ${_current_ICON} size: ${_size} group: ${_group} name: ${_name}" ) install(FILES ${_orig_NAME} DESTINATION ${_install_PATH}/${_icon_GROUP}/ RENAME ${_install_NAME} ) endif () endmacro () macro (KDE3_INSTALL_ICONS _theme ) set(_defaultpath "${CMAKE_INSTALL_PREFIX}/share/icons") # first the png icons file(GLOB _icons *.png) foreach (_current_ICON ${_icons} ) string(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.png)$" "\\1" _size "${_current_ICON}") string(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.png)$" "\\2" _group "${_current_ICON}") string(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.png)$" "\\3" _name "${_current_ICON}") _KDE3_ADD_ICON_INSTALL_RULE(${CMAKE_CURRENT_BINARY_DIR}/install_icons.cmake ${_defaultpath}/${_theme}/${_size}x${_size} ${_group} ${_current_ICON} ${_name}) endforeach () # and now the svg icons file(GLOB _icons *.svgz) foreach (_current_ICON ${_icons} ) string(REGEX REPLACE "^.*/crsc\\-([a-z]+)\\-(.+\\.svgz)$" "\\1" _group "${_current_ICON}") string(REGEX REPLACE "^.*/crsc\\-([a-z]+)\\-(.+\\.svgz)$" "\\2" _name "${_current_ICON}") _KDE3_ADD_ICON_INSTALL_RULE(${CMAKE_CURRENT_BINARY_DIR}/install_icons.cmake ${_defaultpath}/${_theme}/scalable ${_group} ${_current_ICON} ${_name}) endforeach () endmacro () macro(KDE3_INSTALL_LIBTOOL_FILE _target) get_target_property(_target_location ${_target} LOCATION) get_filename_component(_laname ${_target_location} NAME_WE) get_filename_component(_soname ${_target_location} NAME) set(_laname ${CMAKE_CURRENT_BINARY_DIR}/${_laname}.la) file(WRITE ${_laname} "# ${_laname} - a libtool library file, generated by cmake \n") file(APPEND ${_laname} "# The name that we can dlopen(3).\n") file(APPEND ${_laname} "dlname='${_soname}'\n") file(APPEND ${_laname} "# Names of this library\n") if(CYGWIN) file(APPEND ${_laname} "library_names='${_soname}'\n") else() file(APPEND ${_laname} "library_names='${_soname} ${_soname} ${_soname}'\n") endif() file(APPEND ${_laname} "# The name of the static archive\n") file(APPEND ${_laname} "old_library=''\n") file(APPEND ${_laname} "# Libraries that this one depends upon.\n") file(APPEND ${_laname} "dependency_libs=''\n") # file(APPEND ${_laname} "dependency_libs='${${_target}_LIB_DEPENDS}'\n") file(APPEND ${_laname} "# Version information.\ncurrent=0\nage=0\nrevision=0\n") file(APPEND ${_laname} "# Is this an already installed library?\ninstalled=yes\n") file(APPEND ${_laname} "# Should we warn about portability when linking against -modules?\nshouldnotlink=yes\n") file(APPEND ${_laname} "# Files to dlopen/dlpreopen\ndlopen=''\ndlpreopen=''\n") file(APPEND ${_laname} "# Directory that this library needs to be installed in:\n") file(APPEND ${_laname} "libdir='${CMAKE_INSTALL_PREFIX}/lib/kde3'\n") install_files(${KDE3_LIBTOOL_DIR} FILES ${_laname}) endmacro() macro(KDE3_CREATE_FINAL_FILE _filename) file(WRITE ${_filename} "//autogenerated file\n") foreach (_current_FILE ${ARGN}) file(APPEND ${_filename} "#include \"${_current_FILE}\"\n") endforeach () endmacro() # option(KDE3_ENABLE_FINAL "Enable final all-in-one compilation") option(KDE3_BUILD_TESTS "Build the tests") macro(KDE3_ADD_KPART _target_NAME _with_PREFIX) #is the first argument is "WITH_PREFIX" then keep the standard "lib" prefix, otherwise SET the prefix empty if (${_with_PREFIX} STREQUAL "WITH_PREFIX") set(_first_SRC) else () set(_first_SRC ${_with_PREFIX}) endif () # if (KDE3_ENABLE_FINAL) # KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN}) # add_library(${_target_NAME} MODULE ${_target_NAME}_final.cpp) # else () add_library(${_target_NAME} MODULE ${_first_SRC} ${ARGN}) # endif () if(_first_SRC) set_target_properties(${_target_NAME} PROPERTIES PREFIX "") endif() KDE3_INSTALL_LIBTOOL_FILE(${_target_NAME}) endmacro() macro(KDE3_ADD_KDEINIT_EXECUTABLE _target_NAME ) # if (KDE3_ENABLE_FINAL) # KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) # add_library(kdeinit_${_target_NAME} SHARED ${_target_NAME}_final.cpp) # else () add_library(kdeinit_${_target_NAME} SHARED ${ARGN} ) # endif () configure_file(${KDE3_MODULE_DIR}/kde3init_dummy.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp) add_executable( ${_target_NAME} ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp ) target_link_libraries( ${_target_NAME} kdeinit_${_target_NAME} ) endmacro() macro(KDE3_ADD_EXECUTABLE _target_NAME ) # if (KDE3_ENABLE_FINAL) # KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) # add_executable(${_target_NAME} ${_target_NAME}_final.cpp) # else () add_executable(${_target_NAME} ${ARGN} ) # endif () endmacro() cmake-2.8.12.2/Modules/kde3uic.cmake000644 000765 000024 00000002333 12266011634 017600 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2006-2009 Kitware, Inc. # Copyright 2006 Alexander Neundorf # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # used internally by KDE3Macros.cmake # neundorf@kde.org execute_process(COMMAND ${KDE_UIC_EXECUTABLE} -L ${KDE_UIC_PLUGIN_DIR} -nounload -tr tr2i18n -impl ${KDE_UIC_H_FILE} ${KDE_UIC_FILE} OUTPUT_VARIABLE _uic_CONTENTS ERROR_QUIET ) string(REGEX REPLACE "tr2i18n\\(\"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" ) string(REGEX REPLACE "tr2i18n\\(\"\", \"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" ) file(WRITE ${KDE_UIC_CPP_FILE} "#include \n#include \n\n") file(APPEND ${KDE_UIC_CPP_FILE} "${_uic_CONTENTS}") cmake-2.8.12.2/Modules/MacOSXBundleInfo.plist.in000644 000765 000024 00000002344 12266011634 021773 0ustar00kitwarestaff000000 000000 CFBundleDevelopmentRegion English CFBundleExecutable ${MACOSX_BUNDLE_EXECUTABLE_NAME} CFBundleGetInfoString ${MACOSX_BUNDLE_INFO_STRING} CFBundleIconFile ${MACOSX_BUNDLE_ICON_FILE} CFBundleIdentifier ${MACOSX_BUNDLE_GUI_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleLongVersionString ${MACOSX_BUNDLE_LONG_VERSION_STRING} CFBundleName ${MACOSX_BUNDLE_BUNDLE_NAME} CFBundlePackageType APPL CFBundleShortVersionString ${MACOSX_BUNDLE_SHORT_VERSION_STRING} CFBundleSignature ???? CFBundleVersion ${MACOSX_BUNDLE_BUNDLE_VERSION} CSResourcesFileMapped LSRequiresCarbon NSHumanReadableCopyright ${MACOSX_BUNDLE_COPYRIGHT} cmake-2.8.12.2/Modules/MacOSXFrameworkInfo.plist.in000644 000765 000024 00000001566 12266011634 022524 0ustar00kitwarestaff000000 000000 CFBundleDevelopmentRegion English CFBundleExecutable ${MACOSX_FRAMEWORK_NAME} CFBundleIconFile ${MACOSX_FRAMEWORK_ICON_FILE} CFBundleIdentifier ${MACOSX_FRAMEWORK_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType FMWK CFBundleSignature ???? CFBundleVersion ${MACOSX_FRAMEWORK_BUNDLE_VERSION} CFBundleShortVersionString ${MACOSX_FRAMEWORK_SHORT_VERSION_STRING} CSResourcesFileMapped cmake-2.8.12.2/Modules/MacroAddFileDependencies.cmake000644 000765 000024 00000002456 12266011634 023040 0ustar00kitwarestaff000000 000000 # - MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...) # Using the macro MACRO_ADD_FILE_DEPENDENCIES() is discouraged. There are usually # better ways to specify the correct dependencies. # # MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...) is just a convenience # wrapper around the OBJECT_DEPENDS source file property. You can just # use set_property(SOURCE APPEND PROPERTY OBJECT_DEPENDS depend_files) instead. #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro (MACRO_ADD_FILE_DEPENDENCIES _file) get_source_file_property(_deps ${_file} OBJECT_DEPENDS) if (_deps) set(_deps ${_deps} ${ARGN}) else () set(_deps ${ARGN}) endif () set_source_files_properties(${_file} PROPERTIES OBJECT_DEPENDS "${_deps}") endmacro () cmake-2.8.12.2/Modules/NSIS.InstallOptions.ini.in000644 000765 000024 00000001246 12266011634 022114 0ustar00kitwarestaff000000 000000 [Settings] NumFields=5 [Field 1] Type=label Text=By default @CPACK_PACKAGE_INSTALL_DIRECTORY@ does not add its directory to the system PATH. Left=0 Right=-1 Top=0 Bottom=20 [Field 2] Type=radiobutton Text=Do not add @CPACK_PACKAGE_NAME@ to the system PATH Left=0 Right=-1 Top=30 Bottom=40 State=1 [Field 3] Type=radiobutton Text=Add @CPACK_PACKAGE_NAME@ to the system PATH for all users Left=0 Right=-1 Top=40 Bottom=50 State=0 [Field 4] Type=radiobutton Text=Add @CPACK_PACKAGE_NAME@ to the system PATH for current user Left=0 Right=-1 Top=50 Bottom=60 State=0 [Field 5] Type=CheckBox Text=Create @CPACK_PACKAGE_NAME@ Desktop Icon Left=0 Right=-1 Top=80 Bottom=90 State=0 cmake-2.8.12.2/Modules/NSIS.template.in000644 000765 000024 00000067511 12266011634 020176 0ustar00kitwarestaff000000 000000 ; CPack install script designed for a nmake build ;-------------------------------- ; You must define these values !define VERSION "@CPACK_PACKAGE_VERSION@" !define PATCH "@CPACK_PACKAGE_VERSION_PATCH@" !define INST_DIR "@CPACK_TEMPORARY_DIRECTORY@" ;-------------------------------- ;Variables Var MUI_TEMP Var STARTMENU_FOLDER Var SV_ALLUSERS Var START_MENU Var DO_NOT_ADD_TO_PATH Var ADD_TO_PATH_ALL_USERS Var ADD_TO_PATH_CURRENT_USER Var INSTALL_DESKTOP Var IS_DEFAULT_INSTALLDIR ;-------------------------------- ;Include Modern UI !include "MUI.nsh" ;Default installation folder InstallDir "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@" ;-------------------------------- ;General ;Name and file Name "@CPACK_NSIS_PACKAGE_NAME@" OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@" ;Set compression SetCompressor @CPACK_NSIS_COMPRESSOR@ ;Require administrator access RequestExecutionLevel admin @CPACK_NSIS_DEFINES@ !include Sections.nsh ;--- Component support macros: --- ; The code for the add/remove functionality is from: ; http://nsis.sourceforge.net/Add/Remove_Functionality ; It has been modified slightly and extended to provide ; inter-component dependencies. Var AR_SecFlags Var AR_RegFlags @CPACK_NSIS_SECTION_SELECTED_VARS@ ; Loads the "selected" flag for the section named SecName into the ; variable VarName. !macro LoadSectionSelectedIntoVar SecName VarName SectionGetFlags ${${SecName}} $${VarName} IntOp $${VarName} $${VarName} & ${SF_SELECTED} ;Turn off all other bits !macroend ; Loads the value of a variable... can we get around this? !macro LoadVar VarName IntOp $R0 0 + $${VarName} !macroend ; Sets the value of a variable !macro StoreVar VarName IntValue IntOp $${VarName} 0 + ${IntValue} !macroend !macro InitSection SecName ; This macro reads component installed flag from the registry and ;changes checked state of the section on the components page. ;Input: section index constant name specified in Section command. ClearErrors ;Reading component status from registry ReadRegDWORD $AR_RegFlags HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@\Components\${SecName}" "Installed" IfErrors "default_${SecName}" ;Status will stay default if registry value not found ;(component was never installed) IntOp $AR_RegFlags $AR_RegFlags & ${SF_SELECTED} ;Turn off all other bits SectionGetFlags ${${SecName}} $AR_SecFlags ;Reading default section flags IntOp $AR_SecFlags $AR_SecFlags & 0xFFFE ;Turn lowest (enabled) bit off IntOp $AR_SecFlags $AR_RegFlags | $AR_SecFlags ;Change lowest bit ; Note whether this component was installed before !insertmacro StoreVar ${SecName}_was_installed $AR_RegFlags IntOp $R0 $AR_RegFlags & $AR_RegFlags ;Writing modified flags SectionSetFlags ${${SecName}} $AR_SecFlags "default_${SecName}:" !insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected !macroend !macro FinishSection SecName ; This macro reads section flag set by user and removes the section ;if it is not selected. ;Then it writes component installed flag to registry ;Input: section index constant name specified in Section command. SectionGetFlags ${${SecName}} $AR_SecFlags ;Reading section flags ;Checking lowest bit: IntOp $AR_SecFlags $AR_SecFlags & ${SF_SELECTED} IntCmp $AR_SecFlags 1 "leave_${SecName}" ;Section is not selected: ;Calling Section uninstall macro and writing zero installed flag !insertmacro "Remove_${${SecName}}" WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@\Components\${SecName}" \ "Installed" 0 Goto "exit_${SecName}" "leave_${SecName}:" ;Section is selected: WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@\Components\${SecName}" \ "Installed" 1 "exit_${SecName}:" !macroend !macro RemoveSection_CPack SecName ; This macro is used to call section's Remove_... macro ;from the uninstaller. ;Input: section index constant name specified in Section command. !insertmacro "Remove_${${SecName}}" !macroend ; Determine whether the selection of SecName changed !macro MaybeSelectionChanged SecName !insertmacro LoadVar ${SecName}_selected SectionGetFlags ${${SecName}} $R1 IntOp $R1 $R1 & ${SF_SELECTED} ;Turn off all other bits ; See if the status has changed: IntCmp $R0 $R1 "${SecName}_unchanged" !insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected IntCmp $R1 ${SF_SELECTED} "${SecName}_was_selected" !insertmacro "Deselect_required_by_${SecName}" goto "${SecName}_unchanged" "${SecName}_was_selected:" !insertmacro "Select_${SecName}_depends" "${SecName}_unchanged:" !macroend ;--- End of Add/Remove macros --- ;-------------------------------- ;Interface Settings !define MUI_HEADERIMAGE !define MUI_ABORTWARNING ;-------------------------------- ; path functions !verbose 3 !include "WinMessages.NSH" !verbose 4 ;---------------------------------------- ; based upon a script of "Written by KiCHiK 2003-01-18 05:57:02" ;---------------------------------------- !verbose 3 !include "WinMessages.NSH" !verbose 4 ;==================================================== ; get_NT_environment ; Returns: the selected environment ; Output : head of the stack ;==================================================== !macro select_NT_profile UN Function ${UN}select_NT_profile StrCmp $ADD_TO_PATH_ALL_USERS "1" 0 environment_single DetailPrint "Selected environment for all users" Push "all" Return environment_single: DetailPrint "Selected environment for current user only." Push "current" Return FunctionEnd !macroend !insertmacro select_NT_profile "" !insertmacro select_NT_profile "un." ;---------------------------------------------------- !define NT_current_env 'HKCU "Environment"' !define NT_all_env 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"' !ifndef WriteEnvStr_RegKey !ifdef ALL_USERS !define WriteEnvStr_RegKey \ 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"' !else !define WriteEnvStr_RegKey 'HKCU "Environment"' !endif !endif ; AddToPath - Adds the given dir to the search path. ; Input - head of the stack ; Note - Win9x systems requires reboot Function AddToPath Exch $0 Push $1 Push $2 Push $3 # don't add if the path doesn't exist IfFileExists "$0\*.*" "" AddToPath_done ReadEnvStr $1 PATH ; if the path is too long for a NSIS variable NSIS will return a 0 ; length string. If we find that, then warn and skip any path ; modification as it will trash the existing path. StrLen $2 $1 IntCmp $2 0 CheckPathLength_ShowPathWarning CheckPathLength_Done CheckPathLength_Done CheckPathLength_ShowPathWarning: Messagebox MB_OK|MB_ICONEXCLAMATION "Warning! PATH too long installer unable to modify PATH!" Goto AddToPath_done CheckPathLength_Done: Push "$1;" Push "$0;" Call StrStr Pop $2 StrCmp $2 "" "" AddToPath_done Push "$1;" Push "$0\;" Call StrStr Pop $2 StrCmp $2 "" "" AddToPath_done GetFullPathName /SHORT $3 $0 Push "$1;" Push "$3;" Call StrStr Pop $2 StrCmp $2 "" "" AddToPath_done Push "$1;" Push "$3\;" Call StrStr Pop $2 StrCmp $2 "" "" AddToPath_done Call IsNT Pop $1 StrCmp $1 1 AddToPath_NT ; Not on NT StrCpy $1 $WINDIR 2 FileOpen $1 "$1\autoexec.bat" a FileSeek $1 -1 END FileReadByte $1 $2 IntCmp $2 26 0 +2 +2 # DOS EOF FileSeek $1 -1 END # write over EOF FileWrite $1 "$\r$\nSET PATH=%PATH%;$3$\r$\n" FileClose $1 SetRebootFlag true Goto AddToPath_done AddToPath_NT: StrCmp $ADD_TO_PATH_ALL_USERS "1" ReadAllKey ReadRegStr $1 ${NT_current_env} "PATH" Goto DoTrim ReadAllKey: ReadRegStr $1 ${NT_all_env} "PATH" DoTrim: StrCmp $1 "" AddToPath_NTdoIt Push $1 Call Trim Pop $1 StrCpy $0 "$1;$0" AddToPath_NTdoIt: StrCmp $ADD_TO_PATH_ALL_USERS "1" WriteAllKey WriteRegExpandStr ${NT_current_env} "PATH" $0 Goto DoSend WriteAllKey: WriteRegExpandStr ${NT_all_env} "PATH" $0 DoSend: SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 AddToPath_done: Pop $3 Pop $2 Pop $1 Pop $0 FunctionEnd ; RemoveFromPath - Remove a given dir from the path ; Input: head of the stack Function un.RemoveFromPath Exch $0 Push $1 Push $2 Push $3 Push $4 Push $5 Push $6 IntFmt $6 "%c" 26 # DOS EOF Call un.IsNT Pop $1 StrCmp $1 1 unRemoveFromPath_NT ; Not on NT StrCpy $1 $WINDIR 2 FileOpen $1 "$1\autoexec.bat" r GetTempFileName $4 FileOpen $2 $4 w GetFullPathName /SHORT $0 $0 StrCpy $0 "SET PATH=%PATH%;$0" Goto unRemoveFromPath_dosLoop unRemoveFromPath_dosLoop: FileRead $1 $3 StrCpy $5 $3 1 -1 # read last char StrCmp $5 $6 0 +2 # if DOS EOF StrCpy $3 $3 -1 # remove DOS EOF so we can compare StrCmp $3 "$0$\r$\n" unRemoveFromPath_dosLoopRemoveLine StrCmp $3 "$0$\n" unRemoveFromPath_dosLoopRemoveLine StrCmp $3 "$0" unRemoveFromPath_dosLoopRemoveLine StrCmp $3 "" unRemoveFromPath_dosLoopEnd FileWrite $2 $3 Goto unRemoveFromPath_dosLoop unRemoveFromPath_dosLoopRemoveLine: SetRebootFlag true Goto unRemoveFromPath_dosLoop unRemoveFromPath_dosLoopEnd: FileClose $2 FileClose $1 StrCpy $1 $WINDIR 2 Delete "$1\autoexec.bat" CopyFiles /SILENT $4 "$1\autoexec.bat" Delete $4 Goto unRemoveFromPath_done unRemoveFromPath_NT: StrCmp $ADD_TO_PATH_ALL_USERS "1" unReadAllKey ReadRegStr $1 ${NT_current_env} "PATH" Goto unDoTrim unReadAllKey: ReadRegStr $1 ${NT_all_env} "PATH" unDoTrim: StrCpy $5 $1 1 -1 # copy last char StrCmp $5 ";" +2 # if last char != ; StrCpy $1 "$1;" # append ; Push $1 Push "$0;" Call un.StrStr ; Find `$0;` in $1 Pop $2 ; pos of our dir StrCmp $2 "" unRemoveFromPath_done ; else, it is in path # $0 - path to add # $1 - path var StrLen $3 "$0;" StrLen $4 $2 StrCpy $5 $1 -$4 # $5 is now the part before the path to remove StrCpy $6 $2 "" $3 # $6 is now the part after the path to remove StrCpy $3 $5$6 StrCpy $5 $3 1 -1 # copy last char StrCmp $5 ";" 0 +2 # if last char == ; StrCpy $3 $3 -1 # remove last char StrCmp $ADD_TO_PATH_ALL_USERS "1" unWriteAllKey WriteRegExpandStr ${NT_current_env} "PATH" $3 Goto unDoSend unWriteAllKey: WriteRegExpandStr ${NT_all_env} "PATH" $3 unDoSend: SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 unRemoveFromPath_done: Pop $6 Pop $5 Pop $4 Pop $3 Pop $2 Pop $1 Pop $0 FunctionEnd ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Uninstall sutff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ########################################### # Utility Functions # ########################################### ;==================================================== ; IsNT - Returns 1 if the current system is NT, 0 ; otherwise. ; Output: head of the stack ;==================================================== ; IsNT ; no input ; output, top of the stack = 1 if NT or 0 if not ; ; Usage: ; Call IsNT ; Pop $R0 ; ($R0 at this point is 1 or 0) !macro IsNT un Function ${un}IsNT Push $0 ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion StrCmp $0 "" 0 IsNT_yes ; we are not NT. Pop $0 Push 0 Return IsNT_yes: ; NT!!! Pop $0 Push 1 FunctionEnd !macroend !insertmacro IsNT "" !insertmacro IsNT "un." ; StrStr ; input, top of stack = string to search for ; top of stack-1 = string to search in ; output, top of stack (replaces with the portion of the string remaining) ; modifies no other variables. ; ; Usage: ; Push "this is a long ass string" ; Push "ass" ; Call StrStr ; Pop $R0 ; ($R0 at this point is "ass string") !macro StrStr un Function ${un}StrStr Exch $R1 ; st=haystack,old$R1, $R1=needle Exch ; st=old$R1,haystack Exch $R2 ; st=old$R1,old$R2, $R2=haystack Push $R3 Push $R4 Push $R5 StrLen $R3 $R1 StrCpy $R4 0 ; $R1=needle ; $R2=haystack ; $R3=len(needle) ; $R4=cnt ; $R5=tmp loop: StrCpy $R5 $R2 $R3 $R4 StrCmp $R5 $R1 done StrCmp $R5 "" done IntOp $R4 $R4 + 1 Goto loop done: StrCpy $R1 $R2 "" $R4 Pop $R5 Pop $R4 Pop $R3 Pop $R2 Exch $R1 FunctionEnd !macroend !insertmacro StrStr "" !insertmacro StrStr "un." Function Trim ; Added by Pelaca Exch $R1 Push $R2 Loop: StrCpy $R2 "$R1" 1 -1 StrCmp "$R2" " " RTrim StrCmp "$R2" "$\n" RTrim StrCmp "$R2" "$\r" RTrim StrCmp "$R2" ";" RTrim GoTo Done RTrim: StrCpy $R1 "$R1" -1 Goto Loop Done: Pop $R2 Exch $R1 FunctionEnd Function ConditionalAddToRegisty Pop $0 Pop $1 StrCmp "$0" "" ConditionalAddToRegisty_EmptyString WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" \ "$1" "$0" ;MessageBox MB_OK "Set Registry: '$1' to '$0'" DetailPrint "Set install registry entry: '$1' to '$0'" ConditionalAddToRegisty_EmptyString: FunctionEnd ;-------------------------------- !ifdef CPACK_USES_DOWNLOAD Function DownloadFile IfFileExists $INSTDIR\* +2 CreateDirectory $INSTDIR Pop $0 ; Skip if already downloaded IfFileExists $INSTDIR\$0 0 +2 Return StrCpy $1 "@CPACK_DOWNLOAD_SITE@" try_again: NSISdl::download "$1/$0" "$INSTDIR\$0" Pop $1 StrCmp $1 "success" success StrCmp $1 "Cancelled" cancel MessageBox MB_OK "Download failed: $1" cancel: Return success: FunctionEnd !endif ;-------------------------------- ; Installation types @CPACK_NSIS_INSTALLATION_TYPES@ ;-------------------------------- ; Component sections @CPACK_NSIS_COMPONENT_SECTIONS@ ;-------------------------------- ; Define some macro setting for the gui @CPACK_NSIS_INSTALLER_MUI_ICON_CODE@ @CPACK_NSIS_INSTALLER_ICON_CODE@ @CPACK_NSIS_INSTALLER_MUI_COMPONENTS_DESC@ @CPACK_NSIS_INSTALLER_MUI_FINISHPAGE_RUN_CODE@ ;-------------------------------- ;Pages !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_LICENSE "@CPACK_RESOURCE_FILE_LICENSE@" Page custom InstallOptionsPage !insertmacro MUI_PAGE_DIRECTORY ;Start Menu Folder Page Configuration !define MUI_STARTMENUPAGE_REGISTRY_ROOT "SHCTX" !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER @CPACK_NSIS_PAGE_COMPONENTS@ !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_FINISH !insertmacro MUI_UNPAGE_CONFIRM !insertmacro MUI_UNPAGE_INSTFILES ;-------------------------------- ;Languages !insertmacro MUI_LANGUAGE "English" ;first language is the default language !insertmacro MUI_LANGUAGE "Albanian" !insertmacro MUI_LANGUAGE "Arabic" !insertmacro MUI_LANGUAGE "Basque" !insertmacro MUI_LANGUAGE "Belarusian" !insertmacro MUI_LANGUAGE "Bosnian" !insertmacro MUI_LANGUAGE "Breton" !insertmacro MUI_LANGUAGE "Bulgarian" !insertmacro MUI_LANGUAGE "Croatian" !insertmacro MUI_LANGUAGE "Czech" !insertmacro MUI_LANGUAGE "Danish" !insertmacro MUI_LANGUAGE "Dutch" !insertmacro MUI_LANGUAGE "Estonian" !insertmacro MUI_LANGUAGE "Farsi" !insertmacro MUI_LANGUAGE "Finnish" !insertmacro MUI_LANGUAGE "French" !insertmacro MUI_LANGUAGE "German" !insertmacro MUI_LANGUAGE "Greek" !insertmacro MUI_LANGUAGE "Hebrew" !insertmacro MUI_LANGUAGE "Hungarian" !insertmacro MUI_LANGUAGE "Icelandic" !insertmacro MUI_LANGUAGE "Indonesian" !insertmacro MUI_LANGUAGE "Irish" !insertmacro MUI_LANGUAGE "Italian" !insertmacro MUI_LANGUAGE "Japanese" !insertmacro MUI_LANGUAGE "Korean" !insertmacro MUI_LANGUAGE "Kurdish" !insertmacro MUI_LANGUAGE "Latvian" !insertmacro MUI_LANGUAGE "Lithuanian" !insertmacro MUI_LANGUAGE "Luxembourgish" !insertmacro MUI_LANGUAGE "Macedonian" !insertmacro MUI_LANGUAGE "Malay" !insertmacro MUI_LANGUAGE "Mongolian" !insertmacro MUI_LANGUAGE "Norwegian" !insertmacro MUI_LANGUAGE "Polish" !insertmacro MUI_LANGUAGE "Portuguese" !insertmacro MUI_LANGUAGE "PortugueseBR" !insertmacro MUI_LANGUAGE "Romanian" !insertmacro MUI_LANGUAGE "Russian" !insertmacro MUI_LANGUAGE "Serbian" !insertmacro MUI_LANGUAGE "SerbianLatin" !insertmacro MUI_LANGUAGE "SimpChinese" !insertmacro MUI_LANGUAGE "Slovak" !insertmacro MUI_LANGUAGE "Slovenian" !insertmacro MUI_LANGUAGE "Spanish" !insertmacro MUI_LANGUAGE "Swedish" !insertmacro MUI_LANGUAGE "Thai" !insertmacro MUI_LANGUAGE "TradChinese" !insertmacro MUI_LANGUAGE "Turkish" !insertmacro MUI_LANGUAGE "Ukrainian" !insertmacro MUI_LANGUAGE "Welsh" ;-------------------------------- ;Reserve Files ;These files should be inserted before other files in the data block ;Keep these lines before any File command ;Only for solid compression (by default, solid compression is enabled for BZIP2 and LZMA) ReserveFile "NSIS.InstallOptions.ini" !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS ;-------------------------------- ;Installer Sections Section "-Core installation" ;Use the entire tree produced by the INSTALL target. Keep the ;list of directories here in sync with the RMDir commands below. SetOutPath "$INSTDIR" @CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS@ @CPACK_NSIS_FULL_INSTALL@ ;Store installation folder WriteRegStr SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "" $INSTDIR ;Create uninstaller WriteUninstaller "$INSTDIR\Uninstall.exe" Push "DisplayName" Push "@CPACK_NSIS_DISPLAY_NAME@" Call ConditionalAddToRegisty Push "DisplayVersion" Push "@CPACK_PACKAGE_VERSION@" Call ConditionalAddToRegisty Push "Publisher" Push "@CPACK_PACKAGE_VENDOR@" Call ConditionalAddToRegisty Push "UninstallString" Push "$INSTDIR\Uninstall.exe" Call ConditionalAddToRegisty Push "NoRepair" Push "1" Call ConditionalAddToRegisty !ifdef CPACK_NSIS_ADD_REMOVE ;Create add/remove functionality Push "ModifyPath" Push "$INSTDIR\AddRemove.exe" Call ConditionalAddToRegisty !else Push "NoModify" Push "1" Call ConditionalAddToRegisty !endif ; Optional registration Push "DisplayIcon" Push "$INSTDIR\@CPACK_NSIS_INSTALLED_ICON_NAME@" Call ConditionalAddToRegisty Push "HelpLink" Push "@CPACK_NSIS_HELP_LINK@" Call ConditionalAddToRegisty Push "URLInfoAbout" Push "@CPACK_NSIS_URL_INFO_ABOUT@" Call ConditionalAddToRegisty Push "Contact" Push "@CPACK_NSIS_CONTACT@" Call ConditionalAddToRegisty !insertmacro MUI_INSTALLOPTIONS_READ $INSTALL_DESKTOP "NSIS.InstallOptions.ini" "Field 5" "State" !insertmacro MUI_STARTMENU_WRITE_BEGIN Application ;Create shortcuts CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER" @CPACK_NSIS_CREATE_ICONS@ @CPACK_NSIS_CREATE_ICONS_EXTRA@ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe" ;Read a value from an InstallOptions INI file !insertmacro MUI_INSTALLOPTIONS_READ $DO_NOT_ADD_TO_PATH "NSIS.InstallOptions.ini" "Field 2" "State" !insertmacro MUI_INSTALLOPTIONS_READ $ADD_TO_PATH_ALL_USERS "NSIS.InstallOptions.ini" "Field 3" "State" !insertmacro MUI_INSTALLOPTIONS_READ $ADD_TO_PATH_CURRENT_USER "NSIS.InstallOptions.ini" "Field 4" "State" ; Write special uninstall registry entries Push "StartMenu" Push "$STARTMENU_FOLDER" Call ConditionalAddToRegisty Push "DoNotAddToPath" Push "$DO_NOT_ADD_TO_PATH" Call ConditionalAddToRegisty Push "AddToPathAllUsers" Push "$ADD_TO_PATH_ALL_USERS" Call ConditionalAddToRegisty Push "AddToPathCurrentUser" Push "$ADD_TO_PATH_CURRENT_USER" Call ConditionalAddToRegisty Push "InstallToDesktop" Push "$INSTALL_DESKTOP" Call ConditionalAddToRegisty !insertmacro MUI_STARTMENU_WRITE_END @CPACK_NSIS_EXTRA_INSTALL_COMMANDS@ SectionEnd Section "-Add to path" Push $INSTDIR\bin StrCmp "@CPACK_NSIS_MODIFY_PATH@" "ON" 0 doNotAddToPath StrCmp $DO_NOT_ADD_TO_PATH "1" doNotAddToPath 0 Call AddToPath doNotAddToPath: SectionEnd ;-------------------------------- ; Create custom pages Function InstallOptionsPage !insertmacro MUI_HEADER_TEXT "Install Options" "Choose options for installing @CPACK_NSIS_PACKAGE_NAME@" !insertmacro MUI_INSTALLOPTIONS_DISPLAY "NSIS.InstallOptions.ini" FunctionEnd ;-------------------------------- ; determine admin versus local install Function un.onInit ClearErrors UserInfo::GetName IfErrors noLM Pop $0 UserInfo::GetAccountType Pop $1 StrCmp $1 "Admin" 0 +3 SetShellVarContext all ;MessageBox MB_OK 'User "$0" is in the Admin group' Goto done StrCmp $1 "Power" 0 +3 SetShellVarContext all ;MessageBox MB_OK 'User "$0" is in the Power Users group' Goto done noLM: ;Get installation folder from registry if available done: FunctionEnd ;--- Add/Remove callback functions: --- !macro SectionList MacroName ;This macro used to perform operation on multiple sections. ;List all of your components in following manner here. @CPACK_NSIS_COMPONENT_SECTION_LIST@ !macroend Section -FinishComponents ;Removes unselected components and writes component status to registry !insertmacro SectionList "FinishSection" !ifdef CPACK_NSIS_ADD_REMOVE ; Get the name of the installer executable System::Call 'kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1' StrCpy $R3 $R0 ; Strip off the last 13 characters, to see if we have AddRemove.exe StrLen $R1 $R0 IntOp $R1 $R0 - 13 StrCpy $R2 $R0 13 $R1 StrCmp $R2 "AddRemove.exe" addremove_installed ; We're not running AddRemove.exe, so install it CopyFiles $R3 $INSTDIR\AddRemove.exe addremove_installed: !endif SectionEnd ;--- End of Add/Remove callback functions --- ;-------------------------------- ; Component dependencies Function .onSelChange !insertmacro SectionList MaybeSelectionChanged FunctionEnd ;-------------------------------- ;Uninstaller Section Section "Uninstall" ReadRegStr $START_MENU SHCTX \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "StartMenu" ;MessageBox MB_OK "Start menu is in: $START_MENU" ReadRegStr $DO_NOT_ADD_TO_PATH SHCTX \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "DoNotAddToPath" ReadRegStr $ADD_TO_PATH_ALL_USERS SHCTX \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "AddToPathAllUsers" ReadRegStr $ADD_TO_PATH_CURRENT_USER SHCTX \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "AddToPathCurrentUser" ;MessageBox MB_OK "Add to path: $DO_NOT_ADD_TO_PATH all users: $ADD_TO_PATH_ALL_USERS" ReadRegStr $INSTALL_DESKTOP SHCTX \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "InstallToDesktop" ;MessageBox MB_OK "Install to desktop: $INSTALL_DESKTOP " @CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS@ ;Remove files we installed. ;Keep the list of directories here in sync with the File commands above. @CPACK_NSIS_DELETE_FILES@ @CPACK_NSIS_DELETE_DIRECTORIES@ !ifdef CPACK_NSIS_ADD_REMOVE ;Remove the add/remove program Delete "$INSTDIR\AddRemove.exe" !endif ;Remove the uninstaller itself. Delete "$INSTDIR\Uninstall.exe" DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" ;Remove the installation directory if it is empty. RMDir "$INSTDIR" ; Remove the registry entries. DeleteRegKey SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" ; Removes all optional components !insertmacro SectionList "RemoveSection_CPack" !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk" @CPACK_NSIS_DELETE_ICONS@ @CPACK_NSIS_DELETE_ICONS_EXTRA@ ;Delete empty start menu parent diretories StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP" startMenuDeleteLoop: ClearErrors RMDir $MUI_TEMP GetFullPathName $MUI_TEMP "$MUI_TEMP\.." IfErrors startMenuDeleteLoopDone StrCmp "$MUI_TEMP" "$SMPROGRAMS" startMenuDeleteLoopDone startMenuDeleteLoop startMenuDeleteLoopDone: ; If the user changed the shortcut, then untinstall may not work. This should ; try to fix it. StrCpy $MUI_TEMP "$START_MENU" Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk" @CPACK_NSIS_DELETE_ICONS_EXTRA@ ;Delete empty start menu parent diretories StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP" secondStartMenuDeleteLoop: ClearErrors RMDir $MUI_TEMP GetFullPathName $MUI_TEMP "$MUI_TEMP\.." IfErrors secondStartMenuDeleteLoopDone StrCmp "$MUI_TEMP" "$SMPROGRAMS" secondStartMenuDeleteLoopDone secondStartMenuDeleteLoop secondStartMenuDeleteLoopDone: DeleteRegKey /ifempty SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" Push $INSTDIR\bin StrCmp $DO_NOT_ADD_TO_PATH_ "1" doNotRemoveFromPath 0 Call un.RemoveFromPath doNotRemoveFromPath: SectionEnd ;-------------------------------- ; determine admin versus local install ; Is install for "AllUsers" or "JustMe"? ; Default to "JustMe" - set to "AllUsers" if admin or on Win9x ; This function is used for the very first "custom page" of the installer. ; This custom page does not show up visibly, but it executes prior to the ; first visible page and sets up $INSTDIR properly... ; Choose different default installation folder based on SV_ALLUSERS... ; "Program Files" for AllUsers, "My Documents" for JustMe... Function .onInit StrCmp "@CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL@" "ON" 0 inst ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "UninstallString" StrCmp $0 "" inst MessageBox MB_YESNOCANCEL|MB_ICONEXCLAMATION \ "@CPACK_NSIS_PACKAGE_NAME@ is already installed. $\n$\nDo you want to uninstall the old version before installing the new one?" \ IDYES uninst IDNO inst Abort ;Run the uninstaller uninst: ClearErrors StrLen $2 "\Uninstall.exe" StrCpy $3 $0 -$2 # remove "\Uninstall.exe" from UninstallString to get path ExecWait '$0 _?=$3' ;Do not copy the uninstaller to a temp file IfErrors uninst_failed inst uninst_failed: MessageBox MB_OK|MB_ICONSTOP "Uninstall failed." Abort inst: ; Reads components status for registry !insertmacro SectionList "InitSection" ; check to see if /D has been used to change ; the install directory by comparing it to the ; install directory that is expected to be the ; default StrCpy $IS_DEFAULT_INSTALLDIR 0 StrCmp "$INSTDIR" "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@" 0 +2 StrCpy $IS_DEFAULT_INSTALLDIR 1 StrCpy $SV_ALLUSERS "JustMe" ; if default install dir then change the default ; if it is installed for JustMe StrCmp "$IS_DEFAULT_INSTALLDIR" "1" 0 +2 StrCpy $INSTDIR "$DOCUMENTS\@CPACK_PACKAGE_INSTALL_DIRECTORY@" ClearErrors UserInfo::GetName IfErrors noLM Pop $0 UserInfo::GetAccountType Pop $1 StrCmp $1 "Admin" 0 +4 SetShellVarContext all ;MessageBox MB_OK 'User "$0" is in the Admin group' StrCpy $SV_ALLUSERS "AllUsers" Goto done StrCmp $1 "Power" 0 +4 SetShellVarContext all ;MessageBox MB_OK 'User "$0" is in the Power Users group' StrCpy $SV_ALLUSERS "AllUsers" Goto done noLM: StrCpy $SV_ALLUSERS "AllUsers" ;Get installation folder from registry if available done: StrCmp $SV_ALLUSERS "AllUsers" 0 +3 StrCmp "$IS_DEFAULT_INSTALLDIR" "1" 0 +2 StrCpy $INSTDIR "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@" StrCmp "@CPACK_NSIS_MODIFY_PATH@" "ON" 0 noOptionsPage !insertmacro MUI_INSTALLOPTIONS_EXTRACT "NSIS.InstallOptions.ini" noOptionsPage: FunctionEnd cmake-2.8.12.2/Modules/Platform/AIX-GNU-ASM.cmake000644 000765 000024 00000000062 12266011634 021520 0ustar00kitwarestaff000000 000000 include(Platform/AIX-GNU) __aix_compiler_gnu(ASM) cmake-2.8.12.2/Modules/Platform/AIX-GNU-C.cmake000644 000765 000024 00000000060 12266011634 021260 0ustar00kitwarestaff000000 000000 include(Platform/AIX-GNU) __aix_compiler_gnu(C) cmake-2.8.12.2/Modules/Platform/AIX-GNU-CXX.cmake000644 000765 000024 00000000062 12266011634 021542 0ustar00kitwarestaff000000 000000 include(Platform/AIX-GNU) __aix_compiler_gnu(CXX) cmake-2.8.12.2/Modules/Platform/AIX-GNU-Fortran.cmake000644 000765 000024 00000000066 12266011634 022517 0ustar00kitwarestaff000000 000000 include(Platform/AIX-GNU) __aix_compiler_gnu(Fortran) cmake-2.8.12.2/Modules/Platform/AIX-GNU.cmake000644 000765 000024 00000002276 12266011634 021113 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__AIX_COMPILER_GNU) return() endif() set(__AIX_COMPILER_GNU 1) macro(__aix_compiler_gnu lang) set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-blibpath:") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,-G,-bnoipath") set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-brtl,-bnoipath,-bexpall") # +s, flag for exe link to use shared lib set(CMAKE_${lang}_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH 1) endmacro() cmake-2.8.12.2/Modules/Platform/AIX-VisualAge-C.cmake000644 000765 000024 00000000033 12266011634 022507 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL-C) cmake-2.8.12.2/Modules/Platform/AIX-VisualAge-CXX.cmake000644 000765 000024 00000000035 12266011634 022771 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL-CXX) cmake-2.8.12.2/Modules/Platform/AIX-VisualAge-Fortran.cmake000644 000765 000024 00000000041 12266011634 023737 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL-Fortran) cmake-2.8.12.2/Modules/Platform/AIX-XL-ASM.cmake000644 000765 000024 00000000060 12266011634 021410 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL) __aix_compiler_xl(ASM) cmake-2.8.12.2/Modules/Platform/AIX-XL-C.cmake000644 000765 000024 00000000056 12266011634 021157 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL) __aix_compiler_xl(C) cmake-2.8.12.2/Modules/Platform/AIX-XL-CXX.cmake000644 000765 000024 00000000060 12266011634 021432 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL) __aix_compiler_xl(CXX) cmake-2.8.12.2/Modules/Platform/AIX-XL-Fortran.cmake000644 000765 000024 00000000064 12266011634 022407 0ustar00kitwarestaff000000 000000 include(Platform/AIX-XL) __aix_compiler_xl(Fortran) cmake-2.8.12.2/Modules/Platform/AIX-XL.cmake000644 000765 000024 00000002260 12266011634 020776 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__AIX_COMPILER_XL) return() endif() set(__AIX_COMPILER_XL 1) macro(__aix_compiler_xl lang) set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-blibpath:") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-G -Wl,-bnoipath") # -shared set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-brtl,-bnoipath,-bexpall") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS " ") set(CMAKE_SHARED_MODULE_${lang}_FLAGS " ") endmacro() cmake-2.8.12.2/Modules/Platform/AIX.cmake000644 000765 000024 00000002426 12266011634 020461 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") # .so set(CMAKE_DL_LIBS "-lld") # RPATH support on AIX is called libpath. By default the runtime # libpath is paths specified by -L followed by /usr/lib and /lib. In # order to prevent the -L paths from being used we must force use of # -Wl,-blibpath:/usr/lib:/lib whether RPATH support is on or not. # When our own RPATH is to be added it may be inserted before the # "always" paths. set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH /usr/lib /lib) # Files named "libfoo.a" may actually be shared libraries. set_property(GLOBAL PROPERTY TARGET_ARCHIVES_MAY_BE_SHARED_LIBS 1) # since .a can be a static or shared library on AIX, we can not do this. # at some point if we wanted it, we would have to figure out if a .a is # static or shared, then we could add this back: # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. #foreach(type SHARED_LIBRARY SHARED_MODULE EXE) # set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-bstatic") # set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-bdynamic") #endforeach() include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/BeOS.cmake000644 000765 000024 00000000624 12266011634 020626 0ustar00kitwarestaff000000 000000 set(BEOS 1) set(CMAKE_DL_LIBS root be) set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-nostart") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/BlueGeneL.cmake000644 000765 000024 00000003510 12266011634 021635 0ustar00kitwarestaff000000 000000 #the compute nodes on BlueGene/L don't support shared libs set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) set(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty set(CMAKE_LINK_LIBRARY_SUFFIX "") set(CMAKE_STATIC_LIBRARY_PREFIX "lib") set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") set(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".a") # .a set(CMAKE_EXECUTABLE_SUFFIX "") # .exe set(CMAKE_DL_LIBS "" ) set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") include(Platform/UnixPaths) if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_LINK_EXECUTABLE " -Wl,-relax -o -Wl,-lgcc,-lc -lnss_files -lnss_dns -lresolv") else() # when using IBM xlc we probably don't want to link to -lgcc set(CMAKE_C_LINK_EXECUTABLE " -Wl,-relax -o -Wl,-lc -lnss_files -lnss_dns -lresolv") endif() if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_LINK_EXECUTABLE " -Wl,-relax -o -Wl,-lstdc++,-lgcc,-lc -lnss_files -lnss_dns -lresolv") else() # when using the IBM xlC we probably don't want to link to -lgcc set(CMAKE_CXX_LINK_EXECUTABLE " -Wl,-relax -o -Wl,-lstdc++,-lc -lnss_files -lnss_dns -lresolv") endif() cmake-2.8.12.2/Modules/Platform/BlueGeneP-base.cmake000644 000765 000024 00000013221 12266011634 022551 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # # BlueGeneP base platform file. # # NOTE: Do not set your platform to "BlueGeneP-base". This file is included # by the real platform files. Use one of these two platforms instead: # # BlueGeneP-dynamic For dynamically linked builds # BlueGeneP-static For statically linked builds # # This platform file tries its best to adhere to the behavior of the MPI # compiler wrappers included with the latest BG/P drivers. # # # For BGP builds, we're cross compiling, but we don't want to re-root things # (e.g. with CMAKE_FIND_ROOT_PATH) because users may have libraries anywhere on # the shared filesystems, and this may lie outside the root. Instead, we set the # system directories so that the various system BGP CNK library locations are # searched first. This is not the clearest thing in the world, given IBM's driver # layout, but this should cover all the standard ones. # set(CMAKE_SYSTEM_LIBRARY_PATH /bgsys/drivers/ppcfloor/comm/default/lib # default comm layer (used by mpi compiler wrappers) /bgsys/drivers/ppcfloor/comm/sys/lib # DCMF, other lower-level comm libraries /bgsys/drivers/ppcfloor/runtime/SPI # other low-level stuff /bgsys/drivers/ppcfloor/gnu-linux/lib # CNK python installation directory /bgsys/drivers/ppcfloor/gnu-linux/powerpc-bgp-linux/lib # CNK Linux image -- standard runtime libs, pthread, etc. ) # # This adds directories that find commands should specifically ignore for cross compiles. # Most of these directories are the includeand lib directories for the frontend on BG/P systems. # Not ignoring these can cause things like FindX11 to find a frontend PPC version mistakenly. # We use this on BG instead of re-rooting because backend libraries are typically strewn about # the filesystem, and we can't re-root ALL backend libraries to a single place. # set(CMAKE_SYSTEM_IGNORE_PATH /lib /lib64 /include /usr/lib /usr/lib64 /usr/include /usr/local/lib /usr/local/lib64 /usr/local/include /usr/X11/lib /usr/X11/lib64 /usr/X11/include /usr/lib/X11 /usr/lib64/X11 /usr/include/X11 /usr/X11R6/lib /usr/X11R6/lib64 /usr/X11R6/include /usr/X11R7/lib /usr/X11R7/lib64 /usr/X11R7/include ) # # Indicate that this is a unix-like system # set(UNIX 1) # # Library prefixes, suffixes, extra libs. # set(CMAKE_LINK_LIBRARY_SUFFIX "") set(CMAKE_STATIC_LIBRARY_PREFIX "lib") # lib set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") # .a set(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") # .so set(CMAKE_EXECUTABLE_SUFFIX "") # .exe set(CMAKE_DL_LIBS "dl") # # This macro needs to be called for dynamic library support. Unfortunately on BGP, # We can't support both static and dynamic links in the same platform file. The # dynamic link platform file needs to call this explicitly to set up dynamic linking. # macro(__BlueGeneP_set_dynamic_flags compiler_id lang) if (${compiler_id} STREQUAL XL) # Flags for XL compilers if we explicitly detected XL set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-qpic") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-qpie") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-qpic") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-qmkshrobj -qnostaticlink") set(BGP_${lang}_DYNAMIC_EXE_FLAGS "-qnostaticlink -qnostaticlink=libgcc") else() # Assume flags for GNU compilers (if the ID is GNU *or* anything else). set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared") set(BGP_${lang}_DYNAMIC_EXE_FLAGS "-dynamic") endif() # Both toolchains use the GNU linker on BG/P, so these options are shared. set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_${lang}_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_${lang}_FLAG "-Wl,--export-dynamic") set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") # : or empty set(BGP_${lang}_DEFAULT_EXE_FLAGS " -o ") set(CMAKE_${lang}_LINK_EXECUTABLE " -Wl,-relax ${BGP_${lang}_DYNAMIC_EXE_FLAGS} ${BGP_${lang}_DEFAULT_EXE_FLAGS}") endmacro() # # This macro needs to be called for static builds. Right now it just adds -Wl,-relax # to the link line. # macro(__BlueGeneP_set_static_flags compiler_id lang) set(BGP_${lang}_DEFAULT_EXE_FLAGS " -o ") set(CMAKE_${lang}_LINK_EXECUTABLE " -Wl,-relax ${BGP_${lang}_DEFAULT_EXE_FLAGS}") endmacro() cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic-GNU-C.cmake000644 000765 000024 00000001263 12266011634 024075 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_dynamic_flags(GNU C) cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic-GNU-CXX.cmake000644 000765 000024 00000001265 12266011634 024357 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_dynamic_flags(GNU CXX) cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic-GNU-Fortran.cmake000644 000765 000024 00000001271 12266011634 025325 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_dynamic_flags(GNU Fortran) cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic-XL-C.cmake000644 000765 000024 00000001262 12266011634 023766 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_dynamic_flags(XL C) cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic-XL-CXX.cmake000644 000765 000024 00000001264 12266011634 024250 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_dynamic_flags(XL CXX) cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic-XL-Fortran.cmake000644 000765 000024 00000001270 12266011634 025216 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_dynamic_flags(XL Fortran) cmake-2.8.12.2/Modules/Platform/BlueGeneP-dynamic.cmake000644 000765 000024 00000001501 12266011634 023261 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(Platform/BlueGeneP-base) set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE) set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a") cmake-2.8.12.2/Modules/Platform/BlueGeneP-static-GNU-C.cmake000644 000765 000024 00000001262 12266011634 023737 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_static_flags(GNU C) cmake-2.8.12.2/Modules/Platform/BlueGeneP-static-GNU-CXX.cmake000644 000765 000024 00000001264 12266011634 024221 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_static_flags(GNU CXX) cmake-2.8.12.2/Modules/Platform/BlueGeneP-static-GNU-Fortran.cmake000644 000765 000024 00000001270 12266011634 025167 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_static_flags(GNU Fortran) cmake-2.8.12.2/Modules/Platform/BlueGeneP-static-XL-C.cmake000644 000765 000024 00000001261 12266011634 023630 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_static_flags(XL C) cmake-2.8.12.2/Modules/Platform/BlueGeneP-static-XL-CXX.cmake000644 000765 000024 00000001263 12266011634 024112 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_static_flags(XL CXX) cmake-2.8.12.2/Modules/Platform/BlueGeneP-static-XL-Fortran.cmake000644 000765 000024 00000001267 12266011634 025067 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) __BlueGeneP_set_static_flags(XL Fortran) cmake-2.8.12.2/Modules/Platform/BlueGeneP-static.cmake000644 000765 000024 00000001474 12266011634 023135 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2010 Todd Gamblin # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(Platform/BlueGeneP-base) set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") cmake-2.8.12.2/Modules/Platform/BSDOS.cmake000644 000765 000024 00000000035 12266011634 020704 0ustar00kitwarestaff000000 000000 include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/Catamount.cmake000644 000765 000024 00000002011 12266011634 021761 0ustar00kitwarestaff000000 000000 #Catamount, which runs on the compute nodes of Cray machines, e.g. RedStorm, doesn't support shared libs set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) set(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty set(CMAKE_LINK_LIBRARY_SUFFIX "") set(CMAKE_STATIC_LIBRARY_PREFIX "lib") set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") set(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".a") # .a set(CMAKE_EXECUTABLE_SUFFIX "") # .exe set(CMAKE_DL_LIBS "" ) set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") include(Platform/UnixPaths) set(CMAKE_CXX_LINK_SHARED_LIBRARY) set(CMAKE_CXX_LINK_MODULE_LIBRARY) set(CMAKE_C_LINK_SHARED_LIBRARY) set(CMAKE_C_LINK_MODULE_LIBRARY) cmake-2.8.12.2/Modules/Platform/CYGWIN-CXX.cmake000644 000765 000024 00000000370 12266011634 021474 0ustar00kitwarestaff000000 000000 if(NOT CMAKE_CXX_COMPILER_NAMES) set(CMAKE_CXX_COMPILER_NAMES c++) endif() # Exclude C++ compilers differing from C compiler only by case # because this platform may have a case-insensitive filesystem. set(CMAKE_CXX_COMPILER_EXCLUDE CC aCC xlC) cmake-2.8.12.2/Modules/Platform/CYGWIN-GNU-C.cmake000644 000765 000024 00000000066 12266011634 021645 0ustar00kitwarestaff000000 000000 include(Platform/CYGWIN-GNU) __cygwin_compiler_gnu(C) cmake-2.8.12.2/Modules/Platform/CYGWIN-GNU-CXX.cmake000644 000765 000024 00000000070 12266011634 022120 0ustar00kitwarestaff000000 000000 include(Platform/CYGWIN-GNU) __cygwin_compiler_gnu(CXX) cmake-2.8.12.2/Modules/Platform/CYGWIN-GNU-Fortran.cmake000644 000765 000024 00000000074 12266011634 023075 0ustar00kitwarestaff000000 000000 include(Platform/CYGWIN-GNU) __cygwin_compiler_gnu(Fortran) cmake-2.8.12.2/Modules/Platform/CYGWIN-GNU.cmake000644 000765 000024 00000005460 12266011634 021470 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__CYGWIN_COMPILER_GNU) return() endif() set(__CYGWIN_COMPILER_GNU 1) # TODO: Is -Wl,--enable-auto-import now always default? set(CMAKE_EXE_LINKER_FLAGS_INIT "-Wl,--enable-auto-import") set(CMAKE_CREATE_WIN32_EXE "-mwindows") set(CMAKE_GNULD_IMAGE_VERSION "-Wl,--major-image-version,,--minor-image-version,") set(CMAKE_GENERATOR_RC windres) enable_language(RC) macro(__cygwin_compiler_gnu lang) # Binary link rules. set(CMAKE_${lang}_CREATE_SHARED_MODULE " -o ${CMAKE_GNULD_IMAGE_VERSION} ") set(CMAKE_${lang}_CREATE_SHARED_LIBRARY " -o -Wl,--out-implib, ${CMAKE_GNULD_IMAGE_VERSION} ") set(CMAKE_${lang}_LINK_EXECUTABLE " -o -Wl,--out-implib, ${CMAKE_GNULD_IMAGE_VERSION} ") # No -fPIC on cygwin set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "") # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_${lang}_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_${lang}_FLAGS "-Wl,-Bdynamic") endforeach() set(CMAKE_EXE_EXPORTS_${lang}_FLAG "-Wl,--export-all-symbols") # TODO: Is -Wl,--enable-auto-import now always default? set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,--enable-auto-import") set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS}") endmacro() cmake-2.8.12.2/Modules/Platform/CYGWIN-windres.cmake000644 000765 000024 00000000137 12266011634 022506 0ustar00kitwarestaff000000 000000 set(CMAKE_RC_COMPILE_OBJECT " -O coff ") cmake-2.8.12.2/Modules/Platform/CYGWIN.cmake000644 000765 000024 00000005006 12266011634 021035 0ustar00kitwarestaff000000 000000 if("${CMAKE_MINIMUM_REQUIRED_VERSION}" VERSION_LESS "2.8.3.20101214") set(__USE_CMAKE_LEGACY_CYGWIN_WIN32 1) endif() if(NOT DEFINED WIN32) set(WIN32 0) if(DEFINED __USE_CMAKE_LEGACY_CYGWIN_WIN32) if(NOT DEFINED CMAKE_LEGACY_CYGWIN_WIN32 AND DEFINED ENV{CMAKE_LEGACY_CYGWIN_WIN32}) set(CMAKE_LEGACY_CYGWIN_WIN32 $ENV{CMAKE_LEGACY_CYGWIN_WIN32}) endif() if(CMAKE_LEGACY_CYGWIN_WIN32) message(STATUS "Defining WIN32 under Cygwin due to CMAKE_LEGACY_CYGWIN_WIN32") set(WIN32 1) elseif("x${CMAKE_LEGACY_CYGWIN_WIN32}" STREQUAL "x") message(WARNING "CMake no longer defines WIN32 on Cygwin!" "\n" "(1) If you are just trying to build this project, ignore this warning " "or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or " "in the CMake cache. " "If later configuration or build errors occur then this project may " "have been written under the assumption that Cygwin is WIN32. " "In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead." "\n" "(2) If you are developing this project, add the line\n" " set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required\n" "at the top of your top-level CMakeLists.txt file or set the minimum " "required version of CMake to 2.8.4 or higher. " "Then teach your project to build on Cygwin without WIN32.") endif() elseif(DEFINED CMAKE_LEGACY_CYGWIN_WIN32) message(AUTHOR_WARNING "CMAKE_LEGACY_CYGWIN_WIN32 ignored because\n" " cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION})\n" "is at least 2.8.4.") endif() endif() if(DEFINED __USE_CMAKE_LEGACY_CYGWIN_WIN32) # Pass WIN32 legacy setting to scripts. if(WIN32) set(ENV{CMAKE_LEGACY_CYGWIN_WIN32} 1) else() set(ENV{CMAKE_LEGACY_CYGWIN_WIN32} 0) endif() unset(__USE_CMAKE_LEGACY_CYGWIN_WIN32) endif() set(CYGWIN 1) set(CMAKE_SHARED_LIBRARY_PREFIX "cyg") set(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") set(CMAKE_SHARED_MODULE_PREFIX "cyg") set(CMAKE_SHARED_MODULE_SUFFIX ".dll") set(CMAKE_IMPORT_LIBRARY_PREFIX "lib") set(CMAKE_IMPORT_LIBRARY_SUFFIX ".dll.a") set(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe # Modules have a different default prefix that shared libs. set(CMAKE_MODULE_EXISTS 1) set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a") # Shared libraries on cygwin can be named with their version number. set(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 1) include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/Darwin-Absoft-Fortran.cmake000644 000765 000024 00000001542 12266011634 024107 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2011 Kitware, Inc. # Copyright 2013 OpenGamma Ltd. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(CMAKE_Fortran_VERBOSE_FLAG "-X -v") # Runs gcc under the hood. set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ") set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ") cmake-2.8.12.2/Modules/Platform/Darwin-Clang-C.cmake000644 000765 000024 00000000072 12266011634 022461 0ustar00kitwarestaff000000 000000 include(Platform/Darwin-Clang) __darwin_compiler_clang(C) cmake-2.8.12.2/Modules/Platform/Darwin-Clang-CXX.cmake000644 000765 000024 00000000074 12266011634 022743 0ustar00kitwarestaff000000 000000 include(Platform/Darwin-Clang) __darwin_compiler_clang(CXX) cmake-2.8.12.2/Modules/Platform/Darwin-Clang.cmake000644 000765 000024 00000002255 12266011634 022306 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__DARWIN_COMPILER_CLANG) return() endif() set(__DARWIN_COMPILER_CLANG 1) macro(__darwin_compiler_clang lang) set(CMAKE_${lang}_VERBOSE_FLAG "-v -Wl,-v") # also tell linker to print verbose output set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names") set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "-bundle -Wl,-headerpad_max_install_names") set(CMAKE_${lang}_SYSROOT_FLAG "-isysroot") set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG "-mmacosx-version-min=") endmacro() cmake-2.8.12.2/Modules/Platform/Darwin-CXX.cmake000644 000765 000024 00000000370 12266011634 021720 0ustar00kitwarestaff000000 000000 if(NOT CMAKE_CXX_COMPILER_NAMES) set(CMAKE_CXX_COMPILER_NAMES c++) endif() # Exclude C++ compilers differing from C compiler only by case # because this platform may have a case-insensitive filesystem. set(CMAKE_CXX_COMPILER_EXCLUDE CC aCC xlC) cmake-2.8.12.2/Modules/Platform/Darwin-GNU-C.cmake000644 000765 000024 00000000200 12266011634 022057 0ustar00kitwarestaff000000 000000 include(Platform/Darwin-GNU) __darwin_compiler_gnu(C) cmake_gnu_set_sysroot_flag(C) cmake_gnu_set_osx_deployment_target_flag(C) cmake-2.8.12.2/Modules/Platform/Darwin-GNU-CXX.cmake000644 000765 000024 00000000206 12266011634 022345 0ustar00kitwarestaff000000 000000 include(Platform/Darwin-GNU) __darwin_compiler_gnu(CXX) cmake_gnu_set_sysroot_flag(CXX) cmake_gnu_set_osx_deployment_target_flag(CXX) cmake-2.8.12.2/Modules/Platform/Darwin-GNU-Fortran.cmake000644 000765 000024 00000001533 12266011634 023322 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2013 OpenGamma Ltd. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(Platform/Darwin-GNU) __darwin_compiler_gnu(Fortran) set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ") set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ") cmake-2.8.12.2/Modules/Platform/Darwin-GNU.cmake000644 000765 000024 00000005205 12266011634 021711 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__DARWIN_COMPILER_GNU) return() endif() set(__DARWIN_COMPILER_GNU 1) macro(__darwin_compiler_gnu lang) set(CMAKE_${lang}_VERBOSE_FLAG "-v -Wl,-v") # also tell linker to print verbose output # GNU does not have -shared on OS X set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names") set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "-bundle -Wl,-headerpad_max_install_names") endmacro() macro(cmake_gnu_set_sysroot_flag lang) if(NOT DEFINED CMAKE_${lang}_SYSROOT_FLAG) set(_doc "${lang} compiler has -isysroot") message(STATUS "Checking whether ${_doc}") execute_process( COMMAND ${CMAKE_${lang}_COMPILER} "-v" "--help" OUTPUT_VARIABLE _gcc_help ERROR_VARIABLE _gcc_help ) if("${_gcc_help}" MATCHES "isysroot") message(STATUS "Checking whether ${_doc} - yes") set(CMAKE_${lang}_SYSROOT_FLAG "-isysroot") else() message(STATUS "Checking whether ${_doc} - no") set(CMAKE_${lang}_SYSROOT_FLAG "") endif() set(CMAKE_${lang}_SYSROOT_FLAG_CODE "set(CMAKE_${lang}_SYSROOT_FLAG \"${CMAKE_${lang}_SYSROOT_FLAG}\")") endif() endmacro() macro(cmake_gnu_set_osx_deployment_target_flag lang) if(NOT DEFINED CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG) set(_doc "${lang} compiler supports OSX deployment target flag") message(STATUS "Checking whether ${_doc}") execute_process( COMMAND ${CMAKE_${lang}_COMPILER} "-v" "--help" OUTPUT_VARIABLE _gcc_help ERROR_VARIABLE _gcc_help ) if("${_gcc_help}" MATCHES "macosx-version-min") message(STATUS "Checking whether ${_doc} - yes") set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG "-mmacosx-version-min=") else() message(STATUS "Checking whether ${_doc} - no") set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG "") endif() set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG_CODE "set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG \"${CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG}\")") endif() endmacro() cmake-2.8.12.2/Modules/Platform/Darwin-icc.cmake000644 000765 000024 00000013225 12266011634 022017 0ustar00kitwarestaff000000 000000 set(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS "" ) set(CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS "") # Setup for Leopard Compatibility exec_program(sw_vers ARGS -productVersion OUTPUT_VARIABLE _OSX_VERSION) # message (STATUS "_OSX_VERSION: ${_OSX_VERSION}") if ( _OSX_VERSION MATCHES "^10.4" ) #if(CMAKE_COMPILER_IS_GNUCC) set (CMAKE_C_FLAGS_INIT "") set (CMAKE_C_FLAGS_DEBUG_INIT "-gdwarf-2") set (CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") set (CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -gdwarf-2") set (CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") set (CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S -o ") # endif() # if(CMAKE_COMPILER_IS_GNUCXX) set (CMAKE_CXX_FLAGS_INIT "") set (CMAKE_CXX_FLAGS_DEBUG_INIT "-gdwarf-2") set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -gdwarf-2") set (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") set (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S -o ") # endif() endif () set(CMAKE_SHARED_LIBRARY_PREFIX "lib") set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib") set(CMAKE_SHARED_MODULE_PREFIX "lib") set(CMAKE_SHARED_MODULE_SUFFIX ".so") set(CMAKE_MODULE_EXISTS 1) set(CMAKE_DL_LIBS "") set(CMAKE_C_LINK_FLAGS "-Wl,-headerpad_max_install_names") set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names") set(CMAKE_PLATFORM_HAS_INSTALLNAME 1) set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names") set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -Wl,-headerpad_max_install_names") set(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a") # setup for universal binaries if sysroot exists if(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) # set the sysroot to be used if CMAKE_OSX_ARCHITECTURES # has more than one value set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.4u.sdk CACHE STRING "isysroot used for universal binary support") # set _CMAKE_OSX_MACHINE to umame -m exec_program(uname ARGS -m OUTPUT_VARIABLE _CMAKE_OSX_MACHINE) # check for environment variable CMAKE_OSX_ARCHITECTURES # if it is set. if(NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" STREQUAL "") set(_CMAKE_OSX_MACHINE "$ENV{CMAKE_OSX_ARCHITECTURES}") endif() # now put _CMAKE_OSX_MACHINE into the cache set(CMAKE_OSX_ARCHITECTURES ${_CMAKE_OSX_MACHINE} CACHE STRING "Build architectures for OSX") endif() if("${CMAKE_BACKWARDS_COMPATIBILITY}" MATCHES "^1\\.[0-6]$") set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -flat_namespace -undefined suppress") endif() if(NOT XCODE) # Enable shared library versioning. This flag is not actually referenced # but the fact that the setting exists will cause the generators to support # soname computation. set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name") set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-install_name") set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-install_name") endif() # Xcode does not support -isystem yet. if(XCODE) set(CMAKE_INCLUDE_SYSTEM_FLAG_C) set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX) endif() set(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different ") set(CMAKE_C_CREATE_SHARED_LIBRARY " -o ") set(CMAKE_CXX_CREATE_SHARED_LIBRARY " -o ") set(CMAKE_Fortran_CREATE_SHARED_LIBRARY " -o ") set(CMAKE_CXX_CREATE_SHARED_MODULE " -o ") set(CMAKE_C_CREATE_SHARED_MODULE " -o ") set(CMAKE_Fortran_CREATE_SHARED_MODULE " -o ") # We can use $ENV{INTEL_LICENSE_FILE} to try and get at the installation location for ICC. # We also need to consider to use cce (which is the 64bit compiler) and not JUST the 32bit compiler. # I have no idea what the best way to do that would be. # default to searching for frameworks first if(NOT DEFINED CMAKE_FIND_FRAMEWORK) set(CMAKE_FIND_FRAMEWORK FIRST) endif() # set up the default search directories for frameworks set(CMAKE_SYSTEM_FRAMEWORK_PATH ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks) # default to searching for application bundles first if(NOT DEFINED CMAKE_FIND_APPBUNDLE) set(CMAKE_FIND_APPBUNDLE FIRST) endif() # set up the default search directories for application bundles set(CMAKE_SYSTEM_APPBUNDLE_PATH ~/Applications /Applications /Developer/Applications) include(Platform/UnixPaths) set(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} /sw/include) set(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} /sw/lib) cmake-2.8.12.2/Modules/Platform/Darwin-icpc.cmake000644 000765 000024 00000000307 12266011634 022174 0ustar00kitwarestaff000000 000000 get_filename_component(CURRENT_SOURCE_PARENT ${CMAKE_CURRENT_LIST_FILE} PATH) #message (STATUS "CURRENT_SOURCE_PARENT: ${CURRENT_SOURCE_PARENT}") include ( ${CURRENT_SOURCE_PARENT}/Darwin-icc.cmake) cmake-2.8.12.2/Modules/Platform/Darwin-Intel-Fortran.cmake000644 000765 000024 00000001377 12266011634 023752 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2013 OpenGamma Ltd. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ") set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ") cmake-2.8.12.2/Modules/Platform/Darwin-NAG-Fortran.cmake000644 000765 000024 00000002621 12266011634 023275 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # Copyright 2013 OpenGamma Ltd. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(CMAKE_Fortran_VERBOSE_FLAG "-Wl,-v") # Runs gcc under the hood. # Need -fpp explicitly on case-insensitive filesystem. set(CMAKE_Fortran_COMPILE_OBJECT " -fpp -o -c ") set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-Wl,-compatibility_version -Wl,") set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-Wl,-current_version -Wl,") set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-Wl,-shared") set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-install_name -Wl,") set(CMAKE_Fortran_CREATE_SHARED_LIBRARY " -o ") cmake-2.8.12.2/Modules/Platform/Darwin-VisualAge-C.cmake000644 000765 000024 00000000036 12266011634 023315 0ustar00kitwarestaff000000 000000 include(Platform/Darwin-XL-C) cmake-2.8.12.2/Modules/Platform/Darwin-VisualAge-CXX.cmake000644 000765 000024 00000000040 12266011634 023570 0ustar00kitwarestaff000000 000000 include(Platform/Darwin-XL-CXX) cmake-2.8.12.2/Modules/Platform/Darwin-XL-C.cmake000644 000765 000024 00000000311 12266011634 021754 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj") set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle") # Enable shared library versioning. set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-install_name") cmake-2.8.12.2/Modules/Platform/Darwin-XL-CXX.cmake000644 000765 000024 00000000317 12266011634 022242 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-qmkshrobj") set(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS "-bundle") # Enable shared library versioning. set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-install_name") cmake-2.8.12.2/Modules/Platform/Darwin.cmake000644 000765 000024 00000035556 12266011634 021276 0ustar00kitwarestaff000000 000000 set(APPLE 1) # Darwin versions: # 6.x == Mac OSX 10.2 (Jaguar) # 7.x == Mac OSX 10.3 (Panther) # 8.x == Mac OSX 10.4 (Tiger) # 9.x == Mac OSX 10.5 (Leopard) # 10.x == Mac OSX 10.6 (Snow Leopard) # 11.x == Mac OSX 10.7 (Lion) # 12.x == Mac OSX 10.8 (Mountain Lion) string(REGEX REPLACE "^([0-9]+)\\.([0-9]+).*$" "\\1" DARWIN_MAJOR_VERSION "${CMAKE_SYSTEM_VERSION}") string(REGEX REPLACE "^([0-9]+)\\.([0-9]+).*$" "\\2" DARWIN_MINOR_VERSION "${CMAKE_SYSTEM_VERSION}") # Do not use the "-Wl,-search_paths_first" flag with the OSX 10.2 compiler. # Done this way because it is too early to do a TRY_COMPILE. if(NOT DEFINED HAVE_FLAG_SEARCH_PATHS_FIRST) set(HAVE_FLAG_SEARCH_PATHS_FIRST 0) if("${DARWIN_MAJOR_VERSION}" GREATER 6) set(HAVE_FLAG_SEARCH_PATHS_FIRST 1) endif() endif() # More desirable, but does not work: #include(CheckCXXCompilerFlag) #CHECK_CXX_COMPILER_FLAG("-Wl,-search_paths_first" HAVE_FLAG_SEARCH_PATHS_FIRST) set(CMAKE_SHARED_LIBRARY_PREFIX "lib") set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib") set(CMAKE_SHARED_MODULE_PREFIX "lib") set(CMAKE_SHARED_MODULE_SUFFIX ".so") set(CMAKE_MODULE_EXISTS 1) set(CMAKE_DL_LIBS "") # Enable rpath support for 10.5 and greater where it is known to work. if("${DARWIN_MAJOR_VERSION}" GREATER 8) set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") endif() set(CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ") set(CMAKE_C_OSX_CURRENT_VERSION_FLAG "-current_version ") set(CMAKE_CXX_OSX_COMPATIBILITY_VERSION_FLAG "${CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG}") set(CMAKE_CXX_OSX_CURRENT_VERSION_FLAG "${CMAKE_C_OSX_CURRENT_VERSION_FLAG}") set(CMAKE_C_LINK_FLAGS "-Wl,-headerpad_max_install_names") set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names") if(HAVE_FLAG_SEARCH_PATHS_FIRST) set(CMAKE_C_LINK_FLAGS "-Wl,-search_paths_first ${CMAKE_C_LINK_FLAGS}") set(CMAKE_CXX_LINK_FLAGS "-Wl,-search_paths_first ${CMAKE_CXX_LINK_FLAGS}") endif() set(CMAKE_PLATFORM_HAS_INSTALLNAME 1) set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names") set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -Wl,-headerpad_max_install_names") set(CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,") set(CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,") set(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a") # hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree # (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache # and still cmake didn't fail in CMakeFindBinUtils.cmake (because it isn't rerun) # hardcode CMAKE_INSTALL_NAME_TOOL here to install_name_tool, so it behaves as it did before, Alex if(NOT DEFINED CMAKE_INSTALL_NAME_TOOL) find_program(CMAKE_INSTALL_NAME_TOOL install_name_tool) mark_as_advanced(CMAKE_INSTALL_NAME_TOOL) endif() # Ask xcode-select where to find /Developer or fall back to ancient location. execute_process(COMMAND xcode-select -print-path OUTPUT_VARIABLE _stdout OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE _stderr RESULT_VARIABLE _failed) if(NOT _failed AND IS_DIRECTORY ${_stdout}) set(OSX_DEVELOPER_ROOT ${_stdout}) elseif(IS_DIRECTORY "/Developer") set(OSX_DEVELOPER_ROOT "/Developer") else() set(OSX_DEVELOPER_ROOT "") endif() execute_process(COMMAND sw_vers -productVersion OUTPUT_VARIABLE CURRENT_OSX_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) # Save CMAKE_OSX_ARCHITECTURES from the environment. set(CMAKE_OSX_ARCHITECTURES "$ENV{CMAKE_OSX_ARCHITECTURES}" CACHE STRING "Build architectures for OSX") #---------------------------------------------------------------------------- # _CURRENT_OSX_VERSION - as a two-component string: 10.5, 10.6, ... # string(REGEX REPLACE "^([0-9]+\\.[0-9]+).*$" "\\1" _CURRENT_OSX_VERSION "${CURRENT_OSX_VERSION}") #---------------------------------------------------------------------------- # CMAKE_OSX_DEPLOYMENT_TARGET # Set cache variable - end user may change this during ccmake or cmake-gui configure. if(_CURRENT_OSX_VERSION VERSION_GREATER 10.3) set(CMAKE_OSX_DEPLOYMENT_TARGET "$ENV{MACOSX_DEPLOYMENT_TARGET}" CACHE STRING "Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value.") endif() #---------------------------------------------------------------------------- # CMAKE_OSX_SYSROOT if(CMAKE_OSX_SYSROOT) # Use the existing value without further computation to choose a default. set(_CMAKE_OSX_SYSROOT_DEFAULT "${CMAKE_OSX_SYSROOT}") elseif(NOT "x$ENV{SDKROOT}" STREQUAL "x" AND (NOT "x$ENV{SDKROOT}" MATCHES "/" OR IS_DIRECTORY "$ENV{SDKROOT}")) # Use the value of SDKROOT from the environment. set(_CMAKE_OSX_SYSROOT_DEFAULT "$ENV{SDKROOT}") elseif("${CMAKE_GENERATOR}" MATCHES Xcode OR CMAKE_OSX_DEPLOYMENT_TARGET OR CMAKE_OSX_ARCHITECTURES MATCHES "[^;]" OR NOT EXISTS "/usr/include/sys/types.h") # Find installed SDKs in either Xcode-4.3+ or pre-4.3 SDKs directory. set(_CMAKE_OSX_SDKS_DIR "") if(OSX_DEVELOPER_ROOT) foreach(d Platforms/MacOSX.platform/Developer/SDKs SDKs) file(GLOB _CMAKE_OSX_SDKS ${OSX_DEVELOPER_ROOT}/${d}/*) if(_CMAKE_OSX_SDKS) set(_CMAKE_OSX_SDKS_DIR ${OSX_DEVELOPER_ROOT}/${d}) break() endif() endforeach() endif() if(_CMAKE_OSX_SDKS_DIR) # Select SDK for current OSX version accounting for the known # specially named SDKs. set(_CMAKE_OSX_SDKS_VER_SUFFIX_10.4 "u") set(_CMAKE_OSX_SDKS_VER_SUFFIX_10.3 ".9") if(CMAKE_OSX_DEPLOYMENT_TARGET) set(_CMAKE_OSX_SDKS_VER ${CMAKE_OSX_DEPLOYMENT_TARGET}${_CMAKE_OSX_SDKS_VER_SUFFIX_${CMAKE_OSX_DEPLOYMENT_TARGET}}) set(_CMAKE_OSX_SYSROOT_CHECK "${_CMAKE_OSX_SDKS_DIR}/MacOSX${_CMAKE_OSX_SDKS_VER}.sdk") if(IS_DIRECTORY "${_CMAKE_OSX_SYSROOT_CHECK}") set(_CMAKE_OSX_SYSROOT_DEFAULT "${_CMAKE_OSX_SYSROOT_CHECK}") else() set(_CMAKE_OSX_SDKS_VER ${_CURRENT_OSX_VERSION}${_CMAKE_OSX_SDKS_VER_SUFFIX_${_CURRENT_OSX_VERSION}}) set(_CMAKE_OSX_SYSROOT_DEFAULT "${_CMAKE_OSX_SDKS_DIR}/MacOSX${_CMAKE_OSX_SDKS_VER}.sdk") message(WARNING "CMAKE_OSX_DEPLOYMENT_TARGET is '${CMAKE_OSX_DEPLOYMENT_TARGET}' " "but the matching SDK does not exist at:\n \"${_CMAKE_OSX_SYSROOT_CHECK}\"\n" "Instead using SDK:\n \"${_CMAKE_OSX_SYSROOT_DEFAULT}\"\n" "matching the host OS X version." ) endif() else() set(_CMAKE_OSX_SDKS_VER ${_CURRENT_OSX_VERSION}${_CMAKE_OSX_SDKS_VER_SUFFIX_${_CURRENT_OSX_VERSION}}) set(_CMAKE_OSX_SYSROOT_DEFAULT "${_CMAKE_OSX_SDKS_DIR}/MacOSX${_CMAKE_OSX_SDKS_VER}.sdk") endif() else() # Assume developer files are in root (such as Xcode 4.5 command-line tools). set(_CMAKE_OSX_SYSROOT_DEFAULT "") endif() endif() # Set cache variable - end user may change this during ccmake or cmake-gui configure. # Choose the type based on the current value. set(_CMAKE_OSX_SYSROOT_TYPE STRING) foreach(v CMAKE_OSX_SYSROOT _CMAKE_OSX_SYSROOT_DEFAULT) if("x${${v}}" MATCHES "/") set(_CMAKE_OSX_SYSROOT_TYPE PATH) break() endif() endforeach() set(CMAKE_OSX_SYSROOT "${_CMAKE_OSX_SYSROOT_DEFAULT}" CACHE ${_CMAKE_OSX_SYSROOT_TYPE} "The product will be built against the headers and libraries located inside the indicated SDK.") # Transform the cached value to something we can use. set(_CMAKE_OSX_SYSROOT_ORIG "${CMAKE_OSX_SYSROOT}") set(_CMAKE_OSX_SYSROOT_PATH "") if(CMAKE_OSX_SYSROOT) if("x${CMAKE_OSX_SYSROOT}" MATCHES "/") # This is a path to the SDK. Make sure it exists. if(NOT IS_DIRECTORY "${CMAKE_OSX_SYSROOT}") message(WARNING "Ignoring CMAKE_OSX_SYSROOT value:\n ${CMAKE_OSX_SYSROOT}\n" "because the directory does not exist.") set(CMAKE_OSX_SYSROOT "") set(_CMAKE_OSX_SYSROOT_ORIG "") endif() set(_CMAKE_OSX_SYSROOT_PATH "${CMAKE_OSX_SYSROOT}") else() # Transform the sdk name into a path. execute_process( COMMAND xcodebuild -sdk ${CMAKE_OSX_SYSROOT} -version Path OUTPUT_VARIABLE _stdout OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE _stderr RESULT_VARIABLE _failed ) if(NOT _failed AND IS_DIRECTORY "${_stdout}") set(_CMAKE_OSX_SYSROOT_PATH "${_stdout}") # For non-Xcode generators use the path. if(NOT "${CMAKE_GENERATOR}" MATCHES "Xcode") set(CMAKE_OSX_SYSROOT "${_CMAKE_OSX_SYSROOT_PATH}") endif() endif() endif() endif() # Make sure the combination of SDK and Deployment Target are allowed if(CMAKE_OSX_DEPLOYMENT_TARGET) if("${_CMAKE_OSX_SYSROOT_PATH}" MATCHES "^.*/MacOSX([0-9]+\\.[0-9]+)[^/]*\\.sdk") set(_sdk_ver "${CMAKE_MATCH_1}") elseif("${_CMAKE_OSX_SYSROOT_ORIG}" MATCHES "^macosx([0-9]+\\.[0-9]+)$") set(_sdk_ver "${CMAKE_MATCH_1}") else() message(FATAL_ERROR "CMAKE_OSX_DEPLOYMENT_TARGET is '${CMAKE_OSX_DEPLOYMENT_TARGET}' " "but CMAKE_OSX_SYSROOT:\n \"${_CMAKE_OSX_SYSROOT_ORIG}\"\n" "is not set to a MacOSX SDK with a recognized version. " "Either set CMAKE_OSX_SYSROOT to a valid SDK or set " "CMAKE_OSX_DEPLOYMENT_TARGET to empty.") endif() if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER "${_sdk_ver}") message(FATAL_ERROR "CMAKE_OSX_DEPLOYMENT_TARGET (${CMAKE_OSX_DEPLOYMENT_TARGET}) " "is greater than CMAKE_OSX_SYSROOT SDK:\n ${_CMAKE_OSX_SYSROOT_ORIG}\n" "Please set CMAKE_OSX_DEPLOYMENT_TARGET to ${_sdk_ver} or lower.") endif() endif() if("${CMAKE_BACKWARDS_COMPATIBILITY}" MATCHES "^1\\.[0-6]$") set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -flat_namespace -undefined suppress") endif() # Enable shared library versioning. set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name") # Xcode does not support -isystem yet. if(XCODE) set(CMAKE_INCLUDE_SYSTEM_FLAG_C) set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX) endif() if("${_CURRENT_OSX_VERSION}" VERSION_LESS "10.5") # Need to list dependent shared libraries on link line. When building # with -isysroot (for universal binaries), the linker always looks for # dependent libraries under the sysroot. Listing them on the link # line works around the problem. set(CMAKE_LINK_DEPENDENT_LIBRARY_FILES 1) endif() set(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) set(CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) set(CMAKE_C_CREATE_SHARED_LIBRARY " -o ") set(CMAKE_CXX_CREATE_SHARED_LIBRARY " -o ") set(CMAKE_Fortran_CREATE_SHARED_LIBRARY " -o ") set(CMAKE_CXX_CREATE_SHARED_MODULE " -o ") set(CMAKE_C_CREATE_SHARED_MODULE " -o ") set(CMAKE_Fortran_CREATE_SHARED_MODULE " -o ") set(CMAKE_C_CREATE_MACOSX_FRAMEWORK " -o ") set(CMAKE_CXX_CREATE_MACOSX_FRAMEWORK " -o ") # default to searching for frameworks first if(NOT DEFINED CMAKE_FIND_FRAMEWORK) set(CMAKE_FIND_FRAMEWORK FIRST) endif() # Older OS X linkers do not report their framework search path # with -v but "man ld" documents the following locations. set(CMAKE_PLATFORM_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES ${_CMAKE_OSX_SYSROOT_PATH}/Library/Frameworks ${_CMAKE_OSX_SYSROOT_PATH}/System/Library/Frameworks ) if(_CMAKE_OSX_SYSROOT_PATH) # Treat some paths as implicit so we do not override the SDK versions. list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES /System/Library/Frameworks) endif() if("${_CURRENT_OSX_VERSION}" VERSION_LESS "10.5") # Older OS X tools had more implicit paths. list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES ${_CMAKE_OSX_SYSROOT_PATH}/Network/Library/Frameworks) endif() # set up the default search directories for frameworks set(CMAKE_SYSTEM_FRAMEWORK_PATH ~/Library/Frameworks ) if(_CMAKE_OSX_SYSROOT_PATH) list(APPEND CMAKE_SYSTEM_FRAMEWORK_PATH ${_CMAKE_OSX_SYSROOT_PATH}/Library/Frameworks ${_CMAKE_OSX_SYSROOT_PATH}/Network/Library/Frameworks ${_CMAKE_OSX_SYSROOT_PATH}/System/Library/Frameworks ) endif() list(APPEND CMAKE_SYSTEM_FRAMEWORK_PATH /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks) # Warn about known system mis-configuration case. if(CMAKE_OSX_SYSROOT) get_property(_IN_TC GLOBAL PROPERTY IN_TRY_COMPILE) if(NOT _IN_TC AND NOT IS_SYMLINK "${CMAKE_OSX_SYSROOT}/Library/Frameworks" AND IS_SYMLINK "${CMAKE_OSX_SYSROOT}/Library/Frameworks/Frameworks") message(WARNING "The SDK Library/Frameworks path\n" " ${CMAKE_OSX_SYSROOT}/Library/Frameworks\n" "is not set up correctly on this system. " "This is known to occur when installing Xcode 3.2.6:\n" " http://bugs.python.org/issue14018\n" "The problem may cause build errors that report missing system frameworks. " "Fix your SDK symlinks to resolve this issue and avoid this warning." ) endif() endif() # default to searching for application bundles first if(NOT DEFINED CMAKE_FIND_APPBUNDLE) set(CMAKE_FIND_APPBUNDLE FIRST) endif() # set up the default search directories for application bundles set(_apps_paths) foreach(_path "~/Applications" "/Applications" "${OSX_DEVELOPER_ROOT}/../Applications" # Xcode 4.3+ "${OSX_DEVELOPER_ROOT}/Applications" # pre-4.3 ) get_filename_component(_apps "${_path}" ABSOLUTE) if(EXISTS "${_apps}") list(APPEND _apps_paths "${_apps}") endif() endforeach() list(REMOVE_DUPLICATES _apps_paths) set(CMAKE_SYSTEM_APPBUNDLE_PATH ${_apps_paths}) unset(_apps_paths) include(Platform/UnixPaths) if(_CMAKE_OSX_SYSROOT_PATH AND EXISTS ${_CMAKE_OSX_SYSROOT_PATH}/usr/include) list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${_CMAKE_OSX_SYSROOT_PATH}/usr) foreach(lang C CXX) list(APPEND CMAKE_${lang}_IMPLICIT_INCLUDE_DIRECTORIES ${_CMAKE_OSX_SYSROOT_PATH}/usr/include) endforeach() endif() list(APPEND CMAKE_SYSTEM_PREFIX_PATH /sw # Fink /opt/local # MacPorts ) cmake-2.8.12.2/Modules/Platform/DragonFly.cmake000644 000765 000024 00000000302 12266011634 021714 0ustar00kitwarestaff000000 000000 # DragonFly BSD was forked from FreeBSD and is still very close to it # http://www.dragonflybsd.org # see http://archive.netbsd.se/?ml=dfbsd-users&a=2007-07&m=4678361 include(Platform/FreeBSD) cmake-2.8.12.2/Modules/Platform/eCos.cmake000644 000765 000024 00000005273 12266011634 020734 0ustar00kitwarestaff000000 000000 # support for eCos http://ecos.sourceware.org # Guard against multiple inclusion, which e.g. leads to multiple calls to add_definition() #12987 if(__ECOS_CMAKE_INCLUDED) return() endif() set(__ECOS_CMAKE_INCLUDED TRUE) set(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty set(CMAKE_LINK_LIBRARY_SUFFIX "") set(CMAKE_STATIC_LIBRARY_PREFIX "lib") set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") set(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".a") # .a set(CMAKE_EXECUTABLE_SUFFIX ".elf") # same suffix as if built using UseEcos.cmake set(CMAKE_DL_LIBS "" ) set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") include(Platform/UnixPaths) # eCos can be built only with gcc get_property(_IN_TC GLOBAL PROPERTY IN_TRY_COMPILE) if(CMAKE_C_COMPILER AND NOT "${CMAKE_C_COMPILER_ID}" MATCHES "GNU" AND NOT _IN_TC) message(FATAL_ERROR "GNU gcc is required for eCos") endif() if(CMAKE_CXX_COMPILER AND NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" AND NOT _IN_TC) message(FATAL_ERROR "GNU g++ is required for eCos") endif() # find eCos system files find_path(ECOS_SYSTEM_CONFIG_HEADER_PATH NAMES pkgconf/system.h) find_library(ECOS_SYSTEM_TARGET_LIBRARY NAMES libtarget.a) if(NOT ECOS_SYSTEM_CONFIG_HEADER_PATH) message(FATAL_ERROR "Could not find eCos pkgconf/system.h. Build eCos first and set up CMAKE_FIND_ROOT_PATH correctly.") endif() if(NOT ECOS_SYSTEM_TARGET_LIBRARY) message(FATAL_ERROR "Could not find eCos \"libtarget.a\". Build eCos first and set up CMAKE_FIND_ROOT_PATH correctly.") endif() get_filename_component(ECOS_LIBTARGET_DIRECTORY "${ECOS_SYSTEM_TARGET_LIBRARY}" PATH) include_directories(${ECOS_SYSTEM_CONFIG_HEADER_PATH}) add_definitions(-D__ECOS__=1 -D__ECOS=1) # special link commands for eCos executables set(CMAKE_CXX_LINK_EXECUTABLE " -o -nostdlib -nostartfiles -L${ECOS_LIBTARGET_DIRECTORY} -Ttarget.ld ") set(CMAKE_C_LINK_EXECUTABLE " -o -nostdlib -nostartfiles -L${ECOS_LIBTARGET_DIRECTORY} -Ttarget.ld ") # eCos doesn't support shared libs set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) set(CMAKE_CXX_LINK_SHARED_LIBRARY ) set(CMAKE_CXX_LINK_MODULE_LIBRARY ) set(CMAKE_C_LINK_SHARED_LIBRARY ) set(CMAKE_C_LINK_MODULE_LIBRARY ) cmake-2.8.12.2/Modules/Platform/FreeBSD.cmake000644 000765 000024 00000002274 12266011634 021253 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "") set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") # : or empty set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") # Shared libraries with no builtin soname may not be linked safely by # specifying the file path. set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/gas.cmake000644 000765 000024 00000001224 12266011634 020605 0ustar00kitwarestaff000000 000000 if(UNIX) set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .o) else() set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .obj) endif() set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT " -o ") set(CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY " cr " " ") set(CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE " -o ") # to be done set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_LIBRARY) set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_MODULE) cmake-2.8.12.2/Modules/Platform/Generic-ADSP-ASM.cmake000644 000765 000024 00000000431 12266011634 022551 0ustar00kitwarestaff000000 000000 include(Platform/Generic-ADSP-Common) set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm) set(CMAKE_ASM_OUTPUT_EXTENSION ".doj" ) set(CMAKE_ASM_COMPILE_OBJECT " -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -o ") cmake-2.8.12.2/Modules/Platform/Generic-ADSP-C.cmake000644 000765 000024 00000001161 12266011634 022314 0ustar00kitwarestaff000000 000000 include(Platform/Generic-ADSP-Common) set(CMAKE_C_OUTPUT_EXTENSION ".doj") set(CMAKE_C_FLAGS_DEBUG_INIT "-g") set(CMAKE_C_FLAGS_MINSIZEREL_INIT "") set(CMAKE_C_FLAGS_RELEASE_INIT "") set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "") set(CMAKE_C_CREATE_STATIC_LIBRARY " -build-lib -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -o ") set(CMAKE_C_LINK_EXECUTABLE " -o ") set(CMAKE_C_CREATE_SHARED_LIBRARY) set(CMAKE_C_CREATE_MODULE_LIBRARY) cmake-2.8.12.2/Modules/Platform/Generic-ADSP-Common.cmake000644 000765 000024 00000010055 12266011634 023364 0ustar00kitwarestaff000000 000000 # support for the Analog Devices toolchain for their DSPs # Raphael Cotty" # # it supports three architectures: # Blackfin # TS (TigerShark) # 21k (Sharc 21xxx) if(NOT ADSP) set(ADSP TRUE) set(CMAKE_STATIC_LIBRARY_SUFFIX ".dlb") set(CMAKE_SHARED_LIBRARY_SUFFIX "") set(CMAKE_EXECUTABLE_SUFFIX ".dxe") # if ADSP_PROCESSOR has not been set, but CMAKE_SYSTEM_PROCESSOR has, # assume that this is the processor name to use for the compiler if(CMAKE_SYSTEM_PROCESSOR AND NOT ADSP_PROCESSOR) set(ADSP_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) endif() # if ADSP_PROCESSOR_SILICIUM_REVISION has not been set, use "none" if(NOT ADSP_PROCESSOR_SILICIUM_REVISION) set(ADSP_PROCESSOR_SILICIUM_REVISION "none") endif() # this file is included from the C and CXX files, so handle both here get_filename_component(_ADSP_DIR "${CMAKE_C_COMPILER}" PATH) if(NOT _ADSP_DIR) get_filename_component(_ADSP_DIR "${CMAKE_CXX_COMPILER}" PATH) endif() if(NOT _ADSP_DIR) get_filename_component(_ADSP_DIR "${CMAKE_ASM_COMPILER}" PATH) endif() # detect architecture if(CMAKE_C_COMPILER MATCHES ccblkfn OR CMAKE_CXX_COMPILER MATCHES ccblkfn OR CMAKE_ASM_COMPILER MATCHES easmBLKFN) if(NOT ADSP_PROCESSOR) set(ADSP_PROCESSOR "ADSP-BF561") endif() set(ADSP_BLACKFIN TRUE) set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/Blackfin") endif() if(CMAKE_C_COMPILER MATCHES ccts OR CMAKE_CXX_COMPILER MATCHES ccts OR CMAKE_ASM_COMPILER MATCHES easmTS) if(NOT ADSP_PROCESSOR) set(ADSP_PROCESSOR "ADSP-TS101") endif() set(ADSP_TS TRUE) set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/TS") endif() if(CMAKE_C_COMPILER MATCHES cc21k OR CMAKE_CXX_COMPILER MATCHES cc21k OR CMAKE_ASM_COMPILER MATCHES easm21k) if(NOT ADSP_PROCESSOR) set(ADSP_PROCESSOR "ADSP-21060") endif() set(ADSP_21K TRUE) set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/21k") # default if nothing matches if (ADSP_PROCESSOR MATCHES "210..$") set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/21k") endif() if (ADSP_PROCESSOR MATCHES "211..$") set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/211k") endif() if (ADSP_PROCESSOR MATCHES "212..$") set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/212k") endif() if (ADSP_PROCESSOR MATCHES "213..$") set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/213k") endif() set(_ADSP_FAMILY_DIR "${_ADSP_DIR}/21k") endif() link_directories("${_ADSP_FAMILY_DIR}/lib") # vdk support find_program( ADSP_VDKGEN_EXECUTABLE vdkgen "${_ADSP_FAMILY_DIR}/vdk" ) macro(ADSP_GENERATE_VDK VDK_GENERATED_HEADER VDK_GENERATED_SOURCE VDK_KERNEL_SUPPORT_FILE) add_custom_command( OUTPUT ${VDK_GENERATED_HEADER} ${VDK_GENERATED_SOURCE} COMMAND ${ADSP_VDKGEN_EXECUTABLE} ${VDK_KERNEL_SUPPORT_FILE} -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -MM DEPENDS ${VDK_KERNEL_SUPPORT_FILE} ) endmacro() # loader support find_program( ADSP_ELFLOADER_EXECUTABLE elfloader "${_ADSP_FAMILY_DIR}" ) # BOOT_MODE: prom, flash, spi, spislave, UART, TWI, FIFO # FORMAT: hex, ASCII, binary, include # WIDTH: 8, 16 macro(ADSP_CREATE_LOADER_FILE TARGET_NAME BOOT_MODE FORMAT WIDTH) add_custom_command( TARGET ${TARGET_NAME} POST_BUILD COMMAND ${ADSP_ELFLOADER_EXECUTABLE} ${EXECUTABLE_OUTPUT_PATH}/${TARGET_NAME}.dxe -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -b ${BOOT_MODE} -f ${FORMAT} -width ${WIDTH} -o ${EXECUTABLE_OUTPUT_PATH}/${TARGET_NAME}.ldr COMMENT "Building the loader file" ) endmacro() macro(ADSP_CREATE_LOADER_FILE_INIT TARGET_NAME BOOT_MODE FORMAT WIDTH INITIALIZATION_FILE) add_custom_command( TARGET ${TARGET_NAME} POST_BUILD COMMAND ${ADSP_ELFLOADER_EXECUTABLE} ${EXECUTABLE_OUTPUT_PATH}/${TARGET_NAME}.dxe -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -b ${BOOT_MODE} -f ${FORMAT} -width ${WIDTH} -o ${EXECUTABLE_OUTPUT_PATH}/${TARGET_NAME}.ldr -init ${INITIALIZATION_FILE} COMMENT "Building the loader file" ) endmacro() endif() cmake-2.8.12.2/Modules/Platform/Generic-ADSP-CXX.cmake000644 000765 000024 00000001213 12266011634 022572 0ustar00kitwarestaff000000 000000 include(Platform/Generic-ADSP-Common) set(CMAKE_CXX_OUTPUT_EXTENSION ".doj") set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "") set(CMAKE_CXX_FLAGS_RELEASE_INIT "") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "") set(CMAKE_CXX_CREATE_STATIC_LIBRARY " -build-lib -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -o ") set(CMAKE_CXX_LINK_EXECUTABLE " -o ") set(CMAKE_CXX_CREATE_SHARED_LIBRARY) set(CMAKE_CXX_CREATE_MODULE_LIBRARY) cmake-2.8.12.2/Modules/Platform/Generic-SDCC-C.cmake000644 000765 000024 00000004225 12266011634 022305 0ustar00kitwarestaff000000 000000 # This file implements basic support for sdcc (http://sdcc.sourceforge.net/) # a free C compiler for 8 and 16 bit microcontrollers. # To use it either a toolchain file is required or cmake has to be run like this: # cmake -DCMAKE_C_COMPILER=sdcc -DCMAKE_SYSTEM_NAME=Generic # Since sdcc doesn't support C++, C++ support should be disabled in the # CMakeLists.txt using the project() command: # project(my_project C) set(CMAKE_STATIC_LIBRARY_PREFIX "") set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib") set(CMAKE_SHARED_LIBRARY_PREFIX "") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".lib") # .so set(CMAKE_IMPORT_LIBRARY_PREFIX ) set(CMAKE_IMPORT_LIBRARY_SUFFIX ) set(CMAKE_EXECUTABLE_SUFFIX ".ihx") # intel hex file set(CMAKE_LINK_LIBRARY_SUFFIX ".lib") set(CMAKE_DL_LIBS "") set(CMAKE_C_OUTPUT_EXTENSION ".rel") # find sdcclib as CMAKE_AR # since cmake may already have searched for "ar", sdcclib has to # be searched with a different variable name (SDCCLIB_EXECUTABLE) # and must then be forced into the cache get_filename_component(SDCC_LOCATION "${CMAKE_C_COMPILER}" PATH) find_program(SDCCLIB_EXECUTABLE sdcclib PATHS "${SDCC_LOCATION}" NO_DEFAULT_PATH) find_program(SDCCLIB_EXECUTABLE sdcclib) set(CMAKE_AR "${SDCCLIB_EXECUTABLE}" CACHE FILEPATH "The sdcc librarian" FORCE) # CMAKE_C_FLAGS_INIT and CMAKE_EXE_LINKER_FLAGS_INIT should be set in a CMAKE_SYSTEM_PROCESSOR file if(NOT DEFINED CMAKE_C_FLAGS_INIT) set(CMAKE_C_FLAGS_INIT "-mmcs51 --model-small") endif() if(NOT DEFINED CMAKE_EXE_LINKER_FLAGS_INIT) set (CMAKE_EXE_LINKER_FLAGS_INIT --model-small) endif() # compile a C file into an object file set(CMAKE_C_COMPILE_OBJECT " -o -c ") # link object files to an executable set(CMAKE_C_LINK_EXECUTABLE " --out-fmt-ihx -o ") # needs sdcc 2.7.0 + sddclib from cvs set(CMAKE_C_CREATE_STATIC_LIBRARY "\"${CMAKE_COMMAND}\" -E remove " " -a ") # not supported by sdcc set(CMAKE_C_CREATE_SHARED_LIBRARY "") set(CMAKE_C_CREATE_MODULE_LIBRARY "") cmake-2.8.12.2/Modules/Platform/Generic.cmake000644 000765 000024 00000001473 12266011634 021415 0ustar00kitwarestaff000000 000000 # This is a platform definition file for platforms without # operating system, typically embedded platforms. # It is used when CMAKE_SYSTEM_NAME is set to "Generic" # # It is intentionally empty, since nothing is known # about the platform. So everything has to be specified # in the system/compiler files ${CMAKE_SYSTEM_NAME}-.cmake # and/or ${CMAKE_SYSTEM_NAME}--${CMAKE_SYSTEM_PROCESSOR}.cmake # (embedded) targets without operating system usually don't support shared libraries set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) # To help the find_xxx() commands, set at least the following so CMAKE_FIND_ROOT_PATH # works at least for some simple cases: set(CMAKE_SYSTEM_INCLUDE_PATH /include ) set(CMAKE_SYSTEM_LIBRARY_PATH /lib ) set(CMAKE_SYSTEM_PROGRAM_PATH /bin ) cmake-2.8.12.2/Modules/Platform/GNU.cmake000644 000765 000024 00000001040 12266011634 020460 0ustar00kitwarestaff000000 000000 # GCC is the default compiler on GNU/Hurd. set(CMAKE_DL_LIBS "dl") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-gnu[a-z0-9_]*") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/GNUtoMS_lib.bat.in000644 000765 000024 00000000117 12266011634 022210 0ustar00kitwarestaff000000 000000 @echo off call "@CMAKE_GNUtoMS_BAT@" lib /machine:"@CMAKE_GNUtoMS_ARCH@" %* cmake-2.8.12.2/Modules/Platform/GNUtoMS_lib.cmake000644 000765 000024 00000000577 12266011634 022127 0ustar00kitwarestaff000000 000000 # Usage: cmake -Dlib=lib.bat -Ddef=out.def -Ddll=out.dll -Dimp=out.dll.a -P GNUtoMS_lib.cmake get_filename_component(name ${dll} NAME) # .dll file name string(REGEX REPLACE "\\.dll\\.a$" ".lib" out "${imp}") # .dll.a -> .lib execute_process( COMMAND ${lib} /def:${def} /name:${name} /out:${out} RESULT_VARIABLE res ) if(res) message(FATAL_ERROR "lib failed: ${res}") endif() cmake-2.8.12.2/Modules/Platform/Haiku.cmake000644 000765 000024 00000001761 12266011634 021102 0ustar00kitwarestaff000000 000000 set(BEOS 1) set(CMAKE_DL_LIBS root be) set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-nostart") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") include(Platform/UnixPaths) list(APPEND CMAKE_SYSTEM_PREFIX_PATH /boot/common) list(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/common/include) list(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/common/lib) list(APPEND CMAKE_SYSTEM_PROGRAM_PATH /boot/common/bin) list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES /boot/common/lib) list(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/develop/headers/3rdparty) list(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/develop/lib/x86) if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set(CMAKE_INSTALL_PREFIX "/boot/common" CACHE PATH "Install path prefix, prepended onto install directories." FORCE) endif() cmake-2.8.12.2/Modules/Platform/HP-UX-GNU-C.cmake000644 000765 000024 00000000063 12266011634 021503 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-GNU) __hpux_compiler_gnu(C) cmake-2.8.12.2/Modules/Platform/HP-UX-GNU-CXX.cmake000644 000765 000024 00000000065 12266011634 021765 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-GNU) __hpux_compiler_gnu(CXX) cmake-2.8.12.2/Modules/Platform/HP-UX-GNU-Fortran.cmake000644 000765 000024 00000000071 12266011634 022733 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-GNU) __hpux_compiler_gnu(Fortran) cmake-2.8.12.2/Modules/Platform/HP-UX-GNU.cmake000644 000765 000024 00000002210 12266011634 021317 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__HPUX_COMPILER_GNU) return() endif() set(__HPUX_COMPILER_GNU 1) macro(__hpux_compiler_gnu lang) set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,-E,-b,+nodefaultrpath") set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,+s,-E,+nodefaultrpath") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,+b") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,+h") endmacro() cmake-2.8.12.2/Modules/Platform/HP-UX-HP-ASM.cmake000644 000765 000024 00000000063 12266011634 021617 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-HP) __hpux_compiler_hp(ASM) cmake-2.8.12.2/Modules/Platform/HP-UX-HP-C.cmake000644 000765 000024 00000000566 12266011634 021371 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-HP) __hpux_compiler_hp(C) set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S -o ") set(CMAKE_C_COMPILE_OBJECT " -Aa -Ae -o -c ") cmake-2.8.12.2/Modules/Platform/HP-UX-HP-CXX.cmake000644 000765 000024 00000001113 12266011634 021636 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-HP) __hpux_compiler_hp(CXX) set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S " "mv `basename \"\" | sed 's/\\.[^./]*$$//'`.s " "rm -f `basename \"\" | sed 's/\\.[^./]*$$//'`.o" ) set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "+O3 -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE_INIT "+O2 -DNDEBUG") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-g") cmake-2.8.12.2/Modules/Platform/HP-UX-HP-Fortran.cmake000644 000765 000024 00000000067 12266011634 022616 0ustar00kitwarestaff000000 000000 include(Platform/HP-UX-HP) __hpux_compiler_hp(Fortran) cmake-2.8.12.2/Modules/Platform/HP-UX-HP.cmake000644 000765 000024 00000002344 12266011634 021205 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__HPUX_COMPILER_HP) return() endif() set(__HPUX_COMPILER_HP 1) macro(__hpux_compiler_hp lang) set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "+Z") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "+Z") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-Wl,-E,+nodefaultrpath -b -L/usr/lib") set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,+s,-E,+nodefaultrpath") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,+b") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,+h") set(CMAKE_${lang}_FLAGS_INIT "") endmacro() cmake-2.8.12.2/Modules/Platform/HP-UX.cmake000644 000765 000024 00000004252 12266011634 020700 0ustar00kitwarestaff000000 000000 set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH /usr/lib) set(CMAKE_SHARED_LIBRARY_SUFFIX ".sl") # .so set(CMAKE_DL_LIBS "dld") set(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a") set(CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES ".so") # The HP linker needs to find transitive shared library dependencies # in the -L path. Therefore the runtime path must be added to the # link line with -L flags. set(CMAKE_SHARED_LIBRARY_LINK_C_WITH_RUNTIME_PATH 1) set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) # Shared libraries with no builtin soname may not be linked safely by # specifying the file path. set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) # set flags for gcc support include(Platform/UnixPaths) # Look in both 32-bit and 64-bit implict link directories, but tell # CMake not to pass the paths to the linker. The linker will find the # library for the proper architecture. In the future we should detect # which path will be used by the linker. Since the pointer type size # CMAKE_SIZEOF_VOID_P is not set until after this file executes, we # would need to append to CMAKE_SYSTEM_LIBRARY_PATH at a later point # (after CMakeTest(LANG)Compiler.cmake runs for at least one language). list(APPEND CMAKE_SYSTEM_LIBRARY_PATH /usr/lib/hpux32) list(APPEND CMAKE_SYSTEM_LIBRARY_PATH /usr/lib/hpux64) list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES /usr/lib/hpux32 /usr/lib/hpux64) # Initialize C and CXX link type selection flags. These flags are # used when building a shared library, shared module, or executable # that links to other libraries to select whether to use the static or # shared versions of the libraries. Note that C modules and shared # libs are built using ld directly so we leave off the "-Wl," portion. foreach(type SHARED_LIBRARY SHARED_MODULE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-a archive") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-a default") endforeach() foreach(type EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-a,archive") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-a,default") endforeach() foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_CXX_FLAGS "-Wl,-a,archive") set(CMAKE_${type}_LINK_DYNAMIC_CXX_FLAGS "-Wl,-a,default") endforeach() cmake-2.8.12.2/Modules/Platform/IRIX.cmake000644 000765 000024 00000003471 12266011634 020614 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -rdata_shared") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty if(NOT CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_CREATE_STATIC_LIBRARY " -ar -o ") set (CMAKE_CXX_FLAGS_INIT "") set (CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2") set (CMAKE_C_FLAGS_INIT "") endif() # set flags for gcc support include(Platform/UnixPaths) if(NOT CMAKE_COMPILER_IS_GNUCC) set (CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") set (CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S " "mv `basename \"\" | sed 's/\\.[^./]*$$//'`.s " ) endif() if(NOT CMAKE_COMPILER_IS_GNUCXX) set (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") set (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S " "mv `basename \"\" | sed 's/\\.[^./]*$$//'`.s " ) endif() # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() # The IRIX linker needs to find transitive shared library dependencies # in the -L path. set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) cmake-2.8.12.2/Modules/Platform/IRIX64.cmake000644 000765 000024 00000005607 12266011634 020771 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -rdata_shared") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") if(NOT CMAKE_COMPILER_IS_GNUCC) # Set default flags init. set(CMAKE_C_FLAGS_INIT "") set(CMAKE_CXX_FLAGS_INIT "") set(CMAKE_Fortran_FLAGS_INIT "") set(CMAKE_EXE_LINKER_FLAGS_INIT "") set(CMAKE_SHARED_LINKER_FLAGS_INIT "") set(CMAKE_MODULE_LINKER_FLAGS_INIT "") # If no -o32, -n32, or -64 flag is given, set a reasonable default. if("$ENV{CFLAGS} $ENV{CXXFLAGS} $ENV{LDFLAGS}" MATCHES "-([no]32|64)") else() # Check if this is a 64-bit CMake. if(CMAKE_FILE_SELF MATCHES "^CMAKE_FILE_SELF$") exec_program(file ARGS ${CMAKE_COMMAND} OUTPUT_VARIABLE CMAKE_FILE_SELF) set(CMAKE_FILE_SELF "${CMAKE_FILE_SELF}" CACHE INTERNAL "Output of file command on ${CMAKE_COMMAND}.") endif() # Set initial flags to match cmake executable. if(CMAKE_FILE_SELF MATCHES " 64-bit ") set(CMAKE_C_FLAGS_INIT "-64") set(CMAKE_CXX_FLAGS_INIT "-64") set(CMAKE_Fortran_FLAGS_INIT "-64") set(CMAKE_EXE_LINKER_FLAGS_INIT "-64") set(CMAKE_SHARED_LINKER_FLAGS_INIT "-64") set(CMAKE_MODULE_LINKER_FLAGS_INIT "-64") endif() endif() # Set remaining defaults. set(CMAKE_CXX_CREATE_STATIC_LIBRARY " -ar -o ") set (CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2") endif() include(Platform/UnixPaths) if(NOT CMAKE_COMPILER_IS_GNUCC) set (CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") set (CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S " "mv `basename \"\" | sed 's/\\.[^./]*$$//'`.s " ) endif() if(NOT CMAKE_COMPILER_IS_GNUCXX) set (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") set (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S " "mv `basename \"\" | sed 's/\\.[^./]*$$//'`.s " ) endif() # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() # The IRIX linker needs to find transitive shared library dependencies # in the -L path. set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) cmake-2.8.12.2/Modules/Platform/kFreeBSD.cmake000644 000765 000024 00000000223 12266011634 021416 0ustar00kitwarestaff000000 000000 # kFreeBSD looks just like Linux. include(Platform/Linux) set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*") cmake-2.8.12.2/Modules/Platform/Linux-Absoft-Fortran.cmake000644 000765 000024 00000000103 12266011634 023752 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_VERBOSE_FLAG "-X -v") # Runs gcc under the hood. cmake-2.8.12.2/Modules/Platform/Linux-Clang-C.cmake000644 000765 000024 00000000036 12266011634 022334 0ustar00kitwarestaff000000 000000 include(Platform/Linux-GNU-C) cmake-2.8.12.2/Modules/Platform/Linux-Clang-CXX.cmake000644 000765 000024 00000000040 12266011634 022607 0ustar00kitwarestaff000000 000000 include(Platform/Linux-GNU-CXX) cmake-2.8.12.2/Modules/Platform/Linux-como.cmake000644 000765 000024 00000001330 12266011634 022063 0ustar00kitwarestaff000000 000000 # create a shared C++ library set(CMAKE_CXX_CREATE_SHARED_LIBRARY " --prelink_objects " " -o ") # create a C++ static library set(CMAKE_CXX_CREATE_STATIC_LIBRARY " --prelink_objects " " cr " " ") set(CMAKE_CXX_LINK_EXECUTABLE " --prelink_objects " " -o ") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") set(CMAKE_SHARED_LIBRARY_C_FLAGS "") cmake-2.8.12.2/Modules/Platform/Linux-CXX.cmake000644 000765 000024 00000000115 12266011634 021570 0ustar00kitwarestaff000000 000000 if(NOT CMAKE_CXX_COMPILER_NAMES) set(CMAKE_CXX_COMPILER_NAMES c++) endif() cmake-2.8.12.2/Modules/Platform/Linux-GNU-C.cmake000644 000765 000024 00000000064 12266011634 021742 0ustar00kitwarestaff000000 000000 include(Platform/Linux-GNU) __linux_compiler_gnu(C) cmake-2.8.12.2/Modules/Platform/Linux-GNU-CXX.cmake000644 000765 000024 00000000066 12266011634 022224 0ustar00kitwarestaff000000 000000 include(Platform/Linux-GNU) __linux_compiler_gnu(CXX) cmake-2.8.12.2/Modules/Platform/Linux-GNU-Fortran.cmake000644 000765 000024 00000000072 12266011634 023172 0ustar00kitwarestaff000000 000000 include(Platform/Linux-GNU) __linux_compiler_gnu(Fortran) cmake-2.8.12.2/Modules/Platform/Linux-GNU.cmake000644 000765 000024 00000001713 12266011634 021564 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__LINUX_COMPILER_GNU) return() endif() set(__LINUX_COMPILER_GNU 1) macro(__linux_compiler_gnu lang) # We pass this for historical reasons. Projects may have # executables that use dlopen but do not set ENABLE_EXPORTS. set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-rdynamic") endmacro() cmake-2.8.12.2/Modules/Platform/Linux-Intel-C.cmake000644 000765 000024 00000000070 12266011634 022361 0ustar00kitwarestaff000000 000000 include(Platform/Linux-Intel) __linux_compiler_intel(C) cmake-2.8.12.2/Modules/Platform/Linux-Intel-CXX.cmake000644 000765 000024 00000000072 12266011634 022643 0ustar00kitwarestaff000000 000000 include(Platform/Linux-Intel) __linux_compiler_intel(CXX) cmake-2.8.12.2/Modules/Platform/Linux-Intel-Fortran.cmake000644 000765 000024 00000000355 12266011634 023620 0ustar00kitwarestaff000000 000000 include(Platform/Linux-Intel) __linux_compiler_intel(Fortran) set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS} -i_dynamic -nofor_main") set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic") cmake-2.8.12.2/Modules/Platform/Linux-Intel.cmake000644 000765 000024 00000003360 12266011634 022206 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__LINUX_COMPILER_INTEL) return() endif() set(__LINUX_COMPILER_INTEL 1) if(NOT XIAR) set(_intel_xiar_hints) foreach(lang C CXX Fortran) if(IS_ABSOLUTE "${CMAKE_${lang}_COMPILER}") get_filename_component(_hint "${CMAKE_${lang}_COMPILER}" PATH) list(APPEND _intel_xiar_hints ${_hint}) endif() endforeach() find_program(XIAR NAMES xiar HINTS ${_intel_xiar_hints}) mark_as_advanced(XIAR) endif() macro(__linux_compiler_intel lang) set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared") # We pass this for historical reasons. Projects may have # executables that use dlopen but do not set ENABLE_EXPORTS. set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-rdynamic") if(XIAR) # INTERPROCEDURAL_OPTIMIZATION set(CMAKE_${lang}_COMPILE_OPTIONS_IPO -ipo) set(CMAKE_${lang}_CREATE_STATIC_LIBRARY_IPO "${XIAR} cr " "${XIAR} -s ") endif() endmacro() cmake-2.8.12.2/Modules/Platform/Linux-NAG-Fortran.cmake000644 000765 000024 00000001124 12266011634 023145 0ustar00kitwarestaff000000 000000 set(CMAKE_Fortran_VERBOSE_FLAG "-Wl,-v") # Runs gcc under the hood. # Need one "-Wl," level to send flag through to gcc. # Use "-Xlinker" to get through gcc to real linker. set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-Wl,-shared") set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-Wl,-Xlinker,-rpath,-Xlinker,") set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Fortran_FLAG "-Wl,-Xlinker,-rpath-link,-Xlinker,") set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-Xlinker,-soname,-Xlinker,") set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-Wl,-rdynamic") cmake-2.8.12.2/Modules/Platform/Linux-PathScale-C.cmake000644 000765 000024 00000000100 12266011634 023144 0ustar00kitwarestaff000000 000000 include(Platform/Linux-PathScale) __linux_compiler_pathscale(C) cmake-2.8.12.2/Modules/Platform/Linux-PathScale-CXX.cmake000644 000765 000024 00000000102 12266011634 023426 0ustar00kitwarestaff000000 000000 include(Platform/Linux-PathScale) __linux_compiler_pathscale(CXX) cmake-2.8.12.2/Modules/Platform/Linux-PathScale-Fortran.cmake000644 000765 000024 00000000106 12266011634 024403 0ustar00kitwarestaff000000 000000 include(Platform/Linux-PathScale) __linux_compiler_pathscale(Fortran) cmake-2.8.12.2/Modules/Platform/Linux-PathScale.cmake000644 000765 000024 00000002046 12266011634 022777 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__LINUX_COMPILER_PATHSCALE) return() endif() set(__LINUX_COMPILER_PATHSCALE 1) macro(__linux_compiler_pathscale lang) # Shared library compile and link flags. set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared") endmacro() cmake-2.8.12.2/Modules/Platform/Linux-PGI-C.cmake000644 000765 000024 00000000064 12266011634 021730 0ustar00kitwarestaff000000 000000 include(Platform/Linux-PGI) __linux_compiler_pgi(C) cmake-2.8.12.2/Modules/Platform/Linux-PGI-CXX.cmake000644 000765 000024 00000000066 12266011634 022212 0ustar00kitwarestaff000000 000000 include(Platform/Linux-PGI) __linux_compiler_pgi(CXX) cmake-2.8.12.2/Modules/Platform/Linux-PGI-Fortran.cmake000644 000765 000024 00000000072 12266011634 023160 0ustar00kitwarestaff000000 000000 include(Platform/Linux-PGI) __linux_compiler_pgi(Fortran) cmake-2.8.12.2/Modules/Platform/Linux-PGI.cmake000644 000765 000024 00000002024 12266011634 021546 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__LINUX_COMPILER_PGI) return() endif() set(__LINUX_COMPILER_PGI 1) macro(__linux_compiler_pgi lang) # Shared library compile and link flags. set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC") set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared") endmacro() cmake-2.8.12.2/Modules/Platform/Linux-SunPro-CXX.cmake000644 000765 000024 00000000751 12266011634 023022 0ustar00kitwarestaff000000 000000 # Sun C++ 5.9 does not support -Wl, but Sun C++ 5.11 does not work without it. # Query the compiler flags to detect whether to use -Wl. execute_process(COMMAND ${CMAKE_CXX_COMPILER} -flags OUTPUT_VARIABLE _cxx_flags ERROR_VARIABLE _cxx_error) if("${_cxx_flags}" MATCHES "\n-W[^\n]*component") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG "-Wl,-rpath-link,") else() set(CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG "-rpath-link ") endif() set(CMAKE_EXE_EXPORTS_CXX_FLAG "--export-dynamic") cmake-2.8.12.2/Modules/Platform/Linux-TinyCC-C.cmake000644 000765 000024 00000000276 12266011634 022447 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-soname ") cmake-2.8.12.2/Modules/Platform/Linux-VisualAge-C.cmake000644 000765 000024 00000000035 12266011634 023167 0ustar00kitwarestaff000000 000000 include(Platform/Linux-XL-C) cmake-2.8.12.2/Modules/Platform/Linux-VisualAge-CXX.cmake000644 000765 000024 00000000037 12266011634 023451 0ustar00kitwarestaff000000 000000 include(Platform/Linux-XL-CXX) cmake-2.8.12.2/Modules/Platform/Linux-VisualAge-Fortran.cmake000644 000765 000024 00000000043 12266011634 024417 0ustar00kitwarestaff000000 000000 include(Platform/Linux-XL-Fortran) cmake-2.8.12.2/Modules/Platform/Linux-XL-C.cmake000644 000765 000024 00000000066 12266011634 021636 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj") cmake-2.8.12.2/Modules/Platform/Linux-XL-CXX.cmake000644 000765 000024 00000000070 12266011634 022111 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-qmkshrobj") cmake-2.8.12.2/Modules/Platform/Linux-XL-Fortran.cmake000644 000765 000024 00000000074 12266011634 023066 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-qmkshrobj") cmake-2.8.12.2/Modules/Platform/Linux.cmake000644 000765 000024 00000005012 12266011634 021131 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "dl") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") # Shared libraries with no builtin soname may not be linked safely by # specifying the file path. set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() # Debian policy requires that shared libraries be installed without # executable permission. Fedora policy requires that shared libraries # be installed with the executable permission. Since the native tools # create shared libraries with execute permission in the first place a # reasonable policy seems to be to install with execute permission by # default. In order to support debian packages we provide an option # here. The option default is based on the current distribution, but # packagers can set it explicitly on the command line. if(DEFINED CMAKE_INSTALL_SO_NO_EXE) # Store the decision variable in the cache. This preserves any # setting the user provides on the command line. set(CMAKE_INSTALL_SO_NO_EXE "${CMAKE_INSTALL_SO_NO_EXE}" CACHE INTERNAL "Install .so files without execute permission.") else() # Store the decision variable as an internal cache entry to avoid # checking the platform every time. This option is advanced enough # that only package maintainers should need to adjust it. They are # capable of providing a setting on the command line. if(EXISTS "/etc/debian_version") set(CMAKE_INSTALL_SO_NO_EXE 1 CACHE INTERNAL "Install .so files without execute permission.") else() set(CMAKE_INSTALL_SO_NO_EXE 0 CACHE INTERNAL "Install .so files without execute permission.") endif() endif() # Match multiarch library directory names. set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*") include(Platform/UnixPaths) # Debian has lib64 paths only for compatibility so they should not be # searched. if(EXISTS "/etc/debian_version") set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE) endif() cmake-2.8.12.2/Modules/Platform/MP-RAS.cmake000644 000765 000024 00000000617 12266011634 020777 0ustar00kitwarestaff000000 000000 if(CMAKE_SYSTEM MATCHES "MP-RAS-02*.") set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC) set(CMAKE_C_COMPILE_OPTIONS_PIE -K PIE) set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") else() set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC) set(CMAKE_C_COMPILE_OPTIONS_PIE -K PIE) set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-Bexport") endif() include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/NetBSD.cmake000644 000765 000024 00000001221 12266011634 021107 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "") set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") # : or empty set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/OpenBSD.cmake000644 000765 000024 00000001516 12266011634 021271 0ustar00kitwarestaff000000 000000 include(Platform/NetBSD) # On OpenBSD, the compile time linker does not share it's configuration with # the runtime linker. This will extract the library search paths from the # system's ld.so.hints file which will allow CMake to set the appropriate # -rpath-link flags if(NOT CMAKE_PLATFORM_RUNTIME_PATH) execute_process(COMMAND /sbin/ldconfig -r OUTPUT_VARIABLE LDCONFIG_HINTS ERROR_QUIET) string(REGEX REPLACE ".*search\\ directories:\\ ([^\n]*).*" "\\1" LDCONFIG_HINTS "${LDCONFIG_HINTS}") string(REGEX REPLACE ":" ";" CMAKE_PLATFORM_RUNTIME_PATH "${LDCONFIG_HINTS}") endif() set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_OPENBSD_VERSIONING 1) # OpenBSD policy requires that shared libraries be installed without # executable permission. set(CMAKE_INSTALL_SO_NO_EXE 1) cmake-2.8.12.2/Modules/Platform/OpenVMS.cmake000644 000765 000024 00000000413 12266011634 021321 0ustar00kitwarestaff000000 000000 include(Platform/UnixPaths) set(CMAKE_C_CREATE_STATIC_LIBRARY " cr " " " ) set(CMAKE_CXX_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY}) set(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe cmake-2.8.12.2/Modules/Platform/OSF1.cmake000644 000765 000024 00000003023 12266011634 020542 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "") if(CMAKE_SYSTEM MATCHES "OSF1-1.[012]") endif() if(CMAKE_SYSTEM MATCHES "OSF1-1.*") # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2 set(CMAKE_C_COMPILE_OPTIONS_PIC "-fpic") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fpie") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fpic") # -pic set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fpic") # -pic endif() if(CMAKE_SYSTEM MATCHES "OSF1-V.*") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-expect_unresolved,\\*") # -shared if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,-rpath,") else() set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-rpath ") endif() if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") else() set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-rpath ") endif() set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") endif() set(CMAKE_MAKE_INCLUDE_FROM_ROOT 1) # include $(CMAKE_BINARY_DIR)/... if(CMAKE_COMPILER_IS_GNUCXX) # include the gcc flags else () # use default OSF compiler flags set (CMAKE_C_FLAGS_INIT "") set (CMAKE_C_FLAGS_DEBUG_INIT "-g") set (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O2 -DNDEBUG") set (CMAKE_C_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2") set (CMAKE_CXX_FLAGS_INIT "") set (CMAKE_CXX_FLAGS_DEBUG_INIT "-g") set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O2 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2") endif() include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/QNX.cmake000644 000765 000024 00000002470 12266011634 020505 0ustar00kitwarestaff000000 000000 set(QNXNTO 1) # The QNX GCC does not seem to have -isystem so remove the flag. set(CMAKE_INCLUDE_SYSTEM_FLAG_C) set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX) set(CMAKE_DL_LIBS "") set(CMAKE_SHARED_LIBRARY_C_FLAGS "") set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") # Shared libraries with no builtin soname may not be linked safely by # specifying the file path. set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() # force the language to be c++ since qnx only has gcc and not g++ and c++? set(CMAKE_CXX_COMPILE_OBJECT " -x c++ -o -c ") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/RISCos.cmake000644 000765 000024 00000000274 12266011634 021141 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_C_FLAGS "-G 0") set(CMAKE_SHARED_LIBRARY_SUFFIX "..o") set(CMAKE_DL_LIBS "") set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-D,08000000") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/SCO_SV.cmake000644 000765 000024 00000000062 12266011634 021066 0ustar00kitwarestaff000000 000000 set(CMAKE_DL_LIBS "") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/SINIX.cmake000644 000765 000024 00000000223 12266011634 020723 0ustar00kitwarestaff000000 000000 set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC) set(CMAKE_C_COMPILE_OPTIONS_PIE "") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/SunOS-GNU-C.cmake000644 000765 000024 00000000064 12266011634 021652 0ustar00kitwarestaff000000 000000 include(Platform/SunOS-GNU) __sunos_compiler_gnu(C) cmake-2.8.12.2/Modules/Platform/SunOS-GNU-CXX.cmake000644 000765 000024 00000000066 12266011634 022134 0ustar00kitwarestaff000000 000000 include(Platform/SunOS-GNU) __sunos_compiler_gnu(CXX) cmake-2.8.12.2/Modules/Platform/SunOS-GNU-Fortran.cmake000644 000765 000024 00000000072 12266011634 023102 0ustar00kitwarestaff000000 000000 include(Platform/SunOS-GNU) __sunos_compiler_gnu(Fortran) cmake-2.8.12.2/Modules/Platform/SunOS-GNU.cmake000644 000765 000024 00000002573 12266011634 021501 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__SUNOS_COMPILER_GNU) return() endif() set(__SUNOS_COMPILER_GNU 1) macro(__sunos_compiler_gnu lang) set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-R") set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,-h") # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_${lang}_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_${lang}_FLAGS "-Wl,-Bdynamic") endforeach() endmacro() cmake-2.8.12.2/Modules/Platform/SunOS.cmake000644 000765 000024 00000002357 12266011634 021052 0ustar00kitwarestaff000000 000000 if(CMAKE_SYSTEM MATCHES "SunOS-4.*") set(CMAKE_C_COMPILE_OPTIONS_PIC "-PIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-PIE") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-PIC") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-r") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-R") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") endif() if(CMAKE_COMPILER_IS_GNUCXX) if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_CXX_CREATE_SHARED_LIBRARY " -o ") else() # Take default rule from CMakeDefaultMakeRuleVariables.cmake. endif() endif() include(Platform/UnixPaths) # Add the compiler's implicit link directories. if("${CMAKE_C_COMPILER_ID} ${CMAKE_CXX_COMPILER_ID}" MATCHES SunPro) list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES /opt/SUNWspro/lib /opt/SUNWspro/prod/lib /usr/ccs/lib) endif() # The Sun linker needs to find transitive shared library dependencies # in the -L path. set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) # Shared libraries with no builtin soname may not be linked safely by # specifying the file path. set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) cmake-2.8.12.2/Modules/Platform/syllable.cmake000644 000765 000024 00000002744 12266011634 021652 0ustar00kitwarestaff000000 000000 # this is the platform file for the Syllable OS (http://www.syllable.org) # Syllable is a free OS (GPL), which is mostly POSIX conform # the linker accepts the rpath related arguments, but this is later on # ignored by the runtime linker # shared libs are found exclusively via the environment variable DLL_PATH, # which may contain also dirs containing the special variable @bindir@ # by default @bindir@/lib is part of DLL_PATH # in order to run the cmake tests successfully it is required that also # @bindir@/. and @bindir@/../lib are in DLL_PATH set(CMAKE_DL_LIBS "dl") set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC") set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") # -pic set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") #set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() include(Platform/UnixPaths) # these are Syllable specific: list(APPEND CMAKE_SYSTEM_PREFIX_PATH /usr/indexes) cmake-2.8.12.2/Modules/Platform/Tru64.cmake000644 000765 000024 00000000035 12266011634 020756 0ustar00kitwarestaff000000 000000 include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/ULTRIX.cmake000644 000765 000024 00000000273 12266011634 021065 0ustar00kitwarestaff000000 000000 set(CMAKE_SHARED_LIBRARY_C_FLAGS "-G 0") set(CMAKE_SHARED_LIBRARY_SUFFIX "..o") set(CMAKE_DL_LIBS "") set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-D,08000000") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/UNIX_SV.cmake000644 000765 000024 00000000311 12266011634 021222 0ustar00kitwarestaff000000 000000 set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC) set(CMAKE_C_COMPILE_OPTIONS_PIE "") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-Bexport") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/UnixPaths.cmake000644 000765 000024 00000004702 12266011634 021762 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Block multiple inclusion because "CMakeCInformation.cmake" includes # "Platform/${CMAKE_SYSTEM_NAME}" even though the generic module # "CMakeSystemSpecificInformation.cmake" already included it. # The extra inclusion is a work-around documented next to the include() # call, so this can be removed when the work-around is removed. if(__UNIX_PATHS_INCLUDED) return() endif() set(__UNIX_PATHS_INCLUDED 1) set(UNIX 1) # also add the install directory of the running cmake to the search directories # CMAKE_ROOT is CMAKE_INSTALL_PREFIX/share/cmake, so we need to go two levels up get_filename_component(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH) get_filename_component(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH) # List common installation prefixes. These will be used for all # search types. list(APPEND CMAKE_SYSTEM_PREFIX_PATH # Standard /usr/local /usr / # CMake install location "${_CMAKE_INSTALL_DIR}" # Project install destination. "${CMAKE_INSTALL_PREFIX}" ) # List common include file locations not under the common prefixes. list(APPEND CMAKE_SYSTEM_INCLUDE_PATH # Windows API on Cygwin /usr/include/w32api # X11 /usr/X11R6/include /usr/include/X11 # Other /usr/pkg/include /opt/csw/include /opt/include /usr/openwin/include ) list(APPEND CMAKE_SYSTEM_LIBRARY_PATH # Windows API on Cygwin /usr/lib/w32api # X11 /usr/X11R6/lib /usr/lib/X11 # Other /usr/pkg/lib /opt/csw/lib /opt/lib /usr/openwin/lib ) list(APPEND CMAKE_SYSTEM_PROGRAM_PATH /usr/pkg/bin ) list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES /lib /usr/lib /usr/lib32 /usr/lib64 ) list(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES /usr/include ) list(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES /usr/include ) # Enable use of lib64 search path variants by default. set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE) cmake-2.8.12.2/Modules/Platform/UnixWare.cmake000644 000765 000024 00000000313 12266011634 021573 0ustar00kitwarestaff000000 000000 set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC) set(CMAKE_C_COMPILE_OPTIONS_PIE "") set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-Wl,-Bexport") include(Platform/UnixPaths) cmake-2.8.12.2/Modules/Platform/Windows-Borland-C.cmake000644 000765 000024 00000000050 12266011634 023220 0ustar00kitwarestaff000000 000000 include(Platform/Windows-Embarcadero-C) cmake-2.8.12.2/Modules/Platform/Windows-Borland-CXX.cmake000644 000765 000024 00000000052 12266011634 023502 0ustar00kitwarestaff000000 000000 include(Platform/Windows-Embarcadero-CXX) cmake-2.8.12.2/Modules/Platform/Windows-CXX.cmake000644 000765 000024 00000000370 12266011634 022126 0ustar00kitwarestaff000000 000000 if(NOT CMAKE_CXX_COMPILER_NAMES) set(CMAKE_CXX_COMPILER_NAMES c++) endif() # Exclude C++ compilers differing from C compiler only by case # because this platform may have a case-insensitive filesystem. set(CMAKE_CXX_COMPILER_EXCLUDE CC aCC xlC) cmake-2.8.12.2/Modules/Platform/Windows-df.cmake000644 000765 000024 00000005612 12266011634 022061 0ustar00kitwarestaff000000 000000 # compiler support for fortran CVF compiler on windows set(CMAKE_WINDOWS_OBJECT_PATH 1) set(CMAKE_LIBRARY_PATH_FLAG "-LIBPATH:") set(CMAKE_LINK_LIBRARY_FLAG "") set(WIN32 1) if(CMAKE_VERBOSE_MAKEFILE) set(CMAKE_CL_NOLOGO) else() set(CMAKE_CL_NOLOGO "/nologo") endif() set(CMAKE_Fortran_MODDIR_FLAG "-module:") set(CMAKE_Fortran_CREATE_SHARED_LIBRARY "link ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out: /dll ${CMAKE_END_TEMP_FILE}") set(CMAKE_Fortran_CREATE_SHARED_MODULE ${CMAKE_Fortran_CREATE_SHARED_LIBRARY}) # create a C++ static library set(CMAKE_Fortran_CREATE_STATIC_LIBRARY "lib ${CMAKE_CL_NOLOGO} /out: ") # compile a C++ file into an object file set(CMAKE_Fortran_COMPILE_OBJECT " ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO} /object: /compile_only ${CMAKE_END_TEMP_FILE}") set(CMAKE_COMPILE_RESOURCE "rc /fo ") set(CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE "/link") set(CMAKE_Fortran_LINK_EXECUTABLE " ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /exe: /link ${CMAKE_END_TEMP_FILE}") set(CMAKE_CREATE_WIN32_EXE /winapp) set(CMAKE_CREATE_CONSOLE_EXE ) if(CMAKE_GENERATOR MATCHES "Visual Studio 6") set (CMAKE_NO_BUILD_TYPE 1) endif() if(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual Studio 8") set (CMAKE_NO_BUILD_TYPE 1) endif() # does the compiler support pdbtype and is it the newer compiler set(CMAKE_BUILD_TYPE_INIT Debug) set (CMAKE_Fortran_FLAGS_INIT "") set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full") set (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/Optimize:2 /Define:NDEBUG") set (CMAKE_Fortran_FLAGS_RELEASE_INIT "/Optimize:1 /Define:NDEBUG") set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "/Optimize:1 /debug:full /Define:NDEBUG") set (CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib") # executable linker flags set (CMAKE_LINK_DEF_FILE_FLAG "/DEF:") set (CMAKE_EXE_LINKER_FLAGS_INIT " /INCREMENTAL:YES") if (CMAKE_COMPILER_SUPPORTS_PDBTYPE) set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug /pdbtype:sept") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug /pdbtype:sept") else () set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug") endif () set (CMAKE_SHARED_LINKER_FLAGS_INIT ${CMAKE_EXE_LINKER_FLAGS_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_INIT ${CMAKE_SHARED_LINKER_FLAGS_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT}) cmake-2.8.12.2/Modules/Platform/Windows-Embarcadero-C.cmake000644 000765 000024 00000000115 12266011634 024045 0ustar00kitwarestaff000000 000000 set(_lang C) include(Platform/Windows-Embarcadero) __embarcadero_language(C) cmake-2.8.12.2/Modules/Platform/Windows-Embarcadero-CXX.cmake000644 000765 000024 00000000121 12266011634 024322 0ustar00kitwarestaff000000 000000 set(_lang CXX) include(Platform/Windows-Embarcadero) __embarcadero_language(CXX) cmake-2.8.12.2/Modules/Platform/Windows-Embarcadero.cmake000644 000765 000024 00000012477 12266011634 023703 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__WINDOWS_EMBARCADERO) return() endif() set(__WINDOWS_EMBARCADERO 1) set(BORLAND 1) if("${CMAKE_${_lang}_COMPILER_VERSION}" VERSION_LESS 6.30) # Borland target type flags (bcc32 -h -t): set(_tW "-tW") # -tW GUI App (implies -U__CONSOLE__) set(_tC "-tWC") # -tWC Console App (implies -D__CONSOLE__=1) set(_tD "-tWD") # -tWD Build a DLL (implies -D__DLL__=1 -D_DLL=1) set(_tM "-tWM") # -tWM Enable threads (implies -D__MT__=1 -D_MT=1) set(_tR "-tWR -tW-") # -tWR Use DLL runtime (implies -D_RTLDLL, and '-tW' too!!) # Notes: # - The flags affect linking so we pass them to the linker. # - The flags affect preprocessing so we pass them to the compiler. # - Since '-tWR' implies '-tW' we use '-tWR -tW-' instead. # - Since '-tW-' disables '-tWD' we use '-tWR -tW- -tWD' for DLLs. else() set(EMBARCADERO 1) set(_tC "-tC") # Target is a console application set(_tD "-tD") # Target is a shared library set(_tM "-tM") # Target is multi-threaded set(_tR "-tR") # Target uses the dynamic RTL set(_tW "-tW") # Target is a Windows application endif() set(_COMPILE_C "-c") set(_COMPILE_CXX "-P -c") set(CMAKE_LIBRARY_PATH_FLAG "-L") set(CMAKE_LINK_LIBRARY_FLAG "") set(CMAKE_FIND_LIBRARY_SUFFIXES "-bcc.lib" ".lib") # uncomment these out to debug makefiles #set(CMAKE_START_TEMP_FILE "") #set(CMAKE_END_TEMP_FILE "") #set(CMAKE_VERBOSE_MAKEFILE 1) # Borland cannot handle + in the file name, so mangle object file name set (CMAKE_MANGLE_OBJECT_FILE_NAMES "ON") # extra flags for a win32 exe set(CMAKE_CREATE_WIN32_EXE "${_tW}" ) # extra flags for a console app set(CMAKE_CREATE_CONSOLE_EXE "${_tC}" ) set (CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel.") set (CMAKE_EXE_LINKER_FLAGS_INIT "${_tM} -lS:1048576 -lSc:4098 -lH:1048576 -lHc:8192 ") set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "-v") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "-v") set (CMAKE_SHARED_LINKER_FLAGS_INIT ${CMAKE_EXE_LINKER_FLAGS_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_INIT ${CMAKE_SHARED_LINKER_FLAGS_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT}) macro(__embarcadero_language lang) set(CMAKE_${lang}_COMPILE_OPTIONS_DLL "${_tD}") # Note: This variable is a ';' separated list set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "${_tD}") # ... while this is a space separated string. set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_INCLUDES 1) # compile a source file into an object file # place outside the response file because Borland refuses # to parse quotes from the response file. set(CMAKE_${lang}_COMPILE_OBJECT " ${_tR} -DWIN32 -o ${_COMPILE_${lang}} " ) set(CMAKE_${lang}_LINK_EXECUTABLE " ${_tR} -e ${CMAKE_START_TEMP_FILE} ${CMAKE_END_TEMP_FILE}" # "implib -c -w " ) # place outside the response file because Borland refuses # to parse quotes from the response file. set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "cpp32 -DWIN32 -o ${_COMPILE_${lang}} " ) # Borland >= 5.6 allows -P option for cpp32, <= 5.5 does not # Create a module library. set(CMAKE_${lang}_CREATE_SHARED_MODULE " ${_tR} ${_tD} ${CMAKE_START_TEMP_FILE}-e ${CMAKE_END_TEMP_FILE}" ) # Create an import library for another target. set(CMAKE_${lang}_CREATE_IMPORT_LIBRARY "implib -c -w " ) # Create a shared library. # First create a module and then its import library. set(CMAKE_${lang}_CREATE_SHARED_LIBRARY ${CMAKE_${lang}_CREATE_SHARED_MODULE} ${CMAKE_${lang}_CREATE_IMPORT_LIBRARY} ) # create a static library set(CMAKE_${lang}_CREATE_STATIC_LIBRARY "tlib ${CMAKE_START_TEMP_FILE}/p512 /a ${CMAKE_END_TEMP_FILE}" ) # Initial configuration flags. set(CMAKE_${lang}_FLAGS_INIT "${_tM}") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-Od -v") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-O1 -DNDEBUG") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O2 -DNDEBUG") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-Od") set(CMAKE_${lang}_STANDARD_LIBRARIES_INIT "import32.lib") endmacro() cmake-2.8.12.2/Modules/Platform/Windows-G95-Fortran.cmake000644 000765 000024 00000000046 12266011634 023441 0ustar00kitwarestaff000000 000000 include(Platform/Windows-GNU-Fortran) cmake-2.8.12.2/Modules/Platform/Windows-GNU-C-ABI.cmake000644 000765 000024 00000000036 12266011634 022665 0ustar00kitwarestaff000000 000000 __windows_compiler_gnu_abi(C) cmake-2.8.12.2/Modules/Platform/Windows-GNU-C.cmake000644 000765 000024 00000000070 12266011634 022272 0ustar00kitwarestaff000000 000000 include(Platform/Windows-GNU) __windows_compiler_gnu(C) cmake-2.8.12.2/Modules/Platform/Windows-GNU-CXX-ABI.cmake000644 000765 000024 00000000040 12266011634 023140 0ustar00kitwarestaff000000 000000 __windows_compiler_gnu_abi(CXX) cmake-2.8.12.2/Modules/Platform/Windows-GNU-CXX.cmake000644 000765 000024 00000000072 12266011634 022554 0ustar00kitwarestaff000000 000000 include(Platform/Windows-GNU) __windows_compiler_gnu(CXX) cmake-2.8.12.2/Modules/Platform/Windows-GNU-Fortran-ABI.cmake000644 000765 000024 00000000044 12266011634 024115 0ustar00kitwarestaff000000 000000 __windows_compiler_gnu_abi(Fortran) cmake-2.8.12.2/Modules/Platform/Windows-GNU-Fortran.cmake000644 000765 000024 00000000242 12266011634 023524 0ustar00kitwarestaff000000 000000 include(Platform/Windows-GNU) __windows_compiler_gnu(Fortran) # gfortran on 64-bit MinGW defines __SIZEOF_POINTER__ set(CMAKE_Fortran_SIZEOF_DATA_PTR_DEFAULT 4) cmake-2.8.12.2/Modules/Platform/Windows-GNU.cmake000644 000765 000024 00000021303 12266011634 022114 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__WINDOWS_GNU) return() endif() set(__WINDOWS_GNU 1) set(CMAKE_IMPORT_LIBRARY_PREFIX "lib") set(CMAKE_SHARED_LIBRARY_PREFIX "lib") set(CMAKE_SHARED_MODULE_PREFIX "lib") set(CMAKE_STATIC_LIBRARY_PREFIX "lib") set(CMAKE_EXECUTABLE_SUFFIX ".exe") set(CMAKE_IMPORT_LIBRARY_SUFFIX ".dll.a") set(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") set(CMAKE_SHARED_MODULE_SUFFIX ".dll") set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") if(MSYS OR MINGW) set(CMAKE_EXTRA_LINK_EXTENSIONS ".lib") # MinGW can also link to a MS .lib endif() if(MINGW) set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a" ".lib") set(CMAKE_C_STANDARD_LIBRARIES_INIT "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32") set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") endif() set(CMAKE_DL_LIBS "") set(CMAKE_LIBRARY_PATH_FLAG "-L") set(CMAKE_LINK_LIBRARY_FLAG "-l") set(CMAKE_LINK_DEF_FILE_FLAG "") # Empty string: passing the file is enough set(CMAKE_LINK_LIBRARY_SUFFIX "") set(CMAKE_CREATE_WIN32_EXE "-mwindows") set(CMAKE_GNULD_IMAGE_VERSION "-Wl,--major-image-version,,--minor-image-version,") # Check if GNU ld is too old to support @FILE syntax. set(__WINDOWS_GNU_LD_RESPONSE 1) execute_process(COMMAND ld -v OUTPUT_VARIABLE _help ERROR_VARIABLE _help) if("${_help}" MATCHES "GNU ld .* 2\\.1[1-6]") set(__WINDOWS_GNU_LD_RESPONSE 0) endif() if(NOT CMAKE_GENERATOR_RC AND CMAKE_GENERATOR MATCHES "Unix Makefiles") set(CMAKE_GENERATOR_RC windres) endif() enable_language(RC) macro(__windows_compiler_gnu lang) if(MSYS OR MINGW) # Create archiving rules to support large object file lists for static libraries. set(CMAKE_${lang}_ARCHIVE_CREATE " cr ") set(CMAKE_${lang}_ARCHIVE_APPEND " r ") set(CMAKE_${lang}_ARCHIVE_FINISH " ") # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_${lang}_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_${lang}_FLAGS "-Wl,-Bdynamic") endforeach() endif() # No -fPIC on Windows set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "") set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "") set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "") set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS ${__WINDOWS_GNU_LD_RESPONSE}) set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_INCLUDES 1) # We prefer "@" for response files but it is not supported by gcc 3. execute_process(COMMAND ${CMAKE_${lang}_COMPILER} --version OUTPUT_VARIABLE _ver ERROR_VARIABLE _ver) if("${_ver}" MATCHES "\\(GCC\\) 3\\.") if("${lang}" STREQUAL "Fortran") # The GNU Fortran compiler reports an error: # no input files; unwilling to write output files # when the response file is passed with "-Wl,@". set(CMAKE_Fortran_USE_RESPONSE_FILE_FOR_OBJECTS 0) else() # Use "-Wl,@" to pass the response file to the linker. set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "-Wl,@") endif() # The GNU 3.x compilers do not support response files (only linkers). set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_INCLUDES 0) elseif(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS) # Use "@" to pass the response file to the front-end. set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "@") endif() # Binary link rules. set(CMAKE_${lang}_CREATE_SHARED_MODULE " -o ${CMAKE_GNULD_IMAGE_VERSION} ") set(CMAKE_${lang}_CREATE_SHARED_LIBRARY " -o -Wl,--out-implib, ${CMAKE_GNULD_IMAGE_VERSION} ") set(CMAKE_${lang}_LINK_EXECUTABLE " -o -Wl,--out-implib, ${CMAKE_GNULD_IMAGE_VERSION} ") list(APPEND CMAKE_${lang}_ABI_FILES "Platform/Windows-GNU-${lang}-ABI") # Support very long lists of object files. # TODO: check for which gcc versions this is still needed, not needed for gcc >= 4.4. # Ninja generator doesn't support this work around. if("${CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG}" STREQUAL "@" AND NOT CMAKE_GENERATOR MATCHES "Ninja") foreach(rule CREATE_SHARED_MODULE CREATE_SHARED_LIBRARY LINK_EXECUTABLE) # The gcc/collect2/ld toolchain does not use response files # internally so we cannot pass long object lists. Instead pass # the object file list in a response file to the archiver to put # them in a temporary archive. Hand the archive to the linker. string(REPLACE "" "-Wl,--whole-archive /objects.a -Wl,--no-whole-archive" CMAKE_${lang}_${rule} "${CMAKE_${lang}_${rule}}") set(CMAKE_${lang}_${rule} " -E remove -f /objects.a" " cr /objects.a " "${CMAKE_${lang}_${rule}}" ) endforeach() endif() endmacro() macro(__windows_compiler_gnu_abi lang) if(CMAKE_NO_GNUtoMS) set(CMAKE_GNUtoMS 0) else() option(CMAKE_GNUtoMS "Convert GNU import libraries to MS format (requires Visual Studio)" OFF) endif() if(CMAKE_GNUtoMS AND NOT CMAKE_GNUtoMS_LIB) # Find MS development environment setup script for this architecture. if("${CMAKE_SIZEOF_VOID_P}" EQUAL 4) find_program(CMAKE_GNUtoMS_VCVARS NAMES vcvars32.bat DOC "Visual Studio vcvars32.bat" PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VC;ProductDir]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VC;ProductDir]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup\\VC;ProductDir]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Setup\\VC;ProductDir]/bin" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++;ProductDir]/bin" ) set(CMAKE_GNUtoMS_ARCH x86) elseif("${CMAKE_SIZEOF_VOID_P}" EQUAL 8) find_program(CMAKE_GNUtoMS_VCVARS NAMES vcvarsamd64.bat DOC "Visual Studio vcvarsamd64.bat" PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VC;ProductDir]/bin/amd64" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VC;ProductDir]/bin/amd64" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup\\VC;ProductDir]/bin/amd64" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/bin/amd64" ) set(CMAKE_GNUtoMS_ARCH amd64) endif() set_property(CACHE CMAKE_GNUtoMS_VCVARS PROPERTY ADVANCED 1) if(CMAKE_GNUtoMS_VCVARS) # Create helper script to run lib.exe from MS environment. string(REPLACE "/" "\\" CMAKE_GNUtoMS_BAT "${CMAKE_GNUtoMS_VCVARS}") set(CMAKE_GNUtoMS_LIB ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeGNUtoMS_lib.bat) configure_file(${CMAKE_ROOT}/Modules/Platform/GNUtoMS_lib.bat.in ${CMAKE_GNUtoMS_LIB}) else() message(WARNING "Disabling CMAKE_GNUtoMS option because CMAKE_GNUtoMS_VCVARS is not set.") set(CMAKE_GNUtoMS 0) endif() endif() if(CMAKE_GNUtoMS) # Teach CMake how to create a MS import library at link time. set(CMAKE_${lang}_GNUtoMS_RULE " -Wl,--output-def,.def" " -Dlib=\"${CMAKE_GNUtoMS_LIB}\" -Ddef=.def -Ddll= -Dimp= -P \"${CMAKE_ROOT}/Modules/Platform/GNUtoMS_lib.cmake\"" ) endif() endmacro() cmake-2.8.12.2/Modules/Platform/Windows-Intel-ASM.cmake000644 000765 000024 00000000076 12266011634 023160 0ustar00kitwarestaff000000 000000 include(Platform/Windows-Intel) __windows_compiler_intel(ASM) cmake-2.8.12.2/Modules/Platform/Windows-Intel-C.cmake000644 000765 000024 00000000074 12266011634 022720 0ustar00kitwarestaff000000 000000 include(Platform/Windows-Intel) __windows_compiler_intel(C) cmake-2.8.12.2/Modules/Platform/Windows-Intel-CXX.cmake000644 000765 000024 00000000164 12266011634 023200 0ustar00kitwarestaff000000 000000 include(Platform/Windows-Intel) set(_COMPILE_CXX " /TP") set(_FLAGS_CXX " /EHsc /GR") __windows_compiler_intel(CXX) cmake-2.8.12.2/Modules/Platform/Windows-Intel-Fortran.cmake000644 000765 000024 00000001037 12266011634 024151 0ustar00kitwarestaff000000 000000 include(Platform/Windows-Intel) set(CMAKE_BUILD_TYPE_INIT Debug) set(_COMPILE_Fortran " /fpp") set(CMAKE_Fortran_MODDIR_FLAG "-module:") set(CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib") __windows_compiler_intel(Fortran) set (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp /libs:dll /threads") set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full /dbglibs") set (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/O1 /D NDEBUG") set (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O2 /D NDEBUG") set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "/O2 /debug:full /D NDEBUG") cmake-2.8.12.2/Modules/Platform/Windows-Intel.cmake000644 000765 000024 00000012320 12266011634 022535 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2002-2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__WINDOWS_INTEL) return() endif() set(__WINDOWS_INTEL 1) # make sure to enable languages after setting configuration types enable_language(RC) set(CMAKE_COMPILE_RESOURCE "rc /fo ") set(CMAKE_LIBRARY_PATH_FLAG "-LIBPATH:") set(CMAKE_LINK_LIBRARY_FLAG "") set(WIN32 1) if(CMAKE_VERBOSE_MAKEFILE) set(CMAKE_CL_NOLOGO) else() set(CMAKE_CL_NOLOGO "/nologo") endif() set(CMAKE_COMPILE_RESOURCE "rc /fo ") set(CMAKE_CREATE_WIN32_EXE /subsystem:windows) set(CMAKE_CREATE_CONSOLE_EXE /subsystem:console) # default to Debug builds #set(CMAKE_BUILD_TYPE_INIT Debug) set(CMAKE_BUILD_TYPE_INIT Release) set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib") set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") # executable linker flags set (CMAKE_LINK_DEF_FILE_FLAG "/DEF:") if(MSVC_C_ARCHITECTURE_ID) set(_MACHINE_ARCH_FLAG "/machine:${MSVC_C_ARCHITECTURE_ID}") elseif(MSVC_CXX_ARCHITECTURE_ID) set(_MACHINE_ARCH_FLAG "/machine:${MSVC_CXX_ARCHITECTURE_ID}") elseif(MSVC_Fortran_ARCHITECTURE_ID) set(_MACHINE_ARCH_FLAG "/machine:${MSVC_Fortran_ARCHITECTURE_ID}") endif() set (CMAKE_EXE_LINKER_FLAGS_INIT "/INCREMENTAL:YES ${_MACHINE_ARCH_FLAG}") set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug") set (CMAKE_SHARED_LINKER_FLAGS_INIT ${CMAKE_EXE_LINKER_FLAGS_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_INIT ${CMAKE_SHARED_LINKER_FLAGS_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT}) include("${CMAKE_PLATFORM_INFO_DIR}/CMakeIntelInformation.cmake" OPTIONAL) if(NOT _INTEL_XILINK_TEST_RUN) execute_process(COMMAND xilink /? ERROR_VARIABLE _XILINK_ERR OUTPUT_VARIABLE _XILINK_HELP) if(_XILINK_HELP MATCHES MANIFEST) set(_INTEL_COMPILER_SUPPORTS_MANIFEST 1) endif() if(NOT EXISTS "${CMAKE_PLATFORM_INFO_DIR}/CMakeIntelInformation.cmake") file(WRITE ${CMAKE_PLATFORM_INFO_DIR}/CMakeIntelInformation.cmake " set(_INTEL_XILINK_TEST_RUN 1) set(_INTEL_COMPILER_SUPPORTS_MANIFEST ${_INTEL_COMPILER_SUPPORTS_MANIFEST}) ") endif() endif() macro(__windows_compiler_intel lang) set(CMAKE_${lang}_COMPILE_OBJECT " ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} /Fo /Fd/ -c ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE " > ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} -E ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS 1) set(CMAKE_${lang}_CREATE_STATIC_LIBRARY "lib ${CMAKE_CL_NOLOGO} /out: ") set(CMAKE_${lang}_CREATE_SHARED_LIBRARY "xilink ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out: /implib: /pdb: /dll ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_CREATE_SHARED_MODULE "${CMAKE_${lang}_CREATE_SHARED_LIBRARY}") set(CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE "/link") set(CMAKE_${lang}_LINK_EXECUTABLE " ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /Fe /link /implib: /pdb: ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000${_FLAGS_${lang}}") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi /Od /RTC1") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "/DNDEBUG /MD /O1") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "/DNDEBUG /MD /O2") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/DNDEBUG /MD /Zi /O2") if(_INTEL_COMPILER_SUPPORTS_MANIFEST) set(CMAKE_${lang}_LINK_EXECUTABLE " -E vs_link_exe ${CMAKE_${lang}_LINK_EXECUTABLE}") set(CMAKE_${lang}_CREATE_SHARED_LIBRARY " -E vs_link_dll ${CMAKE_${lang}_CREATE_SHARED_LIBRARY}") set(CMAKE_${lang}_CREATE_SHARED_MODULE " -E vs_link_dll ${CMAKE_${lang}_CREATE_SHARED_MODULE}") endif() endmacro() cmake-2.8.12.2/Modules/Platform/Windows-MSVC-C.cmake000644 000765 000024 00000000211 12266011634 022406 0ustar00kitwarestaff000000 000000 include(Platform/Windows-MSVC) if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 18.0) set(_FS_C " /FS") endif() __windows_compiler_msvc(C) cmake-2.8.12.2/Modules/Platform/Windows-MSVC-CXX.cmake000644 000765 000024 00000000250 12266011634 022671 0ustar00kitwarestaff000000 000000 include(Platform/Windows-MSVC) set(_COMPILE_CXX " /TP") if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0) set(_FS_CXX " /FS") endif() __windows_compiler_msvc(CXX) cmake-2.8.12.2/Modules/Platform/Windows-MSVC.cmake000644 000765 000024 00000024073 12266011634 022242 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2001-2012 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This module is shared by multiple languages; use include blocker. if(__WINDOWS_MSVC) return() endif() set(__WINDOWS_MSVC 1) set(CMAKE_LIBRARY_PATH_FLAG "-LIBPATH:") set(CMAKE_LINK_LIBRARY_FLAG "") set(MSVC 1) # hack: if a new cmake (which uses CMAKE_LINKER) runs on an old build tree # (where link was hardcoded) and where CMAKE_LINKER isn't in the cache # and still cmake didn't fail in CMakeFindBinUtils.cmake (because it isn't rerun) # hardcode CMAKE_LINKER here to link, so it behaves as it did before, Alex if(NOT DEFINED CMAKE_LINKER) set(CMAKE_LINKER link) endif() if(CMAKE_VERBOSE_MAKEFILE) set(CMAKE_CL_NOLOGO) else() set(CMAKE_CL_NOLOGO "/nologo") endif() set(WIN32 1) if(CMAKE_SYSTEM_NAME MATCHES "WindowsCE") set(CMAKE_CREATE_WIN32_EXE "/subsystem:windowsce /entry:WinMainCRTStartup") set(CMAKE_CREATE_CONSOLE_EXE "/subsystem:windowsce /entry:mainACRTStartup") set(WINCE 1) else() set(CMAKE_CREATE_WIN32_EXE "/subsystem:windows") set(CMAKE_CREATE_CONSOLE_EXE "/subsystem:console") endif() if(CMAKE_GENERATOR MATCHES "Visual Studio 6") set (CMAKE_NO_BUILD_TYPE 1) endif() if(NOT CMAKE_NO_BUILD_TYPE AND CMAKE_GENERATOR MATCHES "Visual Studio") set (CMAKE_NO_BUILD_TYPE 1) endif() # make sure to enable languages after setting configuration types enable_language(RC) set(CMAKE_COMPILE_RESOURCE "rc /fo ") if("${CMAKE_GENERATOR}" MATCHES "Visual Studio") set(MSVC_IDE 1) else() set(MSVC_IDE 0) endif() if(NOT MSVC_VERSION) if(CMAKE_C_COMPILER_VERSION) set(_compiler_version ${CMAKE_C_COMPILER_VERSION}) else() set(_compiler_version ${CMAKE_CXX_COMPILER_VERSION}) endif() if("${_compiler_version}" MATCHES "^([0-9]+)\\.([0-9]+)") math(EXPR MSVC_VERSION "${CMAKE_MATCH_1}*100 + ${CMAKE_MATCH_2}") else() message(FATAL_ERROR "MSVC compiler version not detected properly: ${_compiler_version}") endif() set(MSVC10) set(MSVC11) set(MSVC12) set(MSVC60) set(MSVC70) set(MSVC71) set(MSVC80) set(MSVC90) set(CMAKE_COMPILER_2005) set(CMAKE_COMPILER_SUPPORTS_PDBTYPE) if(NOT "${_compiler_version}" VERSION_LESS 18) set(MSVC12 1) elseif(NOT "${_compiler_version}" VERSION_LESS 17) set(MSVC11 1) elseif(NOT "${_compiler_version}" VERSION_LESS 16) set(MSVC10 1) elseif(NOT "${_compiler_version}" VERSION_LESS 15) set(MSVC90 1) elseif(NOT "${_compiler_version}" VERSION_LESS 14) set(MSVC80 1) set(CMAKE_COMPILER_2005 1) elseif(NOT "${_compiler_version}" VERSION_LESS 13.10) set(MSVC71 1) elseif(NOT "${_compiler_version}" VERSION_LESS 13) set(MSVC70 1) else() set(MSVC60 1) set(CMAKE_COMPILER_SUPPORTS_PDBTYPE 1) endif() endif() if(MSVC_C_ARCHITECTURE_ID MATCHES 64 OR MSVC_CXX_ARCHITECTURE_ID MATCHES 64) set(CMAKE_CL_64 1) else() set(CMAKE_CL_64 0) endif() if(CMAKE_FORCE_WIN64 OR CMAKE_FORCE_IA64) set(CMAKE_CL_64 1) endif() if("${MSVC_VERSION}" GREATER 1599) set(MSVC_INCREMENTAL_DEFAULT ON) endif() # default to Debug builds set(CMAKE_BUILD_TYPE_INIT Debug) if(WINCE) foreach(lang C CXX) set(_MSVC_${lang}_ARCHITECTURE_FAMILY "${MSVC_${lang}_ARCHITECTURE_ID}") if(_MSVC_${lang}_ARCHITECTURE_FAMILY STREQUAL "THUMB") set(_MSVC_${lang}_ARCHITECTURE_FAMILY "ARM") elseif(_MSVC_${lang}_ARCHITECTURE_FAMILY MATCHES "^SH") set(_MSVC_${lang}_ARCHITECTURE_FAMILY "SHx") endif() string(TOUPPER "${_MSVC_${lang}_ARCHITECTURE_FAMILY}" _MSVC_${lang}_ARCHITECTURE_FAMILY_UPPER) endforeach() if("${CMAKE_SYSTEM_VERSION}" MATCHES "^([0-9]+)\\.([0-9]+)") math(EXPR _CE_VERSION "${CMAKE_MATCH_1}*100 + ${CMAKE_MATCH_2}") elseif("${CMAKE_SYSTEM_VERSION}" STREQUAL "") set(_CE_VERSION "500") else() message(FATAL_ERROR "Invalid Windows CE version: ${CMAKE_SYSTEM_VERSION}") endif() set(_PLATFORM_DEFINES "/D_WIN32_WCE=0x${_CE_VERSION} /DUNDER_CE") set(_PLATFORM_DEFINES_C " /D${_MSVC_C_ARCHITECTURE_FAMILY} /D_${_MSVC_C_ARCHITECTURE_FAMILY_UPPER}_") set(_PLATFORM_DEFINES_CXX " /D${_MSVC_CXX_ARCHITECTURE_FAMILY} /D_${_MSVC_CXX_ARCHITECTURE_FAMILY_UPPER}_") set(_RTC1 "") set(_FLAGS_CXX " /GR /EHsc") set(CMAKE_C_STANDARD_LIBRARIES_INIT "coredll.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib") set(CMAKE_EXE_LINKER_FLAGS_INIT "${CMAKE_EXE_LINKER_FLAGS_INIT} /NODEFAULTLIB:libc.lib /NODEFAULTLIB:oldnames.lib") if (MSVC_VERSION LESS 1600) set(CMAKE_C_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT} corelibc.lib") endif () else() set(_PLATFORM_DEFINES "/DWIN32") if(MSVC_VERSION GREATER 1310) set(_RTC1 "/RTC1") set(_FLAGS_CXX " /GR /EHsc") set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib") else() set(_RTC1 "/GZ") set(_FLAGS_CXX " /GR /GX") set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib") endif() if(MSVC_VERSION LESS 1310) set(_FLAGS_C " /Zm1000${_FLAGS_C}") set(_FLAGS_CXX " /Zm1000${_FLAGS_CXX}") endif() endif() set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") # executable linker flags set (CMAKE_LINK_DEF_FILE_FLAG "/DEF:") # set the machine type set(_MACHINE_ARCH_FLAG ${MSVC_C_ARCHITECTURE_ID}) if(NOT _MACHINE_ARCH_FLAG) set(_MACHINE_ARCH_FLAG ${MSVC_CXX_ARCHITECTURE_ID}) endif() set (CMAKE_EXE_LINKER_FLAGS_INIT "${CMAKE_EXE_LINKER_FLAGS_INIT} /machine:${_MACHINE_ARCH_FLAG}") # add /debug and /INCREMENTAL:YES to DEBUG and RELWITHDEBINFO also add pdbtype # on versions that support it set( MSVC_INCREMENTAL_YES_FLAG "") if(NOT MSVC_INCREMENTAL_DEFAULT) set( MSVC_INCREMENTAL_YES_FLAG "/INCREMENTAL:YES") else() set( MSVC_INCREMENTAL_YES_FLAG "/INCREMENTAL" ) endif() if (CMAKE_COMPILER_SUPPORTS_PDBTYPE) set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug /pdbtype:sept ${MSVC_INCREMENTAL_YES_FLAG}") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug /pdbtype:sept ${MSVC_INCREMENTAL_YES_FLAG}") else () set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug ${MSVC_INCREMENTAL_YES_FLAG}") set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug ${MSVC_INCREMENTAL_YES_FLAG}") endif () # for release and minsize release default to no incremental linking set(CMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT "/INCREMENTAL:NO") set(CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT "/INCREMENTAL:NO") # copy the EXE_LINKER flags to SHARED and MODULE linker flags # shared linker flags set (CMAKE_SHARED_LINKER_FLAGS_INIT ${CMAKE_EXE_LINKER_FLAGS_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_RELEASE_INIT ${CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT}) set (CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL_INIT ${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT}) # module linker flags set (CMAKE_MODULE_LINKER_FLAGS_INIT ${CMAKE_SHARED_LINKER_FLAGS_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_RELEASE_INIT ${CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT}) set (CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL_INIT ${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT}) macro(__windows_compiler_msvc lang) if(NOT "${CMAKE_${lang}_COMPILER_VERSION}" VERSION_LESS 14) # for 2005 make sure the manifest is put in the dll with mt set(_CMAKE_VS_LINK_DLL " -E vs_link_dll ") set(_CMAKE_VS_LINK_EXE " -E vs_link_exe ") endif() set(CMAKE_${lang}_CREATE_SHARED_LIBRARY "${_CMAKE_VS_LINK_DLL} ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out: /implib: /pdb: /dll /version:. ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_CREATE_SHARED_MODULE ${CMAKE_${lang}_CREATE_SHARED_LIBRARY}) set(CMAKE_${lang}_CREATE_STATIC_LIBRARY " /lib ${CMAKE_CL_NOLOGO} /out: ") set(CMAKE_${lang}_COMPILE_OBJECT " ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} /Fo /Fd/${_FS_${lang}} -c ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE " > ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} -E ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE " ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} /FoNUL /FAs /Fa /c ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS 1) set(CMAKE_${lang}_LINK_EXECUTABLE "${_CMAKE_VS_LINK_EXE} ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out: /implib: /pdb: /version:. ${CMAKE_END_TEMP_FILE}") set(CMAKE_${lang}_FLAGS_INIT "${_PLATFORM_DEFINES}${_PLATFORM_DEFINES_${lang}} /D_WINDOWS /W3${_FLAGS_${lang}}") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi /Ob0 /Od ${_RTC1}") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "/MD /O2 /Ob2 /D NDEBUG") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/MD /Zi /O2 /Ob1 /D NDEBUG") set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "/MD /O1 /Ob1 /D NDEBUG") endmacro() cmake-2.8.12.2/Modules/Platform/Windows-NMcl.cmake000644 000765 000024 00000000220 12266011634 022307 0ustar00kitwarestaff000000 000000 # this is for the numega compiler which is really a front # end for visual studio, but adds memory checking code. include(Platform/Windows-cl) cmake-2.8.12.2/Modules/Platform/Windows-wcl386.cmake000644 000765 000024 00000010651 12266011634 022515 0ustar00kitwarestaff000000 000000 set(CMAKE_LIBRARY_PATH_FLAG "libpath ") set(CMAKE_LINK_LIBRARY_FLAG "library ") set(CMAKE_LINK_LIBRARY_FILE_FLAG "library") if(CMAKE_VERBOSE_MAKEFILE) set(CMAKE_WCL_QUIET) set(CMAKE_WLINK_QUIET) set(CMAKE_LIB_QUIET) else() set(CMAKE_WCL_QUIET "-zq") set(CMAKE_WLINK_QUIET "option quiet") set(CMAKE_LIB_QUIET "-q") endif() set(CMAKE_CREATE_WIN32_EXE "system nt_win" ) set(CMAKE_CREATE_CONSOLE_EXE "system nt" ) set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "debug all" ) set (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT "debug all" ) set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all" ) set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all" ) set(CMAKE_C_COMPILE_OPTIONS_DLL "-bd") # Note: This variable is a ';' separated list set(CMAKE_SHARED_LIBRARY_C_FLAGS "-bd") # ... while this is a space separated string. set(CMAKE_RC_COMPILER "rc" ) set(CMAKE_BUILD_TYPE_INIT Debug) set (CMAKE_CXX_FLAGS_INIT "-w=3 -xs") set (CMAKE_CXX_FLAGS_DEBUG_INIT "-br -bm -d2") set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-br -bm -os -dNDEBUG") set (CMAKE_CXX_FLAGS_RELEASE_INIT "-br -bm -ot -dNDEBUG") set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-br -bm -d2 -ot -dNDEBUG") set (CMAKE_C_FLAGS_INIT "-w=3 ") set (CMAKE_C_FLAGS_DEBUG_INIT "-br -bm -d2 -od") set (CMAKE_C_FLAGS_MINSIZEREL_INIT "-br -bm -os -dNDEBUG") set (CMAKE_C_FLAGS_RELEASE_INIT "-br -bm -ot -dNDEBUG") set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-br -bm -d2 -ot -dNDEBUG") set (CMAKE_C_STANDARD_LIBRARIES_INIT "library clbrdll.lib library plbrdll.lib library kernel32.lib library user32.lib library gdi32.lib library winspool.lib library comdlg32.lib library advapi32.lib library shell32.lib library ole32.lib library oleaut32.lib library uuid.lib library odbc32.lib library odbccp32.lib") set (CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") set(CMAKE_C_CREATE_IMPORT_LIBRARY "wlib -c -q -n -b +''") set(CMAKE_CXX_CREATE_IMPORT_LIBRARY ${CMAKE_C_CREATE_IMPORT_LIBRARY}) set(CMAKE_C_LINK_EXECUTABLE "wlink ${CMAKE_START_TEMP_FILE} ${CMAKE_WLINK_QUIET} name '' option caseexact file {} ${CMAKE_END_TEMP_FILE}") set(CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_C_LINK_EXECUTABLE}) # compile a C++ file into an object file set(CMAKE_CXX_COMPILE_OBJECT " ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} -dWIN32 -d+ -fo -c -cc++ ${CMAKE_END_TEMP_FILE}") # compile a C file into an object file set(CMAKE_C_COMPILE_OBJECT " ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} -dWIN32 -d+ -fo -c -cc ${CMAKE_END_TEMP_FILE}") # preprocess a C source file set(CMAKE_C_CREATE_PREPROCESSED_SOURCE " ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} -dWIN32 -d+ -fo -pl -cc ${CMAKE_END_TEMP_FILE}") # preprocess a C++ source file set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} -dWIN32 -d+ -fo -pl -cc++ ${CMAKE_END_TEMP_FILE}") set(CMAKE_CXX_CREATE_SHARED_MODULE "wlink ${CMAKE_START_TEMP_FILE} system nt_dll ${CMAKE_WLINK_QUIET} name '' option caseexact file {} ${CMAKE_END_TEMP_FILE}") set(CMAKE_CXX_CREATE_SHARED_LIBRARY ${CMAKE_CXX_CREATE_SHARED_MODULE} ${CMAKE_CXX_CREATE_IMPORT_LIBRARY}) # create a C shared library set(CMAKE_C_CREATE_SHARED_LIBRARY ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) # create a C shared module set(CMAKE_C_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_MODULE}) # create a C++ static library set(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -c -n -b '' ") # create a C static library set(CMAKE_C_CREATE_STATIC_LIBRARY ${CMAKE_CXX_CREATE_STATIC_LIBRARY}) if(NOT _CMAKE_WATCOM_VERSION) set(_CMAKE_WATCOM_VERSION 1) if(CMAKE_C_COMPILER_VERSION) set(_compiler_version ${CMAKE_C_COMPILER_VERSION}) else() set(_compiler_version ${CMAKE_CXX_COMPILER_VERSION}) endif() set(WATCOM16) set(WATCOM17) set(WATCOM18) set(WATCOM19) if("${_compiler_version}" LESS 12.70) set(WATCOM16 1) endif() if("${_compiler_version}" EQUAL 12.70) set(WATCOM17 1) endif() if("${_compiler_version}" EQUAL 12.80) set(WATCOM18 1) endif() if("${_compiler_version}" EQUAL 12.90) set(WATCOM19 1) endif() endif() cmake-2.8.12.2/Modules/Platform/Windows-windres.cmake000644 000765 000024 00000000137 12266011634 023140 0ustar00kitwarestaff000000 000000 set(CMAKE_RC_COMPILE_OBJECT " -O coff ") cmake-2.8.12.2/Modules/Platform/Windows.cmake000644 000765 000024 00000002145 12266011634 021470 0ustar00kitwarestaff000000 000000 set(WIN32 1) set(CMAKE_STATIC_LIBRARY_PREFIX "") set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib") set(CMAKE_SHARED_LIBRARY_PREFIX "") # lib set(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") # .so set(CMAKE_IMPORT_LIBRARY_PREFIX "") set(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib") set(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe set(CMAKE_LINK_LIBRARY_SUFFIX ".lib") set(CMAKE_DL_LIBS "") set(CMAKE_FIND_LIBRARY_PREFIXES "") set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib") # for borland make long command lines are redirected to a file # with the following syntax, see Windows-bcc32.cmake for use if(CMAKE_GENERATOR MATCHES "Borland") set(CMAKE_START_TEMP_FILE "@&&|\n") set(CMAKE_END_TEMP_FILE "\n|") endif() # for nmake make long command lines are redirected to a file # with the following syntax, see Windows-bcc32.cmake for use if(CMAKE_GENERATOR MATCHES "NMake") set(CMAKE_START_TEMP_FILE "@<<\n") set(CMAKE_END_TEMP_FILE "\n<<") endif() include(Platform/WindowsPaths) # uncomment these out to debug nmake and borland makefiles #set(CMAKE_START_TEMP_FILE "") #set(CMAKE_END_TEMP_FILE "") #set(CMAKE_VERBOSE_MAKEFILE 1) cmake-2.8.12.2/Modules/Platform/WindowsCE-MSVC-C.cmake000644 000765 000024 00000000041 12266011634 022617 0ustar00kitwarestaff000000 000000 include(Platform/Windows-MSVC-C) cmake-2.8.12.2/Modules/Platform/WindowsCE-MSVC-CXX.cmake000644 000765 000024 00000000043 12266011634 023101 0ustar00kitwarestaff000000 000000 include(Platform/Windows-MSVC-CXX) cmake-2.8.12.2/Modules/Platform/WindowsCE-MSVC.cmake000644 000765 000024 00000000037 12266011634 022444 0ustar00kitwarestaff000000 000000 include(Platform/Windows-MSVC) cmake-2.8.12.2/Modules/Platform/WindowsCE.cmake000644 000765 000024 00000000032 12266011634 021671 0ustar00kitwarestaff000000 000000 include(Platform/Windows) cmake-2.8.12.2/Modules/Platform/WindowsPaths.cmake000644 000765 000024 00000006671 12266011634 022500 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Block multiple inclusion because "CMakeCInformation.cmake" includes # "Platform/${CMAKE_SYSTEM_NAME}" even though the generic module # "CMakeSystemSpecificInformation.cmake" already included it. # The extra inclusion is a work-around documented next to the include() # call, so this can be removed when the work-around is removed. if(__WINDOWS_PATHS_INCLUDED) return() endif() set(__WINDOWS_PATHS_INCLUDED 1) # Add the program-files folder(s) to the list of installation # prefixes. # # Windows 64-bit Binary: # ENV{ProgramFiles(x86)} = [C:\Program Files (x86)] # ENV{ProgramFiles} = [C:\Program Files] # ENV{ProgramW6432} = # (executed from cygwin): # ENV{ProgramFiles(x86)} = # ENV{ProgramFiles} = [C:\Program Files] # ENV{ProgramW6432} = # # Windows 32-bit Binary: # ENV{ProgramFiles(x86)} = [C:\Program Files (x86)] # ENV{ProgramFiles} = [C:\Program Files (x86)] # ENV{ProgramW6432} = [C:\Program Files] # (executed from cygwin): # ENV{ProgramFiles(x86)} = # ENV{ProgramFiles} = [C:\Program Files (x86)] # ENV{ProgramW6432} = [C:\Program Files] if(DEFINED "ENV{ProgramW6432}") # 32-bit binary on 64-bit windows. # The 64-bit program files are in ProgramW6432. list(APPEND CMAKE_SYSTEM_PREFIX_PATH "$ENV{ProgramW6432}") # The 32-bit program files are in ProgramFiles. if(DEFINED "ENV{ProgramFiles}") list(APPEND CMAKE_SYSTEM_PREFIX_PATH "$ENV{ProgramFiles}") endif() else() # 64-bit binary, or 32-bit binary on 32-bit windows. if(DEFINED "ENV{ProgramFiles}") list(APPEND CMAKE_SYSTEM_PREFIX_PATH "$ENV{ProgramFiles}") endif() if(DEFINED "ENV{ProgramFiles(x86)}") # 64-bit binary. 32-bit program files are in ProgramFiles(x86). list(APPEND CMAKE_SYSTEM_PREFIX_PATH "$ENV{ProgramFiles(x86)}") elseif(DEFINED "ENV{SystemDrive}") # Guess the 32-bit program files location. if(EXISTS "$ENV{SystemDrive}/Program Files (x86)") list(APPEND CMAKE_SYSTEM_PREFIX_PATH "$ENV{SystemDrive}/Program Files (x86)") endif() endif() endif() # Add the CMake install location. get_filename_component(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH) get_filename_component(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH) list(APPEND CMAKE_SYSTEM_PREFIX_PATH "${_CMAKE_INSTALL_DIR}") # Add other locations. list(APPEND CMAKE_SYSTEM_PREFIX_PATH # Project install destination. "${CMAKE_INSTALL_PREFIX}" ) if(CMAKE_CROSSCOMPILING AND NOT CMAKE_HOST_SYSTEM_NAME MATCHES "Windows") # MinGW (useful when cross compiling from linux with CMAKE_FIND_ROOT_PATH set) list(APPEND CMAKE_SYSTEM_PREFIX_PATH /) endif() list(APPEND CMAKE_SYSTEM_INCLUDE_PATH ) # mingw can also link against dlls which can also be in /bin, so list this too list(APPEND CMAKE_SYSTEM_LIBRARY_PATH "${CMAKE_INSTALL_PREFIX}/bin" "${_CMAKE_INSTALL_DIR}/bin" /bin ) list(APPEND CMAKE_SYSTEM_PROGRAM_PATH ) cmake-2.8.12.2/Modules/Platform/Xenix.cmake000644 000765 000024 00000000035 12266011634 021125 0ustar00kitwarestaff000000 000000 include(Platform/UnixPaths) cmake-2.8.12.2/Modules/ProcessorCount.cmake000644 000765 000024 00000015540 12266011634 021245 0ustar00kitwarestaff000000 000000 # - ProcessorCount(var) # Determine the number of processors/cores and save value in ${var} # # Sets the variable named ${var} to the number of physical cores available on # the machine if the information can be determined. Otherwise it is set to 0. # Currently this functionality is implemented for AIX, cygwin, FreeBSD, HPUX, # IRIX, Linux, Mac OS X, QNX, Sun and Windows. # # This function is guaranteed to return a positive integer (>=1) if it # succeeds. It returns 0 if there's a problem determining the processor count. # # Example use, in a ctest -S dashboard script: # # include(ProcessorCount) # ProcessorCount(N) # if(NOT N EQUAL 0) # set(CTEST_BUILD_FLAGS -j${N}) # set(ctest_test_args ${ctest_test_args} PARALLEL_LEVEL ${N}) # endif() # # This function is intended to offer an approximation of the value of the # number of compute cores available on the current machine, such that you # may use that value for parallel building and parallel testing. It is meant # to help utilize as much of the machine as seems reasonable. Of course, # knowledge of what else might be running on the machine simultaneously # should be used when deciding whether to request a machine's full capacity # all for yourself. # A more reliable way might be to compile a small C program that uses the CPUID # instruction, but that again requires compiler support or compiling assembler # code. #============================================================================= # Copyright 2010-2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) function(ProcessorCount var) # Unknown: set(count 0) if(WIN32) # Windows: set(count "$ENV{NUMBER_OF_PROCESSORS}") #message("ProcessorCount: WIN32, trying environment variable") endif() if(NOT count) # Mac, FreeBSD, OpenBSD (systems with sysctl): find_program(ProcessorCount_cmd_sysctl sysctl PATHS /usr/sbin /sbin) mark_as_advanced(ProcessorCount_cmd_sysctl) if(ProcessorCount_cmd_sysctl) execute_process(COMMAND ${ProcessorCount_cmd_sysctl} -n hw.ncpu ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE count) #message("ProcessorCount: trying sysctl '${ProcessorCount_cmd_sysctl}'") endif() endif() if(NOT count) # Linux (systems with getconf): find_program(ProcessorCount_cmd_getconf getconf) mark_as_advanced(ProcessorCount_cmd_getconf) if(ProcessorCount_cmd_getconf) execute_process(COMMAND ${ProcessorCount_cmd_getconf} _NPROCESSORS_ONLN ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE count) #message("ProcessorCount: trying getconf '${ProcessorCount_cmd_getconf}'") endif() endif() if(NOT count) # HPUX (systems with machinfo): find_program(ProcessorCount_cmd_machinfo machinfo PATHS /usr/contrib/bin) mark_as_advanced(ProcessorCount_cmd_machinfo) if(ProcessorCount_cmd_machinfo) execute_process(COMMAND ${ProcessorCount_cmd_machinfo} ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE machinfo_output) string(REGEX MATCHALL "Number of CPUs = ([0-9]+)" procs "${machinfo_output}") set(count "${CMAKE_MATCH_1}") #message("ProcessorCount: trying machinfo '${ProcessorCount_cmd_machinfo}'") endif() endif() if(NOT count) # IRIX (systems with hinv): find_program(ProcessorCount_cmd_hinv hinv PATHS /sbin) mark_as_advanced(ProcessorCount_cmd_hinv) if(ProcessorCount_cmd_hinv) execute_process(COMMAND ${ProcessorCount_cmd_hinv} ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE hinv_output) string(REGEX MATCHALL "([0-9]+) .* Processors" procs "${hinv_output}") set(count "${CMAKE_MATCH_1}") #message("ProcessorCount: trying hinv '${ProcessorCount_cmd_hinv}'") endif() endif() if(NOT count) # AIX (systems with lsconf): find_program(ProcessorCount_cmd_lsconf lsconf PATHS /usr/sbin) mark_as_advanced(ProcessorCount_cmd_lsconf) if(ProcessorCount_cmd_lsconf) execute_process(COMMAND ${ProcessorCount_cmd_lsconf} ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE lsconf_output) string(REGEX MATCHALL "Number Of Processors: ([0-9]+)" procs "${lsconf_output}") set(count "${CMAKE_MATCH_1}") #message("ProcessorCount: trying lsconf '${ProcessorCount_cmd_lsconf}'") endif() endif() if(NOT count) # QNX (systems with pidin): find_program(ProcessorCount_cmd_pidin pidin) mark_as_advanced(ProcessorCount_cmd_pidin) if(ProcessorCount_cmd_pidin) execute_process(COMMAND ${ProcessorCount_cmd_pidin} info ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE pidin_output) string(REGEX MATCHALL "Processor[0-9]+: " procs "${pidin_output}") list(LENGTH procs count) #message("ProcessorCount: trying pidin '${ProcessorCount_cmd_pidin}'") endif() endif() if(NOT count) # Sun (systems where uname -X emits "NumCPU" in its output): find_program(ProcessorCount_cmd_uname uname) mark_as_advanced(ProcessorCount_cmd_uname) if(ProcessorCount_cmd_uname) execute_process(COMMAND ${ProcessorCount_cmd_uname} -X ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE uname_X_output) string(REGEX MATCHALL "NumCPU = ([0-9]+)" procs "${uname_X_output}") set(count "${CMAKE_MATCH_1}") #message("ProcessorCount: trying uname -X '${ProcessorCount_cmd_uname}'") endif() endif() # Execute this code when all previously attempted methods return empty # output: # if(NOT count) # Systems with /proc/cpuinfo: set(cpuinfo_file /proc/cpuinfo) if(EXISTS "${cpuinfo_file}") file(STRINGS "${cpuinfo_file}" procs REGEX "^processor.: [0-9]+$") list(LENGTH procs count) #message("ProcessorCount: trying cpuinfo '${cpuinfo_file}'") endif() endif() # Since cygwin builds of CMake do not define WIN32 anymore, but they still # run on Windows, and will still have this env var defined: # if(NOT count) set(count "$ENV{NUMBER_OF_PROCESSORS}") #message("ProcessorCount: last fallback, trying environment variable") endif() # Ensure an integer return (avoid inadvertently returning an empty string # or an error string)... If it's not a decimal integer, return 0: # if(NOT count MATCHES "^[0-9]+$") set(count 0) endif() set(${var} ${count} PARENT_SCOPE) endfunction() cmake-2.8.12.2/Modules/Qt4ConfigDependentSettings.cmake000644 000765 000024 00000017632 12266011634 023427 0ustar00kitwarestaff000000 000000 # This file is included by FindQt4.cmake, don't include it directly. #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) ############################################### # # configuration/system dependent settings # ############################################### # find dependencies for some Qt modules # when doing builds against a static Qt, they are required # when doing builds against a shared Qt, they are not required # if a user needs the dependencies, and they couldn't be found, they can set # the variables themselves. set(QT_QTGUI_LIB_DEPENDENCIES "") set(QT_QTCORE_LIB_DEPENDENCIES "") set(QT_QTNETWORK_LIB_DEPENDENCIES "") set(QT_QTOPENGL_LIB_DEPENDENCIES "") set(QT_QTDBUS_LIB_DEPENDENCIES "") set(QT_QTHELP_LIB_DEPENDENCIES ${QT_QTCLUCENE_LIBRARY}) if(Q_WS_WIN) # On Windows, qconfig.pri has "shared" for shared library builds if(NOT QT_CONFIG MATCHES "shared") set(QT_IS_STATIC 1) endif() else() # On other platforms, check file extension to know if its static if(QT_QTCORE_LIBRARY_RELEASE) get_filename_component(qtcore_lib_ext "${QT_QTCORE_LIBRARY_RELEASE}" EXT) if("${qtcore_lib_ext}" STREQUAL "${CMAKE_STATIC_LIBRARY_SUFFIX}") set(QT_IS_STATIC 1) endif() endif() if(QT_QTCORE_LIBRARY_DEBUG) get_filename_component(qtcore_lib_ext "${QT_QTCORE_LIBRARY_DEBUG}" EXT) if(${qtcore_lib_ext} STREQUAL ${CMAKE_STATIC_LIBRARY_SUFFIX}) set(QT_IS_STATIC 1) endif() endif() endif() # build using shared Qt needs -DQT_DLL on Windows if(Q_WS_WIN AND NOT QT_IS_STATIC) set(QT_DEFINITIONS ${QT_DEFINITIONS} -DQT_DLL) endif() if(NOT QT_IS_STATIC) return() endif() # QtOpenGL dependencies find_package(OpenGL) set (QT_QTOPENGL_LIB_DEPENDENCIES ${OPENGL_glu_LIBRARY} ${OPENGL_gl_LIBRARY}) ## system png if(QT_QCONFIG MATCHES "system-png") find_package(PNG) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${PNG_LIBRARY}) endif() ## system jpeg if(QT_QCONFIG MATCHES "system-jpeg") find_package(JPEG) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${JPEG_LIBRARIES}) endif() ## system tiff if(QT_QCONFIG MATCHES "system-tiff") find_package(TIFF) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${TIFF_LIBRARIES}) endif() ## system mng if(QT_QCONFIG MATCHES "system-mng") find_library(MNG_LIBRARY NAMES mng) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${MNG_LIBRARY}) endif() # for X11, get X11 library directory if(Q_WS_X11) find_package(X11) endif() ## X11 SM if(QT_QCONFIG MATCHES "x11sm") if(X11_SM_LIB AND X11_ICE_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_SM_LIB} ${X11_ICE_LIB}) endif() endif() ## Xi if(QT_QCONFIG MATCHES "tablet") if(X11_Xi_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xi_LIB}) endif() endif() ## Xrender if(QT_QCONFIG MATCHES "xrender") if(X11_Xrender_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xrender_LIB}) endif() endif() ## Xrandr if(QT_QCONFIG MATCHES "xrandr") if(X11_Xrandr_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xrandr_LIB}) endif() endif() ## Xcursor if(QT_QCONFIG MATCHES "xcursor") if(X11_Xcursor_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xcursor_LIB}) endif() endif() ## Xinerama if(QT_QCONFIG MATCHES "xinerama") if(X11_Xinerama_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xinerama_LIB}) endif() endif() ## Xfixes if(QT_QCONFIG MATCHES "xfixes") if(X11_Xfixes_LIB) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xfixes_LIB}) endif() endif() ## fontconfig if(QT_QCONFIG MATCHES "fontconfig") find_library(QT_FONTCONFIG_LIBRARY NAMES fontconfig) mark_as_advanced(QT_FONTCONFIG_LIBRARY) if(QT_FONTCONFIG_LIBRARY) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${QT_FONTCONFIG_LIBRARY}) endif() endif() ## system-freetype if(QT_QCONFIG MATCHES "system-freetype") find_package(Freetype) if(FREETYPE_LIBRARIES) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${FREETYPE_LIBRARIES}) endif() endif() ## system-zlib if(QT_QCONFIG MATCHES "system-zlib") find_package(ZLIB) set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${ZLIB_LIBRARIES}) endif() ## openssl if(NOT Q_WS_WIN) set(_QT_NEED_OPENSSL 0) if(QT_VERSION_MINOR LESS 4 AND QT_QCONFIG MATCHES "openssl") set(_QT_NEED_OPENSSL 1) endif() if(QT_VERSION_MINOR GREATER 3 AND QT_QCONFIG MATCHES "openssl-linked") set(_QT_NEED_OPENSSL 1) endif() if(_QT_NEED_OPENSSL) find_package(OpenSSL) if(OPENSSL_LIBRARIES) set(QT_QTNETWORK_LIB_DEPENDENCIES ${QT_QTNETWORK_LIB_DEPENDENCIES} ${OPENSSL_LIBRARIES}) endif() endif() endif() ## dbus if(QT_QCONFIG MATCHES "dbus") find_library(QT_DBUS_LIBRARY NAMES dbus-1 ) if(QT_DBUS_LIBRARY) set(QT_QTDBUS_LIB_DEPENDENCIES ${QT_QTDBUS_LIB_DEPENDENCIES} ${QT_DBUS_LIBRARY}) endif() mark_as_advanced(QT_DBUS_LIBRARY) endif() ## glib if(QT_QCONFIG MATCHES "glib") # Qt 4.2.0+ uses glib-2.0 find_library(QT_GLIB_LIBRARY NAMES glib-2.0 ) find_library(QT_GTHREAD_LIBRARY NAMES gthread-2.0 ) mark_as_advanced(QT_GLIB_LIBRARY) mark_as_advanced(QT_GTHREAD_LIBRARY) if(QT_GLIB_LIBRARY AND QT_GTHREAD_LIBRARY) set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${QT_GTHREAD_LIBRARY} ${QT_GLIB_LIBRARY}) endif() # Qt 4.5+ also links to gobject-2.0 if(QT_VERSION_MINOR GREATER 4) find_library(QT_GOBJECT_LIBRARY NAMES gobject-2.0 PATHS ${_glib_query_output} ) mark_as_advanced(QT_GOBJECT_LIBRARY) if(QT_GOBJECT_LIBRARY) set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${QT_GOBJECT_LIBRARY}) endif() endif() endif() ## clock-monotonic, just see if we need to link with rt if(QT_QCONFIG MATCHES "clock-monotonic") set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES}) set(CMAKE_REQUIRED_LIBRARIES rt) CHECK_SYMBOL_EXISTS(_POSIX_TIMERS "unistd.h;time.h" QT_POSIX_TIMERS) set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVE}) if(QT_POSIX_TIMERS) find_library(QT_RT_LIBRARY NAMES rt) mark_as_advanced(QT_RT_LIBRARY) if(QT_RT_LIBRARY) set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${QT_RT_LIBRARY}) endif() endif() endif() if(Q_WS_X11) # X11 libraries Qt always depends on set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xext_LIB} ${X11_X11_LIB}) set(CMAKE_THREAD_PREFER_PTHREAD 1) find_package(Threads) if(CMAKE_USE_PTHREADS_INIT) set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${CMAKE_THREAD_LIBS_INIT}) endif() set (QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${CMAKE_DL_LIBS}) endif() if(Q_WS_WIN) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} imm32 winmm) set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ws2_32) endif() if(Q_WS_MAC) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} "-framework Carbon") # Qt 4.0, 4.1, 4.2 use QuickTime if(QT_VERSION_MINOR LESS 3) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} "-framework QuickTime") endif() # Qt 4.2+ use AppKit if(QT_VERSION_MINOR GREATER 1) set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} "-framework AppKit") endif() set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} "-framework ApplicationServices") endif() cmake-2.8.12.2/Modules/Qt4Macros.cmake000644 000765 000024 00000044156 12266011634 020077 0ustar00kitwarestaff000000 000000 # This file is included by FindQt4.cmake, don't include it directly. #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) ###################################### # # Macros for building Qt files # ###################################### macro (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options _qt4_target) set(${_qt4_files}) set(${_qt4_options}) set(_QT4_DOING_OPTIONS FALSE) set(_QT4_DOING_TARGET FALSE) foreach(_currentArg ${ARGN}) if ("x${_currentArg}" STREQUAL "xOPTIONS") set(_QT4_DOING_OPTIONS TRUE) elseif ("x${_currentArg}" STREQUAL "xTARGET") set(_QT4_DOING_TARGET TRUE) else () if(_QT4_DOING_TARGET) set(${_qt4_target} "${_currentArg}") elseif(_QT4_DOING_OPTIONS) list(APPEND ${_qt4_options} "${_currentArg}") else() list(APPEND ${_qt4_files} "${_currentArg}") endif() endif () endforeach() endmacro () # macro used to create the names of output files preserving relative dirs macro (QT4_MAKE_OUTPUT_FILE infile prefix ext outfile ) string(LENGTH ${CMAKE_CURRENT_BINARY_DIR} _binlength) string(LENGTH ${infile} _infileLength) set(_checkinfile ${CMAKE_CURRENT_SOURCE_DIR}) if(_infileLength GREATER _binlength) string(SUBSTRING "${infile}" 0 ${_binlength} _checkinfile) if(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") file(RELATIVE_PATH rel ${CMAKE_CURRENT_BINARY_DIR} ${infile}) else() file(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile}) endif() else() file(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile}) endif() if(WIN32 AND rel MATCHES "^[a-zA-Z]:") # absolute path string(REGEX REPLACE "^([a-zA-Z]):(.*)$" "\\1_\\2" rel "${rel}") endif() set(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${rel}") string(REPLACE ".." "__" _outfile ${_outfile}) get_filename_component(outpath ${_outfile} PATH) get_filename_component(_outfile ${_outfile} NAME_WE) file(MAKE_DIRECTORY ${outpath}) set(${outfile} ${outpath}/${prefix}${_outfile}.${ext}) endmacro () macro (QT4_GET_MOC_FLAGS _moc_flags) set(${_moc_flags}) get_directory_property(_inc_DIRS INCLUDE_DIRECTORIES) foreach(_current ${_inc_DIRS}) if("${_current}" MATCHES "\\.framework/?$") string(REGEX REPLACE "/[^/]+\\.framework" "" framework_path "${_current}") set(${_moc_flags} ${${_moc_flags}} "-F${framework_path}") else() set(${_moc_flags} ${${_moc_flags}} "-I${_current}") endif() endforeach() get_directory_property(_defines COMPILE_DEFINITIONS) foreach(_current ${_defines}) set(${_moc_flags} ${${_moc_flags}} "-D${_current}") endforeach() if(Q_WS_WIN) set(${_moc_flags} ${${_moc_flags}} -DWIN32) endif() endmacro() # helper macro to set up a moc rule macro (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target) # For Windows, create a parameters file to work around command line length limit # Pass the parameters in a file. Set the working directory to # be that containing the parameters file and reference it by # just the file name. This is necessary because the moc tool on # MinGW builds does not seem to handle spaces in the path to the # file given with the @ syntax. get_filename_component(_moc_outfile_name "${outfile}" NAME) get_filename_component(_moc_outfile_dir "${outfile}" PATH) if(_moc_outfile_dir) set(_moc_working_dir WORKING_DIRECTORY ${_moc_outfile_dir}) endif() set (_moc_parameters_file ${outfile}_parameters) set (_moc_parameters ${moc_flags} ${moc_options} -o "${outfile}" "${infile}") string (REPLACE ";" "\n" _moc_parameters "${_moc_parameters}") if(moc_target) set(targetincludes "$") set(targetdefines "$") set(targetincludes "$<$:-I$\n>") set(targetdefines "$<$:-D$\n>") file (GENERATE OUTPUT ${_moc_parameters_file} CONTENT "${targetdefines}${targetincludes}${_moc_parameters}\n" ) set(targetincludes) set(targetdefines) else() file(WRITE ${_moc_parameters_file} "${_moc_parameters}\n") endif() set(_moc_extra_parameters_file @${_moc_parameters_file}) add_custom_command(OUTPUT ${outfile} COMMAND ${QT_MOC_EXECUTABLE} ${_moc_extra_parameters_file} DEPENDS ${infile} ${_moc_working_dir} VERBATIM) endmacro () macro (QT4_GENERATE_MOC infile outfile ) # get include dirs and flags QT4_GET_MOC_FLAGS(moc_flags) get_filename_component(abs_infile ${infile} ABSOLUTE) set(_outfile "${outfile}") if(NOT IS_ABSOLUTE "${outfile}") set(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${outfile}") endif() if ("x${ARGV2}" STREQUAL "xTARGET") set(moc_target ${ARGV3}) endif() QT4_CREATE_MOC_COMMAND(${abs_infile} ${_outfile} "${moc_flags}" "" "${moc_target}") set_source_files_properties(${outfile} PROPERTIES SKIP_AUTOMOC TRUE) # dont run automoc on this file endmacro () # QT4_WRAP_CPP(outfiles inputfile ... ) macro (QT4_WRAP_CPP outfiles ) # get include dirs QT4_GET_MOC_FLAGS(moc_flags) QT4_EXTRACT_OPTIONS(moc_files moc_options moc_target ${ARGN}) foreach (it ${moc_files}) get_filename_component(it ${it} ABSOLUTE) QT4_MAKE_OUTPUT_FILE(${it} moc_ cxx outfile) QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}") set(${outfiles} ${${outfiles}} ${outfile}) endforeach() endmacro () # QT4_WRAP_UI(outfiles inputfile ... ) macro (QT4_WRAP_UI outfiles ) QT4_EXTRACT_OPTIONS(ui_files ui_options ui_target ${ARGN}) foreach (it ${ui_files}) get_filename_component(outfile ${it} NAME_WE) get_filename_component(infile ${it} ABSOLUTE) set(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h) add_custom_command(OUTPUT ${outfile} COMMAND ${QT_UIC_EXECUTABLE} ARGS ${ui_options} -o ${outfile} ${infile} MAIN_DEPENDENCY ${infile} VERBATIM) set(${outfiles} ${${outfiles}} ${outfile}) endforeach () endmacro () # QT4_ADD_RESOURCES(outfiles inputfile ... ) macro (QT4_ADD_RESOURCES outfiles ) QT4_EXTRACT_OPTIONS(rcc_files rcc_options rcc_target ${ARGN}) foreach (it ${rcc_files}) get_filename_component(outfilename ${it} NAME_WE) get_filename_component(infile ${it} ABSOLUTE) get_filename_component(rc_path ${infile} PATH) set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx) set(_RC_DEPENDS) if(EXISTS "${infile}") # parse file for dependencies # all files are absolute paths or relative to the location of the qrc file file(READ "${infile}" _RC_FILE_CONTENTS) string(REGEX MATCHALL "]*>" "" _RC_FILE "${_RC_FILE}") if(NOT IS_ABSOLUTE "${_RC_FILE}") set(_RC_FILE "${rc_path}/${_RC_FILE}") endif() set(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}") endforeach() unset(_RC_FILES) unset(_RC_FILE_CONTENTS) # Since this cmake macro is doing the dependency scanning for these files, # let's make a configured file and add it as a dependency so cmake is run # again when dependencies need to be recomputed. QT4_MAKE_OUTPUT_FILE("${infile}" "" "qrc.depends" out_depends) configure_file("${infile}" "${out_depends}" COPY_ONLY) else() # The .qrc file does not exist (yet). Let's add a dependency and hope # that it will be generated later set(out_depends) endif() add_custom_command(OUTPUT ${outfile} COMMAND ${QT_RCC_EXECUTABLE} ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile} MAIN_DEPENDENCY ${infile} DEPENDS ${_RC_DEPENDS} "${out_depends}" VERBATIM) set(${outfiles} ${${outfiles}} ${outfile}) endforeach () endmacro () macro(QT4_ADD_DBUS_INTERFACE _sources _interface _basename) get_filename_component(_infile ${_interface} ABSOLUTE) set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h") set(_impl "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp") set(_moc "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc") get_source_file_property(_nonamespace ${_interface} NO_NAMESPACE) if(_nonamespace) set(_params -N -m) else() set(_params -m) endif() get_source_file_property(_classname ${_interface} CLASSNAME) if(_classname) set(_params ${_params} -c ${_classname}) endif() get_source_file_property(_include ${_interface} INCLUDE) if(_include) set(_params ${_params} -i ${_include}) endif() add_custom_command(OUTPUT "${_impl}" "${_header}" COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} ${_params} -p ${_basename} ${_infile} DEPENDS ${_infile} VERBATIM) set_source_files_properties("${_impl}" PROPERTIES SKIP_AUTOMOC TRUE) QT4_GENERATE_MOC("${_header}" "${_moc}") list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}") MACRO_ADD_FILE_DEPENDENCIES("${_impl}" "${_moc}") endmacro() macro(QT4_ADD_DBUS_INTERFACES _sources) foreach (_current_FILE ${ARGN}) get_filename_component(_infile ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_current_FILE} NAME) # get the part before the ".xml" suffix string(TOLOWER ${_basename} _basename) string(REGEX REPLACE "(.*\\.)?([^\\.]+)\\.xml" "\\2" _basename ${_basename}) QT4_ADD_DBUS_INTERFACE(${_sources} ${_infile} ${_basename}interface) endforeach () endmacro() macro(QT4_GENERATE_DBUS_INTERFACE _header) # _customName OPTIONS -some -options ) QT4_EXTRACT_OPTIONS(_customName _qt4_dbus_options _qt4_dbus_target ${ARGN}) get_filename_component(_in_file ${_header} ABSOLUTE) get_filename_component(_basename ${_header} NAME_WE) if (_customName) if (IS_ABSOLUTE ${_customName}) get_filename_component(_containingDir ${_customName} PATH) if (NOT EXISTS ${_containingDir}) file(MAKE_DIRECTORY "${_containingDir}") endif() set(_target ${_customName}) else() set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_customName}) endif() else () set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.xml) endif () add_custom_command(OUTPUT ${_target} COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} -o ${_target} DEPENDS ${_in_file} VERBATIM ) endmacro() macro(QT4_ADD_DBUS_ADAPTOR _sources _xml_file _include _parentClass) # _optionalBasename _optionalClassName) get_filename_component(_infile ${_xml_file} ABSOLUTE) set(_optionalBasename "${ARGV4}") if (_optionalBasename) set(_basename ${_optionalBasename} ) else () string(REGEX REPLACE "(.*[/\\.])?([^\\.]+)\\.xml" "\\2adaptor" _basename ${_infile}) string(TOLOWER ${_basename} _basename) endif () set(_optionalClassName "${ARGV5}") set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h") set(_impl "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp") set(_moc "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc") if(_optionalClassName) add_custom_command(OUTPUT "${_impl}" "${_header}" COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -c ${_optionalClassName} -i ${_include} -l ${_parentClass} ${_infile} DEPENDS ${_infile} VERBATIM ) else() add_custom_command(OUTPUT "${_impl}" "${_header}" COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -i ${_include} -l ${_parentClass} ${_infile} DEPENDS ${_infile} VERBATIM ) endif() QT4_GENERATE_MOC("${_header}" "${_moc}") set_source_files_properties("${_impl}" PROPERTIES SKIP_AUTOMOC TRUE) MACRO_ADD_FILE_DEPENDENCIES("${_impl}" "${_moc}") list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}") endmacro() macro(QT4_AUTOMOC) if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11) if(CMAKE_WARN_DEPRECATED) set(messageType WARNING) endif() if(CMAKE_ERROR_DEPRECATED) set(messageType FATAL_ERROR) endif() if(messageType) message(${messageType} "The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.") endif() endif() QT4_GET_MOC_FLAGS(_moc_INCS) set(_matching_FILES ) foreach (_current_FILE ${ARGN}) get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) # if "SKIP_AUTOMOC" is set to true, we will not handle this file here. # This is required to make uic work correctly: # we need to add generated .cpp files to the sources (to compile them), # but we cannot let automoc handle them, as the .cpp files don't exist yet when # cmake is run for the very first time on them -> however the .cpp files might # exist at a later run. at that time we need to skip them, so that we don't add two # different rules for the same moc file get_source_file_property(_skip ${_abs_FILE} SKIP_AUTOMOC) if ( NOT _skip AND EXISTS ${_abs_FILE} ) file(READ ${_abs_FILE} _contents) get_filename_component(_abs_PATH ${_abs_FILE} PATH) string(REGEX MATCHALL "# *include +[^ ]+\\.moc[\">]" _match "${_contents}") if(_match) foreach (_current_MOC_INC ${_match}) string(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}") get_filename_component(_basename ${_current_MOC} NAME_WE) if(EXISTS ${_abs_PATH}/${_basename}.hpp) set(_header ${_abs_PATH}/${_basename}.hpp) else() set(_header ${_abs_PATH}/${_basename}.h) endif() set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC}) QT4_CREATE_MOC_COMMAND(${_header} ${_moc} "${_moc_INCS}" "" "") MACRO_ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc}) endforeach () endif() endif () endforeach () endmacro() macro(QT4_CREATE_TRANSLATION _qm_files) QT4_EXTRACT_OPTIONS(_lupdate_files _lupdate_options _lupdate_target ${ARGN}) set(_my_sources) set(_my_dirs) set(_my_tsfiles) set(_ts_pro) foreach (_file ${_lupdate_files}) get_filename_component(_ext ${_file} EXT) get_filename_component(_abs_FILE ${_file} ABSOLUTE) if(_ext MATCHES "ts") list(APPEND _my_tsfiles ${_abs_FILE}) else() if(NOT _ext) list(APPEND _my_dirs ${_abs_FILE}) else() list(APPEND _my_sources ${_abs_FILE}) endif() endif() endforeach() foreach(_ts_file ${_my_tsfiles}) if(_my_sources) # make a .pro file to call lupdate on, so we don't make our commands too # long for some systems get_filename_component(_ts_name ${_ts_file} NAME_WE) set(_ts_pro ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${_ts_name}_lupdate.pro) set(_pro_srcs) foreach(_pro_src ${_my_sources}) set(_pro_srcs "${_pro_srcs} \"${_pro_src}\"") endforeach() set(_pro_includes) get_directory_property(_inc_DIRS INCLUDE_DIRECTORIES) foreach(_pro_include ${_inc_DIRS}) get_filename_component(_abs_include "${_pro_include}" ABSOLUTE) set(_pro_includes "${_pro_includes} \"${_abs_include}\"") endforeach() file(WRITE ${_ts_pro} "SOURCES = ${_pro_srcs}\nINCLUDEPATH = ${_pro_includes}\n") endif() add_custom_command(OUTPUT ${_ts_file} COMMAND ${QT_LUPDATE_EXECUTABLE} ARGS ${_lupdate_options} ${_ts_pro} ${_my_dirs} -ts ${_ts_file} DEPENDS ${_my_sources} ${_ts_pro} VERBATIM) endforeach() QT4_ADD_TRANSLATION(${_qm_files} ${_my_tsfiles}) endmacro() macro(QT4_ADD_TRANSLATION _qm_files) foreach (_current_FILE ${ARGN}) get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) get_filename_component(qm ${_abs_FILE} NAME_WE) get_source_file_property(output_location ${_abs_FILE} OUTPUT_LOCATION) if(output_location) file(MAKE_DIRECTORY "${output_location}") set(qm "${output_location}/${qm}.qm") else() set(qm "${CMAKE_CURRENT_BINARY_DIR}/${qm}.qm") endif() add_custom_command(OUTPUT ${qm} COMMAND ${QT_LRELEASE_EXECUTABLE} ARGS ${_abs_FILE} -qm ${qm} DEPENDS ${_abs_FILE} VERBATIM ) set(${_qm_files} ${${_qm_files}} ${qm}) endforeach () endmacro() function(qt4_use_modules _target _link_type) if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11) if(CMAKE_WARN_DEPRECATED) set(messageType WARNING) endif() if(CMAKE_ERROR_DEPRECATED) set(messageType FATAL_ERROR) endif() if(messageType) message(${messageType} "The qt4_use_modules function is obsolete. Use target_link_libraries with IMPORTED targets instead.") endif() endif() if ("${_link_type}" STREQUAL "LINK_PUBLIC" OR "${_link_type}" STREQUAL "LINK_PRIVATE") set(modules ${ARGN}) set(link_type ${_link_type}) else() set(modules ${_link_type} ${ARGN}) endif() foreach(_module ${modules}) string(TOUPPER ${_module} _ucmodule) set(_targetPrefix QT_QT${_ucmodule}) if (_ucmodule STREQUAL QAXCONTAINER OR _ucmodule STREQUAL QAXSERVER) if (NOT QT_Q${_ucmodule}_FOUND) message(FATAL_ERROR "Can not use \"${_module}\" module which has not yet been found.") endif() set(_targetPrefix QT_Q${_ucmodule}) else() if (NOT QT_QT${_ucmodule}_FOUND) message(FATAL_ERROR "Can not use \"${_module}\" module which has not yet been found.") endif() if ("${_ucmodule}" STREQUAL "MAIN") message(FATAL_ERROR "Can not use \"${_module}\" module with qt4_use_modules.") endif() endif() target_link_libraries(${_target} ${link_type} ${${_targetPrefix}_LIBRARIES}) set_property(TARGET ${_target} APPEND PROPERTY INCLUDE_DIRECTORIES ${${_targetPrefix}_INCLUDE_DIR} ${QT_HEADERS_DIR} ${QT_MKSPECS_DIR}/default) set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS ${${_targetPrefix}_COMPILE_DEFINITIONS}) endforeach() endfunction() cmake-2.8.12.2/Modules/readme.txt000644 000765 000024 00000022144 12266011634 017247 0ustar00kitwarestaff000000 000000 For more information about how to contribute modules to CMake, see this page: http://www.itk.org/Wiki/CMake:Module_Maintainers Note to authors of FindXxx.cmake files We would like all FindXxx.cmake files to produce consistent variable names. Please use the following consistent variable names for general use. Xxx_INCLUDE_DIRS The final set of include directories listed in one variable for use by client code. This should not be a cache entry. Xxx_LIBRARIES The libraries to link against to use Xxx. These should include full paths. This should not be a cache entry. Xxx_DEFINITIONS Definitions to use when compiling code that uses Xxx. This really shouldn't include options such as (-DHAS_JPEG)that a client source-code file uses to decide whether to #include Xxx_EXECUTABLE Where to find the Xxx tool. Xxx_Yyy_EXECUTABLE Where to find the Yyy tool that comes with Xxx. Xxx_LIBRARY_DIRS Optionally, the final set of library directories listed in one variable for use by client code. This should not be a cache entry. Xxx_ROOT_DIR Where to find the base directory of Xxx. Xxx_VERSION_Yy Expect Version Yy if true. Make sure at most one of these is ever true. Xxx_WRAP_Yy If False, do not try to use the relevant CMake wrapping command. Xxx_Yy_FOUND If False, optional Yy part of Xxx sytem is not available. Xxx_FOUND Set to false, or undefined, if we haven't found, or don't want to use Xxx. Xxx_NOT_FOUND_MESSAGE Should be set by config-files in the case that it has set Xxx_FOUND to FALSE. The contained message will be printed by the find_package() command and by find_package_handle_standard_args() to inform the user about the problem. Xxx_RUNTIME_LIBRARY_DIRS Optionally, the runtime library search path for use when running an executable linked to shared libraries. The list should be used by user code to create the PATH on windows or LD_LIBRARY_PATH on unix. This should not be a cache entry. Xxx_VERSION_STRING A human-readable string containing the version of the package found, if any. Xxx_VERSION_MAJOR The major version of the package found, if any. Xxx_VERSION_MINOR The minor version of the package found, if any. Xxx_VERSION_PATCH The patch version of the package found, if any. You do not have to provide all of the above variables. You should provide Xxx_FOUND under most circumstances. If Xxx is a library, then Xxx_LIBRARIES, should also be defined, and Xxx_INCLUDE_DIRS should usually be defined (I guess libm.a might be an exception) The following names should not usually be used in CMakeLists.txt files, but they may be usefully modified in users' CMake Caches to control stuff. Xxx_LIBRARY Name of Xxx Library. A User may set this and Xxx_INCLUDE_DIR to ignore to force non-use of Xxx. Xxx_Yy_LIBRARY Name of Yy library that is part of the Xxx system. It may or may not be required to use Xxx. Xxx_INCLUDE_DIR Where to find xxx.h, etc. (Xxx_INCLUDE_PATH was considered bad because a path includes an actual filename.) Xxx_Yy_INCLUDE_DIR Where to find xxx_yy.h, etc. For tidiness's sake, try to keep as many options as possible out of the cache, leaving at least one option which can be used to disable use of the module, or locate a not-found library (e.g. Xxx_ROOT_DIR). For the same reason, mark most cache options as advanced. If you need other commands to do special things then it should still begin with Xxx_. This gives a sort of namespace effect and keeps things tidy for the user. You should put comments describing all the exported settings, plus descriptions of any the users can use to control stuff. You really should also provide backwards compatibility any old settings that were actually in use. Make sure you comment them as deprecated, so that no-one starts using them. To correctly document a module, create a comment block at the top with # comments. There are three types of comments that can be in the block: 1. The brief description of the module, this is done by: # - a small description 2. A paragraph of text. This is done with all text that has a single space between the # and the text. To create a new paragraph, just put a # with no text on the line. 3. A verbatim line. This is done with two spaces between the # and the text. For example: # - This is a cool module # This module does really cool stuff. # It can do even more than you think. # # It even needs to paragraphs to tell you about it. # And it defines the following variables: # VAR_COOL - this is great isn't it? # VAR_REALLY_COOL - cool right? # Test the documentation formatting by running "cmake --help-module FindXxx". Edit the comments until the output of this command looks satisfactory. To have a .cmake file in this directory NOT show up in the modules documentation, you should start the file with a blank line. After the documentation, leave a *BLANK* line, and then add a copyright and licence notice block like this one: #============================================================================= # Copyright 2009-2011 Your Name # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) The layout of the notice block is strictly enforced by the ModuleNotices test. Only the year range and name may be changed freely. A FindXxx.cmake module will typically be loaded by the command FIND_PACKAGE(Xxx [major[.minor[.patch[.tweak]]]] [EXACT] [QUIET] [[REQUIRED|COMPONENTS] [components...]]) If any version numbers are given to the command it will set the following variables before loading the module: Xxx_FIND_VERSION = full requested version string Xxx_FIND_VERSION_MAJOR = major version if requested, else 0 Xxx_FIND_VERSION_MINOR = minor version if requested, else 0 Xxx_FIND_VERSION_PATCH = patch version if requested, else 0 Xxx_FIND_VERSION_TWEAK = tweak version if requested, else 0 Xxx_FIND_VERSION_COUNT = number of version components, 0 to 4 Xxx_FIND_VERSION_EXACT = true if EXACT option was given If the find module supports versioning it should locate a version of the package that is compatible with the version requested. If a compatible version of the package cannot be found the module should not report success. The version of the package found should be stored in "Xxx_VERSION..." version variables documented by the module. If the QUIET option is given to the command it will set the variable Xxx_FIND_QUIETLY to true before loading the FindXxx.cmake module. If this variable is set the module should not complain about not being able to find the package. If the REQUIRED option is given to the command it will set the variable Xxx_FIND_REQUIRED to true before loading the FindXxx.cmake module. If this variable is set the module should issue a FATAL_ERROR if the package cannot be found. If neither the QUIET nor REQUIRED options are given then the FindXxx.cmake module should look for the package and complain without error if the module is not found. FIND_PACKAGE() will set the variable CMAKE_FIND_PACKAGE_NAME to contain the actual name of the package. A package can provide sub-components. Those components can be listed after the COMPONENTS (or REQUIRED) or OPTIONAL_COMPONENTS keywords. The set of all listed components will be specified in a Xxx_FIND_COMPONENTS variable. For each package-specific component, say Yyy, a variable Xxx_FIND_REQUIRED_Yyy will be set to true if it listed after COMPONENTS and it will be set to false if it was listed after OPTIONAL_COMPONENTS. Using those variables a FindXxx.cmake module and also a XxxConfig.cmake package configuration file can determine whether and which components have been requested, and whether they were requested as required or as optional. For each of the requested components a Xxx_Yyy_FOUND variable should be set accordingly. The per-package Xxx_FOUND variable should be only set to true if all requested required components have been found. A missing optional component should not keep the Xxx_FOUND variable from being set to true. If the package provides Xxx_INCLUDE_DIRS and Xxx_LIBRARIES variables, the include dirs and libraries for all components which were requested and which have been found should be added to those two variables. To get this behaviour you can use the FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro, as an example see FindJPEG.cmake. For internal implementation, it's a generally accepted convention that variables starting with underscore are for temporary use only. (variable starting with an underscore are not intended as a reserved prefix). cmake-2.8.12.2/Modules/RepositoryInfo.txt.in000644 000765 000024 00000000070 12266011634 021404 0ustar00kitwarestaff000000 000000 repository='@repository@' module='@module@' tag='@tag@' cmake-2.8.12.2/Modules/SelectLibraryConfigurations.cmake000644 000765 000024 00000006614 12266011634 023736 0ustar00kitwarestaff000000 000000 # select_library_configurations( basename ) # # This macro takes a library base name as an argument, and will choose good # values for basename_LIBRARY, basename_LIBRARIES, basename_LIBRARY_DEBUG, and # basename_LIBRARY_RELEASE depending on what has been found and set. If only # basename_LIBRARY_RELEASE is defined, basename_LIBRARY will be set to the # release value, and basename_LIBRARY_DEBUG will be set to # basename_LIBRARY_DEBUG-NOTFOUND. If only basename_LIBRARY_DEBUG is defined, # then basename_LIBRARY will take the debug value, and basename_LIBRARY_RELEASE # will be set to basename_LIBRARY_RELEASE-NOTFOUND. # # If the generator supports configuration types, then basename_LIBRARY and # basename_LIBRARIES will be set with debug and optimized flags specifying the # library to be used for the given configuration. If no build type has been set # or the generator in use does not support configuration types, then # basename_LIBRARY and basename_LIBRARIES will take only the release value, or # the debug value if the release one is not set. #============================================================================= # Copyright 2009 Will Dicharry # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This macro was adapted from the FindQt4 CMake module and is maintained by Will # Dicharry . macro( select_library_configurations basename ) if(NOT ${basename}_LIBRARY_RELEASE) set(${basename}_LIBRARY_RELEASE "${basename}_LIBRARY_RELEASE-NOTFOUND" CACHE FILEPATH "Path to a library.") endif() if(NOT ${basename}_LIBRARY_DEBUG) set(${basename}_LIBRARY_DEBUG "${basename}_LIBRARY_DEBUG-NOTFOUND" CACHE FILEPATH "Path to a library.") endif() if( ${basename}_LIBRARY_DEBUG AND ${basename}_LIBRARY_RELEASE AND NOT ${basename}_LIBRARY_DEBUG STREQUAL ${basename}_LIBRARY_RELEASE AND ( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE ) ) # if the generator supports configuration types or CMAKE_BUILD_TYPE # is set, then set optimized and debug options. set( ${basename}_LIBRARY "" ) foreach( _libname IN LISTS ${basename}_LIBRARY_RELEASE ) list( APPEND ${basename}_LIBRARY optimized "${_libname}" ) endforeach() foreach( _libname IN LISTS ${basename}_LIBRARY_DEBUG ) list( APPEND ${basename}_LIBRARY debug "${_libname}" ) endforeach() elseif( ${basename}_LIBRARY_RELEASE ) set( ${basename}_LIBRARY ${${basename}_LIBRARY_RELEASE} ) elseif( ${basename}_LIBRARY_DEBUG ) set( ${basename}_LIBRARY ${${basename}_LIBRARY_DEBUG} ) else() set( ${basename}_LIBRARY "${basename}_LIBRARY-NOTFOUND") endif() set( ${basename}_LIBRARIES "${${basename}_LIBRARY}" ) if( ${basename}_LIBRARY ) set( ${basename}_FOUND TRUE ) endif() mark_as_advanced( ${basename}_LIBRARY_RELEASE ${basename}_LIBRARY_DEBUG ) endmacro() cmake-2.8.12.2/Modules/Squish4RunTestCase.bat000755 000765 000024 00000001165 12266011634 021425 0ustar00kitwarestaff000000 000000 set SQUISHSERVER=%1 set SQUISHRUNNER=%2 set TESTSUITE=%3 set TESTCASE=%4 set AUT=%5 set AUTDIR=%6 set SETTINGSGROUP=%7 %SQUISHSERVER% --stop echo "Adding AUT... %SQUISHSERVER% --config addAUT %AUT% %AUTDIR%" %SQUISHSERVER% --config addAUT "%AUT%" "%AUTDIR%" echo "Starting the squish server... %SQUISHSERVER%" start /B %SQUISHSERVER% echo "Running the test case...%SQUISHRUNNER% --testsuite %TESTSUITE% --testcase %TESTCASE%" %SQUISHRUNNER% --testsuite "%TESTSUITE%" --testcase "%TESTCASE%" set returnValue=%ERRORLEVEL% echo "Stopping the squish server... %SQUISHSERVER% --stop" %SQUISHSERVER% --stop exit /B %returnValue% cmake-2.8.12.2/Modules/Squish4RunTestCase.sh000755 000765 000024 00000001405 12266011634 021266 0ustar00kitwarestaff000000 000000 #!/bin/sh SQUISHSERVER=$1 SQUISHRUNNER=$2 TESTSUITE=$3 TESTCASE=$4 AUT=$5 AUTDIR=$6 SETTINGSGROUP=$7 $SQUISHSERVER --stop > /dev/null 2>&1 echo "Adding AUT... $SQUISHSERVER --settingsGroup $SETTINGSGROUP --config addAUT $AUT $AUTDIR" $SQUISHSERVER --settingsGroup "$SETTINGSGROUP" --config addAUT "$AUT" "$AUTDIR" || exit -1 # sleep 1 echo "Starting the squish server... $SQUISHSERVER --daemon" $SQUISHSERVER --daemon || exit -1 # sleep 2 echo "Running the test case...$SQUISHRUNNER --settingsGroup $SETTINGSGROUP --testsuite $TESTSUITE --testcase $TESTCASE" $SQUISHRUNNER --settingsGroup "$SETTINGSGROUP" --testsuite "$TESTSUITE" --testcase "$TESTCASE" returnValue=$? echo "Stopping the squish server... $SQUISHSERVER --stop" $SQUISHSERVER --stop exit $returnValue cmake-2.8.12.2/Modules/SquishRunTestCase.bat000755 000765 000024 00000000333 12266011634 021335 0ustar00kitwarestaff000000 000000 echo 'Starting the squish server...' start %1 echo 'Running the test case...' %2 --testcase %3 --wrapper %4 --aut %5 set result=%ERRORLEVEL% echo 'Stopping the squish server...' %1 --stop exit \b %result% cmake-2.8.12.2/Modules/SquishRunTestCase.sh000755 000765 000024 00000000420 12266011634 021176 0ustar00kitwarestaff000000 000000 #!/bin/sh echo "Starting the squish server...$1 --daemon" $1 --daemon echo "Running the test case...$2 --testcase $3 --wrapper $4 --aut $5" $2 --testcase $3 --wrapper $4 --aut $5 returnValue=$? echo "Stopping the squish server...$1 --stop" $1 --stop exit $returnValue cmake-2.8.12.2/Modules/SquishTestScript.cmake000644 000765 000024 00000007464 12266011634 021564 0ustar00kitwarestaff000000 000000 # # This script launches a GUI test using Squish. You should not call # the script directly; instead, you should access it via the # SQUISH_ADD_TEST macro that is defined in FindSquish.cmake. # # This script starts the Squish server, launches the test on the # client, and finally stops the squish server. If any of these steps # fail (including if the tests do not pass) then a fatal error is # raised. # #============================================================================= # Copyright 2008-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # print out the variable that we are using message(STATUS "squish_aut='${squish_aut}'") message(STATUS "squish_aut_dir='${squish_aut_dir}'") message(STATUS "squish_version='${squish_version}'") message(STATUS "squish_server_executable='${squish_server_executable}'") message(STATUS "squish_client_executable='${squish_client_executable}'") message(STATUS "squish_libqtdir ='${squish_libqtdir}'") message(STATUS "squish_test_suite='${squish_test_suite}'") message(STATUS "squish_test_case='${squish_test_case}'") message(STATUS "squish_wrapper='${squish_wrapper}'") message(STATUS "squish_env_vars='${squish_env_vars}'") message(STATUS "squish_module_dir='${squish_module_dir}'") message(STATUS "squish_settingsgroup='${squish_settingsgroup}'") message(STATUS "squish_pre_command='${squish_pre_command}'") message(STATUS "squish_post_command='${squish_post_command}'") # parse enviornment variables foreach(i ${squish_env_vars}) message(STATUS "parsing env var key/value pair ${i}") string(REGEX MATCH "([^=]*)=(.*)" squish_env_name ${i}) message(STATUS "key=${CMAKE_MATCH_1}") message(STATUS "value=${CMAKE_MATCH_2}") set ( ENV{${CMAKE_MATCH_1}} ${CMAKE_MATCH_2} ) endforeach() if (QT4_INSTALLED) # record Qt lib directory set ( ENV{${SQUISH_LIBQTDIR}} ${squish_libqtdir} ) endif () if(squish_pre_command) message(STATUS "Executing pre command: ${squish_pre_command}") execute_process(COMMAND "${squish_pre_command}") endif() # run the test if("${squish_version}" STREQUAL "4") if (WIN32) execute_process(COMMAND ${squish_module_dir}/Squish4RunTestCase.bat ${squish_server_executable} ${squish_client_executable} ${squish_test_suite} ${squish_test_case} ${squish_aut} ${squish_aut_dir} ${squish_settingsgroup} RESULT_VARIABLE test_rv ) elseif(UNIX) execute_process(COMMAND ${squish_module_dir}/Squish4RunTestCase.sh ${squish_server_executable} ${squish_client_executable} ${squish_test_suite} ${squish_test_case} ${squish_aut} ${squish_aut_dir} ${squish_settingsgroup} RESULT_VARIABLE test_rv ) endif () else() if (WIN32) execute_process(COMMAND ${squish_module_dir}/SquishRunTestCase.bat ${squish_server_executable} ${squish_client_executable} ${squish_test_case} ${squish_wrapper} ${squish_aut} RESULT_VARIABLE test_rv ) elseif(UNIX) execute_process(COMMAND ${squish_module_dir}/SquishRunTestCase.sh ${squish_server_executable} ${squish_client_executable} ${squish_test_case} ${squish_wrapper} ${squish_aut} RESULT_VARIABLE test_rv ) endif () endif() if(squish_post_command) message(STATUS "Executing post command: ${squish_post_command}") execute_process(COMMAND "${squish_post_command}") endif() # check for an error with running the test if(NOT "${test_rv}" STREQUAL "0") message(FATAL_ERROR "Error running Squish test") endif() cmake-2.8.12.2/Modules/SystemInformation.cmake000644 000765 000024 00000007114 12266011634 021745 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2007-2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) cmake_minimum_required(VERSION ${CMAKE_VERSION}) project(DumpInformation) # first get the standard information for th platform include_directories("This does not exists") get_directory_property(incl INCLUDE_DIRECTORIES) set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "${DumpInformation_BINARY_DIR};${DumpInformation_SOURCE_DIR}") configure_file("${CMAKE_ROOT}/Modules/SystemInformation.in" "${RESULT_FILE}") file(APPEND "${RESULT_FILE}" "\n=================================================================\n") file(APPEND "${RESULT_FILE}" "=== VARIABLES\n") file(APPEND "${RESULT_FILE}" "=================================================================\n") get_cmake_property(res VARIABLES) foreach(var ${res}) file(APPEND "${RESULT_FILE}" "${var} \"${${var}}\"\n") endforeach() file(APPEND "${RESULT_FILE}" "\n=================================================================\n") file(APPEND "${RESULT_FILE}" "=== COMMANDS\n") file(APPEND "${RESULT_FILE}" "=================================================================\n") get_cmake_property(res COMMANDS) foreach(var ${res}) file(APPEND "${RESULT_FILE}" "${var}\n") endforeach() file(APPEND "${RESULT_FILE}" "\n=================================================================\n") file(APPEND "${RESULT_FILE}" "=== MACROS\n") file(APPEND "${RESULT_FILE}" "=================================================================\n") file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/AllMacros.txt "") get_cmake_property(res MACROS) foreach(var ${res}) file(APPEND "${RESULT_FILE}" "${var}\n") endforeach() file(APPEND "${RESULT_FILE}" "\n=================================================================\n") file(APPEND "${RESULT_FILE}" "=== OTHER\n") file(APPEND "${RESULT_FILE}" "=================================================================\n") get_directory_property(res INCLUDE_DIRECTORIES) foreach(var ${res}) file(APPEND "${RESULT_FILE}" "INCLUDE_DIRECTORY: ${var}\n") endforeach() get_directory_property(res LINK_DIRECTORIES) foreach(var ${res}) file(APPEND "${RESULT_FILE}" "LINK_DIRECTORIES: ${var}\n") endforeach() get_directory_property(res INCLUDE_REGULAR_EXPRESSION) file(APPEND "${RESULT_FILE}" "INCLUDE_REGULAR_EXPRESSION: ${res}\n") # include other files if they are present, such as when run from within the # binary tree macro(DUMP_FILE THE_FILE) if (EXISTS "${THE_FILE}") file(APPEND "${RESULT_FILE}" "\n=================================================================\n") file(APPEND "${RESULT_FILE}" "=== ${THE_FILE}\n") file(APPEND "${RESULT_FILE}" "=================================================================\n") file(READ "${THE_FILE}" FILE_CONTENTS LIMIT 50000) file(APPEND "${RESULT_FILE}" "${FILE_CONTENTS}") endif () endmacro() DUMP_FILE("../CMakeCache.txt") DUMP_FILE("../CMakeFiles/CMakeOutput.log") DUMP_FILE("../CMakeFiles/CMakeError.log") DUMP_FILE("../CMakeFiles/CMakeSystem.cmake") foreach (EXTRA_FILE ${EXTRA_DUMP_FILES}) DUMP_FILE("${EXTRA_FILE}") endforeach () cmake-2.8.12.2/Modules/SystemInformation.in000644 000765 000024 00000011137 12266011634 021273 0ustar00kitwarestaff000000 000000 Avoid ctest truncation of output: CTEST_FULL_OUTPUT ======================================================== === MAIN VARIABLES ======================================================== CMAKE_STATIC_LIBRARY_PREFIX == "${CMAKE_STATIC_LIBRARY_PREFIX}" CMAKE_STATIC_LIBRARY_SUFFIX == "${CMAKE_STATIC_LIBRARY_SUFFIX}" CMAKE_SHARED_LIBRARY_PREFIX == "${CMAKE_SHARED_LIBRARY_PREFIX}" CMAKE_SHARED_LIBRARY_SUFFIX == "${CMAKE_SHARED_LIBRARY_SUFFIX}" CMAKE_SHARED_MODULE_PREFIX == "${CMAKE_SHARED_MODULE_PREFIX}" CMAKE_SHARED_MODULE_SUFFIX == "${CMAKE_SHARED_MODULE_SUFFIX}" CMAKE_DL_LIBS == "${CMAKE_DL_LIBS}" CMAKE_LIBRARY_PATH_FLAG == "${CMAKE_LIBRARY_PATH_FLAG}" CMAKE_LINK_LIBRARY_FLAG == "${CMAKE_LINK_LIBRARY_FLAG}" CMAKE_SKIP_RPATH == "${CMAKE_SKIP_RPATH}" CMAKE_SYSTEM_INFO_FILE == "${CMAKE_SYSTEM_INFO_FILE}" CMAKE_SYSTEM_NAME == "${CMAKE_SYSTEM_NAME}" CMAKE_SYSTEM == "${CMAKE_SYSTEM}" CMAKE_CXX_COMPILER == "${CMAKE_CXX_COMPILER}" CMAKE_C_COMPILER == "${CMAKE_C_COMPILER}" CMAKE_COMPILER_IS_GNUCC == "${CMAKE_COMPILER_IS_GNUCC}" CMAKE_COMPILER_IS_GNUCXX == "${CMAKE_COMPILER_IS_GNUCXX}" // C shared library flag CMAKE_SHARED_LIBRARY_C_FLAGS == "${CMAKE_SHARED_LIBRARY_C_FLAGS}" CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS == "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS}" CMAKE_SHARED_LIBRARY_LINK_FLAGS == "${CMAKE_SHARED_LIBRARY_LINK_FLAGS}" CMAKE_SHARED_LIBRARY_RUNTIME_FLAG == "${CMAKE_SHARED_LIBRARY_RUNTIME_FLAG}" CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP == "${CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP}" CMAKE_SHARED_LIBRARY_LINK_STATIC_C_FLAGS == "${CMAKE_SHARED_LIBRARY_LINK_STATIC_C_FLAGS}" CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_C_FLAGS == "${CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_C_FLAGS}" // C shared module flags CMAKE_SHARED_MODULE_C_FLAGS == "${CMAKE_SHARED_MODULE_C_FLAGS}" CMAKE_SHARED_MODULE_CREATE_C_FLAGS == "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS}" CMAKE_SHARED_MODULE_LINK_STATIC_C_FLAGS == "${CMAKE_SHARED_MODULE_LINK_STATIC_C_FLAGS}" CMAKE_SHARED_MODULE_LINK_DYNAMIC_C_FLAGS == "${CMAKE_SHARED_MODULE_LINK_DYNAMIC_C_FLAGS}" // C exe flags CMAKE_EXE_LINK_STATIC_C_FLAGS == "${CMAKE_EXE_LINK_STATIC_C_FLAGS}" CMAKE_EXE_LINK_DYNAMIC_C_FLAGS == "${CMAKE_EXE_LINK_DYNAMIC_C_FLAGS}" // CXX shared library flags CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS == "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS}" CMAKE_SHARED_LIBRARY_CXX_FLAGS == "${CMAKE_SHARED_LIBRARY_CXX_FLAGS}" CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS == "${CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS}" CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG == "${CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG}" CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP == "${CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP}" CMAKE_SHARED_LIBRARY_LINK_STATIC_CXX_FLAGS == "${CMAKE_SHARED_LIBRARY_LINK_STATIC_CXX_FLAGS}" CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_CXX_FLAGS == "${CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_CXX_FLAGS}" // CXX shared module flags CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS == "${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS}" CMAKE_SHARED_MODULE_CXX_FLAGS == "${CMAKE_SHARED_MODULE_CXX_FLAGS}" CMAKE_SHARED_MODULE_LINK_STATIC_CXX_FLAGS == "${CMAKE_SHARED_MODULE_LINK_STATIC_CXX_FLAGS}" CMAKE_SHARED_MODULE_LINK_DYNAMIC_CXX_FLAGS == "${CMAKE_SHARED_MODULE_LINK_DYNAMIC_CXX_FLAGS}" // CXX exe flags CMAKE_EXE_LINK_STATIC_CXX_FLAGS == "${CMAKE_EXE_LINK_STATIC_CXX_FLAGS}" CMAKE_EXE_LINK_DYNAMIC_CXX_FLAGS == "${CMAKE_EXE_LINK_DYNAMIC_CXX_FLAGS}" CMAKE_USER_MAKE_RULES_OVERRIDE == "${CMAKE_USER_MAKE_RULES_OVERRIDE}" CMAKE_VERBOSE_MAKEFILE == "${CMAKE_VERBOSE_MAKEFILE}" CMAKE_BUILD_TYPE == "${CMAKE_BUILD_TYPE}" CMAKE_CXX_FLAGS == "${CMAKE_CXX_FLAGS}" CMAKE_CXX_FLAGS_DEBUG == "${CMAKE_CXX_FLAGS_DEBUG}" CMAKE_CXX_FLAGS_MINSIZEREL == "${CMAKE_CXX_FLAGS_MINSIZEREL}" CMAKE_CXX_FLAGS_RELEASE == "${CMAKE_CXX_FLAGS_RELEASE}" CMAKE_CXX_FLAGS_RELWITHDEBINFO == "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}" CMAKE_C_FLAGS == "${CMAKE_C_FLAGS}" CMAKE_C_FLAGS_DEBUG == "${CMAKE_C_FLAGS_DEBUG}" CMAKE_C_FLAGS_MINSIZEREL == "${CMAKE_C_FLAGS_MINSIZEREL}" CMAKE_C_FLAGS_RELEASE == "${CMAKE_C_FLAGS_RELEASE}" CMAKE_C_FLAGS_RELWITHDEBINFO == "${CMAKE_C_FLAGS_RELWITHDEBINFO}" // build rules CMAKE_CXX_CREATE_SHARED_LIBRARY == "${CMAKE_CXX_CREATE_SHARED_LIBRARY}" CMAKE_CXX_CREATE_SHARED_MODULE == "${CMAKE_CXX_CREATE_SHARED_MODULE}" CMAKE_C_CREATE_SHARED_LIBRARY == "${CMAKE_C_CREATE_SHARED_LIBRARY}" CMAKE_C_CREATE_SHARED_MODULE == "${CMAKE_C_CREATE_SHARED_MODULE}" CMAKE_CXX_CREATE_STATIC_LIBRARY == "${CMAKE_CXX_CREATE_STATIC_LIBRARY}" CMAKE_C_CREATE_STATIC_LIBRARY == "${CMAKE_C_CREATE_STATIC_LIBRARY}" CMAKE_CXX_COMPILE_OBJECT == "${CMAKE_CXX_COMPILE_OBJECT}" CMAKE_C_COMPILE_OBJECT == "${CMAKE_C_COMPILE_OBJECT}" CMAKE_C_LINK_EXECUTABLE == "${CMAKE_C_LINK_EXECUTABLE}" CMAKE_CXX_LINK_EXECUTABLE == "${CMAKE_CXX_LINK_EXECUTABLE}" cmake-2.8.12.2/Modules/TestBigEndian.cmake000644 000765 000024 00000011013 12266011634 020724 0ustar00kitwarestaff000000 000000 # - Define macro to determine endian type # Check if the system is big endian or little endian # TEST_BIG_ENDIAN(VARIABLE) # VARIABLE - variable to store the result to # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(TEST_BIG_ENDIAN VARIABLE) if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$") message(STATUS "Check if the system is big endian") message(STATUS "Searching 16 bit integer") include(CheckTypeSize) CHECK_TYPE_SIZE("unsigned short" CMAKE_SIZEOF_UNSIGNED_SHORT) if(CMAKE_SIZEOF_UNSIGNED_SHORT EQUAL 2) message(STATUS "Using unsigned short") set(CMAKE_16BIT_TYPE "unsigned short") else() CHECK_TYPE_SIZE("unsigned int" CMAKE_SIZEOF_UNSIGNED_INT) if(CMAKE_SIZEOF_UNSIGNED_INT) message(STATUS "Using unsigned int") set(CMAKE_16BIT_TYPE "unsigned int") else() CHECK_TYPE_SIZE("unsigned long" CMAKE_SIZEOF_UNSIGNED_LONG) if(CMAKE_SIZEOF_UNSIGNED_LONG) message(STATUS "Using unsigned long") set(CMAKE_16BIT_TYPE "unsigned long") else() message(FATAL_ERROR "no suitable type found") endif() endif() endif() configure_file("${CMAKE_ROOT}/Modules/TestEndianess.c.in" "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/TestEndianess.c" IMMEDIATE @ONLY) file(READ "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/TestEndianess.c" TEST_ENDIANESS_FILE_CONTENT) try_compile(HAVE_${VARIABLE} "${CMAKE_BINARY_DIR}" "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/TestEndianess.c" OUTPUT_VARIABLE OUTPUT COPY_FILE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/TestEndianess.bin" ) if(HAVE_${VARIABLE}) file(STRINGS "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/TestEndianess.bin" CMAKE_TEST_ENDIANESS_STRINGS_LE LIMIT_COUNT 1 REGEX "THIS IS LITTLE ENDIAN") file(STRINGS "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/TestEndianess.bin" CMAKE_TEST_ENDIANESS_STRINGS_BE LIMIT_COUNT 1 REGEX "THIS IS BIG ENDIAN") # on mac, if there are universal binaries built both will be true # return the result depending on the machine on which cmake runs if(CMAKE_TEST_ENDIANESS_STRINGS_BE AND CMAKE_TEST_ENDIANESS_STRINGS_LE) if(CMAKE_SYSTEM_PROCESSOR MATCHES powerpc) set(CMAKE_TEST_ENDIANESS_STRINGS_BE TRUE) set(CMAKE_TEST_ENDIANESS_STRINGS_LE FALSE) else() set(CMAKE_TEST_ENDIANESS_STRINGS_BE FALSE) set(CMAKE_TEST_ENDIANESS_STRINGS_LE TRUE) endif() message(STATUS "TEST_BIG_ENDIAN found different results, consider setting CMAKE_OSX_ARCHITECTURES or CMAKE_TRY_COMPILE_OSX_ARCHITECTURES to one or no architecture !") endif() if(CMAKE_TEST_ENDIANESS_STRINGS_LE) set(${VARIABLE} 0 CACHE INTERNAL "Result of TEST_BIG_ENDIAN" FORCE) message(STATUS "Check if the system is big endian - little endian") endif() if(CMAKE_TEST_ENDIANESS_STRINGS_BE) set(${VARIABLE} 1 CACHE INTERNAL "Result of TEST_BIG_ENDIAN" FORCE) message(STATUS "Check if the system is big endian - big endian") endif() if(NOT CMAKE_TEST_ENDIANESS_STRINGS_BE AND NOT CMAKE_TEST_ENDIANESS_STRINGS_LE) message(SEND_ERROR "TEST_BIG_ENDIAN found no result!") endif() file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the system is big endian passed with the following output:\n${OUTPUT}\nTestEndianess.c:\n${TEST_ENDIANESS_FILE_CONTENT}\n\n") else() message(STATUS "Check if the system is big endian - failed") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the system is big endian failed with the following output:\n${OUTPUT}\nTestEndianess.c:\n${TEST_ENDIANESS_FILE_CONTENT}\n\n") set(${VARIABLE}) endif() endif() endmacro() cmake-2.8.12.2/Modules/TestCXXAcceptsFlag.cmake000644 000765 000024 00000003443 12266011634 021653 0ustar00kitwarestaff000000 000000 # - Test CXX compiler for a flag # Check if the CXX compiler accepts a flag # # Macro CHECK_CXX_ACCEPTS_FLAG(FLAGS VARIABLE) - # checks if the function exists # FLAGS - the flags to try # VARIABLE - variable to store the result # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) macro(CHECK_CXX_ACCEPTS_FLAG FLAGS VARIABLE) if(NOT DEFINED ${VARIABLE}) message(STATUS "Checking to see if CXX compiler accepts flag ${FLAGS}") try_compile(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/DummyCXXFile.cxx CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${FLAGS} OUTPUT_VARIABLE OUTPUT) if(${VARIABLE}) message(STATUS "Checking to see if CXX compiler accepts flag ${FLAGS} - yes") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the CXX compiler accepts the flag ${FLAGS} passed with " "the following output:\n${OUTPUT}\n\n") else() message(STATUS "Checking to see if CXX compiler accepts flag ${FLAGS} - no") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the CXX compiler accepts the flag ${FLAGS} failed with " "the following output:\n${OUTPUT}\n\n") endif() endif() endmacro() cmake-2.8.12.2/Modules/TestEndianess.c.in000644 000765 000024 00000001547 12266011634 020577 0ustar00kitwarestaff000000 000000 /* A 16 bit integer is required. */ typedef @CMAKE_16BIT_TYPE@ cmakeint16; /* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; /* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; } cmake-2.8.12.2/Modules/TestForANSIForScope.cmake000644 000765 000024 00000003420 12266011634 021751 0ustar00kitwarestaff000000 000000 # - Check for ANSI for scope support # Check if the compiler restricts the scope of variables declared in a for-init-statement to the loop body. # CMAKE_NO_ANSI_FOR_SCOPE - holds result # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$") message(STATUS "Check for ANSI scope") try_compile(CMAKE_ANSI_FOR_SCOPE ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/TestForAnsiForScope.cxx OUTPUT_VARIABLE OUTPUT) if (CMAKE_ANSI_FOR_SCOPE) message(STATUS "Check for ANSI scope - found") set (CMAKE_NO_ANSI_FOR_SCOPE 0 CACHE INTERNAL "Does the compiler support ansi for scope.") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the CXX compiler understands ansi for scopes passed with " "the following output:\n${OUTPUT}\n\n") else () message(STATUS "Check for ANSI scope - not found") set (CMAKE_NO_ANSI_FOR_SCOPE 1 CACHE INTERNAL "Does the compiler support ansi for scope.") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the CXX compiler understands ansi for scopes failed with " "the following output:\n${OUTPUT}\n\n") endif () endif() cmake-2.8.12.2/Modules/TestForAnsiForScope.cxx000644 000765 000024 00000000127 12266011634 021634 0ustar00kitwarestaff000000 000000 int main(int, char*[]) { int i; for(int i=0; i < 1; ++i); (void)i; return 0; } cmake-2.8.12.2/Modules/TestForANSIStreamHeaders.cmake000644 000765 000024 00000002454 12266011634 022766 0ustar00kitwarestaff000000 000000 # - Test for compiler support of ANSI stream headers iostream, etc. # check if the compiler supports the standard ANSI iostream header (without the .h) # CMAKE_NO_ANSI_STREAM_HEADERS - defined by the results # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/CheckIncludeFileCXX.cmake) if(NOT CMAKE_NO_ANSI_STREAM_HEADERS) CHECK_INCLUDE_FILE_CXX(iostream CMAKE_ANSI_STREAM_HEADERS) if (CMAKE_ANSI_STREAM_HEADERS) set (CMAKE_NO_ANSI_STREAM_HEADERS 0 CACHE INTERNAL "Does the compiler support headers like iostream.") else () set (CMAKE_NO_ANSI_STREAM_HEADERS 1 CACHE INTERNAL "Does the compiler support headers like iostream.") endif () mark_as_advanced(CMAKE_NO_ANSI_STREAM_HEADERS) endif() cmake-2.8.12.2/Modules/TestForANSIStreamHeaders.cxx000644 000765 000024 00000000074 12266011634 022504 0ustar00kitwarestaff000000 000000 #include int main(int,char *[]) { return 0; } cmake-2.8.12.2/Modules/TestForSSTREAM.cmake000644 000765 000024 00000003361 12266011634 020700 0ustar00kitwarestaff000000 000000 # - Test for compiler support of ANSI sstream header # check if the compiler supports the standard ANSI sstream header # CMAKE_NO_ANSI_STRING_STREAM - defined by the results # #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if("CMAKE_HAS_ANSI_STRING_STREAM" MATCHES "^CMAKE_HAS_ANSI_STRING_STREAM$") message(STATUS "Check for sstream") try_compile(CMAKE_HAS_ANSI_STRING_STREAM ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/TestForSSTREAM.cxx OUTPUT_VARIABLE OUTPUT) if (CMAKE_HAS_ANSI_STRING_STREAM) message(STATUS "Check for sstream - found") set (CMAKE_NO_ANSI_STRING_STREAM 0 CACHE INTERNAL "Does the compiler support sstream") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the CXX compiler has sstream passed with " "the following output:\n${OUTPUT}\n\n") else () message(STATUS "Check for sstream - not found") set (CMAKE_NO_ANSI_STRING_STREAM 1 CACHE INTERNAL "Does the compiler support sstream") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the CXX compiler has sstream failed with " "the following output:\n${OUTPUT}\n\n") endif () endif() cmake-2.8.12.2/Modules/TestForSSTREAM.cxx000644 000765 000024 00000000232 12266011634 020414 0ustar00kitwarestaff000000 000000 #include int main(int, char*[]) { std::ostringstream os; os << "12345"; if(os.str().size() == 5) { return 0; } return -1; } cmake-2.8.12.2/Modules/TestForSTDNamespace.cmake000644 000765 000024 00000003303 12266011634 022025 0ustar00kitwarestaff000000 000000 # - Test for std:: namespace support # check if the compiler supports std:: on stl classes # CMAKE_NO_STD_NAMESPACE - defined by the results # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if("CMAKE_STD_NAMESPACE" MATCHES "^CMAKE_STD_NAMESPACE$") message(STATUS "Check for STD namespace") try_compile(CMAKE_STD_NAMESPACE ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/TestForSTDNamespace.cxx OUTPUT_VARIABLE OUTPUT) if (CMAKE_STD_NAMESPACE) message(STATUS "Check for STD namespace - found") set (CMAKE_NO_STD_NAMESPACE 0 CACHE INTERNAL "Does the compiler support std::.") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determining if the CXX compiler has std namespace passed with " "the following output:\n${OUTPUT}\n\n") else () message(STATUS "Check for STD namespace - not found") set (CMAKE_NO_STD_NAMESPACE 1 CACHE INTERNAL "Does the compiler support std::.") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Determining if the CXX compiler has std namespace failed with " "the following output:\n${OUTPUT}\n\n") endif () endif() cmake-2.8.12.2/Modules/TestForSTDNamespace.cxx000644 000765 000024 00000000113 12266011634 021543 0ustar00kitwarestaff000000 000000 #include int main(int, char*[]) { std::list(); return 0; } cmake-2.8.12.2/Modules/Use_wxWindows.cmake000644 000765 000024 00000004575 12266011634 021110 0ustar00kitwarestaff000000 000000 # # This convenience include finds if wxWindows is installed # and set the appropriate libs, incdirs, flags etc. # author Jan Woetzel (07/2003) ## # ----------------------------------------------------- # USAGE: # just include Use_wxWindows.cmake # in your projects CMakeLists.txt # include( ${CMAKE_MODULE_PATH}/Use_wxWindows.cmake) ## # if you are sure you need GL then # set(WXWINDOWS_USE_GL 1) # *before* you include this file. #============================================================================= # Copyright 2003-2009 Kitware, Inc. # Copyright 2003 Jan Woetzel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # ----------------------------------------------------- # 16.Feb.2004: changed INCLUDE to FIND_PACKAGE to read from users own non-system CMAKE_MODULE_PATH (Jan Woetzel JW) # 07/2006: rewrite as FindwxWidgets.cmake, kept for backward compatibility JW message(STATUS "Use_wxWindows.cmake is DEPRECATED. \n" "Please use find_package(wxWidgets) and include(${wxWidgets_USE_FILE}) instead. (JW)") # ------------------------ find_package( wxWindows ) if(WXWINDOWS_FOUND) #message("DBG Use_wxWindows.cmake: WXWINDOWS_INCLUDE_DIR=${WXWINDOWS_INCLUDE_DIR} WXWINDOWS_LINK_DIRECTORIES=${WXWINDOWS_LINK_DIRECTORIES} WXWINDOWS_LIBRARIES=${WXWINDOWS_LIBRARIES} CMAKE_WXWINDOWS_CXX_FLAGS=${CMAKE_WXWINDOWS_CXX_FLAGS} WXWINDOWS_DEFINITIONS=${WXWINDOWS_DEFINITIONS}") if(WXWINDOWS_INCLUDE_DIR) include_directories(${WXWINDOWS_INCLUDE_DIR}) endif() if(WXWINDOWS_LINK_DIRECTORIES) link_directories(${WXWINDOWS_LINK_DIRECTORIES}) endif() if(WXWINDOWS_LIBRARIES) link_libraries(${WXWINDOWS_LIBRARIES}) endif() if (CMAKE_WXWINDOWS_CXX_FLAGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_WXWINDOWS_CXX_FLAGS}") endif() if(WXWINDOWS_DEFINITIONS) add_definitions(${WXWINDOWS_DEFINITIONS}) endif() else() message(SEND_ERROR "wxWindows not found by Use_wxWindows.cmake") endif() cmake-2.8.12.2/Modules/UseEcos.cmake000644 000765 000024 00000024146 12266011634 017625 0ustar00kitwarestaff000000 000000 # - This module defines variables and macros required to build eCos application. # This file contains the following macros: # ECOS_ADD_INCLUDE_DIRECTORIES() - add the eCos include dirs # ECOS_ADD_EXECUTABLE(name source1 ... sourceN ) - create an eCos executable # ECOS_ADJUST_DIRECTORY(VAR source1 ... sourceN ) - adjusts the path of the source files and puts the result into VAR # # Macros for selecting the toolchain: # ECOS_USE_ARM_ELF_TOOLS() - enable the ARM ELF toolchain for the directory where it is called # ECOS_USE_I386_ELF_TOOLS() - enable the i386 ELF toolchain for the directory where it is called # ECOS_USE_PPC_EABI_TOOLS() - enable the PowerPC toolchain for the directory where it is called # # It contains the following variables: # ECOS_DEFINITIONS # ECOSCONFIG_EXECUTABLE # ECOS_CONFIG_FILE - defaults to ecos.ecc, if your eCos configuration file has a different name, adjust this variable # for internal use only: # ECOS_ADD_TARGET_LIB #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # first check that ecosconfig is available find_program(ECOSCONFIG_EXECUTABLE NAMES ecosconfig) if(NOT ECOSCONFIG_EXECUTABLE) message(SEND_ERROR "ecosconfig was not found. Either include it in the system path or set it manually using ccmake.") else() message(STATUS "Found ecosconfig: ${ECOSCONFIG_EXECUTABLE}") endif() # check that ECOS_REPOSITORY is set correctly if (NOT EXISTS $ENV{ECOS_REPOSITORY}/ecos.db) message(SEND_ERROR "The environment variable ECOS_REPOSITORY is not set correctly. Set it to the directory which contains the file ecos.db") else () message(STATUS "ECOS_REPOSITORY is set to $ENV{ECOS_REPOSITORY}") endif () # check that tclsh (coming with TCL) is available, otherwise ecosconfig doesn't work find_package(Tclsh) if (NOT TCL_TCLSH) message(SEND_ERROR "The TCL tclsh was not found. Please install TCL, it is required for building eCos applications.") else () message(STATUS "tlcsh found: ${TCL_TCLSH}") endif () #add the globale include-diretories #usage: ECOS_ADD_INCLUDE_DIRECTORIES() macro(ECOS_ADD_INCLUDE_DIRECTORIES) #check for ProjectSources.txt one level higher if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../ProjectSources.txt) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../) else () include_directories(${CMAKE_CURRENT_SOURCE_DIR}/) endif () #the ecos include directory include_directories(${CMAKE_CURRENT_BINARY_DIR}/ecos/install/include/) endmacro() #we want to compile for the xscale processor, in this case the following macro has to be called #usage: ECOS_USE_ARM_ELF_TOOLS() macro (ECOS_USE_ARM_ELF_TOOLS) set(CMAKE_CXX_COMPILER "arm-elf-c++") set(CMAKE_COMPILER_IS_GNUCXX 1) set(CMAKE_C_COMPILER "arm-elf-gcc") set(CMAKE_AR "arm-elf-ar") set(CMAKE_RANLIB "arm-elf-ranlib") #for linking set(ECOS_LD_MCPU "-mcpu=xscale") #for compiling add_definitions(-mcpu=xscale -mapcs-frame) #for the obj-tools set(ECOS_ARCH_PREFIX "arm-elf-") endmacro () #usage: ECOS_USE_PPC_EABI_TOOLS() macro (ECOS_USE_PPC_EABI_TOOLS) set(CMAKE_CXX_COMPILER "powerpc-eabi-c++") set(CMAKE_COMPILER_IS_GNUCXX 1) set(CMAKE_C_COMPILER "powerpc-eabi-gcc") set(CMAKE_AR "powerpc-eabi-ar") set(CMAKE_RANLIB "powerpc-eabi-ranlib") #for linking set(ECOS_LD_MCPU "") #for compiling add_definitions() #for the obj-tools set(ECOS_ARCH_PREFIX "powerpc-eabi-") endmacro () #usage: ECOS_USE_I386_ELF_TOOLS() macro (ECOS_USE_I386_ELF_TOOLS) set(CMAKE_CXX_COMPILER "i386-elf-c++") set(CMAKE_COMPILER_IS_GNUCXX 1) set(CMAKE_C_COMPILER "i386-elf-gcc") set(CMAKE_AR "i386-elf-ar") set(CMAKE_RANLIB "i386-elf-ranlib") #for linking set(ECOS_LD_MCPU "") #for compiling add_definitions() #for the obj-tools set(ECOS_ARCH_PREFIX "i386-elf-") endmacro () #since the actual sources are located one level upwards #a "../" has to be prepended in front of every source file #call the following macro to achieve this, the first parameter #is the name of the new list of source files with adjusted paths, #followed by all source files #usage: ECOS_ADJUST_DIRECTORY(adjusted_SRCS ${my_srcs}) macro(ECOS_ADJUST_DIRECTORY _target_FILES ) foreach (_current_FILE ${ARGN}) get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) if (NOT ${_abs_FILE} STREQUAL ${_current_FILE}) get_filename_component(_abs_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../${_current_FILE} ABSOLUTE) endif () list(APPEND ${_target_FILES} ${_abs_FILE}) endforeach () endmacro() # the default ecos config file name # maybe in future also out-of-source builds may be possible set(ECOS_CONFIG_FILE ecos.ecc) #creates the dependency from all source files on the ecos target.ld, #adds the command for compiling ecos macro(ECOS_ADD_TARGET_LIB) # when building out-of-source, create the ecos/ subdir if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/ecos) file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ecos) endif() #sources depend on target.ld set_source_files_properties( ${ARGN} PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld ) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld COMMAND sh -c \"make -C ${CMAKE_CURRENT_BINARY_DIR}/ecos || exit -1\; if [ -e ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld ] \; then touch ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld\; fi\" DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ecos/makefile ) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ecos/makefile COMMAND sh -c \" cd ${CMAKE_CURRENT_BINARY_DIR}/ecos\; ${ECOSCONFIG_EXECUTABLE} --config=${CMAKE_CURRENT_SOURCE_DIR}/ecos/${ECOS_CONFIG_FILE} tree || exit -1\;\" DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ecos/${ECOS_CONFIG_FILE} ) add_custom_target( ecos make -C ${CMAKE_CURRENT_BINARY_DIR}/ecos/ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ecos/makefile ) endmacro() # get the directory of the current file, used later on in the file get_filename_component( ECOS_CMAKE_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) #macro for creating an executable ecos application #the first parameter is the name of the executable, #the second is the list of all source files (where the path #has been adjusted beforehand by calling ECOS_ADJUST_DIRECTORY() #usage: ECOS_ADD_EXECUTABLE(my_app ${adjusted_SRCS}) macro(ECOS_ADD_EXECUTABLE _exe_NAME ) #definitions, valid for all ecos projects #the optimization and "-g" for debugging has to be enabled #in the project-specific CMakeLists.txt add_definitions(-D__ECOS__=1 -D__ECOS=1) set(ECOS_DEFINITIONS -Wall -Wno-long-long -pipe -fno-builtin) #the executable depends on ecos target.ld ECOS_ADD_TARGET_LIB(${ARGN}) # when using nmake makefiles, the custom buildtype supresses the default cl.exe flags # and the rules for creating objects are adjusted for gcc set(CMAKE_BUILD_TYPE CUSTOM_ECOS_BUILD) set(CMAKE_C_COMPILE_OBJECT " -o -c ") set(CMAKE_CXX_COMPILE_OBJECT " -o -c ") # special link commands for ecos-executables set(CMAKE_CXX_LINK_EXECUTABLE " -o ${_ecos_EXTRA_LIBS} -nostdlib -nostartfiles -L${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib -Ttarget.ld ${ECOS_LD_MCPU}") set(CMAKE_C_LINK_EXECUTABLE " -o ${_ecos_EXTRA_LIBS} -nostdlib -nostartfiles -L${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib -Ttarget.ld ${ECOS_LD_MCPU}") # some strict compiler flags set (CMAKE_C_FLAGS "-Wstrict-prototypes") set (CMAKE_CXX_FLAGS "-Woverloaded-virtual -fno-rtti -Wctor-dtor-privacy -fno-strict-aliasing -fno-exceptions") add_executable(${_exe_NAME} ${ARGN}) set_target_properties(${_exe_NAME} PROPERTIES SUFFIX ".elf") #create a binary file add_custom_command( TARGET ${_exe_NAME} POST_BUILD COMMAND ${ECOS_ARCH_PREFIX}objcopy ARGS -O binary ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.bin ) #and an srec file add_custom_command( TARGET ${_exe_NAME} POST_BUILD COMMAND ${ECOS_ARCH_PREFIX}objcopy ARGS -O srec ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.srec ) #add the created files to the clean-files set_directory_properties( PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.bin;${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.srec;${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst;" ) add_custom_target(ecosclean ${CMAKE_COMMAND} -DECOS_DIR=${CMAKE_CURRENT_BINARY_DIR}/ecos/ -P ${ECOS_CMAKE_MODULE_DIR}/ecos_clean.cmake ) add_custom_target(normalclean ${CMAKE_MAKE_PROGRAM} clean WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) add_dependencies (ecosclean normalclean) add_custom_target( listing COMMAND echo -e \"\\n--- Symbols sorted by address ---\\n\" > ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst COMMAND ${ECOS_ARCH_PREFIX}nm -S -C -n ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst COMMAND echo -e \"\\n--- Symbols sorted by size ---\\n\" >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst COMMAND ${ECOS_ARCH_PREFIX}nm -S -C -r --size-sort ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst COMMAND echo -e \"\\n--- Full assembly listing ---\\n\" >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst COMMAND ${ECOS_ARCH_PREFIX}objdump -S -x -d -C ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst ) endmacro() cmake-2.8.12.2/Modules/UseJava.cmake000644 000765 000024 00000106511 12266011634 017612 0ustar00kitwarestaff000000 000000 # - Use Module for Java # This file provides functions for Java. It is assumed that FindJava.cmake # has already been loaded. See FindJava.cmake for information on how to # load Java into your CMake project. # # add_jar(target_name # [SOURCES] source1 [source2 ...] [resource1 ...] # [INCLUDE_JARS jar1 [jar2 ...]] # [ENTRY_POINT entry] # [VERSION version] # [OUTPUT_NAME name] # [OUTPUT_DIR dir] # ) # # This command creates a .jar. It compiles the given source files # (source) and adds the given resource files (resource) to the jar file. If # only resource files are given then just a jar file is created. The list of # include jars are added to the classpath when compiling the java sources and # also to the dependencies of the target. INCLUDE_JARS also accepts other # target names created by add_jar. For backwards compatibility, jar files # listed as sources are ignored (as they have been since the first version of # this module). # # The default OUTPUT_DIR can also be changed by setting the variable # CMAKE_JAVA_TARGET_OUTPUT_DIR. # # Additional instructions: # To add compile flags to the target you can set these flags with # the following variable: # # set(CMAKE_JAVA_COMPILE_FLAGS -nowarn) # # To add a path or a jar file to the class path you can do this # with the CMAKE_JAVA_INCLUDE_PATH variable. # # set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/shibboleet.jar) # # To use a different output name for the target you can set it with: # # add_jar(foobar foobar.java OUTPUT_NAME shibboleet.jar) # # To use a different output directory than CMAKE_CURRENT_BINARY_DIR # you can set it with: # # add_jar(foobar foobar.java OUTPUT_DIR ${PROJECT_BINARY_DIR}/bin) # # To define an entry point in your jar you can set it with the ENTRY_POINT # named argument: # # add_jar(example ENTRY_POINT com/examples/MyProject/Main) # # To add a VERSION to the target output name you can set it using # the VERSION named argument to add_jar. This will create a jar file with the # name shibboleet-1.0.0.jar and will create a symlink shibboleet.jar # pointing to the jar with the version information. # # add_jar(shibboleet shibbotleet.java VERSION 1.2.0) # # If the target is a JNI library, utilize the following commands to # create a JNI symbolic link: # # set(CMAKE_JNI_TARGET TRUE) # add_jar(shibboleet shibbotleet.java VERSION 1.2.0) # install_jar(shibboleet ${LIB_INSTALL_DIR}/shibboleet) # install_jni_symlink(shibboleet ${JAVA_LIB_INSTALL_DIR}) # # If a single target needs to produce more than one jar from its # java source code, to prevent the accumulation of duplicate class # files in subsequent jars, set/reset CMAKE_JAR_CLASSES_PREFIX prior # to calling the add_jar() function: # # set(CMAKE_JAR_CLASSES_PREFIX com/redhat/foo) # add_jar(foo foo.java) # # set(CMAKE_JAR_CLASSES_PREFIX com/redhat/bar) # add_jar(bar bar.java) # # Target Properties: # The add_jar() functions sets some target properties. You can get these # properties with the # get_property(TARGET PROPERTY ) # command. # # INSTALL_FILES The files which should be installed. This is used by # install_jar(). # JNI_SYMLINK The JNI symlink which should be installed. # This is used by install_jni_symlink(). # JAR_FILE The location of the jar file so that you can include # it. # CLASS_DIR The directory where the class files can be found. For # example to use them with javah. # # find_jar( # name | NAMES name1 [name2 ...] # [PATHS path1 [path2 ... ENV var]] # [VERSIONS version1 [version2]] # [DOC "cache documentation string"] # ) # # This command is used to find a full path to the named jar. A cache # entry named by is created to stor the result of this command. If # the full path to a jar is found the result is stored in the variable # and the search will not repeated unless the variable is cleared. If # nothing is found, the result will be -NOTFOUND, and the search # will be attempted again next time find_jar is invoked with the same # variable. # The name of the full path to a file that is searched for is specified # by the names listed after NAMES argument. Additional search locations # can be specified after the PATHS argument. If you require special a # version of a jar file you can specify it with the VERSIONS argument. # The argument after DOC will be used for the documentation string in # the cache. # # install_jar(TARGET_NAME DESTINATION) # # This command installs the TARGET_NAME files to the given DESTINATION. # It should be called in the same scope as add_jar() or it will fail. # # install_jni_symlink(TARGET_NAME DESTINATION) # # This command installs the TARGET_NAME JNI symlinks to the given # DESTINATION. It should be called in the same scope as add_jar() # or it will fail. # # create_javadoc( # PACKAGES pkg1 [pkg2 ...] # [SOURCEPATH ] # [CLASSPATH ] # [INSTALLPATH ] # [DOCTITLE "the documentation title"] # [WINDOWTITLE "the title of the document"] # [AUTHOR TRUE|FALSE] # [USE TRUE|FALSE] # [VERSION TRUE|FALSE] # ) # # Create java documentation based on files or packages. For more # details please read the javadoc manpage. # # There are two main signatures for create_javadoc. The first # signature works with package names on a path with source files: # # Example: # create_javadoc(my_example_doc # PACKAGES com.exmaple.foo com.example.bar # SOURCEPATH "${CMAKE_CURRENT_SOURCE_DIR}" # CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH} # WINDOWTITLE "My example" # DOCTITLE "

My example

" # AUTHOR TRUE # USE TRUE # VERSION TRUE # ) # # The second signature for create_javadoc works on a given list of # files. # # create_javadoc( # FILES file1 [file2 ...] # [CLASSPATH ] # [INSTALLPATH ] # [DOCTITLE "the documentation title"] # [WINDOWTITLE "the title of the document"] # [AUTHOR TRUE|FALSE] # [USE TRUE|FALSE] # [VERSION TRUE|FALSE] # ) # # Example: # create_javadoc(my_example_doc # FILES ${example_SRCS} # CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH} # WINDOWTITLE "My example" # DOCTITLE "

My example

" # AUTHOR TRUE # USE TRUE # VERSION TRUE # ) # # Both signatures share most of the options. These options are the # same as what you can find in the javadoc manpage. Please look at # the manpage for CLASSPATH, DOCTITLE, WINDOWTITLE, AUTHOR, USE and # VERSION. # # The documentation will be by default installed to # # ${CMAKE_INSTALL_PREFIX}/share/javadoc/ # # if you don't set the INSTALLPATH. # #============================================================================= # Copyright 2013 OpenGamma Ltd. # Copyright 2010-2011 Andreas schneider # Copyright 2010-2013 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake) function (__java_copy_file src dest comment) add_custom_command( OUTPUT ${dest} COMMAND cmake -E copy_if_different ARGS ${src} ${dest} DEPENDS ${src} COMMENT ${comment}) endfunction () # define helper scripts set(_JAVA_CLASS_FILELIST_SCRIPT ${CMAKE_CURRENT_LIST_DIR}/UseJavaClassFilelist.cmake) set(_JAVA_SYMLINK_SCRIPT ${CMAKE_CURRENT_LIST_DIR}/UseJavaSymlinks.cmake) function(add_jar _TARGET_NAME) # In CMake < 2.8.12, add_jar used variables which were set prior to calling # add_jar for customizing the behavior of add_jar. In order to be backwards # compatible, check if any of those variables are set, and use them to # initialize values of the named arguments. (Giving the corresponding named # argument will override the value set here.) # # New features should use named arguments only. if(DEFINED CMAKE_JAVA_TARGET_VERSION) set(_add_jar_VERSION "${CMAKE_JAVA_TARGET_VERSION}") endif() if(DEFINED CMAKE_JAVA_TARGET_OUTPUT_DIR) set(_add_jar_OUTPUT_DIR "${CMAKE_JAVA_TARGET_OUTPUT_DIR}") endif() if(DEFINED CMAKE_JAVA_TARGET_OUTPUT_NAME) set(_add_jar_OUTPUT_NAME "${CMAKE_JAVA_TARGET_OUTPUT_NAME}") # reset set(CMAKE_JAVA_TARGET_OUTPUT_NAME) endif() if(DEFINED CMAKE_JAVA_JAR_ENTRY_POINT) set(_add_jar_ENTRY_POINT "${CMAKE_JAVA_JAR_ENTRY_POINT}") endif() cmake_parse_arguments(_add_jar "" "VERSION;OUTPUT_DIR;OUTPUT_NAME;ENTRY_POINT" "SOURCES;INCLUDE_JARS" ${ARGN} ) set(_JAVA_SOURCE_FILES ${_add_jar_SOURCES} ${_add_jar_UNPARSED_ARGUMENTS}) if (NOT DEFINED _add_jar_OUTPUT_DIR) set(_add_jar_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}) endif() if (_add_jar_ENTRY_POINT) set(_ENTRY_POINT_OPTION e) set(_ENTRY_POINT_VALUE ${_add_jar_ENTRY_POINT}) endif () if (LIBRARY_OUTPUT_PATH) set(CMAKE_JAVA_LIBRARY_OUTPUT_PATH ${LIBRARY_OUTPUT_PATH}) else () set(CMAKE_JAVA_LIBRARY_OUTPUT_PATH ${_add_jar_OUTPUT_DIR}) endif () set(CMAKE_JAVA_INCLUDE_PATH ${CMAKE_JAVA_INCLUDE_PATH} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_JAVA_OBJECT_OUTPUT_PATH} ${CMAKE_JAVA_LIBRARY_OUTPUT_PATH} ) if (WIN32 AND NOT CYGWIN AND CMAKE_HOST_SYSTEM_NAME MATCHES "Windows") set(CMAKE_JAVA_INCLUDE_FLAG_SEP ";") else () set(CMAKE_JAVA_INCLUDE_FLAG_SEP ":") endif() foreach (JAVA_INCLUDE_DIR ${CMAKE_JAVA_INCLUDE_PATH}) set(CMAKE_JAVA_INCLUDE_PATH_FINAL "${CMAKE_JAVA_INCLUDE_PATH_FINAL}${CMAKE_JAVA_INCLUDE_FLAG_SEP}${JAVA_INCLUDE_DIR}") endforeach() set(CMAKE_JAVA_CLASS_OUTPUT_PATH "${_add_jar_OUTPUT_DIR}${CMAKE_FILES_DIRECTORY}/${_TARGET_NAME}.dir") set(_JAVA_TARGET_OUTPUT_NAME "${_TARGET_NAME}.jar") if (_add_jar_OUTPUT_NAME AND _add_jar_VERSION) set(_JAVA_TARGET_OUTPUT_NAME "${_add_jar_OUTPUT_NAME}-${_add_jar_VERSION}.jar") set(_JAVA_TARGET_OUTPUT_LINK "${_add_jar_OUTPUT_NAME}.jar") elseif (_add_jar_VERSION) set(_JAVA_TARGET_OUTPUT_NAME "${_TARGET_NAME}-${_add_jar_VERSION}.jar") set(_JAVA_TARGET_OUTPUT_LINK "${_TARGET_NAME}.jar") elseif (_add_jar_OUTPUT_NAME) set(_JAVA_TARGET_OUTPUT_NAME "${_add_jar_OUTPUT_NAME}.jar") endif () set(_JAVA_CLASS_FILES) set(_JAVA_COMPILE_FILES) set(_JAVA_DEPENDS) set(_JAVA_COMPILE_DEPENDS) set(_JAVA_RESOURCE_FILES) foreach(_JAVA_SOURCE_FILE ${_JAVA_SOURCE_FILES}) get_filename_component(_JAVA_EXT ${_JAVA_SOURCE_FILE} EXT) get_filename_component(_JAVA_FILE ${_JAVA_SOURCE_FILE} NAME_WE) get_filename_component(_JAVA_PATH ${_JAVA_SOURCE_FILE} PATH) get_filename_component(_JAVA_FULL ${_JAVA_SOURCE_FILE} ABSOLUTE) if (_JAVA_EXT MATCHES ".java") file(RELATIVE_PATH _JAVA_REL_BINARY_PATH ${_add_jar_OUTPUT_DIR} ${_JAVA_FULL}) file(RELATIVE_PATH _JAVA_REL_SOURCE_PATH ${CMAKE_CURRENT_SOURCE_DIR} ${_JAVA_FULL}) string(LENGTH ${_JAVA_REL_BINARY_PATH} _BIN_LEN) string(LENGTH ${_JAVA_REL_SOURCE_PATH} _SRC_LEN) if (${_BIN_LEN} LESS ${_SRC_LEN}) set(_JAVA_REL_PATH ${_JAVA_REL_BINARY_PATH}) else () set(_JAVA_REL_PATH ${_JAVA_REL_SOURCE_PATH}) endif () get_filename_component(_JAVA_REL_PATH ${_JAVA_REL_PATH} PATH) list(APPEND _JAVA_COMPILE_FILES ${_JAVA_SOURCE_FILE}) set(_JAVA_CLASS_FILE "${CMAKE_JAVA_CLASS_OUTPUT_PATH}/${_JAVA_REL_PATH}/${_JAVA_FILE}.class") set(_JAVA_CLASS_FILES ${_JAVA_CLASS_FILES} ${_JAVA_CLASS_FILE}) elseif (_JAVA_EXT MATCHES ".jar" OR _JAVA_EXT MATCHES ".war" OR _JAVA_EXT MATCHES ".ear" OR _JAVA_EXT MATCHES ".sar") # Ignored for backward compatibility elseif (_JAVA_EXT STREQUAL "") list(APPEND CMAKE_JAVA_INCLUDE_PATH ${JAVA_JAR_TARGET_${_JAVA_SOURCE_FILE}} ${JAVA_JAR_TARGET_${_JAVA_SOURCE_FILE}_CLASSPATH}) list(APPEND _JAVA_DEPENDS ${JAVA_JAR_TARGET_${_JAVA_SOURCE_FILE}}) else () __java_copy_file(${CMAKE_CURRENT_SOURCE_DIR}/${_JAVA_SOURCE_FILE} ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/${_JAVA_SOURCE_FILE} "Copying ${_JAVA_SOURCE_FILE} to the build directory") list(APPEND _JAVA_RESOURCE_FILES ${_JAVA_SOURCE_FILE}) endif () endforeach() foreach(_JAVA_INCLUDE_JAR ${_add_jar_INCLUDE_JARS}) if (TARGET ${_JAVA_INCLUDE_JAR}) get_target_property(_JAVA_JAR_PATH ${_JAVA_INCLUDE_JAR} JAR_FILE) if (_JAVA_JAR_PATH) set(CMAKE_JAVA_INCLUDE_PATH_FINAL "${CMAKE_JAVA_INCLUDE_PATH_FINAL}${CMAKE_JAVA_INCLUDE_FLAG_SEP}${_JAVA_JAR_PATH}") list(APPEND CMAKE_JAVA_INCLUDE_PATH ${_JAVA_JAR_PATH}) list(APPEND _JAVA_DEPENDS ${_JAVA_INCLUDE_JAR}) list(APPEND _JAVA_COMPILE_DEPENDS ${_JAVA_INCLUDE_JAR}) else () message(SEND_ERROR "add_jar: INCLUDE_JARS target ${_JAVA_INCLUDE_JAR} is not a jar") endif () else () set(CMAKE_JAVA_INCLUDE_PATH_FINAL "${CMAKE_JAVA_INCLUDE_PATH_FINAL}${CMAKE_JAVA_INCLUDE_FLAG_SEP}${_JAVA_INCLUDE_JAR}") list(APPEND CMAKE_JAVA_INCLUDE_PATH "${_JAVA_INCLUDE_JAR}") list(APPEND _JAVA_DEPENDS "${_JAVA_INCLUDE_JAR}") list(APPEND _JAVA_COMPILE_DEPENDS "${_JAVA_INCLUDE_JAR}") endif () endforeach() # create an empty java_class_filelist if (NOT EXISTS ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_class_filelist) file(WRITE ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_class_filelist "") endif() if (_JAVA_COMPILE_FILES) # Create the list of files to compile. set(_JAVA_SOURCES_FILE ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_sources) string(REPLACE ";" "\"\n\"" _JAVA_COMPILE_STRING "\"${_JAVA_COMPILE_FILES}\"") file(WRITE ${_JAVA_SOURCES_FILE} ${_JAVA_COMPILE_STRING}) # Compile the java files and create a list of class files add_custom_command( # NOTE: this command generates an artificial dependency file OUTPUT ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_compiled_${_TARGET_NAME} COMMAND ${Java_JAVAC_EXECUTABLE} ${CMAKE_JAVA_COMPILE_FLAGS} -classpath "${CMAKE_JAVA_INCLUDE_PATH_FINAL}" -d ${CMAKE_JAVA_CLASS_OUTPUT_PATH} @${_JAVA_SOURCES_FILE} COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_compiled_${_TARGET_NAME} DEPENDS ${_JAVA_COMPILE_FILES} ${_JAVA_COMPILE_DEPENDS} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Building Java objects for ${_TARGET_NAME}.jar" ) add_custom_command( OUTPUT ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_class_filelist COMMAND ${CMAKE_COMMAND} -DCMAKE_JAVA_CLASS_OUTPUT_PATH=${CMAKE_JAVA_CLASS_OUTPUT_PATH} -DCMAKE_JAR_CLASSES_PREFIX="${CMAKE_JAR_CLASSES_PREFIX}" -P ${_JAVA_CLASS_FILELIST_SCRIPT} DEPENDS ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_compiled_${_TARGET_NAME} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) endif () # create the jar file set(_JAVA_JAR_OUTPUT_PATH ${_add_jar_OUTPUT_DIR}/${_JAVA_TARGET_OUTPUT_NAME}) if (CMAKE_JNI_TARGET) add_custom_command( OUTPUT ${_JAVA_JAR_OUTPUT_PATH} COMMAND ${Java_JAR_EXECUTABLE} -cf${_ENTRY_POINT_OPTION} ${_JAVA_JAR_OUTPUT_PATH} ${_ENTRY_POINT_VALUE} ${_JAVA_RESOURCE_FILES} @java_class_filelist COMMAND ${CMAKE_COMMAND} -D_JAVA_TARGET_DIR=${_add_jar_OUTPUT_DIR} -D_JAVA_TARGET_OUTPUT_NAME=${_JAVA_TARGET_OUTPUT_NAME} -D_JAVA_TARGET_OUTPUT_LINK=${_JAVA_TARGET_OUTPUT_LINK} -P ${_JAVA_SYMLINK_SCRIPT} COMMAND ${CMAKE_COMMAND} -D_JAVA_TARGET_DIR=${_add_jar_OUTPUT_DIR} -D_JAVA_TARGET_OUTPUT_NAME=${_JAVA_JAR_OUTPUT_PATH} -D_JAVA_TARGET_OUTPUT_LINK=${_JAVA_TARGET_OUTPUT_LINK} -P ${_JAVA_SYMLINK_SCRIPT} DEPENDS ${_JAVA_RESOURCE_FILES} ${_JAVA_DEPENDS} ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_class_filelist WORKING_DIRECTORY ${CMAKE_JAVA_CLASS_OUTPUT_PATH} COMMENT "Creating Java archive ${_JAVA_TARGET_OUTPUT_NAME}" ) else () add_custom_command( OUTPUT ${_JAVA_JAR_OUTPUT_PATH} COMMAND ${Java_JAR_EXECUTABLE} -cf${_ENTRY_POINT_OPTION} ${_JAVA_JAR_OUTPUT_PATH} ${_ENTRY_POINT_VALUE} ${_JAVA_RESOURCE_FILES} @java_class_filelist COMMAND ${CMAKE_COMMAND} -D_JAVA_TARGET_DIR=${_add_jar_OUTPUT_DIR} -D_JAVA_TARGET_OUTPUT_NAME=${_JAVA_TARGET_OUTPUT_NAME} -D_JAVA_TARGET_OUTPUT_LINK=${_JAVA_TARGET_OUTPUT_LINK} -P ${_JAVA_SYMLINK_SCRIPT} WORKING_DIRECTORY ${CMAKE_JAVA_CLASS_OUTPUT_PATH} DEPENDS ${_JAVA_RESOURCE_FILES} ${_JAVA_DEPENDS} ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_class_filelist COMMENT "Creating Java archive ${_JAVA_TARGET_OUTPUT_NAME}" ) endif () # Add the target and make sure we have the latest resource files. add_custom_target(${_TARGET_NAME} ALL DEPENDS ${_JAVA_JAR_OUTPUT_PATH}) set_property( TARGET ${_TARGET_NAME} PROPERTY INSTALL_FILES ${_JAVA_JAR_OUTPUT_PATH} ) if (_JAVA_TARGET_OUTPUT_LINK) set_property( TARGET ${_TARGET_NAME} PROPERTY INSTALL_FILES ${_JAVA_JAR_OUTPUT_PATH} ${_add_jar_OUTPUT_DIR}/${_JAVA_TARGET_OUTPUT_LINK} ) if (CMAKE_JNI_TARGET) set_property( TARGET ${_TARGET_NAME} PROPERTY JNI_SYMLINK ${_add_jar_OUTPUT_DIR}/${_JAVA_TARGET_OUTPUT_LINK} ) endif () endif () set_property( TARGET ${_TARGET_NAME} PROPERTY JAR_FILE ${_JAVA_JAR_OUTPUT_PATH} ) set_property( TARGET ${_TARGET_NAME} PROPERTY CLASSDIR ${CMAKE_JAVA_CLASS_OUTPUT_PATH} ) endfunction() function(INSTALL_JAR _TARGET_NAME _DESTINATION) get_property(__FILES TARGET ${_TARGET_NAME} PROPERTY INSTALL_FILES ) if (__FILES) install( FILES ${__FILES} DESTINATION ${_DESTINATION} ) else () message(SEND_ERROR "The target ${_TARGET_NAME} is not known in this scope.") endif () endfunction() function(INSTALL_JNI_SYMLINK _TARGET_NAME _DESTINATION) get_property(__SYMLINK TARGET ${_TARGET_NAME} PROPERTY JNI_SYMLINK ) if (__SYMLINK) install( FILES ${__SYMLINK} DESTINATION ${_DESTINATION} ) else () message(SEND_ERROR "The target ${_TARGET_NAME} is not known in this scope.") endif () endfunction() function (find_jar VARIABLE) set(_jar_names) set(_jar_files) set(_jar_versions) set(_jar_paths /usr/share/java/ /usr/local/share/java/ ${Java_JAR_PATHS}) set(_jar_doc "NOTSET") set(_state "name") foreach (arg ${ARGN}) if (${_state} STREQUAL "name") if (${arg} STREQUAL "VERSIONS") set(_state "versions") elseif (${arg} STREQUAL "NAMES") set(_state "names") elseif (${arg} STREQUAL "PATHS") set(_state "paths") elseif (${arg} STREQUAL "DOC") set(_state "doc") else () set(_jar_names ${arg}) if (_jar_doc STREQUAL "NOTSET") set(_jar_doc "Finding ${arg} jar") endif () endif () elseif (${_state} STREQUAL "versions") if (${arg} STREQUAL "NAMES") set(_state "names") elseif (${arg} STREQUAL "PATHS") set(_state "paths") elseif (${arg} STREQUAL "DOC") set(_state "doc") else () set(_jar_versions ${_jar_versions} ${arg}) endif () elseif (${_state} STREQUAL "names") if (${arg} STREQUAL "VERSIONS") set(_state "versions") elseif (${arg} STREQUAL "PATHS") set(_state "paths") elseif (${arg} STREQUAL "DOC") set(_state "doc") else () set(_jar_names ${_jar_names} ${arg}) if (_jar_doc STREQUAL "NOTSET") set(_jar_doc "Finding ${arg} jar") endif () endif () elseif (${_state} STREQUAL "paths") if (${arg} STREQUAL "VERSIONS") set(_state "versions") elseif (${arg} STREQUAL "NAMES") set(_state "names") elseif (${arg} STREQUAL "DOC") set(_state "doc") else () set(_jar_paths ${_jar_paths} ${arg}) endif () elseif (${_state} STREQUAL "doc") if (${arg} STREQUAL "VERSIONS") set(_state "versions") elseif (${arg} STREQUAL "NAMES") set(_state "names") elseif (${arg} STREQUAL "PATHS") set(_state "paths") else () set(_jar_doc ${arg}) endif () endif () endforeach () if (NOT _jar_names) message(FATAL_ERROR "find_jar: No name to search for given") endif () foreach (jar_name ${_jar_names}) foreach (version ${_jar_versions}) set(_jar_files ${_jar_files} ${jar_name}-${version}.jar) endforeach () set(_jar_files ${_jar_files} ${jar_name}.jar) endforeach () find_file(${VARIABLE} NAMES ${_jar_files} PATHS ${_jar_paths} DOC ${_jar_doc} NO_DEFAULT_PATH) endfunction () function(create_javadoc _target) set(_javadoc_packages) set(_javadoc_files) set(_javadoc_sourcepath) set(_javadoc_classpath) set(_javadoc_installpath "${CMAKE_INSTALL_PREFIX}/share/javadoc") set(_javadoc_doctitle) set(_javadoc_windowtitle) set(_javadoc_author FALSE) set(_javadoc_version FALSE) set(_javadoc_use FALSE) set(_state "package") foreach (arg ${ARGN}) if (${_state} STREQUAL "package") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_packages ${arg}) set(_state "packages") endif () elseif (${_state} STREQUAL "packages") if (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () list(APPEND _javadoc_packages ${arg}) endif () elseif (${_state} STREQUAL "files") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () list(APPEND _javadoc_files ${arg}) endif () elseif (${_state} STREQUAL "sourcepath") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () list(APPEND _javadoc_sourcepath ${arg}) endif () elseif (${_state} STREQUAL "classpath") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () list(APPEND _javadoc_classpath ${arg}) endif () elseif (${_state} STREQUAL "installpath") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_installpath ${arg}) endif () elseif (${_state} STREQUAL "doctitle") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_doctitle ${arg}) endif () elseif (${_state} STREQUAL "windowtitle") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_windowtitle ${arg}) endif () elseif (${_state} STREQUAL "author") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_author ${arg}) endif () elseif (${_state} STREQUAL "use") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_use ${arg}) endif () elseif (${_state} STREQUAL "version") if (${arg} STREQUAL "PACKAGES") set(_state "packages") elseif (${arg} STREQUAL "FILES") set(_state "files") elseif (${arg} STREQUAL "SOURCEPATH") set(_state "sourcepath") elseif (${arg} STREQUAL "CLASSPATH") set(_state "classpath") elseif (${arg} STREQUAL "INSTALLPATH") set(_state "installpath") elseif (${arg} STREQUAL "DOCTITLE") set(_state "doctitle") elseif (${arg} STREQUAL "WINDOWTITLE") set(_state "windowtitle") elseif (${arg} STREQUAL "AUTHOR") set(_state "author") elseif (${arg} STREQUAL "USE") set(_state "use") elseif (${arg} STREQUAL "VERSION") set(_state "version") else () set(_javadoc_version ${arg}) endif () endif () endforeach () set(_javadoc_builddir ${CMAKE_CURRENT_BINARY_DIR}/javadoc/${_target}) set(_javadoc_options -d ${_javadoc_builddir}) if (_javadoc_sourcepath) set(_start TRUE) foreach(_path ${_javadoc_sourcepath}) if (_start) set(_sourcepath ${_path}) set(_start FALSE) else () set(_sourcepath ${_sourcepath}:${_path}) endif () endforeach() set(_javadoc_options ${_javadoc_options} -sourcepath ${_sourcepath}) endif () if (_javadoc_classpath) set(_start TRUE) foreach(_path ${_javadoc_classpath}) if (_start) set(_classpath ${_path}) set(_start FALSE) else () set(_classpath ${_classpath}:${_path}) endif () endforeach() set(_javadoc_options ${_javadoc_options} -classpath "${_classpath}") endif () if (_javadoc_doctitle) set(_javadoc_options ${_javadoc_options} -doctitle '${_javadoc_doctitle}') endif () if (_javadoc_windowtitle) set(_javadoc_options ${_javadoc_options} -windowtitle '${_javadoc_windowtitle}') endif () if (_javadoc_author) set(_javadoc_options ${_javadoc_options} -author) endif () if (_javadoc_use) set(_javadoc_options ${_javadoc_options} -use) endif () if (_javadoc_version) set(_javadoc_options ${_javadoc_options} -version) endif () add_custom_target(${_target}_javadoc ALL COMMAND ${Java_JAVADOC_EXECUTABLE} ${_javadoc_options} ${_javadoc_files} ${_javadoc_packages} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) install( DIRECTORY ${_javadoc_builddir} DESTINATION ${_javadoc_installpath} ) endfunction() cmake-2.8.12.2/Modules/UseJavaClassFilelist.cmake000644 000765 000024 00000004210 12266011634 022265 0ustar00kitwarestaff000000 000000 # # This script create a list of compiled Java class files to be added to a # jar file. This avoids including cmake files which get created in the # binary directory. # #============================================================================= # Copyright 2010-2011 Andreas schneider # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (CMAKE_JAVA_CLASS_OUTPUT_PATH) if (EXISTS "${CMAKE_JAVA_CLASS_OUTPUT_PATH}") set(_JAVA_GLOBBED_FILES) if (CMAKE_JAR_CLASSES_PREFIX) foreach(JAR_CLASS_PREFIX ${CMAKE_JAR_CLASSES_PREFIX}) message(STATUS "JAR_CLASS_PREFIX: ${JAR_CLASS_PREFIX}") file(GLOB_RECURSE _JAVA_GLOBBED_TMP_FILES "${CMAKE_JAVA_CLASS_OUTPUT_PATH}/${JAR_CLASS_PREFIX}/*.class") if (_JAVA_GLOBBED_TMP_FILES) list(APPEND _JAVA_GLOBBED_FILES ${_JAVA_GLOBBED_TMP_FILES}) endif () endforeach() else() file(GLOB_RECURSE _JAVA_GLOBBED_FILES "${CMAKE_JAVA_CLASS_OUTPUT_PATH}/*.class") endif () set(_JAVA_CLASS_FILES) # file(GLOB_RECURSE foo RELATIVE) is broken so we need this. foreach(_JAVA_GLOBBED_FILE ${_JAVA_GLOBBED_FILES}) file(RELATIVE_PATH _JAVA_CLASS_FILE ${CMAKE_JAVA_CLASS_OUTPUT_PATH} ${_JAVA_GLOBBED_FILE}) set(_JAVA_CLASS_FILES ${_JAVA_CLASS_FILES}${_JAVA_CLASS_FILE}\n) endforeach() # write to file file(WRITE ${CMAKE_JAVA_CLASS_OUTPUT_PATH}/java_class_filelist ${_JAVA_CLASS_FILES}) else () message(SEND_ERROR "FATAL: Java class output path doesn't exist") endif () else () message(SEND_ERROR "FATAL: Can't find CMAKE_JAVA_CLASS_OUTPUT_PATH") endif () cmake-2.8.12.2/Modules/UseJavaSymlinks.cmake000644 000765 000024 00000002135 12266011634 021341 0ustar00kitwarestaff000000 000000 # # Helper script for UseJava.cmake # #============================================================================= # Copyright 2010-2011 Andreas schneider # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if (UNIX AND _JAVA_TARGET_OUTPUT_LINK) if (_JAVA_TARGET_OUTPUT_NAME) find_program(LN_EXECUTABLE NAMES ln ) execute_process( COMMAND ${LN_EXECUTABLE} -sf "${_JAVA_TARGET_OUTPUT_NAME}" "${_JAVA_TARGET_OUTPUT_LINK}" WORKING_DIRECTORY ${_JAVA_TARGET_DIR} ) else () message(SEND_ERROR "FATAL: Can't find _JAVA_TARGET_OUTPUT_NAME") endif () endif () cmake-2.8.12.2/Modules/UsePkgConfig.cmake000644 000765 000024 00000005712 12266011634 020601 0ustar00kitwarestaff000000 000000 # - Obsolete pkg-config module for CMake, use FindPkgConfig instead. # # This module defines the following macro: # # PKGCONFIG(package includedir libdir linkflags cflags) # # Calling PKGCONFIG will fill the desired information into the 4 given arguments, # e.g. PKGCONFIG(libart-2.0 LIBART_INCLUDE_DIR LIBART_LINK_DIR LIBART_LINK_FLAGS LIBART_CFLAGS) # if pkg-config was NOT found or the specified software package doesn't exist, the # variable will be empty when the function returns, otherwise they will contain # the respective information # #============================================================================= # Copyright 2006-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) find_program(PKGCONFIG_EXECUTABLE NAMES pkg-config ) macro(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags) message(STATUS "WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig") # reset the variables at the beginning set(${_include_DIR}) set(${_link_DIR}) set(${_link_FLAGS}) set(${_cflags}) # if pkg-config has been found if(PKGCONFIG_EXECUTABLE) exec_program(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --exists RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull ) # and if the package of interest also exists for pkg-config, then get the information if(NOT _return_VALUE) exec_program(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --variable=includedir OUTPUT_VARIABLE ${_include_DIR} ) string(REGEX REPLACE "[\r\n]" " " ${_include_DIR} "${${_include_DIR}}") exec_program(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --variable=libdir OUTPUT_VARIABLE ${_link_DIR} ) string(REGEX REPLACE "[\r\n]" " " ${_link_DIR} "${${_link_DIR}}") exec_program(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --libs OUTPUT_VARIABLE ${_link_FLAGS} ) string(REGEX REPLACE "[\r\n]" " " ${_link_FLAGS} "${${_link_FLAGS}}") exec_program(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --cflags OUTPUT_VARIABLE ${_cflags} ) string(REGEX REPLACE "[\r\n]" " " ${_cflags} "${${_cflags}}") else() message(STATUS "PKGCONFIG() indicates that ${_package} is not installed (install the package which contains ${_package}.pc if you want to support this feature)") endif() # if pkg-config has NOT been found, INFORM the user else() message(STATUS "WARNING: PKGCONFIG() indicates that the tool pkg-config has not been found on your system. You should install it.") endif() endmacro() mark_as_advanced(PKGCONFIG_EXECUTABLE) cmake-2.8.12.2/Modules/UseQt4.cmake000644 000765 000024 00000010334 12266011634 017376 0ustar00kitwarestaff000000 000000 # - Use Module for QT4 # Sets up C and C++ to use Qt 4. It is assumed that FindQt.cmake # has already been loaded. See FindQt.cmake for information on # how to load Qt 4 into your CMake project. #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) add_definitions(${QT_DEFINITIONS}) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG QT_DEBUG) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE QT_NO_DEBUG) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO QT_NO_DEBUG) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG) if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS QT_NO_DEBUG) endif() if(QT_INCLUDE_DIRS_NO_SYSTEM) include_directories(${QT_INCLUDE_DIR}) else(QT_INCLUDE_DIRS_NO_SYSTEM) include_directories(SYSTEM ${QT_INCLUDE_DIR}) endif(QT_INCLUDE_DIRS_NO_SYSTEM) set(QT_LIBRARIES "") set(QT_LIBRARIES_PLUGINS "") if (QT_USE_QTMAIN) if (Q_WS_WIN) set(QT_LIBRARIES ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY}) endif () endif () if(QT_DONT_USE_QTGUI) set(QT_USE_QTGUI 0) else() set(QT_USE_QTGUI 1) endif() if(QT_DONT_USE_QTCORE) set(QT_USE_QTCORE 0) else() set(QT_USE_QTCORE 1) endif() if (QT_USE_QT3SUPPORT) add_definitions(-DQT3_SUPPORT) endif () # list dependent modules, so dependent libraries are added set(QT_QT3SUPPORT_MODULE_DEPENDS QTGUI QTSQL QTXML QTNETWORK QTCORE) set(QT_QTSVG_MODULE_DEPENDS QTGUI QTXML QTCORE) set(QT_QTUITOOLS_MODULE_DEPENDS QTGUI QTXML QTCORE) set(QT_QTHELP_MODULE_DEPENDS QTGUI QTSQL QTXML QTNETWORK QTCORE) if(QT_QTDBUS_FOUND) set(QT_PHONON_MODULE_DEPENDS QTGUI QTDBUS QTCORE) else() set(QT_PHONON_MODULE_DEPENDS QTGUI QTCORE) endif() set(QT_QTDBUS_MODULE_DEPENDS QTXML QTCORE) set(QT_QTXMLPATTERNS_MODULE_DEPENDS QTNETWORK QTCORE) set(QT_QAXCONTAINER_MODULE_DEPENDS QTGUI QTCORE) set(QT_QAXSERVER_MODULE_DEPENDS QTGUI QTCORE) set(QT_QTSCRIPTTOOLS_MODULE_DEPENDS QTGUI QTCORE) set(QT_QTWEBKIT_MODULE_DEPENDS QTXMLPATTERNS QTGUI QTCORE) set(QT_QTDECLARATIVE_MODULE_DEPENDS QTSCRIPT QTSVG QTSQL QTXMLPATTERNS QTGUI QTCORE) set(QT_QTMULTIMEDIA_MODULE_DEPENDS QTGUI QTCORE) set(QT_QTOPENGL_MODULE_DEPENDS QTGUI QTCORE) set(QT_QTSCRIPT_MODULE_DEPENDS QTCORE) set(QT_QTGUI_MODULE_DEPENDS QTCORE) set(QT_QTTEST_MODULE_DEPENDS QTCORE) set(QT_QTXML_MODULE_DEPENDS QTCORE) set(QT_QTSQL_MODULE_DEPENDS QTCORE) set(QT_QTNETWORK_MODULE_DEPENDS QTCORE) # Qt modules (in order of dependence) foreach(module QT3SUPPORT QTOPENGL QTASSISTANT QTDESIGNER QTMOTIF QTNSPLUGIN QAXSERVER QAXCONTAINER QTDECLARATIVE QTSCRIPT QTSVG QTUITOOLS QTHELP QTWEBKIT PHONON QTSCRIPTTOOLS QTMULTIMEDIA QTXMLPATTERNS QTGUI QTTEST QTDBUS QTXML QTSQL QTNETWORK QTCORE) if (QT_USE_${module} OR QT_USE_${module}_DEPENDS) if (QT_${module}_FOUND) if(QT_USE_${module}) string(REPLACE "QT" "" qt_module_def "${module}") add_definitions(-DQT_${qt_module_def}_LIB) if(QT_INCLUDE_DIRS_NO_SYSTEM) include_directories(${QT_${module}_INCLUDE_DIR}) else(QT_INCLUDE_DIRS_NO_SYSTEM) include_directories(SYSTEM ${QT_${module}_INCLUDE_DIR}) endif(QT_INCLUDE_DIRS_NO_SYSTEM) endif() set(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIBRARY}) set(QT_LIBRARIES_PLUGINS ${QT_LIBRARIES_PLUGINS} ${QT_${module}_PLUGINS}) if(QT_IS_STATIC) set(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIB_DEPENDENCIES}) endif() foreach(depend_module ${QT_${module}_MODULE_DEPENDS}) set(QT_USE_${depend_module}_DEPENDS 1) endforeach() else () message("Qt ${module} library not found.") endif () endif () endforeach() cmake-2.8.12.2/Modules/UseSWIG.cmake000644 000765 000024 00000023741 12266011634 017505 0ustar00kitwarestaff000000 000000 # - SWIG module for CMake # Defines the following macros: # SWIG_ADD_MODULE(name language [ files ]) # - Define swig module with given name and specified language # SWIG_LINK_LIBRARIES(name [ libraries ]) # - Link libraries to swig module # All other macros are for internal use only. # To get the actual name of the swig module, # use: ${SWIG_MODULE_${name}_REAL_NAME}. # Set Source files properties such as CPLUSPLUS and SWIG_FLAGS to specify # special behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add # special flags to all swig calls. # Another special variable is CMAKE_SWIG_OUTDIR, it allows one to specify # where to write all the swig generated module (swig -outdir option) # The name-specific variable SWIG_MODULE__EXTRA_DEPS may be used # to specify extra dependencies for the generated modules. # If the source file generated by swig need some special flag you can use # set_source_files_properties( ${swig_generated_file_fullname} # PROPERTIES COMPILE_FLAGS "-bla") #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2009 Mathieu Malaterre # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) set(SWIG_CXX_EXTENSION "cxx") set(SWIG_EXTRA_LIBRARIES "") set(SWIG_PYTHON_EXTRA_FILE_EXTENSION "py") # # For given swig module initialize variables associated with it # macro(SWIG_MODULE_INITIALIZE name language) string(TOUPPER "${language}" swig_uppercase_language) string(TOLOWER "${language}" swig_lowercase_language) set(SWIG_MODULE_${name}_LANGUAGE "${swig_uppercase_language}") set(SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG "${swig_lowercase_language}") set(SWIG_MODULE_${name}_REAL_NAME "${name}") if("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "UNKNOWN") message(FATAL_ERROR "SWIG Error: Language \"${language}\" not found") elseif("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "PYTHON") # when swig is used without the -interface it will produce in the module.py # a 'import _modulename' statement, which implies having a corresponding # _modulename.so (*NIX), _modulename.pyd (Win32). set(SWIG_MODULE_${name}_REAL_NAME "_${name}") elseif("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "PERL") set(SWIG_MODULE_${name}_EXTRA_FLAGS "-shadow") endif() endmacro() # # For a given language, input file, and output file, determine extra files that # will be generated. This is internal swig macro. # macro(SWIG_GET_EXTRA_OUTPUT_FILES language outfiles generatedpath infile) set(${outfiles} "") get_source_file_property(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename ${infile} SWIG_MODULE_NAME) if(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename STREQUAL "NOTFOUND") get_filename_component(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename "${infile}" NAME_WE) endif() foreach(it ${SWIG_${language}_EXTRA_FILE_EXTENSION}) set(${outfiles} ${${outfiles}} "${generatedpath}/${SWIG_GET_EXTRA_OUTPUT_FILES_module_basename}.${it}") endforeach() endmacro() # # Take swig (*.i) file and add proper custom commands for it # macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile) set(swig_full_infile ${infile}) get_filename_component(swig_source_file_path "${infile}" PATH) get_filename_component(swig_source_file_name_we "${infile}" NAME_WE) get_source_file_property(swig_source_file_generated ${infile} GENERATED) get_source_file_property(swig_source_file_cplusplus ${infile} CPLUSPLUS) get_source_file_property(swig_source_file_flags ${infile} SWIG_FLAGS) if("${swig_source_file_flags}" STREQUAL "NOTFOUND") set(swig_source_file_flags "") endif() set(swig_source_file_fullname "${infile}") if(${swig_source_file_path} MATCHES "^${CMAKE_CURRENT_SOURCE_DIR}") string(REGEX REPLACE "^${CMAKE_CURRENT_SOURCE_DIR}" "" swig_source_file_relative_path "${swig_source_file_path}") else() if(${swig_source_file_path} MATCHES "^${CMAKE_CURRENT_BINARY_DIR}") string(REGEX REPLACE "^${CMAKE_CURRENT_BINARY_DIR}" "" swig_source_file_relative_path "${swig_source_file_path}") set(swig_source_file_generated 1) else() set(swig_source_file_relative_path "${swig_source_file_path}") if(swig_source_file_generated) set(swig_source_file_fullname "${CMAKE_CURRENT_BINARY_DIR}/${infile}") else() set(swig_source_file_fullname "${CMAKE_CURRENT_SOURCE_DIR}/${infile}") endif() endif() endif() set(swig_generated_file_fullname "${CMAKE_CURRENT_BINARY_DIR}") if(swig_source_file_relative_path) set(swig_generated_file_fullname "${swig_generated_file_fullname}/${swig_source_file_relative_path}") endif() # If CMAKE_SWIG_OUTDIR was specified then pass it to -outdir if(CMAKE_SWIG_OUTDIR) set(swig_outdir ${CMAKE_SWIG_OUTDIR}) else() set(swig_outdir ${CMAKE_CURRENT_BINARY_DIR}) endif() SWIG_GET_EXTRA_OUTPUT_FILES(${SWIG_MODULE_${name}_LANGUAGE} swig_extra_generated_files "${swig_outdir}" "${infile}") set(swig_generated_file_fullname "${swig_generated_file_fullname}/${swig_source_file_name_we}") # add the language into the name of the file (i.e. TCL_wrap) # this allows for the same .i file to be wrapped into different languages set(swig_generated_file_fullname "${swig_generated_file_fullname}${SWIG_MODULE_${name}_LANGUAGE}_wrap") if(swig_source_file_cplusplus) set(swig_generated_file_fullname "${swig_generated_file_fullname}.${SWIG_CXX_EXTENSION}") else() set(swig_generated_file_fullname "${swig_generated_file_fullname}.c") endif() #message("Full path to source file: ${swig_source_file_fullname}") #message("Full path to the output file: ${swig_generated_file_fullname}") get_directory_property(cmake_include_directories INCLUDE_DIRECTORIES) set(swig_include_dirs) foreach(it ${cmake_include_directories}) set(swig_include_dirs ${swig_include_dirs} "-I${it}") endforeach() set(swig_special_flags) # default is c, so add c++ flag if it is c++ if(swig_source_file_cplusplus) set(swig_special_flags ${swig_special_flags} "-c++") endif() set(swig_extra_flags) if(SWIG_MODULE_${name}_EXTRA_FLAGS) set(swig_extra_flags ${swig_extra_flags} ${SWIG_MODULE_${name}_EXTRA_FLAGS}) endif() add_custom_command( OUTPUT "${swig_generated_file_fullname}" ${swig_extra_generated_files} # Let's create the ${swig_outdir} at execution time, in case dir contains $(OutDir) COMMAND ${CMAKE_COMMAND} -E make_directory ${swig_outdir} COMMAND "${SWIG_EXECUTABLE}" ARGS "-${SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG}" ${swig_source_file_flags} ${CMAKE_SWIG_FLAGS} -outdir ${swig_outdir} ${swig_special_flags} ${swig_extra_flags} ${swig_include_dirs} -o "${swig_generated_file_fullname}" "${swig_source_file_fullname}" MAIN_DEPENDENCY "${swig_source_file_fullname}" DEPENDS ${SWIG_MODULE_${name}_EXTRA_DEPS} COMMENT "Swig source") set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files} PROPERTIES GENERATED 1) set(${outfiles} "${swig_generated_file_fullname}" ${swig_extra_generated_files}) endmacro() # # Create Swig module # macro(SWIG_ADD_MODULE name language) SWIG_MODULE_INITIALIZE(${name} ${language}) set(swig_dot_i_sources) set(swig_other_sources) foreach(it ${ARGN}) if(${it} MATCHES ".*\\.i$") set(swig_dot_i_sources ${swig_dot_i_sources} "${it}") else() set(swig_other_sources ${swig_other_sources} "${it}") endif() endforeach() set(swig_generated_sources) foreach(it ${swig_dot_i_sources}) SWIG_ADD_SOURCE_TO_MODULE(${name} swig_generated_source ${it}) set(swig_generated_sources ${swig_generated_sources} "${swig_generated_source}") endforeach() get_directory_property(swig_extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES) set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${swig_extra_clean_files};${swig_generated_sources}") add_library(${SWIG_MODULE_${name}_REAL_NAME} MODULE ${swig_generated_sources} ${swig_other_sources}) string(TOLOWER "${language}" swig_lowercase_language) if ("${swig_lowercase_language}" STREQUAL "java") if (APPLE) # In java you want: # System.loadLibrary("LIBRARY"); # then JNI will look for a library whose name is platform dependent, namely # MacOS : libLIBRARY.jnilib # Windows: LIBRARY.dll # Linux : libLIBRARY.so set_target_properties (${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".jnilib") endif () endif () if ("${swig_lowercase_language}" STREQUAL "python") # this is only needed for the python case where a _modulename.so is generated set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "") # Python extension modules on Windows must have the extension ".pyd" # instead of ".dll" as of Python 2.5. Older python versions do support # this suffix. # http://docs.python.org/whatsnew/ports.html#SECTION0001510000000000000000 # # Windows: .dll is no longer supported as a filename extension for extension modules. # .pyd is now the only filename extension that will be searched for. # if(WIN32 AND NOT CYGWIN) set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".pyd") endif() endif () endmacro() # # Like TARGET_LINK_LIBRARIES but for swig modules # macro(SWIG_LINK_LIBRARIES name) if(SWIG_MODULE_${name}_REAL_NAME) target_link_libraries(${SWIG_MODULE_${name}_REAL_NAME} ${ARGN}) else() message(SEND_ERROR "Cannot find Swig library \"${name}\".") endif() endmacro() cmake-2.8.12.2/Modules/UseVTK40.cmake000644 000765 000024 00000002221 12266011634 017532 0ustar00kitwarestaff000000 000000 # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This is an implementation detail for using VTK 4.0 with the # FindVTK.cmake module. Do not include directly by name. This should # be included only when FindVTK.cmake sets the VTK_USE_FILE variable # to point here. # Add compiler flags needed to use VTK. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VTK_REQUIRED_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VTK_REQUIRED_CXX_FLAGS}") # Add include directories needed to use VTK. include_directories(${VTK_INCLUDE_DIRS}) # Add link directories needed to use VTK. link_directories(${VTK_LIBRARY_DIRS}) cmake-2.8.12.2/Modules/UseVTKBuildSettings40.cmake000644 000765 000024 00000003614 12266011634 022242 0ustar00kitwarestaff000000 000000 # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Implementation detail for FindVTK.cmake to let it provide a # VTK_BUILD_SETTINGS_FILE for VTK 4.0. set(CMAKE_BUILD_SETTING_CMAKE_MAJOR_VERSION "${VTK40_CMAKE_MAJOR_VERSION}") set(CMAKE_BUILD_SETTING_CMAKE_MINOR_VERSION "${VTK40_CMAKE_MINOR_VERSION}") set(CMAKE_BUILD_SETTING_PROJECT_NAME "VTK") set(CMAKE_BUILD_SETTING_C_COMPILER "${VTK40_CMAKE_C_COMPILER}") set(CMAKE_BUILD_SETTING_C_FLAGS "${VTK40_CMAKE_C_FLAGS}") set(CMAKE_BUILD_SETTING_C_FLAGS_DEBUG "${VTK40_CMAKE_C_FLAGS_DEBUG}") set(CMAKE_BUILD_SETTING_C_FLAGS_RELEASE "${VTK40_CMAKE_C_FLAGS_RELEASE}") set(CMAKE_BUILD_SETTING_C_FLAGS_MINSIZEREL "${VTK40_CMAKE_C_FLAGS_MINSIZEREL}") set(CMAKE_BUILD_SETTING_C_FLAGS_RELWITHDEBINFO "${VTK40_CMAKE_C_FLAGS_RELWITHDEBINFO}") set(CMAKE_BUILD_SETTING_CXX_COMPILER "${VTK40_CMAKE_CXX_COMPILER}") set(CMAKE_BUILD_SETTING_CXX_FLAGS "${VTK40_CMAKE_CXX_FLAGS}") set(CMAKE_BUILD_SETTING_CXX_FLAGS_DEBUG "${VTK40_CMAKE_CXX_FLAGS_DEBUG}") set(CMAKE_BUILD_SETTING_CXX_FLAGS_RELEASE "${VTK40_CMAKE_CXX_FLAGS_RELEASE}") set(CMAKE_BUILD_SETTING_CXX_FLAGS_MINSIZEREL "${VTK40_CMAKE_CXX_FLAGS_MINSIZEREL}") set(CMAKE_BUILD_SETTING_CXX_FLAGS_RELWITHDEBINFO "${VTK40_CMAKE_CXX_FLAGS_RELWITHDEBINFO}") set(CMAKE_BUILD_SETTING_BUILD_TYPE "${VTK40_CMAKE_BUILD_TYPE}") set(CMAKE_BUILD_SETTING_BUILD_TOOL "${VTK40_CMAKE_BUILD_TOOL}") cmake-2.8.12.2/Modules/UseVTKConfig40.cmake000644 000765 000024 00000032173 12266011634 020671 0ustar00kitwarestaff000000 000000 # #============================================================================= # Copyright 2002-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # This is an implementation detail for using VTK 4.0 with the # FindVTK.cmake module. Do not include directly. # Hard-code the version number since it isn't provided by VTK 4.0. set(VTK_MAJOR_VERSION 4) set(VTK_MINOR_VERSION 0) set(VTK_BUILD_VERSION 2) # Provide a new UseVTK file that doesn't do a full LOAD_CACHE. set(VTK_USE_FILE ${CMAKE_ROOT}/Modules/UseVTK40.cmake) # Provide a build settings file. set(VTK_BUILD_SETTINGS_FILE ${CMAKE_ROOT}/Modules/UseVTKBuildSettings40.cmake) # There are no CMake extensions for VTK 4.0. set(VTK_CMAKE_EXTENSIONS_DIR "") # grep "VTK40_" UseVTKConfig40.cmake |sed 's/.*VTK40_\([A-Za-z0-9_]*\).*/ \1/' load_cache(${VTK_DIR} READ_WITH_PREFIX VTK40_ BUILD_SHARED_LIBS CMAKE_BUILD_TOOL CMAKE_BUILD_TYPE CMAKE_CACHE_MAJOR_VERSION CMAKE_CACHE_MINOR_VERSION CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_C_COMPILER CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_PREFIX CMAKE_Xutil_INCLUDE_PATH EXECUTABLE_OUTPUT_PATH JAVA_INCLUDE_PATH2 LIBRARY_OUTPUT_PATH MPIRUN MPI_INCLUDE_PATH MPI_POSTFLAGS MPI_PREFLAGS OPENGL_INCLUDE_DIR OSMESA_INCLUDE_PATH PYTHON_INCLUDE_PATH TCL_INCLUDE_PATH VLI_INCLUDE_PATH_FOR_VG500 VLI_INCLUDE_PATH_FOR_VP1000 VTK_BINARY_DIR VTK_DEBUG_LEAKS VTK_HAVE_VG500 VTK_HAVE_VP1000 VTK_MANGLE_MESA VTK_OPENGL_HAS_OSMESA VTK_PARSE_JAVA_EXE VTK_SOURCE_DIR VTK_USE_64BIT_IDS VTK_USE_ANSI_STDLIB VTK_USE_HYBRID VTK_USE_MATROX_IMAGING VTK_USE_MPI VTK_USE_PARALLEL VTK_USE_PATENTED VTK_USE_RENDERING VTK_USE_VIDEO_FOR_WINDOWS VTK_USE_VOLUMEPRO VTK_USE_X VTK_WRAP_JAVA VTK_WRAP_JAVA_EXE VTK_WRAP_PYTHON VTK_WRAP_PYTHON_EXE VTK_WRAP_TCL VTK_WRAP_TCL_EXE vtkCommonJava_LIB_DEPENDS vtkCommonPython_LIB_DEPENDS vtkCommonTCL_LIB_DEPENDS vtkCommon_LIB_DEPENDS vtkFilteringJava_LIB_DEPENDS vtkFilteringPython_LIB_DEPENDS vtkFilteringTCL_LIB_DEPENDS vtkFiltering_LIB_DEPENDS vtkGraphicsJava_LIB_DEPENDS vtkGraphicsPython_LIB_DEPENDS vtkGraphicsTCL_LIB_DEPENDS vtkGraphics_LIB_DEPENDS vtkHybridJava_LIB_DEPENDS vtkHybridPython_LIB_DEPENDS vtkHybridTCL_LIB_DEPENDS vtkHybrid_LIB_DEPENDS vtkIOJava_LIB_DEPENDS vtkIOPython_LIB_DEPENDS vtkIOTCL_LIB_DEPENDS vtkIO_LIB_DEPENDS vtkImagingJava_LIB_DEPENDS vtkImagingPython_LIB_DEPENDS vtkImagingTCL_LIB_DEPENDS vtkImaging_LIB_DEPENDS vtkParallelJava_LIB_DEPENDS vtkParallelPython_LIB_DEPENDS vtkParallelTCL_LIB_DEPENDS vtkParallel_LIB_DEPENDS vtkPatentedJava_LIB_DEPENDS vtkPatentedPython_LIB_DEPENDS vtkPatentedTCL_LIB_DEPENDS vtkPatented_LIB_DEPENDS vtkRenderingJava_LIB_DEPENDS vtkRenderingPythonTkWidgets_LIB_DEPENDS vtkRenderingPython_LIB_DEPENDS vtkRenderingTCL_LIB_DEPENDS vtkRendering_LIB_DEPENDS vtkjpeg_LIB_DEPENDS vtkpng_LIB_DEPENDS vtkzlib_LIB_DEPENDS ) # Copy needed settings from the VTK 4.0 cache. set(VTK_BUILD_SHARED ${VTK40_BUILD_SHARED_LIBS}) set(VTK_DEBUG_LEAKS ${VTK40_VTK_DEBUG_LEAKS}) set(VTK_HAVE_VG500 ${VTK40_VTK_HAVE_VG500}) set(VTK_HAVE_VP1000 ${VTK40_VTK_HAVE_VP1000}) set(VTK_USE_MANGLED_MESA ${VTK40_VTK_MANGLE_MESA}) set(VTK_MPIRUN_EXE ${VTK40_MPIRUN}) set(VTK_MPI_POSTFLAGS ${VTK40_MPI_POSTFLAGS}) set(VTK_MPI_PREFLAGS ${VTK40_MPI_PREFLAGS}) set(VTK_OPENGL_HAS_OSMESA ${VTK40_VTK_OPENGL_HAS_OSMESA}) set(VTK_USE_64BIT_IDS ${VTK40_VTK_USE_64BIT_IDS}) set(VTK_USE_ANSI_STDLIB ${VTK40_VTK_USE_ANSI_STDLIB}) set(VTK_USE_HYBRID ${VTK40_VTK_USE_HYBRID}) set(VTK_USE_MATROX_IMAGING ${VTK40_VTK_USE_MATROX_IMAGING}) set(VTK_USE_MPI ${VTK40_VTK_USE_MPI}) set(VTK_USE_PARALLEL ${VTK40_VTK_USE_PARALLEL}) set(VTK_USE_PATENTED ${VTK40_VTK_USE_PATENTED}) set(VTK_USE_RENDERING ${VTK40_VTK_USE_RENDERING}) set(VTK_USE_VIDEO_FOR_WINDOWS ${VTK40_VTK_USE_VIDEO_FOR_WINDOWS}) set(VTK_USE_VOLUMEPRO ${VTK40_VTK_USE_VOLUMEPRO}) set(VTK_USE_X ${VTK40_VTK_USE_X}) set(VTK_WRAP_JAVA ${VTK40_VTK_WRAP_JAVA}) set(VTK_WRAP_PYTHON ${VTK40_VTK_WRAP_PYTHON}) set(VTK_WRAP_TCL ${VTK40_VTK_WRAP_TCL}) # Create the list of available kits. set(VTK_KITS COMMON FILTERING GRAPHICS IMAGING IO) if(VTK_USE_RENDERING) set(VTK_KITS ${VTK_KITS} RENDERING) endif() if(VTK_USE_HYBRID) set(VTK_KITS ${VTK_KITS} HYBRID) endif() if(VTK_USE_PARALLEL) set(VTK_KITS ${VTK_KITS} PARALLEL) endif() if(VTK_USE_PATENTED) set(VTK_KITS ${VTK_KITS} PATENTED) endif() # Create the list of available languages. set(VTK_LANGUAGES "") if(VTK_WRAP_TCL) set(VTK_LANGUAGES ${VTK_LANGUAGES} TCL) endif() if(VTK_WRAP_PYTHON) set(VTK_LANGUAGES ${VTK_LANGUAGES} PYTHON) endif() if(VTK_WRAP_JAVA) set(VTK_LANGUAGES ${VTK_LANGUAGES} JAVA) endif() # Include directories for other projects installed on the system and # used by VTK. set(VTK_INCLUDE_DIRS_SYS "") if(VTK_USE_RENDERING) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_OPENGL_INCLUDE_PATH} ${VTK40_OPENGL_INCLUDE_DIR}) if(VTK_USE_X) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_CMAKE_Xlib_INCLUDE_PATH} ${VTK40_CMAKE_Xutil_INCLUDE_PATH}) endif() endif() if(VTK_OPENGL_HAS_OSMESA) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_OSMESA_INCLUDE_PATH}) endif() if(VTK_USE_MPI) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_MPI_INCLUDE_PATH}) endif() if(VTK_WRAP_TCL) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_TCL_INCLUDE_PATH}) endif() if(VTK_WRAP_PYTHON) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_PYTHON_INCLUDE_PATH}) endif() if(VTK_WRAP_JAVA) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_JAVA_INCLUDE_PATH} ${VTK40_JAVA_INCLUDE_PATH2}) endif() if(VTK_HAVE_VG500) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_VLI_INCLUDE_PATH_FOR_VG500}) endif() if(VTK_HAVE_VP1000) set(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_VLI_INCLUDE_PATH_FOR_VP1000}) endif() # See if this is a build tree or install tree. if(EXISTS ${VTK_DIR}/Common) # This is a VTK 4.0 build tree. set(VTK_LIBRARY_DIRS ${VTK40_LIBRARY_OUTPUT_PATH}) # Determine the include directories needed. set(VTK_INCLUDE_DIRS ${VTK40_VTK_BINARY_DIR}) if(VTK_USE_PARALLEL) set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Parallel) endif() if(VTK_USE_HYBRID) set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Hybrid) endif() if(VTK_USE_PATENTED) set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Patented) endif() if(VTK_USE_RENDERING) set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Rendering) endif() # These directories are always needed. set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/IO ${VTK40_VTK_SOURCE_DIR}/Imaging ${VTK40_VTK_SOURCE_DIR}/Graphics ${VTK40_VTK_SOURCE_DIR}/Filtering ${VTK40_VTK_SOURCE_DIR}/Common) # Give access to a few utilities. set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_BINARY_DIR}/Utilities/png ${VTK40_VTK_SOURCE_DIR}/Utilities/png ${VTK40_VTK_BINARY_DIR}/Utilities/zlib ${VTK40_VTK_SOURCE_DIR}/Utilities/zlib) # Executable locations. if(VTK_WRAP_TCL) set(VTK_TCL_EXE ${VTK40_EXECUTABLE_OUTPUT_PATH}/vtk) set(VTK_WRAP_TCL_EXE ${VTK40_VTK_WRAP_TCL_EXE}) set(VTK_TCL_HOME ${VTK40_VTK_SOURCE_DIR}/Wrapping/Tcl) endif() if(VTK_WRAP_PYTHON) set(VTK_WRAP_PYTHON_EXE ${VTK40_VTK_WRAP_PYTHON_EXE}) endif() if(VTK_WRAP_JAVA) set(VTK_PARSE_JAVA_EXE ${VTK40_VTK_PARSE_JAVA_EXE}) set(VTK_WRAP_JAVA_EXE ${VTK40_VTK_WRAP_JAVA_EXE}) endif() else() # This is a VTK 4.0 install tree. set(VTK_INCLUDE_DIRS ${VTK_DIR}) set(VTK_LIBRARY_DIRS ${VTK40_CMAKE_INSTALL_PREFIX}/lib/vtk) # Executable locations. if(VTK_WRAP_TCL) set(VTK_TCL_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtk) set(VTK_WRAP_TCL_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkWrapTcl) set(VTK_TCL_HOME ${VTK40_CMAKE_INSTALL_PREFIX}/lib/vtk/tcl) endif() if(VTK_WRAP_PYTHON) set(VTK_WRAP_PYTHON_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkWrapPython) endif() if(VTK_WRAP_JAVA) set(VTK_PARSE_JAVA_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkParseJava) set(VTK_WRAP_JAVA_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkWrapJava) endif() endif() # Add the system include directories last. set(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK_INCLUDE_DIRS_SYS}) # Find the required C and C++ compiler flags. if(CMAKE_COMPILER_IS_GNUCXX) if(WIN32) # The platform is gcc on cygwin. set(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} -mwin32") set(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} -mwin32") endif() else() if(CMAKE_ANSI_CFLAGS) set(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") endif() if(CMAKE_SYSTEM MATCHES "OSF1-V.*") set(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} -timplicit_local -no_implicit_include") endif() endif() if(VTK_USE_X) if(CMAKE_X_CFLAGS) set(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} ${CMAKE_X_CFLAGS}") set(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} ${CMAKE_X_CFLAGS}") endif() endif() # Copy library dependencies. set(vtkCommonJava_LIB_DEPENDS "${VTK40_vtkCommonJava_LIB_DEPENDS}") set(vtkCommonPython_LIB_DEPENDS "${VTK40_vtkCommonPython_LIB_DEPENDS}") set(vtkCommonTCL_LIB_DEPENDS "${VTK40_vtkCommonTCL_LIB_DEPENDS}") set(vtkCommon_LIB_DEPENDS "${VTK40_vtkCommon_LIB_DEPENDS}") set(vtkFilteringJava_LIB_DEPENDS "${VTK40_vtkFilteringJava_LIB_DEPENDS}") set(vtkFilteringPython_LIB_DEPENDS "${VTK40_vtkFilteringPython_LIB_DEPENDS}") set(vtkFilteringTCL_LIB_DEPENDS "${VTK40_vtkFilteringTCL_LIB_DEPENDS}") set(vtkFiltering_LIB_DEPENDS "${VTK40_vtkFiltering_LIB_DEPENDS}") set(vtkGraphicsJava_LIB_DEPENDS "${VTK40_vtkGraphicsJava_LIB_DEPENDS}") set(vtkGraphicsPython_LIB_DEPENDS "${VTK40_vtkGraphicsPython_LIB_DEPENDS}") set(vtkGraphicsTCL_LIB_DEPENDS "${VTK40_vtkGraphicsTCL_LIB_DEPENDS}") set(vtkGraphics_LIB_DEPENDS "${VTK40_vtkGraphics_LIB_DEPENDS}") set(vtkHybridJava_LIB_DEPENDS "${VTK40_vtkHybridJava_LIB_DEPENDS}") set(vtkHybridPython_LIB_DEPENDS "${VTK40_vtkHybridPython_LIB_DEPENDS}") set(vtkHybridTCL_LIB_DEPENDS "${VTK40_vtkHybridTCL_LIB_DEPENDS}") set(vtkHybrid_LIB_DEPENDS "${VTK40_vtkHybrid_LIB_DEPENDS}") set(vtkIOJava_LIB_DEPENDS "${VTK40_vtkIOJava_LIB_DEPENDS}") set(vtkIOPython_LIB_DEPENDS "${VTK40_vtkIOPython_LIB_DEPENDS}") set(vtkIOTCL_LIB_DEPENDS "${VTK40_vtkIOTCL_LIB_DEPENDS}") set(vtkIO_LIB_DEPENDS "${VTK40_vtkIO_LIB_DEPENDS}") set(vtkImagingJava_LIB_DEPENDS "${VTK40_vtkImagingJava_LIB_DEPENDS}") set(vtkImagingPython_LIB_DEPENDS "${VTK40_vtkImagingPython_LIB_DEPENDS}") set(vtkImagingTCL_LIB_DEPENDS "${VTK40_vtkImagingTCL_LIB_DEPENDS}") set(vtkImaging_LIB_DEPENDS "${VTK40_vtkImaging_LIB_DEPENDS}") set(vtkParallelJava_LIB_DEPENDS "${VTK40_vtkParallelJava_LIB_DEPENDS}") set(vtkParallelPython_LIB_DEPENDS "${VTK40_vtkParallelPython_LIB_DEPENDS}") set(vtkParallelTCL_LIB_DEPENDS "${VTK40_vtkParallelTCL_LIB_DEPENDS}") set(vtkParallel_LIB_DEPENDS "${VTK40_vtkParallel_LIB_DEPENDS}") set(vtkPatentedJava_LIB_DEPENDS "${VTK40_vtkPatentedJava_LIB_DEPENDS}") set(vtkPatentedPython_LIB_DEPENDS "${VTK40_vtkPatentedPython_LIB_DEPENDS}") set(vtkPatentedTCL_LIB_DEPENDS "${VTK40_vtkPatentedTCL_LIB_DEPENDS}") set(vtkPatented_LIB_DEPENDS "${VTK40_vtkPatented_LIB_DEPENDS}") set(vtkRenderingJava_LIB_DEPENDS "${VTK40_vtkRenderingJava_LIB_DEPENDS}") set(vtkRenderingPythonTkWidgets_LIB_DEPENDS "${VTK40_vtkRenderingPythonTkWidgets_LIB_DEPENDS}") set(vtkRenderingPython_LIB_DEPENDS "${VTK40_vtkRenderingPython_LIB_DEPENDS}") set(vtkRenderingTCL_LIB_DEPENDS "${VTK40_vtkRenderingTCL_LIB_DEPENDS}") set(vtkRendering_LIB_DEPENDS "${VTK40_vtkRendering_LIB_DEPENDS}") set(vtkjpeg_LIB_DEPENDS "${VTK40_vtkjpeg_LIB_DEPENDS}") set(vtkpng_LIB_DEPENDS "${VTK40_vtkpng_LIB_DEPENDS}") set(vtkzlib_LIB_DEPENDS "${VTK40_vtkzlib_LIB_DEPENDS}") # List of VTK configuration variables set above. # grep "^[ ]*set(VTK" UseVTKConfig40.cmake |sed 's/[ ]*set(\([^ ]*\) .*/ \1/' set(VTK_SETTINGS VTK_BUILD_SHARED VTK_BUILD_VERSION VTK_DEBUG_LEAKS VTK_HAVE_VG500 VTK_HAVE_VP1000 VTK_INCLUDE_DIRS VTK_KITS VTK_LANGUAGES VTK_LIBRARY_DIRS VTK_MAJOR_VERSION VTK_MANGLE_MESA VTK_MINOR_VERSION VTK_MPIRUN_EXE VTK_MPI_POSTFLAGS VTK_MPI_PREFLAGS VTK_OPENGL_HAS_OSMESA VTK_PARSE_JAVA_EXE VTK_TCL_EXE VTK_TCL_HOME VTK_USE_64BIT_IDS VTK_USE_ANSI_STDLIB VTK_USE_HYBRID VTK_USE_MATROX_IMAGING VTK_USE_MPI VTK_USE_PARALLEL VTK_USE_PATENTED VTK_USE_RENDERING VTK_USE_VIDEO_FOR_WINDOWS VTK_USE_VOLUMEPRO VTK_USE_X VTK_WRAP_JAVA VTK_WRAP_JAVA_EXE VTK_WRAP_PYTHON VTK_WRAP_PYTHON_EXE VTK_WRAP_TCL VTK_WRAP_TCL_EXE ) cmake-2.8.12.2/Modules/UsewxWidgets.cmake000644 000765 000024 00000006263 12266011634 020721 0ustar00kitwarestaff000000 000000 # - Convenience include for using wxWidgets library. # Determines if wxWidgets was FOUND and sets the appropriate libs, incdirs, # flags, etc. INCLUDE_DIRECTORIES and LINK_DIRECTORIES are called. # # USAGE # # Note that for MinGW users the order of libs is important! # find_package(wxWidgets REQUIRED net gl core base) # include(${wxWidgets_USE_FILE}) # # and for each of your dependent executable/library targets: # target_link_libraries( ${wxWidgets_LIBRARIES}) # # DEPRECATED # LINK_LIBRARIES is not called in favor of adding dependencies per target. # # AUTHOR # Jan Woetzel #============================================================================= # Copyright 2004-2009 Kitware, Inc. # Copyright 2006 Jan Woetzel # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # debug message and logging. # comment these out for distribution if (NOT LOGFILE ) # set(LOGFILE "${PROJECT_BINARY_DIR}/CMakeOutput.log") endif () macro(MSG _MSG) # file(APPEND ${LOGFILE} "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}\n") # message(STATUS "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}") endmacro() MSG("wxWidgets_FOUND=${wxWidgets_FOUND}") if (wxWidgets_FOUND) if (wxWidgets_INCLUDE_DIRS) if(wxWidgets_INCLUDE_DIRS_NO_SYSTEM) include_directories(${wxWidgets_INCLUDE_DIRS}) else() include_directories(SYSTEM ${wxWidgets_INCLUDE_DIRS}) endif() MSG("wxWidgets_INCLUDE_DIRS=${wxWidgets_INCLUDE_DIRS}") endif() if (wxWidgets_LIBRARY_DIRS) link_directories(${wxWidgets_LIBRARY_DIRS}) MSG("wxWidgets_LIBRARY_DIRS=${wxWidgets_LIBRARY_DIRS}") endif() if (wxWidgets_DEFINITIONS) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS ${wxWidgets_DEFINITIONS}) MSG("wxWidgets_DEFINITIONS=${wxWidgets_DEFINITIONS}") endif() if (wxWidgets_DEFINITIONS_DEBUG) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG ${wxWidgets_DEFINITIONS_DEBUG}) MSG("wxWidgets_DEFINITIONS_DEBUG=${wxWidgets_DEFINITIONS_DEBUG}") endif() if (wxWidgets_CXX_FLAGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS}") MSG("wxWidgets_CXX_FLAGS=${wxWidgets_CXX_FLAGS}") endif() # DEPRECATED JW # just for backward compatibility: add deps to all targets # library projects better use advanced find_package(wxWidgets) directly. #if(wxWidgets_LIBRARIES) # link_libraries(${wxWidgets_LIBRARIES}) # # BUG: str too long: MSG("wxWidgets_LIBRARIES=${wxWidgets_LIBRARIES}") # if(LOGFILE) # file(APPEND ${LOGFILE} "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${wxWidgets_LIBRARIES}\n") # endif() #endif() else () message("wxWidgets requested but not found.") endif() cmake-2.8.12.2/Modules/VTKCompatibility.cmake000644 000765 000024 00000004201 12266011634 021443 0ustar00kitwarestaff000000 000000 #============================================================================= # Copyright 2005-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) if(APPLE) set(CMAKE_CXX_CREATE_SHARED_LIBRARY "${CMAKE_C_CREATE_SHARED_LIBRARY}") set(CMAKE_CXX_CREATE_SHARED_MODULE "${CMAKE_C_CREATE_SHARED_MODULE}") string( REGEX REPLACE "CMAKE_C_COMPILER" CMAKE_CXX_COMPILER CMAKE_CXX_CREATE_SHARED_MODULE "${CMAKE_CXX_CREATE_SHARED_MODULE}") string( REGEX REPLACE "CMAKE_C_COMPILER" CMAKE_CXX_COMPILER CMAKE_CXX_CREATE_SHARED_LIBRARY "${CMAKE_CXX_CREATE_SHARED_LIBRARY}") endif() set(VTKFTGL_BINARY_DIR "${VTK_BINARY_DIR}/Utilities/ftgl" CACHE INTERNAL "") set(VTKFREETYPE_BINARY_DIR "${VTK_BINARY_DIR}/Utilities/freetype" CACHE INTERNAL "") set(VTKFTGL_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/ftgl" CACHE INTERNAL "") set(VTKFREETYPE_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/freetype" CACHE INTERNAL "") set(VTK_GLEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/glext.h" CACHE FILEPATH "Location of the OpenGL extensions header file (glext.h).") set(VTK_GLXEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/glxext.h" CACHE FILEPATH "Location of the GLX extensions header file (glxext.h).") set(VTK_WGLEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/wglext.h" CACHE FILEPATH "Location of the WGL extensions header file (wglext.h).") # work around an old bug in VTK set(TIFF_RIGHT_VERSION 1) # for very old VTK (versions prior to 4.2) macro(SOURCE_FILES) message (FATAL_ERROR "You are trying to build a very old version of VTK (prior to VTK 4.2). To do this you need to use CMake 2.0 as it was the last version of CMake to support VTK 4.0.") endmacro() cmake-2.8.12.2/Modules/WIX.template.in000644 000765 000024 00000002735 12266011634 020066 0ustar00kitwarestaff000000 000000 ProductIcon.ico cmake-2.8.12.2/Modules/WriteBasicConfigVersionFile.cmake000644 000765 000024 00000003343 12266011634 023603 0ustar00kitwarestaff000000 000000 # WRITE_BASIC_CONFIG_VERSION_FILE( filename VERSION major.minor.patch COMPATIBILITY (AnyNewerVersion|SameMajorVersion) ) # # Deprecated, see WRITE_BASIC_PACKAGE_VERSION_FILE(), it is identical. #============================================================================= # Copyright 2008-2011 Alexander Neundorf, # Copyright 2004-2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) include(CMakeParseArguments) function(WRITE_BASIC_CONFIG_VERSION_FILE _filename) set(options ) set(oneValueArgs VERSION COMPATIBILITY ) set(multiValueArgs ) cmake_parse_arguments(CVF "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(CVF_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to WRITE_BASIC_CONFIG_VERSION_FILE(): \"${CVF_UNPARSED_ARGUMENTS}\"") endif() set(versionTemplateFile "${CMAKE_ROOT}/Modules/BasicConfigVersion-${CVF_COMPATIBILITY}.cmake.in") if(NOT EXISTS "${versionTemplateFile}") message(FATAL_ERROR "Bad COMPATIBILITY value used for WRITE_BASIC_CONFIG_VERSION_FILE(): \"${CVF_COMPATIBILITY}\"") endif() if("${CVF_VERSION}" STREQUAL "") message(FATAL_ERROR "No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE()") endif() configure_file("${versionTemplateFile}" "${_filename}" @ONLY) endfunction() cmake-2.8.12.2/Readme.txt000644 000765 000024 00000003632 12266011634 015600 0ustar00kitwarestaff000000 000000 This is CMake, the cross-platform, open-source make system. CMake is distributed under the BSD License, see Copyright.txt. For documentation see the Docs/ directory once you have built CMake or visit http://www.cmake.org. Building CMake ============== Supported Platforms ------------------- MS Windows, Mac OS X, Linux, FreeBSD, Solaris, HP-UX, IRIX, BeOS, QNX Other UNIX-like operating systems may work too out of the box, if not it shouldn't be a major problem to port CMake to this platform. Contact the CMake mailing list in this case: http://www.cmake.org/mailman/listinfo/cmake If you don't have any previous version of CMake already installed -------------------------------------------------------------- * UNIX/Mac OSX/MinGW/MSYS/Cygwin: You need to have a compiler and a make installed. Run the bootstrap script you find the in the source directory of CMake. You can use the --help option to see the supported options. You may want to use the --prefix= option to specify a custom installation directory for CMake. You can run the bootstrap script from within the CMake source directory or any other build directory of your choice. Once this has finished successfully, run make and make install. So basically it's the same as you may be used to from autotools-based projects: $ ./bootstrap; make; make install * Other Windows: You need to download and install a binary release of CMake in order to build CMake. You can get these releases from http://www.cmake.org/HTML/Download.html . Then proceed with the instructions below. You already have a version of CMake installed --------------------------------------------- You can build CMake as any other project with a CMake-based build system: run the installed CMake on the sources of this CMake with your preferred options and generators. Then build it and install it. For instructions how to do this, see http://www.cmake.org/HTML/RunningCMake.html cmake-2.8.12.2/Source/.cvsignore000644 000765 000024 00000000124 12266011634 017073 0ustar00kitwarestaff000000 000000 ccommand___Win32_Debug Debug cmake___Win32_Debug ctest___Win32_Debug CMakeSetup.map cmake-2.8.12.2/Source/.gitattributes000644 000765 000024 00000000127 12266011634 017771 0ustar00kitwarestaff000000 000000 # Preserve upstream indentation style. cm_sha2.* whitespace=indent-with-non-tab cmake-2.8.12.2/Source/cm_sha2.c000644 000765 000024 00000136117 12266011634 016567 0ustar00kitwarestaff000000 000000 /* * FILE: sha2.c * AUTHOR: Aaron D. Gifford * http://www.aarongifford.com/computers/sha.html * * Copyright (c) 2000-2003, Aaron D. Gifford * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the copyright holder nor the names of contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: sha2.c,v 1.4 2004/01/07 22:58:18 adg Exp $ */ #include /* memcpy()/memset() or bcopy()/bzero() */ #include /* assert() */ #include "cm_sha2.h" /* "sha2.h" -> "cm_sha2.h" renamed for CMake */ /* * ASSERT NOTE: * Some sanity checking code is included using assert(). On my FreeBSD * system, this additional code can be removed by compiling with NDEBUG * defined. Check your own systems manpage on assert() to see how to * compile WITHOUT the sanity checking code on your system. * * UNROLLED TRANSFORM LOOP NOTE: * You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform * loop version for the hash transform rounds (defined using macros * later in this file). Either define on the command line, for example: * * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c * * or define below: * * #define SHA2_UNROLL_TRANSFORM * */ /*** SHA-224/256/384/512 Machine Architecture Definitions *************/ /* * BYTE_ORDER NOTE: * * Please make sure that your system defines BYTE_ORDER. If your * architecture is little-endian, make sure it also defines * LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are * equivilent. * * If your system does not define the above, then you can do so by * hand like this: * * #define LITTLE_ENDIAN 1234 * #define BIG_ENDIAN 4321 * * And for little-endian machines, add: * * #define BYTE_ORDER LITTLE_ENDIAN * * Or for big-endian machines: * * #define BYTE_ORDER BIG_ENDIAN * * The FreeBSD machine this was written on defines BYTE_ORDER * appropriately by including (which in turn includes * where the appropriate definitions are actually * made). */ #if !defined(BYTE_ORDER) || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN) /* CMake modification: use byte order from cmIML. */ # include "cmIML/ABI.h" # undef BYTE_ORDER # undef BIG_ENDIAN # undef LITTLE_ENDIAN # define BYTE_ORDER cmIML_ABI_ENDIAN_ID # define BIG_ENDIAN cmIML_ABI_ENDIAN_ID_BIG # define LITTLE_ENDIAN cmIML_ABI_ENDIAN_ID_LITTLE #endif /* CMake modification: use types computed in header. */ typedef cm_sha2_uint8_t sha_byte; /* Exactly 1 byte */ typedef cm_sha2_uint32_t sha_word32; /* Exactly 4 bytes */ typedef cm_sha2_uint64_t sha_word64; /* Exactly 8 bytes */ #define SHA_UINT32_C(x) cmIML_INT_UINT32_C(x) #define SHA_UINT64_C(x) cmIML_INT_UINT64_C(x) #if defined(__BORLANDC__) # pragma warn -8004 /* variable assigned value that is never used */ #endif #if defined(__clang__) # pragma clang diagnostic ignored "-Wcast-align" #endif /*** ENDIAN REVERSAL MACROS *******************************************/ #if BYTE_ORDER == LITTLE_ENDIAN #define REVERSE32(w,x) { \ sha_word32 tmp = (w); \ tmp = (tmp >> 16) | (tmp << 16); \ (x) = ((tmp & SHA_UINT32_C(0xff00ff00)) >> 8) | \ ((tmp & SHA_UINT32_C(0x00ff00ff)) << 8); \ } #define REVERSE64(w,x) { \ sha_word64 tmp = (w); \ tmp = (tmp >> 32) | (tmp << 32); \ tmp = ((tmp & SHA_UINT64_C(0xff00ff00ff00ff00)) >> 8) | \ ((tmp & SHA_UINT64_C(0x00ff00ff00ff00ff)) << 8); \ (x) = ((tmp & SHA_UINT64_C(0xffff0000ffff0000)) >> 16) | \ ((tmp & SHA_UINT64_C(0x0000ffff0000ffff)) << 16); \ } #endif /* BYTE_ORDER == LITTLE_ENDIAN */ /* * Macro for incrementally adding the unsigned 64-bit integer n to the * unsigned 128-bit integer (represented using a two-element array of * 64-bit words): */ #define ADDINC128(w,n) { \ (w)[0] += (sha_word64)(n); \ if ((w)[0] < (n)) { \ (w)[1]++; \ } \ } /* * Macros for copying blocks of memory and for zeroing out ranges * of memory. Using these macros makes it easy to switch from * using memset()/memcpy() and using bzero()/bcopy(). * * Please define either SHA2_USE_MEMSET_MEMCPY or define * SHA2_USE_BZERO_BCOPY depending on which function set you * choose to use: */ #if !defined(SHA2_USE_MEMSET_MEMCPY) && !defined(SHA2_USE_BZERO_BCOPY) /* Default to memset()/memcpy() if no option is specified */ #define SHA2_USE_MEMSET_MEMCPY 1 #endif #if defined(SHA2_USE_MEMSET_MEMCPY) && defined(SHA2_USE_BZERO_BCOPY) /* Abort with an error if BOTH options are defined */ #error Define either SHA2_USE_MEMSET_MEMCPY or SHA2_USE_BZERO_BCOPY, not both! #endif #ifdef SHA2_USE_MEMSET_MEMCPY #define MEMSET_BZERO(p,l) memset((p), 0, (l)) #define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) #endif #ifdef SHA2_USE_BZERO_BCOPY #define MEMSET_BZERO(p,l) bzero((p), (l)) #define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) #endif /*** THE SIX LOGICAL FUNCTIONS ****************************************/ /* * Bit shifting and rotation (used by the six SHA-XYZ logical functions: * * NOTE: In the original SHA-256/384/512 document, the shift-right * function was named R and the rotate-right function was called S. * (See: http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf on the * web.) * * The newer NIST FIPS 180-2 document uses a much clearer naming * scheme, SHR for shift-right, ROTR for rotate-right, and ROTL for * rotate-left. (See: * http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf * on the web.) * * WARNING: These macros must be used cautiously, since they reference * supplied parameters sometimes more than once, and thus could have * unexpected side-effects if used without taking this into account. */ /* Shift-right (used in SHA-256, SHA-384, and SHA-512): */ #define SHR(b,x) ((x) >> (b)) /* 32-bit Rotate-right (used in SHA-256): */ #define ROTR32(b,x) (((x) >> (b)) | ((x) << (32 - (b)))) /* 64-bit Rotate-right (used in SHA-384 and SHA-512): */ #define ROTR64(b,x) (((x) >> (b)) | ((x) << (64 - (b)))) /* 32-bit Rotate-left (used in SHA-1): */ #define ROTL32(b,x) (((x) << (b)) | ((x) >> (32 - (b)))) /* Two logical functions used in SHA-1, SHA-254, SHA-256, SHA-384, and SHA-512: */ #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) /* Function used in SHA-1: */ #define Parity(x,y,z) ((x) ^ (y) ^ (z)) /* Four logical functions used in SHA-256: */ #define Sigma0_256(x) (ROTR32(2, (x)) ^ ROTR32(13, (x)) ^ ROTR32(22, (x))) #define Sigma1_256(x) (ROTR32(6, (x)) ^ ROTR32(11, (x)) ^ ROTR32(25, (x))) #define sigma0_256(x) (ROTR32(7, (x)) ^ ROTR32(18, (x)) ^ SHR( 3 , (x))) #define sigma1_256(x) (ROTR32(17, (x)) ^ ROTR32(19, (x)) ^ SHR( 10, (x))) /* Four of six logical functions used in SHA-384 and SHA-512: */ #define Sigma0_512(x) (ROTR64(28, (x)) ^ ROTR64(34, (x)) ^ ROTR64(39, (x))) #define Sigma1_512(x) (ROTR64(14, (x)) ^ ROTR64(18, (x)) ^ ROTR64(41, (x))) #define sigma0_512(x) (ROTR64( 1, (x)) ^ ROTR64( 8, (x)) ^ SHR( 7, (x))) #define sigma1_512(x) (ROTR64(19, (x)) ^ ROTR64(61, (x)) ^ SHR( 6, (x))) /*** INTERNAL FUNCTION PROTOTYPES *************************************/ /* SHA-224 and SHA-256: */ void SHA256_Internal_Init(SHA_CTX*, const sha_word32*); void SHA256_Internal_Last(SHA_CTX*); void SHA256_Internal_Transform(SHA_CTX*, const sha_word32*); /* SHA-384 and SHA-512: */ void SHA512_Internal_Init(SHA_CTX*, const sha_word64*); void SHA512_Internal_Last(SHA_CTX*); void SHA512_Internal_Transform(SHA_CTX*, const sha_word64*); /*** SHA2 INITIAL HASH VALUES AND CONSTANTS ***************************/ /* Hash constant words K for SHA-1: */ #define K1_0_TO_19 SHA_UINT32_C(0x5a827999) #define K1_20_TO_39 SHA_UINT32_C(0x6ed9eba1) #define K1_40_TO_59 SHA_UINT32_C(0x8f1bbcdc) #define K1_60_TO_79 SHA_UINT32_C(0xca62c1d6) /* Initial hash value H for SHA-1: */ static const sha_word32 sha1_initial_hash_value[5] = { SHA_UINT32_C(0x67452301), SHA_UINT32_C(0xefcdab89), SHA_UINT32_C(0x98badcfe), SHA_UINT32_C(0x10325476), SHA_UINT32_C(0xc3d2e1f0) }; /* Hash constant words K for SHA-224 and SHA-256: */ static const sha_word32 K256[64] = { SHA_UINT32_C(0x428a2f98), SHA_UINT32_C(0x71374491), SHA_UINT32_C(0xb5c0fbcf), SHA_UINT32_C(0xe9b5dba5), SHA_UINT32_C(0x3956c25b), SHA_UINT32_C(0x59f111f1), SHA_UINT32_C(0x923f82a4), SHA_UINT32_C(0xab1c5ed5), SHA_UINT32_C(0xd807aa98), SHA_UINT32_C(0x12835b01), SHA_UINT32_C(0x243185be), SHA_UINT32_C(0x550c7dc3), SHA_UINT32_C(0x72be5d74), SHA_UINT32_C(0x80deb1fe), SHA_UINT32_C(0x9bdc06a7), SHA_UINT32_C(0xc19bf174), SHA_UINT32_C(0xe49b69c1), SHA_UINT32_C(0xefbe4786), SHA_UINT32_C(0x0fc19dc6), SHA_UINT32_C(0x240ca1cc), SHA_UINT32_C(0x2de92c6f), SHA_UINT32_C(0x4a7484aa), SHA_UINT32_C(0x5cb0a9dc), SHA_UINT32_C(0x76f988da), SHA_UINT32_C(0x983e5152), SHA_UINT32_C(0xa831c66d), SHA_UINT32_C(0xb00327c8), SHA_UINT32_C(0xbf597fc7), SHA_UINT32_C(0xc6e00bf3), SHA_UINT32_C(0xd5a79147), SHA_UINT32_C(0x06ca6351), SHA_UINT32_C(0x14292967), SHA_UINT32_C(0x27b70a85), SHA_UINT32_C(0x2e1b2138), SHA_UINT32_C(0x4d2c6dfc), SHA_UINT32_C(0x53380d13), SHA_UINT32_C(0x650a7354), SHA_UINT32_C(0x766a0abb), SHA_UINT32_C(0x81c2c92e), SHA_UINT32_C(0x92722c85), SHA_UINT32_C(0xa2bfe8a1), SHA_UINT32_C(0xa81a664b), SHA_UINT32_C(0xc24b8b70), SHA_UINT32_C(0xc76c51a3), SHA_UINT32_C(0xd192e819), SHA_UINT32_C(0xd6990624), SHA_UINT32_C(0xf40e3585), SHA_UINT32_C(0x106aa070), SHA_UINT32_C(0x19a4c116), SHA_UINT32_C(0x1e376c08), SHA_UINT32_C(0x2748774c), SHA_UINT32_C(0x34b0bcb5), SHA_UINT32_C(0x391c0cb3), SHA_UINT32_C(0x4ed8aa4a), SHA_UINT32_C(0x5b9cca4f), SHA_UINT32_C(0x682e6ff3), SHA_UINT32_C(0x748f82ee), SHA_UINT32_C(0x78a5636f), SHA_UINT32_C(0x84c87814), SHA_UINT32_C(0x8cc70208), SHA_UINT32_C(0x90befffa), SHA_UINT32_C(0xa4506ceb), SHA_UINT32_C(0xbef9a3f7), SHA_UINT32_C(0xc67178f2) }; /* Initial hash value H for SHA-224: */ static const sha_word32 sha224_initial_hash_value[8] = { SHA_UINT32_C(0xc1059ed8), SHA_UINT32_C(0x367cd507), SHA_UINT32_C(0x3070dd17), SHA_UINT32_C(0xf70e5939), SHA_UINT32_C(0xffc00b31), SHA_UINT32_C(0x68581511), SHA_UINT32_C(0x64f98fa7), SHA_UINT32_C(0xbefa4fa4) }; /* Initial hash value H for SHA-256: */ static const sha_word32 sha256_initial_hash_value[8] = { SHA_UINT32_C(0x6a09e667), SHA_UINT32_C(0xbb67ae85), SHA_UINT32_C(0x3c6ef372), SHA_UINT32_C(0xa54ff53a), SHA_UINT32_C(0x510e527f), SHA_UINT32_C(0x9b05688c), SHA_UINT32_C(0x1f83d9ab), SHA_UINT32_C(0x5be0cd19) }; /* Hash constant words K for SHA-384 and SHA-512: */ static const sha_word64 K512[80] = { SHA_UINT64_C(0x428a2f98d728ae22), SHA_UINT64_C(0x7137449123ef65cd), SHA_UINT64_C(0xb5c0fbcfec4d3b2f), SHA_UINT64_C(0xe9b5dba58189dbbc), SHA_UINT64_C(0x3956c25bf348b538), SHA_UINT64_C(0x59f111f1b605d019), SHA_UINT64_C(0x923f82a4af194f9b), SHA_UINT64_C(0xab1c5ed5da6d8118), SHA_UINT64_C(0xd807aa98a3030242), SHA_UINT64_C(0x12835b0145706fbe), SHA_UINT64_C(0x243185be4ee4b28c), SHA_UINT64_C(0x550c7dc3d5ffb4e2), SHA_UINT64_C(0x72be5d74f27b896f), SHA_UINT64_C(0x80deb1fe3b1696b1), SHA_UINT64_C(0x9bdc06a725c71235), SHA_UINT64_C(0xc19bf174cf692694), SHA_UINT64_C(0xe49b69c19ef14ad2), SHA_UINT64_C(0xefbe4786384f25e3), SHA_UINT64_C(0x0fc19dc68b8cd5b5), SHA_UINT64_C(0x240ca1cc77ac9c65), SHA_UINT64_C(0x2de92c6f592b0275), SHA_UINT64_C(0x4a7484aa6ea6e483), SHA_UINT64_C(0x5cb0a9dcbd41fbd4), SHA_UINT64_C(0x76f988da831153b5), SHA_UINT64_C(0x983e5152ee66dfab), SHA_UINT64_C(0xa831c66d2db43210), SHA_UINT64_C(0xb00327c898fb213f), SHA_UINT64_C(0xbf597fc7beef0ee4), SHA_UINT64_C(0xc6e00bf33da88fc2), SHA_UINT64_C(0xd5a79147930aa725), SHA_UINT64_C(0x06ca6351e003826f), SHA_UINT64_C(0x142929670a0e6e70), SHA_UINT64_C(0x27b70a8546d22ffc), SHA_UINT64_C(0x2e1b21385c26c926), SHA_UINT64_C(0x4d2c6dfc5ac42aed), SHA_UINT64_C(0x53380d139d95b3df), SHA_UINT64_C(0x650a73548baf63de), SHA_UINT64_C(0x766a0abb3c77b2a8), SHA_UINT64_C(0x81c2c92e47edaee6), SHA_UINT64_C(0x92722c851482353b), SHA_UINT64_C(0xa2bfe8a14cf10364), SHA_UINT64_C(0xa81a664bbc423001), SHA_UINT64_C(0xc24b8b70d0f89791), SHA_UINT64_C(0xc76c51a30654be30), SHA_UINT64_C(0xd192e819d6ef5218), SHA_UINT64_C(0xd69906245565a910), SHA_UINT64_C(0xf40e35855771202a), SHA_UINT64_C(0x106aa07032bbd1b8), SHA_UINT64_C(0x19a4c116b8d2d0c8), SHA_UINT64_C(0x1e376c085141ab53), SHA_UINT64_C(0x2748774cdf8eeb99), SHA_UINT64_C(0x34b0bcb5e19b48a8), SHA_UINT64_C(0x391c0cb3c5c95a63), SHA_UINT64_C(0x4ed8aa4ae3418acb), SHA_UINT64_C(0x5b9cca4f7763e373), SHA_UINT64_C(0x682e6ff3d6b2b8a3), SHA_UINT64_C(0x748f82ee5defb2fc), SHA_UINT64_C(0x78a5636f43172f60), SHA_UINT64_C(0x84c87814a1f0ab72), SHA_UINT64_C(0x8cc702081a6439ec), SHA_UINT64_C(0x90befffa23631e28), SHA_UINT64_C(0xa4506cebde82bde9), SHA_UINT64_C(0xbef9a3f7b2c67915), SHA_UINT64_C(0xc67178f2e372532b), SHA_UINT64_C(0xca273eceea26619c), SHA_UINT64_C(0xd186b8c721c0c207), SHA_UINT64_C(0xeada7dd6cde0eb1e), SHA_UINT64_C(0xf57d4f7fee6ed178), SHA_UINT64_C(0x06f067aa72176fba), SHA_UINT64_C(0x0a637dc5a2c898a6), SHA_UINT64_C(0x113f9804bef90dae), SHA_UINT64_C(0x1b710b35131c471b), SHA_UINT64_C(0x28db77f523047d84), SHA_UINT64_C(0x32caab7b40c72493), SHA_UINT64_C(0x3c9ebe0a15c9bebc), SHA_UINT64_C(0x431d67c49c100d4c), SHA_UINT64_C(0x4cc5d4becb3e42b6), SHA_UINT64_C(0x597f299cfc657e2a), SHA_UINT64_C(0x5fcb6fab3ad6faec), SHA_UINT64_C(0x6c44198c4a475817) }; /* Initial hash value H for SHA-384 */ static const sha_word64 sha384_initial_hash_value[8] = { SHA_UINT64_C(0xcbbb9d5dc1059ed8), SHA_UINT64_C(0x629a292a367cd507), SHA_UINT64_C(0x9159015a3070dd17), SHA_UINT64_C(0x152fecd8f70e5939), SHA_UINT64_C(0x67332667ffc00b31), SHA_UINT64_C(0x8eb44a8768581511), SHA_UINT64_C(0xdb0c2e0d64f98fa7), SHA_UINT64_C(0x47b5481dbefa4fa4) }; /* Initial hash value H for SHA-512 */ static const sha_word64 sha512_initial_hash_value[8] = { SHA_UINT64_C(0x6a09e667f3bcc908), SHA_UINT64_C(0xbb67ae8584caa73b), SHA_UINT64_C(0x3c6ef372fe94f82b), SHA_UINT64_C(0xa54ff53a5f1d36f1), SHA_UINT64_C(0x510e527fade682d1), SHA_UINT64_C(0x9b05688c2b3e6c1f), SHA_UINT64_C(0x1f83d9abfb41bd6b), SHA_UINT64_C(0x5be0cd19137e2179) }; /* * Constant used by SHA224/256/384/512_End() functions for converting the * digest to a readable hexadecimal character string: */ static const char *sha_hex_digits = "0123456789abcdef"; /*** SHA-1: ***********************************************************/ void SHA1_Init(SHA_CTX* context) { /* Sanity check: */ assert(context != (SHA_CTX*)0); MEMCPY_BCOPY(context->s1.state, sha1_initial_hash_value, sizeof(sha_word32) * 5); MEMSET_BZERO(context->s1.buffer, 64); context->s1.bitcount = 0; } #ifdef SHA2_UNROLL_TRANSFORM /* Unrolled SHA-1 round macros: */ #if BYTE_ORDER == LITTLE_ENDIAN #define ROUND1_0_TO_15(a,b,c,d,e) \ REVERSE32(*data++, W1[j]); \ (e) = ROTL32(5, (a)) + Ch((b), (c), (d)) + (e) + \ K1_0_TO_19 + W1[j]; \ (b) = ROTL32(30, (b)); \ j++; #else /* BYTE_ORDER == LITTLE_ENDIAN */ #define ROUND1_0_TO_15(a,b,c,d,e) \ (e) = ROTL32(5, (a)) + Ch((b), (c), (d)) + (e) + \ K1_0_TO_19 + ( W1[j] = *data++ ); \ (b) = ROTL32(30, (b)); \ j++; #endif /* BYTE_ORDER == LITTLE_ENDIAN */ #define ROUND1_16_TO_19(a,b,c,d,e) \ T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; \ (e) = ROTL32(5, a) + Ch(b,c,d) + e + K1_0_TO_19 + ( W1[j&0x0f] = ROTL32(1, T1) ); \ (b) = ROTL32(30, b); \ j++; #define ROUND1_20_TO_39(a,b,c,d,e) \ T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; \ (e) = ROTL32(5, a) + Parity(b,c,d) + e + K1_20_TO_39 + ( W1[j&0x0f] = ROTL32(1, T1) ); \ (b) = ROTL32(30, b); \ j++; #define ROUND1_40_TO_59(a,b,c,d,e) \ T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; \ (e) = ROTL32(5, a) + Maj(b,c,d) + e + K1_40_TO_59 + ( W1[j&0x0f] = ROTL32(1, T1) ); \ (b) = ROTL32(30, b); \ j++; #define ROUND1_60_TO_79(a,b,c,d,e) \ T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; \ (e) = ROTL32(5, a) + Parity(b,c,d) + e + K1_60_TO_79 + ( W1[j&0x0f] = ROTL32(1, T1) ); \ (b) = ROTL32(30, b); \ j++; void SHA1_Internal_Transform(SHA_CTX* context, const sha_word32* data) { sha_word32 a, b, c, d, e; sha_word32 T1, *W1; int j; W1 = (sha_word32*)context->s1.buffer; /* Initialize registers with the prev. intermediate value */ a = context->s1.state[0]; b = context->s1.state[1]; c = context->s1.state[2]; d = context->s1.state[3]; e = context->s1.state[4]; j = 0; /* Rounds 0 to 15 unrolled: */ ROUND1_0_TO_15(a,b,c,d,e); ROUND1_0_TO_15(e,a,b,c,d); ROUND1_0_TO_15(d,e,a,b,c); ROUND1_0_TO_15(c,d,e,a,b); ROUND1_0_TO_15(b,c,d,e,a); ROUND1_0_TO_15(a,b,c,d,e); ROUND1_0_TO_15(e,a,b,c,d); ROUND1_0_TO_15(d,e,a,b,c); ROUND1_0_TO_15(c,d,e,a,b); ROUND1_0_TO_15(b,c,d,e,a); ROUND1_0_TO_15(a,b,c,d,e); ROUND1_0_TO_15(e,a,b,c,d); ROUND1_0_TO_15(d,e,a,b,c); ROUND1_0_TO_15(c,d,e,a,b); ROUND1_0_TO_15(b,c,d,e,a); ROUND1_0_TO_15(a,b,c,d,e); /* Rounds 16 to 19 unrolled: */ ROUND1_16_TO_19(e,a,b,c,d); ROUND1_16_TO_19(d,e,a,b,c); ROUND1_16_TO_19(c,d,e,a,b); ROUND1_16_TO_19(b,c,d,e,a); /* Rounds 20 to 39 unrolled: */ ROUND1_20_TO_39(a,b,c,d,e); ROUND1_20_TO_39(e,a,b,c,d); ROUND1_20_TO_39(d,e,a,b,c); ROUND1_20_TO_39(c,d,e,a,b); ROUND1_20_TO_39(b,c,d,e,a); ROUND1_20_TO_39(a,b,c,d,e); ROUND1_20_TO_39(e,a,b,c,d); ROUND1_20_TO_39(d,e,a,b,c); ROUND1_20_TO_39(c,d,e,a,b); ROUND1_20_TO_39(b,c,d,e,a); ROUND1_20_TO_39(a,b,c,d,e); ROUND1_20_TO_39(e,a,b,c,d); ROUND1_20_TO_39(d,e,a,b,c); ROUND1_20_TO_39(c,d,e,a,b); ROUND1_20_TO_39(b,c,d,e,a); ROUND1_20_TO_39(a,b,c,d,e); ROUND1_20_TO_39(e,a,b,c,d); ROUND1_20_TO_39(d,e,a,b,c); ROUND1_20_TO_39(c,d,e,a,b); ROUND1_20_TO_39(b,c,d,e,a); /* Rounds 40 to 59 unrolled: */ ROUND1_40_TO_59(a,b,c,d,e); ROUND1_40_TO_59(e,a,b,c,d); ROUND1_40_TO_59(d,e,a,b,c); ROUND1_40_TO_59(c,d,e,a,b); ROUND1_40_TO_59(b,c,d,e,a); ROUND1_40_TO_59(a,b,c,d,e); ROUND1_40_TO_59(e,a,b,c,d); ROUND1_40_TO_59(d,e,a,b,c); ROUND1_40_TO_59(c,d,e,a,b); ROUND1_40_TO_59(b,c,d,e,a); ROUND1_40_TO_59(a,b,c,d,e); ROUND1_40_TO_59(e,a,b,c,d); ROUND1_40_TO_59(d,e,a,b,c); ROUND1_40_TO_59(c,d,e,a,b); ROUND1_40_TO_59(b,c,d,e,a); ROUND1_40_TO_59(a,b,c,d,e); ROUND1_40_TO_59(e,a,b,c,d); ROUND1_40_TO_59(d,e,a,b,c); ROUND1_40_TO_59(c,d,e,a,b); ROUND1_40_TO_59(b,c,d,e,a); /* Rounds 60 to 79 unrolled: */ ROUND1_60_TO_79(a,b,c,d,e); ROUND1_60_TO_79(e,a,b,c,d); ROUND1_60_TO_79(d,e,a,b,c); ROUND1_60_TO_79(c,d,e,a,b); ROUND1_60_TO_79(b,c,d,e,a); ROUND1_60_TO_79(a,b,c,d,e); ROUND1_60_TO_79(e,a,b,c,d); ROUND1_60_TO_79(d,e,a,b,c); ROUND1_60_TO_79(c,d,e,a,b); ROUND1_60_TO_79(b,c,d,e,a); ROUND1_60_TO_79(a,b,c,d,e); ROUND1_60_TO_79(e,a,b,c,d); ROUND1_60_TO_79(d,e,a,b,c); ROUND1_60_TO_79(c,d,e,a,b); ROUND1_60_TO_79(b,c,d,e,a); ROUND1_60_TO_79(a,b,c,d,e); ROUND1_60_TO_79(e,a,b,c,d); ROUND1_60_TO_79(d,e,a,b,c); ROUND1_60_TO_79(c,d,e,a,b); ROUND1_60_TO_79(b,c,d,e,a); /* Compute the current intermediate hash value */ context->s1.state[0] += a; context->s1.state[1] += b; context->s1.state[2] += c; context->s1.state[3] += d; context->s1.state[4] += e; /* Clean up */ a = b = c = d = e = T1 = 0; } #else /* SHA2_UNROLL_TRANSFORM */ void SHA1_Internal_Transform(SHA_CTX* context, const sha_word32* data) { sha_word32 a, b, c, d, e; sha_word32 T1, *W1; int j; W1 = (sha_word32*)context->s1.buffer; /* Initialize registers with the prev. intermediate value */ a = context->s1.state[0]; b = context->s1.state[1]; c = context->s1.state[2]; d = context->s1.state[3]; e = context->s1.state[4]; j = 0; do { #if BYTE_ORDER == LITTLE_ENDIAN T1 = data[j]; /* Copy data while converting to host byte order */ REVERSE32(*data++, W1[j]); T1 = ROTL32(5, a) + Ch(b, c, d) + e + K1_0_TO_19 + W1[j]; #else /* BYTE_ORDER == LITTLE_ENDIAN */ T1 = ROTL32(5, a) + Ch(b, c, d) + e + K1_0_TO_19 + (W1[j] = *data++); #endif /* BYTE_ORDER == LITTLE_ENDIAN */ e = d; d = c; c = ROTL32(30, b); b = a; a = T1; j++; } while (j < 16); do { T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; T1 = ROTL32(5, a) + Ch(b,c,d) + e + K1_0_TO_19 + (W1[j&0x0f] = ROTL32(1, T1)); e = d; d = c; c = ROTL32(30, b); b = a; a = T1; j++; } while (j < 20); do { T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; T1 = ROTL32(5, a) + Parity(b,c,d) + e + K1_20_TO_39 + (W1[j&0x0f] = ROTL32(1, T1)); e = d; d = c; c = ROTL32(30, b); b = a; a = T1; j++; } while (j < 40); do { T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; T1 = ROTL32(5, a) + Maj(b,c,d) + e + K1_40_TO_59 + (W1[j&0x0f] = ROTL32(1, T1)); e = d; d = c; c = ROTL32(30, b); b = a; a = T1; j++; } while (j < 60); do { T1 = W1[(j+13)&0x0f] ^ W1[(j+8)&0x0f] ^ W1[(j+2)&0x0f] ^ W1[j&0x0f]; T1 = ROTL32(5, a) + Parity(b,c,d) + e + K1_60_TO_79 + (W1[j&0x0f] = ROTL32(1, T1)); e = d; d = c; c = ROTL32(30, b); b = a; a = T1; j++; } while (j < 80); /* Compute the current intermediate hash value */ context->s1.state[0] += a; context->s1.state[1] += b; context->s1.state[2] += c; context->s1.state[3] += d; context->s1.state[4] += e; /* Clean up */ a = b = c = d = e = T1 = 0; } #endif /* SHA2_UNROLL_TRANSFORM */ void SHA1_Update(SHA_CTX* context, const sha_byte *data, size_t len) { unsigned int freespace, usedspace; if (len == 0) { /* Calling with no data is valid - we do nothing */ return; } /* Sanity check: */ assert(context != (SHA_CTX*)0 && data != (sha_byte*)0); usedspace = (unsigned int)((context->s1.bitcount >> 3) % 64); if (usedspace > 0) { /* Calculate how much free space is available in the buffer */ freespace = 64 - usedspace; if (len >= freespace) { /* Fill the buffer completely and process it */ MEMCPY_BCOPY(&context->s1.buffer[usedspace], data, freespace); context->s1.bitcount += freespace << 3; len -= freespace; data += freespace; SHA1_Internal_Transform(context, (sha_word32*)context->s1.buffer); } else { /* The buffer is not yet full */ MEMCPY_BCOPY(&context->s1.buffer[usedspace], data, len); context->s1.bitcount += len << 3; /* Clean up: */ usedspace = freespace = 0; return; } } while (len >= 64) { /* Process as many complete blocks as we can */ SHA1_Internal_Transform(context, (sha_word32*)data); context->s1.bitcount += 512; len -= 64; data += 64; } if (len > 0) { /* There's left-overs, so save 'em */ MEMCPY_BCOPY(context->s1.buffer, data, len); context->s1.bitcount += len << 3; } /* Clean up: */ usedspace = freespace = 0; } void SHA1_Final(sha_byte digest[], SHA_CTX* context) { sha_word32 *d = (sha_word32*)digest; unsigned int usedspace; /* Sanity check: */ assert(context != (SHA_CTX*)0); if (digest == (sha_byte*)0) { /* * No digest buffer, so we can do nothing * except clean up and go home */ MEMSET_BZERO(context, sizeof(*context)); return; } usedspace = (unsigned int)((context->s1.bitcount >> 3) % 64); if (usedspace == 0) { /* Set-up for the last transform: */ MEMSET_BZERO(context->s1.buffer, 56); /* Begin padding with a 1 bit: */ *context->s1.buffer = 0x80; } else { /* Begin padding with a 1 bit: */ context->s1.buffer[usedspace++] = 0x80; if (usedspace <= 56) { /* Set-up for the last transform: */ MEMSET_BZERO(&context->s1.buffer[usedspace], 56 - usedspace); } else { if (usedspace < 64) { MEMSET_BZERO(&context->s1.buffer[usedspace], 64 - usedspace); } /* Do second-to-last transform: */ SHA1_Internal_Transform(context, (sha_word32*)context->s1.buffer); /* And set-up for the last transform: */ MEMSET_BZERO(context->s1.buffer, 56); } /* Clean up: */ usedspace = 0; } /* Set the bit count: */ #if BYTE_ORDER == LITTLE_ENDIAN /* Convert FROM host byte order */ REVERSE64(context->s1.bitcount,context->s1.bitcount); #endif MEMCPY_BCOPY(&context->s1.buffer[56], &context->s1.bitcount, sizeof(sha_word64)); /* Final transform: */ SHA1_Internal_Transform(context, (sha_word32*)context->s1.buffer); /* Save the hash data for output: */ #if BYTE_ORDER == LITTLE_ENDIAN { /* Convert TO host byte order */ int j; for (j = 0; j < (SHA1_DIGEST_LENGTH >> 2); j++) { REVERSE32(context->s1.state[j],context->s1.state[j]); *d++ = context->s1.state[j]; } } #else MEMCPY_BCOPY(d, context->s1.state, SHA1_DIGEST_LENGTH); #endif /* Clean up: */ MEMSET_BZERO(context, sizeof(*context)); } char *SHA1_End(SHA_CTX* context, char buffer[]) { sha_byte digest[SHA1_DIGEST_LENGTH], *d = digest; int i; /* Sanity check: */ assert(context != (SHA_CTX*)0); if (buffer != (char*)0) { SHA1_Final(digest, context); for (i = 0; i < SHA1_DIGEST_LENGTH; i++) { *buffer++ = sha_hex_digits[(*d & 0xf0) >> 4]; *buffer++ = sha_hex_digits[*d & 0x0f]; d++; } *buffer = (char)0; } else { MEMSET_BZERO(context, sizeof(*context)); } MEMSET_BZERO(digest, SHA1_DIGEST_LENGTH); return buffer; } char* SHA1_Data(const sha_byte* data, size_t len, char digest[SHA1_DIGEST_STRING_LENGTH]) { SHA_CTX context; SHA1_Init(&context); SHA1_Update(&context, data, len); return SHA1_End(&context, digest); } /*** SHA-256: *********************************************************/ void SHA256_Internal_Init(SHA_CTX* context, const sha_word32* ihv) { /* Sanity check: */ assert(context != (SHA_CTX*)0); MEMCPY_BCOPY(context->s256.state, ihv, sizeof(sha_word32) * 8); MEMSET_BZERO(context->s256.buffer, 64); context->s256.bitcount = 0; } void SHA256_Init(SHA_CTX* context) { SHA256_Internal_Init(context, sha256_initial_hash_value); } #ifdef SHA2_UNROLL_TRANSFORM /* Unrolled SHA-256 round macros: */ #if BYTE_ORDER == LITTLE_ENDIAN #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ REVERSE32(*data++, W256[j]); \ T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \ K256[j] + W256[j]; \ (d) += T1; \ (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ j++ #else /* BYTE_ORDER == LITTLE_ENDIAN */ #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \ K256[j] + (W256[j] = *data++); \ (d) += T1; \ (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ j++ #endif /* BYTE_ORDER == LITTLE_ENDIAN */ #define ROUND256(a,b,c,d,e,f,g,h) \ s0 = W256[(j+1)&0x0f]; \ s0 = sigma0_256(s0); \ s1 = W256[(j+14)&0x0f]; \ s1 = sigma1_256(s1); \ T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \ (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \ (d) += T1; \ (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ j++ void SHA256_Internal_Transform(SHA_CTX* context, const sha_word32* data) { sha_word32 a, b, c, d, e, f, g, h, s0, s1; sha_word32 T1, *W256; int j; W256 = (sha_word32*)context->s256.buffer; /* Initialize registers with the prev. intermediate value */ a = context->s256.state[0]; b = context->s256.state[1]; c = context->s256.state[2]; d = context->s256.state[3]; e = context->s256.state[4]; f = context->s256.state[5]; g = context->s256.state[6]; h = context->s256.state[7]; j = 0; do { /* Rounds 0 to 15 (unrolled): */ ROUND256_0_TO_15(a,b,c,d,e,f,g,h); ROUND256_0_TO_15(h,a,b,c,d,e,f,g); ROUND256_0_TO_15(g,h,a,b,c,d,e,f); ROUND256_0_TO_15(f,g,h,a,b,c,d,e); ROUND256_0_TO_15(e,f,g,h,a,b,c,d); ROUND256_0_TO_15(d,e,f,g,h,a,b,c); ROUND256_0_TO_15(c,d,e,f,g,h,a,b); ROUND256_0_TO_15(b,c,d,e,f,g,h,a); } while (j < 16); /* Now for the remaining rounds to 64: */ do { ROUND256(a,b,c,d,e,f,g,h); ROUND256(h,a,b,c,d,e,f,g); ROUND256(g,h,a,b,c,d,e,f); ROUND256(f,g,h,a,b,c,d,e); ROUND256(e,f,g,h,a,b,c,d); ROUND256(d,e,f,g,h,a,b,c); ROUND256(c,d,e,f,g,h,a,b); ROUND256(b,c,d,e,f,g,h,a); } while (j < 64); /* Compute the current intermediate hash value */ context->s256.state[0] += a; context->s256.state[1] += b; context->s256.state[2] += c; context->s256.state[3] += d; context->s256.state[4] += e; context->s256.state[5] += f; context->s256.state[6] += g; context->s256.state[7] += h; /* Clean up */ a = b = c = d = e = f = g = h = T1 = 0; } #else /* SHA2_UNROLL_TRANSFORM */ void SHA256_Internal_Transform(SHA_CTX* context, const sha_word32* data) { sha_word32 a, b, c, d, e, f, g, h, s0, s1; sha_word32 T1, T2, *W256; int j; W256 = (sha_word32*)context->s256.buffer; /* Initialize registers with the prev. intermediate value */ a = context->s256.state[0]; b = context->s256.state[1]; c = context->s256.state[2]; d = context->s256.state[3]; e = context->s256.state[4]; f = context->s256.state[5]; g = context->s256.state[6]; h = context->s256.state[7]; j = 0; do { #if BYTE_ORDER == LITTLE_ENDIAN /* Copy data while converting to host byte order */ REVERSE32(*data++,W256[j]); /* Apply the SHA-256 compression function to update a..h */ T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + W256[j]; #else /* BYTE_ORDER == LITTLE_ENDIAN */ /* Apply the SHA-256 compression function to update a..h with copy */ T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + (W256[j] = *data++); #endif /* BYTE_ORDER == LITTLE_ENDIAN */ T2 = Sigma0_256(a) + Maj(a, b, c); h = g; g = f; f = e; e = d + T1; d = c; c = b; b = a; a = T1 + T2; j++; } while (j < 16); do { /* Part of the message block expansion: */ s0 = W256[(j+1)&0x0f]; s0 = sigma0_256(s0); s1 = W256[(j+14)&0x0f]; s1 = sigma1_256(s1); /* Apply the SHA-256 compression function to update a..h */ T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); T2 = Sigma0_256(a) + Maj(a, b, c); h = g; g = f; f = e; e = d + T1; d = c; c = b; b = a; a = T1 + T2; j++; } while (j < 64); /* Compute the current intermediate hash value */ context->s256.state[0] += a; context->s256.state[1] += b; context->s256.state[2] += c; context->s256.state[3] += d; context->s256.state[4] += e; context->s256.state[5] += f; context->s256.state[6] += g; context->s256.state[7] += h; /* Clean up */ a = b = c = d = e = f = g = h = T1 = T2 = 0; } #endif /* SHA2_UNROLL_TRANSFORM */ void SHA256_Update(SHA_CTX* context, const sha_byte *data, size_t len) { unsigned int freespace, usedspace; if (len == 0) { /* Calling with no data is valid - we do nothing */ return; } /* Sanity check: */ assert(context != (SHA_CTX*)0 && data != (sha_byte*)0); usedspace = (unsigned int)((context->s256.bitcount >> 3) % 64); if (usedspace > 0) { /* Calculate how much free space is available in the buffer */ freespace = 64 - usedspace; if (len >= freespace) { /* Fill the buffer completely and process it */ MEMCPY_BCOPY(&context->s256.buffer[usedspace], data, freespace); context->s256.bitcount += freespace << 3; len -= freespace; data += freespace; SHA256_Internal_Transform(context, (sha_word32*)context->s256.buffer); } else { /* The buffer is not yet full */ MEMCPY_BCOPY(&context->s256.buffer[usedspace], data, len); context->s256.bitcount += len << 3; /* Clean up: */ usedspace = freespace = 0; return; } } while (len >= 64) { /* Process as many complete blocks as we can */ SHA256_Internal_Transform(context, (sha_word32*)data); context->s256.bitcount += 512; len -= 64; data += 64; } if (len > 0) { /* There's left-overs, so save 'em */ MEMCPY_BCOPY(context->s256.buffer, data, len); context->s256.bitcount += len << 3; } /* Clean up: */ usedspace = freespace = 0; } void SHA256_Internal_Last(SHA_CTX* context) { unsigned int usedspace; usedspace = (unsigned int)((context->s256.bitcount >> 3) % 64); #if BYTE_ORDER == LITTLE_ENDIAN /* Convert FROM host byte order */ REVERSE64(context->s256.bitcount,context->s256.bitcount); #endif if (usedspace > 0) { /* Begin padding with a 1 bit: */ context->s256.buffer[usedspace++] = 0x80; if (usedspace <= 56) { /* Set-up for the last transform: */ MEMSET_BZERO(&context->s256.buffer[usedspace], 56 - usedspace); } else { if (usedspace < 64) { MEMSET_BZERO(&context->s256.buffer[usedspace], 64 - usedspace); } /* Do second-to-last transform: */ SHA256_Internal_Transform(context, (sha_word32*)context->s256.buffer); /* And set-up for the last transform: */ MEMSET_BZERO(context->s256.buffer, 56); } /* Clean up: */ usedspace = 0; } else { /* Set-up for the last transform: */ MEMSET_BZERO(context->s256.buffer, 56); /* Begin padding with a 1 bit: */ *context->s256.buffer = 0x80; } /* Set the bit count: */ MEMCPY_BCOPY(&context->s256.buffer[56], &context->s256.bitcount, sizeof(sha_word64)); /* Final transform: */ SHA256_Internal_Transform(context, (sha_word32*)context->s256.buffer); } void SHA256_Final(sha_byte digest[], SHA_CTX* context) { sha_word32 *d = (sha_word32*)digest; /* Sanity check: */ assert(context != (SHA_CTX*)0); /* If no digest buffer is passed, we don't bother doing this: */ if (digest != (sha_byte*)0) { SHA256_Internal_Last(context); /* Save the hash data for output: */ #if BYTE_ORDER == LITTLE_ENDIAN { /* Convert TO host byte order */ int j; for (j = 0; j < (SHA256_DIGEST_LENGTH >> 2); j++) { REVERSE32(context->s256.state[j],context->s256.state[j]); *d++ = context->s256.state[j]; } } #else MEMCPY_BCOPY(d, context->s256.state, SHA256_DIGEST_LENGTH); #endif } /* Clean up state data: */ MEMSET_BZERO(context, sizeof(*context)); } char *SHA256_End(SHA_CTX* context, char buffer[]) { sha_byte digest[SHA256_DIGEST_LENGTH], *d = digest; int i; /* Sanity check: */ assert(context != (SHA_CTX*)0); if (buffer != (char*)0) { SHA256_Final(digest, context); for (i = 0; i < SHA256_DIGEST_LENGTH; i++) { *buffer++ = sha_hex_digits[(*d & 0xf0) >> 4]; *buffer++ = sha_hex_digits[*d & 0x0f]; d++; } *buffer = (char)0; } else { MEMSET_BZERO(context, sizeof(*context)); } MEMSET_BZERO(digest, SHA256_DIGEST_LENGTH); return buffer; } char* SHA256_Data(const sha_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) { SHA_CTX context; SHA256_Init(&context); SHA256_Update(&context, data, len); return SHA256_End(&context, digest); } /*** SHA-224: *********************************************************/ void SHA224_Init(SHA_CTX* context) { SHA256_Internal_Init(context, sha224_initial_hash_value); } void SHA224_Internal_Transform(SHA_CTX* context, const sha_word32* data) { SHA256_Internal_Transform(context, data); } void SHA224_Update(SHA_CTX* context, const sha_byte *data, size_t len) { SHA256_Update(context, data, len); } void SHA224_Final(sha_byte digest[], SHA_CTX* context) { sha_word32 *d = (sha_word32*)digest; /* Sanity check: */ assert(context != (SHA_CTX*)0); /* If no digest buffer is passed, we don't bother doing this: */ if (digest != (sha_byte*)0) { SHA256_Internal_Last(context); /* Save the hash data for output: */ #if BYTE_ORDER == LITTLE_ENDIAN { /* Convert TO host byte order */ int j; for (j = 0; j < (SHA224_DIGEST_LENGTH >> 2); j++) { REVERSE32(context->s256.state[j],context->s256.state[j]); *d++ = context->s256.state[j]; } } #else MEMCPY_BCOPY(d, context->s256.state, SHA224_DIGEST_LENGTH); #endif } /* Clean up state data: */ MEMSET_BZERO(context, sizeof(*context)); } char *SHA224_End(SHA_CTX* context, char buffer[]) { sha_byte digest[SHA224_DIGEST_LENGTH], *d = digest; int i; /* Sanity check: */ assert(context != (SHA_CTX*)0); if (buffer != (char*)0) { SHA224_Final(digest, context); for (i = 0; i < SHA224_DIGEST_LENGTH; i++) { *buffer++ = sha_hex_digits[(*d & 0xf0) >> 4]; *buffer++ = sha_hex_digits[*d & 0x0f]; d++; } *buffer = (char)0; } else { MEMSET_BZERO(context, sizeof(*context)); } MEMSET_BZERO(digest, SHA224_DIGEST_LENGTH); return buffer; } char* SHA224_Data(const sha_byte* data, size_t len, char digest[SHA224_DIGEST_STRING_LENGTH]) { SHA_CTX context; SHA224_Init(&context); SHA224_Update(&context, data, len); return SHA224_End(&context, digest); } /*** SHA-512: *********************************************************/ void SHA512_Internal_Init(SHA_CTX* context, const sha_word64* ihv) { /* Sanity check: */ assert(context != (SHA_CTX*)0); MEMCPY_BCOPY(context->s512.state, ihv, sizeof(sha_word64) * 8); MEMSET_BZERO(context->s512.buffer, 128); context->s512.bitcount[0] = context->s512.bitcount[1] = 0; } void SHA512_Init(SHA_CTX* context) { SHA512_Internal_Init(context, sha512_initial_hash_value); } #ifdef SHA2_UNROLL_TRANSFORM /* Unrolled SHA-512 round macros: */ #if BYTE_ORDER == LITTLE_ENDIAN #define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \ REVERSE64(*data++, W512[j]); \ T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + \ K512[j] + W512[j]; \ (d) += T1, \ (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \ j++ #else /* BYTE_ORDER == LITTLE_ENDIAN */ #define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \ T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + \ K512[j] + (W512[j] = *data++); \ (d) += T1; \ (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ j++ #endif /* BYTE_ORDER == LITTLE_ENDIAN */ #define ROUND512(a,b,c,d,e,f,g,h) \ s0 = W512[(j+1)&0x0f]; \ s0 = sigma0_512(s0); \ s1 = W512[(j+14)&0x0f]; \ s1 = sigma1_512(s1); \ T1 = (h) + Sigma1_512(e) + Ch((e), (f), (g)) + K512[j] + \ (W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); \ (d) += T1; \ (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ j++ void SHA512_Internal_Transform(SHA_CTX* context, const sha_word64* data) { sha_word64 a, b, c, d, e, f, g, h, s0, s1; sha_word64 T1, *W512 = (sha_word64*)context->s512.buffer; int j; /* Initialize registers with the prev. intermediate value */ a = context->s512.state[0]; b = context->s512.state[1]; c = context->s512.state[2]; d = context->s512.state[3]; e = context->s512.state[4]; f = context->s512.state[5]; g = context->s512.state[6]; h = context->s512.state[7]; j = 0; do { ROUND512_0_TO_15(a,b,c,d,e,f,g,h); ROUND512_0_TO_15(h,a,b,c,d,e,f,g); ROUND512_0_TO_15(g,h,a,b,c,d,e,f); ROUND512_0_TO_15(f,g,h,a,b,c,d,e); ROUND512_0_TO_15(e,f,g,h,a,b,c,d); ROUND512_0_TO_15(d,e,f,g,h,a,b,c); ROUND512_0_TO_15(c,d,e,f,g,h,a,b); ROUND512_0_TO_15(b,c,d,e,f,g,h,a); } while (j < 16); /* Now for the remaining rounds up to 79: */ do { ROUND512(a,b,c,d,e,f,g,h); ROUND512(h,a,b,c,d,e,f,g); ROUND512(g,h,a,b,c,d,e,f); ROUND512(f,g,h,a,b,c,d,e); ROUND512(e,f,g,h,a,b,c,d); ROUND512(d,e,f,g,h,a,b,c); ROUND512(c,d,e,f,g,h,a,b); ROUND512(b,c,d,e,f,g,h,a); } while (j < 80); /* Compute the current intermediate hash value */ context->s512.state[0] += a; context->s512.state[1] += b; context->s512.state[2] += c; context->s512.state[3] += d; context->s512.state[4] += e; context->s512.state[5] += f; context->s512.state[6] += g; context->s512.state[7] += h; /* Clean up */ a = b = c = d = e = f = g = h = T1 = 0; } #else /* SHA2_UNROLL_TRANSFORM */ void SHA512_Internal_Transform(SHA_CTX* context, const sha_word64* data) { sha_word64 a, b, c, d, e, f, g, h, s0, s1; sha_word64 T1, T2, *W512 = (sha_word64*)context->s512.buffer; int j; /* Initialize registers with the prev. intermediate value */ a = context->s512.state[0]; b = context->s512.state[1]; c = context->s512.state[2]; d = context->s512.state[3]; e = context->s512.state[4]; f = context->s512.state[5]; g = context->s512.state[6]; h = context->s512.state[7]; j = 0; do { #if BYTE_ORDER == LITTLE_ENDIAN /* Convert TO host byte order */ REVERSE64(*data++, W512[j]); /* Apply the SHA-512 compression function to update a..h */ T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + W512[j]; #else /* BYTE_ORDER == LITTLE_ENDIAN */ /* Apply the SHA-512 compression function to update a..h with copy */ T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + (W512[j] = *data++); #endif /* BYTE_ORDER == LITTLE_ENDIAN */ T2 = Sigma0_512(a) + Maj(a, b, c); h = g; g = f; f = e; e = d + T1; d = c; c = b; b = a; a = T1 + T2; j++; } while (j < 16); do { /* Part of the message block expansion: */ s0 = W512[(j+1)&0x0f]; s0 = sigma0_512(s0); s1 = W512[(j+14)&0x0f]; s1 = sigma1_512(s1); /* Apply the SHA-512 compression function to update a..h */ T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + (W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); T2 = Sigma0_512(a) + Maj(a, b, c); h = g; g = f; f = e; e = d + T1; d = c; c = b; b = a; a = T1 + T2; j++; } while (j < 80); /* Compute the current intermediate hash value */ context->s512.state[0] += a; context->s512.state[1] += b; context->s512.state[2] += c; context->s512.state[3] += d; context->s512.state[4] += e; context->s512.state[5] += f; context->s512.state[6] += g; context->s512.state[7] += h; /* Clean up */ a = b = c = d = e = f = g = h = T1 = T2 = 0; } #endif /* SHA2_UNROLL_TRANSFORM */ void SHA512_Update(SHA_CTX* context, const sha_byte *data, size_t len) { unsigned int freespace, usedspace; if (len == 0) { /* Calling with no data is valid - we do nothing */ return; } /* Sanity check: */ assert(context != (SHA_CTX*)0 && data != (sha_byte*)0); usedspace = (unsigned int)((context->s512.bitcount[0] >> 3) % 128); if (usedspace > 0) { /* Calculate how much free space is available in the buffer */ freespace = 128 - usedspace; if (len >= freespace) { /* Fill the buffer completely and process it */ MEMCPY_BCOPY(&context->s512.buffer[usedspace], data, freespace); ADDINC128(context->s512.bitcount, freespace << 3); len -= freespace; data += freespace; SHA512_Internal_Transform(context, (sha_word64*)context->s512.buffer); } else { /* The buffer is not yet full */ MEMCPY_BCOPY(&context->s512.buffer[usedspace], data, len); ADDINC128(context->s512.bitcount, len << 3); /* Clean up: */ usedspace = freespace = 0; return; } } while (len >= 128) { /* Process as many complete blocks as we can */ SHA512_Internal_Transform(context, (sha_word64*)data); ADDINC128(context->s512.bitcount, 1024); len -= 128; data += 128; } if (len > 0) { /* There's left-overs, so save 'em */ MEMCPY_BCOPY(context->s512.buffer, data, len); ADDINC128(context->s512.bitcount, len << 3); } /* Clean up: */ usedspace = freespace = 0; } void SHA512_Internal_Last(SHA_CTX* context) { unsigned int usedspace; usedspace = (unsigned int)((context->s512.bitcount[0] >> 3) % 128); #if BYTE_ORDER == LITTLE_ENDIAN /* Convert FROM host byte order */ REVERSE64(context->s512.bitcount[0],context->s512.bitcount[0]); REVERSE64(context->s512.bitcount[1],context->s512.bitcount[1]); #endif if (usedspace > 0) { /* Begin padding with a 1 bit: */ context->s512.buffer[usedspace++] = 0x80; if (usedspace <= 112) { /* Set-up for the last transform: */ MEMSET_BZERO(&context->s512.buffer[usedspace], 112 - usedspace); } else { if (usedspace < 128) { MEMSET_BZERO(&context->s512.buffer[usedspace], 128 - usedspace); } /* Do second-to-last transform: */ SHA512_Internal_Transform(context, (sha_word64*)context->s512.buffer); /* And set-up for the last transform: */ MEMSET_BZERO(context->s512.buffer, 112); } /* Clean up: */ usedspace = 0; } else { /* Prepare for final transform: */ MEMSET_BZERO(context->s512.buffer, 112); /* Begin padding with a 1 bit: */ *context->s512.buffer = 0x80; } /* Store the length of input data (in bits): */ MEMCPY_BCOPY(&context->s512.buffer[112], &context->s512.bitcount[1], sizeof(sha_word64)); MEMCPY_BCOPY(&context->s512.buffer[120], &context->s512.bitcount[0], sizeof(sha_word64)); /* Final transform: */ SHA512_Internal_Transform(context, (sha_word64*)context->s512.buffer); } void SHA512_Final(sha_byte digest[], SHA_CTX* context) { sha_word64 *d = (sha_word64*)digest; /* Sanity check: */ assert(context != (SHA_CTX*)0); /* If no digest buffer is passed, we don't bother doing this: */ if (digest != (sha_byte*)0) { SHA512_Internal_Last(context); /* Save the hash data for output: */ #if BYTE_ORDER == LITTLE_ENDIAN { /* Convert TO host byte order */ int j; for (j = 0; j < (SHA512_DIGEST_LENGTH >> 3); j++) { REVERSE64(context->s512.state[j],context->s512.state[j]); *d++ = context->s512.state[j]; } } #else MEMCPY_BCOPY(d, context->s512.state, SHA512_DIGEST_LENGTH); #endif } /* Zero out state data */ MEMSET_BZERO(context, sizeof(*context)); } char *SHA512_End(SHA_CTX* context, char buffer[]) { sha_byte digest[SHA512_DIGEST_LENGTH], *d = digest; int i; /* Sanity check: */ assert(context != (SHA_CTX*)0); if (buffer != (char*)0) { SHA512_Final(digest, context); for (i = 0; i < SHA512_DIGEST_LENGTH; i++) { *buffer++ = sha_hex_digits[(*d & 0xf0) >> 4]; *buffer++ = sha_hex_digits[*d & 0x0f]; d++; } *buffer = (char)0; } else { MEMSET_BZERO(context, sizeof(*context)); } MEMSET_BZERO(digest, SHA512_DIGEST_LENGTH); return buffer; } char* SHA512_Data(const sha_byte* data, size_t len, char digest[SHA512_DIGEST_STRING_LENGTH]) { SHA_CTX context; SHA512_Init(&context); SHA512_Update(&context, data, len); return SHA512_End(&context, digest); } /*** SHA-384: *********************************************************/ void SHA384_Init(SHA_CTX* context) { SHA512_Internal_Init(context, sha384_initial_hash_value); } void SHA384_Update(SHA_CTX* context, const sha_byte* data, size_t len) { SHA512_Update(context, data, len); } void SHA384_Final(sha_byte digest[], SHA_CTX* context) { sha_word64 *d = (sha_word64*)digest; /* Sanity check: */ assert(context != (SHA_CTX*)0); /* If no digest buffer is passed, we don't bother doing this: */ if (digest != (sha_byte*)0) { SHA512_Internal_Last(context); /* Save the hash data for output: */ #if BYTE_ORDER == LITTLE_ENDIAN { /* Convert TO host byte order */ int j; for (j = 0; j < (SHA384_DIGEST_LENGTH >> 3); j++) { REVERSE64(context->s512.state[j],context->s512.state[j]); *d++ = context->s512.state[j]; } } #else MEMCPY_BCOPY(d, context->s512.state, SHA384_DIGEST_LENGTH); #endif } /* Zero out state data */ MEMSET_BZERO(context, sizeof(*context)); } char *SHA384_End(SHA_CTX* context, char buffer[]) { sha_byte digest[SHA384_DIGEST_LENGTH], *d = digest; int i; /* Sanity check: */ assert(context != (SHA_CTX*)0); if (buffer != (char*)0) { SHA384_Final(digest, context); for (i = 0; i < SHA384_DIGEST_LENGTH; i++) { *buffer++ = sha_hex_digits[(*d & 0xf0) >> 4]; *buffer++ = sha_hex_digits[*d & 0x0f]; d++; } *buffer = (char)0; } else { MEMSET_BZERO(context, sizeof(*context)); } MEMSET_BZERO(digest, SHA384_DIGEST_LENGTH); return buffer; } char* SHA384_Data(const sha_byte* data, size_t len, char digest[SHA384_DIGEST_STRING_LENGTH]) { SHA_CTX context; SHA384_Init(&context); SHA384_Update(&context, data, len); return SHA384_End(&context, digest); } cmake-2.8.12.2/Source/cm_sha2.h000644 000765 000024 00000012122 12266011634 016561 0ustar00kitwarestaff000000 000000 /* * FILE: sha2.h * AUTHOR: Aaron D. Gifford * http://www.aarongifford.com/computers/sha.html * * Copyright (c) 2000-2003, Aaron D. Gifford * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the copyright holder nor the names of contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: sha2.h,v 1.4 2004/01/07 19:06:18 adg Exp $ */ #ifndef __SHA2_H__ #define __SHA2_H__ #include "cm_sha2_mangle.h" /* CMake modification: use integer types from cmIML. */ #include "cmIML/INT.h" typedef cmIML_INT_uint8_t cm_sha2_uint8_t; typedef cmIML_INT_uint32_t cm_sha2_uint32_t; typedef cmIML_INT_uint64_t cm_sha2_uint64_t; #ifdef __cplusplus extern "C" { #endif /* * Import u_intXX_t size_t type definitions from system headers. You * may need to change this, or define these things yourself in this * file. */ #include /*** SHA-224/256/384/512 Various Length Definitions *******************/ /* Digest lengths for SHA-1/224/256/384/512 */ #define SHA1_DIGEST_LENGTH 20 #define SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1) #define SHA224_DIGEST_LENGTH 28 #define SHA224_DIGEST_STRING_LENGTH (SHA224_DIGEST_LENGTH * 2 + 1) #define SHA256_DIGEST_LENGTH 32 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1) #define SHA384_DIGEST_LENGTH 48 #define SHA384_DIGEST_STRING_LENGTH (SHA384_DIGEST_LENGTH * 2 + 1) #define SHA512_DIGEST_LENGTH 64 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1) /*** SHA-224/256/384/512 Context Structures ***************************/ typedef union _SHA_CTX { /* SHA-1 uses this part of the union: */ struct { cm_sha2_uint32_t state[5]; cm_sha2_uint64_t bitcount; cm_sha2_uint8_t buffer[64]; } s1; /* SHA-224 and SHA-256 use this part of the union: */ struct { cm_sha2_uint32_t state[8]; cm_sha2_uint64_t bitcount; cm_sha2_uint8_t buffer[64]; } s256; /* SHA-384 and SHA-512 use this part of the union: */ struct { cm_sha2_uint64_t state[8]; cm_sha2_uint64_t bitcount[2]; cm_sha2_uint8_t buffer[128]; } s512; } SHA_CTX; /*** SHA-256/384/512 Function Prototypes ******************************/ void SHA1_Init(SHA_CTX*); void SHA1_Update(SHA_CTX*, const cm_sha2_uint8_t*, size_t); void SHA1_Final(cm_sha2_uint8_t[SHA1_DIGEST_LENGTH], SHA_CTX*); char* SHA1_End(SHA_CTX*, char[SHA1_DIGEST_STRING_LENGTH]); char* SHA1_Data(const cm_sha2_uint8_t*, size_t, char[SHA1_DIGEST_STRING_LENGTH]); void SHA224_Init(SHA_CTX*); void SHA224_Update(SHA_CTX*, const cm_sha2_uint8_t*, size_t); void SHA224_Final(cm_sha2_uint8_t[SHA224_DIGEST_LENGTH], SHA_CTX*); char* SHA224_End(SHA_CTX*, char[SHA224_DIGEST_STRING_LENGTH]); char* SHA224_Data(const cm_sha2_uint8_t*, size_t, char[SHA224_DIGEST_STRING_LENGTH]); void SHA256_Init(SHA_CTX*); void SHA256_Update(SHA_CTX*, const cm_sha2_uint8_t*, size_t); void SHA256_Final(cm_sha2_uint8_t[SHA256_DIGEST_LENGTH], SHA_CTX*); char* SHA256_End(SHA_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); char* SHA256_Data(const cm_sha2_uint8_t*, size_t, char[SHA256_DIGEST_STRING_LENGTH]); void SHA384_Init(SHA_CTX*); void SHA384_Update(SHA_CTX*, const cm_sha2_uint8_t*, size_t); void SHA384_Final(cm_sha2_uint8_t[SHA384_DIGEST_LENGTH], SHA_CTX*); char* SHA384_End(SHA_CTX*, char[SHA384_DIGEST_STRING_LENGTH]); char* SHA384_Data(const cm_sha2_uint8_t*, size_t, char[SHA384_DIGEST_STRING_LENGTH]); void SHA512_Init(SHA_CTX*); void SHA512_Update(SHA_CTX*, const cm_sha2_uint8_t*, size_t); void SHA512_Final(cm_sha2_uint8_t[SHA512_DIGEST_LENGTH], SHA_CTX*); char* SHA512_End(SHA_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); char* SHA512_Data(const cm_sha2_uint8_t*, size_t, char[SHA512_DIGEST_STRING_LENGTH]); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __SHA2_H__ */ cmake-2.8.12.2/Source/cm_sha2_mangle.h000644 000765 000024 00000004635 12266011634 020116 0ustar00kitwarestaff000000 000000 /*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2000-2011 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ #ifndef cm_sha2_mangle_h #define cm_sha2_mangle_h /* Mangle sha2 symbol names to avoid possible conflict with implementations in other libraries to which CMake links. */ #define SHA1_Data cmSHA1_Data #define SHA1_End cmSHA1_End #define SHA1_Final cmSHA1_Final #define SHA1_Init cmSHA1_Init #define SHA1_Internal_Transform cmSHA1_Internal_Transform #define SHA1_Update cmSHA1_Update #define SHA224_Data cmSHA224_Data #define SHA224_End cmSHA224_End #define SHA224_Final cmSHA224_Final #define SHA224_Init cmSHA224_Init #define SHA224_Internal_Transform cmSHA224_Internal_Transform #define SHA224_Update cmSHA224_Update #define SHA256_Data cmSHA256_Data #define SHA256_End cmSHA256_End #define SHA256_Final cmSHA256_Final #define SHA256_Init cmSHA256_Init #define SHA256_Internal_Init cmSHA256_Internal_Init #define SHA256_Internal_Last cmSHA256_Internal_Last #define SHA256_Internal_Transform cmSHA256_Internal_Transform #define SHA256_Update cmSHA256_Update #define SHA384_Data cmSHA384_Data #define SHA384_End cmSHA384_End #define SHA384_Final cmSHA384_Final #define SHA384_Init cmSHA384_Init #define SHA384_Update cmSHA384_Update #define SHA512_Data cmSHA512_Data #define SHA512_End cmSHA512_End #define SHA512_Final cmSHA512_Final #define SHA512_Init cmSHA512_Init #define SHA512_Internal_Init cmSHA512_Internal_Init #define SHA512_Internal_Last cmSHA512_Internal_Last #define SHA512_Internal_Transform cmSHA512_Internal_Transform #define SHA512_Update cmSHA512_Update #endif cmake-2.8.12.2/Source/cm_utf8.c000644 000765 000024 00000005367 12266011634 016622 0ustar00kitwarestaff000000 000000 /*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ #include "cm_utf8.h" /* RFC 3629 07-bit: 0xxxxxxx 11-bit: 110xxxxx 10xxxxxx 16-bit: 1110xxxx 10xxxxxx 10xxxxxx 21-bit: 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx Pre-RFC Compatibility 26-bit: 111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 31-bit: 1111110x 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx */ /* Number of leading ones before a zero in the byte. */ static unsigned char const cm_utf8_ones[256] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,7,8 }; /* Mask away control bits from bytes with n leading ones. */ static unsigned char const cm_utf8_mask[7] = { 0xEF, 0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01 }; /* Minimum allowed value when first byte has n leading ones. */ static unsigned int const cm_utf8_min[7] = { 0, 0, 1u<<7, 1u<<11, 1u<<16, 1u<<21, 1u<<26 /*, 1u<<31 */ }; /*--------------------------------------------------------------------------*/ const char* cm_utf8_decode_character(const char* first, const char* last, unsigned int* pc) { /* Count leading ones in the first byte. */ unsigned char c = (unsigned char)*first++; unsigned char const ones = cm_utf8_ones[c]; switch(ones) { case 0: *pc = c; return first; /* One-byte character. */ case 1: case 7: case 8: return 0; /* Invalid leading byte. */ default: break; } /* Extract bits from this multi-byte character. */ { unsigned int uc = c & cm_utf8_mask[ones]; int left; for(left = ones-1; left && first != last; --left) { c = (unsigned char)*first++; if(cm_utf8_ones[c] != 1) { return 0; } uc = (uc << 6) | (c & cm_utf8_mask[1]); } if(left > 0 || uc < cm_utf8_min[ones]) { return 0; } *pc = uc; return first; } } cmake-2.8.12.2/Source/cm_utf8.h000644 000765 000024 00000002004 12266011634 016610 0ustar00kitwarestaff000000 000000 /*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ #ifndef cm_utf8_h #define cm_utf8_h #ifdef __cplusplus extern "C" { #endif /** Decode one UTF-8 character from the input byte range. On success, stores the unicode character number in *pc and returns the first position not extracted. On failure, returns 0. */ const char* cm_utf8_decode_character(const char* first, const char* last, unsigned int* pc); #ifdef __cplusplus } /* extern "C" */ #endif #endif cmake-2.8.12.2/Source/cmAddCompileOptionsCommand.cxx000644 000765 000024 00000001643 12266011634 023022 0ustar00kitwarestaff000000 000000 /*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2013 Stephen Kelly Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ #include "cmAddCompileOptionsCommand.h" bool cmAddCompileOptionsCommand ::InitialPass(std::vector const& args, cmExecutionStatus &) { if(args.size() < 1 ) { return true; } for(std::vector::const_iterator i = args.begin(); i != args.end(); ++i) { this->Makefile->AddCompileOption(i->c_str()); } return true; } cmake-2.8.12.2/Source/cmAddCompileOptionsCommand.h000644 000765 000024 00000004236 12266011634 022450 0ustar00kitwarestaff000000 000000 /*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2013 Stephen Kelly Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ #ifndef cmAddCompileOptionsCommand_h #define cmAddCompileOptionsCommand_h #include "cmCommand.h" #include "cmDocumentGeneratorExpressions.h" class cmAddCompileOptionsCommand : public cmCommand { public: /** * This is a virtual constructor for the command. */ virtual cmCommand* Clone() { return new cmAddCompileOptionsCommand; } /** * This is called when the command is first encountered in * the CMakeLists.txt file. */ virtual bool InitialPass(std::vector const& args, cmExecutionStatus &status); /** * The name of the command as specified in CMakeList.txt. */ virtual const char* GetName() const {return "add_compile_options";} /** * Succinct documentation. */ virtual const char* GetTerseDocumentation() const { return "Adds options to the compilation of source files."; } /** * More documentation. */ virtual const char* GetFullDocumentation() const { return " add_compile_options(