Line | |
---|
1 | |
---|
2 | macro(madx_install_targets) |
---|
3 | # Installs targets |
---|
4 | # to the correct locations... |
---|
5 | install(TARGETS ${ARGN} |
---|
6 | BUNDLE DESTINATION . |
---|
7 | COMPONENT Runtime |
---|
8 | RUNTIME DESTINATION bin |
---|
9 | COMPONENT Runtime |
---|
10 | LIBRARY DESTINATION lib |
---|
11 | COMPONENT Libraries |
---|
12 | ARCHIVE DESTINATION lib |
---|
13 | COMPONENT Libraries |
---|
14 | ) |
---|
15 | endmacro() |
---|
16 | |
---|
17 | macro(madx_install_headers) |
---|
18 | # This installs the header files to <prefix>/include/madX |
---|
19 | # We only want this in the development version... |
---|
20 | if(NOT ${MADX_PATCH_LEVEL} EQUAL 00) |
---|
21 | install(FILES ${ARGN} |
---|
22 | DESTINATION "include/${PROJECT_NAME}" |
---|
23 | COMPONENT Files) |
---|
24 | endif() |
---|
25 | endmacro() |
---|
Note: See
TracBrowser
for help on using the repository browser.