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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3965d9c6
Commit
3965d9c6
authored
Apr 27, 2013
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#10 change handlerton cmake to include ft-index directly
parent
e4572559
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
storage/tokudb/CMakeLists.txt
storage/tokudb/CMakeLists.txt
+14
-7
No files found.
storage/tokudb/CMakeLists.txt
View file @
3965d9c6
...
@@ -8,15 +8,22 @@ IF(DEFINED ENV{TOKUDB_PATCHES})
...
@@ -8,15 +8,22 @@ IF(DEFINED ENV{TOKUDB_PATCHES})
ADD_DEFINITIONS
(
"-DTOKUDB_PATCHES=
${
TOKUDB_PATCHES
}
"
)
ADD_DEFINITIONS
(
"-DTOKUDB_PATCHES=
${
TOKUDB_PATCHES
}
"
)
ENDIF
()
ENDIF
()
SET
(
TOKUFRACTALTREE_RELEASE_DIR $ENV{TOKUFRACTALTREE}
)
SET
(
LIBTOKUPORTABILITY tokuportability
)
SET
(
TOKUFRACTALTREE_LIBNAME $ENV{TOKUFRACTALTREE_LIBNAME}
)
SET
(
LIBTOKUDB tokufractaltree
)
SET
(
TOKUPORTABILITY_LIBNAME $ENV{TOKUPORTABILITY_LIBNAME}
)
INCLUDE_DIRECTORIES
(
${
TOKUFRACTALTREE_RELEASE_DIR
}
/include
)
ADD_SUBDIRECTORY
(
ft-index
)
FIND_LIBRARY
(
TOKUFRACTALTREE_LIB NAMES
${
TOKUFRACTALTREE_LIBNAME
}
HINTS
${
TOKUFRACTALTREE_RELEASE_DIR
}
/lib
)
FIND_LIBRARY
(
TOKUPORTABILITY_LIB NAMES
${
TOKUPORTABILITY_LIBNAME
}
HINTS
${
TOKUFRACTALTREE_RELEASE_DIR
}
/lib
)
# TODO: clean up includes in ft-index
INCLUDE_DIRECTORIES
(
ft-index
)
INCLUDE_DIRECTORIES
(
ft-index/include
)
INCLUDE_DIRECTORIES
(
ft-index/portability
)
INCLUDE_DIRECTORIES
(
ft-index/toku_include
)
INCLUDE_DIRECTORIES
(
ft-index/util
)
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_BINARY_DIR
}
/ft-index
)
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_BINARY_DIR
}
/ft-index/buildheader
)
SET
(
TOKUDB_PLUGIN_DYNAMIC
"ha_tokudb"
)
SET
(
TOKUDB_PLUGIN_DYNAMIC
"ha_tokudb"
)
SET
(
TOKUDB_SOURCES ha_tokudb.cc
)
SET
(
TOKUDB_SOURCES ha_tokudb.cc
)
MYSQL_ADD_PLUGIN
(
tokudb
${
TOKUDB_SOURCES
}
STORAGE_ENGINE MODULE_ONLY LINK_LIBRARIES
${
TOKUFRACTALTREE_LIB
}
${
TOKUPORTABILITY_LIB
}
z stdc++
)
MYSQL_ADD_PLUGIN
(
tokudb
${
TOKUDB_SOURCES
}
STORAGE_ENGINE MODULE_ONLY
LINK_LIBRARIES
${
LIBTOKUDB
}
_static
${
LIBTOKUPORTABILITY
}
_static z stdc++
)
SET_PROPERTY
(
TARGET tokudb APPEND PROPERTY LINK_FLAGS_RELEASE
"-flto -fuse-linker-plugin"
)
SET_PROPERTY
(
TARGET tokudb APPEND PROPERTY LINK_FLAGS_RELEASE
"-flto -fuse-linker-plugin"
)
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