summaryrefslogtreecommitdiffstats
path: root/Modules/AddExternalProject.cmake
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Better recursive make in AddExternalProjectBrad King2009-03-041-50/+60
| | | | | | | This teaches AddExternalProject to run "$(MAKE)" for build and install steps of CMake-based external projects when using a Makefile generator. It allows the external project to participate in a parallel make invoked on the superproject.
* ENH: Allow empty arguments in external project APIBrad King2009-03-041-28/+13
| | | | | | This uses the get_property command to simplify property lookup in the AddExternalProject module. It distinguishes for build and install argument properties the cases of unset and set to empty.
* ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix ↵David Cole2008-12-241-1/+6
| | | | it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step.
* ENH: Add the update step in between download and build. Add UPDATE_ARGS and ↵David Cole2008-12-191-33/+129
| | | | UPDATE_COMMAND handling. Output a -complete sentinel in synch with the -install sentinel, but do not list it as an OUTPUT of the custom command. That breaks the chaining of add_custom_commands between custom targets, but allows for a file-level dependency expression that will cause proper incremental rebuilds. When earlier targets rebuild, subsequent dependent targets will also rebuild. CVS and SVN update commands are always out-of-date so that they always run to get the latest source. To suppress that behavior on a per-external project basis use an explicit empty string for UPDATE_COMMAND. The source will still be checked out from the repository prior to the update step by the download step.
* ENH: Default to the same cmake used for configuring when building and ↵David Cole2008-12-091-2/+12
| | | | installing. If none specified default to the cmake used to configure the outer/aggregating project.
* BUG: Make sure all directories used as working directories exist at CMake ↵David Cole2008-12-081-13/+81
| | | | configure time as well as having custom commands that create them. Necessary for the Borland Makefiles generator to generate short path names in the makefile build rules. Also, make sure all custom commands chain together properly through the use of the sentinel files.
* ENH: Make it easier to use configure/make/make-install as the build steps ↵David Cole2008-12-051-81/+144
| | | | for an external project. Add capability of customizing the download step. Add tests of empty projects. Better comments and error checking in AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to see if QNX continuous can build the latest KWStyle. Make KWStyle test depend on all previous test external projects so it builds last to catch other issues before any KWStyle compile errors.
* ENH: First draft of add_external_project functionality. Tweaks, dashboard ↵David Cole2008-12-041-0/+461
fixing, more tests and documentation certain to follow as it gets used by others...