On 08/29/2010 05:48 AM, Jerry Jacobs wrote: > set(CMAKE_CXX_FLAGS "-D__ASSERTMACROS__") > set(CMAKE_BUILD_TYPE "Debug") >
RE: set(CMAKE_CXX_FLAGS "-D__ASSERTMACROS__") Using set on any variable would normally fully sets its value, it is not an incremental or additive change. The CMake authors wanted to have some platform specific control over this particular variable, this is probably why this particular variable gets changed again out from underneath any setting you make in the cmake script. There is add_definitions() to incrementally add to the compiler flags and you could wrap this in a test for mac. RE: set(CMAKE_BUILD_TYPE "Debug") this is just silly, and is not a variable that should ever be set within a CMake script because it is there to control the build type. It would be like using epoxy to lock a light switch in the ON position. And as Jean-Pierre said, the small portion of boost we are using comes entirely from the included headers. It does not need separate compilation. Dick _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

