From 4b8944e5b2db0710e6e5cb179cf85c37620ed5a6 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 26 Jan 2016 17:16:02 +0100 Subject: [PATCH] Replace #ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS with #ifndef DONT_USE_BOOST_PROGRAM_OPTIONS --- Jet_fitting_3/examples/Jet_fitting_3/Mesh_estimation.cpp | 6 +++--- Ridges_3/examples/Ridges_3/Compute_Ridges_Umbilics.cpp | 6 +++--- Ridges_3/examples/Ridges_3/Ridges_Umbilics_SM.cpp | 6 +++--- .../polyhedron_ex_parameterization.cpp | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Jet_fitting_3/examples/Jet_fitting_3/Mesh_estimation.cpp b/Jet_fitting_3/examples/Jet_fitting_3/Mesh_estimation.cpp index 4a979c17dfb..3f768852709 100644 --- a/Jet_fitting_3/examples/Jet_fitting_3/Mesh_estimation.cpp +++ b/Jet_fitting_3/examples/Jet_fitting_3/Mesh_estimation.cpp @@ -6,7 +6,7 @@ #include -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS #include namespace po = boost::program_options; #endif @@ -117,7 +117,7 @@ void gather_fitting_points(Vertex* v, } ///////////////MAIN/////////////////////////////////////////////////////// -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS int main(int argc, char *argv[]) #else int main() @@ -131,7 +131,7 @@ int main() std::ofstream out_4ogl, out_verbose; try { -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS po::options_description desc("Allowed options"); desc.add_options() ("help,h", "produce help message.") diff --git a/Ridges_3/examples/Ridges_3/Compute_Ridges_Umbilics.cpp b/Ridges_3/examples/Ridges_3/Compute_Ridges_Umbilics.cpp index df894aba174..b74269f24b5 100644 --- a/Ridges_3/examples/Ridges_3/Compute_Ridges_Umbilics.cpp +++ b/Ridges_3/examples/Ridges_3/Compute_Ridges_Umbilics.cpp @@ -12,7 +12,7 @@ -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS #include namespace po = boost::program_options; #endif @@ -179,7 +179,7 @@ void compute_differential_quantities(PolyhedralSurf& P, Poly_rings& poly_rings) ///////////////MAIN/////////////////////////////////////////////////////// -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS int main(int argc, char *argv[]) #else int main() @@ -188,7 +188,7 @@ int main() std::string if_name, of_name;// of_name same as if_name with '/' -> '_' try { -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS unsigned int int_tag; po::options_description desc("Allowed options"); desc.add_options() diff --git a/Ridges_3/examples/Ridges_3/Ridges_Umbilics_SM.cpp b/Ridges_3/examples/Ridges_3/Ridges_Umbilics_SM.cpp index 3b08b64b3b3..b04f92a4a68 100644 --- a/Ridges_3/examples/Ridges_3/Ridges_Umbilics_SM.cpp +++ b/Ridges_3/examples/Ridges_3/Ridges_Umbilics_SM.cpp @@ -9,7 +9,7 @@ #include #include -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS #include namespace po = boost::program_options; #endif @@ -168,7 +168,7 @@ void compute_differential_quantities(PolyhedralSurf& P, Poly_rings& poly_rings) ///////////////MAIN/////////////////////////////////////////////////////// -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS int main(int argc, char *argv[]) #else int main() @@ -177,7 +177,7 @@ int main() std::string if_name, of_name;// of_name same as if_name with '/' -> '_' try { -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS unsigned int int_tag; po::options_description desc("Allowed options"); desc.add_options() diff --git a/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/polyhedron_ex_parameterization.cpp b/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/polyhedron_ex_parameterization.cpp index 9fc63d2da68..c693b04c9e5 100644 --- a/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/polyhedron_ex_parameterization.cpp +++ b/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/polyhedron_ex_parameterization.cpp @@ -46,7 +46,7 @@ #include #include -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS #include namespace po = boost::program_options; #endif @@ -283,7 +283,7 @@ parameterize(ParameterizationMesh_3& mesh, // Mesh parameterization adaptor // main() // ---------------------------------------------------------------------------- -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS int main(int argc, char * argv[]) #else int main() @@ -305,7 +305,7 @@ int main() std::string output; // default: out.eps try { -#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS +#ifndef DONT_USE_BOOST_PROGRAM_OPTIONS po::options_description desc("Allowed options"); desc.add_options() ("help,h", "prints this help message")