1. 17 Sep, 2009 1 commit
    • 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:
      
        CHECK_C_COMPILER_FLAG
        CHECK_C_SOURCE_COMPILES
        CHECK_C_SOURCE_RUNS
        CHECK_CXX_COMPILER_FLAG
        CHECK_CXX_SOURCE_COMPILES
        CHECK_CXX_SOURCE_RUNS
      
      This sytle is more consistent with CMake command documentation.
      It also looks nicer in the generated documentation text files.
      80af3ae3
  2. 11 Mar, 2009 1 commit
  3. 28 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · bd8b733d
      Alexander Neundorf authored
      ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in
      the main project. I think it doesn't make sense if a project disables
      RPATH, uses CHECK_C_SOURCE_RUNS() to see if something is able to run, and
      this succeeds because it has been built with RPATH, but an executable built
      within the project won't be able to run since it has been built without
      RPATH.
      
      Alex
      bd8b733d
  4. 31 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 7beee2df
      Alexander Neundorf authored
      STYLE: don't use FIND_INCLUDE_FILE() but only FIND_INCLUDE_FILES() in
      FindThreads.h
      
      BUG: improve CheckC(XX)SourceRuns.cmake so that it works with cross
      compiling, the return value has to go in the cache but shouldn't overwrite
      the actual return value, and it should go only in the cache if we have a
      result from try_run() otherwise we won't get here again if we have a result
      later on
      
      Alex
      7beee2df
  5. 13 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 8e6f6155
      Alexander Neundorf authored
      BUG: the SET( ... CACHE INTERNAL) didn't work as expected, since the
      variable is already added to the cache inside cmTryRunCommand.cxx, so the
      value used here was ignored. Additionally the INTERNAL made it internal,
      which shouldn't be done when cross compiling, since here the user is
      required to edit this variable manually e.g. using ccmake.
      
      Alex
      8e6f6155
  6. 01 Jun, 2007 1 commit
    • Alexander Neundorf's avatar
      · eddf1cf3
      Alexander Neundorf authored
      ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
      creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
      (if required), which can be set or preset by the user. It has now also two
      new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
      OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
      run time output of the TRY_RUN is unused and the user doesn't have to care
      about the output when crosscompiling. This is now used in FindThreads.cmake,
      CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
      only for the logfile (compile output is still there). Test/TryCompile/ now
      also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
      COMPILE_OUTPUT_VARIABLE.
      
      Alex
      eddf1cf3
  7. 04 Apr, 2007 2 commits
  8. 21 Aug, 2006 1 commit
  9. 03 Aug, 2006 3 commits
  10. 01 Aug, 2006 1 commit
  11. 28 Jun, 2006 1 commit
  12. 14 Jun, 2006 1 commit
  13. 27 Apr, 2006 1 commit
  14. 19 Apr, 2006 1 commit
  15. 22 Mar, 2006 1 commit
  16. 09 Feb, 2006 2 commits
  17. 12 Jan, 2006 1 commit
  18. 14 Dec, 2005 1 commit
  19. 31 Jul, 2005 1 commit