2018-02-15 18:06:38 +01:00
|
|
|
# This file is part of the Flowee project
|
2021-06-20 22:44:44 +02:00
|
|
|
# Copyright (C) 2018 Tom Zander <tom@flowee.org>
|
2018-02-15 18:06:38 +01:00
|
|
|
#
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2018-06-24 21:41:11 +02:00
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
|
|
2018-02-15 18:06:38 +01:00
|
|
|
set (FLOWEE_INTERFACE_FILES
|
|
|
|
|
validationinterface.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_library(flowee_interfaces STATIC
|
|
|
|
|
${FLOWEE_INTERFACE_FILES}
|
|
|
|
|
)
|
2019-11-04 14:20:50 +01:00
|
|
|
# allow usage in dlls
|
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
|
|
|
|
|
2019-05-30 13:36:57 +02:00
|
|
|
install(FILES
|
|
|
|
|
APIProtocol.h
|
2022-07-06 22:50:53 +02:00
|
|
|
BitcoinVersion.h
|
2019-05-30 13:36:57 +02:00
|
|
|
NetworkEnums.h
|
|
|
|
|
validationinterface.h
|
2019-06-06 22:39:24 +02:00
|
|
|
DESTINATION include/flowee/interfaces)
|
2019-05-30 13:36:57 +02:00
|
|
|
|
2019-06-02 20:20:04 +02:00
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libflowee_interfaces.a DESTINATION lib)
|