Re: [CMake] overriding -03 -DNDEBUG Release flags

2018-09-14 Thread Mark Ferry
Have just worked through this and I think in short there is no *good* way. The method I decided to live with is caching the CFLAGS in the toolchain file. If you don't have a custom toolchain file for that project, create one. Assuming you're using a GNU-derived toolchain try this: set(CMAKE_

Re: [CMake] cmake -E remove -f

2017-04-05 Thread Mark Ferry
Hi Craig On Thu, 06 Apr 2017 08:55:58 +1000, Craig Scott wrote: > Can anyone identify a scenario where the -f option to the CMake command > mode's "remove" command makes any difference? > How about removing directories: ~/src/cmake-test$ cmake --version cmake version 3.0.2 CMake suite maintain