Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] How to write my own cgal program?
- Date: Thu, 10 Nov 2011 08:25:30 +0100
mq_wei wrote:
Dear all,Correct.
I am a newer of CGAL and have never used the cross platform libraries like cgal. I have some questions as listed below:
(1) I found in every examples, there is a cmakelists.txt file. Does it mean I must write a cmakelists.txt file for each my project?
(2) I have installed the CGAL in VS2008 successfully, and can run the demos and examples after complilation.I am not that familiar with VS but from what I understand, you need to
But how can i write my cgal codes in vs2008? Does it follow like this: first, creat a project; secondly, add files(.h and .cpp formats); Once those two steps are done, i build all solution, but it cannot find the header files of cgal. Does it mean i should write a cmakelists.txt file and use cmake to compile to generate a .sln file? Many thanks for your reply.
write a CMakeLists.txt and generate a .sln with cmake and that's it
(you don't need to create a new project and so on because this is the
purpose of using cmake for that).
Note that if your project is not too complicated, you can use the script
cgal_create_cmake_scripts in the scripts directory. Note that to run it,
you'll need sh ( i.e. using a cygwin or Mingw environment). If you
don't have such an environment, then you can try to modify an existing
CMakeLists.txt as a start point.
Sebastien.
Best regards,
Mengqiong Wei
- [cgal-discuss] How to write my own cgal program?, mq_wei, 11/10/2011
- Re: [cgal-discuss] How to write my own cgal program?, Sebastien Loriot (GeometryFactory), 11/10/2011
- Message not available
- [cgal-discuss] Re: How to write my own cgal program?, cgarfy, 11/10/2011
- Message not available
- Re:[cgal-discuss] Re: How to write my own cgal program?, mq_wei, 11/11/2011
Archive powered by MHonArc 2.6.16.