Skip to content

Commit 3fb22a8

Browse files
committed
Move RB Support in a separate folder.
1 parent 9a7a00b commit 3fb22a8

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

include/rootbench/RBConfig.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
#ifndef RB_CONFIG_H
33
#define RB_CONFIG_H
44

5-
#include <stdlib.h>
6-
7-
#include "rootbench/ErrorHandling.h"
5+
#include "rootbench/Support/ErrorHandling.h"
86
#include <rootbench/Constants.h> // RB::kDatasetDirectory
7+
98
#include <string>
109

10+
#include <stdlib.h>
11+
1112
namespace RB {
1213
/// Returns a path to temporary file system (preferably in-memory). The path
1314
/// is set in the RB_TEMP_FS environment variable.
File renamed without changes.

lib/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
RB_ADD_LIBRARY(RBSupport
2-
ErrorHandling.cxx
3-
)
4-
target_include_directories(RBSupport PUBLIC ${PROJECT_BINARY_DIR}/include ${PROJECT_SOURCE_DIR}/include)
1+
#---Add the support libraries.
2+
add_subdirectory(Support)

lib/Support/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RB_ADD_LIBRARY(RBSupport
2+
ErrorHandling.cxx
3+
)

lib/ErrorHandling.cxx renamed to lib/Support/ErrorHandling.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///\file Contains utilities to handle error situations.
22

3-
#include "rootbench/ErrorHandling.h"
3+
#include "rootbench/Support/ErrorHandling.h"
44

55
#include <iostream>
66

0 commit comments

Comments
 (0)