Improving CMake rebuild times
Posted: Sat May 25, 2013 7:23 am
It appears that when disabling/enabling a plugin/component from cmake-gui the build OgreBuildSettings.h is regenerated, requiring a complete rebuild of everything.
I understand the need for the plugin defines for a static build and the component defines for the Samples but is there not a way overcome this?
I understand this is probably not an issue for most since build times are probably low but here on an out-dated machine it takes Linux(Unity)-25 mins / MinGW -40 mins and Visual Studio - 1.5 hours.
It may be frustrating for new users to find that when encountering problems building plugins on say MinGW/DirectX* to find disabling a plugin from the cmake-gui restarts the whole build.
I understand the need for the plugin defines for a static build and the component defines for the Samples but is there not a way overcome this?
I understand this is probably not an issue for most since build times are probably low but here on an out-dated machine it takes Linux(Unity)-25 mins / MinGW -40 mins and Visual Studio - 1.5 hours.
It may be frustrating for new users to find that when encountering problems building plugins on say MinGW/DirectX* to find disabling a plugin from the cmake-gui restarts the whole build.