All attempts to build devtools/create_project with MSVC (tried both 2010 Express and 2015 Community) are failing due to an inresolved external "public: __thiscall CreateProjectTool::CMakeProvider::CMakeProvider(class std::list<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> >,class std::allocator\<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> > > > &,class std::map<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> >,class std::list\<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> >,class std::allocator\<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> > > >,struct std::less\<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> > >,class std::allocator\<struct std::pair\<class="" std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> > const ,class std::list\<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> >,class std::allocator\<class std::basic_string\<char,struct="" std::char_traits\<char="">,class std::allocator\<char> > > > > > > &,int)".</char></class></char></class></char></struct></char></class></char></class></char></class></char></class></char></class></char></class>
This problem was introduced with commit 6a3e07dca5de100afbb81c6b375b10dfd1865c69 ("DEVTOOLS: Add a CMake project generator to create_project") and is still present as of 2e4dd165e936dd0cce01df505993cbe49bb335d4.
At first glance, create_project.vcxproj was missing the newly added "cmake.cpp", but upon adding that, I instead get 4 instances of "C3861: 'back_inserter': identifier not found" in cmake.cpp (lines 123, 138, 146, 168).
Thanks for looking into this. I just committed the fix. Could you please test it? I both fixed the project files and cmake.cpp
The committed fix was not sufficient - I got a chance to do some research, and it looks like the required fix is to add "#include <iterator>" to cmake.cpp (and explicitly specifying "std::" on back_iterator wasn't actually necessary).</iterator>
Last edit: Quietust 2016-07-24
I added the missing include in 15cc188
All builds successfully now.