Skip to content

Commit af9a59b

Browse files
committed
Add smoke materialization override
1 parent fe0b31a commit af9a59b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

smoke/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ project(NablaAssetManifestsSmoke NONE)
33

44
include("${CMAKE_CURRENT_LIST_DIR}/../nam.cmake")
55

6+
option(NAM_SMOKE_NO_SYMLINKS "Force copy materialization in the smoke consumer." OFF)
7+
8+
set(_nam_extra_args)
9+
if (NAM_SMOKE_NO_SYMLINKS)
10+
list(APPEND _nam_extra_args NO_SYMLINKS)
11+
endif()
12+
613
nam_add_channel_target(
714
TARGET media
815
DESTINATION_ROOT "${CMAKE_CURRENT_BINARY_DIR}"
16+
${_nam_extra_args}
917
)

0 commit comments

Comments
 (0)