Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b34aa4

Browse files
committed
Copy cpp include files when building
1 parent 1f06da7 commit 5b34aa4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

commanders.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const cppCommander = new Commanders({
7070
'cmake ..',
7171
'make',
7272
'mkdir -p out/include',
73-
'cp ../src/*.h out/include',
73+
'cp ../include/* ../src/*.h out/include',
7474
],
7575
});
7676

languages/cpp/src/Tracer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <string>
22
#include <iostream>
3-
#include "json.hpp"
3+
#include <json.hpp>
44
#include "Tracer.h"
55

66
using namespace std;

languages/cpp/src/Tracer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define CPP_TRACER_H
33

44
#include <string>
5-
#include "json.hpp"
5+
#include <json.hpp>
66

77
class Tracer {
88
protected:
@@ -13,7 +13,7 @@ class Tracer {
1313
static int tracerCount;
1414
static json traces;
1515

16-
static const int maxTraces = 1000000;
16+
static const int maxTraces = 1000000; // TODO: load from environment variables
1717
static const int maxTracers = 100;
1818

1919
static string addTracer(string className, string title);

0 commit comments

Comments
 (0)