Laurent Rineau
3768e905ae
Fix CGAL_ENABLE_CHECK_HEADERS
...
List of the fixes:
- The headers from the .cpp files were not processed (wrong regular
expression for `awk`),
- `CGAL_COMPUTE_DEPENDENCIES` is now removed (unified with
`CGAL_ENABLE_CHECK_HEADERS`).
- All `dependencies` files has an empty line (because of
`include/CGAL/version.h` in the build directory).
- Fix the name of the target `pkg_<package>_deps`
2018-03-06 18:43:39 +01:00
Laurent Rineau
c27f2a209d
Rename changes.md to CHANGES.md
2018-03-05 11:26:06 +01:00
Laurent Rineau
0140fbd94d
Merge pull request #2830 from maxGimeno/CHECK_HEADER-Add_a_flag
...
CGAL_ENABLE_CHECK_HEADERS implies CGAL_PROFILE
2018-02-23 17:26:08 +01:00
Laurent Rineau
6553d7a9b3
Fix check_headers in master
2018-02-20 10:59:04 +01:00
Laurent Rineau
e6967d0887
Merge pull request #2846 from lrineau/Installation-fix_CGAL_HEADER_ONLY-GF
...
Fix CGAL_HEADER_ONLY
2018-02-19 14:28:43 +01:00
Laurent Rineau
7e8e70a005
Merge pull request #2799 from lrineau/Installation-Add_CGAL_DEV_MODE-GF
...
Add CGAL_DEV_MODE
2018-02-19 14:27:33 +01:00
Laurent Rineau
9b06a70e91
Merge pull request #2819 from afabri/CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF
...
Address the warning concerning SCL_SECURE for VC++
2018-02-19 14:26:23 +01:00
Laurent Rineau
72aab1189a
Add the CMake option CGAL_HEADER_ONLY
...
This was already a CMake cache variable that is used a lot, but it was not
yet visible in the CMake GUI.
2018-02-15 15:51:27 +01:00
Maxime Gimeno
a3409eb829
Change to compile flag
2018-02-14 11:04:08 +01:00
Maxime Gimeno
cb5bf32f09
Add -DCGAL_PROFILE if CGAL_ENEABLE_CHECK_HEADERS is ON.
2018-02-14 10:26:03 +01:00
Andreas Fabri
abe933a684
Address the warning concerning SCL_SECURE for VC++
2018-02-09 15:00:14 +00:00
Laurent Rineau
69ca424c5e
Add CGAL_DEV_MODE
2018-02-06 15:08:54 +01:00
Maxime Gimeno
688b5dd06e
Move dependencies creation to package_info and add dependencies to git
2018-02-02 12:08:05 +01:00
Maxime Gimeno
a676d5a60e
Try to fix errors in classification checks
2018-02-02 12:08:05 +01:00
Maxime Gimeno
acd0a72edf
Modify travis script to test dependencies
2018-02-02 12:08:05 +01:00
Maxime Gimeno
1dc6a0d66c
Add a script in Scripts/developers_scripts thatcheck if there are differencies in the dependencies of packages
2018-02-02 12:08:05 +01:00
Maxime Gimeno
d577ee75a1
remove Build Dir from dependencies
2018-02-02 12:08:05 +01:00
Maxime Gimeno
9fc057e1cf
remove list and list generator for documented headers and make compute_dependencies implied by enable_check_header
2018-02-02 12:08:05 +01:00
Maxime Gimeno
7fa4b380d2
fixes in includes logic.
2018-02-02 12:08:05 +01:00
Maxime Gimeno
11a7f9720f
get the list of documented headers at configuring time
2018-02-02 12:04:21 +01:00
Laurent Rineau
777717ba7e
Move config/ to cmake/modules/config/
...
That way, the directory will be installed along with CMake modules.
2017-12-06 12:53:05 +01:00
Laurent Rineau
3c6640bf59
Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
...
Renewal of CMake scripts: header-only, ctest, CMake>=3.1
# Conflicts:
# Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
jasjuang
aafe1a7bea
fix sudo make install because of incorrect file name
2017-11-24 19:03:44 -08:00
Laurent Rineau
249aed9fd1
Hack for the CGAL test suite
2017-11-23 17:06:47 +01:00
Laurent Rineau
ce9399d423
Display compiler and linker flags
2017-11-23 17:06:46 +01:00
Laurent Rineau
a2a5ca91a1
Unify CGAL_HEADER_ONLY and CGAL_HEADER_ONLY_STEP_2
2017-11-23 17:06:46 +01:00
Laurent Rineau
8a260c4c32
Remove CGAL setup flags
...
@afabri This commit removes our tricks with the compilation flags.
2017-11-17 12:57:12 +01:00
Laurent Rineau
3ff09bc549
Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
...
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Laurent Rineau
7cff890473
Change the installation of CGALConfig.cmake
2017-11-15 14:45:23 +01:00
Laurent Rineau
e17736a9d9
Change the default INSTALL_CMAKE_DIR
2017-11-15 14:30:43 +01:00
Laurent Rineau
86fb40832a
Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
...
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Laurent Rineau
c6068691fa
Merge pull request #2547 from lrineau/CMake-parse_CTest_XML_output-lrineau
...
CGAL testsuite implemented with CTest plus Python (part.1)
2017-11-13 11:13:54 +01:00
Clement Jamin
abd9616231
Hide the CMake option we added for "step 1"
2017-11-13 10:09:22 +01:00
Laurent Rineau
62c70d41ca
Renew the handle of policies, for CMake-3.10
...
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.
`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau
39cb35b134
Avoid CMake errors with CMake<=3.4
2017-10-31 13:37:43 +01:00
Laurent Rineau
a335b979f2
Include the file only once, in a all-CGAL build
2017-10-20 17:02:15 +02:00
Laurent Rineau
6fbfc14241
Merge pull request #2399 from lrineau/CGAL-ease_cross_compilation-GF
...
Ease the cross-compilation (to Android for example)
2017-09-07 17:20:24 +02:00
Laurent Rineau
08676e21fa
Do not test the files config/testfiles/*.cpp while cross-compiling
2017-09-06 16:52:33 +02:00
Laurent Rineau
e00851da24
Merge pull request #2357 from sloriot/CMake-install_var_relative
...
Make install paths relative as documented
2017-08-28 12:50:36 +02:00
Sébastien Loriot
156c374edb
make install path relative as documented and not absolute
2017-08-22 10:20:49 +02:00
Laurent Rineau
da4b2632c9
Prepare master for CGAL-4.12
2017-08-01 15:21:41 +02:00
Laurent Rineau
1b41c582ba
Merge pull request #2306 from lrineau/Installation-fix_link_errors-GF
...
Fix link errors in the building of the Debian packages
2017-07-28 18:29:38 +02:00
Laurent Rineau
15fb0069cc
Fix link errors in the building of the Debian packages
...
- The Debian package uses `-DCGAL_ENABLE_PRECONFIG=OFF` and
`WITH_GMPXX=ON`. In that setup, GMPXX must in the "essential" 3rd
party libraries.
- The CGAL_Core library must be linked with its
dependencies (compilation error with `-zdefs`).
2017-07-26 16:57:19 +02:00
Laurent Rineau
b6dc43f239
Prepare `master` for CGAL-4.11
2017-04-27 10:25:06 +02:00
Laurent Rineau
860e7c564f
Fix errors detected by Travis
...
- What happens when VTK is missing...
- `clang++ -syntax-only` is more picky than g++
2017-04-14 18:11:43 +02:00
Laurent Rineau
cf987b51ba
Skip Three headers if QGLViewer is missing
2017-04-14 17:41:10 +02:00
Laurent Rineau
6493e66e72
Better use of CMP0057, to support CMake<3.3
2017-04-14 17:14:43 +02:00
Laurent Rineau
f05ee0d890
Fix the detection of packages directories
2017-04-13 15:14:53 +02:00
Laurent Rineau
e1e90924a8
Allow to configure/build all CGAL with step_2
...
If `CGAL_HEADER_ONLY_STEP_2` is `TRUE`, then a build of CGAL with
`WITH_demos`, `WITH_examples` will succeed.
2017-03-27 18:04:54 +02:00
Laurent Rineau
bac7c694bc
Restore the creation of <CGAL/compiled_config.h>
2017-03-27 18:04:52 +02:00