On Friday 24 April 2015 05:52:40 Jeremy Whiting wrote: > Millian, > > For that it should be adequate to have two separate config files. You > could leave one named ~/.kdesrc-buildrc and name the other > ~/.debugkdesrc-buildrc or whatnot. Then to use the debug one, just > pass it to --rc-file=~/.debugkdesrc-buildrc when you run kdesrc-build. > If you want them to install to different paths, adjust the paths in > the rc files accordingly I guess. Is that what you are after or did I > completely misunderstand the question?
No, this seems to be exactly what I want. For some reason I did not see that while looking at --help. Or I was looking for something different :) Thanks Jeremy! > On Fri, Apr 24, 2015 at 5:39 AM, Milian Wolff <m...@milianw.de> wrote: > > Hey all, esp. Jeremy. > > > > I have a question regarding kdesrc-build: Is it possible to manage > > multiple > > build configurations with kdesrc-build? Most notably, I'd like to have two > > builds of all modules in my configuration: One CMAKE_BUILD_TYPE=Debug > > build > > and a ...=RelWithDebInfo build. > > > > This is an important requirement for me in order to profile kf5 code > > (RelWithDebInfo), as well as doing normal development and fixing bugs > > (Debug). > > > > How would you suggest to achieve this goal? The .kdesrc-buildrc hardcodes > > the cmake-options globally for me (currently to debug). Can I tell > > kdesrc-build to use a different buildrc for the RelWithDebInfo > > configuration? I could not find a CLI parameter for this. Potentially I > > could do it via --set-module-option- value and changing the global > > settings for qtdir, build-dir and kdedir as well as the cmake-options. > > > > What do you suggest? > > -- > > Milian Wolff > > m...@milianw.de > > http://milianw.de -- Milian Wolff m...@milianw.de http://milianw.de >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<