beanz added a comment.
The signature is:
install(TARGETS targets... [EXPORT <export-name>]
[[ARCHIVE|LIBRARY|RUNTIME|FRAMEWORK|BUNDLE|
PRIVATE_HEADER|PUBLIC_HEADER|RESOURCE]
[DESTINATION <dir>]
[INCLUDES DESTINATION [<dir> ...]]
[PERMISSIONS permissions...]
[CONFIGURATIONS [Debug|Release|...]]
[COMPONENT <component>]
[OPTIONAL] [NAMELINK_ONLY|NAMELINK_SKIP]
] [...])
The `|` markers between the argument values mean `OR`.
You may also note that `DESTINATION` only shows up once because only one
occurrence of it is parsed, and it only accepts one value.
I know that the code you wrote follows a pattern that exists elsewhere in our
CMake, I'm just saying it doesn't work, so we shouldn't introduce more
occurrences.
http://reviews.llvm.org/D11682
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits