cmake-examples/01-basic
2015-11-22 23:40:53 +00:00
..
A-hello-cmake fix syntax error 2015-11-22 14:39:03 +00:00
B-hello-headers Remove old md files and update asciidoc headers. Fix some cppcheck docs 2015-11-22 12:40:56 +00:00
C-static-library adoc fixes 2015-11-22 14:36:32 +00:00
D-shared-library adoc fixes 2015-11-22 14:36:32 +00:00
E-installing Add the install example 2015-11-22 14:22:12 +00:00
F-build-type add compile flags example 2015-11-22 23:40:53 +00:00
G-compile-flags add compile flags example 2015-11-22 23:40:53 +00:00
README.adoc add compile flags example 2015-11-22 23:40:53 +00:00

= 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