Stéphane Tayeb
c5db736efc
Fix FindBoost.cmake:
...
+ fix compiler name (cmake 2.4.x)
+ boost search is now performed in user defined directories first (instead
of in system default directories first)
2010-01-20 12:51:32 +00:00
Luis Peñaranda
3e771b9339
corrected bug in RS detection (old library name)
2010-01-18 15:20:55 +00:00
Sébastien Loriot
02f5ff8556
update cmake script to find ipe7
2009-12-29 19:07:56 +00:00
Luis Peñaranda
8940610f5a
eliminated workaround for ppc
2009-12-21 15:20:09 +00:00
Luis Peñaranda
b44bb688d4
updated cmake scripts to configure the new version of RS
2009-12-19 23:45:13 +00:00
Luis Peñaranda
f07703e0b5
modified cmake scripts so MPFI and RS are not detected and configured at
...
installation
2009-12-11 11:27:54 +00:00
Luis Peñaranda
a1b7df03ee
integrated the configuration of RS to the main CMakeLists.txt, and removed
...
some redundant if's in the MPFI configuration
2009-12-09 15:38:43 +00:00
Luis Peñaranda
f3e89da72b
moved cmake scripts that detect and configure RS from
...
branches/candidate-packages/Algebraic_kernel_d/cmake/modules to
trunk/Installation/cmake/modules
2009-12-09 15:15:55 +00:00
Luis Peñaranda
71f385de58
updated the cmake installation scripts to detect and configure MPFI
2009-12-08 17:09:15 +00:00
Laurent Rineau
55c19faa28
Fix FindMPFR.cmake and FindGMP.cmake: if CGAL_AUTO_LINK_ENABLED is false,
...
the library is found only if *_LIBRARIES is set.
2009-12-08 17:01:58 +00:00
Luis Peñaranda
79a9c26f90
moved cmake scripts that detect and configure MPFI to trunk/Installation
2009-12-08 16:18:17 +00:00
Laurent Saboret
744704e814
Port to Linux/g++ 4.3.1
2009-10-02 08:22:04 +00:00
Laurent Saboret
6d190df9d5
CMake modules to find and link with Intel MKL (including Pardiso)
2009-10-01 10:38:22 +00:00
Laurent Saboret
c7f102ece4
Bug fix: fixed MKL support in FindBLAS.cmake and FindLAPACK.cmake
2009-10-01 10:36:15 +00:00
Laurent Rineau
b6f567e260
add a new cmake variable in CGALConfig.cmake, so that one can detect if CGAL_ImageIO is build with ZLIB support. Use that variable in examples/Mesh_3/.
2009-07-23 15:02:02 +00:00
Sébastien Loriot
85d262491d
move FindIPE to install dir
2009-06-30 09:06:26 +00:00
Eric Berberich
2684052dd5
added modified file for qt4 all-source cmake
2009-06-21 13:22:19 +00:00
Fernando Cacciola
84a42139c0
Added back the fix for missing flags on demos, examples and tests
2009-04-27 14:32:55 +00:00
Fernando Cacciola
48964c77a1
Re-removed CMAKE_VERBOSE_MAKEFILE=ON
2009-04-08 14:22:17 +00:00
Fernando Cacciola
1d2d7a3428
Removed totally useless cmake_policy (VERSION) command
2009-04-07 13:30:47 +00:00
Fernando Cacciola
6fcfa43cd7
Fixed find_package bug in 2.6.3
2009-04-06 13:34:12 +00:00
Fernando Cacciola
b0be205def
Patch FindBoost.cmake to be compatible with cmake 2.4
2009-03-16 15:47:38 +00:00
Fernando Cacciola
edd41e098e
Patched FindBoost to detect more versions of boost
2009-03-13 18:01:33 +00:00
Fernando Cacciola
d205184e8d
Patched FindBoost to detect more versions of boost
2009-03-13 03:15:48 +00:00
Fernando Cacciola
e6840fac9c
Removed 3.4 suffix
2009-03-11 19:09:25 +00:00
Fernando Cacciola
fd1301b7c0
Replaced hardcoded CMAKE_VERBOSE_MAKEFILE with make VERBOSE=ON in the testsuite
2009-03-10 18:28:56 +00:00
Fernando Cacciola
dd4aadc373
Fixed loosing flags when configuring demos and examples at once
2009-03-10 18:16:10 +00:00
Laurent Rineau
82a3893559
Merge from branch:
...
New Revision: 47740
Author: lrineau
Date: 2009-01-19 10:49:27 +0100 (Mon, 19 Jan 2009)
Log message:
Fix the installation manual, after feedback from CGAL developers.
2009-01-19 10:11:04 +00:00
Laurent Rineau
939aa4304d
Merge from branch 3.4:
...
r47647 | lrineau | 2009-01-05 15:48:29 +0100 (Mon 05 Jan 2009) | 4 lines
Fix buggy behaviour of FindQGLViewer.cmake, which sets QGLVIEWER_LIBRARIES
in the cache, to empty string if QGLViewer is not found. Then, the next
configuration step does not override the variable.
2009-01-05 14:49:32 +00:00
Fernando Cacciola
6f52d14e4d
Added current binary directory to each demo/examples to find .moc files
2008-12-17 19:44:21 +00:00
Laurent Rineau
2d8f66d8be
That should fix the problem with strange characters, such as "(", in the
...
sources directory.
2008-12-17 15:28:54 +00:00
Laurent Rineau
0c827a8010
Fix a bad copy-paste: s/QGLViewer/LEDA/ in FindLEDA.cmake
2008-12-16 17:50:57 +00:00
Fernando Cacciola
c5b9fb843f
Allow blank in paths to sources
2008-12-14 23:38:01 +00:00
Laurent Rineau
41bb417143
- CGAL cmake files are installed by default in
...
${CMAKE_INSTALL_PREFIX}/lib/CGAL-3.4 (but on Windows)
- The generated CGALConfig.cmake (from CGALConfig_install.fhs.cmake has
been modified so that it no longer refers to the source directory.
2008-12-11 15:24:51 +00:00
Fernando Cacciola
760dd350eb
Set WITH_LEDA OFF by defaut
2008-12-05 16:21:14 +00:00
Laurent Rineau
38cbc3926c
If GMP is not here, CGAL_Core cannot be compiled.
2008-12-03 13:57:18 +00:00
Laurent Rineau
642bde884e
Last minute big change: make GMP/MPFR an optional dependency.
...
Locally tested.
Just after that commit, I will create a fake release and trigger a
test suite with that modification.
2008-12-03 13:09:43 +00:00
Fernando Cacciola
4bf387c6ca
Fix assembling of optimized|debug LEDA libraries
2008-12-02 18:31:31 +00:00
Fernando Cacciola
dfa94e2e7d
Patch FindQt4 moccing under windows
2008-11-28 21:18:33 +00:00
Fernando Cacciola
4a4d927522
Moved cmake modules back (2/3)
2008-11-27 16:36:00 +00:00
Fernando Cacciola
2d5b17b9f4
renamed cmake/modules to lib/CGAL-3.4 (0/1)
2008-11-04 16:00:57 +00:00
Fernando Cacciola
fb446def12
Moved CGALConfig.cmake-.*.in down lib/CGAL.3,4
2008-11-04 15:58:45 +00:00
Laurent Saboret
c99c1ce981
Fixed usage of LAPACK_LINKER_FLAGS (see r46659)
2008-11-04 14:37:39 +00:00
Laurent Saboret
69eade49a7
Port to Windows/Visual C++ 2005
2008-11-04 14:15:30 +00:00
Fernando Cacciola
3843318804
Fixed usage of BLAS_LINKER_FLAGS
2008-11-04 13:48:23 +00:00
Fernando Cacciola
808720ead6
FIxed LEDA_LINERFLAGS and use them in CGAL_SetupLEDA
2008-11-04 13:47:59 +00:00
Fernando Cacciola
d597b8c40b
Separate defintions from flags
2008-11-04 13:25:05 +00:00
Fernando Cacciola
994028ec51
Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_
2008-11-04 13:09:48 +00:00
Fernando Cacciola
29000b40d1
Removed more obsoloted cmake modules
2008-11-04 12:56:36 +00:00
Fernando Cacciola
67151cd142
Removed obsoleted cmake modules
2008-11-04 12:50:28 +00:00
Fernando Cacciola
145ee41079
Prefixed CGAL cmake modules with CGAL_
2008-11-04 12:49:32 +00:00
Fernando Cacciola
6bae1045df
Fixed handling of flags when defined interactively
2008-11-03 21:00:22 +00:00
Laurent Saboret
419684e402
Improved BLAS/LAPACK/TAUCS support:
...
- use a C++ compiler instead of a Fortran one
- compatible with CMake 2.4
2008-11-03 17:46:30 +00:00
Fernando Cacciola
cd8a9bfb78
Fixed set of leda related vars in the cache
2008-10-31 21:52:34 +00:00
Fernando Cacciola
45dccfe44b
Skip GMPXX under windows
2008-10-30 21:57:13 +00:00
Fernando Cacciola
6495c9da12
Rename CGAL_SetupBLAS (et al) to CGAL_UseBlas (et al) - Part 2/2
2008-10-30 16:01:16 +00:00
Fernando Cacciola
144fbe74d5
Rename CGAL_SetupBLAS (et al) to CGAL_UseBlas (et al) - Part 1/2
2008-10-30 15:59:05 +00:00
Fernando Cacciola
f44cc724b2
Remove definitions of CGAL_3RD_PARTY_* variables in user-side dependency setup scripts
2008-10-30 15:43:44 +00:00
Fernando Cacciola
f7f4320e16
Added CGAL_SetupBoostProgramOptions
2008-10-30 15:26:31 +00:00
Fernando Cacciola
2455ef9e85
Replaced CGAL_SOURCE_DIR and CGAL_BINARY_DIR with CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR
2008-10-30 13:45:04 +00:00
Laurent Saboret
164adfb71d
Fixed bug: AUTO_LINK_ENABLED was renamed CGAL_AUTO_LINK_ENABLED
2008-10-28 12:47:45 +00:00
Laurent Rineau
3b240607ba
Add a suffix "taucs" so that Taucs can be found automatically in
...
/usr/lib/taucs/ and /usr/include/taucs/. There are RPMs around that install
Taucs in those directories (see taucs atrpm's package for example).
2008-10-27 12:54:52 +00:00
Laurent Saboret
0bbfad9e5c
Merge of Fernando's CMake files for BLAS/LAPACK/TAUCS with the original
...
FindBLAS.cmake and FindLAPACK.cmake in CMake 2.6.
The result is more or less equivalent to install_cgal's behavior.
TODO:
- use a C++ compiler instead of a Fortran one
- try to be compatible with CMake 2.4
- find CBLAS (http://www.netlib.org/cblas )?
Jet_fitting_3 and Surface_mesh_parameterization compile now with CMake
(tested on Linux/gcc and Windows/VC++ 2005).
2008-10-23 16:29:42 +00:00
Fernando Cacciola
d70bdaea18
Prefixed cmake variables with CGAL_
2008-10-23 14:59:02 +00:00
Fernando Cacciola
bc48840dd3
Fixed propagation of flags into CGALConfig
2008-10-23 13:32:10 +00:00
Fernando Cacciola
620de7792e
LEDA support integrated into CGAL itself
2008-10-17 19:04:04 +00:00
Fernando Cacciola
0876bc0d86
Added leda support
2008-10-17 18:55:54 +00:00
Fernando Cacciola
484ae74ae3
Added BLAS/LAPACK and TAUCS support
2008-10-17 18:13:17 +00:00
Fernando Cacciola
185d7a8e80
FIXED -> Fixed unintentional overrriding of BUILD_SHARED_LIBS o)
2008-10-16 16:55:31 +00:00
Fernando Cacciola
5f60dfbbd1
Fixed unintentional overrriding of BUILD_SHARED_LIBS
2008-10-16 16:32:11 +00:00
Fernando Cacciola
fff733b368
Fixed add_to_cached_list
2008-10-15 18:15:03 +00:00
Fernando Cacciola
026bf9eae5
Fixed cache_set macro to accept non-existent variables as lvalues
2008-10-15 18:10:45 +00:00
Fernando Cacciola
aae7e6e95e
Avoid re-configuring 3rd party libs on user programs since the reference cache is not loaded in this case
2008-10-07 23:10:03 +00:00
Fernando Cacciola
8c47be0a13
Fixed droped CGAL_USE_<dependency>
2008-10-01 22:18:40 +00:00
Fernando Cacciola
6fdf8251bd
Allowed CGAL components to be configured and compiled independently
...
Make library naming consistent with component names
2008-10-01 21:38:37 +00:00
Fernando Cacciola
2092077d93
Dependencies setup refactored II
2008-10-01 21:27:19 +00:00
Fernando Cacciola
bd5e784004
Dependencies setup refactored
2008-10-01 21:26:28 +00:00
Laurent Rineau
7a807a490e
Fix to please cmake-2.6.
2008-09-24 14:44:44 +00:00
Laurent Rineau
b52c7a09e9
- Fix soname and soversion of libraries (they were exchanged).
...
- Make get_dependency_version found the print_${LIB}_version.cpp, even
if the lib is compiled separately.
- Rename FindQt3.cmake to FindQt3-patched.cmake and Qt3Macros to
Qt3Macros-patched.
- Make CGAL-Qt3 compilable separately.
- Fix all commited CMakeLists.txt:
- use Qt3-patched and Qt3Macros-patched, and s/QT_/QT3_/
- add a comment about FindQt3-patched,
- wrap target creation with if(CGAL_FOUND AND QT3_FOUND)/else/endif
- Modified cgal_create_cmake_script
2008-09-24 10:32:44 +00:00
Fernando Cacciola
747f95e0ce
Make executables adopt the flags used when building libraries unless specifically told otherwise
2008-09-18 18:33:13 +00:00
Laurent Rineau
d86ce5c619
Fix yet another bug in FindBoost.cmake: if Boost_LIBRARY_DIRS is in cache,
...
use it, instead of overwriting it with a wrong value!
2008-09-17 15:01:30 +00:00
Fernando Cacciola
a460b47bfa
Re-fixed add_unique_flags
2008-09-16 16:06:20 +00:00
Laurent Rineau
a5efb9f1ba
Fix indentation.
2008-09-16 13:34:43 +00:00
Laurent Rineau
d55fa891ea
Fix naming hell in 3RD_PARTY_*DIR (*DIRS or *DIR). I have choosen *DIRS.
2008-09-16 11:57:59 +00:00
Fernando Cacciola
e784625207
FIxed "add_unique_flag" macro for cmake 2.4.7 (which doesn't support LIST ( FIND command)"
2008-09-15 18:55:37 +00:00
Fernando Cacciola
c85fc9ec45
Added psapi.lib dependency on Windows
2008-09-15 16:41:22 +00:00
Fernando Cacciola
cc25cb0130
Fixed unintended presistence of 3RD_PARTY cache variables
2008-09-15 16:25:09 +00:00
Fernando Cacciola
502c3f271f
Added libCGAL to libCGAL-Qt3
...
Avoid detecting flags at user-program configuration
2008-09-12 18:58:38 +00:00
Fernando Cacciola
de55891e4d
Fixed gcc-version detection
2008-09-11 18:58:21 +00:00
Fernando Cacciola
84c3df829c
Added gcc-specific flags
2008-09-11 18:20:48 +00:00
Laurent Rineau
7306ccbf56
Make FindQt3.cmake use variables prefixed by QT3_, instead of QT_ (that was
...
conflicting with FindQt4.cmake).
2008-09-09 12:18:11 +00:00
Laurent Rineau
3415870ee5
Factorise the 4-5 lines of code that create CGALConfig.cmake in a macro.
2008-09-09 12:07:36 +00:00
Fernando Cacciola
80d8140240
Allow print_XYZ_version programs to have 3rd-party dependencies (such as MPFR depending on GMP)
2008-09-08 17:26:36 +00:00
Laurent Rineau
8b83ac8319
Make FindQGLViewer debug/relase-aware.
2008-09-08 14:42:37 +00:00
Laurent Rineau
da490ca698
Partially revert revision 45319. The follwing has been revert:
...
"Use unique names for example, demo and test targets"
2008-09-05 12:16:37 +00:00
Fernando Cacciola
ab07405874
Use unique names for example, demo and test targets
...
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00
Fernando Cacciola
dfd307da51
Fixed incorrect selection of 'static' boost libraries
2008-09-04 14:04:49 +00:00
Fernando Cacciola
ee6fae2991
Added separation in components
2008-09-03 16:55:21 +00:00
Fernando Cacciola
41251065c2
Fix pending problems with examples and demos (now possible to do 'make examples' or 'make demo' from CGAL_DIR)
2008-08-27 16:24:01 +00:00
Fernando Cacciola
20701bc56c
Fixed parser error with examples and demos
2008-08-26 17:55:21 +00:00
Fernando Cacciola
cc3f3fbe4a
Added FindOpenGL.cmake stub to fix Mac Leopard's OpenGL.
2008-08-25 19:17:09 +00:00
Fernando Cacciola
dbaff60251
Let the stock FindZLIB be used
2008-08-25 15:08:27 +00:00
Fernando Cacciola
a84b7f58a2
Fixed variable handling within subdirectories
2008-08-22 21:50:04 +00:00
Fernando Cacciola
ee7cba9c38
Improved/Fixed dependencies and related CGAL_USE_* flags
...
OpenGL and QT3 are now searched by Qt_widget alone.
2008-08-22 17:47:49 +00:00
Fernando Cacciola
e0d7afe6a4
Removed unneeded compiler flag
2008-08-22 17:44:55 +00:00
Laurent Rineau
f7784f4598
Fix for Windows platforms, so that Boost_LIBRARY_DIRS is correct even if
...
Boost_THREAD_LIBRARY_path is a list or paths (instead of a single path).
2008-08-22 11:31:06 +00:00
Fernando Cacciola
56c402b0fe
Removed obsoleted cmake modules
...
Moved print_*_version to the right directory
Fixed prinout of boost and gmpxx version numbers
Automatically skip demos and example when running the testsuite
2008-07-17 14:03:25 +00:00
Fernando Cacciola
6e36eda87b
CMake stuff moved into the appropriate packages
2008-07-16 20:56:17 +00:00