1. 06 Apr, 2015 1 commit
  2. 26 Jan, 2015 1 commit
    • Matt McCormick's avatar
      try_run: Add support for LINK_LIBRARIES option. · e2b1f058
      Matt McCormick authored
      Most functionality is already implemented in Source/cmCoreTryCompile.{h,cxx}.
      Document and improve argument parsing.
      
      This functionality is already being used by a number of modules, like
      CheckCSourceCompiles.cmake, but it is not documented.
      e2b1f058
  3. 18 Jan, 2015 2 commits
  4. 15 Oct, 2014 1 commit
  5. 11 Mar, 2014 1 commit
    • Stephen Kelly's avatar
      Remove some c_str() calls. · 21c573f6
      Stephen Kelly authored
      Use the clang RemoveCStrCalls tool to automatically migrate the
      code. This was only run on linux, so does not have any positive or
      negative effect on other platforms.
      21c573f6
  6. 07 Jan, 2014 1 commit
  7. 22 Aug, 2013 1 commit
    • Stephen Kelly's avatar
      Generate modern-style cmake code. · 33055c40
      Stephen Kelly authored
      The commits 9db31162 (Remove CMake-language block-end command
      arguments, 2012-08-13) and 77543bde (Convert CMake-language
      commands to lower case, 2012-08-13) changed most cmake code
      to use lowercase commands and no parameters in termination
      commands. However, those changes excluded cmake code generated
      in c++ by cmake.
      
      Make a similar style change to code generated by cmake.
      33055c40
  8. 27 Sep, 2011 1 commit
  9. 15 Sep, 2011 2 commits
  10. 28 Jul, 2011 1 commit
  11. 13 Jul, 2010 1 commit
  12. 01 Oct, 2009 1 commit
  13. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
      96afb120
  14. 23 Jan, 2008 1 commit
  15. 17 Sep, 2007 1 commit
    • Alexander Neundorf's avatar
      · ed6d98c3
      Alexander Neundorf authored
      STYLE: copy the executables from TRY_RUN() to
      ${CMAKE_BINARY_DIR}/CMakeFiles/ instead to ${CMAKE_BINARY_DIR}
      
      Alex
      ed6d98c3
  16. 01 Aug, 2007 2 commits
    • Alexander Neundorf's avatar
      · 8046390f
      Alexander Neundorf authored
      ENH: if no COMPONENT is specified, make this install item part of the
      "Unspecified" component -> if no components are used at all, no change in
      behaviour, if components are used completely, no change in behaviour, since
      this default will be overridden everywhere, if components where used partly,
      it is now possible to install only the unspecified items (e.g. everything
      which wasn't marked as "Development")
      
      Alex
      
      
      Alex
      8046390f
    • Alexander Neundorf's avatar
      · a0533be2
      Alexander Neundorf authored
      STYLE: some more tuning for the comment text
      
      Alex
      a0533be2
  17. 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
  18. 30 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · a9d19d88
      Alexander Neundorf authored
      ENH: FORCE the values in the cache, otherwise the file is useless
      
      Alex
      a9d19d88
  19. 26 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 0ea4c7b7
      Alexander Neundorf authored
      STYLE: fix line lengths
      
      Alex
      0ea4c7b7
  20. 23 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 7497f8ac
      Alexander Neundorf authored
      STYLE: put a lot of comments into the generated cmake-cache preloading file to aid the user with using it
      
      Alex
      7497f8ac
    • Alexander Neundorf's avatar
      · cbab7651
      Alexander Neundorf authored
      ENH: try to create a file which can be used for presetting the cache values
      of the TRY_RUN() results when crosscompiling
      
      Alex
      cbab7651
  21. 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
  22. 25 May, 2007 1 commit
    • Alexander Neundorf's avatar
      · 1ed238c7
      Alexander Neundorf authored
      BUG: remove debug output
      
      Alex
      1ed238c7
  23. 24 May, 2007 5 commits
    • Alexander Neundorf's avatar
      · c9aecb91
      Alexander Neundorf authored
      STYLE: remove debug output, fix indentation
      the tests run again successfully, but since CheckTypeSize will switch to a
      TRY_COMPILE soon I will look at it again after this change
      
      Alex
      c9aecb91
    • Alexander Neundorf's avatar
      · 504ea6df
      Alexander Neundorf authored
      COMP: try to fix the test failures on dash2
      
      Alex
      504ea6df
    • 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
    • Alexander Neundorf's avatar
      · 00e6d62f
      Alexander Neundorf authored
      ENH: move output file search to cmTryCompileCommand.cxx, so it can be used
      there too... many public static functions with lots of arguments... :-/
      
      Alex
      00e6d62f
  24. 18 May, 2007 1 commit
    • Alexander Neundorf's avatar
      · aee311a8
      Alexander Neundorf authored
      STYLE: fix line lengths
      
      Alex
      aee311a8
  25. 17 May, 2007 1 commit
    • Alexander Neundorf's avatar
      · 61d3444f
      Alexander Neundorf authored
      ENH: merge CMake-CrossCompileBasic to HEAD
      -add a RESULT_VARIABLE to INCLUDE()
      -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
      -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
      -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
      run the executables if they have a different suffix because they are
      probably crosscompiled, but nevertheless it should be able to find them
      -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
      -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
      -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
      -add support for stripping during install in cmake_install.cmake
      -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
      -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
      -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
      -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
      list of directories which will be prepended to all search directories, right
      now as a cmake variable, turning it into a global cmake property may need
      some more work
      -remove cmTestTestHandler::TryExecutable(), it's unused
      -split cmFileCommand::HandleInstall() into slightly smaller functions
      
      Alex
      61d3444f
  26. 03 May, 2007 1 commit
  27. 14 Jun, 2006 1 commit
  28. 15 Mar, 2006 1 commit
  29. 10 Mar, 2006 1 commit
  30. 07 Feb, 2006 1 commit
  31. 12 Jan, 2006 1 commit
  32. 30 Aug, 2005 1 commit