[CMake] CMAKE_BUILD_TYPE does not work in CMAKE_TOOLCHAIN_FILE - how to proceed?

2017-04-26 Thread Steffen Dettmer
Hi, I'm new to cmake and we started using it to build proprietary embedded projects with a proprietary toolchain. We love the new build system's performance and its simplicity! Compared with what we were used to have, it is just superior in every aspect we met, really great! We hopefully based ou

[CMake] CTest: Running test depending on a commit/change

2017-04-26 Thread Eric Noulard
Is there any way to ask ctest run the set of tests impacted by a commit/change ? Or may be asking ctest to run only the tests that were built no later than say 3 min. ago. The use case is simple. I do some modification in my code call the build tool (ninja in my case) and I want ctest to only run