aboutsummaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Support the --continue option, ignoring build failuresMarius Storm-Olsen2012-04-201-6/+25
| | | | | Change-Id: I409f6b157cbe9de7c173ac1b8458b06548051db9 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Follow -j [n] documentation, where no [n] means unlimitedMarius Storm-Olsen2012-04-201-6/+8
| | | | | Change-Id: Icf5561d5405418da6fa132e65d460ebb176b6d12 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Clean up exit/die/return mess for exe*()Marius Storm-Olsen2012-04-201-13/+16
| | | | | | | | | The exe*() functions were inconsistent of where they exited. So, make sure that all exe*() confesses upon errors, and let the calling functions use eval{} to avoid the exception when needed. Change-Id: Ia6e4edb22a83ac32d924b792e8a2eea657a6a149 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fix copy'n'paste and code move bugsMarius Storm-Olsen2012-04-201-2/+2
| | | | | | Change-Id: I9e8d059648c54cf2ffde7674d9f049d4821dbb0a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com>
* Add documentation for the build scriptMarius Storm-Olsen2012-04-201-0/+67
| | | | | | Change-Id: I59fdf997971b0fbb2e4b41a18735fe72215e21c1 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com>
* Add --dry-run option to build scriptMarius Storm-Olsen2012-04-201-13/+24
| | | | | | | | | | | The --dry-run option (-n for short) also allows levels of dry-run, where the first level just shows what the build script itself will do. However if you -n 2, then it will recurse the dry-run to the make as well, so you can get a full dry-run of everything. Change-Id: I3a3c8a844411219e7afe6a570bc9ef6718ba472f Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Just move functions closer to their logical place in the codeMarius Storm-Olsen2012-04-201-56/+56
| | | | | | | | Makes it easier to read the code Change-Id: I71ed3affa3d3fe4e2b782898c78f1c1a97371d26 Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fix building on Windows and OSXMarius Storm-Olsen2012-04-051-4/+8
| | | | | | | | | | | | | | | | A problem with the dependency algorithm would make the top-most dependent module not compile. Also affects building QtWayland on Linux. OSX has a problem when doing 'make install' on Qt configured with prefix pointing to qtbase (no installation needed), so disable that for the alpha, like on Windows. Also, remove a redundant line in the script. Change-Id: I368e80520977cf8a4bfcbbf13445f50c820aee9c Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Add build dependency for qtwayland + make qtwayland non default moduleMarius Storm-Olsen2012-04-051-2/+8
| | | | | | | | | Running ./build qtwayland will build qtwayland and its dependencies. Change-Id: I78f0b0cec6bc21a14f0d8d89e42080589d9b28b6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Avoid 'make install' on WindowsMarius Storm-Olsen2012-04-051-1/+4
| | | | | | | We normally don't 'make install' on Windows, so avoid it for the alpha. Change-Id: Ia5563791be249ea04abdda64b94e15afb2608add Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* build: Do not clobber existing values of CL environment variable.Friedemann Kleint2012-04-041-2/+7
| | | | | Change-Id: I88708560e0885fefa149aec7bd9789e585a79d57 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
* Clean up build scriptMarius Storm-Olsen2012-03-291-27/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove loading of thread modules. Not core module, and we don't use them. Return value of system command. Add --force-qmake option, and by default avoid running qmake when a Makefile already exists. Do not pass '-j 1' unless explicit on the command line, and pick up 'MAKE' environment variable. (Thiago) Remove usage of File::Which, as it's not a core module, and often not present on host machines. (Peppe) Remove '-s' or '/s' optin to make/nmake, as we cannot see how far we have compiled, and we only get warnings/errors. Change the qtwebkit build command, and add separate command for installing qtwebkit. Also add the required build tools for WebKit on Windows. Change-Id: I79bffa39a13ece78fa401f39a38a1ccaf0f389b0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Add build script for Qt 5Marius Storm-Olsen2012-03-261-0/+408
The build script will build each module individually, and install them if needed, in the correct order. Change-Id: I9416e624b080b8b25241270e909bd120a4028137 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>