This repository has been archived by the owner on Oct 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove git submodules in favor of cmake's ExternalProject
- Loading branch information
Showing
7 changed files
with
69 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,3 +91,6 @@ compile_commands.json | |
*.rpm | ||
*.deb | ||
package.dir | ||
|
||
# Dependencies | ||
.third-party | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
include(ExternalProject) | ||
|
||
# | ||
# Build lmdbxx. | ||
# | ||
|
||
set(THIRD_PARTY_ROOT ${CMAKE_SOURCE_DIR}/.third-party) | ||
set(LMDBXX_ROOT ${THIRD_PARTY_ROOT}/lmdbxx) | ||
|
||
set(LMDBXX_INCLUDE_DIRS ${LMDBXX_ROOT}) | ||
|
||
ExternalProject_Add( | ||
lmdbxx | ||
|
||
GIT_REPOSITORY https://github.com/bendiken/lmdbxx | ||
GIT_TAG 0b43ca87d8cfabba392dfe884eb1edb83874de02 | ||
|
||
BUILD_IN_SOURCE 1 | ||
SOURCE_DIR ${LMDBXX_ROOT} | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
) | ||
|
||
include_directories(SYSTEM ${LMDBXX_ROOT}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
include(ExternalProject) | ||
|
||
# | ||
# Build matrix-structs. | ||
# | ||
|
||
set(THIRD_PARTY_ROOT ${CMAKE_SOURCE_DIR}/.third-party) | ||
set(MATRIX_STRUCTS_ROOT ${THIRD_PARTY_ROOT}/matrix_structs) | ||
|
||
set(MATRIX_STRUCTS_INCLUDE_DIRS ${MATRIX_STRUCTS_ROOT}/deps) | ||
|
||
ExternalProject_Add( | ||
MatrixStructs | ||
|
||
GIT_REPOSITORY https://github.com/mujx/matrix-structs | ||
GIT_TAG 83be1388e632a43f0570857cb79313c09fb3da0b | ||
|
||
BUILD_IN_SOURCE 1 | ||
SOURCE_DIR ${MATRIX_STRUCTS_ROOT} | ||
CONFIGURE_COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Release ${MATRIX_STRUCTS_ROOT} | ||
BUILD_COMMAND ${CMAKE_COMMAND} --build ${MATRIX_STRUCTS_ROOT} | ||
INSTALL_COMMAND "" | ||
) | ||
|
||
include_directories(SYSTEM ${MATRIX_STRUCTS_ROOT}/deps) | ||
include_directories(SYSTEM ${MATRIX_STRUCTS_ROOT}/include) | ||
link_directories(${MATRIX_STRUCTS_ROOT}) |
Submodule lmdbxx
deleted from
0b43ca
Submodule matrix-structs
deleted from
335ece