diff options
author | chriseth <chris@ethereum.org> | 2018-11-26 21:45:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 21:45:35 +0800 |
commit | d950905a28805b86b633a3fe22e27ea606a8d764 (patch) | |
tree | 9dc7a33559154f364be92cb1df7ff85c3baef964 /liblangutil | |
parent | 7921e5f0b9ff954fd08be6a4f5014f844c0cf10d (diff) | |
parent | cdd8c72c9d38a6638cd23db58079251b6a632e3b (diff) | |
download | dexon-solidity-d950905a28805b86b633a3fe22e27ea606a8d764.tar.gz dexon-solidity-d950905a28805b86b633a3fe22e27ea606a8d764.tar.zst dexon-solidity-d950905a28805b86b633a3fe22e27ea606a8d764.zip |
Merge pull request #5493 from ethereum/cmake-no-globbing
[WIP] CMake: Explicitly state which files to compile instead of relying on globbing
Diffstat (limited to 'liblangutil')
-rw-r--r-- | liblangutil/CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/liblangutil/CMakeLists.txt b/liblangutil/CMakeLists.txt index 722ca840..3d8bd37a 100644 --- a/liblangutil/CMakeLists.txt +++ b/liblangutil/CMakeLists.txt @@ -1,6 +1,12 @@ # Solidity Commons Library (Solidity related sharing bits between libsolidity and libyul) -file(GLOB sources "*.cpp") -file(GLOB headers "*.h") +set(sources + CharStream.cpp + ErrorReporter.cpp + Exceptions.cpp + ParserBase.cpp + Scanner.cpp + Token.cpp +) -add_library(langutil ${sources} ${headers}) +add_library(langutil ${sources}) target_link_libraries(langutil PUBLIC devcore) |