[PATCH] D11682: [libcxxabi] Add "install-libcxxabi" target.

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 18 16:55:53 PDT 2015


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





More information about the cfe-commits mailing list