On 05/05/2015 04:11 PM, Ben Boeckel wrote:
> Does anyone have any issue with remove `-i` from the implicit flags from
> makefile generators with the build command (ctest_build)?

We can change it with explicit options to the relevant commands and
also add a policy to change the default (leaving the explicit options
as a way to enable the old behavior).

There are two places that do this:

* The build_command() command is called by the CTest module to
  initialize the MAKECOMMAND cache entry.  This is used by
  'ctest -M $mode -T Build' to drive the build of an existing tree.
  This can be overridden by setting the cache entry manually.

* The ctest_build() command generates the build command line.
  This can be overridden by setting CTEST_BUILD_COMMAND in the
  script before calling ctest_build().  These days it just needs
  to be something like "cmake --build . --config Debug".

Both cases call GenerateCMakeBuildCommand on the global generator
to generate the "cmake --build" command line.

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to