You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This suggests that specifying a target should generate a project specifically for that target.
Running xmake project -k compile_commands foo creates a folder named foo and places the compile_commands.json inside it.
The generated compile_commands.json contains compilation commands for both foo and bar, instead of being filtered to include only foo.
Expected Behavior
A compile_commands.json file should be generated only for the foo target.
Project Configuration
target("foo")
...target("bar")
...
Additional Information and Error Logs
N/A
The text was updated successfully, but these errors were encountered:
Xmake Version
v2.9.8+HEAD.13fc39238
Operating System Version and Architecture
N/A
Describe Bug
Running
xmake project -h
outputs the following usage information:This suggests that specifying a target should generate a project specifically for that target.
Running
xmake project -k compile_commands foo
creates a folder namedfoo
and places thecompile_commands.json
inside it.The generated
compile_commands.json
contains compilation commands for bothfoo
andbar
, instead of being filtered to include onlyfoo
.Expected Behavior
A
compile_commands.json
file should be generated only for thefoo
target.Project Configuration
Additional Information and Error Logs
N/A
The text was updated successfully, but these errors were encountered: