Commit Graph

114 Commits

Author SHA1 Message Date
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Laurent Rineau ab6145babc Merge pull request #5501 from maxGimeno/CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.2-maxGimeno
CMake Fixes when CGAL_Core is disabled (5.2)
2021-03-03 17:20:55 +01:00
Maxime Gimeno b4de351840 Merge branch 'CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.1-maxGimeno' into CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.2-maxGimeno 2021-03-02 10:16:01 +01:00
Maxime Gimeno 7d21d5b62d De-activate some things that depend on CGAL_Core if it is not FOUND 2021-03-01 11:27:43 +01:00
Maxime Gimeno 2500331070 Merge remote-tracking branch 'cgal/master' into Demo-Add_dependency_to_qt5_moc_and_dependencies-maxGimeno 2021-02-09 12:33:52 +01:00
Maxime Gimeno c23b0c33e3 limit the number of qt5 components in installation test 2021-02-04 12:01:14 +01:00
Maxime Gimeno 61d3ce86d2 Fix qt5 installation test 2021-02-04 10:40:59 +01:00
Maxime Gimeno fab8c31662 Keep from using CGLA_Core if CGAL_DISABLE_GMP is ON 2021-01-19 10:15:43 +01:00
Maxime Gimeno 2255f8e8ea Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01:00
Maxime Gimeno aa26d7a58b Fix merging error 2020-10-28 08:45:29 +01:00
Sébastien Loriot 335ac3d5dd Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-10-20 13:32:03 +02:00
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Maxime Gimeno 9f74598459 Fix tests find_package 2020-10-16 10:37:26 +02:00
Maxime Gimeno 7bdc5d11a9 Post-review 2020-10-15 15:03:20 +02:00
Maxime Gimeno fcb6419106 WIP CGAL_qt5 2020-10-13 15:36:44 +02:00
Maxime Gimeno 164f1bf790 Fix path length warnings on windows 2020-09-23 11:07:34 +02:00
Maxime Gimeno bf883db721 Fix uninitialized warning in test_use_h 2020-09-22 15:30:28 +02:00
Laurent Rineau 29db90f89f Fix CMake warnings
Reduce the path of the build directories used during the tests.

That will remove those CMake warnings:
```
22: CMake Warning in demo/Linear_cell_complex/CMakeLists.txt:
22:   The object file directory
22:
22:     C:/CGAL/test/CGAL-5.2-Ic-6/cmake/platforms/x64_Cygwin-Windows10_MSVC2017-Release-64bits/test/Installation/build_dir/non_standard_build/demo/Linear_cell_complex/CMakeFiles/Linear_cell_complex_3_demo.dir/
22:
22:   has 202 characters.  The maximum full path to an object file is 250
22:   characters (see CMAKE_OBJECT_PATH_MAX).  Object file
22:
22:     Linear_cell_complex_3_demo_autogen/mocs_compilation.cpp.obj
22:
22:   cannot be safely placed under this directory.  The build may not work
22:   correctly.
22:
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.2-Ic-6/Installation/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Release-64bits.gz
2020-09-17 09:55:35 +02:00
Maxime Gimeno ebdc2f352b Fix -C et -G 2020-08-27 14:31:30 +02:00
Maxime Gimeno efba4d6651 Fixes for windows and result collection 2020-08-26 12:04:30 +02:00
Maxime Gimeno 25d0585b1f Propagate the INIT_FILE to the tests 2020-08-26 09:30:40 +02:00
Maxime Gimeno 1298289873 Add "cat error.txt" in the end of cgal_test_with_cgal so the errors are detected in the results and fix the grep for ***Failed 2020-08-25 09:49:06 +02:00
Maxime Gimeno d558e7f259 Fix Warnings 2020-08-18 11:27:22 +02:00
Maxime Gimeno 7a91e29d3e Fixes 2020-08-07 09:07:58 +02:00
Maxime Gimeno 6ffb10a71c Fixes for cmake-testsuite...
- Use CGAL_RELEASE_DIR as CGAL_DIR to have the real setup
 - Use RUNNING_CGAL_AUTO_TEST to detect a testsuite setup
2020-08-06 11:03:53 +02:00
Maxime Gimeno 3f4c2cd127 Chmod +x the test script 2020-08-06 10:05:40 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Maxime Gimeno 65cda18aab Specify install path for the libs 2020-07-27 11:47:15 +02:00
Maxime Gimeno 619c8db731 Fix tests find_package 2020-07-27 11:27:21 +02:00
Maxime Gimeno 61e31c6412 Fix paths and restore original tests for cgal_version 2020-07-27 10:34:10 +02:00
Maxime Gimeno 696c8eb165 Add " around all paths 2020-07-24 16:25:19 +02:00
Maxime Gimeno ef6cf3347a Add a cgal_test_with_cmake script 2020-07-22 16:34:55 +02:00
Maxime Gimeno 15c407081a Don't use -S and -B (cmake >=3.13) 2020-07-22 14:42:12 +02:00
Maxime Gimeno 88f0734749 Fix cgal_dirs 2020-07-22 14:12:17 +02:00
Maxime Gimeno cdaa213272 Add a label 2020-07-22 13:34:11 +02:00
Maxime Gimeno 608b0cb917 Add compilation and execution tests and missing files. 2020-07-22 13:13:41 +02:00
Maxime Gimeno 241d477efd Add tests in both travis and the Installation/tests. 2020-07-22 12:44:18 +02:00
Maxime Gimeno f504e45509 WIP tests in installation 2020-07-21 17:01:53 +02:00
Maxime Gimeno 24214def33 Add some tests in Installation for travis. 2020-07-09 15:47:43 +02:00
Simon Giraudot 89285f1feb Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-05-28 08:53:17 +02:00
Laurent Rineau b70dcffbd7 Merge pull request #4697 from lrineau/Installation-add_CGALConfigVersion-GF
header-only mode: add CGALConfigVersion.cmake
2020-05-22 16:39:28 +02:00
Laurent Rineau 851c67a740 Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-05-22 16:39:00 +02:00
Laurent Rineau 0ed0741489 Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-05-18 11:59:20 +02:00
Laurent Rineau 3a2b250626 Fix a warning
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-152/Installation/TestReport_Friedrich_Ubuntu-gcc-7.gz
```
CMake Warning at /home/gimeno/foutoir/cgal_root/CGAL-5.1-Ic-152/cmake/modules/CGAL_enable_end_of_configuration_hook.cmake:99 (message):
  =======================================================================

  CGAL performance notice:

  The variable CMAKE_BUILD_TYPE is set to "".  For performance reasons, you
  should set CMAKE_BUILD_TYPE to "Release".

  Set CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE to TRUE if you want to disable
  this warning.

  =======================================================================
Call Stack (most recent call first):
  CMakeLists.txt:9223372036854775807 (CGAL_run_at_the_end_of_configuration)
```
2020-05-18 11:43:59 +02:00
Laurent Rineau 252b58d39f Change the version compatibility to SameMajorVersion
and change the testsuite
2020-05-14 11:26:00 +02:00
Laurent Rineau 7d64c59b86 Fix the lack of LABEL for test_find_package_version_* 2020-05-13 21:15:34 +02:00
Laurent Rineau f4581c2b13 Add CGALConfigVersion.cmake, and CTest tests 2020-05-01 15:00:35 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00