Git Product home page Git Product logo

cmake-modules's People

Contributors

mbrobbel avatar yyunon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

yyunon

cmake-modules's Issues

target_include_directories can not be used on an ALIAS target

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.

googletest FetchContent_Declare broken

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.

Allow building of tests only for specific module

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?

Error on update step for benchmark-populate

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.