File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ Note: Visual Studio also has the option of opening `CMakeLists.txt`
14
14
directly; Using this option, Visual Studio will not find the source code,
15
15
though, therefore the `File>Open>Folder...` option is preferred.
16
16
17
+ Visual Studio does not produce a .sln solution file nor the .vcproj files
18
+ that may be required by VS extension tools.
19
+
20
+ To generate the .sln/.vcproj files run Cmake manually, as below.
21
+
17
22
Instructions to run CMake manually:
18
23
19
24
mkdir -p contrib/buildsystems/out
@@ -35,14 +40,17 @@ empty(default) :
35
40
NOTE: -DCMAKE_BUILD_TYPE is optional. For multi-config generators like Visual Studio
36
41
this option is ignored
37
42
38
- This process generates a Makefile(Linux/*BSD/MacOS) , Visual Studio solution(Windows) by default.
43
+ This process generates: a Makefile(Linux/*BSD/MacOS), Visual Studio solution(Windows) by default.
39
44
Run `make` to build Git on Linux/*BSD/MacOS.
40
45
Open git.sln on Windows and build Git.
41
46
42
47
NOTE: By default CMake uses Makefile as the build tool on Linux and Visual Studio in Windows,
43
48
to use another tool say `ninja` add this to the command line when configuring.
44
49
`-G Ninja`
45
50
51
+ The Visual Studio default generator changed in v16.6 from its visual studio
52
+ implemenation to `Ninja` This required changes to many CMake scripts.
53
+
46
54
]]
47
55
cmake_minimum_required (VERSION 3.14 )
48
56
You can’t perform that action at this time.
0 commit comments