Added macro guards to individually disable auto-link on a per-library basis

This commit is contained in:
Fernando Cacciola 2007-03-19 14:37:41 +00:00
parent cffe0f9156
commit 9900fc1c87
5 changed files with 20 additions and 0 deletions

View File

@ -20,8 +20,12 @@
#ifndef CGAL_AUTO_LINK_CGAL_H
#define CGAL_AUTO_LINK_CGAL_H
#ifndef CGAL_NO_AUTOLINK_CGAL
#define CGAL_LIB_NAME CGAL
#include <CGAL/auto_link/auto_link.h>
#endif // CGAL_NO_AUTOLINK_CGAL
#endif // CGAL_AUTO_LINK_CGAL_H

View File

@ -20,8 +20,12 @@
#ifndef CGAL_AUTO_LINK_CGALQT_H
#define CGAL_AUTO_LINK_CGALQT_H
#ifndef CGAL_NO_AUTOLINK_CGALQT
#define CGAL_LIB_NAME CGALQt
#include <CGAL/auto_link/auto_link.h>
#endif // CGAL_NO_AUTOLINK_CGALQT
#endif // CGAL_AUTO_LINK_CGALQT_H

View File

@ -20,8 +20,12 @@
#ifndef CGAL_AUTO_LINK_CORE_H
#define CGAL_AUTO_LINK_CORE_H
#ifndef CGAL_NO_AUTOLINK_CORE
#define CGAL_LIB_NAME CGALcore++
#include <CGAL/auto_link/auto_link.h>
#endif // CGAL_NO_AUTOLINK_CORE
#endif // CGAL_AUTO_LINK_CORE_H

View File

@ -20,9 +20,13 @@
#ifndef CGAL_AUTO_LINK_GMP_H
#define CGAL_AUTO_LINK_GMP_H
#ifndef CGAL_NO_AUTOLINK_GMP
#define CGAL_AUTO_LINK_NOMANGLE
#define CGAL_LIB_NAME gmp
#include <CGAL/auto_link/auto_link.h>
#endif // CGAL_NO_AUTOLINK_GMP
#endif // CGAL_AUTO_LINK_GMP_H

View File

@ -20,9 +20,13 @@
#ifndef CGAL_AUTO_LINK_MPFR_H
#define CGAL_AUTO_LINK_MPFR_H
#ifndef CGAL_NO_AUTOLINK_MPFR
#define CGAL_AUTO_LINK_NOMANGLE
#define CGAL_LIB_NAME mpfr
#include <CGAL/auto_link/auto_link.h>
#endif // CGAL_NO_AUTOLINK_MPFR
#endif // CGAL_AUTO_LINK_MPFR_H