1. 20 Sep, 2009 5 commits
  2. 19 Sep, 2009 5 commits
    • Alexander Neundorf's avatar
      Minor optimization in dependency checking. · 864e2670
      Alexander Neundorf authored
      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.
    • Brad King's avatar
      Remove cmGlobalXCode21Generator subclass · d4cfb77f
      Brad King authored
      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.
    • Brad King's avatar
      Fix check for -isysroot on OS X · 180c60a8
      Brad King authored
      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 "CMake<LANG>Compiler.cmake".  This is necessary to make it
      accessible from try-compile projects so that they generate correctly.
    • Alexander Neundorf's avatar
      The preprocessing and assembly rules also need the <DEFINES>, otherwise... · 196d9a54
      Alexander Neundorf authored
      The preprocessing and assembly rules also need the <DEFINES>, otherwise different reults are created.
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 5ea5ca3c
      Kitware Robot authored
  3. 18 Sep, 2009 11 commits
  4. 17 Sep, 2009 12 commits
    • Brad King's avatar
      Fix CHECK_(C|CXX)_COMPILER_FLAG for HP · 53fb07ef
      Brad King authored
      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.
    • Bill Hoffman's avatar
    • Brad King's avatar
      Test CHECK_(C|CXX)_COMPILER_FLAG macros · 42857c74
      Brad King authored
      This teaches the TryCompile test to check that the compiler flag check
      macros correctly reject a bad flag.  See issue #9516.
    • Brad King's avatar
      Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVC · 7e3d437d
      Brad King authored
      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.
    • Brad King's avatar
      Brad King authored
      macros to recognize a FAIL_REGEX option.  If they see the regular
      expression in the output of the test compilation, the check fails.
    • Brad King's avatar
      Cleanup generic compiler check macro documentation · 80af3ae3
      Brad King authored
      This commit improves formatting and style of the documentation for the
      general-purpose compiler check macros:
      This sytle is more consistent with CMake command documentation.
      It also looks nicer in the generated documentation text files.
    • Alexander Neundorf's avatar
    • Bill Hoffman's avatar
      Fix for bug #9466. Change the implementation of OSX arch lists. If no ARCHs... · ea282284
      Bill Hoffman authored
      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.
    • Bill Hoffman's avatar
      Bug #9430, recognize the FR flag · 8e8c9b72
      Bill Hoffman authored
    • Brad King's avatar
      Do not call CollapseFullPath for PDB file names · c87a35a3
      Brad King authored
      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.
    • Brad King's avatar
      Remove old check for duplicate subdirectories · ef843428
      Brad King authored
      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.
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · ab64fba4
      Kitware Robot authored
  5. 16 Sep, 2009 7 commits
    • Bill Hoffman's avatar
      Fix typo in name · bf9a561c
      Bill Hoffman authored
    • Alexander Neundorf's avatar
      Major improvement of the generated targets in Eclipse. · 298de437
      Alexander Neundorf authored
      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.
    • Brad King's avatar
      Create CMake.ConfigureFile test for configure_file · 229b67a2
      Brad King authored
      This test checks that configure_file() handles input and output file
      arguments as documented.
    • Brad King's avatar
      Teach configure_file to handle directory names · 6e8aeba4
      Brad King authored
      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.
    • Brad King's avatar
      Teach configure_file to handle relative paths · 700cdf39
      Brad King authored
      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.
    • Brad King's avatar
      Fix typo in cmConfigureFileCommand ivar name · dda0da8b
      Brad King authored
      Rename 'OuputFile' to 'OutputFile'.
    • Brad King's avatar
      Factor out CMake.File test result check for re-use · d23d268e
      Brad King authored
      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.