Samples & Test - Compiler Updates (#468)

* Compiler - set CXX Compiler if not set

* CXX Compiler - Set CXX compiler in CTest

* Test - Ctest cleanup

* Samples - Update CXX Compiler option

[ROCm/rocdecode commit: 924d19eb65]
此提交包含在:
Kiriti Gowda authored and GitHub committed 2024-12-03 16:03:26 -05:00
1 父節點 d9091f0cc2
當前提交 a7fd0610e3
8 file changed
+55 -27

No files matched your search

+6 -6
查看文件
@@ -22,12 +22,6 @@
# ##############################################################################
cmake_minimum_required(VERSION 3.10)
project(rocdecode-test)
# make test with CTest
enable_testing()
include(CTest)
if(NOT DEFINED ENHANCED_MESSAGE)
string(ASCII 27 Esc)
set(ColourReset "${Esc}[m")
@@ -46,6 +40,12 @@ else()
set(ROCM_PATH /opt/rocm CACHE PATH "${White}${PROJECT_NAME}: Default ROCm installation path${ColourReset}")
endif()
project(rocdecode-test)
# make test with CTest
enable_testing()
include(CTest)
# add find modules
list(APPEND CMAKE_MODULE_PATH ${ROCM_PATH}/share/rocdecode/cmake)