Commit Graph

351 Commits

Author SHA1 Message Date
Laurent Rineau ac86e1b70a Revert previous commit: one cannot setup the trap before acquiring the
lockfile, because we do not want the trap to be launched if the acquirement
makes the script exit!
2009-07-20 09:46:05 +00:00
Laurent Rineau 90d0abd973 Fix the error trap, so that it is setup before acquiring the lockfile. 2009-07-20 09:43:17 +00:00
Laurent Rineau f04ce7f387 revert revision 50480 2009-07-09 14:37:18 +00:00
Laurent Rineau a8c87f9a79 Attempt to fix the Envelope_3_Demo problem. 2009-07-08 16:50:03 +00:00
Laurent Rineau e05c535343 hack on Windows, where 'cp' does not copy the Windows ACLs 2009-07-07 11:20:57 +00:00
Eric Berberich 7efd70e693 collect ui + moc files 2009-07-01 12:50:26 +00:00
Eric Berberich 83bbbefa40 boost required 2009-07-01 08:33:59 +00:00
Eric Berberich 1fc8adc035 use bash instead of sh
no find_package boost if not options are given
2009-06-28 09:12:22 +00:00
Eric Berberich 518940d985 removed old script 2009-06-22 07:43:04 +00:00
Eric Berberich d8ef34acfe prefer `pwd`/cgal_cmake_options over $HOME/.cgal_cmake_options_rc 2009-06-21 13:32:21 +00:00
Eric Berberich 29fe51e5aa clean up + qt4 for "all sources indiviually" 2009-06-21 13:23:18 +00:00
Eric Berberich bbe3b90ccf added support for Qt4 (single-source only by now)
some cosmetics
2009-06-21 12:41:04 +00:00
Eric Berberich 300f291d7f order for local includes 2009-06-21 11:52:54 +00:00
Eric Berberich f10b40c6da source must not be full file name 2009-06-21 11:51:05 +00:00
Eric Berberich 92a4173d67 cosmetics 2009-06-21 11:40:35 +00:00
Eric Berberich 1ef34289ea fixed indentation 2009-06-21 11:09:17 +00:00
Eric Berberich 64fac23296 added script 2009-06-21 10:04:36 +00:00
Eric Berberich 1ea0d21225 correct boost variable 2009-06-21 10:04:07 +00:00
Eric Berberich be8f5aabe0 moved boost components 2009-06-21 09:41:53 +00:00
Eric Berberich 8639cb7e95 return from script when CGAL is not found 2009-06-21 08:59:37 +00:00
Eric Berberich cb27709345 project name 2009-06-21 08:40:36 +00:00
Eric Berberich 1e377ae99d resort structure for cgal-components 2009-06-20 09:38:20 +00:00
Eric Berberich 12d7e87306 added find package CGAL
unified seperator
2009-06-20 09:10:22 +00:00
Eric Berberich 9b5e4d1810 worked in train:
-s source option
-p package option
-d dir option
-b boost option
-c cgal component options

to be tested
2009-06-18 23:57:29 +00:00
Eric Berberich c57dd66907 modified qt-stuff - more to come soon 2009-06-18 10:18:14 +00:00
Eric Berberich 539d21be16 added new script that will (hopefully) replace old one
- contains boost options
- should contain cgal options
- should contain single-source or all-sources
- contains includes

