Commit Graph

189 Commits

Author SHA1 Message Date
Laurent Rineau 3360cae266 Dirty hack: regenerate the include makefile, so that linker flags of libraries that
failed to compile are not included in CGAL_LDFLAGS.
2007-02-21 18:00:55 +00:00
Laurent Rineau 9d879f7e6b In CGAL_LDFLAGS, include only flags for libraries that have been compiled
correctly, at least in one flavour between "shared" and "static".

We do not want the testsuite to be red if only one library is broken.
2007-02-21 17:22:43 +00:00
Laurent Rineau 2239698314 Make $(CUSTOM_CXXFLAGS) be *after* -I$(CGAL_INCL_DIR). 2007-02-21 16:28:57 +00:00
Laurent Rineau 01b2e6fdb2 Fix CGALPDB->libCGALPDB, so that CGALPDB is shown with other libraries in
the testsuite, at the bottom of the array.
2007-02-21 01:16:47 +00:00
Daniel Russel 8f56c8ae0e added build of PDB 2007-02-19 04:55:10 +00:00
Andreas Meyer 924c3cc2fb replaced [[ "a" = "b" ]] by [ "a" = "b" ]
(caused a "missing [[ command" error before)
2007-02-17 21:26:42 +00:00
Laurent Rineau ca7f173838 - Add cxx flags, libpath flags and linker flags, by features, in
$CGAL_MAKEFILE.
- Fix shared libraries makefile that need to be linked with third libraries.
2007-02-16 23:00:26 +00:00
Laurent Rineau 4119696cd6 Use -fPIC of Linux, and -PIC on SunOS, instead of small model
equivalents (-fpic/-PIC).
This breaks the binary compatibility.
2007-02-16 21:10:12 +00:00
Laurent Rineau 36636d49b5 - Continue factorization between libraries' makefiles,
- install_cgal cleanup.
2007-02-16 21:00:37 +00:00
Laurent Rineau 53d2c7ce8d - Attempt to fix the make detection on Solaris.
- Fix the Installation module of the testsuite: install.log is now shown entirely.
2007-02-16 18:04:57 +00:00
Efi Fogel bef9456334 used GNU Make 2007-02-15 11:53:18 +00:00
Michael Hoffmann 1328f5e2bb Fixed soname option for Sunpro. 2007-02-12 10:15:13 +00:00
Laurent Rineau 72f5a0baec Fix the copyright (years range). 2007-02-11 22:07:00 +00:00
Laurent Rineau bea7da0780 Fix the testsuite outputs for libraries builds 2007-02-11 21:53:18 +00:00
Laurent Rineau 2a6044d966 Fix SONAME support for SunPro CC (Solaris):
use "-h" directly, instead of "-Wl,-h,"
2007-02-11 20:01:25 +00:00
Laurent Rineau 351e57621a Add SONAME support for Irix and Solaris, based on:
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
2007-02-10 01:09:02 +00:00
Laurent Rineau 4c484412e4 (Followup to revision 36164.)
"Everybody was dreaming of this commit log:
 - factorization of makefiles for libCGAL, libCGALimageIO, libCore, and
 libBenchmark.
 - SONAMEs for everybody."
Add:
 - fix platforms without SONAME,
 - unify Benchmark/src/Benchmark/makefile with other makefiles.
2007-02-09 23:33:22 +00:00
Laurent Rineau 5465b2aec8 One can build the four shared libraries on Darwing, now. No special treatment 2007-02-09 22:27:37 +00:00
Laurent Rineau 04f803305f One can now disable static libraries in interactive mode.
(Reminder: --disable-static in non-interactive mode.)
2007-02-09 22:26:00 +00:00
Michael Hoffmann d55b10b759 Remove OPENGL_LIBS and test for it as a separate feature. 2007-02-07 15:46:51 +00:00
Efi Fogel c6e5125616 Fixes for Windows: 1. Allowed specifying cl as the compiler (and not only cl.exe). 2. Fixed installing into a separate directory 2007-02-07 11:26:32 +00:00
Laurent Rineau 6c6cbdcb1c The commit that will break everthing:
- New library: libCGALimageIO
- make shared libraries for CORE, and Benchmark.
2007-02-02 16:10:06 +00:00
Andreas Meyer 4ec2c7f37f testsuite webpage now has entries for libCGAL* 2007-01-11 22:32:08 +00:00
Marc Glisse 8a4899c67d Add .cpp to .SUFFIXES. 2007-01-09 18:34:10 +00:00
Marc Glisse ef0af08640 ! [ -n "..." ] corrected to:
[ ! -n "..." ] and actually to:
[ -z "..." ]
in a shell script.
2007-01-05 17:55:06 +00:00
Laurent Rineau 652de4ef9f Problems with shared libraries under Darwin: only libCGAL can be compiled shared. 2006-11-09 12:59:38 +00:00
Laurent Rineau 7670f12222 Add the new option --disable-static to the result of --help 2006-11-08 17:06:15 +00:00
Laurent Rineau 0e713f8f29 - add support for shared libCGALQt
- enable option "--disable-shared" in install_cgal (non interractive mode only)
2006-11-08 16:43:48 +00:00
Efi Fogel 331e6aa945 Enabled the production of the CGALBenchmakr library 2006-10-12 17:53:05 +00:00
Sylvain Pion 87c173093e Update list of supported compilers.
( The main goal is to warn users of old compilers,
  not to afraid users new ones for not much. )
