[ITK-dev] speed up windows ITK IDE builds

Bill Hoffman bill.hoffman at kitware.com
Fri Jan 8 11:14:39 EST 2016


I setup a dashboard for VS 2015 with this generator:

set(CTEST_CMAKE_GENERATOR "Visual Studio 14 Win64")

build time was 2h 33m.

I then added this to the CTest script:
set(ENV{CFLAGS} /MP)
set(ENV{CXXFLAGS} /MP)

Now the build time is 1h 20m.

Not as good as the ninja build of 54m, but a much better time.

It might be a good idea to add this to other VS IDE builds on the dashboard.

For reference you can see the blog I wrote three years ago:

http://www.kitware.com/blog/home/post/434

-Bill


More information about the Insight-developers mailing list