[x265] [PATCH 4 of 4] cmake: use explicit file list for HM TLibCommon files

Steve Borho steve at borho.org
Fri Sep 20 03:18:43 CEST 2013


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1379639858 18000
#      Thu Sep 19 20:17:38 2013 -0500
# Node ID 6aea8272dcd811a7e8179dc1728325381ccd79cf
# Parent  bd1d4bdc996e761d1cb7ac8ccbbdac9179cb7f1c
cmake: use explicit file list for HM TLibCommon files

diff -r bd1d4bdc996e -r 6aea8272dcd8 source/common/CMakeLists.txt
--- a/source/common/CMakeLists.txt	Thu Sep 19 20:01:30 2013 -0500
+++ b/source/common/CMakeLists.txt	Thu Sep 19 20:17:38 2013 -0500
@@ -14,10 +14,55 @@
 
 include_directories(../VectorClass)
 
-file(GLOB LIBCOMMON_HDR ../Lib/TLibCommon/*.h)
-file(GLOB LIBCOMMON_SRC ../Lib/TLibCommon/*.cpp)
+set(LIBCOMMON_HDR
+    ../Lib/TLibCommon/AccessUnit.h
+    ../Lib/TLibCommon/CommonDef.h
+    ../Lib/TLibCommon/ContextModel.h
+    ../Lib/TLibCommon/ContextModel3DBuffer.h
+    ../Lib/TLibCommon/ContextTables.h
+    ../Lib/TLibCommon/NAL.h
+    ../Lib/TLibCommon/SEI.h
+    ../Lib/TLibCommon/TComBitCounter.h
+    ../Lib/TLibCommon/TComBitStream.h
+    ../Lib/TLibCommon/TComDataCU.h
+    ../Lib/TLibCommon/TComList.h
+    ../Lib/TLibCommon/TComLoopFilter.h
+    ../Lib/TLibCommon/TComMotionInfo.h
+    ../Lib/TLibCommon/TComPattern.h
+    ../Lib/TLibCommon/TComPic.h
+    ../Lib/TLibCommon/TComPicSym.h
+    ../Lib/TLibCommon/TComPicYuv.h
+    ../Lib/TLibCommon/TComPrediction.h
+    ../Lib/TLibCommon/TComRdCost.h
+    ../Lib/TLibCommon/TComRom.h
+    ../Lib/TLibCommon/TComSampleAdaptiveOffset.h
+    ../Lib/TLibCommon/TComSlice.h
+    ../Lib/TLibCommon/TComTrQuant.h
+    ../Lib/TLibCommon/TComWeightPrediction.h
+    ../Lib/TLibCommon/TComYuv.h
+    ../Lib/TLibCommon/TypeDef.h)
+set(LIBCOMMON_SRC
+    ../Lib/TLibCommon/ContextModel.cpp
+    ../Lib/TLibCommon/ContextModel3DBuffer.cpp
+    ../Lib/TLibCommon/TComBitStream.cpp
+    ../Lib/TLibCommon/TComDataCU.cpp
+    ../Lib/TLibCommon/TComLoopFilter.cpp
+    ../Lib/TLibCommon/TComMotionInfo.cpp
+    ../Lib/TLibCommon/TComPattern.cpp
+    ../Lib/TLibCommon/TComPic.cpp
+    ../Lib/TLibCommon/TComPicSym.cpp
+    ../Lib/TLibCommon/TComPicYuv.cpp
+    ../Lib/TLibCommon/TComPicYuvMD5.cpp
+    ../Lib/TLibCommon/TComPrediction.cpp
+    ../Lib/TLibCommon/TComRom.cpp
+    ../Lib/TLibCommon/TComSampleAdaptiveOffset.cpp
+    ../Lib/TLibCommon/TComSlice.cpp
+    ../Lib/TLibCommon/TComTrQuant.cpp
+    ../Lib/TLibCommon/TComWeightPrediction.cpp
+    ../Lib/TLibCommon/TComYuv.cpp)
 source_group(TLibCommon FILES ${LIBCOMMON_SRC})
 source_group(TLibCommonH FILES ${LIBCOMMON_HDR})
+
 if(GCC)
     set_source_files_properties(${LIBCOMMON_SRC} PROPERTIES COMPILE_FLAGS 
         "-Wno-sign-compare")


More information about the x265-devel mailing list