◐ Shell
clean mode source ↗

GitHub - trym-b/Cmake-cpp-samples: A few samples of the use of CMake

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Cmake-cpp-samples

This is a small repository shows how to create very simple CMake projects.

How to build a CMake project:

  1. Open a terminal at in the build folder.
  2. Then enter:
  1. And then finally type:
  1. For installing files (for CMake-create-shared-library only), use:

CMake-basic-example contains an example of basic usage of CMake.

CMake-create-shared-library shows how to create a very simple shared library.

CMake-use-shared-library uses the library created and installed in the CMake-create-shared-library example.