From 8ec5b1739d7b91b84df3e92ccc70c7a7ee644089 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 22 Mar 2021 15:24:45 -0700 Subject: Add DeviceResources to cxx_static Makefile and C++ namespace. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- cmake/cxx_static/CMakeLists.txt | 2 +- interchange/DeviceResources.capnp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake/cxx_static/CMakeLists.txt b/cmake/cxx_static/CMakeLists.txt index 5e7489f..196c328 100644 --- a/cmake/cxx_static/CMakeLists.txt +++ b/cmake/cxx_static/CMakeLists.txt @@ -1,5 +1,5 @@ find_package(CapnProto REQUIRED) -set(PROTOS LogicalNetlist.capnp PhysicalNetlist.capnp References.capnp) +set(PROTOS LogicalNetlist.capnp PhysicalNetlist.capnp DeviceResources.capnp References.capnp) set(INTERCHANGE_SCHEMA_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../interchange) diff --git a/interchange/DeviceResources.capnp b/interchange/DeviceResources.capnp index 9540f3f..94dd797 100644 --- a/interchange/DeviceResources.capnp +++ b/interchange/DeviceResources.capnp @@ -19,6 +19,9 @@ using Dir = import "LogicalNetlist.capnp"; $Java.package("com.xilinx.rapidwright.interchange"); $Java.outerClassname("DeviceResources"); +using Cxx = import "/capnp/c++.capnp"; +$Cxx.namespace("DeviceResources"); + struct HashSet { type @0 : Ref.ImplementationType = enumerator; hide @1 : Bool = true; -- cgit v1.2.3