Skip to content

Commit 52521f0

Browse files
authored
Updating CMake build instructions
Updating CMake build instructions to point to the Microsoft repo as it matches the build used in VS.
1 parent ee535ad commit 52521f0

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

docs/linux/cmake-linux-project.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,15 @@ cmake -E capabilities
9898

9999
In the output, look for “serverMode”:true. Note that even when you compile CMake from source as described below you should check the capabilities when done. Your Linux system may have limitations that prevent server mode from being enabled.
100100

101-
To get started building from source in the shell for your Linux system make sure your package manager is up to date, and that you have git and cmake available. First, clone the CMake sources:
101+
To get started building from source in the shell for your Linux system make sure your package manager is up to date, and that you have git and cmake available. First, clone the CMake sources from our repo where we use for Visual Studio's CMake support:
102102

103103
```cmd
104104
sudo apt-get update
105105
sudo apt-get install -y git cmake
106-
git clone https://github.com/Kitware/CMake.git
106+
git clone https://github.com/Microsoft/CMake.git
107107
cd CMake
108108
```
109109

110-
Next, make sure you are on a supported release of CMake for Visual Studio. We are actively tracking CMake development, but we cannot guarantee we support the latest. To build CMake 3.9.0 (for example), first run:
111-
112-
```cmd
113-
git checkout tags/v3.9.0
114-
```
115-
116110
Next, run the following commands:
117111

118112
```cmd
@@ -132,4 +126,4 @@ cmake -E capabilities
132126

133127
## See Also
134128
[Working with Project Properties](../ide/working-with-project-properties.md)
135-
[CMake Tools for Visual C++](../ide/cmake-tools-for-visual-cpp.md)
129+
[CMake Tools for Visual C++](../ide/cmake-tools-for-visual-cpp.md)

0 commit comments

Comments
 (0)