MsBuild ClCompile Output Format

TL DR: In the next issue of MsBuild, what do the file names ( sourceFile1.cpp~ sourceFileX.cpp) that appear after the command mean cl? (scroll down to link to the actual log file)

ClCompile:
  cl.exe <args> <includeDirs> <sourceFile1.cpp sourceFile2.cpp ... sourceFileN.cpp>
  sourceFile1.cpp # what do these mean?
  sourceFile2.cpp
  ...
  sourceFileX.cpp

N and X are intentionally different variables.


Long

Context: I am modifying the CppMicroServices library. CMake configuration is compatible with bicode.

Building with the original configuration produces the above output with N == X, that is, all files passed to the cl command are also displayed on the following lines. This compiles fine on Ubuntu 14.10 and Windows 8.1.

CMakeLists.txt , N!= X. N , X X .

: http://pastebin.com/hRi8WGwN

56 ~ 100: , (43 , cl, 43 ).

183 ~ 192: - (43 , cl, 8 , , , , ).

Ubuntu .

+4
1

- , . . , , , , .

+2

Source: https://habr.com/ru/post/1568208/


All Articles