1. 31 Oct, 2014 3 commits
    • Daniele E. Domenichelli's avatar
      ExternalProject: Add unit tests for CMAKE_CACHE_DEFAULT_ARGS · 609037f4
      Daniele E. Domenichelli authored and Brad King's avatar Brad King committed
      609037f4
    • Daniele E. Domenichelli's avatar
      ExternalProject: Add CMAKE_CACHE_DEFAULT_ARGS arguments · 98cdb658
      Daniele E. Domenichelli authored and Brad King's avatar Brad King committed
      This argument allows to set default arguments that are written in the
      initial cache file, but that are not forced, and therefore allows the
      user to change these values later (CMAKE_ARGS and CMAKE_CACHE_ARGS
      always overwrite the values).
      
      Also add some documentation to explain the differences between these 3
      arguments.
      
      Extend ExternalProjectLocal test to cover CMAKE_CACHE_DEFAULT_ARGS.
      98cdb658
    • Daniele E. Domenichelli's avatar
      Tests/Tutorial: Fix when USE_MYMATH is OFF · 36cf8a1e
      Daniele E. Domenichelli authored and Brad King's avatar Brad King committed
      Unit tests for the square root of "-25" currently fail when USE_MYMATH
      is disabled. The "mysqrt" method in the tutorials, returns "0" for a
      negative value, while "sqrt" returns "NaN", and therefore the output is
      not accepted by the test.
      
      This patch checks if the number is negative and eventually returns "0"
      before calling "sqrt" or "mysqrt" to fix this issue.
      
      Printing a NaN might cause issues with the string catched by the tests
      on some platform. Therefore assume that "0" is correct and "fix" the
      USE_MYMATH=OFF version by checking if the number is negative and
      eventually returning "0" before calling "sqrt" or "mysqrt".
      36cf8a1e
  2. 30 Oct, 2014 1 commit
  3. 29 Oct, 2014 5 commits
  4. 28 Oct, 2014 8 commits
  5. 27 Oct, 2014 9 commits
  6. 26 Oct, 2014 2 commits
  7. 25 Oct, 2014 2 commits
  8. 24 Oct, 2014 7 commits
  9. 23 Oct, 2014 3 commits