Verified Commit df4cd173 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

CMake: Remove unneeded target common::rpc_types

Remove unneeded source files for rpc_types
parent 04790ea7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -45,10 +45,6 @@ target_include_directories(_rpc_client INTERFACE
  ${CMAKE_CURRENT_SOURCE_DIR})
add_library(common::network::rpc_client ALIAS _rpc_client)

target_include_directories(_rpc_types INTERFACE
  ${CMAKE_CURRENT_SOURCE_DIR})
add_library(common::network::rpc_types ALIAS _rpc_types)

add_subdirectory(api)
target_include_directories(_api_types INTERFACE
  ${CMAKE_CURRENT_SOURCE_DIR})
+0 −1
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@
#include <assert.h>
#include <string.h>
// #include <logger/logger.hpp>
#include <net/proto/rpc_types.h>
#include "scord/types.h"
#include "types-private.h"

+0 −2
Original line number Diff line number Diff line
@@ -40,5 +40,3 @@ target_sources(
)

target_link_libraries(_rpc_server PUBLIC common::config common::logger thallium)

add_subdirectory(proto)
+0 −36
Original line number Diff line number Diff line
################################################################################
# Copyright 2021-2022, Barcelona Supercomputing Center (BSC), Spain            #
#                                                                              #
# This software was partially supported by the EuroHPC-funded project ADMIRE   #
#   (Project ID: 956748, https://www.admire-eurohpc.eu).                       #
#                                                                              #
# This file is part of scord.                                                  #
#                                                                              #
# scord 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.                                          #
#                                                                              #
# scord 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 scord.  If not, see <https://www.gnu.org/licenses/>.              #
#                                                                              #
# SPDX-License-Identifier: GPL-3.0-or-later                                    #
################################################################################

add_library(_rpc_types STATIC)

set_property(TARGET _rpc_types PROPERTY POSITION_INDEPENDENT_CODE ON)

target_include_directories(_rpc_types PUBLIC ${CMAKE_SOURCE_DIR}/src/lib)
target_sources(
  _rpc_types
  PRIVATE rpc_types.h rpc_types.c
)

target_link_libraries(_rpc_types PRIVATE common::api::types Mercury::Mercury
  Margo::Margo)

src/common/net/proto/rpc_types.c

deleted100644 → 0
+0 −1150

File deleted.

Preview size limit exceeded, changes collapsed.

Loading