Skip to content

Template for cpp project

License

Notifications You must be signed in to change notification settings

nicolasventer/cpp-template-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XXXX

Description

XXXX is a ... that allows you to ....

Features

  • feature 1
  • feature 2

Installation

Header only

Include the xxxx.hpp anywhere you want to use it.
And above only one include, define XXXX_IMPLEMENTATION like this:

#define XXXX_IMPLEMENTATION
#include "xxxx.hpp"

Header and source

Include the xxxx.hpp anywhere you want to use it.
Compile with the xxxx.cpp file or with the built dll available here.

Build the dll

g++ -shared -O3 -fPIC -static -o xxxx.dll xxxx.cpp

Note: the -static flag is required.

Requirements

c++11 or later required for compilation.
No external dependencies.

Example

Content of example.cpp:

#include <iostream>

int main() { return 0; }

Output:

...

Usage

// XXYY ...

Licence

MIT Licence. See LICENSE file. Please refer me with:

Copyright (c) Nicolas VENTER All rights reserved.

About

Template for cpp project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages