1. 09 Feb, 2016 8 commits
  2. 08 Feb, 2016 17 commits
  3. 07 Feb, 2016 2 commits
    • Gregor Jasny's avatar
      Apple: Enable -isystem for GNU Compiler >= 4 (#15953) · 2cae5128
      Gregor Jasny authored
      Due to #4662 -isystem support was disabled for all GNU Compilers
      on Apple platforms. But the change was probably a just work around
      for a broken compiler on Tiger (see 10837#c27206). So we tighten
      the condition to only kick in for GCC versions earlier than 4.
      That should ensure sane behavior for Xcode 3.2 and later.
      2cae5128
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · c8100794
      Kitware Robot authored
      c8100794
  4. 06 Feb, 2016 1 commit
  5. 05 Feb, 2016 10 commits
    • James Bigler's avatar
    • James Bigler's avatar
      FindCUDA: Fix for when a non-existent dependency file is found. · 4b561b4c
      James Bigler authored
      Previously if a non-existent dependency file is found we set the file to "" and
      then do if(NOT IS_DIRECTORY "${file}").  Later we call get_filename_component
      on the empty file which returns basically the current build directory.
      
      Having a dependency on the current build directory is really annoying, because
      anything that compiles into that directory will change the file stamp and
      cause your files to rebuild every time you call make. :(
      4b561b4c
    • Brad King's avatar
      ExternalProject: Be compatible with projects setting CMAKE_CFG_INTDIR · 1b9d15c1
      Brad King authored
      Since commit v3.5.0-rc1~32^2~1 (ExternalProject: Simplify `cmake
      --build` configuration passing, 2016-01-19) we use the `$<CONFIG>`
      generator expression to generate the `cmake --build . --config <config>`
      value for the default BUILD_COMMAND instead of the CMAKE_CFG_INTDIR
      placeholder value provided by multi-config generators.  However, some
      projects have been abusing the old implementation detail by setting
      CMAKE_CFG_INTDIR themselves to get a specific configuration.  Those
      projects should be updated to set their own BUILD_COMMAND to get
      non-default behavior.  Meanwhile we can be compatible with their
      existing releases by detecting when CMAKE_CFG_INTDIR is not a
      generator-provided placeholder and using its value instead.
      1b9d15c1
    • Sebastian Schuberth's avatar
      cmake: Teach --build to reject multiple --target options · 497cad7c
      Sebastian Schuberth authored
      Previously we did not clearly document that `--target` is only supported
      to be specified once.  Even worse, specifying it multiple times would
      silently ignore any previously specified targets and only build the last
      target.
      
      Update the documentation to specify this.  Update the implementation to
      reject multiple `--target` options to prevent user errors.
      497cad7c
    • Brad King's avatar
      886acd80
    • Brad King's avatar
      Tests: Fix Fortran test to run FortranCInterface again · d31d7ffd
      Brad King authored
      Updates to Tests/Fortran by commit v3.2.0-rc1~501^2 (Avoid if() quoted
      auto-dereference, 2014-10-14) changed our check
      
          "${CMAKE_Fortran_COMPILER_ID}" MATCHES "${CMAKE_C_COMPILER_ID}"
      
      to
      
          CMAKE_Fortran_COMPILER_ID MATCHES CMAKE_C_COMPILER_ID
      
      because CMP0054 warned about the LHS compiler id "MSVC" being expanded.
      However, the RHS of if(MATCHES) does not auto-dereference so this check
      has returned FALSE since then and the FortranCInterface part of the test
      has not been running!
      
      Fix this by using STREQUAL with quoted arguments and setting CMP0054 to
      NEW (by requiring 3.1).
      d31d7ffd
    • Brad King's avatar
      install(EXPORT): Fix crash on target in another directory · 47460f3e
      Brad King authored
      Refactoring merged by commit v3.5.0-rc1~299 (Merge topic
      'use-generator-target', 2015-10-20) in and around
      commit v3.5.0-rc1~299^2~13 (cmExportSet: Store a cmGeneratorTarget,
      2015-10-17) changed export sets to delay looking up actual targets and
      stores only their names.  However, in InstallCommand::HandleExportMode
      we need to lookup targets immediately to check them for
      EXPORT_LINK_INTERFACE_LIBRARIES.  The check was accidentally made local
      to the current directory, so if an export set contains a target from
      another directory the lookup fails and CMake crashes.  Fix the check to
      look up the target name globally, and tolerate when no target is found
      just in case.
      Reported-by: Kelly (KT) Thompson's avatarKelly Thompson <kgt@lanl.gov>
      47460f3e
    • Brad King's avatar
      Tests: Use newer policy settings in RunCMake.install test · e86383e1
      Brad King authored
      In particular, avoid CMP0042 warnings on OS X.
      e86383e1
    • Brad King's avatar
      Fix dependency scanning configuration in subdirectories · c5eb21b6
      Brad King authored
      Refactoring in commit v3.5.0-rc1~347^2~2 (Set the current dirs on the
      snapshot before creating the cmMakefile) accidentally changed the
      source and binary directories configured in `cmake -E cmake_depends`
      for use during dependency scanning.  This can cause the wrong directory
      information to be loaded.  It also breaks Fortran module dependency
      scanning for modules provided by targets in subdirectories that do
      not have Fortran_MODULE_DIRECTORY set.
      
      Fix the dependency scanning directory configuration and add a test to
      cover the Fortran module case in which the breakage was observed.
      Reported-by: Kelly (KT) Thompson's avatarKelly Thompson <kgt@lanl.gov>
      c5eb21b6
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 5ee00b71
      Kitware Robot authored
      5ee00b71
  6. 04 Feb, 2016 2 commits