Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: Re: [cgal-discuss] About the adding the Compiler optimization
- Date: Thu, 11 Apr 2013 17:28:25 +0200
- Organization: GeometryFactory
Le jeudi 11 avril 2013 16:53:09 Sebastien Loriot a écrit :
> cmake -DCMAKE_BUILD_TYPE=Release .
The correct and documented syntax of the -D option of the 'cmake' command
tool
is:
-D<var>:<type>=<value>
so, you should use:
cmake -DCMAKE_BUILD_TYPE:STRING=Release .
If you forget the type, CMake does not complain, and set the type to
"UNINITIALIZED". Unfortunately, that type is undocumented, and may have a
surprising behavior [1].
[1] http://www.cmake.org/pipermail/cmake/2010-July/037939.html
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] About the adding the Compiler optimization, arno, 04/11/2013
- Re: [cgal-discuss] About the adding the Compiler optimization, Sebastien Loriot (GeometryFactory), 04/11/2013
- Re: Re: [cgal-discuss] About the adding the Compiler optimization, Laurent Rineau (CGAL/GeometryFactory), 04/11/2013
- Re: [cgal-discuss] About the adding the Compiler optimization, Sebastien Loriot (GeometryFactory), 04/11/2013
Archive powered by MHonArc 2.6.18.