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: Adam Getchell <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram
  • Date: Fri, 5 Dec 2014 00:35:33 -0800


> On Dec 5, 2014, at 12:27 AM, Laurent Rineau (CGAL/GeometryFactory)
> <>
> wrote:
>
>>
>> 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.

Wow, awesome!

That worked so easily. I just did:

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

And it handled docopt.cpp plus the 4 header files in the same directory.

Thank you very much Laurent!

>
> --
> Laurent Rineau, PhD
> R&D Engineer at GeometryFactory http://www.geometryfactory.com/
> Release Manager of the CGAL Project http://www.cgal.org/
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>




Archive powered by MHonArc 2.6.18.

Top of Page