Commit Graph

38 Commits

Author SHA1 Message Date
Laurent Rineau 3ec0c69f8f We want 2.8.10 for all demos
Previous versions are not tested by the CGAL daily test suite.
2015-07-09 17:50:22 +02:00
Alexander Kobel 8ae9c144a8 make cgal_create_CMakeLists and its brethren recognize all common C++ source file extensions
Rationale: cgal_create_CMakeLists and related scripts used to not
consider files ending on anything else than .cpp or .C as C++ sources.
This patch allows for the list of extensions considered as C++ source
files as stated in the g++ man page.
2015-06-25 15:55:55 +02:00
Laurent Rineau 27b73b067d Output to stdout, for consistency with the other outputs 2013-09-03 17:25:33 +02:00
Laurent Rineau 73ad12ef1f cgal_create_cmake_script now displays created targets on stderr 2013-08-30 13:34:44 +02:00
Laurent Rineau 97a7727e76 Allow to call "cgal_create_cmake_script demo" on an empty directory 2012-01-18 18:16:12 +00:00
Laurent Rineau 02ef8e35d8 Fix typo 2012-01-18 12:05:43 +00:00
Laurent Rineau cfd37935cf merge from next 2011-10-20 16:04:32 +00:00
Laurent Rineau 4273a5a69e Improvement of cgal_create_cmake_script
This allows to create a CMakeLists.txt in a directory whereas the sources
are in another directory.

This will allow out-of-sources creation of CMakeLists.txt files. And, in
the end, that will improve the branch-build.
2011-10-20 15:49:05 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Laurent Rineau 02bca9e9d9 Adapt cgal_create_cmake_script so that it uses the right
cmake_policy(VERSION ...) command.
2011-04-29 14:37:50 +00:00
Laurent Rineau 82f952223e Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:37:38 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +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 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 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
Laurent Rineau 013c3846df Fix indentation of auto-generated CMakeLists.txt 2008-10-21 08:31:07 +00:00
Laurent Rineau 344fda0669 Fix indentation. 2008-10-08 11:43:42 +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 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 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 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 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 9c62ababa9 Add CMAKE_MINIMUM_REQUIRED at the top of each CMakeLists.txt as CMake 2.6 wants 2008-06-29 20:46:44 +00:00
Laurent Rineau d454027d30 Fix the script cgal_create_cmake_script:
- one can use it with 0 or 1 argument.
  - If one argument is used, it *must* be "-q" and nothing else.
2008-06-13 08:44:43 +00:00
Fernando Cacciola 5fd281906f Pass TESTSUITE flags in the right place 2008-06-04 17:03:51 +00:00
Fernando Cacciola 6bae257648 Added project() command 2008-05-13 23:16:27 +00:00
Fernando Cacciola 033aeefc0d Print out folder names 2008-05-07 16:02:13 +00:00
Fernando Cacciola 1d136115e1 CMakeLists.txt are now auto-generated by create_internal_release 2008-05-05 15:09:28 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Fernando Cacciola 45b476a299 Remove 'tee' redirection 2008-03-11 17:46:20 +00:00
Fernando Cacciola 69e8d74d6c autotest with cmake update 2008-03-06 16:50:44 +00:00
Fernando Cacciola d86e6f2485 Added shell script to generate cmake scripts 2008-02-05 15:29:41 +00:00