abs-tudelft / cmake-modules Goto Github PK
View Code? Open in Web Editor NEWCollection of CMake modules
License: Apache License 2.0
Collection of CMake modules
License: Apache License 2.0
We should add a check here which skips absolute paths.
cmake-modules/CompileUnits/CompileUnits.cmake
Lines 187 to 189 in 95f28fb
target_include_directories can not be used on an ALIAS target.
This happens if target name matches alias name (no ::
in name). We have to make sure that the alias is different from the target or skip alias generation if there is no ::
in the target name.
These lines in CompileUnits/CompileUnits.cmake
FetchContent_Declare(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG master
)
is now broken due to tag name being changed in googletest to main
.
See here:
google/googletest#3663
I got this error when trying to build the fletcher project from source. It worked after I manually changed the tag.
This seems to be missing.
Currently, when running cmake with -DBUILD_TESTS=ON, it causes all compile units to build tests, including projects that you e.g. fetchcontent into your project.
This is undesirable, because when running make
all dependency tests are compiled, and when running make test
it runs all tests of dependencies.
Is it possible to specify for which compile unit to build the tests?
Or perhaps there is a way to only enable tests for compile units that were added in the current CMakeLists.txt,
perhaps with a different value for -DBUILD_TESTS=LOCAL or something?
When building compile units, at update step benchmark-populate fails producing the following error:
[ 11%] Performing update step for 'benchmark-populate'
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
error: pathspec 'master' did not match any file(s) known to git.
CMake Error at /home/yyunon/thesis_journals/resources/tpc-spark-fletcher/fletcher/runtime/cpp/build/_deps/benchmark-subbuild/benchmark-populate-prefix/tmp/benchmark-populate-gitupdate.cmake:144 (message):
Failed to checkout tag: 'master'
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.