diff options
author | Brad King <brad.king@kitware.com> | 2009-07-24 17:17:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-24 17:17:41 (GMT) |
commit | 071ce33ec98fd6eac3345d23de76822643611083 (patch) | |
tree | 0a7ff011c5c0882be75bc2e432b848bf048e1aa2 /Modules | |
parent | 31678a3c27aecbaac8b292874b0aa0c815f056e3 (diff) | |
download | CMake-071ce33ec98fd6eac3345d23de76822643611083.zip CMake-071ce33ec98fd6eac3345d23de76822643611083.tar.gz CMake-071ce33ec98fd6eac3345d23de76822643611083.tar.bz2 |
ENH: Install all Modules and Templates
This removes the file-wise installation rules for Modules and Templates
and instead installs the whole directories. This approach is much less
error-prone. The old approach was left from before CMake had the
install(DIRECTORY) command.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeLists.txt | 12 | ||||
-rw-r--r-- | Modules/Platform/CMakeLists.txt | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/Modules/CMakeLists.txt b/Modules/CMakeLists.txt deleted file mode 100644 index da168cd..0000000 --- a/Modules/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -# just install the modules -## new file added, force rerunning cmake - -SUBDIRS(Platform) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.cmake$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.cpp$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.cxx$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.in$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.c$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.h$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.F$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules readme\\.txt$) diff --git a/Modules/Platform/CMakeLists.txt b/Modules/Platform/CMakeLists.txt deleted file mode 100644 index 6d8f4a1..0000000 --- a/Modules/Platform/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -# just install the modules -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules/Platform .*\\.cmake$) -INSTALL_FILES(${CMAKE_DATA_DIR}/Modules/Platform .*\\.in$) |