Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e91c66cc
Commit
e91c66cc
authored
Jul 03, 2014
by
John Esmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FT-297 Move tools to tools/
parent
157e1804
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
23 deletions
+17
-23
ft/CMakeLists.txt
ft/CMakeLists.txt
+0
-17
tools/CMakeLists.txt
tools/CMakeLists.txt
+17
-6
tools/ftverify.cc
tools/ftverify.cc
+0
-0
tools/tdb-recover.cc
tools/tdb-recover.cc
+0
-0
tools/tdb_logprint.cc
tools/tdb_logprint.cc
+0
-0
tools/tokuftdump.cc
tools/tokuftdump.cc
+0
-0
No files found.
ft/CMakeLists.txt
View file @
e91c66cc
...
...
@@ -87,21 +87,4 @@ target_link_libraries(ft LINK_PRIVATE util_static lzma ${LIBTOKUPORTABILITY})
target_link_libraries
(
ft LINK_PUBLIC z
)
target_link_libraries
(
ft_static LINK_PRIVATE lzma
)
## build the bins in this directory
foreach
(
tool tokuftdump tdb_logprint tdb-recover ftverify
)
add_executable
(
${
tool
}
${
tool
}
)
add_dependencies
(
${
tool
}
install_tdb_h
)
target_link_libraries
(
${
tool
}
ft_static util_static z lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
add_space_separated_property
(
TARGET
${
tool
}
COMPILE_FLAGS -fvisibility=hidden
)
endforeach
(
tool
)
# link in math.h library just for this tool.
target_link_libraries
(
ftverify m
)
install
(
TARGETS tokuftdump
DESTINATION bin
COMPONENT tokukv_tools
)
add_subdirectory
(
tests
)
tools/CMakeLists.txt
View file @
e91c66cc
set_property
(
DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE DONT_DEPRECATE_ERRNO
)
set
(
utils tokudb_dump
)
foreach
(
util
${
utils
}
)
add_executable
(
${
util
}
${
util
}
)
target_link_libraries
(
${
util
}
${
LIBTOKUDB
}
_static ft_static z lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
set
(
tools tokudb_dump tokuftdump tdb_logprint tdb-recover ftverify
)
foreach
(
tool
${
tools
}
)
add_executable
(
${
tool
}
${
tool
}
)
add_dependencies
(
${
tool
}
install_tdb_h
)
target_link_libraries
(
${
tool
}
${
LIBTOKUDB
}
_static ft_static z lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
add_space_separated_property
(
TARGET
${
tool
}
COMPILE_FLAGS -fvisibility=hidden
)
endforeach
(
tool
)
# link in math.h library just for this tool.
target_link_libraries
(
ftverify m
)
install
(
TARGETS tokuftdump
DESTINATION bin
COMPONENT tokukv_tools
)
add_space_separated_property
(
TARGET
${
util
}
COMPILE_FLAGS -fvisibility=hidden
)
endforeach
(
util
)
ft
/ftverify.cc
→
tools
/ftverify.cc
View file @
e91c66cc
File moved
ft
/tdb-recover.cc
→
tools
/tdb-recover.cc
View file @
e91c66cc
File moved
ft
/tdb_logprint.cc
→
tools
/tdb_logprint.cc
View file @
e91c66cc
File moved
ft
/tokuftdump.cc
→
tools
/tokuftdump.cc
View file @
e91c66cc
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment