Configure "make install"

This commit is contained in:
Sebastian Messmer 2015-10-26 20:44:00 +01:00
parent ee3a50ebee
commit 1c0d6b872b
2 changed files with 11 additions and 1 deletions

View File

@ -16,7 +16,12 @@ GIT_VERSION_INIT()
ENABLE_STYLE_WARNINGS()
INSTALL(TARGETS ${BII_src_main_target} DESTINATION bin RENAME cryfs)
SET_TARGET_PROPERTIES(${BII_src_main_TARGET} PROPERTIES OUTPUT_NAME cryfs)
INSTALL(TARGETS ${BII_src_main_TARGET}
DESTINATION bin
PERMISSIONS WORLD_EXECUTE
CONFIGURATIONS Release)
# You can safely delete lines from here...

View File

@ -47,6 +47,11 @@ Build
$ bii configure -D CMAKE_BUILD_TYPE=Release
$ bii build
3. Install
$ cd bii/build/messmer_cryfs
$ sudo make install
You can pass normal make parameters after a double dash.
This can for example be used to add "-j5" to compile with 5 build threads in parallel: