Skip to content

Commit 1208416

Browse files
committed
link files from intro
1 parent 1ce1c11 commit 1208416

File tree

13 files changed

+55
-54
lines changed

13 files changed

+55
-54
lines changed

01-basic/D-shared-library/README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ $ tree
2121
└── main.cpp
2222
```
2323

24-
* CMakeLists.txt - Contains the CMake commands you wish to run
25-
* inc/Hello.h - The header file to include
26-
* src/Hello.cpp - A source file to compile
27-
* src/main.cpp - The source file with main
24+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
25+
* link:inc/Hello.h[] - The header file to include
26+
* link:src/Hello.cpp[] - A source file to compile
27+
* link:src/main.cpp[] - The source file with main
2828

2929

3030
# Concepts

01-basic/E-installing/README.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ $ tree
2424
└── main.cpp
2525
```
2626

27-
* CMakeLists.txt - Contains the CMake commands you wish to run
28-
* cmake-examples.conf - An example configuration file
29-
* inc/Hello.h - The header file to include
30-
* src/Hello.cpp - A source file to compile
31-
* src/main.cpp - The source file with main
27+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
28+
* link:cmake-examples.conf[] - An example configuration file
29+
* link:inc/Hello.h[] - The header file to include
30+
* link:src/Hello.cpp[] - A source file to compile
31+
* link:src/main.cpp[] - The source file with main
3232

3333
# Concepts
3434

01-basic/F-build-type/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ $ tree
2626
├── main.cpp
2727
```
2828

29-
* CMakeLists.txt - Contains the CMake commands you wish to run
30-
* main.cpp - The source file with main
29+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
30+
* link:main.cpp[] - The source file with main
3131

3232
# Concepts
3333

01-basic/G-compile-flags/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ $ tree
1818
├── main.cpp
1919
```
2020

21-
* CMakeLists.txt - Contains the CMake commands you wish to run
22-
* main.cpp - The source file with main
21+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
22+
* link:main.cpp[] - The source file with main
2323

2424
# Concepts
2525

01-basic/H-third-party-library/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ $ tree
2323
├── main.cpp
2424
```
2525

26-
* CMakeLists.txt - Contains the CMake commands you wish to run
27-
* main.cpp - The source file with main
26+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
27+
* link:main.cpp[] - The source file with main
2828

2929
# Requirements
3030

01-basic/I-compiling-with-clang/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ method of changing the compiler from the default gcc to http://clang.llvm.org/[c
1313
The files in this tutorial are below:
1414

1515
```
16-
A-hello-cmake$ tree
16+
$ tree
1717
.
1818
├── CMakeLists.txt
1919
├── main.cpp
2020
```
2121

22-
* CMakeLists.txt - Contains the CMake commands you wish to run
23-
* main.cpp - A simple "Hello World" cpp file.
22+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
23+
* link:main.cpp[] - A simple "Hello World" cpp file.
2424

2525
# Concepts
2626

01-basic/J-building-with-ninja/README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ toc::[]
66

77
# Introduction
88

9-
As mentioned in the introduction, CMake is a meta-build system that can be used to
9+
As mentioned, CMake is a meta-build system that can be used to
1010
create the build files for many other build tools. This example shows how
1111
to have CMake use the https://ninja-build.org/[ninja build] tool.
1212

1313
The files in this tutorial are below:
1414

1515
```
16-
A-hello-cmake$ tree
16+
$ tree
1717
.
1818
├── CMakeLists.txt
1919
├── main.cpp
2020
```
2121

22-
* CMakeLists.txt - Contains the CMake commands you wish to run
23-
* main.cpp - A simple "Hello World" cpp file.
22+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
23+
* link:main.cpp[] - A simple "Hello World" cpp file.
2424

2525
# Concepts
2626

02-sub-projects/A-basic/README.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ create the following:
1717
The files included in this example are:
1818

1919
```
20+
$ tree
2021
.
2122
├── CMakeLists.txt
2223
├── subbinary
@@ -34,14 +35,14 @@ The files included in this example are:
3435
└── sublib2.h
3536
```
3637

37-
* CMakeLists.txt - Top level CMakeLists.txt
38-
* subbinary/CMakeLists.txt - to make the executable
39-
* subbinary/main.cpp - source for the executable
40-
* sublibrary1/CMakeLists.txt - to make a static library
41-
* sublibrary1/inc/sublib1.h
42-
* sublibrary1/src/sublib2.cpp
43-
* sublibrary2/CMakeLists.txt - to setup header only library
44-
* sublibrary2/inc/sublib2.h
38+
* link:CMakeLists.txt[] - Top level CMakeLists.txt
39+
* link:subbinary/CMakeLists.txt[] - to make the executable
40+
* link:subbinary/main.cpp[] - source for the executable
41+
* link:sublibrary1/CMakeLists.txt[] - to make a static library
42+
* link:sublibrary1/inc/sublib1.h[]
43+
* link:sublibrary1/src/sublib2.cpp[]
44+
* link:sublibrary2/CMakeLists.txt[] - to setup header only library
45+
* link:sublibrary2/inc/sublib2.h[]
4546

4647
# Concepts
4748

03-code-generation/configure-files/README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ $ tree
2121
├── ver.h.in
2222
```
2323

24-
* CMakeLists.txt - Contains the CMake commands you wish to run
25-
* main.cpp - The source file with main
26-
* path.h.in - File to contain a path to the build directory
27-
* ver.h.in - File to contain the version of the project
24+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
25+
* link:main.cpp[] - The source file with main
26+
* link:path.h.in[] - File to contain a path to the build directory
27+
* link:ver.h.in[] - File to contain the version of the project
2828

2929
# Concepts
3030

03-code-generation/protobuf/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ $ tree
2121
├── main.cpp
2222
```
2323

24-
* AddressBook.proto - proto file from main protocol buffer https://developers.google.com/protocol-buffers/docs/cpptutorial[example]
25-
* CMakeLists.txt - Contains the CMake commands you wish to run
26-
* main.cpp - The source file from the protobuf example.
24+
* link:AddressBook.proto[] - proto file from main protocol buffer https://developers.google.com/protocol-buffers/docs/cpptutorial[example]
25+
* link:CMakeLists.txt[] - Contains the CMake commands you wish to run
26+
* link:main.cpp[] - The source file from the protobuf example.
2727

2828
# Requirements
2929

0 commit comments

Comments
 (0)