1. 15 Jul, 2008 1 commit
  2. 25 Mar, 2008 1 commit
  3. 31 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 67672b81
      Alexander Neundorf authored
      ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),
      check_c_source_compiles() and check_cxx_source_compiles()
      -TRY_RUN in crosscompiling mode: copy the created executables to
      CMAKE_BINARY_DIR so the user can run them manually on the target
      
      Alex
      67672b81
  4. 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
  5. 24 May, 2007 2 commits
    • Alexander Neundorf's avatar
      · 7147c3e1
      Alexander Neundorf authored
      ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
      be used e.g. for getting strings out of it.
      
      Alex
      7147c3e1
    • Alexander Neundorf's avatar
      · 7d7aba29
      Alexander Neundorf authored
      ENH: add two simple tests for TRY_RUN()
      STYLE: create a new base class cmCoreTryCompile, from which
      cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
      static functions with lots of arguments anymore
      
      Alex
      7d7aba29
  6. 31 Jan, 2007 1 commit
  7. 14 Jun, 2006 1 commit
  8. 12 Jan, 2006 1 commit
  9. 20 May, 2004 1 commit
  10. 10 Feb, 2003 3 commits