1. 26 Nov, 2013 6 commits
    • Stephen Kelly's avatar
      Export: Report error on relative include with genex. · 5838aba1
      Stephen Kelly authored
      Diagnostics which check the sanity of exported include paths
      previously skipped over any path containing a generator expression.
      Introduce a policy to issue an error message in such cases.
      The export files created in the OLD behavior are not usable, because
      they contain relative paths or paths to the source or build location
      which are not suitable for use on installation. CMake will report an
      error on import.
    • Stephen Kelly's avatar
      Export: Prefix relative items with genexes in INSTALL_INTERFACE. · 7a3e45b9
      Stephen Kelly authored
      Code such as
       target_include_directories(foo INTERFACE
      should be treated as a relative directory, despite the genex, after
      the INSTALL_INTERFACE is stripped away.
      Previously, this would generate a relative directory on export, which
      would be an error on import, so no policy is needed.
    • Stephen Kelly's avatar
      Export: Process INSTALL_INTERFACE in INCLUDES DESTINATION. · f088a324
      Stephen Kelly authored
      Code such as
       install(TARGETS ...
      should behave as if the INSTALL_INTERFACE wrapper were not present.
    • Stephen Kelly's avatar
      Export: Process relative includes after genex evaluation. · 9eedc850
      Stephen Kelly authored
      In code such as
       install(TARGETS ...
      the generator expressions are evaluated at generate-time. Delay
      determining whether each entry is a relative path until after
      the generator expressions are evaluated. Such relative paths
      are based relative to the CMAKE_INSTALL_PREFIX.
    • Stephen Kelly's avatar
      Export: Test existing behavior of exporting includes with genexes. · 80790f33
      Stephen Kelly authored
      Test that no warning or error diagnostic is issued for 'good code'.
    • Stephen Kelly's avatar
      target_include_directories: Allow relative path with genex · 38afc82e
      Stephen Kelly authored
      Treat paths which are relative and which contain a generator
      expression which is not at the beginning as relative to the
      source directory.
      This matches the behavior of paths which are relative but contain
      no generator expression at all.
      Previously this would generate a relative path with the IMPORTED
      target on export(), which would be a reported as a non-existent
      path on import. If used directly in the buildsystem, it would be
      reported as a relative path, which is also an error. There is no
      need for a policy in this case.
  2. 25 Nov, 2013 13 commits
  3. 24 Nov, 2013 1 commit
  4. 23 Nov, 2013 2 commits
    • Alexander Neundorf's avatar
      Eclipse: add -j only on UNIX hosts · 83751af2
      Alexander Neundorf authored
      The previous version added -jN to the make invokation if UNIX
      was set, but this was true also when cross compiling.
      What we are actually interested in is CMAKE_HOST_UNIX, i.e.
      whether the build host is UNIX.
      Or we should check more exactly what CMAKE_MAKE_PROGRAM is.
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 26ccafea
      Kitware Robot authored
  5. 22 Nov, 2013 12 commits
  6. 21 Nov, 2013 6 commits