Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ The call to `check_dangling` is recursive, so you only need to call it once for
Usage
===============================================================================
For using:
`#include <configuru.hpp>`
Just `#include <configuru.hpp>` where you want to use Configuru

And in one .cpp file:
Then, in only one .cpp file:

``` C++
#define CONFIGURU_IMPLEMENTATION 1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not need CONFIGURU_IMPLEMENTATION anymore!

#include <configuru.hpp>
#include <configuru.cpp>
```


Expand Down Expand Up @@ -250,6 +250,8 @@ If you include visit_struct.hpp from https://github.com/cbeck88/visit_struct *be
``` C++
#include <visit_struct/visit_struct.hpp>
#include <configuru.hpp>
#define CONFIGURU_IMPLEMENTATION 1
#include <configuru.cpp>

struct Foo
{
Expand Down
Loading