From: PCMan <pcm...@gm...> - 2013-10-21 04:34:43
|
On Sun, Oct 20, 2013 at 2:49 PM, Martin Graesslin <mgr...@kd...> wrote: > On Saturday 19 October 2013 14:09:14 PCMan wrote: >> Hello, >> I finally find some time to finished the document: >> http://wiki.lxde.org/en/Build_LXDE-Qt_From_Source >> >> If you find any errors, feel free to correct them since it's a wiki page. >> Thank you. > I had a look at it, can of course not find any errors, but can give you > hopefully some ideas on how to make it better. > > * don't install to /usr/local but specify the install directory in the cmake > command. That way one doesn't have to be root to install and it get's way > easier to just delete the complete install dir before a rebuild. Yes, that's also what I want to do, but I don't know how to make it correctly. I tried to google for how to do this in cmake but did not find a good doc for it. > * do out of source builds where possible. This also helps to just delete all > build directories without having to go into each directory. And it doesn't add > things to the git managed directories Sound's good, I'll try. We, however, also have several automake-based projects which requires in source build. Or do you know how to do out of source builds for automake-based projects? > * add a CMakeLists.txt to you main git repo to at least be able to just run > cmake once for all the cmake based sub-modules Yes, I tried it but failed. Some components require that other core libs to be installed first, such as libqtxdg and liblxqt. I don't know how to use cmake to install them locally without root permission. Besides, if I install them locally by settings prefix, how can I install them correctly to the system when using make install? Besides, since we have automake-based projects, I tried cmake the external project command. However, it did not work as well as advertised and had some limitations. > * have a look at kdesrc-build [1] (perl script) that is wonderful for having > dependency based builds from source code OK, I will try, but I cannot read perl. lol Thank you for the suggestions. > Cheers > Martin > > [1] http://kdesrc-build.kde.org/ > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > Lxde-list mailing list > Lxd...@li... > https://lists.sourceforge.net/lists/listinfo/lxde-list > |