mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
15 lines
725 B
Plaintext
15 lines
725 B
Plaintext
= Basic Examples
|
|
|
|
The basic examples in this directory show how the setup a CMake project,
|
|
set compile flags, create executables and libraries, and install them.
|
|
|
|
create an executable. The examples included are
|
|
|
|
- hello-cmake. A hello world example.
|
|
- hello-headers. A slighly more complicated hello world example, with using Hello class and seperate source and include folders.
|
|
- shared-library. An example using a shared library.
|
|
- static-library. An example using a static library.
|
|
- installing. Shows how to create a 'make install' target to install the binaries and libraries
|
|
- build-type. An example showing how to set a default build type of your project.
|
|
- compile-flags. Shows how to set compile flags
|