Skip to content

trym-b/Cmake-cpp-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:
cmake ..
  1. And then finally type:
make
  1. For installing files (for CMake-create-shared-library only), use:
sudo make install

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.

About

A few samples of the use of CMake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published