Menu

#6 [PATCH] Use install(TARGETS) to install the kshutdown binary

None
closed
None
1
2016-10-11
2016-10-09
No

The attached patch switches the INSTALL(PROGRAMS) calls in src/CMakeLists.txt to calls to INSTALL(TARGETS).

CMake's documentation for INSTALL(PROGRAMS) says:

This form is intended to install programs that are not
targets, such as shell scripts. Use the TARGETS form to install targets built
within the project.

Additionally, installing a target also causes CMake to create additional targets, suchas install/strip, to automatically strip the binary (useful for packagers and people building in release mode).

1 Attachments

Discussion

  • Konrad Twardowski

    • status: open --> closed
    • Group: -->
     
  • Konrad Twardowski

    OK, added to svn trunk (r836)

    Thanks :)

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.