Subject: CGAL users discussion list
List archive
- From: Guillaume Damiand <>
- To:
- Subject: Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram
- Date: Fri, 05 Dec 2014 09:10:11 +0100
Hi Adam,
Hello all,
Le 05/12/2014 08:17, Adam Getchell a écrit : I’m trying to incorporate docopt [1] into my CGAL
project [2].
I’m doing an out of source build, so the following
command line works:
┌─[adam][Hapkido][±][docopt ✓][~/CDT-plusplus/build]
└─▪ clang++ --std=c++11 --stdlib=libc++ -I
../src/docopt ../src/docopt/docopt.cpp ../src/cdt-docopt.cpp
-o cdt_docopt
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?
No. However you can replace the line create_single_source_cgal_program( "src/cdt-docopt.cpp”) by the two following lines add_executable(myexe src/cdt-docopt.cpp) target_link_libraries(myexe ${CGAL_LIBRARIES} ${CGAL_3RD_PARTY_LIBRARIES}) and thus add any number of sources files. Regards Guillaume (The name seems to imply not.)
If not, what should I use instead?
Thanks for any advice,
[1] https://github.com/docopt/docopt.cpp
[2] https://github.com/acgetchell/CDT-plusplus/tree/docopt
Adam Getchell
about.me/adamgetchell -- =================================================================== Guillaume DAMIAND CNRS - LIRIS UMR 5205 Université Claude Bernard Bâtiment Nautibus (710) 43 Boulevard du 11 Novembre 1918 69622 Villeurbanne Cedex (France) ------------------------------------------------------------------- Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36 Mail: Web: http://liris.cnrs.fr/guillaume.damiand/ =================================================================== |
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
- [cgal-discuss] CGAL_CreateSingleSourceCGALProgram, Adam Getchell, 12/05/2014
- Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram, Guillaume Damiand, 12/05/2014
- Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram, Laurent Rineau (CGAL/GeometryFactory), 12/05/2014
- Re: [cgal-discuss] CGAL_CreateSingleSourceCGALProgram, Adam Getchell, 12/05/2014
Archive powered by MHonArc 2.6.18.