-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proper formatting of INSTALL(TARGETS) standalone keywords
- Loading branch information
1 parent
a845a1e
commit f100dd7
Showing
13 changed files
with
301 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### {list_expansion: favour-expansion} | ||
# https://cmake.org/cmake/help/latest/command/install.html#signatures | ||
# | ||
# The first <artifact-option>... group applies to target Output Artifacts | ||
# that do not have a dedicated group specified later in the same call. | ||
|
||
install(TARGETS ${LIB_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib) | ||
|
||
install(TARGETS ${LIB_NAME} ${LIB2_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib) | ||
|
||
install(TARGETS ${LIB_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib PERMISSIONS foo bar baz) | ||
|
||
install(TARGETS ${LIB_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib RUNTIME COMPONENT TARGET_COMPONENT DESTINATION lib) | ||
|
||
install(TARGETS ${LIB_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib PERMISSIONS foo bar baz RUNTIME COMPONENT TARGET_COMPONENT DESTINATION lib PERMISSIONS foo bar baz) | ||
|
||
install(TARGETS ${LIB_NAME} ${LIB2_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib RUNTIME COMPONENT TARGET_COMPONENT DESTINATION lib) | ||
|
||
install(TARGETS ${LIB_NAME} ${LIB2_NAME} COMPONENT TARGET_COMPONENT DESTINATION lib RUNTIME COMPONENT TARGET_COMPONENT DESTINATION lib LIBRARY COMPONENT TARGET_COMPONENT DESTINATION lib) | ||
|
||
install(RUNTIME_DEPENDENCY_SET deps | ||
RUNTIME DESTINATION bin COMPONENT bin2 | ||
LIBRARY DESTINATION lib COMPONENT lib2 | ||
FRAMEWORK DESTINATION fw COMPONENT fw2 | ||
) |
Oops, something went wrong.