Subject: CGAL users discussion list
List archive
- From: celil <>
- To:
- Subject: [cgal-discuss] cmake build speed
- Date: Tue, 27 Jul 2010 13:08:48 -0700 (PDT)
Hello, building a cgal project takes a really long time for me. I've noticed
that the following flags are enabled
-- USING CXXFLAGS = '-O3 -march=core2 -w -pipe -frounding-math
-fno-strict-aliasing -O3 -DNDEBUG'
and all these optimizations explain why it takes so long. Is there a cmake
option that will disable these optimization flags, so I can build my project
fast in debug mode?
I have the following cmake file:
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
project( algebra_example )
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
if ( COMMAND cmake_policy )
cmake_policy( SET CMP0003 NEW )
endif()
find_package(CGAL REQUIRED COMPONENTS Core )
include( ${CGAL_USE_FILE} )
include( CGAL_CreateSingleSourceCGALProgram )
create_single_source_cgal_program( "algebra.cpp" )
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/cmake-build-speed-tp2304044p2304044.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] cmake build speed, celil, 07/27/2010
- Re: [cgal-discuss] cmake build speed, D Haley, 07/27/2010
- Re: [cgal-discuss] cmake build speed, Joachim Reichel, 07/28/2010
- Re: [cgal-discuss] cmake build speed, D Haley, 07/28/2010
- Re: [cgal-discuss] cmake build speed, Joachim Reichel, 07/29/2010
- Re: [cgal-discuss] cmake build speed, D Haley, 07/28/2010
- Re: [cgal-discuss] cmake build speed, Joachim Reichel, 07/28/2010
- Re: [cgal-discuss] cmake build speed, Joachim Reichel, 07/28/2010
- Re: [cgal-discuss] cmake build speed, D Haley, 07/27/2010
Archive powered by MHonArc 2.6.16.