← Back to team overview

kicad-developers team mailing list archive

Re: Can't set CMAKE_CXX variables for CMakeCache.txt on OS X

 

Jerry Jacobs a écrit :
Dear all,

I'm very tired to always set variables like the one to get boost
compiling on OS X. Then always need to set the CMAKE_CXX_FLAGS by hand
in the CMakeCache.txt to -D__ASSERTMACROS__ . But some day I want to let
kicad build on OS X out-of-source without changing anything. I added the
rules in CMakeLists.txt but it doesn't place them in the CMakeCache.txt:

set(CMAKE_CXX_FLAGS "-D__ASSERTMACROS__")
set(CMAKE_BUILD_TYPE "Debug")



About BOOST, kicad sources include boost headers used in kicad (see <kicad_sources>/include/boost).
So no need to change or set any variable about BOOST.


--
Jean-Pierre CHARRAS






References