diff --git a/tests/ip_link/ip_link_different_subdir/ips/CMakeLists.txt b/tests/ip_link/ip_link_different_subdir/ips/CMakeLists.txt index ed92fb1..0617a76 100644 --- a/tests/ip_link/ip_link_different_subdir/ips/CMakeLists.txt +++ b/tests/ip_link/ip_link_different_subdir/ips/CMakeLists.txt @@ -2,3 +2,13 @@ add_ip(top) ip_sources(top SYSTEMRDL ${CMAKE_CURRENT_LIST_DIR}/src.rdl) + + +add_subdirectory(ip2) +add_subdirectory(ip3) +add_subdirectory(ip4) + +ip_link(ip2 ip4) + +ip_link(top ip3) +ip_link(ip3 ip2) diff --git a/tests/ip_link/ip_link_different_subdir/ips/ip2/CMakeLists.txt b/tests/ip_link/ip_link_different_subdir/ips/ip2/CMakeLists.txt new file mode 100644 index 0000000..2e9a9f6 --- /dev/null +++ b/tests/ip_link/ip_link_different_subdir/ips/ip2/CMakeLists.txt @@ -0,0 +1,2 @@ +add_ip(ip2) + diff --git a/tests/ip_link/ip_link_different_subdir/ips/ip3/CMakeLists.txt b/tests/ip_link/ip_link_different_subdir/ips/ip3/CMakeLists.txt new file mode 100644 index 0000000..a449090 --- /dev/null +++ b/tests/ip_link/ip_link_different_subdir/ips/ip3/CMakeLists.txt @@ -0,0 +1,2 @@ +add_ip(ip3) + diff --git a/tests/ip_link/ip_link_different_subdir/ips/ip4/CMakeLists.txt b/tests/ip_link/ip_link_different_subdir/ips/ip4/CMakeLists.txt new file mode 100644 index 0000000..32a4eb9 --- /dev/null +++ b/tests/ip_link/ip_link_different_subdir/ips/ip4/CMakeLists.txt @@ -0,0 +1 @@ +add_ip(ip4)