From c96edec318787773851f9af4c00d96cf315fb615 Mon Sep 17 00:00:00 2001 From: Odysseas Gabrielides Date: Tue, 25 Jul 2023 20:23:56 +0300 Subject: [PATCH] chore: Added missing sources files in CMake (#5503) ## Issue being fixed or feature implemented Added missing sources files (index, interfaces, node, logging, util) in CMake so they can be indexed by IDE. ## What was done? ## How Has This Been Tested? ## Breaking Changes ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ --- CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a31b734b7..863806b857 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,8 @@ add_definitions( -DENABLE_WALLET=1 ) +# find src/ -name '*.h' -or -name '*.cpp' | sed -r 's/[^/]*.(h|cpp)$/*.\1/' | sort | uniq | grep -Ev "/(bench/data|obj)/" > list.txt + file(GLOB SOURCE_FILES src/*.cpp src/*.h @@ -69,13 +71,20 @@ file(GLOB SOURCE_FILES src/evo/*.h src/governance/*.cpp src/governance/*.h + src/index/*.cpp + src/index/*.h + src/interfaces/*.cpp + src/interfaces/*.h src/leveldb/db/*.cc src/leveldb/db/*.h src/leveldb/include/*.h src/llmq/*.cpp src/llmq/*.h + src/logging/*.h src/masternode/*.cpp src/masternode/*.h + src/node/*.cpp + src/node/*.h src/policy/*.cpp src/policy/*.h src/primitives/*.cpp @@ -89,11 +98,20 @@ file(GLOB SOURCE_FILES src/script/*.cpp src/script/*.h src/secp256k1/include/*.h + src/support/allocators/*.h + src/support/*.cpp + src/support/*.h src/test/*.cpp src/test/*.h + src/test/fuzz/*.cpp + src/test/fuzz/*.h + src/test/util/*.cpp + src/test/util/*.h src/univalue/include/*.h src/univalue/lib/*.cpp src/univalue/lib/*.h + src/util/*.h + src/util/*.cpp src/wallet/*.cpp src/wallet/*.h src/wallet/test/*.cpp