-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from copperbits/codebase_02_08_2019
codebase updated
- Loading branch information
Showing
1,295 changed files
with
10,181 additions
and
131,161 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
ton-test-liteclient-full/lite-client/CMake/FindJeMalloc.cmake
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,21 @@ | ||
# - Find JeMalloc library | ||
# Find the native JeMalloc includes and library | ||
# | ||
# JEMALLOC_INCLUDE_DIR - where to find jemalloc.h, etc. | ||
# JEMALLOC_LIBRARIES - List of libraries when using jemalloc. | ||
# JEMALLOC_FOUND - True if jemalloc found. | ||
|
||
find_path(JEMALLOC_INCLUDE_DIR | ||
NAMES jemalloc/jemalloc.h | ||
HINTS ${JEMALLOC_ROOT_DIR}/include) | ||
|
||
find_library(JEMALLOC_LIBRARIES | ||
NAMES jemalloc | ||
HINTS ${JEMALLOC_ROOT_DIR}/lib) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(jemalloc DEFAULT_MSG JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) | ||
|
||
mark_as_advanced( | ||
JEMALLOC_LIBRARIES | ||
JEMALLOC_INCLUDE_DIR) |
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
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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) | ||
|
||
|
||
set (ADNL_LITE_SOURCE | ||
adnl-ext-client.cpp | ||
adnl-ext-connection.cpp | ||
adnl-query.cpp | ||
|
||
${ADNL_LITE_HEADERS} | ||
) | ||
|
||
|
||
add_library(adnllite STATIC ${ADNL_LITE_SOURCE}) | ||
|
||
target_include_directories(adnllite PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>) | ||
target_link_libraries(adnllite PUBLIC tdactor ton_crypto tl_api tdnet keys ) | ||
|
Oops, something went wrong.