From: Tim E. R. <ter...@ro...> - 2010-11-04 17:39:58
|
On November 4, 2010 04:48:29 am Robert Jonsson wrote: > Hi guys, > > I noticed some days ago that when I built muse2 no optimizations were > added. Probably this is the main reason that I have found it to be so > sluggish. > > According to the readme nothing specific should be added when > configuring, but I think there is. > > In the CMakeLists.txt I found the commented out lines: > #set(CMAKE_BUILD_TYPE debug) > #set(CMAKE_BUILD_TYPE release) Ah, didn't notice that. I've been specifying the debug type on the command line when I build. I guess we'd want to default set CMAKE_BUILD_TYPE to release, but only if it has not been set already by the user ! Orcan what do you think? Tim. > > Enabling the release line made a world of a difference. Apparently it > is possible to build muse without specifying one or the other but no > flags are added. > > So I wonder, is this the way to do it or should cmake be called with > some argument? > > Regards, > Robert > |