Commit Graph

1186 Commits

Author SHA1 Message Date
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