Skip to content

Commit

Permalink
cmake: Mark source lists in feature files sortable
Browse files Browse the repository at this point in the history
  • Loading branch information
gxalpha authored and Lain-B committed Aug 19, 2023
1 parent 2bb7aea commit b3485dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions UI/cmake/feature-macos-update.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ endif()

target_sources(
obs-studio
PRIVATE update/crypto-helpers.hpp
PRIVATE # cmake-format: sortable
update/crypto-helpers-mac.mm
update/crypto-helpers.hpp
update/models/branches.hpp
update/models/whatsnew.hpp
update/shared-update.cpp
update/shared-update.hpp
update/update-helpers.cpp
update/update-helpers.hpp
update/models/branches.hpp
update/models/whatsnew.hpp)
update/update-helpers.hpp)

target_link_libraries(obs-studio PRIVATE "$<LINK_LIBRARY:FRAMEWORK,Security.framework>" nlohmann_json::nlohmann_json
OBS::blake2)
7 changes: 4 additions & 3 deletions UI/cmake/feature-whatsnew.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ if(ENABLE_WHATSNEW AND TARGET OBS::browser-panels)

target_sources(
obs-studio
PRIVATE update/crypto-helpers-mbedtls.cpp
PRIVATE # cmake-format: sortable
update/crypto-helpers-mbedtls.cpp
update/crypto-helpers.hpp
update/models/whatsnew.hpp
update/shared-update.cpp
update/shared-update.hpp
update/update-helpers.cpp
update/update-helpers.hpp
update/models/whatsnew.hpp)
update/update-helpers.hpp)
endif()

target_enable_feature(obs-studio "What's New panel" WHATSNEW_ENABLED)
Expand Down
3 changes: 2 additions & 1 deletion UI/cmake/feature-youtube.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ if(YOUTUBE_CLIENTID
AND YOUTUBE_SECRET_HASH MATCHES "(0|[a-fA-F0-9]+)")
target_sources(
obs-studio
PRIVATE auth-youtube.cpp
PRIVATE # cmake-format: sortable
auth-youtube.cpp
auth-youtube.hpp
window-dock-youtube-app.cpp
window-dock-youtube-app.hpp
Expand Down

0 comments on commit b3485dd

Please sign in to comment.