cmake-examples/01-basic
2015-11-22 11:33:30 +00:00
..
A-hello-cmake updates to adoc and readd some missing files 2015-11-22 11:33:30 +00:00
B-hello-headers updates to adoc and readd some missing files 2015-11-22 11:33:30 +00:00
C-static-library fixes for asciidoc 2015-11-22 01:36:29 +00:00
D-shared-library fixes for asciidoc 2015-11-22 01:36:29 +00:00
E-installing add a few new folders 2015-11-21 18:54:40 +00:00
F-build-type add a few new folders 2015-11-21 18:54:40 +00:00
G-compile-flags add a few new folders 2015-11-21 18:54:40 +00:00
README.md add initial folder structure and the first basic examples 2015-11-21 18:51:01 +00:00

Basic Examples

The basic examples in this directory show how the setup a cmake project and 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.