Skip to content

Commit 33d575c

Browse files
committedDec 13, 2024
Added clang format intstructions for lookdevxUsd
Also turned BUILD_LOOKDEVXUSD_LIBRARY off when not building the adsk plugin
1 parent 990fcd4 commit 33d575c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
 

‎.clang-format-ignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
# Note: This file only work with clang-format v18 and after
12
# Skip clang-format of LookdevXUsd for now
23
./lib/lookdevXUsd/*

‎CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ if(BUILD_MAYAUSD_LIBRARY)
232232
endif()
233233
endif()
234234

235+
if (NOT BUILD_ADSK_PLUGIN)
236+
set(BUILD_LOOKDEVXUSD_LIBRARY OFF)
237+
endif()
235238
# Need LookdevXUfe/MayaUsdAPI when building LookdevXUsd.
236239
if(BUILD_LOOKDEVXUSD_LIBRARY)
237240
if(NOT BUILD_MAYAUSDAPI_LIBRARY)

‎lib/lookdevXUsd/.clang-format

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Skip clang-format of LookdevXUsd for now
2+
DisableFormat: true
3+
SortIncludes: false

0 commit comments

Comments
 (0)