Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter-05/recipe-04 not print COMMENT in add_custom_command #526

Open
ozdang opened this issue Dec 1, 2020 · 0 comments
Open

chapter-05/recipe-04 not print COMMENT in add_custom_command #526

ozdang opened this issue Dec 1, 2020 · 0 comments

Comments

@ozdang
Copy link

ozdang commented Dec 1, 2020

Expected Behavior

print comment "Intermediate BLAS_LAPACK_wrappers target"

Current Behavior

[user]@[system]:/mnt/d/test-code/cmake-cookbook/chapter-05/recipe-04/cxx-example/build$ cmake --build .
[ 16%] Unpacking C++ wrappers for BLAS/LAPACK
Scanning dependencies of target math
[ 16%] Unpacking C++ wrappers for BLAS/LAPACK
[ 33%] Building CXX object deps/CMakeFiles/math.dir/wrap_BLAS_LAPACK/CxxBLAS.cpp.o
[ 50%] Building CXX object deps/CMakeFiles/math.dir/wrap_BLAS_LAPACK/CxxLAPACK.cpp.o
[ 66%] Linking CXX static library libmath.a
[ 66%] Built target math
Scanning dependencies of target linear-algebra
[ 83%] Building CXX object CMakeFiles/linear-algebra.dir/linear-algebra.cpp.o
[100%] Linking CXX executable linear-algebra
[100%] Built target linear-algebra

Possible Solution

target BLAS_LAPACK_wrappers is not referred and not executed because of missing "ALL" keyword

Your Environment

  • Version used: Ubuntu 18.04 on WSL2
  • Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
    chapter-05/recipe-04/cxx-example/build/deps$ cmake --version
    cmake version 3.19.20201129-gea21283
@ozdang ozdang changed the title chapter-05/recipe-04 chapter-05/recipe-04 not print COMMENT in add_custom_command Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant