Ask Your Question


asked 2015-11-29 20:13:33 -0500

demmeln gravatar image

Should I be able to set CMAKE_CXX_FLAGS_DEBUG or the variants for the other build types in my CMakeLists.txt for caktin packages? It seems to have no effect. Setting CMAKE_CXX_FLAGS seems to work, but I want to set different defines depending on the build type.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-29 20:36:36 -0500

demmeln gravatar image

Yes, it does actually seem to work if you have no typo in -DCMAKE_BUILD_TYPE=Debug...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-11-29 20:13:33 -0500

Seen: 2,958 times

Last updated: Nov 29 '15