kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #05232
Can't set CMAKE_CXX variables for CMakeCache.txt on OS X
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")
I tried with CMake 2.6.4 and 2.8.2 and searched some mailing lists and
tried different configuration and still failed.
http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/30647
This guys has the same problems.
Maybe somebody can help.
Regards,
Jerry
Follow ups