Commit Graph

600 Commits

Author SHA1 Message Date
Fernando Cacciola 2f484f9cae Have find_package() detect sucessful configuration and compilation of CGAL components 2008-09-29 22:30:20 +00:00
Laurent Rineau 202d2b53ca Force variables CGAL_<component>_LIBRARY.
For an unkwnon reason, they are copied from the reference cache, which is wrong.
2008-09-29 10:09:35 +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
Laurent Rineau a8cdc7ca4a Remove Boost.Bimap FEATURE: it is now hard-coded that bimap is supported iff boost version is >= 1.35 2008-09-24 09:13:57 +00:00
Fernando Cacciola 682fbd0e6f CMake Installation update 2008-09-23 17:11:32 +00:00
Laurent Rineau 6c066dec2d Ooops!
CGAL-Qt3 autolink was broken since I renamed it!
2008-09-23 14:43:45 +00:00
Fernando Cacciola 6016f798e9 CMake Installation update 2008-09-22 18:39:24 +00:00
Fernando Cacciola d238699598 Avoid a compiler error if this is tried with a non-gcc compiler which cmake thinks it is (such as pgCC) 2008-09-18 18:54:43 +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
Laurent Rineau 6364643bff Funny mistake. "in" is not a known target. :-) 2008-09-15 07:50:29 +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
Sylvain Pion 54c45209fc s/WARNING/NOTE/ to remove useless warning. 2008-09-10 13:29:03 +00:00
Laurent Rineau d97c78b177 Include CGALQt4 in the libraries compilation stuff.
We need to create a (potentially incomplete) CGALConfig.cmake file after
the CGAL library has been built.
2008-09-09 12:19:41 +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
Sylvain Pion d851a6bd0a s/WARNING/NOTE to avoid false warning detection. 2008-09-08 21:26:29 +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
Sylvain Pion dcefe2bffa Use <OpenGL/gl.h> on __APPLE__ also in the test program.
(why do people not use <CGAL/gl.h> in demos ?)
2008-09-08 11:40:39 +00:00
Sylvain Pion 419f46f919 Remove CGAL_CFG_COMMA_BUG and its workaronds, as we don't support g++ 3.3 anymore. 2008-09-08 09:33:02 +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 7df9287297 Sort support tests and examples/demos alphabetically 2008-09-04 14:28:53 +00:00
Fernando Cacciola dfd307da51 Fixed incorrect selection of 'static' boost libraries 2008-09-04 14:04:49 +00:00
Fernando Cacciola 7fe5413fe3 Removed pending 'Skipping' messages 2008-09-04 13:26:39 +00:00
Fernando Cacciola ee6fae2991 Added separation in components 2008-09-03 16:55:21 +00:00
Laurent Rineau 208c3ec838 Improved the test for Boost.Bimap. 2008-09-02 08:42:47 +00:00
Fernando Cacciola fb8b306638 Fixed *REALLY ODD* problem with CMake not properly testing for CGAL_REFERENCE_DIR 2008-09-01 21:14:20 +00:00
Fernando Cacciola f7adea31f0 Fix gl.h location for Apple 2008-09-01 13:38:01 +00:00
Laurent Rineau 912b64df6f Fix detection of Boost.Bimap (in Boost versions >= 1.35). 2008-09-01 12:07:48 +00:00
Laurent Rineau 6235cbb03f Fix a missing new line (bug for MSVC only). 2008-09-01 11:57:14 +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
Sylvain Pion 44c185f1f4 Rename boost::array to CGAL::array. 2008-08-26 13:15:21 +00:00
Sylvain Pion a89be80276 Detect C++0x's std::array and TR1's std::tr1::array.
(they are faster than boost::array for gcc)
2008-08-26 12:10:24 +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 717b7cf5fb soversion added 2008-08-22 22:25:25 +00:00
Fernando Cacciola a84b7f58a2 Fixed variable handling within subdirectories 2008-08-22 21:50:04 +00:00
Fernando Cacciola db331e146d Fix CGALCore ON/OFF switch to be WITH_CGALCore and not CGAL_USE_CGAL_CORE 2008-08-22 18:20:41 +00:00