Comments (2)
Not sure if
if(NOT REPOMAN_DEPENDENCY_URI)
string(TOLOWER ${REPOMAN_DEPENDENCY_NAME} LOWER_NAME)
string(TOUPPER ${REPOMAN_DEPENDENCY_NAME} UPPER_NAME)
set(FETCHCONTENT_SOURCE_DIR_${UPPER_NAME} "${${LOWER_NAME}_SOURCE_DIR}")
endif()
is a good idea. To be discussed.
from cmake_utilities.
The variables used here are not set by us, nor FetchContent. They are set by CMake when using add_subdirectory() with a directory that contains a project() call. They are always using the subproject name, regardless of the name used by us. Another option would be to use FetchContent_GetProperties() with our selected name to get the proper variables.
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 target not found HOT 4
- 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.