2024-05-14 17:03:05 -05:00
|
|
|
message("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&")
|
|
|
|
|
message(" CMake AMD SMI Pytest ")
|
|
|
|
|
message("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&")
|
|
|
|
|
|
|
|
|
|
message("")
|
|
|
|
|
message("Build Configuration:")
|
|
|
|
|
# message("-----------BuildType: " ${CMAKE_BUILD_TYPE})
|
|
|
|
|
# message("------------Compiler: " ${CMAKE_CXX_COMPILER})
|
|
|
|
|
# message("-------------Version: " ${CMAKE_CXX_COMPILER_VERSION})
|
|
|
|
|
message("--------Proj Src Dir: " ${PROJECT_SOURCE_DIR})
|
|
|
|
|
# message("--------Proj Bld Dir: " ${PROJECT_BINARY_DIR})
|
|
|
|
|
# message("--------Proj Lib Dir: " ${PROJECT_BINARY_DIR}/lib)
|
|
|
|
|
# message("--------Proj Exe Dir: " ${PROJECT_BINARY_DIR}/bin)
|
|
|
|
|
message("--------Share Install Prefix: " ${SHARE_INSTALL_PREFIX})
|
|
|
|
|
message("--------Cpack_include_toplevel_directory: " ${CPACK_INCLUDE_TOPLEVEL_DIRECTORY})
|
|
|
|
|
message("--------CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY: " ${CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY})
|
|
|
|
|
|
|
|
|
|
# copy python test files into shared directory
|
|
|
|
|
install(
|
|
|
|
|
DIRECTORY ./
|
2024-09-03 16:45:56 -05:00
|
|
|
DESTINATION ${SHARE_INSTALL_PREFIX}/tests/python_unittest/
|
2024-09-18 19:25:48 -05:00
|
|
|
COMPONENT ${TESTS_COMPONENT}
|
2024-05-14 17:03:05 -05:00
|
|
|
USE_SOURCE_PERMISSIONS
|
|
|
|
|
FILES_MATCHING
|
|
|
|
|
PATTERN "*.py"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# message(FATAL_ERROR "python lib stop")
|