arbeiter / repros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake starter

Minimal CMake example, the only dependency is cmake

Project structure

├── CMakeLists.txt
├── build
│   ├── ...
│   ├── Makefile
│   ├── bin
│   │   └── runner
│   └── lib
│       └── libWorld.dylib
├── include
│   └── project
│       └── World.hpp
└── src
    ├── World.cpp
    └── main.cpp
  • ./include/project contains headers used in the library
  • ./src/ contains header implementation and additional source files to create the executable

Usage

mkdir build
cd build
cmake ..
make
./bin/runner

Inspiration

About


Languages

Language:C++ 78.4%Language:CMake 21.6%