diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 13:33:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 13:33:50 +0300 |
commit | 351c5188013fff041c7217aed64478cfc7643480 (patch) | |
tree | c918b5093ac45394439f3dff30da37b809173603 /aesxx/CMakeLists.txt | |
parent | cmake: install libraries & their headers (diff) | |
download | aes-tools-351c5188013fff041c7217aed64478cfc7643480.tar.gz aes-tools-351c5188013fff041c7217aed64478cfc7643480.zip |
restructure the project
Diffstat (limited to 'aesxx/CMakeLists.txt')
-rw-r--r-- | aesxx/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/aesxx/CMakeLists.txt b/aesxx/CMakeLists.txt new file mode 100644 index 0000000..9bbf777 --- /dev/null +++ b/aesxx/CMakeLists.txt @@ -0,0 +1,13 @@ +find_package(Boost REQUIRED) + +add_library(aesxx INTERFACE) +target_include_directories(aesxx INTERFACE include/) +target_link_libraries(aesxx INTERFACE aes Boost::boost) + +if(MSVC_VERSION EQUAL 1900) + # These annoying DbgHelp.h warnings: + # 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) |