[x265] CMake output skipped while building sub-target dynamicHDR10

Mario *LigH* Rohkrämer contact at ligh.de
Fri Jul 14 10:42:59 CEST 2017


This gap still occurs to me on two different PCs with MSYS, CMake 3.8.2,  
GCC 7.1.0, being updated rather regularly.

...
[ 51%] Building CXX object common/CMakeFiles/common.dir/quant.cpp.obj
[ 53%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.obj
[ 53%] Built target common
	{ -- Missing "Scanning dependencies of target dynamicHDR10" and  
subsequent compilation details here -- }
[ 62%] Built target dynamicHDR10
Scanning dependencies of target encoder
[ 64%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.obj
[ 66%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.obj
...

A file "8bit\dynamicHDR10\CMakeFiles\dynamicHDR10.dir\progress.make" was  
created anew. But neither  
8bit\dynamicHDR10\CMakeFiles\dynamicHDR10.dir\*.obj nor  
8bit\libhdr10plus.dll are rebuilt.

Building for Linux AMD64 (Ubuntu MATE v16 LTS, CMake 3.5.1, GCC 5.4.0-6)  
after a longer time without updates displays this section as expected;  
it's possibly that this branch had updates in the meantime.

...
[ 64%] Building CXX object common/CMakeFiles/common.dir/quant.cpp.obj
[ 65%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o
[ 65%] Built target common
Scanning dependencies of target dynamicHDR10
[ 66%] Building CXX object  
dynamicHDR10/CMakeFiles/dynamicHDR10.dir/json11/json11.cpp.o
[ 68%] Building CXX object  
dynamicHDR10/CMakeFiles/dynamicHDR10.dir/JsonHelper.cpp.o
[ 69%] Building CXX object  
dynamicHDR10/CMakeFiles/dynamicHDR10.dir/metadataFromJson.cpp.o
[ 70%] Building CXX object  
dynamicHDR10/CMakeFiles/dynamicHDR10.dir/SeiMetadataDictionary.cpp.o
[ 72%] Building CXX object  
dynamicHDR10/CMakeFiles/dynamicHDR10.dir/api.cpp.o
[ 72%] Built target dynamicHDR10
Scanning dependencies of target encoder
[ 73%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.o
[ 74%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.o
...

But building it right again (not updating sources, only "make  
clean-generated" after the previous "make"), it's skipped as well:

...
[ 44%] Building CXX object common/CMakeFiles/common.dir/quant.cpp.o
[ 45%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o
[ 65%] Built target common
[ 72%] Built target dynamicHDR10
Scanning dependencies of target encoder
[ 73%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.o
[ 74%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.o
...

So, while "make clean-generated" causes rebuilding all sub-targets, it  
does not for the sub-target "dynamicHDR10".


A question that still remains for me is:

What is the difference between (and the distinct purpose of each) "make  
clean" and "make clean-generated"?

Only this will be able to explain whether a) not building "dynamicHDR10"  
after "make clean-generated" is wrong, or b) rebuilding everything else  
(despite not having updated sources) may be.

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list