Commit Graph

165 Commits

Author SHA1 Message Date
Laurent Rineau 73ad12ef1f cgal_create_cmake_script now displays created targets on stderr 2013-08-30 13:34:44 +02:00
Eric Berberich 357d6258f5 cmake's link_libraries is deprecated
removed almost all occurenced (missing UseFiles). While
doing so, some CMakeLists.txt could also be simplified. In fact
many more CMakeLists.txt can be simplified, in one of two ways:
1) add external libs to CGAL_3RD_PARTY_LIBRARIES and
2) call cgal_create_single_source_program
2012-08-03 22:32:39 +00:00
Eric Berberich 4cc4796227 correct name of ImageIO 2012-08-03 17:50:11 +00:00
Eric Berberich 7df5cae640 moved 2012-05-24 12:36:17 +00:00
Eric Berberich 530dc3ade2 better name 2012-05-24 12:35:31 +00:00
Eric Berberich 7ef7089f54 added comments to unsupported 2012-05-24 12:33:53 +00:00
Sébastien Loriot 191add8a6f fix esbtl typo 2012-05-21 10:37:42 +00:00
Eric Berberich 42799e2a39 merge from next 2012-05-21 09:23:32 +00:00
Laurent Rineau a82b1a3ddb Add the shebang 2012-02-03 11:03:49 +00:00
Eric Berberich 1c1718376f added TODO to be in sync with old script 2012-01-31 14:32:23 +00:00
Eric Berberich 3a5220da8d testing not for demos 2012-01-28 10:04:46 +00:00
Eric Berberich 559e2f8583 enable testing, use get_filename_component 2012-01-26 15:36:38 +00:00
Eric Berberich e1186423ac ensure capitalization 2012-01-26 13:38:54 +00:00
Eric Berberich 998d186e2e fixed boost, fixed filename, more file globbing 2012-01-26 02:58:52 +00:00
Eric Berberich f492bf2b26 some globbing of files 2012-01-26 02:32:57 +00:00
Eric Berberich 7210a543b3 single and all sources, missing PARSING, GLOBBING OF FILES 2012-01-25 14:23:20 +00:00
Eric Berberich 4443fa00ce added some qt3, qt4 stuff; fixing spacing of components 2012-01-25 13:44:25 +00:00
Eric Berberich f6f14ae89a more local include 2012-01-25 13:30:36 +00:00
Eric Berberich bc7c6664a0 added Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include dir 2012-01-25 13:26:24 +00:00
Eric Berberich 640a4e6cb4 moved some parts from bash script already 2012-01-25 13:16:52 +00:00
Eric Berberich 7cb739f3e9 passing command line options to a cmake script in script mode 2012-01-25 09:15:21 +00:00
Eric Berberich 832c6c02e7 merge from next; installation.tex got major changes 2012-01-23 13:54:58 +00:00
Eric Berberich 107751e9bd renamed script 2012-01-19 12:07:58 +00: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 2099d2d193 Fix the wording of LGPLv3+ so that licensecheck detects it well 2012-01-16 13:57:07 +00:00
Eric Berberich 0ece18bb56 allow components and -p in parallel 2012-01-11 13:23:14 +00:00
Eric Berberich e459b50324 added some line 2012-01-11 10:51:15 +00:00
Eric Berberich 66bc1cef1e merge from next 2012-01-09 12:42:00 +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 78a63a4bc9 update copyright holders 2011-09-22 08:24:38 +00:00
Laurent Rineau dbf3ace24b merge from next 2011-09-22 07:56:49 +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
Alexander Kobel 52beeeaf83 - reveal cgal_create_assertions.sh (used to be create_assertions.sh) to the public
- move feature documentation to the public Developer_manual
2011-09-20 16:28:48 +00:00
Eric Berberich 74445d5d9e applied same fix to enhanced script 2011-04-29 15:53:37 +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
Eric Berberich 026e830dec merge from next 2011-04-28 10:51:25 +00:00
Laurent Rineau 82f952223e Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:37:38 +00:00
Eric Berberich 56c034b893 merge from next 2011-04-27 22:34:14 +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
Eric Berberich 01849c93d7 added missing characters 2011-04-21 08:31:46 +00:00
Eric Berberich 43b24e99ba added missing libs 2011-04-20 15:33:43 +00:00
Eric Berberich 863f0c4de5 enable preconfiguration for external libs (for now only NTL, RS, MPFI), others to come 2011-04-17 19:55:06 +00:00
Eric Berberich 13ff6e0f3a added mpfi (to be deleted) 2011-04-15 09:09:05 +00:00
Laurent Rineau f6ccb37436 Initial support for CTest. 2010-08-31 16:50:19 +00:00
Sébastien Loriot d72337785c remove dependance on CGAL_PDB: merge from the branche created for that purpose
I do not remove the directory CGAL_PDB as I am allowed to use svn remove.
2010-06-10 17:26:38 +00:00
Eric Berberich 02a4b51f51 support for mpfi and rs 2010-03-05 10:20:07 +00:00
Eric Berberich 55d9c89c0a patch 2010-02-19 10:54:50 +00:00
Eric Berberich 17ec9d99c1 fixed QT3 2010-02-09 00:10:23 +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 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
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 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
Joachim Reichel ac4bcfe9ee fix bashisms (use printf instead of echo) 2008-06-18 16:07:17 +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