1. 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.
      
      Alex
      0d44ce2b
  2. 18 Aug, 2011 1 commit
  3. 17 Aug, 2011 3 commits
    • 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.
      
      Alex
      7d693108
    • Alexander Neundorf's avatar
      Make the test harder by always having a space in the include dirs · 30111499
      Alexander Neundorf authored
      The commit message for the previous commit was wrong, it should
      have been: fix the test by using $(shell ...) syntax instead
      of backticks in the Makefile.
      With backticks I couldn't get the quoting right.
      Printing -I"/some/path with space" did not work, the compiler
      complained that there is not file "with". Also backslashes in
      different numbers did not make it work.
      
      Alex
      30111499
    • Alexander Neundorf's avatar
      Make the --find-package test harder · ab57ff61
      Alexander Neundorf authored
      Now it is guaranteed that the include paths always contain a space.
      This should make the cont. build fail.
      
      Alex
      ab57ff61
  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.
      
      Alex
      aecfc1fd
  6. 14 Aug, 2011 1 commit
  7. 11 Aug, 2011 2 commits