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

Multi-target generated CMakeLists.txt's content can be sorted out #2265

Closed
Latias94 opened this issue Apr 13, 2022 · 2 comments
Closed

Multi-target generated CMakeLists.txt's content can be sorted out #2265

Latias94 opened this issue Apr 13, 2022 · 2 comments

Comments

@Latias94
Copy link
Contributor

Latias94 commented Apr 13, 2022

Is your feature request related to a problem? Please describe.

create project with the following commands:

xmake create -l c -t shared test

then generate CMakeLists.txt several times, the result is not consistent, which is inconvenient to review the diff of CMakeLists.txt file in vcs.

xmake project -k cmakelists

Describe the solution you'd like

When we generate CMakeLists.txt for multi-targets project, it can provide an option to sort CMakeLists.txt's content by targets as same as the targets order in Xmake.lua.

Describe alternatives you've considered

No response

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Apr 17, 2022

try dev again.

xmake update dev

@waruqi waruqi added this to the v2.6.5 milestone Apr 17, 2022
@waruqi waruqi closed this as completed Apr 17, 2022
@Latias94
Copy link
Contributor Author

fixed

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

No branches or pull requests

2 participants