diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 12:56:31 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 13:15:33 +0300 |
commit | f468efa90e9adb53e6084825579340abf38328c8 (patch) | |
tree | 79af668bcda169086ccbc0f77de0d702208d1531 | |
parent | update cmake-common (diff) | |
download | aes-tools-f468efa90e9adb53e6084825579340abf38328c8.tar.gz aes-tools-f468efa90e9adb53e6084825579340abf38328c8.zip |
cmake: install libraries & their headers
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | cxx/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d030045..6dc89d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,4 +33,6 @@ endif() add_subdirectory(cxx) add_subdirectory(utils) +install(TARGETS aes ARCHIVE DESTINATION lib) +install(DIRECTORY include/aes DESTINATION include) install(FILES LICENSE.txt DESTINATION share) diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt index 64613f7..9bbf777 100644 --- a/cxx/CMakeLists.txt +++ b/cxx/CMakeLists.txt @@ -9,3 +9,5 @@ if(MSVC_VERSION EQUAL 1900) # https://connect.microsoft.com/VisualStudio/feedback/details/888527/warnings-on-dbghelp-h target_compile_options(aesxx INTERFACE /wd4091) endif() + +install(DIRECTORY include/aesxx DESTINATION include) |