mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 12:14:36 +03:00
fix some missing links and typos
This commit is contained in:
@@ -6,9 +6,9 @@ toc::[]
|
||||
|
||||
# Introduction
|
||||
|
||||
When building with CMake, it is possible to set the C and C++ compiler. This example
|
||||
is the same as the link:../A-hello-cmake[hello-cmake] example exccept shows the most basic
|
||||
method of changing the compiler from the default gcc to clang.
|
||||
When building with CMake it is possible to set the C and C++ compiler. This example
|
||||
is the same as the link:../A-hello-cmake[hello-cmake] example except that it shows the most basic
|
||||
method of changing the compiler from the default gcc to http://clang.llvm.org/[clang].
|
||||
|
||||
The files in this tutorial are below:
|
||||
|
||||
|
||||
@@ -6,10 +6,12 @@ set compile flags, create and link executables and libraries, and install them.
|
||||
The examples included are
|
||||
|
||||
- link:A-hello-cmake[hello-cmake]. A hello world example.
|
||||
- link:B-hello-headers[hello-headers]. A slighly more complicated hello world example, using seperate source and include folders.
|
||||
- link:B-hello-headers[hello-headers]. A slightly more complicated hello world example, using seperate source and include folders.
|
||||
- link:C-static-library[static-library]. An example using a static library.
|
||||
- link:D-shared-library[shared-library]. An example using a shared library.
|
||||
- link:E-installing[installing]. Shows how to create a 'make install' target that will install binaries and libraries.
|
||||
- link:F-build-type[build-type]. An example showing how to set a default build and optimization flags for your project.
|
||||
- link:G-compile-flags[compile-flags]. Shows how to set additional compile flags.
|
||||
- link:H-third-party-library[third-party-library]. Shows an example of how to link third party libraries.
|
||||
- link:I-compiling-with-clang[compiling-with-clang]. An example of invoking the clang compiler.
|
||||
- link:J-building-with-ninja[building-with-ninja] - Shows how to generate ninja build files
|
||||
|
||||
Reference in New Issue
Block a user