Giter Site home page Giter Site logo

Comments (4)

PeterBindels-TomTom avatar PeterBindels-TomTom commented on June 16, 2024

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.

RomanValov avatar RomanValov commented on June 16, 2024

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.

PeterBindels-TomTom avatar PeterBindels-TomTom commented on June 16, 2024

Didn't notice that, no. According to the documentation I'm doing something that's not legal cmake either.

from cpp-dependencies.

RomanValov avatar RomanValov commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.