diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-07 18:57:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-07 18:59:03 +0200 |
commit | 4c6674dd7504f7e000fb7cea5c6d0c537217a1fb (patch) | |
tree | 41debcf7bc15b092a5a9744a4ffbf5dcb7ed0bed /cmake/opentrack-install.cmake | |
parent | 76d9145bd2c1d2596ef1bc8bf516a141472f4ea8 (diff) |
cmake: remove src install
Diffstat (limited to 'cmake/opentrack-install.cmake')
-rw-r--r-- | cmake/opentrack-install.cmake | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index 94f3e29d..9285ee36 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -16,32 +16,6 @@ macro(otr_install_dir path) ) endmacro() -function(otr_setup_refresh_install_dir) - if((NOT CMAKE_INSTALL_PREFIX STREQUAL "") AND (NOT opentrack-src STREQUAL "")) - otr_escape_string(dir "${CMAKE_INSTALL_PREFIX}/${opentrack-src}/") - install(CODE "file(REMOVE_RECURSE \"${dir}\")") - endif() -endfunction() - -function(otr_install_sources) - otr_setup_refresh_install_dir() - get_property(source-dirs GLOBAL PROPERTY opentrack-all-source-dirs) - foreach(k ${source-dirs}) - file(RELATIVE_PATH dest "${CMAKE_SOURCE_DIR}" "${k}") - otr_install_dir("${opentrack-src}" "${dest}") - endforeach() - - otr_install_dir("${opentrack-src}" "${CMAKE_SOURCE_DIR}/cmake") - otr_install_dir("${opentrack-src}" "${CMAKE_SOURCE_DIR}/bin") - - otr_install_misc("${opentrack-src}" FILES "${CMAKE_SOURCE_DIR}/CMakeLists.txt") - otr_install_misc("${opentrack-doc}" FILES "${CMAKE_SOURCE_DIR}/README.md") - otr_install_misc("${opentrack-doc}" FILES "${CMAKE_SOURCE_DIR}/.github/CONTRIBUTING.md") - otr_install_misc("${opentrack-doc}" FILES "${CMAKE_SOURCE_DIR}/WARRANTY.txt") - otr_install_misc("${opentrack-doc}" FILES "${CMAKE_SOURCE_DIR}/OPENTRACK-LICENSING.txt") - otr_install_misc("${opentrack-doc}" FILES "${CMAKE_SOURCE_DIR}/AUTHORS.md") -endfunction() - function(cleanup_visual_studio_debug) otr_escape_string(pfx "${CMAKE_INSTALL_PREFIX}") install(CODE "file(REMOVE_RECURSE \"${pfx}/.vs\")") |