arpa2 / arpa2cm Goto Github PK
View Code? Open in Web Editor NEWCMake module library for ARPA2
License: Other
CMake module library for ARPA2
License: Other
Slightly inconvenient: A fresh git repo, without version tags, will not use the _default but place rather awful strings in the version. Easily fixed, but perhaps worth noting.
When trying to establish the version from Git, the ARPA2CM module:
To reproduce (output shown below):
git clone https://github.com/vanrein/perpetuum
cd perpetuum ; git checkout arpa2cm
git tag version-0.9-0 version-0.9.0
mkdir build ; cd build ; cmake ..
mkdir /tmp/build ; cd /tmp/build ; cmake /path/to/perpetuum
Surprisingly, the added commands in the project's CMakeLists.txt do seem to work in both cases, and recover the git tag. This is all the more astounding because the Git version retriever does change to ${CMAKE_CURRENT_SOURCE_DIR} first.
The first test produces:
-- Looking for git-versioning information.
running /usr/local/bin/git diff --quiet 2>&1
Got version 0.9.0-8-gbcb63c1
-- Found program version 0.9.0-8-gbcb63c1
-- Git is /usr/local/bin/git
-- Git was tested: version-0.9-0-8-gbcb63c1
The second test produces:
-- Looking for git-versioning information.
running /usr/local/bin/git diff --quiet 2>&1
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>
Git reports local changes, fixing patch level to local-20180203-164603
Got version fatal: Not a git repository (or any of the parent directories): .git.fatal: Not a git repository (or any of the parent directories): .git.local-20180203-164603
-- Found program version fatal: Not a git repository (or any of the parent directories): .git.fatal: Not a git repository (or any of the parent directories): .git.local-20180203-164603
-- Git is /usr/local/bin/git
-- Git was tested: version-0.9-0-8-gbcb63c1
I am stymned... without a clue of what could be wrong. Help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.