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

Target all exists but does nothing #2414

Closed
arkena00 opened this issue May 31, 2022 · 2 comments
Closed

Target all exists but does nothing #2414

arkena00 opened this issue May 31, 2022 · 2 comments
Labels
Milestone

Comments

@arkena00
Copy link

arkena00 commented May 31, 2022

Xmake Version

xmake v2.6.7+dev.0428cdc48

Operating System Version and Architecture

Windows 11

Describe Bug

PS D:\tmp\xtest> xmake build all
[100%]: build ok!
PS D:\tmp\xtest> xmake build rng
error: unknown target: rng
PS D:\tmp\xtest> xmake build --all
[ 60%]: linking.release xtest2.exe
[ 60%]: linking.release xtest.exe
[100%]: build ok!

The behaviour of the "all" target is not well defined

Expected Behavior

  1. Remove the all target and let the user use this name
  2. Use the all target as a special target to build all targets (cmake behaviour)

For 1), the all target should not exists and produce an error message

Project Configuration

No response

Additional Information and Error Logs

No response

@arkena00 arkena00 added the bug label May 31, 2022
@waruqi
Copy link
Member

waruqi commented May 31, 2022

This is a legacy code.
I have deleted it, you can try again after updating to dev

@waruqi waruqi added this to the v2.6.8 milestone May 31, 2022
@arkena00
Copy link
Author

That's good !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants