cgal_create_makefile

Langue: en

Version: 312828 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

cgal_create_makefile - create makefiles for applications using CGAL

SYNOPSIS

cgal_create_makefile -d|-t|-q [filename]

DESCRIPTION

The script cgal_create_makefile allows the simple creation of makefiles for applications which use the CGAL library. The generated rules contain the proper compiler and linker flags for the CGAL library itself as well as for all libaries supported by CGAL. For each source file with suffix C or cpp, a rule for the corresponding object file is generated. If the source file contains a main() function, a rule for an executable is also generated (the script assumes that each application consists of a single object file).

OPTIONS

-d
Create a (default) makefile as described above.
-t
Create a makefile that is suited for the testsuite used by the CGAL developers.
-q
Create a makefile with Qt support (including calls for the Qt's meta object compiler moc.
filename
The output is written to filename (defaults to makefile). If filename exists, it is renamed to filename.bak.

ENVIRONMENT

CGAL_MAKEFILE
If CGAL_MAKEFILE is set, the compiler and linker flags are taken from this makefile template. Otherwise, the default file /usr/share/cgal/cgal.mk is used.

FILES

/usr/share/cgal/cgal.mk
contains the default compiler and linker flags

AUTHOR

The CGAL software was written by a large number of authors (see /usr/share/doc/libcgal2/copyright for a list).

This manual page was written by Joachim Reichel <joachim.reichel@gmx.de> for the Debian GNU/Linux system (but may be used by others).

REPORTING BUGS

Report bugs to <cgal-discuss@lists-sop.inria.fr> (see http://www.cgal.org/ for further instructions).

SEE ALSO

The full documentation for CGAL is available at http://www.cgal.org/ in PDF and HTML format.