Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram
  • Date: Fri, 05 Dec 2014 09:27:47 +0100
  • Organization: GeometryFactory

Le jeudi 04 décembre 2014 23:17:05 Adam Getchell a écrit :
> However, I want to include CGAL, which I believe is normally handled by the
> line:
>
> create_single_source_cgal_program( "src/cdt-docopt.cpp”)
>
> Is the CGAL_CreateSingleSourceCGALProgram.cmake module compatible with
> including two source .cpp files?
>
> (The name seems to imply not.)
>
> If not, what should I use instead?

Actually, that CMake macro has been modified, since its creation, and it is
compatible with multiple source files. You can use for example:

create_single_source_cgal_program( "src/cdt-docopt.cpp" "src/cdt-aux.cpp")

The name of the target is chosen after the name of the first source file.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page