diff options
author | David Cole <david.cole@kitware.com> | 2010-05-31 18:22:24 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2010-05-31 18:30:22 (GMT) |
commit | 2deba1b9119e6a3dd40931606e08b70744735650 (patch) | |
tree | 2853890ef662d7af306773376ff737182da338ea /Tests/ExternalProject/Example | |
parent | e6efd9ac0a0e38208162d32e5d45849337ab39e4 (diff) | |
download | CMake-2deba1b9119e6a3dd40931606e08b70744735650.zip CMake-2deba1b9119e6a3dd40931606e08b70744735650.tar.gz CMake-2deba1b9119e6a3dd40931606e08b70744735650.tar.bz2 |
Add .zip and .tar.bz2 extraction to ExternalProject.
Add archives of these file types and add to the test
cases covered in the ExternalProject test.
Also add an "Example" directory in the Tests/ExternalProject
directory containing the canonical simplest example of
ExternalProject usage.
Diffstat (limited to 'Tests/ExternalProject/Example')
-rw-r--r-- | Tests/ExternalProject/Example/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/ExternalProject/Example/CMakeLists.txt b/Tests/ExternalProject/Example/CMakeLists.txt new file mode 100644 index 0000000..2cadd7d --- /dev/null +++ b/Tests/ExternalProject/Example/CMakeLists.txt @@ -0,0 +1,11 @@ +# This is the canonical simplest ExternalProject example CMakeLists.txt file: +cmake_minimum_required(VERSION 2.8) +project(ExternalProjectExample NONE) +include(ExternalProject) + +ExternalProject_Add( + cmake281 + URL http://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gz + CMAKE_ARGS -D CMAKE_INSTALL_PREFIX=<INSTALL_DIR> + BUILD_COMMAND "" +) |