Necessary Preparation conditions:
1) Os:windows7 + VS2013
2) Latest MySQL source (https://github.com/mysql/mysql-server)
3) Perl Tool:activeperl-5.16.3.1604-mswin32-x64-298023.msi "need to configure environment variables"
4) cmake:cmake-3.5.0-win32-x86. exe "need to configure environment variables"
5) Bison:bison-2.4.1-setup.exe "Need to configure environment variables"
6) boost_1_59_0 (source dependent library) "library file is very big >200m"
Use CMake to open the MySQL source directory, then configure & Generate "This will definitely error, and then according to the specific error, find data to solve"
The main problems encountered:
Cl.exe can't find a workaround add an environment variable
No Cmake_cxx_compiler in ' File->delete Cache '
Boost1.59 referencing the path to the source file
Using CMake Build C + + Project
Once the build is successful, clicking on the "Open Project" button will automatically open the solution with vs2013
then re-compile the entire solution "mysql-debug-tools-mysql-server-5.7-vs2013" with VS
Compiling and debugging MySQL source code on Windows7 with vs2013