Coder Social home page Coder Social logo

Comments (4)

daixtrose avatar daixtrose commented on July 2, 2024

@cpp-entwickler-de This may be mitigated by either changing cmake_utilities or how it is used in the demo.

from cmake_utilities.

cpp-entwickler-de avatar cpp-entwickler-de commented on July 2, 2024

The issue is in the CompilerFlags module, which is included in lib_A and sets the project name to compiler_flags, which wrecks the library name. Since this is a module, we should remove the project() call.

See #9 for the suggested change.

from cmake_utilities.

daixtrose avatar daixtrose commented on July 2, 2024

OMG. How did you find THAT one?

from cmake_utilities.

cpp-entwickler-de avatar cpp-entwickler-de commented on July 2, 2024

Good old printf debugging 😄. There are only a handful of probable reasons for CMake not to find a target. A message with the target name right next to target creation shows if the naming variable is correct and if the target definition is reached at all. When the printed name suddenly contains another project's name, it is quite clear where to look for the issue.

from cmake_utilities.

Related Issues (10)

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.