projects
/
rrq
/
fuse_xattrs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix: binary_storage: check before writing a key with an empty value. Added test.
[rrq/fuse_xattrs.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2fcfc96f802431872882b58b16fe91d298664b3f..a17e2b355c3f756c70ecc07db62cf4d6641de444 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-1,4
+1,4
@@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8
FATAL_ERROR
)
project(fuse_xattrs C)
set(FUSE_XATTRS_VERSION_MAJOR 0)
project(fuse_xattrs C)
set(FUSE_XATTRS_VERSION_MAJOR 0)
@@
-19,6
+19,11
@@
include_directories(
"${PROJECT_BINARY_DIR}"
)
"${PROJECT_BINARY_DIR}"
)
+configure_file (
+ "${PROJECT_SOURCE_DIR}/fuse_xattrs.1.in"
+ "${PROJECT_BINARY_DIR}/fuse_xattrs.1"
+)
+
# Check xattr headers
include (CheckIncludeFile)
check_include_file (sys/xattr.h HAVE_SYS_XATTR_H)
# Check xattr headers
include (CheckIncludeFile)
check_include_file (sys/xattr.h HAVE_SYS_XATTR_H)
@@
-41,6
+46,8
@@
add_definitions (-D_FILE_OFFSET_BITS=64)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/")
+set(CMAKE_C_FLAGS "-O3")
+
option(ENABLE_CODECOVERAGE "Enable code coverage testing support" )
if(ENABLE_CODECOVERAGE)
include (CodeCoverage)
option(ENABLE_CODECOVERAGE "Enable code coverage testing support" )
if(ENABLE_CODECOVERAGE)
include (CodeCoverage)
@@
-67,6
+74,11
@@
target_link_libraries (
)
install (TARGETS fuse_xattrs DESTINATION bin)
)
install (TARGETS fuse_xattrs DESTINATION bin)
+install (
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/fuse_xattrs.1
+ DESTINATION share/man/man1
+ COMPONENT doc
+)
enable_testing()
configure_file(run_tests.sh run_tests.sh COPYONLY)
enable_testing()
configure_file(run_tests.sh run_tests.sh COPYONLY)