Comments (4)
Can you check now? This fix handles continued lines which the webp cmakelists uses in 7 places. Funnily enough the fix for #57 does actually fix that AC_INIT (that's the exact misparse it's fixing - paren imbalance inside a string) - but it didn't handle multiline strings yet. I didn't know cmake allowed that.
from cpp-dependencies.
Thanks @PeterBindels-TomTom . Build from dascandy/cpp-dependencies fixes the issue with libwebp.
However have you mentioned that cpp-dependencies self scan is broken since f7fba9a ?
$ git remote -v
origin https://github.com/dascandy/cpp-dependencies.git (fetch)
origin https://github.com/dascandy/cpp-dependencies.git (push)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
$ cmake .
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test PEDANTIC_SUPPORTED
-- Performing Test PEDANTIC_SUPPORTED - Success
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: filesystem system
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Git reported this project's version as '1.0-179-g3036c3a'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/reddot/custom/rugiex/tmp/cpp-dependencies
$ make
[ 6%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/Analysis.cpp.o
[ 12%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/CmakeRegen.cpp.o
[ 18%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/Component.cpp.o
[ 25%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/Configuration.cpp.o
[ 31%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/generated.cpp.o
[ 37%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/Input.cpp.o
[ 43%] Building CXX object src/CMakeFiles/cpp_dependencies_lib.dir/Output.cpp.o
[ 50%] Linking CXX static library libcpp_dependencies_lib.a
[ 50%] Built target cpp_dependencies_lib
[ 56%] Building CXX object src/CMakeFiles/cpp-dependencies.dir/main.cpp.o
[ 62%] Linking CXX executable cpp-dependencies
[ 62%] Built target cpp-dependencies
[ 68%] Building CXX object test/CMakeFiles/unittests.dir/AnalysisCircularDependencies.cpp.o
[ 75%] Building CXX object test/CMakeFiles/unittests.dir/CmakeRegenTest.cpp.o
[ 81%] Building CXX object test/CMakeFiles/unittests.dir/ConfigurationTest.cpp.o
[ 87%] Building CXX object test/CMakeFiles/unittests.dir/InputTest.cpp.o
[ 93%] Building CXX object test/CMakeFiles/unittests.dir/test.cpp.o
[100%] Linking CXX executable unittests
[100%] Built target unittests
$ ./src/cpp-dependencies --stats
final level of parentheses=1
cpp-dependencies: /home/reddot/custom/rugiex/tmp/cpp-dependencies/src/Input.cpp:316: void ReadCmakelist(const Configuration&, std::unordered_map<std::__cxx11::basic_string<char>, Component*>&, const boost::filesystem::path&): Assertion `parenLevel == 0 || (printf("final level of parentheses=%d\n", parenLevel), 0)' failed.
Aborted (core dumped)
from cpp-dependencies.
Didn't notice that, no. According to the documentation I'm doing something that's not legal cmake either.
from cpp-dependencies.
Here are some observations when running cpp-dependencies
over components of the project I'm working with:
message("OKAY")
message(STATUS "
NOT OKAY
")
#message(STATUS "
# OKAY
#")
#message(STATUS "
# NOT OKAY
#")
if(1)
message(STATUS "
NOT OKAY
")
endif()
#if(1)
#message(STATUS "
# OKAY
#")
#endif()
#if(1)
#message(STATUS "
# NOT OKAY
#")
#endif()
from cpp-dependencies.
Related Issues (20)
- Make includesize output more useful by outputting the highest scores only
- Create clang-format file & run it in CI system somewhere
- dose this also work for C only? HOT 1
- boost dependency necessary for Linux? HOT 2
- Make very explicit what the tool does with CMakeLists HOT 3
- No such file or directory error HOT 2
- Release pre-built binaries for Linux/MacOS/Windows HOT 1
- Error when compiling with VS on Windows - memrchr HOT 5
- Add support for d3.js visualisations HOT 1
- std::bad_alloc (core dumped) on Ubuntu 16.04
- Does it support bazel build system ? HOT 1
- show snap installation instructions on readme? HOT 2
- C++17 std::filesystem instead of boost HOT 4
- Assertion failed in src/Input.cpp:304 HOT 8
- Clarify purpose and status of this repository HOT 1
- Can I use cpp-dependencies to analyse C project? HOT 1
- Ubuntu 22.10 permission denied error with cpp-dependencies installed via snap
- assertion failed in ReadCmakelist while running cpp-dependencies on itself
- CMake Error about "Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem system)"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp-dependencies.