mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-17 20:04:22 -05:00
e62b847234
Add more options to CMake: Support for JSON API Support for forum deep index Fix bitdht CMake project name General CMake files improvements
20 lines
505 B
CMake
20 lines
505 B
CMake
# RetroShare decentralized communication platform
|
|
#
|
|
# Copyright (C) 2021 Gioacchino Mazzurco <gio@eigenlab.org>
|
|
# Copyright (C) 2021 Asociación Civil Altermundi <info@altermundi.net>
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
cmake_minimum_required (VERSION 2.8.12)
|
|
project(bitdht)
|
|
|
|
file(
|
|
GLOB BITDHT_SOURCES
|
|
src/bitdht/*.c src/bitdht/*.cc src/udp/*.cc src/util/*.cc )
|
|
|
|
add_library(${PROJECT_NAME} ${BITDHT_SOURCES})
|
|
|
|
target_include_directories(
|
|
${PROJECT_NAME}
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src )
|