diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-05-12 14:39:39 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-05-12 14:39:39 -0500 |
commit | ac87ac19b26cc3bb96fb209c49a0295876e96d57 (patch) | |
tree | 3681b764281ccf819b93f22f5a65e1eb60787f21 /contrib | |
parent | Merge pull request #7664 (diff) | |
parent | CMake: new macro - finding all headers (extract from epee) (diff) | |
download | monero-ac87ac19b26cc3bb96fb209c49a0295876e96d57.tar.xz |
Merge pull request #7665
15e6275 CMake: new macro - finding all headers (extract from epee) (mj-xmr)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/epee/src/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/contrib/epee/src/CMakeLists.txt b/contrib/epee/src/CMakeLists.txt index 368f49c95..0f0a6ecad 100644 --- a/contrib/epee/src/CMakeLists.txt +++ b/contrib/epee/src/CMakeLists.txt @@ -28,11 +28,8 @@ set(EPEE_INCLUDE_DIR_BASE "${CMAKE_CURRENT_SOURCE_DIR}/../include") -# Adding headers to the file list, to be able to search for them in IDEs. -file(GLOB EPEE_HEADERS_PUBLIC - "${EPEE_INCLUDE_DIR_BASE}/*.h*" # h* will include hpps as well. - "${EPEE_INCLUDE_DIR_BASE}/**/*.h*" # Any number of subdirs will be included. -) +# Add headers to the file list, to be able to search for them and autosave in IDEs. +monero_find_all_headers(EPEE_HEADERS_PUBLIC "${EPEE_INCLUDE_DIR_BASE}") add_library(epee STATIC byte_slice.cpp byte_stream.cpp hex.cpp abstract_http_client.cpp http_auth.cpp mlog.cpp net_helper.cpp net_utils_base.cpp string_tools.cpp wipeable_string.cpp levin_base.cpp memwipe.c connection_basic.cpp network_throttle.cpp network_throttle-detail.cpp mlocker.cpp buffer.cpp net_ssl.cpp |