mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 16:03:34 +01:00
6c3f2105bf
git-svn-id: http://encfs.googlecode.com/svn/trunk@116 db9cf616-1c43-0410-9cb8-a902689de0d6
36 lines
854 B
CMake
36 lines
854 B
CMake
|
|
include_directories (${Encfs_SOURCE_DIR}/base)
|
|
link_directories (${Encfs_BINARY_DIR}/base)
|
|
|
|
include_directories (${Encfs_SOURCE_DIR}/cipher)
|
|
link_directories (${Encfs_BINARY_DIR}/cipher)
|
|
|
|
include_directories (${Encfs_SOURCE_DIR}/fs)
|
|
link_directories (${Encfs_BINARY_DIR}/fs)
|
|
|
|
include_directories (${CMAKE_BINARY_DIR}/base)
|
|
|
|
add_executable (encfs
|
|
main.cpp)
|
|
target_link_libraries (encfs
|
|
encfs-fs
|
|
encfs-cipher
|
|
encfs-base
|
|
${GLOG_LIBRARIES}
|
|
${FUSE_LIBRARIES}
|
|
)
|
|
|
|
if (POD2MAN)
|
|
add_custom_target(man ALL
|
|
COMMAND ${POD2MAN} -u --section=1 --release=${ENCFS_VERSION}
|
|
--center="Encrypted Filesystem"
|
|
${CMAKE_CURRENT_SOURCE_DIR}/encfs.pod
|
|
encfs.1)
|
|
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/encfs.1
|
|
DESTINATION
|
|
share/man/man1)
|
|
endif (POD2MAN)
|
|
|
|
install (TARGETS encfs DESTINATION bin)
|
|
|