TODO extend option file
2009-06-18 07:26:48 +00:00
Eric Berberich a064513d20 added boost-components 2009-06-18 06:19:18 +00:00
Eric Berberich cab7214ac9 includes now also for Qt3 demos 2009-06-16 21:33:47 +00:00
Eric Berberich 27157aa557 option parsing 2009-06-16 16:15:28 +00:00
Eric Berberich 17b63131c5 added (initial version of) script to automatically include some user-specific
packages (or directories containing packages)
2009-06-16 14:53:51 +00:00
Laurent Rineau f4e9acb026 Move several log and log_done calls, so that the output is more clear. 2009-05-28 10:00:53 +00:00
Sylvain Pion 46c3843237 Remove pre-CMake scripts. 2009-05-09 16:21:46 +00:00
Fernando Cacciola 69419d9ec1 Add ../include and ../../include in CMakeLists.txt for examples and test 2009-04-27 13:56:16 +00:00
Laurent Rineau 7e94196306 - Use printf instead of echo.
- Only check the existence of a release of same name if --do-it is used.
2009-04-14 09:00:28 +00:00
Laurent Rineau 5024821866 Add a check in the code create_new_release, to avoid overwriting a old
release.
2009-04-14 08:58:18 +00:00
Sylvain Pion 2907b46b13 Remove log messages when using "-n". 2009-04-02 11:07:21 +00:00
Laurent Saboret 7815f845e0 Create CGAL-3.x-I symlink (as autotest_cgal used to do) 2009-03-30 16:00:20 +00:00
Laurent Rineau 614d1869ae Do not remove the lockfile if one fails to acquire it! 2009-03-18 08:58:06 +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
Laurent Rineau c50131c8c9 Fix the compilation of the installation manual. Call cgal_manual in verbose mode. 2009-02-17 15:29:14 +00:00
Laurent Rineau 62ea46f98d Remove '\n' from VERSION file in internal releases. 2009-01-14 08:22:48 +00:00
Laurent Rineau d0f66de0ce Remove non-cmake old scripts 2008-12-22 14:18:52 +00:00
Laurent Rineau 870eae3556 Remove a minor bug (a sort of warning from the shell). 2008-12-18 22:48:27 +00:00
Laurent Rineau 9d3cdb5a50 Revert revision 47414, at least temporarily: if the VERSION file has a
end-of-line, then CMake scripts add a \n to CGAL_MINOR_VERSION! :-(
2008-12-17 09:25:19 +00:00
Laurent Rineau 1708dcf2ad Remove cgal_test *and* cgal_test_using_cmake. 2008-12-15 17:20:29 +00:00
Laurent Rineau 80cc2d1115 Minor: remove an empty-line 2008-12-15 16:27:41 +00:00
Laurent Rineau 1de4f63b5e The public releases now automatically includes
doc_html/installation_manual/.
2008-12-15 16:01:45 +00:00
Laurent Rineau f83377b858 - Add a new option --no-testsuite, to allows to make real internal releases
without triggering testsuites.
- Add support for NSIS under NSIS, so that the Windows installer is created
  by the release making process itself.
2008-12-15 15:34:19 +00:00
Laurent Rineau fee9f7a890 Add an end-on-line at the end of the VERSION file. 2008-12-12 14:12:57 +00:00
Laurent Rineau a8f81c5e2c Add a end-of-line at the end of the "VERSION" file. 2008-12-12 14:02:07 +00:00
Laurent Rineau bd66a53bf9 Update to the create_new_release script: add an option --tag, to create
internal releases but not publish them.
2008-12-10 11:15:05 +00:00
Laurent Rineau e51e116902 Remove <CGAL/Test/*> and <CGAL/Testsuite/*> headers from public releases. 2008-12-08 14:02:08 +00:00
Laurent Rineau 91841a4e95 Fix typo. 2008-12-08 11:56:50 +00:00
Laurent Rineau 21ddbbad38 New way to name internal releases and numbers 2008-12-08 10:57:58 +00:00
Laurent Rineau 17000a2347 Update check_licenses, so that it can be run with latest releases. 2008-12-08 09:56:35 +00:00
Laurent Rineau 817cc8a483 No longer create makefile and cgal_test files in examples/tests/demos. Fix create_internal_release. 2008-12-05 13:10:41 +00:00
Laurent Rineau 0b8119ce79 Al last, non buggy version. 2008-12-03 17:01:55 +00:00
Laurent Rineau 622d63fcb3 Another version of create_internal_release, so that it correctly deals with
dont_submit files and global_dont_submit.
2008-12-03 16:23:15 +00:00
Laurent Rineau b4a52dd9eb create_internal_release can now read a global dont_submit file. 2008-12-03 15:37:35 +00:00
Andreas Fabri e7fc145477 Add dont_submit 2008-12-02 11:05:37 +00:00
Laurent Rineau 0d3b0c0e8a Fix the indentation. 2008-11-10 11:39:21 +00:00
Laurent Rineau bd5176e8d1 Add NOTICE: where needed, so that the test results scripts can generate a
"r".
2008-11-10 11:12:10 +00:00
Fernando Cacciola 911ef1d18a Fix to create CGAL_DIR/cmake/platforms which is no longer in the tarball 2008-11-04 18:28:46 +00:00
Fernando Cacciola 593e473390 Create CGAL_DIR/cmake/platforms which is no longer in the tarball 2008-11-04 17:57:43 +00:00
Fernando Cacciola 0046cc19df Removed uneeded set of CMAKE_BUILD_TYPE 2008-11-04 13:11:01 +00:00
Fernando Cacciola 994028ec51 Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_ 2008-11-04 13:09:48 +00:00
Fernando Cacciola 6bae1045df Fixed handling of flags when defined interactively 2008-11-03 21:00:22 +00:00
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Laurent Rineau c97eaa2f0e When where are in a demo/ sub-directory, call cgal_test_with_cmake with "--no-run". 2008-10-21 09:01:47 +00:00
Laurent Rineau 013c3846df Fix indentation of auto-generated CMakeLists.txt 2008-10-21 08:31:07 +00:00
Laurent Rineau 9436938680 Minor improvement in localtestscript-redo-results-collection 2008-10-17 08:49:24 +00:00
Laurent Rineau 275d408829 Rename to cgal_build. 2008-10-14 13:46:34 +00:00
Laurent Rineau dc22e7f287 Little update: allow to call a specific target. 2008-10-14 13:45:27 +00:00
Joachim Reichel 30282685d4 omit file extensions without any hits 2008-10-12 14:02:09 +00:00
Laurent Rineau 344fda0669 Fix indentation. 2008-10-08 11:43:42 +00:00
Laurent Rineau 8e2ce1e7ca Add support for USE_LATEST_UNZIPPED in autotest_cgal
That was already in autotest_cgal_using_cmake
2008-10-07 14:00:36 +00:00
Laurent Rineau 36567b77e8 Add a "do what i mean" script, to replace the following steps:
- create a default CMakeLists.txt with cgal_create_cmake_script,
  - call "cmake ." (it will work only if CGAL_DIR is defined in the
    environment),
  - call "make -f Makefile" (-f Makefile is needed if an old file
    "makefile" is here).
2008-10-03 13:47:11 +00:00
Laurent Rineau 5be30c1228 Fix testsuites about Core. 2008-10-03 08:47:14 +00:00
Fernando Cacciola 1ec0942208 Fixed "Core" component name in autogenerated cmake scripts 2008-10-02 18:50:24 +00:00
Laurent Rineau 8ae8e0d132 Fix conditional compilation of auto-generated Qt3-enabled CMakeLists.txt 2008-10-02 11:22:48 +00:00
Laurent Rineau 3be382a3a6 Bug fix: results were incorrectly collected and published twice: once just
after the libraries compilation, and once after the tests suite has run.
2008-10-02 07:42:33 +00:00
Laurent Rineau bc66de2b4c Fix to avoid warnings about a "broken pipe". 2008-09-29 14:16:45 +00:00
Laurent Rineau 54a1337d49 - Followup to r45799: "Tricks with file descriptors, so that I can receive
by email (sended by crond) the warnings about conflicting files."
- Copy demo/icons and demo/resources in test/ (during internal release
  creation), so that demos can find the resources.
2008-09-29 12:35:57 +00:00
Laurent Rineau 4b3e9815af Ooops. I forgot that patch!
Followup to revision 45719, which was:
"- 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-26 13:03:19 +00:00
Laurent Rineau 8a09fdabdf Tricks with file descriptors, so that I can receive by email (sended by
crond) the warnings about conflicting files.
2008-09-26 10:24:43 +00:00
Laurent Rineau 2e5889e7a9 Allow to relaunch the "end" of the testsuite: results collection, and
results re-submission.
2008-09-26 10:23:34 +00:00
Laurent Rineau fa7036293a Improve generated scripts cgal_test_with_cmake:
- Do not try to compile targets that have not been configured. Hopefully
    cmake gives us "make help".
  - Do not try to clean if nothing has been built.
2008-09-25 09:14:47 +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 7e5bebf12b Run per-host test on background rather than per host+platform 2008-09-18 18:29:51 +00:00
Fernando Cacciola 73101b5465 Removed TESTSUITE_* flags 2008-09-17 18:53:08 +00:00
Fernando Cacciola 7630512654 Added warning about deprecated use of TESTSUITE_* environment variables (before effective removal) 2008-09-16 18:43:00 +00:00
Fernando Cacciola e0bb152d63 Prevented a failed library to abort compilation of the others 2008-09-16 18:32:03 +00:00
Laurent Rineau d5d232705f Replace echo -n with printf. 2008-09-12 12:50:02 +00:00
Laurent Rineau 14db4fe00c Blacklist "icons" and "resources" in create_internal_release, so that
icons/ and resources/ do not get makefile, cgal_test, cgal_test_with_cmake
and CMakeLists.txt
2008-09-10 13:13:28 +00:00
Laurent Rineau 984ed953ac Fix revision 45484: the if branch was never reached because i was using an
incorrect syntax to check the equality of two string.

Revision 45484 was:
"Mix my previous commit (revision 45481): that script is perl, and not sh!"

Revision 45481 was:
"Blacklist "icons" and "resources" in create_internal_release, so that
icons_Demos and resources_Demos are not created in internal releases."
2008-09-10 11:58:41 +00:00
Laurent Rineau b88c403c13 Typo 2008-09-10 11:22:08 +00:00
Laurent Rineau dfd7e8e44c Mix my previous commit (revision 45481): that script is perl, and not sh! 2008-09-10 11:20:22 +00:00
Sylvain Pion 94d81bcfd5 Add cgal_test script that avoids the need to manually call create_cgal_test.
Same for Cmake.
2008-09-10 10:54:06 +00:00
Laurent Rineau 1be2c0b381 Blacklist "icons" and "resources" in create_internal_release, so that
icons_Demos and resources_Demos are not created in internal releases.
2008-09-10 10:44:21 +00:00
Laurent Rineau bf796f710d Let testers define flags for release and debug modes if they want (and I
want).
2008-09-08 15:58:21 +00:00