Clement Jamin
3eae2927e7
Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin
2013-03-04 15:50:57 +01:00
Clement Jamin
fbf7def1dd
Updated FindTBB.cmake so that it uses the "optimized"/"debug" cmake keywords
2013-01-23 15:46:53 +01:00
Clement Jamin
7049ff02b2
Better error message in FindTBB
2013-01-22 14:50:46 +01:00
Laurent Rineau
291b3029bb
Fix a bug in CGAL_SCM.cmake when the HEAD is not a branch
...
If the current working directory is a checkout of a commit that is not a
branch, for example, a commit in the ancestors of a branch, then CGAL CMake
scripts gave that CMake error:
== CMake setup ==
fatal: ref HEAD is not a symbolic ref
CMake Error at Installation/cmake/modules/CGAL_SCM.cmake:36 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:17 (include)
== CMake setup (DONE) ==
This patch fixes the error. If HEAD is not a branch, then CGAL_GIT_BRANCH
is equal to "HEAD".
2013-01-21 17:23:36 +01:00
Clement Jamin
7af597cb4f
Parallel Mesh_3 can now be compiled with GCC
2013-01-17 14:49:04 +01:00
Laurent Rineau
3b1ba8ba70
Merge remote-tracking branch 'origin/Installation-link_libraries_deprecated-eric'
2013-01-14 14:50:59 +01:00
Eric Berberich
03c6c56549
not necessarily a CGAL_-UseFile
2012-12-28 18:55:50 +01:00
Eric Berberich
6eafd776c7
readded link_libraries
2012-12-27 20:01:56 +01:00
Laurent Rineau
aa3d26e96c
Merge branch 'Installation-CreateSingleSourceCGALProgram_warning-lrineau'
2012-12-05 11:42:09 +01:00
Sébastien Loriot
14c8641377
Convert all CRLF files to LF
2012-12-04 16:44:49 +01:00
Philipp Möller
1adf441b18
Convert all CRLF files to LF
2012-12-03 18:44:24 +01:00
Laurent Rineau
e33d05f919
Add a AUTHOR_WARNING if the source file does not exist.
2012-11-30 10:34:29 +01:00
Clément Jamin
62c6484110
Merge remote-tracking branch 'remotes/origin/hot-fixes-for-Git' into Mesh_3-parallel-cjamin
2012-11-21 12:23:42 +01:00
Philipp Möller
3d253a0edd
Add CGAL_GIT_HASH and provide defaults for all variables
2012-11-15 13:20:37 +01:00
Eric Berberich
ddd4ca95da
fix if git dir is already given dir
2012-11-13 16:20:07 +01:00
Eric Berberich
03ac16f071
whitespace for git
2012-10-23 23:27:34 +00:00
Eric Berberich
fe43dd0171
better handling if source of executable is not in a git repo
2012-10-22 23:38:25 +00:00
Eric Berberich
fc6d74c399
raise a CMake AUTHOR_WARNING if current branch does not match branch used to install cgal
2012-10-22 23:10:57 +00:00
Eric Berberich
358b8bb92b
search for git parent dir + commented some verbosity
2012-10-22 23:09:58 +00:00
Eric Berberich
25f3fb6e2e
remove SVN, refactored SCM code to CGAL_SCM.cmake
...
(plan is to reuse it UseCGAL.cmake)
2012-10-22 22:39:36 +00:00
Clément Jamin
1ca7174e01
Merge from Mesh_3-improvements-GF
...
+ some bugfixes (most of them are related to the parallel version)
This version works (sequential and parallel) as long as the following macros are NOT defined:
* CGAL_COMPACT_MESH_VERTEX_CELL
* CGAL_INTRUSIVE_LIST
* FORCE_STRUCTURAL_FILTERING
2012-10-16 14:02:16 +00:00
Clément Jamin
4e1f8aa4f8
Merge from next
2012-10-15 08:28:01 +00:00
Eric Berberich
1d59758d89
add an additional check for requested component and raise the "NOTICE" if lib is not build
2012-10-10 14:21:50 +00:00
Eric Berberich
7503d0ce5b
merge from next
2012-10-08 09:57:49 +00:00
Eric Berberich
4cae227f10
NTL_VERSION can also be just \d.\d (regex was \d.\d.\d)
2012-10-05 22:34:46 +00:00
Eric Berberich
2bbc6c94a9
added missing {
2012-10-05 22:14:02 +00:00
Alexander Kobel
e062c5f9e5
fixed PATH_SUFFIXES inconsistencies:
...
- proper indentation
- merge double occurences
- standardize location at the end block, before DOC
tested with GMP(XX), MPFR, MPFI, LEDA, RS(3), NTL and a (small) number of ways to specify library
locations via environment and CMake variables, on Debian 64bit
2012-10-05 12:40:10 +00:00
Alexander Kobel
461a23478d
move detection whether additional LEDA flags are necessary to FindLEDA stage
...
only apply includes if UseLEDA is called
2012-10-04 13:28:51 +00:00
Alexander Kobel
d3d82afd4a
automatically add -ffriend-injection, -fno-strict-aliasing, -lX11 as required for LEDA
2012-10-04 12:07:42 +00:00
Alexander Kobel
c06f84d4db
fixed fallback to RS_dirs for RS3
2012-10-04 12:06:46 +00:00
Eric Berberich
c81470929e
fixed variable
2012-10-04 09:56:48 +00:00
Alexander Kobel
160e937500
try $ENV{<PKG>_DIR}/[include,lib] as a fallback for $ENV{<PKG>_[INC,LIB]_DIR}
2012-10-04 09:34:54 +00:00
Alexander Kobel
04f07ef7bf
replace spurious *_LIBRARY_DIR occurences by *_LIBRARIES_DIR
2012-10-04 09:05:32 +00:00
Alexander Kobel
bb5f4dc8e1
added evaluation of LEDA_LINKER_FLAGS
2012-10-04 09:00:46 +00:00
Clément Jamin
2366fee1e1
Merge from next
2012-09-28 14:51:02 +00:00
Eric Berberich
b1481c43c8
${lib} is now prefixed with name, which needed adaptions in loop
...
In addition: removed fake variable and thus simplified loop
(needed to rename CGAL_INSTALLED_${lib}_LIBRARY to ${lib}_LIBRARY_INSTALLED)
2012-09-12 14:26:02 +00:00
Eric Berberich
80616feea6
added missing $ to copy content of variable
2012-08-20 08:10:20 +00:00
Laurent Rineau
640c7355ec
Fix: was no longer working in out-of-source build!
2012-08-06 13:21:07 +00:00
Eric Berberich
357d6258f5
cmake's link_libraries is deprecated
...
removed almost all occurenced (missing UseFiles). While
doing so, some CMakeLists.txt could also be simplified. In fact
many more CMakeLists.txt can be simplified, in one of two ways:
1) add external libs to CGAL_3RD_PARTY_LIBRARIES and
2) call cgal_create_single_source_program
2012-08-03 22:32:39 +00:00
Eric Berberich
5f524b0802
subdirectories in src finally get correct name
2012-08-03 17:21:30 +00:00
Laurent Rineau
b22a86c1c1
Fix the CGALConfig.cmake that is installed, on Windows
2012-08-03 15:38:26 +00:00
Eric Berberich
2f6dae6bbb
now I got it: it's not just the first argument, it's the first file
...
"first" is a little bit general name for a parameter, changed
to firstfile and added a comment about handling other files
2012-08-03 12:57:04 +00:00
Eric Berberich
293a072b43
make signatures consistent
2012-08-03 12:46:58 +00:00
Eric Berberich
05c4d0a28f
be consistent in variable name
2012-08-03 12:23:40 +00:00
Laurent Rineau
4c3e1c3138
Fix mixed eol styles
2012-08-02 13:35:03 +00:00
Laurent Rineau
6e579584b3
Fix FindRS(3) modules
...
A FindFoobar module must not include a UseFoobar file. CGAL_UseRS3 now
includes CGAL_UseMPFI, and not FindRS and FindRS3.
+ Fix also a typo in a message of FindRS3.
2012-08-02 10:32:04 +00:00
Laurent Rineau
414182edbf
Change the order of messages, to be coherent with CGAL_UseRS(3)
2012-08-02 10:02:34 +00:00
Laurent Rineau
cf1ad35e79
Better formatting of the documentation of GMP CMake modules
2012-08-02 09:50:24 +00:00
Laurent Rineau
514c1efad1
Make RS, MPFI, LEDA, and NTL optional essential libraries
2012-08-01 16:58:19 +00:00
Laurent Rineau
98992ea06b
Use include_directories(SYSTEM ...) in the macro use_lib
2012-08-01 12:23:53 +00:00