Please note that CMake, when used with Visual C++ and NMake, will always set the default build type to Debug, so it always has to be overridden on the command line (see BUILDING.txt.) Setting the default CMAKE_BUILD_TYPE to Release, per below, is only useful with MinGW or other types of builds.
On 3/3/11 6:52 AM, ossm...@users.sourceforge.net wrote: > Revision: 4319 > http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4319&view=rev > Author: ossman_ > Date: 2011-03-03 12:52:59 +0000 (Thu, 03 Mar 2011) > > Log Message: > ----------- > Comment our change of default build type. > > Modified Paths: > -------------- > trunk/CMakeLists.txt > > Modified: trunk/CMakeLists.txt > =================================================================== > --- trunk/CMakeLists.txt 2011-03-03 12:51:38 UTC (rev 4318) > +++ trunk/CMakeLists.txt 2011-03-03 12:52:59 UTC (rev 4319) > @@ -27,6 +27,8 @@ > string(REGEX REPLACE "\n" "" BUILD ${BUILD}) > endif() > > +# Default to optimised builds instead of debug ones. Our code has no bugs ;) > +# (CMake makes it fairly easy to toggle this back to Debug if needed) > if(NOT CMAKE_BUILD_TYPE) > set(CMAKE_BUILD_TYPE Release) > endif() > > > This was sent by the SourceForge.net collaborative development platform, the > world's largest Open Source development site. > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Tigervnc-commits mailing list > tigervnc-comm...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tigervnc-commits ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel