Comments (4)
@cpp-entwickler-de This may be mitigated by either changing cmake_utilities
or how it is used in the demo.
from cmake_utilities.
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.
OMG. How did you find THAT one?
from cmake_utilities.
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)
- change default dependency filename from `my_deps.txt` to `dependencies.txt` HOT 1
- Make lib_A depend on libFreeAssange
- Pure CMake approach HOT 2
- Compare our solution with CPM.cmake
- Check Modern C++ Starter
- Demo example `tool_1` fails to configure on second run HOT 1
- Dependency resolver ignores user-defined name of library HOT 2
- Make parsing of dependency files robust against versioning
- Missing features from v1.0.0, e.g. how to call the current status of the dependencies?
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 cmake_utilities.