Skip to content

Commit

Permalink
chore: Added missing sources files in CMake (dashpay#5503)
Browse files Browse the repository at this point in the history
## 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)_
  • Loading branch information
ogabrielides authored Jul 25, 2023
1 parent 00cb31c commit c96edec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c96edec

Please sign in to comment.