Improve CMake and relocate tests

- Respect CMAKE_INSTALL_PREFIX and ignore RDC_CLIENT_INSTALL_PREFIX
- Move example and rdctst from rocm/bin to rocm/share/rdc
- Add README for examples

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Change-Id: I0b1d996d206327fd1b51ac6e82d548829bdb1570
This commit is contained in:
Galantsev, Dmitrii committed 2022-10-27 13:49:54 -05:00
1 parent 2c171767b3
commit f6efd7fbf6
15 files changed
+165 -88

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ target_include_directories(${BOOTSTRAP_LIB} PRIVATE
target_include_directories(${BOOTSTRAP_LIB}
PUBLIC
"$<INSTALL_INTERFACE:${RDC_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}>")
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
# Set the VERSION and SOVERSION values
set_property(TARGET ${BOOTSTRAP_LIB} PROPERTY