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

Support setting alias attribute on a per-file basis #18

Open
Makman2 opened this issue Oct 23, 2020 · 0 comments
Open

Support setting alias attribute on a per-file basis #18

Makman2 opened this issue Oct 23, 2020 · 0 comments

Comments

@Makman2
Copy link
Owner

Makman2 commented Oct 23, 2020

As noted/requested on #15, it is not possible yet to make use of the alias feature for resources.

Since this must be settable on a per-file basis, akin to current syntax with flags like COMPRESS etc. inserting custom attributes should be possible. Something like this:

# Set the resources to bundle.
set(RESOURCE_LIST
    info.txt
    COMPRESS ALIAS img1 img/image1.jpg
    ALIAS img2 COMPRESS img/image2.jpg
    STRIPBLANKS data.xml)

The order shouldn't matter. For better clarity, maybe the syntax should be ALIAS=img1, but I am not sure how CMake-ish this would be.

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

1 participant