2006-09-22 08:30:03 +00:00
Andreas Meyer 1151a0e3f3 fix: support for leda specfiles 2006-07-20 13:29:54 +00:00
Sylvain Pion b77f79a65a Rename ${TMP_CXX_FILE}.C to ${TMP_CXX_FILE}.cpp 2006-07-12 19:06:16 +00:00
Sylvain Pion 5a1d4b985b - Create a new file $CGAL/VERSION which contains the version
number and no carriage return.
- Use it in install_cgal instead of parsing <CGAL/version.h>.
2006-07-12 10:01:06 +00:00
Sylvain Pion e4cd943786 - Rename config/support/test*.C to .cpp 2006-07-12 09:26:22 +00:00
Sylvain Pion 5d166afa1b Renamed config/testfiles/*.C to .cpp 2006-07-12 09:03:57 +00:00
Andreas Fabri 07fb9cf289 Added suffix rules for cleaning .cpp files 2006-06-15 10:46:39 +00:00
Sylvain Pion 06071bf82b Do not take $CXX into account (conflict) if the compiler
is passed on the command-line.
2006-05-22 13:57:10 +00:00
Michael Hoffmann c1a946b418 Fixed bug reported by Joachim, CXXFLAGS/LDFLAGS during 3rd party
support file reading overwrite environment variables.
Fixed bug in logfile initialization.
2006-05-19 08:00:29 +00:00
Laurent Saboret 952bf33945 Fixed bug on Solaris 2.6 with tr:
- tr arguments must be quoted
- [ and ] regular characters must be protected by a backslash
2006-05-10 11:04:17 +00:00
Laurent Saboret f79f707883 Complete rewrite of TAUCS support. Windows, Linux and Darwin are tested. Other platforms are supported but not yet tested. 2006-05-09 16:16:39 +00:00
Michael Hoffmann 064e4fbb8c Search for install_name_tool after OS_COMPILER is defined. 2006-04-24 08:30:26 +00:00
Laurent Saboret fc15e54f87 Use multithreaded DLL runtime with Visual C++ and Intel compiler (-MD) 2006-04-21 14:34:07 +00:00
Michael Hoffmann c4459c8a49 Commented CGAL_MAKEFILE replacement for example/test makefiles.
(Was not effective, anyway..)
2006-04-20 17:44:44 +00:00
Michael Hoffmann 2b3e66f6d7 Name Install Menu. 2006-04-20 09:19:35 +00:00
Sylvain Pion 00eda9d67b Redo the CGAL_SHARED_LIB_INSTALL_NAME change, as it is needed
when no "install" procedure is run.
2006-04-19 21:05:39 +00:00
Sylvain Pion 8fa59948d4 Undo r29804 (CGAL_SHARED_LIB_INSTALL_NAME) as a better
approach is there now.
2006-04-19 15:43:21 +00:00
Michael Hoffmann f75c90a48a Add buildlog to install.log, even in case of success. 2006-04-19 15:19:15 +00:00
Michael Hoffmann e392b3f7ea Use install_name_tool to correct sharedlibnames on Darwin. 2006-04-18 14:26:28 +00:00
Michael Hoffmann f26644d94f Give reasonable error msg when parsing BUILD_ONE_CONFIG. 2006-04-18 11:45:49 +00:00
Sylvain Pion 0d0aad83ea In create_standard_header_replacements(), do a first test with
all std headers included at once, to avoid the loop over all
individual headers (speed up).
2006-04-17 09:54:39 +00:00
Sylvain Pion eed6175a1d Undo r30319 as it was not the cause of the armageddon. 2006-04-15 16:23:50 +00:00
Sylvain Pion 601e136909 - Undo r30288 as it is probably the cause of buggy test-suite. 2006-04-14 13:00:41 +00:00
Sylvain Pion 0ef9da253a Progress towards libraries makefile factorization 2006-04-13 23:42:26 +00:00
Sylvain Pion 22ad725de1 Move src/*.C to src/CGAL/*.C 2006-04-13 22:24:18 +00:00
Sylvain Pion c1373346f2 Merge src/makefile_lib and src/makefile_sharedlib into src/makefile.
This required to pass CXXFLAGS on the make command-line, and therefore
I took this opportunity to also pass CGAL_MAKEFILE on the command-line,
which in turn allowed to get rid of the prepare_lib_makefiles function.
2006-04-13 22:02:29 +00:00
Michael Hoffmann cf96be9ae6 Print supported libs on multiple lines in interactive menu. 2006-04-13 13:14:47 +00:00
Laurent Rineau 3e26709e52 make lib_menu exit if the setup is not correct, in non-interactive mode. 2006-04-13 11:45:42 +00:00
Michael Hoffmann 4b48954bb1 Output feature not package name when testing. 2006-04-11 13:02:56 +00:00
Michael Hoffmann f32a974f9a Cleanup of XLIBS and WINDOW_DIR (unused).
Introduce CGAL_CGAL_LDFLAGS.
2006-04-11 09:19:18 +00:00
Michael Hoffmann 8ff7788731 Fixed critical bug in return value processing in link_run_test.
(Reported by Fernando and Marc.)
2006-04-05 14:57:09 +00:00
Laurent Rineau 325a6aba59 Increase the width of the output of print_os_settings(), in install_cgal 2006-03-30 11:48:28 +00:00
Sylvain Pion 24045f8fd9 Add $CGAL_SHARED_LIB_INSTALL_NAME to specify the -install_name option for
building dylibs on Darwin (removes the need for $DYLD_LIBRARY_PATH).
2006-03-29 13:45:08 +00:00
Sylvain Pion faf9a99f21 On Darwin, -fno-common is only needed when making the shared libs themselves,
not all the time, so move it from ADDITIONAL_CXXFLAGS to CGAL_SHARED_LIB_CXXFLAGS.
2006-03-28 21:30:31 +00:00
Michael Hoffmann 01228d2f2f Make KEY case-insensitive in support_menu. 2006-03-27 12:20:34 +00:00
Laurent Saboret 2f2e783569 install_cgal detects now properly TAUCS on Cygwin/Visual C++. It probably also works for Cygwin/Intel Compiler.
Note: TAUCS is not compatible with Cygwin/g++ (no makefile provided).
2006-03-23 14:35:07 +00:00
Sylvain Pion 1aa2fda9f5 - Swap order of CUSTOM_CXXFLAGS and ADDITIONAL_CXXFLAGS
(spotted because I want to alter the default -Wall by -Wno-non-virtual-dtor)
2006-03-22 23:09:50 +00:00
Laurent Saboret 445397cbe8 Added detection of TAUCS library at installation time 2006-03-16 17:21:55 +00:00
Sylvain Pion 7579c1e54e - Give back to Caesar what belongs to him. 2006-03-15 12:41:47 +00:00
Michael Hoffmann 75e9cfb32d Make parsing 3rd party messages on screen less spacy (request by Sylvain). 2006-03-10 14:41:16 +00:00
Marc Glisse 59aea66a35 sunpro: add compiler flag to enable CGAL_PRETTY_FUNCTION. 2006-03-09 13:18:31 +00:00
Michael Hoffmann 65dc16cc4e Scan packages in reverse order for command line parsing. 2006-03-09 09:58:37 +00:00
Michael Hoffmann b29aef2453 Fixed bug in command line argument parsing. 2006-03-09 09:47:13 +00:00
Marc Glisse 1fecf12871 Remove deprecated flag for sunpro. 2006-03-08 12:35:41 +00:00
Andreas Fabri afb6612310 Removed glut32.lib (again???) 2006-03-08 07:58:01 +00:00
Michael Hoffmann c1d79d5429 Log environment variable parsing. 2006-03-07 15:57:49 +00:00
Michael Hoffmann 45f94339fb Remove GLUT from OpenGL Libs.
Fix makefile_print_from_var.
2006-03-07 12:34:58 +00:00
Michael Hoffmann b5cd2003e7 Set linker flags in link_run_test. 2006-03-06 15:29:53 +00:00
Michael Hoffmann b4e006d082 Move ${START_LD_OPT} in _link_run_test. 2006-03-06 15:06:17 +00:00
Michael Hoffmann 33ccc4e6c5 Add ${START_LD_OPT} when linking testfiles. 2006-03-06 13:42:31 +00:00
Michael Hoffmann 4535b62b9a Fixed "\nt" qualification bug in makefile_print_from_var.
Fixed bug in handling of --with-... commandline option.
Add CGALQt to linker flags when QT support is enabled.
2006-03-06 10:40:16 +00:00
Michael Hoffmann e71c4a1ce6 Fixed flag generation for testfiles.
Re-enable test menu.
Do not call "link" for MSVC and Intel.
Do not remove RIS_LOGFILE after creating it.
2006-03-03 16:20:04 +00:00
Michael Hoffmann ca753a3ec2 Fixed more bugs in makefile processing. 2006-03-02 16:20:08 +00:00
Michael Hoffmann 756eca876d Fixed bugs in include makefile generation.
Handle spaces in file- and dirnames (more or less).
2006-03-01 16:19:10 +00:00
Michael Hoffmann 51ebb7517f Complete rewrite of 3rd party lib support; this is now
stored in separate specfiles in config/support similar
to config/testfiles.
Default mode is to include support for as many libraries as possible.
(Can be switched off using the new cmdline switch --without-autofind.)
Forward a lot more into install.log.
Also cleaned up a lot of things.
QT support now requires $QTDIR to be set.
Custom ostag shows up in menus etc.
2006-02-28 16:12:09 +00:00
Andreas Fabri 1d25a892db Removed glut from OPENGL_LIBS 2006-02-28 09:41:58 +00:00
Andreas Fabri 4f43059e1c Added glut to the OPENGL_LIBS 2006-02-27 14:36:47 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 24c27026ba Move packages to trunk root 2006-02-14 08:58:15 +00:00