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
9f59d068
Commit
9f59d068
authored
Dec 20, 2013
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added cpack component identifications to all install targets Tokutek/mongo#869
parent
47b4a0fb
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
5 deletions
+31
-5
CMakeLists.txt
CMakeLists.txt
+3
-0
buildheader/CMakeLists.txt
buildheader/CMakeLists.txt
+2
-0
cmake_modules/TokuThirdParty.cmake
cmake_modules/TokuThirdParty.cmake
+2
-1
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-0
ft/CMakeLists.txt
ft/CMakeLists.txt
+1
-0
include/CMakeLists.txt
include/CMakeLists.txt
+1
-0
portability/CMakeLists.txt
portability/CMakeLists.txt
+9
-2
src/CMakeLists.txt
src/CMakeLists.txt
+8
-2
toku_include/CMakeLists.txt
toku_include/CMakeLists.txt
+2
-0
util/CMakeLists.txt
util/CMakeLists.txt
+1
-0
No files found.
CMakeLists.txt
View file @
9f59d068
...
@@ -19,6 +19,8 @@ include(TokuMergeLibs)
...
@@ -19,6 +19,8 @@ include(TokuMergeLibs)
set
(
LIBTOKUPORTABILITY
"tokuportability"
CACHE STRING
"Name of libtokuportability.so"
)
set
(
LIBTOKUPORTABILITY
"tokuportability"
CACHE STRING
"Name of libtokuportability.so"
)
set
(
LIBTOKUDB
"tokufractaltree"
CACHE STRING
"Name of libtokufractaltree.so"
)
set
(
LIBTOKUDB
"tokufractaltree"
CACHE STRING
"Name of libtokufractaltree.so"
)
set
(
INSTALL_LIBDIR
"lib"
CACHE STRING
"where to install libs"
)
include_directories
(
include_directories
(
${
VALGRIND_INCLUDE_DIR
}
${
VALGRIND_INCLUDE_DIR
}
)
)
...
@@ -58,6 +60,7 @@ add_subdirectory(examples)
...
@@ -58,6 +60,7 @@ add_subdirectory(examples)
install
(
install
(
FILES README.md README-TOKUDB
FILES README.md README-TOKUDB
DESTINATION .
DESTINATION .
COMPONENT tokukv_misc
)
)
## build tags
## build tags
...
...
buildheader/CMakeLists.txt
View file @
9f59d068
...
@@ -19,9 +19,11 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
...
@@ -19,9 +19,11 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
DESTINATION include
DESTINATION include
RENAME tokudb.h
RENAME tokudb.h
COMPONENT tokukv_headers
)
)
install
(
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
DESTINATION include
DESTINATION include
COMPONENT tokukv_headers
)
)
endif
()
endif
()
\ No newline at end of file
cmake_modules/TokuThirdParty.cmake
View file @
9f59d068
...
@@ -30,7 +30,8 @@ if (NOT DEFINED LIBJEMALLOC)
...
@@ -30,7 +30,8 @@ if (NOT DEFINED LIBJEMALLOC)
# detect when we are being built as a subproject
# detect when we are being built as a subproject
if
(
NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING
)
if
(
NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING
)
install
(
DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/jemalloc/lib"
DESTINATION .
)
install
(
DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/jemalloc/lib"
DESTINATION .
COMPONENT tokukv_libs_extra
)
endif
()
endif
()
endif
()
endif
()
...
...
examples/CMakeLists.txt
View file @
9f59d068
...
@@ -10,5 +10,7 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
...
@@ -10,5 +10,7 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
README.examples
README.examples
DESTINATION
DESTINATION
examples
examples
COMPONENT
tokukv_examples
)
)
endif
()
endif
()
\ No newline at end of file
ft/CMakeLists.txt
View file @
9f59d068
...
@@ -105,6 +105,7 @@ target_link_libraries(ftverify m)
...
@@ -105,6 +105,7 @@ target_link_libraries(ftverify m)
install
(
install
(
TARGETS tokuftdump
TARGETS tokuftdump
DESTINATION bin
DESTINATION bin
COMPONENT tokukv_tools
)
)
add_subdirectory
(
tests
)
add_subdirectory
(
tests
)
include/CMakeLists.txt
View file @
9f59d068
install
(
install
(
FILES tdb-internal.h
FILES tdb-internal.h
DESTINATION include
DESTINATION include
COMPONENT tokukv_headers
)
)
portability/CMakeLists.txt
View file @
9f59d068
...
@@ -35,10 +35,17 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
...
@@ -35,10 +35,17 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install
(
install
(
FILES toku_os_types.h toku_time.h
FILES toku_os_types.h toku_time.h
DESTINATION include
DESTINATION include
COMPONENT tokukv_headers
)
)
install
(
install
(
TARGETS
${
LIBTOKUPORTABILITY
}
${
LIBTOKUPORTABILITY
}
_static
TARGETS
${
LIBTOKUPORTABILITY
}
_static
DESTINATION lib
DESTINATION
${
INSTALL_LIBDIR
}
COMPONENT tokukv_libs_static
)
install
(
TARGETS
${
LIBTOKUPORTABILITY
}
DESTINATION
${
INSTALL_LIBDIR
}
COMPONENT tokukv_libs_shared
)
)
endif
()
endif
()
...
...
src/CMakeLists.txt
View file @
9f59d068
...
@@ -42,8 +42,14 @@ endif ()
...
@@ -42,8 +42,14 @@ endif ()
# detect when we are being built as a subproject
# detect when we are being built as a subproject
if
(
NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING
)
if
(
NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING
)
install
(
install
(
TARGETS
${
LIBTOKUDB
}
${
LIBTOKUDB
}
_static
TARGETS
${
LIBTOKUDB
}
DESTINATION lib
DESTINATION
${
INSTALL_LIBDIR
}
COMPONENT tokukv_libs_shared
)
install
(
TARGETS
${
LIBTOKUDB
}
_static
DESTINATION
${
INSTALL_LIBDIR
}
COMPONENT tokukv_libs_static
)
)
endif
()
endif
()
...
...
toku_include/CMakeLists.txt
View file @
9f59d068
...
@@ -7,9 +7,11 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
...
@@ -7,9 +7,11 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install
(
install
(
FILES toku_list.h toku_os.h
FILES toku_list.h toku_os.h
DESTINATION include
DESTINATION include
COMPONENT tokukv_headers
)
)
install
(
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/toku_config.h"
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/toku_config.h"
DESTINATION include
DESTINATION include
COMPONENT tokukv_headers
)
)
endif
()
endif
()
\ No newline at end of file
util/CMakeLists.txt
View file @
9f59d068
...
@@ -19,6 +19,7 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
...
@@ -19,6 +19,7 @@ if (NOT DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
install
(
install
(
FILES partitioned_counter.h
FILES partitioned_counter.h
DESTINATION include
DESTINATION include
COMPONENT tokukv_headers
)
)
endif
()
endif
()
...
...
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