1. 11 Oct, 2013 1 commit
    • Stephen Kelly's avatar
      cmTarget: Deprecate the LOCATION target property with a policy. · e4e5b28c
      Stephen Kelly authored
      The final location and name of a build-target is not determined
      until generate-time. However, reading the LOCATION property from
      a target is currently allowed at configure time. Apart from creating
      possibly-erroneous results, this has an impact on the implementation
      of cmake itself, and prevents some major cleanups from being made.
      Disallow reading LOCATION from build-targets with a policy. Port some
      existing uses of it in CMake itself to use the TARGET_FILE generator
  2. 12 Oct, 2011 1 commit
    • Alexander Neundorf's avatar
      Silence make on OpenBSD in FindPackageModeTest(#12508) · 0d44ce2b
      Alexander Neundorf authored
      BSD make doesn't use -v for printing its name and version, and so
      complains on stderr that this is a bad command line option, used
      in Tests/FindPackageModeMakefileTest/CMakeLists.txt .
      Silence stderr to make that ugly output go away.
      Patch by David Coppy.
  3. 17 Aug, 2011 1 commit
    • Alexander Neundorf's avatar
      Only enable the test when using GNU make · 7d693108
      Alexander Neundorf authored
      The makefile used in the test uses $(shell ...), which is
      AFAIK a GNU extension, and will probably not work e.g. with OpenBSD make.
      According to the FreeBSD make manpage their make has a != assignment,
      which seems to do something similar, but I don't have such a system
      around for testing.
      Also, the point of this test is not to write a portable makefile,
      but to check whether cmake --find-package prints a correct string.
  4. 16 Aug, 2011 1 commit
  5. 15 Aug, 2011 1 commit
    • Alexander Neundorf's avatar
      Fix test on OpenBSD with BSD make · aecfc1fd
      Alexander Neundorf authored
      BSD make doesn't seem to support -C, so do not use it,
      According to the documentation the working directory is set
      to CMAKE_CURRENT_BINARY_DIR anyway, so it should work just the same.
  6. 11 Aug, 2011 2 commits