浏览代码

test: Update CMake target source lists with alphabetic sorting

PatTheMav 2 年之前
父节点
当前提交
163d55d84a
共有 2 个文件被更改,包括 7 次插入6 次删除
  1. 1 1
      .gitignore
  2. 6 5
      test/test-input/CMakeLists.txt

+ 1 - 1
.gitignore

@@ -9,7 +9,7 @@
 !/docs
 !/libobs*
 !/plugins
-!/tests
+!/test
 !/UI
 !.cirrus.xml
 !.clang-format

+ 6 - 5
test/test-input/CMakeLists.txt

@@ -14,14 +14,15 @@ add_library(OBS::test-input ALIAS test-input)
 
 target_sources(
   test-input
-  PRIVATE test-filter.c
-          test-input.c
-          test-sinewave.c
+  PRIVATE # cmake-format: sortable
           sync-async-source.c
           sync-audio-buffering.c
-          sync-pair-vid.c
           sync-pair-aud.c
-          test-random.c)
+          sync-pair-vid.c
+          test-filter.c
+          test-input.c
+          test-random.c
+          test-sinewave.c)
 
 target_link_libraries(test-input PRIVATE OBS::libobs)