Comments (1)
Hm interesting idea, personally I would bind it to the project version already defined in the CMakeLists. However I'm unaware what the current best practices are in this domain. I can imagine some projects preferring a header in the library's public includes defining the version number. I'll look at how other libraries handle this problem and see if we can find a good general solution for the starter.
from moderncppstarter.
Related Issues (20)
- Use `code-coverage.cmake` from `cmake-scripts` HOT 7
- `cmake --build build/docs --target GenerateDocs` not working HOT 16
- Update `PackageProject.cmake` to 1.8.0
- CMake Error at ../CMakeLists.txt:47 (add_library): HOT 1
- version.h is missing in include/greeter HOT 1
- Support sonarcloud.io HOT 1
- Use ${PROJECT_NAME} instead of writing projectname multiple times HOT 7
- Include errors HOT 13
- how to generate build file of bazel in cmake? HOT 2
- `cmake --build build/test` fails HOT 1
- GUI design HOT 1
- The GitHub workflow actions needs an update HOT 1
- configure test only does not work if CPM_USE_LOCAL_PACKAGES is TRUE
- Use of deprecated ConstructorInitializerAllOnOneLineOrOnePerLine .clang-format option HOT 3
- update get_cpm.cmake within the GitHub workflow HOT 1
- Having a issue when adding asio to my project using this template HOT 10
- Unable to open source file "doctest/doctest.h" and "cxxopts.hpp" HOT 21
- Suggestion to define main project name in a separate file HOT 1
- Misspelled "ModernCppStater" in documentation/pages/about.dox HOT 1
- Documentation Workflow Not Running on Releases HOT 1
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 moderncppstarter.