When using newer versions of CMake & VS MSBuild, we get a significant number of warnings at both the CMake configuration stages and during an MSBuild compilation:
... CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NONE ...
... [C:\Users\Administrator\Documents\wiredtiger\src\include\btree_inline.h(1181,62): warning C4090: 'function': different 'const' qualifiers [C:\Users\Adminis trator\Documents\wiredtiger\build\wt_objs.vcxproj] C:\Users\Administrator\Documents\wiredtiger\src\include\btree_inline.h(1191,66): warning C4090: 'function': different 'const' qualifiers [C:\Users\Adminis trator\Documents\wiredtiger\build\wt_objs.vcxproj] C:\Users\Administrator\Documents\wiredtiger\src\include\btree_inline.h(1245,66): warning C4090: 'function': different 'const' qualifiers [C:\Users\Adminis trator\Documents\wiredtiger\build\wt_objs.vcxproj] C:\Users\Administrator\Documents\wiredtiger\src\include\cursor_inline.h(478,62): warning C4090: 'function': different 'const' qualifiers [C:\Users\Adminis trator\Documents\wiredtiger\build\wt_objs.vcxproj] C:\Users\Administrator\Documents\wiredtiger\src\include\btree_inline.h(1181,62): warning C4090: 'function': different 'const' qualifiers [C:\Users\Adminis trator\Documents\wiredtiger\build\wt_objs.vcxproj] ... 1475 Warning(s) 0 Error(s) Time Elapsed 00:01:43.35
Whilst none of which break the build, the warnings can be jarring for a first time builder.
Definition of Done:
- Clean up warnings