-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (26 loc) · 805 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
32 lines (26 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## Copyright (c) 2025-2026 Advanced Micro Devices, Inc. All rights reserved.
cmake_minimum_required(VERSION 3.25)
project(ADL_UTIL LANGUAGES CXX)
if (NOT WIN32)
message(FATAL_ERROR "ADL and adl_util only support Windows!")
endif()
message(WARNING "adl_util has been deprecated and will not receive more updates!")
add_library(adl_util STATIC)
add_library(AMD::adl_util ALIAS adl_util)
target_sources(adl_util
PRIVATE
ADLUtil.cpp
PUBLIC
FILE_SET public_headers
TYPE "HEADERS"
BASE_DIRS .
FILES
"ADLUtil.h"
)
target_compile_features(adl_util PRIVATE cxx_std_17)
# adl_util depends on adl and tsingleton as public dependencies exposed through ADLUtil.h
target_link_libraries(adl_util
PUBLIC
AMD::adl
AMD::tsingleton
)