mirror of
https://github.com/monero-project/monero.git
synced 2024-10-29 20:47:36 +00:00
add seraphis_crypto directory
This commit is contained in:
parent
8123d945f8
commit
51e40f721b
5 changed files with 54 additions and 0 deletions
|
@ -96,6 +96,7 @@ add_subdirectory(hardforks)
|
||||||
add_subdirectory(blockchain_db)
|
add_subdirectory(blockchain_db)
|
||||||
add_subdirectory(mnemonics)
|
add_subdirectory(mnemonics)
|
||||||
add_subdirectory(rpc)
|
add_subdirectory(rpc)
|
||||||
|
add_subdirectory(seraphis_crypto)
|
||||||
if(NOT IOS)
|
if(NOT IOS)
|
||||||
add_subdirectory(serialization)
|
add_subdirectory(serialization)
|
||||||
endif()
|
endif()
|
||||||
|
|
51
src/seraphis_crypto/CMakeLists.txt
Normal file
51
src/seraphis_crypto/CMakeLists.txt
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
# Copyright (c) 2021, The Monero Project
|
||||||
|
#
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without modification, are
|
||||||
|
# permitted provided that the following conditions are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||||
|
# conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||||
|
# of conditions and the following disclaimer in the documentation and/or other
|
||||||
|
# materials provided with the distribution.
|
||||||
|
#
|
||||||
|
# 3. Neither the name of the copyright holder nor the names of its contributors may be
|
||||||
|
# used to endorse or promote products derived from this software without specific
|
||||||
|
# prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||||
|
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||||
|
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
|
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
set(seraphis_crypto_sources
|
||||||
|
dummy.cpp)
|
||||||
|
|
||||||
|
monero_find_all_headers(seraphis_crypto_headers, "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||||
|
|
||||||
|
monero_add_library(seraphis_crypto
|
||||||
|
${seraphis_crypto_sources}
|
||||||
|
${seraphis_crypto_headers})
|
||||||
|
|
||||||
|
target_link_libraries(seraphis_crypto
|
||||||
|
PUBLIC
|
||||||
|
cncrypto
|
||||||
|
common
|
||||||
|
epee
|
||||||
|
ringct
|
||||||
|
PRIVATE
|
||||||
|
${EXTRA_LIBRARIES})
|
||||||
|
|
||||||
|
target_include_directories(seraphis_crypto
|
||||||
|
PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
|
PRIVATE
|
||||||
|
${Boost_INCLUDE_DIRS})
|
0
src/seraphis_crypto/dummy.cpp
Normal file
0
src/seraphis_crypto/dummy.cpp
Normal file
|
@ -67,6 +67,7 @@ target_link_libraries(performance_tests
|
||||||
common
|
common
|
||||||
cncrypto
|
cncrypto
|
||||||
epee
|
epee
|
||||||
|
seraphis_crypto
|
||||||
${Boost_CHRONO_LIBRARY}
|
${Boost_CHRONO_LIBRARY}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
|
|
|
@ -122,6 +122,7 @@ target_link_libraries(unit_tests
|
||||||
rpc
|
rpc
|
||||||
net
|
net
|
||||||
serialization
|
serialization
|
||||||
|
seraphis_crypto
|
||||||
wallet
|
wallet
|
||||||
p2p
|
p2p
|
||||||
version
|
version
|
||||||
|
|
Loading…
Reference in a new issue